-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
I don't know if this is expected with this kind of quite old RK3188 images, but I get:
$ afptool -unpack update.img tmp/
Invalid header magic
UnPack failed
The same img is correctly unpacked by @naobsd's rkunpack
(https://github.com/naobsd/rkutils), which gives:
$ rkunpack input-update.img
VERSION:4.0.2
unpacking
0x00000000 input-update.img-HEAD 102 bytes
0x00000066 input-update.img-BOOT 201038 bytes
0x000311b4 input-update.img-update.img 719009796 bytes
unpacking input-update.img-update.img
================================================================================
FIRMWARE_VER:4.4.2
MACHINE_MODEL:rk3188
MACHINE_ID:007
MANUFACTURER:RK30SDK
unpacking 12 files
-------------------------------------------------------------------------------
0x00000800 package-file:package-file 600 bytes
0x00001000 bootloader:RK3188Loader(L)_V2.19.bin 201038 bytes
0x00032800 parameter:parameter:0x2000@0x0 617 bytes
0x00033000 misc:Image/misc.img:0x2000@0x2000 49152 bytes
0x0003f000 kernel:Image/kernel.img:0x6000@0x4000 8233008 bytes
0x00819800 boot:Image/boot.img:0x6000@0xa000 4693456 bytes
0x00c93800 recovery:Image/recovery.img:0x10000@0x10000 16187392 bytes
0x01c03800 system:Image/system.img:0x180000@0x282000 584753152 bytes
0x249ad800 oem:Image/oem.img:0x40000@0x402000 75497472 bytes
0x291ad800 backup:backupimage/backup.img:0x20000@0x20000 29378564 bytes
0x2adb2800 update-script:update-script 933 bytes
0x2adb3000 recover-script:recover-script 266 bytes
-------------------------------------------------------------------------------
================================================================================
0x2ade49b8 input-update.img-MD5 32 bytes
unpacked
Metadata
Metadata
Assignees
Labels
No labels