Originally Posted by dsmid
This simple hack has only one purpose: stop Amazon from updating your Kindle silently without your explicit consent.
It is intended for users who believe in "My device - my rules" principle.
It doesn't stop Kindle from downloading the update file but once it is downloaded, any silent installation attempt fails instantly in an early stage without depleting the battery and intercepting the GUI.
...
Here is how it works:
It replaces the line
Code:
_UPDATE_WAIT="/usr/sbin/updatewait"
in /etc/updater.conf with this one:
Code:
_UPDATE_WAIT="$(if [ -x /mnt/us/backdoorlock/updatewait ]; then echo /mnt/us/backdoorlock/updatewait; else echo /usr/sbin/updatewait; fi)"
Wrapper script /mnt/us/backdoorlock/updatewait passes any calls to /usr/sbin/updatewait but only if called with parameter -i (immediate/interactive) - that's how "Update Your Kindle" calls it.
OTOH silent updates call updatewait without any parameters and such attempts are intercepted and logged to /mnt/us/backdoorlock/update.log or /mnt/us/extensions/backdoorlock/update.log .
On KT and KPW lines
Code:
legacy.GET.FWUO=com.lab126.ota
legacy.GET.FWUP=com.lab126.ota
are commented out in file /etc/todo/handler_registry.conf
|