VegaBobo / DSU-Sideloader

A simple app made to help users easily install GSIs via DSU's Android feature.
Apache License 2.0
1.47k stars 113 forks source link

Custom Boot Images #122

Closed sounddrill31 closed 1 year ago

sounddrill31 commented 1 year ago

Is it possible to run the GSI with a custom boot image in the future? It would be really useful as it would allow halium, for example, to function, allowing dual booting android and linux mobile(droidian, ubports UT, etc)

I read about this person who tried to do the same with a custom vendor partition. I wonder if it is already possible!

VegaBobo commented 1 year ago

I didn't tested or even searched it further, so i might be wrong, but i think that isn't possible, in Android docs (https://source.android.com/docs/core/ota/dynamic-system-updates#multiple-partition-dsu ), "When the device boots, the first stage init detects the installed DSU partitions and replaces the on-device partition temporarily", i think that isn't possible because DSU partition "swap" occurs when boot partition is already initialized, since those actions occurs on first stage init.

sounddrill31 commented 1 year ago

I didn't tested or even searched it further, so i might be wrong, but i think that isn't possible, in Android docs (https://source.android.com/docs/core/ota/dynamic-system-updates#multiple-partition-dsu ), "When the device boots, the first stage init detects the installed DSU partitions and replaces the on-device partition temporarily", i think that isn't possible because DSU partition "swap" occurs when boot partition is already initialized, since those actions occurs on first stage init.

Shame, thanks a whole lot for reading and responding!