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. 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 […]

How to Build Android 4.4 for Rockchip RK3288 Devices (Tronsmart Orion R28)

After blowing up my ATX power supply, and learning such things as “FULL” power supplies do exists, I finally managed to build Android for Tronsmart Orion R28 using the provided SDK. I haven’t tried to load it on the device yet, but the build could complete successfully after following the steps below in Ubuntu 14.04. The SDK is probably not specific to one device, so it might just also work on other RK3288 TV boxes and tablets. First download Android 4.4 SDK for RK3288, or use the one in the micro SD card provided with the Beta version of R28 Pro and Meta. Install some dependencies:

Extract the SDK:

And build the kernel first: Enter the kernel directory:

Change arch/arm/boot/dts/Makefile to use RK3288 device tree file instead of an RK3188 (may not be needed, but the build failed for me without that change…):

It’s also quite […]

Rockchip RK3288 Android 4.4.2 SDK and Schematics Released for Firefly Board

Firefly-RK3288 development board was first announced in July. I still don’t have news about availability nor pricing, but the T-Firefly website launched yesterday. They seem do have a nice Wiki, but unfortunately everything is currently in Chinese, except when you go to the download page. You’ll find firmware upgrade_tool for Linux and Windows, the USB drivers for rooting and firmware update, firmware images (Android 4.4.2, Ubuntu 14.04, and dual boot), the board schematics (PDF), and Android KitKat 4.4.2 SDK with U-Boot, Linux, and Android source code, some documentation, XBMC apk (no source) with H.265 hardware decode support for MP4, MOV and MKV container formats. The SDK is available on Bitbucket. I planned to test it, but unfortunately my network connection is very slow (and unstable) to this server, and I failed to retrieve it with git clone. The company also posted the build instructions in Chinese in their website, but […]

How to Build and Run Android L 64-bit ARM in QEMU

[Nov, 2014 Update: The method below does not seem to work anymore, but a 64-bit ARM emulator “emulator64-arm64” has now landed in AOSP, and updated instructions are available here]. Most people can’t afford Juno Cortex A57/A53 development board, and mobile processors based on the latest 64-bit ARM cores are only expected by early 2015. But thanks to a small team at Linaro, you can now build and run Android L 64-bit ARM in the latest version of QEMU that supports Aarch64. Alex Bennée, an engineer working for Linaro, wrote a blog post in Linaro’s Core Dump blog explaining the Android emulator is actually based on QEMU,  the differences compared to mainline QEMU, the work they’ve done on Android L at Linaro, and most importantly, provided the basic steps showing how to build and try Android L 64-bit ARM (ARMv8) in QEMU. I’ve just done that, but unfortunately, albeit the builds […]

How to Upgrade Firmware in Rockchip RK3288, RK3328, RK3399 Android TV Boxes

For some reasons, Rockchip is extremely fond of Windows based firmware tools, and instead of providing a simple SD card method, they’ve continued to use these awful tools to upgrade firmware for Rockchip RK3288, RK3328, RK3399 devices, and other Rockchip based TV boxes. I don’t mean to say these are useless, but they should not be used by end users, unless their device is bricked. Nevertheless, Rockchip has now release version 2.3 of their Android tools for Windows, and GeekBuying has published a guide showing how to do, which I’ll summarize below. Rockchip has also released an updated version for the Linux Upgrade Tool (upgrade_tool) v1.24 that allows you to do the update in Linux. [Update: The latest versions of DriverAssistant (Step 1) and AndroidTool (Step 2) can be found in Rockchip-Linux account in Github] The first thing to do is to make sure you’ve got the latest Rockchip USB […]

DIY Power Measurement Board

When I review media player or development boards, I’m often asked about power consumption figures. One way to measure power consumption is to use a Kill-a-Watt, but for low power devices it’s not always accurate enough, and it also includes the heat dissipation from the power adapter, which may or may not be useful depending on what you want to measure. For USB powered devices or boards, an easy way to measure power consumption is to use CHARGER Doctor, a small $5 USB dongle that displays both voltage and current alternatively. Unfortunately, most products I’ve received lately use barrel type connectors, so this little tool has not been as useful as I hoped. The only solution is then to measure voltage and current with a multimeter. Voltage is measured in parallel, so you just need to point the multimeter’s leads where you want to perform the measurements. However, the current […]

How to Use an Android TV Box as a Wi-Fi Access Point

Today, I’ve come across another potential use case for Android TV boxes with Wi-Fi and Ethernet. Let’s say you are in a room with Ethernet, but there’s no Wi-Fi signal or the signal is too weak, and want to use your smartphone to connect to the Internet via Wi-Fi. If you don’t have one of these small (openWRT) Wi-Fi router with you, but instead brought an Android mini PC, you can configure the “Portable Hotspot” function to transform it into a secure Wi-Fi access point. Assuming you’ve connect an Ethernet cable, and powered the device, first make sure Ethernet is enabled\, and Wi-Fi is disabled in the Settings menu. To click on Settings->More.. in the Wireless & Networks section, and select “Tethering & portable hotspot” or simply “Portable hotspot” depending on your firmware. In the next menu, click on Portable Wi-Fi hotspot to enabled it, then “Set up Wi-Fi Hospot” […]

How to Try Android L Developer Preview in Ubuntu 14.04

As mentioned yesterday, Android L Developer Preview was about to be released, and this is now done with images for Nexus 5 “Hammerhead” and Nexus 7 “razor” available right now. However, if you don’t have either of these devices, or you’d rather not install a beta version on the phone you use everyday, you can still give a try in the SDK emulator. I’ve tried Android L myself in Ubuntu 14.04. Here’s what you have to do: Install Android Studio IDE in Ubuntu, and Create a new Project  or open an existing project (Android Studio Version is now 0.61) Click on Tools->Android->SDK Manager in the top menu, and select the Android L (API 20, L Preview) packages as shown below, and click on “Install xx Packages” button. Accept the license as required, and click Install. This step can take countless hours… Now we’ll need to create a Virtual Device for […]

EDATEC Raspberry Pi 5 fanless case