Quote:
Originally Posted by NiLuJe
IIRC, @knc1 tried to play with FAT attributes to enforce the partial as ro, and that didn't help either.
|
I just tried that here just for kicks, even spiced it up by setting system and hidden attributes along with readonly. It didn't matter. It seems that the update.partial file is removed after a reboot, and recreated by the OTA service once it starts downloading stuff, and if you setup the dummy file with the attributes, enable internet and let things run for awhile without rebooting, it seems the OTA service will still happily write to the file completely bypassing the attributes (i.e., the file keeps the system/hidden/ro attributes, but is still clearly written to since its size keeps increasing as OTA is downloading).
Quote:
Originally Posted by NiLuJe
(I may be entirely misremembering that. I also don't remember if the fatattr tool is shipped by default).
|
On the kindle, you mean? Yes, just tried it here also, it's part of busybox, so it's there, but again, even if fumbling with attributes worked, at that point we'd be restricting ourselves to rooted devices, and for that I think disabling the OTA service as per the OP is a more robust solution.