View Single Post
Old 09-16-2022, 07:21 AM   #1
tinman1
Junior Member
tinman1 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2022
Device: pw4
Can OTA update package be modified?

Hi All,

I have been reading this forum for a few months now and it has been really useful for successfully jail breaking my Kindle so thanks very much for all your help.

I have been trying to modifying the OTA update packages available from amazon using KindleTool.

My Kindle has fw 5.11.2 and is jailbroken. I am trying to modify update_kindle_all_new_paperwhite_v2_5.13.7.bin.

So far I have extracted it using KindleTool and modified the rootfs.img.gz file. I then repacked it using the cmd:

./kindletool create recovery2 -c 0 -1 2048630901 -2 1897089723 -m 1 -p rex -b FB03 -d pw4lg imx6s11_rex/* rootfs.img.gz ../update_kindle_all_new_paperwhite_v2_5.13.7-mod.bin

I copy the .bin file to the Kindle root folder and reboot. The update fails with ERROR 4 and dmesg logs that the key length is incorrect (256 not 128). I have also tried it with the prod keys (-c 1 and -c 2) and with omitting the magic numbers and that also failed. I have also tried with 'Update Kindle' but that is always grayed out and also with MRPI.

Does anyone know if this is likely to be an error with my KindleTool args or if this is something that just can't be done on a PW4?
tinman1 is offline   Reply With Quote