Can you replace the bootloader of Android to create a UEFI-like environment where you can Multi-boot into another Operating System? I've seen several off-brand phones do this but I'm unsure how they do it. There is a phone on the market (I think on Amazon) where users report that their phones don't directly boot into android but give them a choice of booting into "Android Core" and "Android OS". If you can actually do this, is there a way of flashing this ROM onto a phone, or are there other steps needed to accomplish this task?
2 Answers
Depends ...
If you are talking of having multiboot solutions on the latest Android 9 and Android 10 versions ... that doesn't seem to be possible currently and there isn't much interest among the dev community in developing these systems for these newer android versions as android from these versions onward's has undergone some fundamental changes.
But for older versions you do have solutions like ...
- efidroid
- multi boot patcher
- multirom
but all of the above are pretty much limited to the devices they support. So you need to do some research to identify if your devices are supported on any of these implmentation's.
Cheers
Yes it is possible. As Irfan mentioned there are hacks which allow, essentially, dual booting with a Linux distro, the list of which is rapidly expanding. Dual booting native Android ROMs is possible as well. Dual Boot Patcher app by xda developer Anik_khan allows just such a scheme. Additionally devices with A/B partitions certainly can dual boot(although /data is shared). It is also possible to configure a ISO within an Android device that can be bootable via USB, say for a laptop...
-
1i don't think Android 9 and 10 versions have any solutions of multi-boot currently !!! if you come across any new projects that do support Android 9 and 10 versions ... please do post links to the same ... i have been eagerly waiting for such a solutions on Android Pie versions and above..... thanks.– AIAMUZZFeb 12, 2020 at 12:53
boot.img
which contains kernel, and its path is hard-coded in bootloader. Also Android'sinit
has deep dependencies on a typical partition table layout, which you can't alter.