chriswoope / resign-android-image

Resign Android OS (esp. GrapheneOS) images with your signing keys and add ADB root and other modifications
MIT License
86 stars 6 forks source link

How does this handle block-based updates? #10

Closed luke-jr closed 1 year ago

luke-jr commented 2 years ago

Graphene claims it uses block-based delta updates, which seems inherently incompatible with a modifiable system/root partition. Can this handle that somehow? Or it's just root access that can't actually modify the system much? What happens if the patching this does conflicts with blocks re-used in other ways later?

chriswoope commented 1 year ago

GrapheneOS OTAs don't actually use block-based delta updates and this script doesn't generate them.

If they started providing them exclusively, I would probably modify the script to always get the images from the factory images (which cannot be delta based since it must be possible to flash it on any device) instead of the OTA.