Forum switched to read-only as of 2020/06/01
Latest product reviews |
---|
![]() |
![]() |
Smartphones ![]() |
TV Connect ![]() |
![]() |
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 !


Moderator

Firmware Guru
2012/01/05

A more detailed method on how to DUMP the content of a tablet using Linux and RKFLASHTOOL
Linux Distro used: Ubuntu 12.04
Get your tablet in flashsing mode
lsusb (to find out your PID/VID which you will use later)
Download "rkflashtool.c" from here
https://github.com/justgr/arnova-tools/tree/master/rkflashtool
CD in the directory where you unpacked the rkflashtool.c
Open the rkflashtool.c and find the lines:
if (!(h = libusb_open_device_with_vid_pid(c, 0x2207, 0x290a)))
if (!(h = libusb_open_device_with_vid_pid(c, 0x2207, 0x281a)))
fatal("cannot open device\n");
Add your line corresponding to your device, here are some examples depending on the chipset RK 2818/2918/2928/3066/3188
if (!(h = libusb_open_device_with_vid_pid(c, 0x2207, 0x281a)))
if (!(h = libusb_open_device_with_vid_pid(c, 0x2207, 0x290a)))
if (!(h = libusb_open_device_with_vid_pid(c, 0x2207, 0x292a)))
if (!(h = libusb_open_device_with_vid_pid(c, 0x2207, 0x300a)))
if (!(h = libusb_open_device_with_vid_pid(c, 0x2207, 0x310b)))
fatal("cannot open device\n");
SAVE THE FILE WITH THE MODIFIED LINES
Install libusb-1.0-0-dev and compile:
sudo apt-get install libusb-1.0-0-dev
gcc -o rkflashtool rkflashtool.c -lusb-1.0 -O2 -W -Wall -s
A new executable rkflashtool will be created.
Usage of the rkflashtool executable
- it is imperative to use sudo
sudo ./rkflashtool b
this will reboot the tablet
sudo ./rkflashtool r
-this will read a user defined part of the nand.
sudo ./rkflashtool w
-this will write a user defined part of the nand (have in mind that if you write something wrong, the tablet may be permanently damaged
sudo ./rkflashtool r 0x0000 0x2000 > /tmp/parameter
With the above command you will dump the paramanter file, which will help in defining the values for the rest of the files that need to dumped.
In the parameter file you will find something similar to
androidboot.console=ttyFIQ0 init=/init initrd=0x62000000
,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00004000@0x00004000
(kernel),0x00008000@0x00008000(boot),0x00008000@0x00010000(recovery),0x00100000@0
x00018000(backup),0x0003a000@0x00118000(cache),0x00200000@0x00152000(userdata),0x
00002000@0x00352000(kpanic),0x00100000@0x00354000(system),-@0x00454000(user)
Lets say we want to dump the system partition
sudo ./rkflashtool r 0x00100000 0x00354000 > /tmp/system.loop
sudo ./rkflashtool r 0x00100000 0x00354000 > /tmp/system.img
It depends on you in what format you want the file to be saved, I prefer .img
You can do the same with the rest of the files that you need dumped.
Here are some instructions on how to dump a firmware of a Rockchip CPU based tablet.
Â
Required Linux system, preferably an Ubuntu/Debian 64 bits (not running in a virtual machine like Vmware or Virtualbox).
You can use Steve (ttz642t) script to dump a Rockchip based tablet firmware:
http://www.arctablet.com/wiki/index.php/Rksp_an10g2_dump.pl
It uses rkflashtool from XDA:Â http://forum.xda-developers.com/showthread.php?t=1286305
Â
We have compiled a package with binaries (64 bits) to make it easier for you, so what you need to do is open a console/opinions-on-teclast-p90hdrminal in Ubuntu, then download the archive using:
wget http://www.arctablet.com/assets/tools/Firmware/Rockchip_CPU_based/Rockchip_dump_Linux_01.tgz
then unpack it with
tar xvfz Rockchip_dump_Linux_01.tgz
change dir:
cd Rockchip_dump_Linux
install libusb:
sudo apt-get install libusb-1.0-0-dev
(you'll need to enter your root password when prompt)
Â
Plug the power connector and the micro usb cable on your tablet and put your device in flash mode using a paper clip in the reset button (see Rockchip Flashing tool article to discover the right "key" combination for your tablet model to enter flash mode)
Â
Finally run the dump script:perl ./an10g2_dump.pl
Â
You should have the dumped files in a subdirectory named after the date/time the script was run in the format like 20120702_1238
Â
We'll need the backup.img file from that dump subdirectory.
Â
Â
Thanks to Steve (ttz642t) for the Rockchip and dump perl scripts
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.
In case you don't have a Linux machine available to run this firmware dump method, you can also use an alternative procedure that runs on any operating system that has ADB (Windows, Linux, Mac).
Thanks exelletor for this fine tutorialÂ
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.

2013/01/13

Many thanks for this tutorial. It worked like a charm on my Arnova 9 G3. One sidenote: you need to set the .pl file to be executable with
chmod +x an10g2_dump.pl
before you can run it.
Dumb question: can I use the resulting backup.img file in the Rockchip flashing tool to restore my stock firmware? Or is there some sort of magic that needs to be performed on it before it can be used in that tool? "backup.img" seems to be the same size as the various custom firmwares available on this site, but I thought I'd ask before giving it a go.
The easiest option is to take apart the different images out of the backup.img file.
Check the tools from here:
https://github.com/lamegopinto/rk2918tools
You'll need (on top of my head) : rkunpack and afptool.
Once you have all the image parts, just setup RKAndroidTool (available from here) and flash your device.
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.

2013/01/13

Thanks for the info, admin.
I'm still a little confused, though. I got the RK2918 tools working and used afptool on the backup.img file. It produced the following files:
------- UNPACK -------
package-file 0x00000800 0x0000021B
RK29xxLoader(L)_V2.14.bin 0x00001000 0x0002512E
parameter 0x00026800 0x00000255
Image/misc.img 0x00027000 0x0000C000
Image/kernel.img 0x00033000 0x006DD030
Image/boot.img 0x00710800 0x007BC000
Image/recovery.img 0x00ECC800 0x00958000
Image/system.img 0x01824800 0x0AF5E000
SELF 0x00000000 0x0C783804
Skip SELF file.
update-script 0x0C782800 0x000003A5
recover-script 0x0C783000 0x0000010A
UnPack OK!
As you can see, system.img is the big file, about 175MB. But it doesn't appear to have the all-important "RKFW" header, that all the custom firmwares ("update.img") seem to have.
Which file should I use? Or what else should I do?
Or, is there some documentation of the RK2918 tools somewhere?
Well, you should be able to flash all the firmware image part (system, boot, recovery,...) using RKAndroidTool as I mentioned. Just point the bootloader, parameter file and each image to the files you extracted and you should be fine.
For Rockchip firmware related info, you can learn a lot working with the tools I mentioned and experimenting by yourself. This site also has some info.
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.

2013/04/01

have followed the guide and got as far as running the script ,have made it excutable but when running iget
/Rockchip_dump_Linux# perl ./an10g2_dump.pl
./rkflashtool: 1: ./rkflashtool: ELF: not found
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 2: ./rkflashtool: '
'��: not found                 Â
./rkflashtool: 1: ./rkflashtool: Z��@: not found
./rkflashtool: 1: ./rkflashtool: +@: not found
./rkflashtool: 1: ./rkflashtool: @: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: 'ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 2: ./rkflashtool: CE���qX8��������: not found
./rkflashtool: 1: ./rkflashtool:
                                �: not found
ďż˝: not found: 1: ./rkflashtool:
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
: not foundol: 1: ./rkflashtool:
: not foundol: 1: ./rkflashtool: H�����H���5z
./rkflashtool: 3: ./rkflashtool: ďż˝
: not found                       ��������%2
./rkflashtool: 17: ./rkflashtool: Syntax error: ")" unexpected
Reading parameters...
Size of parameters is 0
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 1: ./rkflashtool: ELF: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 2: ./rkflashtool: '
'��: not found                 Â
./rkflashtool: 1: ./rkflashtool: Z��@: not found
./rkflashtool: 1: ./rkflashtool: +@: not found
./rkflashtool: 1: ./rkflashtool: @: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: 'ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 2: ./rkflashtool: CE���qX8��������: not found
./rkflashtool: 1: ./rkflashtool:
                                �: not found
ďż˝: not found: 1: ./rkflashtool:
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 1: ./rkflashtool: ./rkflashtool: 1: ./rkflashtool: H�����H���: not found
./rkflashtool: 3: ./rkflashtool: ďż˝
: not found                       ��������%2
./rkflashtool: 17: ./rkflashtool: Syntax error: ")" unexpected
./rkflashtool: 1: ./rkflashtool: ELF: not found
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 1: ./rkflashtool: Z��@: not found
./rkflashtool: 2: ./rkflashtool: '
'��: not found                 Â
./rkflashtool: 1: ./rkflashtool: +@: not found
./rkflashtool: 1: ./rkflashtool: @: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: 'ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 2: ./rkflashtool: CE���qX8��������: not found
./rkflashtool: 1: ./rkflashtool:
                                �: not found
ďż˝: not found: 1: ./rkflashtool:
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
: not foundol: 1: ./rkflashtool: H�����H���5z
: not foundol: 1: ./rkflashtool:
./rkflashtool: 3: ./rkflashtool: ďż˝
: not found                       ��������%2
./rkflashtool: 17: ./rkflashtool: Syntax error: ")" unexpected
./rkflashtool: 1: ./rkflashtool: ELF: not found
./rkflashtool: 1: ./rkflashtool: ./rkflashtool: 1: ./rkflashtool: ďż˝: not found: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 2: ./rkflashtool: ./rkflashtool: 1: ./rkflashtool: Z��@: not found
'
'��: not found
./rkflashtool: 1: ./rkflashtool: +@: not found
./rkflashtool: 1: ./rkflashtool: @: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: 'ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 2: ./rkflashtool: CE���qX8��������: not found
./rkflashtool: 1: ./rkflashtool:
                                �: not found
ďż˝: not found: 1: ./rkflashtool:
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
: not foundol: 1: ./rkflashtool:
: not foundol: 1: ./rkflashtool: H�����H���5z
./rkflashtool: 3: ./rkflashtool: ďż˝
: not found                       ��������%2
./rkflashtool: 17: ./rkflashtool: Syntax error: ")" unexpected
./rkflashtool: 1: ./rkflashtool: ./rkflashtool: 1: ./rkflashtool: ďż˝: not found
: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ELF: not found
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 2: ./rkflashtool: '
'��: not found                 Â
./rkflashtool: 1: ./rkflashtool: Z��@: not found
./rkflashtool: 1: ./rkflashtool: +@: not found
./rkflashtool: 1: ./rkflashtool: @: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: 'ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 2: ./rkflashtool: CE���qX8��������: not found
./rkflashtool: 1: ./rkflashtool:
                                �: not found
ďż˝: not found: 1: ./rkflashtool:
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
: not foundol: 1: ./rkflashtool:
: not foundol: 1: ./rkflashtool: H�����H���5z
./rkflashtool: 3: ./rkflashtool: ďż˝
: not found                       ��������%2
./rkflashtool: 17: ./rkflashtool: Syntax error: ")" unexpected
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 1: ./rkflashtool: ELF: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 2: ./rkflashtool: '
'��: not found                 Â
./rkflashtool: 1: ./rkflashtool: Z��@: not found
./rkflashtool: 1: ./rkflashtool: +@: not found
./rkflashtool: 1: ./rkflashtool: @: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: 'ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 2: ./rkflashtool: CE���qX8��������: not found
./rkflashtool: 1: ./rkflashtool:
                                �: not found
ďż˝: not found: 1: ./rkflashtool:
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
: not foundol: 1: ./rkflashtool:
: not foundol: 1: ./rkflashtool: H�����H���5z
./rkflashtool: 3: ./rkflashtool: ďż˝
: not found                       ��������%2
./rkflashtool: 17: ./rkflashtool: Syntax error: ")" unexpected
./rkflashtool: 1: ./rkflashtool: ./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
: not found./rkflashtool: 1: ./rkflashtool:
ELF: not found
./rkflashtool: 2: ./rkflashtool: '
'��: not found                 Â
./rkflashtool: 1: ./rkflashtool: Z��@: not found
./rkflashtool: 1: ./rkflashtool: +@: not found
./rkflashtool: 1: ./rkflashtool: @: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: 'ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
./rkflashtool: 2: ./rkflashtool: CE���qX8��������: not found
./rkflashtool: 1: ./rkflashtool:
                                �: not found
ďż˝: not found: 1: ./rkflashtool:
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: ďż˝: not found
./rkflashtool: 1: ./rkflashtool: : not found
: not foundol: 1: ./rkflashtool: ./rkflashtool: 1: ./rkflashtool:
: not found���5z
./rkflashtool: 3: ./rkflashtool: ďż˝
: not found                       ��������%2
./rkflashtool: 17: ./rkflashtool: Syntax error: ")" unexpected
CRC = 00000000
have tried whilst connected via usb and put in black screen and also tried whilst in recovery and also just in normal usb mode but same not found error(following thetutorial directed to thepart after it says grab a paperclip is missing so maybe im missing something am using ubuntu


Moderator

Firmware Guru
2012/01/05

you need to recompile the tools and use it on its own.

2013/04/01

these are the usb ids ??
first is just connected, second is flash mode black screen done by holding vol up then reset then release vol
Bus 001 Device 031: ID 18d1:4e21 Google Inc. Nexus S
Bus 001 Device 032: ID 0ac8:8820 Z-Star Microelectronics Corp.
any help as still showing nothing found??


Moderator

Firmware Guru
2012/01/05

as i said earlier, the tools that is provided in the first post is more intended for rk2918 chips, not on the new 3066 and 3188, for these new ones, you need to recompile
http://forum.xda-developers.com/showthread.php?t=1286305
As a starting point
The following users say thank you to globula_neagra for this useful post:
Bsoft2007Most Users Ever Online: 749
Currently Online:
111 Guest(s)
Currently Browsing this Page:
2 Guest(s)
Devices in use: Desktop (101), Phone (10)
Top Posters:
finless: 604
DarthJabba: 551
maikal: 394
mussonero1: 350
alex: 252
damo: 243
DanielVd: 237
Mark06: 222
Newest Members:
smalec
marek.test@gmail.com
MINIX2021
extendedtn
salimdz16
anonymunbekannter14
Forum Stats:
Groups: 10
Forums: 185
Topics: 6037
Posts: 60500
Member Stats:
Guest Posters: 43
Members: 262194
Moderators: 5
Admins: 1
Administrators: admin
Moderators: globula_neagra, exelletor, JochenKauz, Oma7144, cracktech
CrewRKTablets moderators: JochenKauz and Astralix