rkdeveloptool(1)
๐ธ rkdeveloptool(1) โ the rockusb bootloader utility, bestie edition ๐
okay so like, this is a General Commands Manual page for rkdeveloptool(1), and if you've ever got a Rockchip device chillin' in rockusb bootloader mode, this is your girl. she reads and writes storage. that's the whole vibe. โจ
โจ NAME โจ
rkdeveloptool โ rockusb bootloader utility ๐ฆ
๐ SYNOPSIS ๐
rkdeveloptool [OPTIONS] COMMAND [ARGS]...
COMMAND := {list | list-partitions | read | read-partition | write |
write-partition | write-partition-table | write-parameter | erase-flash
| boot | test-device | upgrade-loader | reset | reboot | reboot-maskrom
| shutdown | read-flash-id | read-flash-info | read-chip-info | read-
capability | pack | unpack | tag-spl }
OPTIONS := { -h | -v }
like... that's a LOT of commands, and she ate every single one ๐
๐ DESCRIPTION ๐
Reads or writes the storage of a rockchip device booted into the rockusb bootloader mode. that's it, that's the whole job description. no cap. ๐ฅ
โจ OPTIONS โจ
-h,--helpโ shows you the help message and then dips out ๐-v,--versionโ shows you the version number and also dips out. iconic behavior, honestly ๐ซถ
๐ COMMANDS ๐
okay bestie, buckle up, this is the main character section ๐
listโ shows all the connected devices. the vibe check of commands. ๐list-partitionsโ shows the GPT partition table entries... but only if a GPT table actually exists on the flash. no GPT, no entries, that's just how it is ๐read START-SECTOR NUM-BYTES FILENAMEโ reads the specified number of bytes starting from the sector offset, and drops them into the specified file. ๐read-partition PARTITION FILENAMEโ reads the contents of a named partition into a file. so cute, so simple ๐write START-SECTOR FILENAMEโ writes the contents of the file to the eMMC, starting at a specific sector. โ๏ธwrite-partition PARTITION FILENAMEโ writes the contents of the file into a named partition.write-partition-table DEFINITION-FILEโ writes a whole new GPT partition table block, with the partitions defined in a file. โจwrite-parameter ?โ not sure what this does ๐ literally the manpage says so, don't come for meerase-flashโ wipes the internal flash storage. gone. deleted. bye. โ ๏ธboot FILENAMEโ loads an image into ram and boots it. main character energy fr fr ๐test-deviceโ checks if there's a device attached in the ready state. are you there bestie? ๐upgrade-loader FILENAMEโ writes a brand new rockusb bootloader to the flash. glow-up time ๐reset [SUBCODE]โ resets the device. optionally you can pass a subcode, which is a number between0and5. ๐rebootโ reboots the device. this is literally just an alias forreset 0, iykykreboot-maskromโ resets the device and triggers maskrom mode. secret menu unlocked ๐ต๏ธshutdownโ resets the device without triggering a reboot. night night ๐ดread-flash-idโ reads the eMMC flash id. ๐read-flash-infoโ reads the flash chip specifications. the spec sheet moment ๐read-chip-infoโ reads the SoC info bytes. ๐งread-capabilityโ reads the permissions of the rockusb bootloader. what are you allowed to do, bestie? ๐packโ merges a boot image. ๐งณunpack [FILENAME]โ unpacks a boot image into the separate files. reverse uno card ๐tag-spl [TAG] [SPL-FILE]โ prepends the tag to the SPL-FILE and saves it asfilename.tag. ๐ท๏ธ
๐ธ EXAMPLES ๐ธ
Backup a partition of the device ๐พ
rkdeveloptool read-partition uboot uboot.img
Restore a partition of the device โป๏ธ
rkdeveloptool write-partition uboot uboot.img
Read the bootloader magic block from sector 64 ๐ฎ
rkdeveloptool read 64 512 bootloader-magic.bin
lowkey reminder bestie: erase-flash does NOT play. it wipes your internal flash storage. no takebacks. ๐จ
and that's the whole page, slay! this was rkdeveloptool, version dated 2024-06-19, from your friendly neighborhood rkdeveloptool manual. go forth and flash responsibly ๐โจ๐๐ฆ๐ธ๐
๐ซถ
๐ฆ where this page comes from
- debian trixie: rkdeveloptool 1.32+pine64git20240226.17823e9-1 ยท GPL-2.0-or-later
- ubuntu questing: rkdeveloptool 1.32+pine64git20240226.17823e9-1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms