RKDevTool manual: partitions, firmware and advanced operations
This section combines the 2018 Chinese/English V1.2 manuals with the 2021 Chinese V1.0 manual for tool 2.88. The numbering is not chronological: V1.2 is not the newer document. The package itself is a snapshot with 3.37 release notes. Chinese figures come from Chinese originals, other languages from the matching English original; 2021-only screens retain Chinese labels. All technical functions from both editions are covered below.
1. Create, import and export configuration
1.1 Create configuration from parameter
First confirm that parameter belongs to the current project. Right-click the empty download configuration area and select Import configuration. The following view shows the menu in tool 2.88.
In the file dialog select ParameterFile, then choose the project parameter file. The tool creates download entries from its partition table.
After import, remove unused entries, assign images to the remaining entries and select the target storage. Storage selection is optional with a single storage type. Bundled defaults may not match the project. The 2018 V1.2 import entry below uses different interface wording.
1.2 Export the configuration for reuse
When configuration is complete, right-click the download area and export it as ConfigFile. Import that file on the next run. V1.2 also describes replacing the tool directory’s config.cfg to load this configuration at startup.
1.3 Choose the startup configuration
Set DEFAULT_IMAGE_CONFIG in Config.ini to choose the file loaded at startup. Restart the tool after saving the change. The path in the figure is a source example; use the configuration location for your project.
2. Boot download versus Loader programming
2.1 Download Boot to memory only
Boot download in Maskrom runs the Loader’s DDR initialization and loads usbplug into DDR without writing device storage. Double-click Loader on the first row, select LoaderToDDR, check the entry and execute.
The 2018 V1.2 manual also provides an Advanced Function route: select the Boot file and click Download. This likewise loads Boot into memory.
V1.2 also offers LoaderToDDR in the download-list dropdown. Both routes perform the same kind of memory download. Before retrying, reboot the device and check DDR soldering, SoC, Loader compatibility and USB communication.
2.2 Program Loader persistently
For persistent programming select Loader on the first row, check it and execute. Maskrom and Loader modes are both accepted; the operation creates IDBlock and writes storage. In addition to DDR, SoC and USB, check flash support, soldering and the chip flag. Inspect USB for intermittent communication failures and the device side for repeatable failures.
3. Partition images and the device table
Connect in Loader/Maskrom, checking Loader for Maskrom. Select parameter for partition addresses/sizes, assign images and storage, select partitions and execute. Do not assume zero addresses are correct. V1.2 offers Device partition table to read, parse and load the existing device layout. Resolve missing/busy files, oversized images and USB errors separately.
V1.2 likewise requires checking each partition address. The figure shows the list for a Maskrom device. If addresses were not loaded correctly, select the project parameter file rather than using zero addresses. Use Device partition table to read, parse and load the existing layout when that is the intended layout.
4. Device modes and multiple devices
If detected as ADB, MSC, MTP or UVC, use Switch to enter Rockusb Loader or Maskrom before flashing. The figure uses an ADB device as its example.
If the device is already in Loader mode, use Enter Maskrom in Advanced Function. Recheck the displayed device state after switching.
The corresponding 2018 V1.2 entry is shown below; it also requires a device in Loader mode.
With several devices connected, select the target in the device dropdown before any subsequent operation. A detected-device message alone does not identify the intended write target.
5. Complete update.img upgrade
Select update.img, connect in Maskrom/Loader and click Upgrade. V1.2 says this interface also accepts Loader files. Check file availability, format/corruption, digest, packer version, partition size, chip flag and communication. Inspect cables for intermittent failures and the device side for repeatable failures.
The 2018 V1.2 upgrade interface is shown below. That edition also accepts a Loader file through Firmware; confirm whether the intended operation uses a full update.img or only Loader.
6. Force writing by address
Enable Force write by address, choose the file, enter the address and select the entry to execute. This bypasses normal partition addressing; verify the actual layout, rather than using it to bypass an incorrect or oversized image.
7. Erase storage
The 2021 manual requires Maskrom and a successful Boot download before erasure. Sector erasure lists only eMMC; full erasure lists emmc|nor|nand. The 2018 manual says Erase Flash covers all blocks, including system blocks preceding firmware. It can precede a retry after repeated upgrade failures, but destroys data. Do not assume newer command-line SPI-erasure support exists in this old GUI.
8. Read Chip information
Read Chip information; Image Chip Flag must match the flag used when packaging the Loader/firmware. On mismatch prepare the proper chip files.
The V1.2 output area also displays the chip flag. For a chip-check failure, compare this value with the firmware or Loader packaging configuration.
The source packaging example below highlights the chip field. It illustrates matching the packaged flag to the readout; do not copy the pictured chip value to a different board.
9. Multiple storage types
Download Boot in Maskrom and read the storage list: a check marks the current storage, a cross means unsupported, and a circle means supported. Select a circled entry and switch storage.
10. Unpack firmware
Unpacking uses output: boot.bin is the packaged Loader, firmware.img is the internal afptool firmware, and Android contains the expanded firmware.img. Source filenames are retained.
In V1.2, Unpack is in Advanced Function. Its output is for inspecting firmware contents; unpacking does not automatically flash a device.
11. GPT and capabilities
V1.2 accepts parameter or partition_table.img for GPT. When using parameter, first check that it contains TYPE:GPT.
The last partition needs the grow property to receive the remaining storage space. Retain the actual project addresses and names rather than copying the example layout.
After checking the partition description, select the corresponding parameter or GPT image in the download area. The figure shows the V1.2 selection.
Before downloading, inspect Read Capability. DirectLBA must be enabled; otherwise the tool reports GPT as unsupported. Force write by address does not remove this requirement.
12. Clear serial numbers and troubleshoot
12.1 Clear serial numbers
V1.2 Clear sn removes serial numbers written by the unified-library tool. The English manual further identifies SN/MAC in IDBlock sector3; establish which device information is intended to be cleared.
12.2 Missing download item
For a missing download item, check the image path of the named partition. The Chinese example names kernel; the English example reports a missing boot file. Follow the actual error message to locate the file.
12.3 Firmware loading failure
Check whether another program holds the firmware file, whether its format is correct and whether it is damaged. For a chip-check failure, return to Read Chip information and compare Image Chip Flag with the Loader/firmware packaging flag.
12.4 Download or verification failure
- Boot download failure: check DDR soldering, SoC and Loader compatibility, and USB; reboot before retrying.
- Firmware or partition download failure: the Chinese manual recommends updating Rockusb and the tool; the English edition also calls out the tool and Loader. Try a shielded cable and a rear PC port, and inspect flash support, soldering and damage.
- Verification failure: confirm that the parameter partitions can hold their images, then check flash mapping and DDR stability. The source suggests erasing before retrying when needed, which requires evaluating data loss first.
12.5 GPT writing not supported
For the message shown below, use Read Capability to confirm that DirectLBA is enabled, then check the project GPT configuration.
12.6 Paths, permissions and configuration changes
Use an English-only tool path on non-Chinese systems. English V1.2 requires an administrator account; the Chinese edition specifically names Windows 7/Vista. Restart the tool after changing Config.ini.
Additional Chinese/English V1.2 differences
English erasure instructions first select update.img or loader.bin with Firmware, connect in Maskrom/Loader and click EraseFlash; the 2021 Chinese manual explicitly requires Maskrom and a prior Boot download. Follow the actual version. English Clear sn specifies SN/MAC in IDBlock sector3, whereas Chinese describes serial numbers from the unified-library tool. English download-failure advice updates the tool and Loader; Chinese updates Rockusb and the tool, so check both. English requires an administrator account; Chinese specifically names Win7/Vista.
Applicability and verification
This is a documentation-based workflow for the supplied tool collection. Confirm the exact board, SoC, carrier, SDK/BSP and host architecture before using it. No flashing, provisioning, register writes or hardware tests were performed. Package availability does not establish support for every ArmSoM product.
GitHub tool directory, versions and SHA-256
Open the matching GitHub directory, select the required host/version, then verify the file hash and extract the full directory. Links below open repository directories.
Open the tool directory on GitHub
| Platform / version | File | SHA-256 |
|---|---|---|
| Windows / 3.37 release notes | RKDevTool-windows-directory-snapshot.zip |
d453bd22c00141f12ef39469629d478aa61304763bdb2977288d6f019a74f20c |
GitHub · catalog.json · SHA256SUMS
Source documents and figures
- RKDevTool_manual_v1.2_cn.pdf
- RKDevTool_manual_v1.2_en.pdf
- 开发工具使用说明_v1.0.pdf
Continue with the related workflow
- Rockchip Storage Application Guide: Flash, Boot Flow, Partitions, Programming and Vendor Storage
- DriverAssitant 5.13: install Rockusb and ADB drivers on Windows
- upgrade_tool download: command-line Rockchip firmware workflow
- Rockchip tool download and workflow index
Find the correct ArmSoM board documentation
For board and carrier requirements, use the product manual first. The links below are platform references, not a statement that this archived tool has been validated on these products.
ArmSoM Docs · Sige7 / Docs · CM5 / Docs
