motionEyeOS (PINE A64(+)) 20170611 [Jun 16] | Ubuntu Images (Pinebook) 0.5.5-65 [Jun 15] | Ubuntu Minimal (PINE A64(+)) 0.5.5-65 [Jun 15] | Q4OS (Pinebook) 1805 [Jun 12] | Android 6.0.1 (Pinebook) 20170605 [Jun 5] | Win10 IoT (PINE A64(+)) 10.0.15063.0_20170602 [Jun 5] | FalconGate (PINE A64(+)) 20170430 [May 31] | Q4OS (PINE A64(+)) 1804 [May 30] | Armbian - Ubuntu (SOPINE) 5.27 [May 22]

Getting Started | Visit the WIKI | IRC Logs | Forum Rules/Policy


Android 5.1.1 TV (old-stable, no longer maintained)
#1
Hi,

The last couple of days I have been working on making our Pine A64 useful, at least in some way. It took some time, but progress is quite promising. Maybe someone would be interested in trying it out.


Features

- I can play Youtube videos and cast them from Phone or Browser,
- I can control Pine using my TV pilot (using HDMI CEC),
- The WiFi appears to not be connecting (but discovering) solved,
- I had troubles with working Bluetooth solved,
- 4K@30fps appears to be working,
- I can run Plex and cast videos using Plex app,
- I can use Android Remote on Mobile,
- I can use Spotify Connect,
- Google Play is not working after first update: this device is not supported, blabla solved,
- Standby over HDMI-CEC doesn't work, when TV sends a standby command and then Power On, Pine will not wake up (disable Auto standby on TV for now).

How to compile?

Tutorial how to compile sources is already written: https://github.com/ayufan-pine64/manifest. Skip only `extract-bsp` part since the kernel is already updated.

How to install?

Download compressed image from:
https://github.com/ayufan-pine64/android-5.1/releases

You can use RasPlex Installer to copy it to card, just point to downloaded image file:
http://www.rasplex.com/get-started/raspl...llers.html

There's a problem with DPI on the first boot. When you see a welcome screen you have to reboot Pine.

Troubleshooting

If someone decides to try this. Please post your `dmesg` log and `adb logcat`. You can connect with `adb` over IP address, like this: `adb connect IP`.

Create an issue here: https://github.com/ayufan-pine64/android-5.1/issues


List of my improvements

- rewrote HDMI CEC kernel driver for our 3.10 and pine64 longsleep sources: https://github.com/ayufan-pine64/linux-3.10 and https://github.com/ayufan-pine64/linux-pine64,
- write HDMI CEC hardware driver for Android: https://github.com/ayufan-pine64/device-...d/hdmi-cec
- configure tulip-chiphd to behave as Android TV: https://github.com/ayufan-pine64/device-..._chiphd.mk
- add 4K output for Android TV (you have to enable Developer options, then Developer Options -> General -> HDMI resolution and choose from 720p, 1080p, 4k@30fps), it even appears to be working on my 4K Dell screen: https://github.com/ayufan-pine64/package...TvSettings
- extend Android TV build: https://github.com/ayufan-pine64/proprie...google_atv
- make the build to behave as fugu to make Google Store to detect this system as only Android TV compatible
- disable IPv6 support to mitigate problems with Allwinner media player which doesn't support IPv6 when playing movies over network
- wrote Power Management module for Android, making this build a 15% faster then original,
- have fully reproducible builds and use CI to build Android images
Reply
#2
Nice. It seems to work reliably. It did work OK for over one night now Smile
Reply
#3
I didn't try yet,It's a wonderful work!


从我的 iPhone 发送,使用 Tapatalk
Reply
#4
I will try it when I get time. One question, if WiFi does not connect, how do you connect? I can't get Ethernet to work under Android or Remix OS.

Thanks for putting this together.
Reply
#5
@clarkss12,maybe you can try to use 100m ethernet lan router


从我的 iPhone 发送,使用 Tapatalk
Reply
#6
I use Ethernet connected to https://wiki.openwrt.org/toh/nexx/wt3020. It works reliably for me, using 1Gbps and 100Mbps. All development I were doing on Ethernet.

It is strange, because WiFi should work too.
Reply
#7
Thank You for doing this work. For many of us,  this is why we bought the Pine64.  Sorry the Pine Team did not get a working TV image.

I hope you can get the wifi working soon as well as Playstore.

Can you give us exact install procedures or create an image that we can just put on the SD Card and run.
Reply
#8
I don't see why wifi is not working, since everything is there and should be OK.

Right now follow the procedure from above to install it against the current image.

One more thing. I fixed Bluetooth settings to be ON by default. This is required for Android TV.
Reply
#9
I also fixed Wifi. It connects and works reliably now Smile
Reply
#10
Other change is that default resolution is 1080p, previously 720p.

Playstore seems to be working after tweaking build.prop and configuring:

Code:
ro.product.model=fugu
ro.product.brand=Android
ro.product.name=fugu
ro.product.device=fugu
ro.product.board=exdroid

Disabling IPv6 solves a missing video on Google Movies.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Android 6.0.1 (LCD Panel version) reboot problems Maxim0n 1 53 Yesterday, 12:41 PM
Last Post: Maxim0n
  Android 7.1 Tablet and TV (alpha, proposal) ayufan 31 6,865 06-15-2017, 01:09 PM
Last Post: geniepro
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 205 32,070 06-02-2017, 01:30 PM
Last Post: Bob123456789
  Pine 2GB won't boot Android anymore Bluphire 5 385 05-29-2017, 09:34 PM
Last Post: dkryder
  Android 7.1 (PINE A64(+)) v0.3.5-r61 pineadmin 14 2,607 05-27-2017, 08:47 PM
Last Post: veronicasmithen03
  Orange Screen All versions of Android TV XsoundXhoundX 17 1,863 05-19-2017, 01:27 AM
Last Post: Israeldelamo
  Pine A64 running Android 7.1 kernel panic leon 1 354 05-12-2017, 04:53 PM
Last Post: ayufan
  Android 6.0.1 Image (LCD and HDMI Video Output) Release 20170209 [ver 2.0.1] rookieone 15 2,737 05-05-2017, 01:50 AM
Last Post: Quezbeme
  Change Android boot logo? ipsw 5 1,565 05-03-2017, 09:39 PM
Last Post: Quezbeme
  How to Make a Pine with Android 7.0 Stay on All the Time? Bob123456789 3 484 04-05-2017, 01:12 PM
Last Post: Bob123456789

Forum Jump:


Users browsing this thread: 1 Guest(s)