Open danielweck opened 2 years ago
Note that the non-working ones are not gzipped, whereas the older working ones require gunzip --decompress --suffix=.BIN SWUPDATE.BIN && mv SWUPDATE SWUPDATE.BIN
beforehand.
Original documentation: https://www.synacktiv.com/en/publications/e-ink-maiden-bring-your-reader-to-the-reverser.html
@KOLANICH I successfully tested your PR :) https://github.com/Synacktiv-contrib/stuffz/pull/4 ( https://github.com/KOLANICH/Synacktiv_stuffz/tree/pocketbook_fixes )
sw_20211018_U740_6.5.765_user.zip
(see info in my original post above):INFO:
Update magic: b'PocketBookUpdate'
Update Model: PocketBook740
Update revision: U740.6.5.76
Update md5 hash: b'c836f5b648c6838d35739a56a1bf9b97'
Update signature: b'0272e73427a3a7e406f425017f230924b3637386db0672b744b552629cb142a1d458ee8138ef0605ad2811be79bb6c48a6677ae29433a99c68f014e0dc647e6100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
Partition table:
offset 0x0 size 0x3ff type PartTypeEnum.a_img
offset 0x10000 size 0xc169e type PartTypeEnum.swupdate_tar_gz
offset 0xe0000 size 0x63ea type PartTypeEnum.elf_megadog_img
offset 0xf0000 size 0xa8000 type PartTypeEnum.uboot_loader
offset 0x1a0000 size 0x354678 type PartTypeEnum.kernel_img
offset 0x500000 size 0x420000 type PartTypeEnum.updatefs_cramfs
offset 0x920000 size 0xa8000 type PartTypeEnum.uboot_loader_too
offset 0x9d0000 size 0x124b9 type PartTypeEnum.elf_megadog_img
offset 0x9f0000 size 0x57e7f3 type PartTypeEnum.rootfs_img
offset 0xf70000 size 0xdd27aab type PartTypeEnum.ebrmain_img
offset 0xeca0000 size 0xf408c type PartTypeEnum.elf_megadog_img
offset 0xeda0000 size 0x516a800 type PartTypeEnum.dragon_tar
offset 0x13f10000 size 0x1ebeb8 type PartTypeEnum.elf_megadog_img
offset 0x0 size 0x0 type PartTypeEnum.empty
Checking hashes
Header hash: b'c836f5b648c6838d35739a56a1bf9b97'
Calc hash: c836f5b648c6838d35739a56a1bf9b97
DUMP:
Dumping section of type PartTypeEnum.a_img size 0x3ff offset 0
Dumping section of type PartTypeEnum.swupdate_tar_gz size 0xc169e offset 10000
Dumping section of type PartTypeEnum.elf_megadog_img size 0x63ea offset e0000
Dumping section of type PartTypeEnum.uboot_loader size 0xa8000 offset f0000
Dumping section of type PartTypeEnum.kernel_img size 0x354678 offset 1a0000
Dumping section of type PartTypeEnum.updatefs_cramfs size 0x420000 offset 500000
Dumping section of type PartTypeEnum.uboot_loader_too size 0xa8000 offset 920000
Dumping section of type PartTypeEnum.elf_megadog_img size 0x124b9 offset 9d0000
Dumping section of type PartTypeEnum.rootfs_img size 0x57e7f3 offset 9f0000
Dumping section of type PartTypeEnum.ebrmain_img size 0xdd27aab offset f70000
Dumping section of type PartTypeEnum.elf_megadog_img size 0xf408c offset eca0000
Dumping section of type PartTypeEnum.dragon_tar size 0x516a800 offset eda0000
Dumping section of type PartTypeEnum.elf_megadog_img size 0x1ebeb8 offset 13f10000
sw_20201127_U740_6.1.1229_user.zip
(see info in my original post above):INFO:
Update magic: b'PocketBookUpdate'
Update Model: PocketBook740
Update revision: U740.6.1.12
Update md5 hash: b'327cdfb9afd57b013e7f2906f3e73948'
Update signature: b'9e8865c17e9dc1c4ab9874fa7a6b97323bdffb4888af09784febc153a16f77de4b355639ce828f7881063a3665db19d198dfcada41d34beb1cbf8917b3c546ce00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
Partition table:
offset 0x0 size 0x3ff type PartTypeEnum.a_img
offset 0x10000 size 0xc0eae type PartTypeEnum.swupdate_tar_gz
offset 0xe0000 size 0x6459 type PartTypeEnum.elf_megadog_img
offset 0xf0000 size 0xa4000 type PartTypeEnum.uboot_loader
offset 0x1a0000 size 0x353438 type PartTypeEnum.kernel_img
offset 0x500000 size 0x41d000 type PartTypeEnum.updatefs_cramfs
offset 0x920000 size 0xa4000 type PartTypeEnum.uboot_loader_too
offset 0x9d0000 size 0x1f18f type PartTypeEnum.elf_megadog_img
offset 0x9f0000 size 0x57d26a type PartTypeEnum.rootfs_img
offset 0xf70000 size 0xb80f678 type PartTypeEnum.ebrmain_img
offset 0xc780000 size 0xf3728 type PartTypeEnum.elf_megadog_img
offset 0xc880000 size 0x4da8000 type PartTypeEnum.dragon_tar
offset 0x11630000 size 0x1ebd6d type PartTypeEnum.elf_megadog_img
offset 0x0 size 0x0 type PartTypeEnum.empty
Checking hashes
Header hash: b'327cdfb9afd57b013e7f2906f3e73948'
Calc hash: 327cdfb9afd57b013e7f2906f3e73948
DUMP:
Dumping section of type PartTypeEnum.a_img size 0x3ff offset 0
Dumping section of type PartTypeEnum.swupdate_tar_gz size 0xc0eae offset 10000
Dumping section of type PartTypeEnum.elf_megadog_img size 0x6459 offset e0000
Dumping section of type PartTypeEnum.uboot_loader size 0xa4000 offset f0000
Dumping section of type PartTypeEnum.kernel_img size 0x353438 offset 1a0000
Dumping section of type PartTypeEnum.updatefs_cramfs size 0x41d000 offset 500000
Dumping section of type PartTypeEnum.uboot_loader_too size 0xa4000 offset 920000
Dumping section of type PartTypeEnum.elf_megadog_img size 0x1f18f offset 9d0000
Dumping section of type PartTypeEnum.rootfs_img size 0x57d26a offset 9f0000
Dumping section of type PartTypeEnum.ebrmain_img size 0xb80f678 offset f70000
Dumping section of type PartTypeEnum.elf_megadog_img size 0xf3728 offset c780000
Dumping section of type PartTypeEnum.dragon_tar size 0x4da8000 offset c880000
Dumping section of type PartTypeEnum.elf_megadog_img size 0x1ebd6d offset 11630000
Working
sw_20190521_U840_5.20.706_user.zip
andsw_20161017_840_U_5.15_172_5.12_all_in_one_qt5_gdb_pn_user.zip
INFO:
and
DUMP:
and
Failing
sw_20201127_U740_6.1.1229_user.zip
andsw_20211018_U740_6.5.765_user.zip