Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-15-2025, 04:54 AM   #1
Limao
Member
Limao began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2025
Device: kpw6
kpw6 5.17.1.0.4 Lost OTA binaries

Recently I've tried disabling ota updates.
The whole process was successful through renaming ota binary files

#!/bin/sh
mntroot rw
rm /mnt/us/update*.bin
cd /usr/bin
mv otaupd otaupd.bck
mv otav3 otav3.bck

echo "#!/bin/sh" > /usr/bin/otav3
echo "/bin/true" >> /usr/bin/otav3
echo "#!/bin/sh" > /usr/bin/otaupd
echo "/bin/true" >> /usr/bin/otaupd
chmod 755 /usr/bin/otav3 /usr/bin/otaupd

mntroot ro
reboot

Run the above code I don't know what went wrong
Unfortunately, I have no other access to these two essential files that I have only one kindle.
Can somebody send me the original ota binaries?I would appreciate it very much if you can help me.

OTA files:
otav3 at /usr/bin/otav3
otaupd at /usr/bin/otaupd

kpw6 5.17.1.0.4 thanks!!!
Limao is offline   Reply With Quote
Old 01-15-2025, 05:13 AM   #2
Limao
Member
Limao began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2025
Device: kpw6
I want to update hotfix through bin file
Even after restoring the OTA file, it cannot be updated
So I'm sure there's a problem with the OTA file
Limao is offline   Reply With Quote
Old 01-15-2025, 08:38 AM   #3
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,499
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Where did you get those echo commands? They seem wrong.

The only way you could’ve lost your files is if you did rm command instead of mv, or moved them somewhere else.

Anyway, to restore your files, now you need to apply current firmware for your Kindle, then do two restarts in a row and apply current hotfix as an update again.

Then block the OTA updates using renameotabin as suggested in WinterBeeak instructions only: https://kindlemodding.org/jailbreaki...ak/disable-ota
Do not do anything manual if you don’t know what you are doing.
Otherwise you risk to brick your Kindle for good!!
mergen3107 is offline   Reply With Quote
Old 01-15-2025, 09:26 AM   #4
Limao
Member
Limao began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2025
Device: kpw6
Quote:
Originally Posted by mergen3107 View Post
Where did you get those echo commands? They seem wrong.

The only way you could’ve lost your files is if you did rm command instead of mv, or moved them somewhere else.

Anyway, to restore your files, now you need to apply current firmware for your Kindle, then do two restarts in a row and apply current hotfix as an update again.

Then block the OTA updates using renameotabin as suggested in WinterBeeak instructions only: https://kindlemodding.org/jailbreaki...ak/disable-ota
Do not do anything manual if you don’t know what you are doing.
Otherwise you risk to brick your Kindle for good!!
Thank you very much!
I understand. I didn't change any files manually. I think this plugin changed the ota file, and even though I chose unblock(same as the renameota-Restore code), the machine restarted successfully. But now the update system option will not light up, so I dare not reset. I'd like to recover the ota files first to see what's going on.
Limao is offline   Reply With Quote
Old 01-15-2025, 10:30 AM   #5
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,499
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Then follow my instructions above.

There is no other way to know what exactly you did wrong.
There is also now way the “plugin will OTA files” in any other way than written out in the scripts.
mergen3107 is offline   Reply With Quote
Old 01-15-2025, 10:42 AM   #6
Limao
Member
Limao began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2025
Device: kpw6
Quote:
Originally Posted by mergen3107 View Post
Then follow my instructions above.

There is no other way to know what exactly you did wrong.
There is also now way the “plugin will OTA files” in any other way than written out in the scripts.
I copied the firmware. But there is no update option
Limao is offline   Reply With Quote
Old 01-15-2025, 10:55 AM   #7
Limao
Member
Limao began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2025
Device: kpw6
It's midnight here. I'm going to bed. I hope I wake up tomorrow with good news and those two files I can replace
Limao is offline   Reply With Quote
Old 01-15-2025, 11:29 AM   #8
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,499
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Quote:
Originally Posted by Limao View Post
I copied the firmware. But there is no update option
In that case, your main option is to factory reset and start over with JailBreak.

Otherwise, install usbnetlite and go figure where did your OTA packages went from /usr/bin/
mergen3107 is offline   Reply With Quote
Old 01-15-2025, 11:37 AM   #9
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,730
Karma: 103020299
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by mergen3107 View Post
In that case, your main option is to factory reset and start over with JailBreak.

Otherwise, install usbnetlite and go figure where did your OTA packages went from /usr/bin/
I think that maybe Limao doesn't realize that the *.bck files can be renamed to their original names.
j.p.s is online now   Reply With Quote
Old 01-15-2025, 11:57 AM   #10
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,499
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Quote:
Originally Posted by j.p.s View Post
I think that maybe Limao doesn't realize that the *.bck files can be renamed to their original names.
If this was the case, then “Restore OTA” would have worked.

@Limao
Another option is to put your firmware in the storage, then without disconnecting the cable from Kindle make it restart. This will force install the update (credits go to @shamanNS)
mergen3107 is offline   Reply With Quote
Old 01-15-2025, 12:02 PM   #11
Limao
Member
Limao began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2025
Device: kpw6
First of all, thank you both for your replies @mergen3107 @j.p.s
Limao is offline   Reply With Quote
Old 01-15-2025, 12:22 PM   #12
Limao
Member
Limao began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2025
Device: kpw6
I couldn't sleep, so I decided to fix it. Thanks @mergen3107 for the solution.
Although after copying the firmware file, the update system option does not pop up. But I saw after the reboot that the system was being updated.
kual cannot be opened after update. I went ahead and rebooted it twice and it still wouldn't open
I ran runhotfix, and after a restart kual wouldn't open, but kft appeared, so I reinstalled kual. And then everything came back. Finally, I installed hot fix1.13 and ran rename. This time, I observed that the ota file only changed its name, not its size.
Below is the original ota file of kpw6 5.17.1.0.4.
Attached Files
File Type: zip ota.zip (62.7 KB, 113 views)
Limao is offline   Reply With Quote
Old 01-15-2025, 12:27 PM   #13
Limao
Member
Limao began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2025
Device: kpw6
My English is not good so I use the translation software. My problem is perfectly solved, thank you very much @mergen3107 for replying to me. This post can be closed (please manage the operation)
Limao is offline   Reply With Quote
Old 01-15-2025, 12:28 PM   #14
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,730
Karma: 103020299
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by mergen3107 View Post
If this was the case, then “Restore OTA” would have worked.

@Limao
Another option is to put your firmware in the storage, then without disconnecting the cable from Kindle make it restart. This will force install the update (credits go to @shamanNS)
And another option is to use kindletool to extract the root file system from the firmware file then mount that to get a copy of any kindle binary you like.
j.p.s is online now   Reply With Quote
Old 01-15-2025, 12:33 PM   #15
Limao
Member
Limao began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2025
Device: kpw6
Quote:
Originally Posted by j.p.s View Post
And another option is to use kindletool to extract the root file system from the firmware file then mount that to get a copy of any kindle binary you like.
Yes, I saw it on the forum, but I only have my phone and kpw6. The software needed a computer, so I had to ask for help
Limao is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Block OTA by removing ota related binaries Hzj_jie Kindle Developer's Corner 111 02-01-2025 03:23 PM
Hacks Kindle11th - Is it safe to connect to Wi-Fi after renaming OTA binaries? myrxhw Amazon Kindle 3 04-14-2024 06:19 AM
PW3 Lost OTA binaries a1732613278 Kindle Developer's Corner 4 09-11-2022 10:24 PM
PW4 5.13.2 -> 5.13.5 jailbreak lost after OTA update easyrider Kindle Developer's Corner 2 06-07-2021 02:20 PM
Silent OTA update. Jailbreak lost in KT3(B) MrKobayashi Kindle Developer's Corner 10 08-10-2017 04:52 PM


All times are GMT -4. The time now is 11:40 AM.


MobileRead.com is a privately owned, operated and funded community.