Rockchip provides 2 tools to update the flash: RkBatchTool – Used to upgrade firmware with a single file RkAndroidTool – Used to flash the NAND flash with image corresponding to particular partition, e.g. system.img. kernel.img, boot.img. recovery.img. etc… One problem is that the company only provides these tools for Windows, so if you’re using a Linux based operating systems, you’d have to run a Windows XP or 7 virtual machine in VirtualBox or VMWare, which is an inconvenience, and requires a license in theory. To work around this issue, I’ve tried to use ReactOS, an open source operating systems compatible with Windows XP, but although the USB drivers appeared to install properly, RKAndroidTool failed to recognized my device (MK908). But a member of Mini PCs community informed me about a tool called RkFlashKit, written in Python and using GTK, that can flash firmware to Rockchip RK3066 and RK3188 devices in […]
Binwalk Utility Helps You Analyze and Reverse-Engineer Firmware Files
Binwalk is a “firmware analysis tool designed for analyzing, reverse engineering and extracting data contained in firmware images”. This tool written in python supports Linux, and somewhat Mac OS X, can scan firmware files for files signature, and can be useful for hacking firmware files, and finding hidden information. Let’s install binwalk first. It’s very easy in a Debian or Ubuntu machine, as you just have to download the package, and run a script for installation:
1 2 3 4 |
wget https://binwalk.googlecode.com/files/binwalk-1.2.2-1.tar.gz tar xzvf binwalk-1.2.2-1.tar.gz cd binwalk-1.2.2-1/src sudo ./debian_quick_install.sh |
If you have another Linux ditributions, it’s just a little more complicated. You still need to download and extract the release package as above, but you’ll have to install the following package depending on the features your need: Minimal installation – python 2.6 or greater, and python-magic To generate entropy plot graphs – python-matplotlib For automated extraction: Packages – mtd-utils zlib1g-dev liblzma-dev gzip bzip2 tar unrar arj p7zip p7zip-full openjdk-6-jdk Build and install […]
Firmware Update for CS868 mini PC Version 2.06 (Android 4.1.1)
If you’ve got a Rockchip RK3188 mini PC, there’s usually no issue with finding firmware updates, or even custom ROMs. But if you’ve bought an AllWinner A31 mini PC, such as CS868, you may feel everybody dropped the ball, as the system is not stable, and it seemed there would never be any upgrade. I’ve recently been made aware that there’s some activity on a Chinese bulletin board, and a new firmware is available for CS868: V2.06-4.1.1-20130610. As the name implied, the firmware is based on Android 4.1.1, and has been release on the 10th of June 2013. Here’s the Changelog against V2.05: Add video color brightness, contrast and saturation settings Output to HDMI output by default Other systems optimization and the Changelog against V2.04 (22nd of May): Reduce DDR frequency to improve system stability. Fixed potential sound failure. Optimize USB OTG interface to fix issues with Air mice. Increase […]
How-to Upgrade Firmware on AllWinner A31 mini PCs
I’ve just received a mini PC powered by AllWinner A31, and I had to (re-)install the firmware, so I’ll explain the steps I followed in this post. The procedure is for CS868 mini PC, but it should be similar for all Android HDMI TV dongles, and media players based on AllWinner A20 or A31.The procedure below only works in Windows, and has been tested in Windows XP. I’ll mention a possible method in Linux at the end of the post. Download the latest CS868 firmware and tools, and extract “cs868 firmware and update tool 20130507.rar” file Download PhoenixUSBPro tool in English, and extract This is optional as the Chinese version is included in rar file above. Double-click on PhoenixUSBPro/PhoenixUSBPro.exe to start the program Click on Update to upgrade the tool to the latest version if need be. Click on Key to to load the key file (AW_LCTOOLS.key), on Image to […]
New Tronmart Prometheus Firmware Fixes XBMC Audio/Video Sync, Adds DLNA and Smartphone Control App
A new firmware is now available for Tronsmart Prometheus with the following key changes: New Android 4.2 XBMC audio/video sync bug fix DLNA support Smartphone control function Internal storage for apps increased to 2GB In order to use the smartphone control function, you need to download and install RC_Client.apk into your Android smartphone or tablet, and run this app to control your Prometheus. I haven’t tried myself, and they did not provide detail, so I don’t know whether functionalities are similar to DroidMote. To update your device if It’s already running the previous Android 4.2 beta firmware: Download and extract Tronsmart Prometheus new stock firmware.zip. It would be really nice if they could just provide version numbers for firmware releases. Open the download folder, copy the 5 files in the root folder of an SD card, and insert it into your device. Use a paper clip to press and hold […]
How to Flash Firmware to Rockchip RK3188 HDMI TV Sticks
Yesterday, I’ve received MK908 mini PC featuring Rockchip RK3188, and a new firmware is available, so before further testing I’ll flash the firmware to the device basically using the instructions from Geekbuying. This method use standard Rockchip tools, so it should work for any RK3188 devices. But first a little rant. Those instructions only work on Windows operating systems, so if you’re using Linux or Mac, you’re out of luck until you find a Windows PC, or launch Windows in a virtual machine. This method should just be used in case the device can’t boot, or you have serious issue with the device firmware, but it is also used for firmware upgrade for Rockchip mini PCs. This is just wrong. Typical users should not be asked to install software and drivers, press the recovery button, just to upgrade their firmware. The best very way would be OTA updates, but maybe this […]
Preliminary Ubuntu 12.04 RootFS for GK802/HI802 mini PC
After releasing a pretty good Ubuntu 11.10 image with both VPU and GPU acceleration for Freescale i.MX6 based HDMI dongles last month, Jasbir (aka jas-hacks) has released an Ubuntu 12.04 image with GPU support thanks to the help of Octavio (Yocto Project contributor), and Wi-Fi support. It’s possible to select Unity 2D or Xubuntu desktop, and Chromium and Neverball, a 3D ball game, are part of the image. There’s still more work however, as VPU (Video Processing Unit) support is work in progress, Bluetooth does not work yet, and OpenGL ES test programs such as glmark2-es2 or es2gears do not work properly with Xubuntu, even though they do work fine with Unity 2D. Jasbir uploaded a video showing Neverball 3D game in GK802, and it works pretty good, although the framerate does not seem optimal for now. If you want to give this image a try, install GK802 Ubuntu 11.10 […]
Droid Stick A2 mini PC Recovery with AMLogic’s Hardware Flash Tool
In some circumstances, for example by installing the wrong firmware or doing something wrong by playing god (as a root user), it’s possible to brick your device. This happened to me with one of my Droid Stick A2 mini PCs based on AMLogic AML8726-MX. I changed some files in /system/etc/permissions directory, lost Wi-Fi access, and even replacing my changes with the backup files would not solve the problem. It also changed some permissions in the system, and it was not possible to restore the firmware the usual way. At the end of last month, dbtablets left a comment with download links to “Amlogic USB Burning tool”, but I only decided to give it a try today, and after some efforts I was successful. Just make sure you only use this method as last resort, i.e. a standard firmware upgrade does not work, and you’re about to throw your device in […]