Rktools

From Arctablet
Jump to: navigation, search

Contents

rkafpack

TODO: add what this tool does.

The source code is at https://github.com/naobsd/rkutils

rkunpack

TODO: add what this tool does.

The source code is at https://github.com/naobsd/rkutils

rkcrc

TODO: add what this tool does.

The source code is at https://github.com/naobsd/rkutils

Note

Please make sure the correct version of rkcrc is obtained, an earlier version does not handle Kernel file (ie KRNL prefix). A simple test is type rkcrc without any parameters, it will return the usage which should include -p & -k parameters like this:

tmp$ rkcrc
usage: rkcrc [-k|-p] infile outfile

rkflashtool

Rkflashtool is a low level reflashing tool for RK29xx / RK28xx processor. This tool uses a low level protocol supported by the internal bootloader of the RK processor. Because of that, this tool doesn't need anything to be present on NAND flash, and can be used to successfully reflash bricked tablets.

The source code is at https://github.com/justgr/arnova-tools/tree/master/rkflashtool (originally from this XDA developers thread).

Compilation

Acquire relevant development files. On Ubuntu run sudo apt-get install libusb-1.0-0-dev

Compile using the following:

 gcc -o rkflashtool rkflashtool.c -lusb-1.0 -O2 -W -Wall -s

Usage

 rkflashtool b                   	reboot device
 rkflashtool r offset size >file 	read flash
 rkflashtool w offset size <file 	write flash

 offset and size are in units of 512 bytes

The rkflashtool requires root privilege to operate correctly. Run it as follows:

$ sudo rkflashtool ...
[sudo] password for stevep: 
...
Personal tools