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 05-05-2025, 06:45 PM   #61
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,708
Karma: 168959600
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
When I tried installing the updated v2.0, it gives me a JSON error. In the migrate code, it seems as the "if" line has issues. I think it was just a missing comma but not totally certain.

Code:
{
	"name": "== Migrate from renameotabin ==",
	"if": "\"/usr/bin/otaupd.bck\" -f \"/usr/bin/otav3.bck\" -f &&",
	"action": "./bin/binaryrenamer.sh",
	"params": "migrate_to_binaryrenamer",
	"checked": true,
	"exitmenu": false,
	"refresh": true
	},

Last edited by DNSB; 05-05-2025 at 06:49 PM.
DNSB is offline   Reply With Quote
Old 05-05-2025, 06:47 PM   #62
juliazero
Trans girl (she/her)
juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40
 
juliazero's Avatar
 
Posts: 72
Karma: 73380
Join Date: Nov 2023
Device: KOA3 5.13.6 JB
Yes, sorry about this. Works now

Last edited by juliazero; 05-05-2025 at 07:00 PM.
juliazero is offline   Reply With Quote
Advert
Old 05-09-2025, 01:43 PM   #63
lordeagle
Enthusiast
lordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankind
 
Posts: 49
Karma: 17448
Join Date: Jun 2020
Device: Kobo Elipsa2E & Libra H20, Kindle PW3 & PW2
I can confirm that this (v2) works on Kindle PW3 using a rather old 5.12.2 Firmware.
So I can finally unchain my bought Amazon content from DRM and proprietary formats again.
lordeagle is offline   Reply With Quote
Old 06-07-2025, 11:44 AM   #64
bnuuy
Junior Member
bnuuy began at the beginning.
 
bnuuy's Avatar
 
Posts: 7
Karma: 10
Join Date: Jun 2025
Device: kindle classic gen 11
Quote:
Originally Posted by juliazero View Post
I released 2.0 version again. I added manual reboot button (removed auto reboot from scripts) and button to migrate from renameotabin
Kindle classic gen 11 on 5.17 jailbroken. It detects i've renamed with renametobin. When i click on migrate to renamebin it refreshes the menu and returns me to the top level of kual. If i go back into binaryrenamer again and reboot it won't make any changes.

Any suggestions? Or where i should check for logs? Thanks. I do prefer this script as I like being able to see the status to confirm it worked.
bnuuy is offline   Reply With Quote
Old 06-07-2025, 01:04 PM   #65
juliazero
Trans girl (she/her)
juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40
 
juliazero's Avatar
 
Posts: 72
Karma: 73380
Join Date: Nov 2023
Device: KOA3 5.13.6 JB
I checked and the problem is that the script tried to move otav3.bck.bck and otaupd.bck.bck file and there should be only one .bck extension

New fixed version is released.

Last edited by juliazero; 06-07-2025 at 01:10 PM.
juliazero is offline   Reply With Quote
Advert
Old 06-07-2025, 02:28 PM   #66
bnuuy
Junior Member
bnuuy began at the beginning.
 
bnuuy's Avatar
 
Posts: 7
Karma: 10
Join Date: Jun 2025
Device: kindle classic gen 11
Quote:
Originally Posted by juliazero View Post
New fixed version is released.
Installed.

Selected migrate which then added the == around the reboot button. Hit reboot button. After reboot the migrate button is gone but the reboot button still has == around it. There is also no option to disable the ota update blocker. Not working as intended i assume?
bnuuy is offline   Reply With Quote
Old 06-07-2025, 02:36 PM   #67
bnuuy
Junior Member
bnuuy began at the beginning.
 
bnuuy's Avatar
 
Posts: 7
Karma: 10
Join Date: Jun 2025
Device: kindle classic gen 11
Quote:
Originally Posted by juliazero View Post
I checked and the problem is that the script tried to move otav3.bck.bck and otaupd.bck.bck file and there should be only one .bck extension

New fixed version is released.
Guess i can't edit my post anymore. Just checked and after trying the migrate i'm now missing otaupd and otav3 in /usr/bin/
bnuuy is offline   Reply With Quote
Old 06-07-2025, 02:47 PM   #68
bnuuy
Junior Member
bnuuy began at the beginning.
 
bnuuy's Avatar
 
Posts: 7
Karma: 10
Join Date: Jun 2025
Device: kindle classic gen 11
Yeah, it appears this update now somehow deletes both files. I'm now missing otaupd and otav3.

edit: Would have edited first post but time to edit had expired.
bnuuy is offline   Reply With Quote
Old 06-07-2025, 04:09 PM   #69
juliazero
Trans girl (she/her)
juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40
 
juliazero's Avatar
 
Posts: 72
Karma: 73380
Join Date: Nov 2023
Device: KOA3 5.13.6 JB
Sorry about that . I answered you in PM about how to recover these files. I did mistake again in script.
Code:
for otabin_bck in "$1" "$2"; do
      mv "$otabin_bck" "$otabin~"
done

"migrate_to_binaryrenamer" )
    migrate_from_renameotabin /usr/bin/otaupd.bck /usr/bin/otav3.bck
I rewritten it now to:
Code:
for otabin in "$1" "$2"; do
      mv "$otabin.bck" "$otabin~"
done

"migrate_to_binaryrenamer" )
    migrate_from_renameotabin /usr/bin/otaupd /usr/bin/otav3
This is the same behavior that is working for restore ota or block ota update buttons. I don't know why I changed behavior for migrate button, everything I should do is just copy function and add .bck after $otabin
....
This day is a mess for me

https://github.com/NiLuJe/KindleTool you can use this tool to extract update and set files back. If you don't know how I'll help. And I'm sorry for making trouble for you.

V2.1 reuploaded.

Last edited by juliazero; 06-07-2025 at 04:36 PM.
juliazero is offline   Reply With Quote
Old 06-07-2025, 04:54 PM   #70
bnuuy
Junior Member
bnuuy began at the beginning.
 
bnuuy's Avatar
 
Posts: 7
Karma: 10
Join Date: Jun 2025
Device: kindle classic gen 11
I was able to pull the files from another kindle that has the same firmware. They're back where they're supposed to be. No worries. Also, sorry about the multiple posts. Didn't realize this forum has a delay before the posts show up.

I don't think the script is working correctly yet. The migrate showed = on both sides before i clicked it. After rebooting the = on the side of reboot and migrate didn't go away and the files are still otaupd.bck and otav3.bck
bnuuy is offline   Reply With Quote
Old 06-07-2025, 05:10 PM   #71
juliazero
Trans girl (she/her)
juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40juliazero is slicker than a case of WD-40
 
juliazero's Avatar
 
Posts: 72
Karma: 73380
Join Date: Nov 2023
Device: KOA3 5.13.6 JB
Ok so now is better than removing them ��

For now rename them to original names, relaunch kual, select block ota updates and click reboot.

Reboot button will be always visible. But migrate button should be hidden.

Within few days I'll test migrate button on my Kindle, now I don't have it unfortunately

Edit:

Yaay I fixed that shi**y button haha.

Last edited by juliazero; 06-08-2025 at 09:05 AM.
juliazero is offline   Reply With Quote
Old 06-08-2025, 12:20 PM   #72
bnuuy
Junior Member
bnuuy began at the beginning.
 
bnuuy's Avatar
 
Posts: 7
Karma: 10
Join Date: Jun 2025
Device: kindle classic gen 11
Yup, she works now. Thank you!
bnuuy is offline   Reply With Quote
Old 06-09-2025, 01:13 AM   #73
john1980
Junior Member
john1980 rocks like Gibraltar!john1980 rocks like Gibraltar!john1980 rocks like Gibraltar!john1980 rocks like Gibraltar!john1980 rocks like Gibraltar!john1980 rocks like Gibraltar!john1980 rocks like Gibraltar!john1980 rocks like Gibraltar!john1980 rocks like Gibraltar!john1980 rocks like Gibraltar!john1980 rocks like Gibraltar!
 
Posts: 5
Karma: 100000
Join Date: Jun 2025
Device: Kindle Scribe (2022)
It works flawless in my Kindle Scribe 2022 (1st generation), thank you for your work! I disabled amazon logging and OTA updates
john1980 is offline   Reply With Quote
Reply

Tags
kindle, logs, ota, rename, renameotabin


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
I have jailbroken PW3 with 5.14.3.0.1 through serial access , how to block OTA ? pillomegamen Kindle Developer's Corner 1 05-03-2023 01:35 AM
Is it possible to format /mnt/us to ext3/4 to block OTA? zaoqi Kindle Developer's Corner 7 11-29-2019 05:45 AM
Can /etc/hosts be used to block OTA updates? zaoqi Kindle Developer's Corner 1 08-18-2019 09:35 AM
Block OTA before connecting wifi to register? Pajamaman Kindle Developer's Corner 2 10-21-2017 10:12 PM


All times are GMT -4. The time now is 08:44 PM.


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