|
|
#1 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2025
Location: EU
Device: Kindle K4B
|
Block Amazon via hosts file
This is a simple KUAL extension which lets you block some of Amazon's servers to prevent them from deleting part of MKK (the Kindlet DevCerts) when connected to the internet but not registered with Amazon. Notably it doesn't block the NTP servers to allow time sync.
The list of servers is based on the one I found in this repository https://git.sr.ht/~sotirisp/kindle-hacks I tested the block/install script on a k4b and it worked fine. I tested the unblock/uninstall script with "sed --posix" on desktop Linux and it's a very simple one so it should work anywhere in theory, but just in case, there's a backup of the original /etc/hosts from my k4b in the package. Granted the install script appends things to /etc/hosts so it's non-destructive in the first place. Of course you shouldn't use this if you do want to use Amazon's online services with your kindle. To install, extract the archive into your KUAL extensions folder, then run the block option in the KUAL menu. To uninstall, first run the unblock option and wait for the kindle to reboot, then you can remove the extension's folder. The list below follows this format: File | Release Date | Size | SHA1
|
|
|
|
|
|
#2 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2013
Device: kindle keyboard
|
Just checking - Do I need to manually block amazon every time the device is rebooted?
|
|
|
|
| Advert | |
|
|
|
|
#3 | |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Apr 2024
Device: Kindle 4 NT, Kindle 3
|
Quote:
Now I no longer need to go through the registration process to keep using KUAL. Before your extension, registering was the only way for me to avoid the error: Code:
This device is not authorized as a test Kindle by the developer of this item. Please contact the developer. Code:
sed: invalid option -- 'z' Code:
awk '/# BEGIN block_amazon/,/# END block_amazon/{next} { print $0 }' /etc/hosts > /tmp/hosts.tmp
cp /tmp/hosts.tmp /etc/hosts
Last edited by qadzek; Yesterday at 07:46 AM. |
|
|
|
|
|
|
#4 | |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2025
Location: EU
Device: Kindle K4B
|
Quote:
Thank you, I will update it and include this instead! Last edited by LunarEclipse; Yesterday at 04:19 PM. Reason: forgot a quote closing tag |
|
|
|
|
|
|
#5 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2025
Location: EU
Device: Kindle K4B
|
Can't find a way to edit the first post so I'll just drop this here.
Version 1.0.1, bringing you a working unblock script. File | Release Date | Size | SHA1
I've also made a public git repository on Codeberg which will have the full history of changes and the same releases as I put in this thread: https://codeberg.org/LunarEclipse/kindle-block-amazon |
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Apr 2024
Device: Kindle 4 NT, Kindle 3
|
I just want to confirm that your script also works for the Kindle K3. Thanks again.
|
|
|
|
|
|
#7 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2013
Device: kindle keyboard
|
Thanks!
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Blocking updates with Kindle's hosts file | Shucking5230 | Kindle Developer's Corner | 1 | 05-23-2024 07:56 PM |
| Editing Hosts File to block telemetry | everrest | Kindle Developer's Corner | 2 | 06-09-2021 10:49 PM |
| Can /etc/hosts be used to block OTA updates? | zaoqi | Kindle Developer's Corner | 1 | 08-18-2019 10:35 AM |
| Amazon to block Australian shoppers from its US website | Inukami | News | 43 | 06-23-2018 05:52 PM |
| Block Amazon Access ? | dhruvbhutani | Kindle Developer's Corner | 10 | 08-03-2011 03:05 AM |