Hi, I am trying to back up my whole Rock Pi eMMC into an img file. It is running Armbian, so the official backup script does not work. I have tried. So, I think, why not just read the whole eMMC into an img file and compress that to eliminate the empty sectors? However, when I tried, it didn’t really back up the system itself.
Firstly, in Maskroom with rkdeveloptool I already faced with this issue
[ root ] < /home/iskandaralex2/RockPi4B+ > ❱❱❱ rkdeveloptool cs 1
Change Storage failed!
the eMMC itself is detected however
[ root ] < /home/iskandaralex2/RockPi4B+ > ❱❱❱ rkdeveloptool rfi
Flash Info:
Manufacturer: SAMSUNG, value=00
Flash Size: 59000 MB
Flash Size: 120832000 Sectors
Block Size: 512 KB
Page Size: 2 KB
ECC Bits: 0
Access Time: 40
Flash CS: Flash<0>
But the img file itself is NOT finished. It does have a bit of GPT headers and MBR but then it is just filled with 0xCC
[ root ] < /home/iskandaralex2/RockPi4B+ > ❱❱❱ hexdump -Cv ips2_backup_2025_11_07.img | grep -v "00 00 00 00 00 00 00 00" | head
000001c0 02 00 ee ff ff ff 01 00 00 00 ff bf 33 07 00 00 |............3...|
00000200 45 46 49 20 50 41 52 54 00 00 01 00 5c 00 00 00 |EFI PART....\...|
00000210 ee b3 8b d8 00 00 00 00 01 00 00 00 00 00 00 00 |................|
00000220 ff bf 33 07 00 00 00 00 22 00 00 00 00 00 00 00 |..3.....".......|
00000230 de bf 33 07 00 00 00 00 bb ad c8 1c ca f1 ad 4c |..3............L|
00000240 9b b1 49 e7 24 99 9d 35 02 00 00 00 00 00 00 00 |..I.$..5........|
00000250 80 00 00 00 80 00 00 00 64 a1 9a 34 00 00 00 00 |........d..4....|
00000400 af 3d c6 0f 83 84 72 47 8e 79 3d 69 d8 47 7d e4 |.=....rG.y=i.G}.|
00000410 de 86 d0 f0 4a ab 80 4e b3 0d 22 f1 cb 3e b8 31 |....J..N.."..>.1|
00000420 00 80 00 00 00 00 00 00 de bf 33 07 00 00 00 00 |..........3.....|