Hacking the UG802 Android TV stick

Lucky me. Brought the Android TV stick with me to work after I got it in the mail. Showed it to my boss and he immediately ordered one too, not a UG802 though but a RK3188 based device. The RK3188 is a quad core ARM CPU while the UG802 comes with a RK3066 dual core CPU. The goal is to hack this RK3188 based device to see if it can be used for one of the projects we’re working on. Only very recently (about two weeks ago) the kernel source has been released and people managed to run Linux on it just a few days ago. Can’t wait to hack it. During working hours. Awesome.

Unlucky me. Apparently the TV stick I purchased is some kind of UG802 revision or clone. Very confusing. But I can boot Linux on it as it’s a RK3066 based device so I’m ok. I think I’ll order another TV stick but then one with better community support, like the MK808.

Unlike the RK3188 based devices the RK3066 based devices have been available a while longer so there is quite some useful information available on how to get Linux running on it. First thing is to get a Linux kernel on it that allows you to boot into a Linux rootfs that resides on a MicroSD card. For the Linux rootfs I’ve chosen to use Debian Wheezy. For the kernel I used Galland’s concise yet effective howto. All the details on how I set up the TV stick in order to boot it with Linux can be found on the Installing Linux on a RK3066 based device page.

Hacking the UG802 Android TV stick

4 thoughts on “Hacking the UG802 Android TV stick

  1. Mickael says:

    Hello Jeremy,
    I wanted to thank you for this great tutorial.
    I managed to boot my iStick A200 with Debian thanks to it.

    Just one thing, to flash the recovery image, I used only this line command :
    ./rkflashtool w 0x00010000 0x00008000 < ../recovery.img and not this one : ./rkflashtool w 0x00014000 0x00008000 < ../recovery.img Actually, the second one will erase the offset 14000 to 18000 written by the first one. With just the first line command, it worked well.

  2. Hello Mickael, thanks! The first command only applies when you use a stock ROM, the second one is when you’re using the Finless custom ROM. Maybe I should make it clearer that you only need to issue one rkflashtool command. Or I could replace that section with information on how to use rkflashkit, a GUI tool to flash Rockchip devices which detects the partitions on your device automatically.

Leave a Reply

Your email address will not be published. Required fields are marked *