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 11-27-2023, 06:49 PM   #1
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
Arrow BinaryRenamer - Block OTA Updates & Device Logging

BinaryRenamer
Block OTA Updates and Device Logging

Screenshots:
—————————————
Click image for larger version

Name:	screenshot_2025_05_05T22_47_58+0000.png
Views:	165
Size:	22.5 KB
ID:	215499Click image for larger version

Name:	screenshot_2025_05_05T22_48_27+0000.png
Views:	137
Size:	22.7 KB
ID:	215500

Important:
—————————————
• Use at your own risk!

• If you are new to jailbreak, turn off WiFi! (via Aeroplane/Airplane mode).
• Remove the update.bin.tmp.partial file (if it exists) from the Kindle root directory.
• Tested and works on these devices:
- Oasis 3: 5.16.2.1.1, 5.13.6, 5.17.1.0.3

Warning! Block Device Logging does not work in PW1 and PW2. Avoid using this option or your system will brick.
- Reported in: #34, #56
If you experienced this problem, and you have soldering skills, then check this unbrick method.

Usage:
—————————————
Block OTA Updates:
Spoiler:
This button works similar as Rename button in renameotabin extension by @hius07

The following files will be renamed:
• /usr/bin/otaupd --> /usr/bin/otaupd~
• /usr/bin/otav3 --> /usr/bin/otav3~

As you might have noticed, the suffix ~ has been added to the binary files.

Warning!:
• UYK (Update Your Kindle) will stop working.
• You will not be able to update your Kindle via UYK.


Restore OTA Updates:
Spoiler:
The above changes will be revoked, UYK will operate again.


Block Device Logging:
Spoiler:
Warning!: One user bricked system in PW2 after selecting this option, it stays in boot logo and nothing happends. Avoid using this option, if you have very old device and firmware.

Amazon logs and sends to servers EVERYTHING you do on a Kindle, even every single tap and time in milliseconds precision.

When you select this button, backups will be created for the files below:
• /usr/sbin/syslog-ng --> /usr/sbin/syslog-ng~
• /usr/sbin/loginfo --> /usr/sbin/loginfo~
• /usr/sbin/tinyrot --> /usr/sbin/tinyrot~
• /usr/bin/showlog --> /usr/bin/showlog~

You can still find files with their original names, but they are empty because they are linked to /dev/null.

What are these files responsible for?:
syslog-ng - syslog server and logging daemon
loginfo - extracts specific information from syslog
tinyrot - rotates log files to be fetched from remote servers
showlog - specifies which log file to send

Warning!:
• Reading logs will not be possible anymore, the showlog -f command no longer works (it does not exist).
• Sometimes it is necessary to troubleshoot issues (manually or by entering in search bar ;dm command), especially after a Kindle Update.
• Log-dependent extensions, such as scripts displaying reading time will also stop working.

Thanks to @mergen3107 for the commands
• Source: 4PDA.to


Restore Device Logging:
Spoiler:
The above changes will be revoked, Device logging will operate again


Disable CORE_DUMP:
Spoiler:
Prevents creating KPP Crash Logs after using MRPI or after running KOReader (frameworkless).

This button just do: touch /mnt/us/DISABLE_CORE_DUMP


Allow CORE_DUMP:
Spoiler:
Allows creating KPP Crash Logs after using MRPI or after running KOReader (frameworkless).

This button just do: rm /mnt/us/DISABLE_CORE_DUMP


== Migrate from renameotabin ==
Spoiler:
When you select this button, ota binaries will be moved:
• /usr/bin/otaupd.bck --> /usr/bin/otaupd~
• /usr/bin/otav3.bck --> /usr/bin/otav3~

Renameotabin extension will be removed.

Reboot is not required.


== Reboot ==
Spoiler:
This button will restart your kindle, to apply changes. It will be always visible.


Changelog:
—————————————
Spoiler:
BinaryRenamer v2.1.zip
- fixed migrate from renameotabin button... (again... and again) now fixed 100% working lol.

BinaryRenamer v2.0.zip
- Fixed fbink location (now uses /mnt/us/extensions/MRInstaller/bin/{DEVICE}/fbink
- Added button to Disable or allow CORE_DUMP. More info in first post.
- Renamed Block Device Logging button to Block Device Logging (not safe)
- Added manual reboot button
- Added button to migrate from renameotabin (fixed in version 2.1...)

BinaryRenamer v1.0.zip:
- First release


Installation:
—————————————
1. Copy the BinaryRenamer folder:
• Via USB: to /extensions folder
• Via SFTP: to /mnt/us/extensions folder
2. Run KUAL
3. Open BinaryRenamer
4. Block or restore what you like!

Download:
—————————————
Attached Files
File Type: zip BinaryRenamer v2.1.zip (2.7 KB, 30 views)

Last edited by juliazero; 06-08-2025 at 09:07 AM.
juliazero is offline   Reply With Quote
Old 11-28-2023, 12:07 AM   #2
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,501
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Cool! Thanks for making this and testing it.

For your todo #1, have a look at NiLuJe’s fbink.
On JB device, you should already have it. fbink is really easy to use, just type fbink in the ssh to see all options.

BatteryStatus is a great example of fbink printing.
mergen3107 is offline   Reply With Quote
Advert
Old 11-28-2023, 03:21 AM   #3
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
Quote:
Originally Posted by mergen3107 View Post
For your todo #1, have a look at NiLuJe’s fbink.
Thanks! Looks promising:
Attached Thumbnails
Click image for larger version

Name:	photo_2023-11-28_09-20-22.jpg
Views:	1333
Size:	168.8 KB
ID:	204957  
juliazero is offline   Reply With Quote
Old 11-28-2023, 10:00 AM   #4
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
I would also strongly suggesting double-checking whether this doesn't cause random stuff to busy retry-loop like crazy (... which is going to be harder to double-check without logs ;D).
NiLuJe is offline   Reply With Quote
Old 11-28-2023, 11:22 AM   #5
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
Quote:
Originally Posted by NiLuJe View Post
I would also strongly suggesting double-checking whether this doesn't cause random stuff to busy retry-loop like crazy (... which is going to be harder to double-check without logs ;D).
I did multiple tests with different conditions and on two different devices and on my Kindle.

Although there is always the possibility that I may have missed something.

But...
I tested via sh -x and it works fine and only on the specified files as long as the conditions match. If the conditions are not match, the script does nothing
juliazero is offline   Reply With Quote
Advert
Old 12-01-2023, 07:01 AM   #6
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
Version 1.0 released!

- Completed all TODO objectives

If you would like to motivate me to keep working or would like to buy me a coffee, you can do so here:
https://ko-fi.com/daviteusz
juliazero is offline   Reply With Quote
Old 12-10-2023, 03:56 PM   #7
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,501
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
I can confirm that this blocking still works.
I disabled them on 12/03/23, exactly a week ago.
Today, after multiple restarts and stuff, I can see that there are only these files:
Code:
/var/local/log/
├── downloads
├── messages_00000196_20231203121807.gz
├── messages_00000197_20231203124501.gz
├── messages_00000198_20231203131501.gz
├── messages_00000199_20231203133655.gz
├── messages_00000200_20231203163004.gz
├── messages_00000201_20231203170003.gz
├── messages_00000202_20231203173003.gz
├── messages_00000203_20231203190003.gz
├── messages_00000204_20231203191018.gz
├── messages_00000205_20231203191353.gz
├── messages_00000206_20231203191538.gz
├── messages_00000207_20231203191747.gz
├── messages_00000208_20231203193003.gz
├── messages_00000209_20231203194502.gz
├── messages_00000210_20231203194631.gz
├── messages_00000211_20231203195053.gz
├── messages_00000212_20231203195542.gz
├── messages_00000213_20231203195803.gz
├── messages_00000214_20231203200016.gz
├── messages_00000215_20231203200229.gz
├── messages_00000216_20231203200549.gz
├── messages_00000217_20231203200743.gz
├── messages_00000218_20231203201204.gz
├── messages_00000219_20231203201855.gz
├── messages_00000220_20231203202455.gz
├── messages_00000221_20231203202703.gz
├── messages_00000222_20231203202903.gz
├── messages_oldest
├── messages_youngest
├── metrics_generic_00000076_20231130180004.gz
├── metrics_generic_00000077_20231130223003.gz
├── metrics_generic_00000078_20231130224503.gz
├── metrics_generic_00000079_20231130230004.gz
├── metrics_generic_00000080_20231130231058.gz
├── metrics_generic_00000081_20231130231354.gz
├── metrics_generic_00000082_20231130231528.gz
├── metrics_generic_00000083_20231130233003.gz
├── metrics_generic_00000084_20231130234432.gz
├── metrics_generic_00000085_20231202094503.gz
├── metrics_generic_00000086_20231202100003.gz
├── metrics_generic_00000087_20231202104504.gz
├── metrics_generic_00000088_20231202214502.gz
├── metrics_generic_00000089_20231202214714.gz
├── metrics_generic_00000090_20231202214926.gz
├── metrics_generic_00000091_20231202220004.gz
├── metrics_generic_00000092_20231202221504.gz
├── metrics_generic_00000093_20231202230002.gz
├── metrics_generic_00000094_20231202230513.gz
├── metrics_generic_00000095_20231202230647.gz
├── metrics_generic_00000096_20231202231502.gz
├── metrics_generic_00000097_20231202231918.gz
├── metrics_generic_00000098_20231202232109.gz
├── metrics_generic_00000099_20231202232543.gz
├── metrics_generic_00000100_20231202233241.gz
├── metrics_generic_00000101_20231202234502.gz
├── metrics_generic_00000102_20231203010004.gz
├── metrics_generic_00000103_20231203020002.gz
├── metrics_generic_00000104_20231203114300.gz
├── metrics_generic_00000105_20231203133656.gz
├── metrics_generic_00000106_20231203184503.gz
├── metrics_generic_00000107_20231203191019.gz
├── metrics_generic_00000108_20231203191354.gz
├── metrics_generic_00000109_20231203191538.gz
├── metrics_generic_00000110_20231203191747.gz
├── metrics_generic_00000111_20231203193004.gz
├── metrics_generic_00000112_20231203194517.gz
├── metrics_generic_00000113_20231203195053.gz
├── metrics_generic_00000114_20231203195544.gz
├── metrics_generic_00000115_20231203195804.gz
├── metrics_generic_00000116_20231203200017.gz
├── metrics_generic_00000117_20231203200230.gz
├── metrics_generic_00000118_20231203200550.gz
├── metrics_generic_00000119_20231203201205.gz
├── metrics_generic_00000120_20231203201916.gz
├── metrics_generic_00000121_20231203202457.gz
├── metrics_generic_00000122_20231203202704.gz
├── metrics_generic_00000123_20231203202904.gz
├── metrics_generic_oldest
├── metrics_generic_youngest
├── netlog_00000001_20231123015241.gz
├── netlog_00000002_20231123031758.gz
├── netlog_00000003_20231123224932.gz
├── netlog_00000004_20231125023610.gz
├── netlog_00000005_20231125203609.gz
├── netlog_00000006_20231125225035.gz
├── netlog_00000007_20231126180450.gz
├── netlog_00000008_20231127071503.gz
├── netlog_00000009_20231129000626.gz
├── netlog_00000010_20231130141249.gz
├── netlog_00000011_20231130231136.gz
├── netlog_00000012_20231202110003.gz
├── netlog_00000013_20231202230532.gz
├── netlog_00000014_20231203004502.gz
├── netlog_00000015_20231203133655.gz
├── netlog_00000016_20231203195053.gz
├── netlog_00000017_20231203202903.gz
├── netlog_aggregate
├── netlog_oldest
├── netlog_youngest
├── TINYROT_ONETIME_CLEANUP_anonymous_clickstream_metrics
├── TINYROT_ONETIME_CLEANUP_messages
├── TINYROT_ONETIME_CLEANUP_metrics_generic
├── TINYROT_ONETIME_CLEANUP_metrics_high_priority
├── TINYROT_ONETIME_CLEANUP_netlog
├── TINYROT_ONETIME_CLEANUP_non_anonymous_clickstream_metrics
├── TINYROT_ONETIME_CLEANUP_wpa_supplicant
├── wpa_supplicant_00000003_20231203201916.gz
├── wpa_supplicant_00000004_20231203202904.gz
├── wpa_supplicant_aggregate
├── wpa_supplicant_oldest
└── wpa_supplicant_youngest

0 directories, 112 files
There is no messages file (the one that would be shown by showlog -f), and all archives are no newer than 12/03/23.
mergen3107 is offline   Reply With Quote
Old 12-12-2023, 09:57 AM   #8
weirdGiraffe
Junior Member
weirdGiraffe began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2023
Device: Kindle PW 11th
Sorry if this is a stupid question, but what's the benefit of disabling logging?
weirdGiraffe is offline   Reply With Quote
Old 12-12-2023, 10:24 AM   #9
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,501
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Amazon logs and sends to servers EVERYTHING you do on a Kindle, even every single tap and time in milliseconds precision.

This script prevents all of that.

You can request your data from Amazon, you will get surprised.
mergen3107 is offline   Reply With Quote
Old 12-12-2023, 01:24 PM   #10
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
Quote:
Originally Posted by mergen3107 View Post
Amazon logs and sends to servers EVERYTHING you do on a Kindle....
I forgot to add info about this, thanks.
juliazero is offline   Reply With Quote
Old 12-16-2023, 11:21 PM   #11
arooni
Addict
arooni began at the beginning.
 
Posts: 315
Karma: 26
Join Date: Jul 2012
Device: Kindle Paperwhite 4 (2018)
Is this the consensus best way to keep my kindle jailbroken? Want to keep koreader on my scribe.
arooni is offline   Reply With Quote
Old 12-16-2023, 11:33 PM   #12
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,501
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Yes. Please do not cross post.
mergen3107 is offline   Reply With Quote
Old 12-16-2023, 11:43 PM   #13
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,501
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
FWIW, my less than a month experience is still good: https://www.mobileread.com/forums/sh...&postcount=580
mergen3107 is offline   Reply With Quote
Old 12-17-2023, 08:49 AM   #14
arooni
Addict
arooni began at the beginning.
 
Posts: 315
Karma: 26
Join Date: Jul 2012
Device: Kindle Paperwhite 4 (2018)
If I've already run renameota is that enough or do I need this too? Should I uninstall that first prior to running this ?
arooni is offline   Reply With Quote
Old 12-17-2023, 09:02 AM   #15
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,501
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
They do the same thing as far as OTA is concerned.
mergen3107 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 01:26 PM.


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