chenxiaolong / DualBootPatcher

Patches Android ROMs for dual boot support
https://dbp.noobdev.io
Other
524 stars 470 forks source link

Completely removing the dependence on root #1452

Closed Dani13567 closed 4 years ago

Dani13567 commented 4 years ago

Back on Oct 28, 2015 you mentioned:

... Dropping this feature will allow me to focus on other important issues like completely removing the dependence on root.

I am thinking about continuing the development of this project to support the recent versions of Android too. One feature that is crucial for my project is to know if, theoretically, it is possible to install DualBootPatcher on non-rooted devices too. Would you please let me know if this can be done?

klorinczi commented 4 years ago

I would welcome it if you could continue the development of DualBootPatcher to support the recent versions of Android!

chenxiaolong commented 4 years ago

I am thinking about continuing the development of this project to support the recent versions of Android too. One feature that is crucial for my project is to know if, theoretically, it is possible to install DualBootPatcher on non-rooted devices too. Would you please let me know if this can be done?

This is actually already implemented. So for example, if on your (bootloader unlocked) device, you flash a patched ROM, all of the features in the DualBootPatcher app are immediately available without flashing any root solution, like Magisk. This works because patched ROMs run a daemon very early in the boot process with root privileges that the app communicates with.

A root solution (like Magisk) is usually only required in two situations:

So to summarize, the device doesn't have to be rooted, but it does need to have an unlocked bootloader. It will never be possible to use DualBootPatcher on a bootloader-locked device without an exploit.

I would welcome it if you could continue the development of DualBootPatcher to support the recent versions of Android!

Thanks! I'm not ruling this out for the future, but I'm still pretty burnt out. If I'm being honest, I probably won't be working on this project again this year.