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.

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
16 Comments
oldest
newest
linuxium
linuxium
10 years ago

Why didn’t you include your resource.img?

Ze'ev
Ze'ev
10 years ago

Can we use the launcher apk ?

linuxium
linuxium
10 years ago


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

m][sko
10 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.
10 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
10 years ago
Trevor Wuoti
Trevor Wuoti
8 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
8 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
8 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.

Boardcon Rockchip RK3588S SBC with 8K, WiFI 6, 4G LTE, NVME SSD, HDMI 2.1...