[TOOL] rkDumper (utility for backup firmware of RockChip's devices)

Search This thread

RedScorpioXDA

Senior Member
Apr 6, 2012
386
259
rkDumper
Utility for backup firmware of RockChip's devices


Version 1.1.0.0 Windows

1. Makes dump of NAND by partitions according "parameter" information (RKFW/RKAF formats)
2. Creates config.cfg for RKAndroidTool (1.xx, 2.xx)

Notes:
1. All drivers must be installed
2. Administrator rights are required


Known bugs:
-
Old versions:
 

Attachments

  • rkDumper_1.1.0.0.zip
    68.7 KB · Views: 88
Last edited:

RedScorpioXDA

Senior Member
Apr 6, 2012
386
259
Tested on:
WinXP (32), WinVista (32), Win7 (32/64), Win10 (64)

0bb4:2910 MSC device (USB debug off)
0bb4:0c02 MSC device (USB debug on)

2207:0000 MSC device (USB debug off)
2207:0010 MSC device (USB debug on)

2207:350A RK3566 x88 Pro
2207:330D RK3308/RK3326/RK3388/PX30 Evoo EV-A-81-8-1
2207:330C RK3399/PX6 CSA96
2207:330A RK3368/PX5 Artway X6/HCT MTCD (Car head unit) SOM
2207:320C RK3318/RK3328/PX4 A5X Plus mini
2207:320B RK3229 MXQ 4K
2207:320A RK3288 Jesurun T034
2207:310D RK3126 Proscan PLT9650G
2207:310C RK3128 CS918-rk3128
2207:310B RK3188/PX3 PIPO Max M9 Pro
2207:301A RK3036 Wecast E8
2207:300B RK3168 Starmobile Engage7+
2207:300A RK3066/PX2 UG802
2207:292C RK3026/RK3028 ONYX BOOX C67SML COLUMBUS/?
2207:292A RK2928 Lexibook Tablet Master 2
2207:290A RK2906 TeXeT TB-138
2207:281A RK2818 ChinaLeap M3


If you have another Rockchip SoC send me result of "rkDumper scan" and name of device. I'II send you personal version for test
 
Last edited:

RedScorpioXDA

Senior Member
Apr 6, 2012
386
259
rkDumper
Utility for backup firmware of RockChip's devices


New version (0.92 Windows) ready

! pre-Release #2;
~ "4GB" bug fixed;
+ support of "USB debug on" mode added;
+ support of RK3026 added;
+ support of RK2906 added;
+ support of VID=0bb4 (HTC? Rockchip devices) added.
 
  • Like
Reactions: NEOCRIVI

nevoz

Member
Aug 10, 2010
14
2
Hello,

I have run your utility, but the file sizes of the output differ compared to when I use rktool 2.1 (with finless instructions).

Here's the scan..

Code:
C:\temp\1>rkDumper.exe scan

        rkDumper (version 0.92)
        Utility for Rockchip's firmware backup

        (c) RedScorpio, Moscow, 2014
            [email protected]

        ==========================[ START ]==========================

        -- Devices emumerating --

        Devices table (found 8 USB devices):
        1       Device #0: USB Root Hub
        2       Device #1: USB Root Hub
        3       Device #2: USB Root Hub
        4       Device #3: USB Root Hub
        4.1     Device #4: BT-253
                VID = 0x0b05, PID = 0xb700
        5       Device #5: USB Root Hub
        5.2     Device #6: USB Composite Device
                VID = 0x2207, PID = 0x0010
                        Disk    #1
        5.8     Device #7: USB Composite Device
                VID = 0x04f2, PID = 0xb071

        ==========================[ STOP  ]==========================

Thank you.
 

wertzPH

Senior Member
May 27, 2012
166
28
here's is mine.

C:\RKDumper>rkdumper scan

rkDumper (version 0.92)
Utility for Rockchip's firmware backup

(c) RedScorpio, Moscow, 2014
[email protected]

==========================[ START ]==========================

-- Devices emumerating --

Devices table (found 7 USB devices):
1 Device #0: USB Root Hub
1.1 Device #1: USB Hub
VID = 0x8087, PID = 0x0024
1.1.1 Device #2: XBOX 360 Controller For Windows
VID = 0x045e, PID = 0x028e
1.1.2 Device #3: Rockusb Device
VID = 0x2207, PID = 0x300b
1.1.4 Device #4: USB Composite Device
VID = 0x09da, PID = 0x90a0
2 Device #5: USB Root Hub
2.1 Device #6: USB Hub
VID = 0x8087, PID = 0x0024

==========================[ STOP ]==========================
 
  • Like
Reactions: dijitalxyz

wertzPH

Senior Member
May 27, 2012
166
28

Attachments

  • 10559715_258587021003849_4518843307206375466_n.jpg
    10559715_258587021003849_4518843307206375466_n.jpg
    31.2 KB · Views: 3,758
  • Like
Reactions: RedScorpioXDA

RedScorpioXDA

Senior Member
Apr 6, 2012
386
259
rkDumper
Utility for backup firmware of RockChip's devices


New version (0.93 Windows) ready

! pre-Release #3;
+ support of RK3168 added;
+ administrator's rights checking added.
 

niabi

Senior Member
May 3, 2008
229
32
rkDumper (version 0.93)
Utility for Rockchip's firmware backup

(c) RedScorpio, Moscow, 2014
RedScorp[email protected]

==========================[ START ]==========================

-- Devices enumerating --

Devices table (found 10 USB devices):
1 Device #0: USB Root Hub
1.1 Device #1: USB Composite Device
VID = 0x045e, PID = 0x00db
1.2 Device #2: USB Input Device
VID = 0x046d, PID = 0xc05a
2 Device #3: USB Root Hub
3 Device #4: USB Root Hub
3.5 Device #5: Rockusb Device
VID = 0x2207, PID = 0x292c
4 Device #6: USB Root Hub
5 Device #7: USB Root Hub
6 Device #8: USB Root Hub
7 Device #9: USB Root Hub

==========================[ STOP ]==========================


this is mine, and when I try to do "dump" I get:

rkDumper (version 0.93)
Utility for Rockchip's firmware backup

(c) RedScorpio, Moscow, 2014
[email protected]

==========================[ START ]==========================

--- Firmware dumping ---

The utility requires administrator rights

==========================[ STOP ]==========================

I am an administrator, and the device is a RK3026

also, is there a way to dump the loader of these tablets?

Thanks
 

nalor

New member
May 14, 2009
3
1
Kudos to RedScorpio!

Great work RedScorpio!
It never hasn't be that easy to create a dump for rockchip devices!

But I still see some room for improvements and also have some questions:
Can I create a full dump of a device including the user partition? I appreciate to create full dumps - so I can play with my devicesm flash different firmwares and finally I'm able to restore everything to the former state - in case it's not possible to create a full dump at the moment it would be great if you could add it!

Another great addition would be if you could simplify the installation of the drivers in windows 8.1 - please take a look at this post: http://forum.xda-developers.com/showpost.php?p=55529498&postcount=56

Basically Microsoft decided to change the behaviour of the usb stack in windows 8.1 and so it's not possible to install the rockchip driver that easily - you need to figure out 3 details of your device and create an exception-rule in the windows registry so your device is handled as it has been with the previous usb stack.
To create this registry key you'll need VID, PID and REV from the usb device - maybe you can display REV also in your output of 'scan' ? (windows device manager don't even display those details...)
Finally it would be great if you could create this registry key automatically (or with another command) in case you notice that the os is windows 8.1 and the device isn't recognized properly - in my case I'll get the following output when I connect my rockchip device without the registry entry:

C:\Users\roland\Desktop\Rockchip Tools\rkDumper_093>rkDumper.exe scan

rkDumper (version 0.93)
Utility for Rockchip's firmware backup

(c) RedScorpio, Moscow, 2014
[email protected]

==========================[ START ]==========================

-- Devices enumerating --

Devices table (found 11 USB devices):
1 Device #0: USB Root Hub
1.1 Device #1: USB Hub
VID = 0x8087, PID = 0x8009
2 Device #2: USB Root Hub
2.4 Device #3: USB Hub
VID = 0x0424, PID = 0x2514
2.4.1 Device #4: USB-Eingabegerät
VID = 0x1bcf, PID = 0x0005
2.4.2 Device #5: USB-Verbundgerät
VID = 0x045e, PID = 0x00db
2.11 Device #6: Unbekanntes USB-Gerät (Fehler beim Anfordern einer Gerätebeschreibung.)
VID = 0x2207, PID = 0x290a

2.14 Device #7: USB-Verbundgerät
VID = 0x041e, PID = 0x30df
2.15 Device #8:
3 Device #9: USB Root Hub
3.1 Device #10: USB Hub
VID = 0x8087, PID = 0x8001

==========================[ STOP ]==========================


I've also attached my debug-log so you can check how to identify a blocked device - the hardware id is displayed as 'USB\DEVICE_DESCRIPTOR_FAILURE' in device manager in windows.

After creating the registry key as explained in the linked post above everything is working fine in windows 8.1, the drivers get installed and I can create a dump with your tool :good:

Finally it would great if you could add an automatic request for administrative permissions in your application - I think this would simplify the execution a little bit more.

Keep up the good work!
 

Attachments

  • rkDumper.txt
    27.2 KB · Views: 629

RedScorpioXDA

Senior Member
Apr 6, 2012
386
259
Can I create a full dump of a device including the user partition?
I still can't find a simple method of determining the full size of the NAND (it need to count user partition size)

To create this registry key you'll need VID, PID and REV from the usb device - maybe you can display REV also in your output of 'scan' ?
I have used USB_DEVICE_DESCRIPTOR for detection VID and PID:
Code:
typedef struct _USB_DEVICE_DESCRIPTOR {
  UCHAR  bLength;
  UCHAR  bDescriptorType;
  USHORT bcdUSB;
  UCHAR  bDeviceClass;
  UCHAR  bDeviceSubClass;
  UCHAR  bDeviceProtocol;
  UCHAR  bMaxPacketSize0;
  USHORT idVendor;
  USHORT idProduct;
  USHORT bcdDevice;
  UCHAR  iManufacturer;
  UCHAR  iProduct;
  UCHAR  iSerialNumber;
  UCHAR  bNumConfigurations;
} USB_DEVICE_DESCRIPTOR, *PUSB_DEVICE_DESCRIPTOR;
So what is revision in this structure?

Finally it would great if you could add an automatic request for administrative permissions in your application

Sorry, I'm not a programmer. I can't find example for C (CodeBlocks + gcc)
 
Last edited:

RedScorpioXDA

Senior Member
Apr 6, 2012
386
259
rkDumper
Utility for backup firmware of RockChip's devices


New version (0.94 Windows) ready

! pre-Release #4;
+ support of RK3288 added;
+ manifest file added;
+ detection of device revision added;
~ administrator's rights checking algorithm changed.
 

RedScorpioXDA

Senior Member
Apr 6, 2012
386
259
rkDumper
Utility for backup firmware of RockChip's devices


New version (0.95 Windows) ready

! pre-Release #5;
+ support of RK3128 added;
+ /user key added;
+ ROM size/vendor/ID determinetion added ("info" command);
~ bug of incorrect determination of disks in multi-CD systems fixed.
 
Last edited:

RedScorpioXDA

Senior Member
Apr 6, 2012
386
259
rkDumper
Utility for backup firmware of RockChip's devices


New version (1.00 Windows) ready

! Release;
+ /incl key added;
+ /excl key added;
~ some algorithms improved.
 

Top Liked Posts