[Android Stick & Console RockChip based Computers] Such_A_Victor:
UPD: Rreflashing guide for linux Host PC added.

BEFORE START

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.

INSTALLING DRIVERS

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".

Ugoos UT-3

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.

Ugoos UM-3

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:

rkflashtool https://github.com/linux-rockchip/rkflashtool

rkflashkit https://github.com/linuxerwang/rkflashkit

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:

Flash update.img:

[IMG="upgrade_tool"]http://ugoos.net/image/data/0.rk.guide/Screenshot%20from%202016-03-02%2012_50_06.png[/IMG]

Flash partition images:

If errors occur due to flash problem, you can try to low format, or erase the flash:

Following instruction is for rkflashkit utility.

Install:

GUI:

[IMG="rkflash"]http://ugoos.net/image/data/0.rk.guide/Rk3288_rkflashkit.png[/IMG]

Command line:

For example, flash device with boot.img and kernel.img, then reboot:

UPD:

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)

[IMG="UM3 maskrom"]http://ugoos.net/image/data/0.0.2brk3368/pimgpsh_fullsize_distr.jpg[/IMG]

Ugoos UM3 example

[IMG="UT3s maskrom"]http://ugoos.net/image/data/0.0.2brk3368/UT3s.jpg[/IMG]

Ugoos UT3s example

[IMG="UT4 maskrom"]http://ugoos.net/image/data/0.0.2brk3368/UT4.jpg[/IMG]

Ugoos UT4 example

After circuit and attaching to host PC, Android tool will show you message in progress bar: Found one maskrom device

[IMG="Android tool in maskrom mode"]http://ugoos.net/image/data/0.0.2brk3368/enter%20maskrom.png[/IMG]

Then start upgrade. The reflashing process should run several steps

[IMG="Android tool in maskrom mode"]http://ugoos.net/image/data/0.0.2brk3368/enter%20maskrom2.png[/IMG]

You also can use Batch tool for this action. Device indication should turn blue instead of green for maskrom mode.

[IMG="Batch tool in maskrom mode"]http://ugoos.net/image/data/0.0.2brk3368/eenter%20maskrom%203.png[/IMG]

There are photos of several well spread NAND chips and circuit schemas:

[IMG="NAND"]http://ugoos.net/image/data/0.0.2brk3368/Hinix_H27UCG8T2ATR.jpg[/IMG]

[IMG="NAND2"]http://ugoos.net/image/data/0.0.2brk3368/Micron_29F64G08CBABA.jpg[/IMG]