Latest product reviews
ARCHOS 50 Diamond
ARCHOS GamePad2
ARCHOS
Smartphones
ARCHOS
TV Connect
ARCHOS 101 XS

A A A
Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?

ClockworkMod (CWM) Recovery easy install for RK3066 and RK3188 -- TWRP/CWM Flash-Tool and root for RK3288

 Please donate to support OMA and CrewRKTablets firmware work, thank you !

sp_Feed sp_TopicIcon
Flashing Rockchip update.img firmware on Linux (RK_BatchTool v1.7 equivalent)
Avatar
admin

admin
Forum Posts: 5872
Member Since:
2010/09/11
sp_UserOfflineSmall Offline

Thanks Received: 3163
1
2014/04/10 - 15:26
sp_Permalink sp_Print sp_EditHistory

So far, flashing an update.img style firmware was only possible under Windows OS using 

Rockchip_Batch_Tool_v1.7 (RKBatchTool.exe) application. 

Thanks to the great guys at radxa.com there is now an alternative on Linux.

See there page here: http://radxa.com/download/

 

Description Linux Windows Note
Firmware upgrade tool – Format and install firmware to NAND flash Linux_Upgrade_Tool_v1.16.zip(1.2M) RK_BatchTool_V1.7.zip(567K) Readme
Partition upgrade tool – Install images to NAND flash by partitions rkflashkit_0.1.1_all.deb(143K) RKDevelopTool_v1.37.zip(534K) Readme

 

As a backup, we are posting mirror for the files:

Linux_Upgrade_Tool_v1.16.zip

rkflashkit_0.1.1_all.deb

 

The procedure is documented on Radxa WIKI.

Linux

Rockchip has provided tools for upgrading within Linux (closed source) since Android 4.4. It's called upgrade_tool. It supports update.img, parameter, bootloader and other partitions, and it's command line based.

rkflashkit is an open source GUI version flashing tool for rockchip devices. It can not flash bootloader or parameter, only supports kernel and other partitions, but it supports backup the partitions.

For developers: The initial RE work of the Rockchip bootloader updating protocol is by naobsd and has been improved by some in rkflashtool. linuxerwang has made a GUI version of the rkflashtool called rkflashkit. Please note: both rkflashtool and rkflashkit can not flash the rock/update.img and can only flash within rock/bootloader mode and not rock/mask rommode because the rock/mask rom updating protocol is not RE yet. If you are interested in the RE protocol ping naobsd at #radxa on IRC. Since the rock/bootloader has remained unchanged for a long time it's enough for normal usage. If you don't know what this means, just ignore it.

Upgrade_tool from Rockchip

Download the Rockchip linux upgrade tool here. Unzip it and you will get a file called upgrade_tool which is a binary executable file under Linux.

Flash update.img

Let the board go to rock/recovery mode and run the following command to flash the rock/update.img:

sudo ./upgrade_tool uf /path/to/update.img #(UF Upgrade Flash)

If you have an error with upgrading you can low level format the nand flash first with the following command:

sudo ./upgrade_tool lf #(LF Lowlevel Format) This will erase everything on nand

Flash parameter

sudo ./upgrade_tool di -p /path/to/parameter #(DI Download Image)

Flash bootloader

sudo ./upgrade_tool ul /path/to/bootloader #(UL Upgrade Loader)

Flash the kernel(boot.img)

sudo ./upgrade_tool di -b /path/to/boot.img #(DI Download Image)

Others

There are other commands in the upgrade_tool, such as:

UL: upgrade the loader
EF: erease the nand flash

 

Please post your feedback on how this procedure works for you.

 

Cheers.

If you like our web site, applications and firmwares, feel free to support our site. Donations are used to pay the bills for our server hosting costs, development tools and purchase new tablets to support.

Avatar
Piperos
Member
Forum Posts: 13
Member Since:
2014/03/03
sp_UserOfflineSmall Offline
2
2014/04/13 - 23:08
sp_Permalink sp_Print

Thank you very, very much for this topic :)

 

I look forward to test it, is there anything not fixable if I mess things up?

Forum Timezone: Europe/Paris

Most Users Ever Online: 749

Currently Online: Oma7144, Djuganight, Bibliotecario, Bahramz, PhoenixKopf, gordonhenriquez, alexman79, gazghkul, ampao2
249 Guest(s)

Currently Browsing this Page:
3 Guest(s)


Devices in use: Desktop (206), Phone (40), Tablet (12)

Top Posters:

Oma7144: 5783

globula_neagra: 2424

finless: 604

DarthJabba: 551

exelletor: 450

JochenKauz: 450

cracktech: 432

maikal: 394

Newest Members:

ampao2

gazghkul

alexis791

alexman79

triplux13

energmmw

Forum Stats:

Groups: 10

Forums: 185

Topics: 5916

Posts: 58848

 

Member Stats:

Guest Posters: 43

Members: 256482

Moderators: 5

Admins: 1

Administrators: admin

Moderators: globula_neagra, exelletor, JochenKauz, Oma7144, cracktech


CrewRKTablets moderators: JochenKauz and Astralix