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

Search This thread

RedScorpioXDA

Senior Member
Apr 6, 2012
420
276
As far as I know, devices with RKNano have a completely different firmware structure. The utility was not designed for such devices and has never been tested with them (for lack of devices and desire).
Of course, I can try to make a test version. But I can't give any guarantees in any case.
 
  • Like
Reactions: Flareonz

Flareonz

New member
Nov 17, 2022
2
0
As far as I know, devices with RKNano have a completely different firmware structure. The utility was not designed for such devices and has never been tested with them (for lack of devices and desire).
Of course, I can try to make a test version. But I can't give any guarantees in any case.
Ok, anyway, I would like to test it. I found some programs for editing and uploading firmware files on those RKNano chips, but I'm not able to dump it, and most of the websites of the manufacturers are down (my chip is 10 years old at least) and therefore I don't have any manual, datasheet or firmware updates for that chip.
Any idea what can I do next?
thx
 

speedgamer21

New member
Jan 13, 2015
1
0
Hello, I am having problems with backing up the rom of my chinese knock-off MXQ pro 4k 5G TVBox (RK3228A Chip inside it) it always gives an error command read failed. I tried several Driver Assistant and verrsion of rkDumperr and still no luck
 
Last edited:

vjy9193

New member
Nov 24, 2022
2
0
Is there any way to get RK3566 working? I have tested every single DriverAssistant version, even on different PCs and systems (windows 10/11) without luck. Either there is a "Command to read failed" or "Can't open device """ or "Unknown command" error, despite the device being detected.

The device has a USB-Serial CH340 driver


Code:
==========================[ START ]==========================

        Detected OS:    Windows 8 Pro [build 9200] x64
        Real OS:        Windows 10 Pro [build 19045] x64
        -- Devices enumerating --

        USB devices table (found 9 devices):
        1       Device #0: USB Root Hub (ports: 25)
        1.2     Device #1: USB Hub (ports: 4)
                VID = 0x05e3, PID = 0x0610, REV = 0x6060 (USB 2.0)
        1.3     Device #2: USB Input Device
                VID = 0x046d, PID = 0xc077, REV = 0x7200 (USB 2.0 Low Speed)
        Driver version  = 10.0.19041.2251 (6-21-2006)
        1.7     Device #3: Rockusb Device
                VID = 0x2207, PID = 0x350a, REV = 0x0223 (USB 2.0)
        Driver version  = 5.11.0.0 (11-10-2020)
        1.8     Device #4: USB-SERIAL CH340
                VID = 0x1a86, PID = 0x7523, REV = 0x0264 (USB 1.1)
        Driver version  = 3.5.2019.1 (1-30-2019)
        1.9     Device #5: USB Composite Device
                VID = 0x046d, PID = 0xc31c, REV = 0x6400 (USB 1.1 Low Speed)
        Driver version  = 10.0.19041.1949 (6-21-2006)
        1.12    Device #6: USB Hub (ports: 4)
                VID = 0x14cd, PID = 0x8601, REV = 0x0000 (USB 2.0)
        1.12.4  Device #7: Silicon Labs CP210x USB to UART Bridge
                VID = 0x10c4, PID = 0xea60, REV = 0x0100 (USB 1.1)
        Driver version  = 6.7.4.261 (9-19-2016)
        1.13    Device #8: USB Composite Device
                VID = 0x0b05, PID = 0x19af, REV = 0x0100 (USB 2.0)
        Driver version  = 10.0.19041.1949 (6-21-2006)

        Found:  LOADER device (RK3566 2207:350a) #3
        Command to read failed

Idk why the detected OS is windows 8?

Program worked fine for me on another device with RK3288 chip.
 

RedScorpioXDA

Senior Member
Apr 6, 2012
420
276
"Command to read failed"
This error occurs if the drivers do not allow the utility to read the device memory.
"Can't open device """
This error occurs if the drivers are not installed.
Idk why the detected OS is windows 8?
This is how the Windows version responds to the request. In order to find out the real version of the OS, you have to use additional techniques.
Is there any way to get RK3566 working?
I can't answer for sure - I don't have such devices, but I did the opportunity for Russian users, there were no complaints
The device has a USB-Serial CH340 driver
And this - I didn't understand why it was necessary at all. Perhaps this is the reason.
 

vjy9193

New member
Nov 24, 2022
2
0
And this - I didn't understand why it was necessary at all. Perhaps this is the reason.
The device comes with the debug UART on the microUSB port. Without the CH341SER driver it is detected incorrectly as USB Serial in Windows and is unusable. ADB over USB seems to be not working, only way to detect the device for flashing (LOADER) is by entering the recovery with a USB A<->A cable plugged into one of the USB ports, but without recovery it is simply not detected at all in Windows.

Rockusb device
Code:
USB\VID_2207&PID_350A\62F759628C511243
USB\VID_2207&PID_350A&REV_0223

Is this really a driver issue though? I can read all the stuff correctly using RKDevTool v2.84 and DriverAssistant 5.1.1:
Code:
Get FlashInfo Start
Manufacturer:   SAMSUNG
Flash Size:     7456MB
Total Sector:   0xe90e80
Block Size:     512KB
Page Size:      2KB
ECC Bits:       0
Access Time:    40
Flash CS:       0
Get FlashInfo Success

Code:
Get ChipInfo Start
Chip Tag:   33 35 36 38
Image Chip Flag:    -RK3568
Get ChipInfo Success

Code:
Get Capability Start
Capability:     15 03 00 00 00 00 00 00
DirectLBA:      Enable
VendorStorage:  Disable
First4M:        Enable
ReadLBA:        Disable
ReadComLog:     Disable
ReadIDBConfig:  Disable
ReadSecureMode: Disable
NewIDB:         Enable
SwitchStorage:  Enable
Get Capability Success
 
Last edited:

drggong

New member
Nov 30, 2022
2
0
Hi, I was trying to make a back up using rkDumper 1.1.1.0 from RK3568 chip.
However, I configure with two problems.

1. Using RKDevTool - ReadChipInfo, it says that the chip Flag is RK3568.
But in the 'rkdumper.exe scan', with VID = 0x2207, PID = 0x350a, it says that the chip flag is RK3566.
Is it available to make a back up for RK3568 with RK3566 chip flag ?

2. When I tried to make a backup using 'rkdumper.exe dump', it showed ' Command to read Failed'.
I had seen some threads about this and I followed your solutions, for example; change USB ports and downgrade drivers, but it didn't work.
And for RK3568, when I downgraded the driver to DriverAssistant v4.4, it couldn't search RK3568.
It was only be searched by DriverAssistant v5.1.1 which was given by my vendors.
In this situation, how can I try 'rkdumper.exe dump' for RK3568?

I will be really thankful if you give me answers about these!
спасибо !


I will attach my log

// log
C:\rk\rkdumper>rkdumper.exe scan

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

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


updater
version 1.0.0.4

Copyright ⓒ RedScorpio, 2022
[email protected]


Name "rkdumper"
log = True
debug = True
ask = False
registry = ?

No updates
==========================[ START ]==========================

Detected OS: Windows 8 Pro [build 9200] x64
Real OS: Windows 10 Pro [build 19044] x64
-- Devices enumerating --

USB devices table (found 6 devices):
1 Device #0: USB Root Hub (ports: 4)
1.3 Device #1: USB Composite Device
VID = 0x045e, PID = 0x0810, REV = 0x0108 (USB 2.0)
2 Device #2: USB Root Hub (ports: 26)
2.5 Device #3: USB 입력 장치
VID = 0x046d, PID = 0xc077, REV = 0x7200 (USB 2.0 Low Speed)
2.6 Device #4: USB Composite Device
VID = 0x046d, PID = 0xc31d, REV = 0x6601 (USB 1.1 Low Speed)
2.11 Device #5: Rockusb Device
VID = 0x2207, PID = 0x350a, REV = 0x0223 (USB 2.0)

C:\rk\rkdumper>rkdumper.exe dump

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

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


updater
version 1.0.0.4

Copyright ⓒ RedScorpio, 2022
[email protected]


Name "rkdumper"
log = True
debug = True
ask = False
registry = ?

No updates
==========================[ START ]==========================

Detected OS: Windows 8 Pro [build 9200] x64
Real OS: Windows 10 Pro [build 19044] x64
-- Devices enumerating --

USB devices table (found 6 devices):
1 Device #0: USB Root Hub (ports: 4)
1.3 Device #1: USB Composite Device
VID = 0x045e, PID = 0x0810, REV = 0x0108 (USB 2.0)
2 Device #2: USB Root Hub (ports: 26)
2.5 Device #3: USB 입력 장치
VID = 0x046d, PID = 0xc077, REV = 0x7200 (USB 2.0 Low Speed)
2.6 Device #4: USB Composite Device
VID = 0x046d, PID = 0xc31d, REV = 0x6601 (USB 1.1 Low Speed)
2.11 Device #5: Rockusb Device
VID = 0x2207, PID = 0x350a, REV = 0x0223 (USB 2.0)

Found: LOADER device (RK3566 2207:350a) #5

--- Firmware dumping ---


Found LOADER Rockchip device

First 0x0010 NAND blocks reading

Command to read failed

-- Rockchip device resetting --

Found LOADER Rockchip device

Command to reset failed

C:\rk\rkdumper>
 

RedScorpioXDA

Senior Member
Apr 6, 2012
420
276
1. Using RKDevTool - ReadChipInfo, it says that the chip Flag is RK3568.
But in the 'rkdumper.exe scan', with VID = 0x2207, PID = 0x350a, it says that the chip flag is RK3566.
Is it available to make a back up for RK3568 with RK3566 chip flag ?
Yes, It doesn't matter
2. When I tried to make a backup using 'rkdumper.exe dump', it showed ' Command to read Failed'.
I had seen some threads about this and I followed your solutions, for example; change USB ports and downgrade drivers, but it didn't work.
And for RK3568, when I downgraded the driver to DriverAssistant v4.4, it couldn't search RK3568.
It was only be searched by DriverAssistant v5.1.1 which was given by my vendors.
In this situation, how can I try 'rkdumper.exe dump' for RK3568?
In this case, to downgrade the version, you need to do a little trick: register the VID/PID of your device in the old drivers. Unfortunately, I don't have devices with new processors for which the utility can't confidently read memory and I can't offer anything else.
If you have root rights for your device, then you can use adb to get a dump. Perhaps I'll take up writing a utility using this method (something like adbDumper)
 
  • Like
Reactions: drggong

drggong

New member
Nov 30, 2022
2
0
Yes, It doesn't matter

In this case, to downgrade the version, you need to do a little trick: register the VID/PID of your device in the old drivers. Unfortunately, I don't have devices with new processors for which the utility can't confidently read memory and I can't offer anything else.
If you have root rights for your device, then you can use adb to get a dump. Perhaps I'll take up writing a utility using this method (something like adbDumper)
Thanks for your kind reply.
How can I register the new VID/PID of RK3568 to the old drivers?
Can you explain me about this?
 

saad.akh

New member
Dec 7, 2022
1
0
Hi,
i am seeing the same exact issue for my RK3566 as the few others who have posted right above this. I was trying with the latest 5.1.1 driver, downgrading to 4.8 via driver assistant and will post results here.
 

RedScorpioXDA

Senior Member
Apr 6, 2012
420
276
How can I register the new VID/PID of RK3568 to the old drivers?
Can you explain me about this?
For example, drivers in DriverAssitant_v4.3.zip

Find the rockusb.inf file in the \DriverAssitant_v4.3\Driver\x{bits}\{OS} subdirectory
In the [Rockchip.NTx86] block and/or [Rockchip.NTamd64] block add a string(s) with your VID/PID
For example (for RK3588)
%Rockusb_DeviceDesc%=Rockusb_DDI, USB\VID_2207&PID_0x350b


PS. Guys, I don't have devices with modern RockChip chips. I can't test them and give specific advice. If you have root rights on your devices, try using adbDumper
 
  • Like
Reactions: marchnz

dbzdivik

Member
Feb 1, 2015
13
2
Hi @RedScorpioXDA And All

I'm in serious trouble. I'm having RK3288 rock chip-based Tablet running android OS 4.4.4. I had the original ROM out of which I tried to create Custom ROM, but now my device is not even booting up. I'm having only One power button and when I press nothing is happening.

Please can you help me out.
 

Dogshome

Member
Oct 27, 2021
14
0
VID = 0x2207, PID = 0x350b, REV = 0x0100 (USB 2.0) Rockusb device
Orange Pi 5, 8GB RAM RK3588S (SBC).
 

rmghrr

Member
Jul 15, 2021
8
1
RKDumper 1.1.1.0 unable to dump H96 MAX H1/H2 Colorful edition. Get below, Tried different drivers only DriverAssitant_v5.1.1 seems to be discovering the box but dump fails

Found: LOADER device (RK3318/RK3328/PX4 2207:320c) #1 --- Firmware dumping --- Found LOADER Rockchip device First 0x0010 NAND blocks reading Command to read failed -- Rockchip device resetting -- Found LOADER Rockchip device Command to reset failed
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hi All, are there plans to add the RK3588S?
    Who are you asking a question to?
  • 15
    rkDumper
    Utility for backup firmware of RockChip's devices


    Version 1.1.1.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:
    6
    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
    4
    This happens as a result of "unsure" reading.
    Try
    - change the cable (preferably short and thick)
    - exclude USB hubs (if used)
    - change the USB socket (preferably on the back of the computer)
    - change the USB version (2.0 instead of 3.0)
    - use a different computer

    No

    Hi @RedScorpioXDA,
    Thanks again for your reply.

    I have confirmed the issue is not hardware, the issue is rkdumper is incompatible with rockchip driver greater than 4.5 - 4.91 is latest as of writing.


    • By installing driver version 4.3. - Rockchip_DriverAssistant_v4.3 - was able to dump images with rkdumper v1.08.
    • Just to clarify - Rockchip Driver assistant version 4.5 on do not work with Rkdumper.

    This was first identified by @nalor in post 85 (thanks @nalor!) here: https://forum.xda-developers.com/showpost.php?p=78805354&postcount=85

    Would you please update your first post with this information - known bugs?
    2
    Hi! Just tried to backup my new Onyx Boox Poke Pro and failed at the beginning with the following message:

    Code:
            Found:  LOADER device (RK3288 2207:320a) #5
    
            --- Firmware dumping ---
    
    
            Found LOADER Rockchip device
    
            First 0x0010 NAND blocks reading
    
            Command to read failed
    
            -- Rockchip device resetting --
    
            Found LOADER Rockchip device
    
            Command to reset failed

    I'm using Windows 10 x64 as operating system.

    Finally I noticed the problem came from the used driver - I used the most recent 'Driver Assistant 4.7' directly from the github rockchip site and it's not working with this one.
    I tried all 'Driver Assistant 4.x' beginning with 4.1 and the backup is working without problems up to DriverAssistant 4.5 - but beginning with DriverAssistant 4.6 it's failing with the error message above.

    I don't know if this problem also occurs for other devices and or chipsets, but at least my device with the Rockchip RK3288 requires to downgrade to 'Driver Assistant 4.5' or lower.

    Maybe it would be a good idea to include the driver-version into the output of rkDumper?
    2
    rkDumper
    Utility for backup firmware of RockChip's devices


    New version (1.03 Windows) ready

    + support of RK3229 added;
    + /last key added;
    + RSCE file size correction added.