Creating and Flashing an Android Image from Rockchip RK3288 SDK

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.

Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.

Support CNX Software - Donate via PayPal, become a Patron on Patreon, or buy review samples
Subscribe
Notify of
guest
16 Comments
oldest
newest most voted
linuxium
linuxium
6 years ago

Why didn’t you include your resource.img?

Ze'ev
Ze'ev
6 years ago

Can we use the launcher apk ?

linuxium
linuxium
6 years ago


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

m][sko
6 years ago

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

Paul t.
Paul t.
6 years ago

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
Ze'ev
6 years ago
Trevor Wuoti
Trevor Wuoti
4 years ago

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
Trevor Wuoti
4 years ago

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
Mouad
4 years ago

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.

Advertisements