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

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.


- 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: Skip only `extract-bsp` part since the kernel is already updated.

How to install?

Download compressed image from:

You can use RasPlex Installer to copy it to card, just point to downloaded image file:

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


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:

List of my improvements

- rewrote HDMI CEC kernel driver for our 3.10 and pine64 longsleep sources: and,
- write HDMI CEC hardware driver for Android:
- configure tulip-chiphd to behave as Android TV:
- 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:
- extend Android TV build:
- 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
Nice. It seems to work reliably. It did work OK for over one night now Smile
I didn't try yet,It's a wonderful work!

从我的 iPhone 发送,使用 Tapatalk
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.
@clarkss12,maybe you can try to use 100m ethernet lan router

从我的 iPhone 发送,使用 Tapatalk
I use Ethernet connected to It works reliably for me, using 1Gbps and 100Mbps. All development I were doing on Ethernet.

It is strange, because WiFi should work too.
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.
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.
I also fixed Wifi. It connects and works reliably now Smile
Other change is that default resolution is 1080p, previously 720p.

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


Disabling IPv6 solves a missing video on Google Movies.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 228 398,106 12-29-2020, 01:13 AM
Last Post: firmwarefile
Shocked Remote for Android? liodra 18 30,560 12-23-2020, 06:11 AM
Last Post: Learnincurve
  Adding an accelerometer to Android modsbyus 11 17,303 11-02-2020, 08:12 PM
Last Post: Little_Johnny
  Android Things OS dqvsra 2 7,171 12-03-2019, 09:52 AM
Last Post: hangglider
  Is there another link for Android images? Maalth 3 7,272 10-10-2019, 07:57 AM
Last Post: tophneal
Question Android SDK Oreo NGC6691 2 5,788 07-15-2019, 08:29 PM
Last Post: dazza5000
  Putting Android 9 RockPro64 source into easier to manage repositories dazza5000 0 3,453 07-15-2019, 08:29 PM
Last Post: dazza5000
  Issues with SD Card and Running Android Twistedx 0 3,644 02-26-2019, 11:58 AM
Last Post: Twistedx
  Android 7.1 (PINE A64(+)) pineadmin 59 107,943 02-10-2019, 07:44 PM
Last Post: mmmarcus
  +LTS/SOPINE Android SDK support and Customization biplab777 1 4,786 01-07-2019, 01:21 AM
Last Post: tllim

Forum Jump:

Users browsing this thread: 2 Guest(s)