Creating and Flashing an Android Image from Rockchip RK3288 SDK

Orange Pi Development Boards

Following up on my post explaining how to build Android for RK3288 TV box, I’ve generated a firmware image, and flashed it to Tronsmart Orion R28 Meta TV box to see if it could boot properly. There’s basically no information in the Andoird SDK explaining how to do basic things like building from source, and generating and flashing the resulting image, so I’d like to thanks Linuxium, Droidmote and Naobsd for their various tips.

Launcher Part of Android SDK for RK3288 (Click for Original Size)
Launcher Part of Android SDK for RK3288 (Click for Original Size)

Since I’ve built everything from source, I’m using a Linux machine, but you should be able to create and flash the Android image in Windows using tools in RKTools/windows folder.

First let’s copy the required, and freshly built, files to create the firmware:


We’ll also need to edit package-file follows (I only had to change the bootloader field):


And now create the firmware file:


The firmware file update.img can be flashed with upgrade_tool in Linux, or AndroidTool in Windows. Orion R28 also supports updates from SD card, but I don’t know how to generate such images (yet).

First you need to enter recovery mode. Connect the USB OTG port of your device to your PC, insert a toothpick in the AV port of your device to press the recovery push button (location of recovery button will differ between products), turn on the device, and release the button after a few seconds.

The first time I used upgrade_tool, I got the error “Creating Comm Object failed!”,  changing udev rules in Ubuntu will fix the issue (Source Radxa website):


Finally flash the firmware:


Orion_R28_106k8Now cross your fingers, and restart your TV box: Google TV logo… Android animation… and after asking a few questions about Google Play, the system asks you which launcher you want to select: stock Android, or a custom launcher as shown in the top of this post. That means it works! Great!

Unfortunately, I quickly realized Ethernet does not work, as the MAC Address is 00:00:00:00:00:00, and the firmware version of the SDK (106k4) does not match with the firmware version originally flashed into Orion R28 Meta (108k4), and they’ve now updated it to 109k4. Wi-Fi did work fine however, I could login to Google Play, and install ES File Explorer. XBMC 13.1 Gotham is also part of that firmware, but won’t work that well based on testing from other RK3288 TV boxes.

I had initially planned to test Tronsmart Orion R28 Meta with the firmware built from the SDK, but unfortunately the SDK and actual released firmware are out of sync, which means the SDK is not really useful, and I don’t think the manufacturers are interested in released up-to-date source code. So instead I’ll do some hardware testing using the provided firmware.

If you want to play around Rockchip RK3288, including testing Ubuntu on your device, you may want to checkout Firefly-RK3288 Wiki, now updated with English instructions partially inspired from Radxa and Androtab websites.

Support CNX Software - Donate via PayPal or become a Patron on Patreon

16
Leave a Reply

avatar
16 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
7 Comment authors
MouadTrevor WuotiTronsmart Draco H3 TV Stick Firmware and SDK ReleasedPatched Android 4.4 SDK Supports Beelink R89 & Hotack T031BoardsZe'ev Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
linuxium
Guest
linuxium

Why didn’t you include your resource.img?

Ze'ev
Guest
Ze'ev

Can we use the launcher apk ?

linuxium
Guest
linuxium

@cnxsoft
I mean why didn’t you include it in your update image!

m][sko
Guest
m][sko

if anybody iterated how RK overclock gpu/cpu

https://bitbucket.org/T-Firefly/firefly-rk3288/src/56368e4ff90aaee3efa3929a1d0ad1a2254f4f9a/device/rockchip/common/gpu/gpu_performance/?at=master

performance_info.xml

I saw similar stuff in Amlogic SDK

m][sko
Guest
m][sko
Paul t.
Guest
Paul t.

I saw the dual boot image on firefly but it’s for a different Wi-Fi module ap 6335 not 6330 so don’t know of it will boot,

Ze'ev
Guest
Ze'ev

@cnxsoft

Thanks !!!!

trackback

[…] instructions to build an RK3288 Android image, but when I flashed the image to my device, I quickly realized it was an older firmware (106k4), so the SDK would not be so useful, since all the recent bug fixes were not included. Luckily, more […]

trackback

[…] you want to experiment with the source code you can go ahead, but bear in mind that in the past Tronsmart SDK releases were several months old and lacking the latest bug fixes. So it will probably build and run on the device, but this is […]

Trevor Wuoti
Guest
Trevor Wuoti

Well I really appreciate what you have shared with us all … I note the date is quite old and there are no drivers for the Rockchip Batch tool just windows 7 and 8 and most of the world is now on Win 10.

I have tried to do it the recommended way but the box was never “seen” and after fiddling now only boots to recovery.

I guess if I get the right file I can flash it in through recovery ..ie rkimage.

Any advice would be appreciated to save the device.

Trevor Wuoti
Guest
Trevor Wuoti

Oh btw .I have a cs918 plus that after an ota update the wifi stopped otherwise I wouldnt be fiddling around as I dont find this much fun but still a challenge is good for ones senility.

Thanks for reading

Mouad
Guest
Mouad

Hello;
Can you creat an img firmware to the receiver KII pro combo. here this is the last firmware
http://www.mediafire.com/download/wtc84g0s3p2n2x2/20160715_KII_Pro.rar
Best Regards.