View Single Post
Old 03-25-2021, 11:21 PM   #100
katadelos
rm -rf /
katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.
 
Posts: 219
Karma: 3333683
Join Date: Nov 2019
Location: United Kingdom
Device: K5, KT, KT2, KT3, KT4, KV, PW2, PW3, PW4, PW5
Quote:
Originally Posted by tryol View Post
I've ran the script, rebooted, checked that both binaries are renamed and they have no processes running.

I put the update file to usb-root, the update kindle button was still grayed out.
I restarted my device and it updated itself to 5.12.4 again succesfully, so it seems like those binaries don't block updates.

Also, I answered your a PM if you didn't notice.
This behaviour is caused by recovery-util, a binary within the initramfs of stock kernels. As you've noticed, it's capable of acting as a secondary update mechanism even when the main OTA update binaries have been removed or otherwise disabled.

The nuclear option of dealing with it is to build your own kernel from the kernel sources - IIRC this doesn't have an noticeable impact on the boot process because the initramfs is optional in the first place and U-Boot passes the rootfs partition to the kernel as part of the command line parameters.

That said, recovery-util can be useful for bootstrapping a borked kindle if you have serial access so it might be worth leaving it in place and using some form of iptables based DNS blocking instead.
katadelos is offline   Reply With Quote