Custota
Custota copied to clipboard
Can Custota be integrated as a system app manually?
To start, I would like to apologize in advance if I missed anything in the docs that would answer any of my questions, but does Custota support being installed as a system app natively?
Like if I am modifying a ROM manually on my PC prior to signing it with AVBRoot and flashing, can I edit the system partition priv-apps directory to replace the ROM's original Updater.apk with Custota's APK for a more native/seamless integration?
I would probably have to just do what the startup script that changes SELinux does manually in the rom before I rebuild it. But I am doing this to GrapheneOS, so is there anything else I would have to change?
Is there anything else that is recommended to be done in this case to make it more secure? Will this allow the settings link for system updates to work with Custota? Can I pre-configure Custota with an update server URL?
Also I am aware that rooting isn't recommended, but I think it can be done reasonably securely with Kitsune Mask Magisk, which is a fork of Magisk that allows for better GrapheneOS compatibility and supports an SUList.
Or at this point, is it just better to modify GrapheneOS's system updater to reroute to my update server?