What you need:
1. Image file
2. Host PC (Windows)
3. USB OTG Cable
Supported host OS:
1. Windows XP （32/64bit)
2. Windows 7 (32/64bit)
3. Windows 8 (32/64bit)
All manipulations I show using UGOOS devices example. Procedure is common for all RK SoC based devices.
The first thing you need to do is to DOWNLOAD the firmware archive.
Inside archive you find: BatchTool or Android Tool - tools for reflashing and DriverAssitant - tool that helps you to install device drivers and firmware image file.
If you need to install the drivers, you can find setup file in the program folder.
Launch RK DriverAssitant and press “Install Driver” button.
During installation a couple of times program will ask whether you want to install the driver. In the end of installation you can see diolog window: "Install driver ok".
1. Turn off the device.
2. Connect device to PC via USB using OTG- port.
3. Press and hold the hardware reset button.
4. Turn on the device.
1. Press and hold the hardware reset button.
2. Connect device to PC via USB using OTG- port.
UPGRADE FIRMWARE WITH ROCKCHIP BATCH TOOL
Run the Rockchip Batch Tool and click on the “…” to choose file with firmware pack.
If everything is correctly done and the driver is installed on your computer,
you will see green light on one of the indicators.
Now click the “Upgrade” button to reflash the device. When progress is finished you will see a sign indicating a successful operation.
UPGRADE FIRMWARE WITH ANDROID TOOL
Run the Android Tool and click on the “Upgrade Firmware”.
If everything is correctly done and the driver is installed on your computer, you will see “Found One Loader Device “
Click on button “Firmware” and specify the path to the firmware file.
You need to wait until the program downloading information about the firmware, then it will display some information on the screen. Now click the Upgrade button to reflash the device. At the end you will see a sign indicating a successful operation.
For flashing dualboot or clear linux firmware
1. Run the Android Tool. If you everything is correctly done and the driver is installed on your computer, you will see “Found One Loader Device.
2. Default program configured to flash"clear" android on your device. If you want install “Dualboot” or “Clear linux” click right mouse button by program window, and then select “Load config”.
3. Then choose one of configurations files:
config.cfg - if want flash only Android
config_dualboot.cfg - if want flash dualboot
config_linux.cfg - if want flash only linux
4. Now click the Upgrade button to reflash the device. At the end you will see a sign indicating a successful operation.
For Linux Host PC users:
Rockchip provides a command line utility named "upgrade_tool" under Linux, which support flashing of both update.img and partition images.
In addition, we have two choices with regard to open source tools:
Both of them only support flashing partition images, not update.img. rkflashtool is a command line tool, and flashkit has a nice and easy to use GUI with command line support lately added.
If you use Upgrade Tool:
There is no need to install device driver. Just connect the device and host PC.
Download Linux_Upgrade_Tool, and install it to host filesystem:
tar xf Linux_UpgradeTool_v1.2.tar.gz
sudo mv upgrade_tool /usr/local/bin
sudo chown root:root /usr/local/bin/upgrade_tool
sudo upgrade_tool uf update.img
Flash partition images:
sudo upgrade_tool di -b /path/to/boot.img
sudo upgrade_tool di -k /path/to/kernel.img
sudo upgrade_tool di -s /path/to/system.img
sudo upgrade_tool di -r /path/to/recovery.img
sudo upgrade_tool di -m /path/to/misc.img
sudo upgrade_tool di resource /path/to/resource.img
sudo upgrade_tool di -p paramater # flash parameter
sudo upgrade_tool ul bootloader.bin # flash bootloader
upgrade_tool lf # low format flash
upgrade_tool ef # erase flash
sudo apt-get install build-essential fakeroot
git clone https://github.com/linuxerwang/rkflashkit
sudo apt-get install python-gtk2
sudo dpkg -i rkflashkit_0.1.2_all.deb
$ rkflashkit --help
Usage: <cmd> [args] [<cmd> [args]...]
part List partition
flash @<PARTITION> <IMAGE FILE> Flash partition with image file
cmp @<PARTITION> <IMAGE FILE> Compare partition with image file
backup @<PARTITION> <IMAGE FILE> Backup partition to image file
erase @<PARTITION> Erase partition
reboot Reboot device
sudo rkflashkit flash @boot boot.img @kernel.img kernel.img reboot
REFLASHING IN MASKROM MODE
If you have problems with standard reflashing options, or your device had bricked
IMPORTANT: users can perform further manipulations only at their own risk, and only if all other reflashing options can’t help.
Before reflashing in maskrom mode we need to make the same steps as before:
Installing RK drivers
Installing Android Tool or Batch Tool
CONNECTING TO PC in MASKROM MODE
Maskrom mode is reflashing way, when you block reading data from NAND using hardware short circuit of NAND pins.
1. Open device housing and detect NAND (is standalone chip with 48 pins on two sides) on PCBA. In some boxes you also need detached heatsink or cooler in order to reach NAND
2. Place PCBA in front of you so you can clearly read NAND’s name and board number
3. You should choose 6th-7th or 7th-8th pin from NAND bottom on the right side or 6th-7th or 7th-8th pin from first pin (first pin is marked on PCBA with a point or ) and circuit it during plugging to Host PC and powering on (check pin sequence for other devices very clearly)
Ugoos UM3 example
Ugoos UT3s example
Ugoos UT4 example
After circuit and attaching to host PC, Android tool will show you message in progress bar: Found one maskrom device
Then start upgrade. The reflashing process should run several steps
You also can use Batch tool for this action. Device indication should turn blue instead of green for maskrom mode.
There are photos of several well spread NAND chips and circuit schemas: