Android/Linux Dual Boot
6 days ago
- #pmOS
- #dual-boot
- #Android
- Dual booting pmOS requires a boot method and data storage solution.
- pmbootstrap is needed for many dual boot methods.
- Booting pmOS via computer is simple but requires a computer and fastboot mode.
- Flashing pmOS to the recovery partition overwrites Android recovery mode.
- A/B slots allow flashing pmOS to system partition B, keeping Android on slot A.
- U-boot provides OS selection on devices like Nokia N900 and MangoPi MQ-Pro.
- lk2nd/lk1st loads boot images from ext2 partitions on eMMC or SD cards.
- kexec is a potential but untested boot method for pmOS.
- Stowaway method uses a folder in a partition for pmOS root, useful for encrypted devices.
- SD cards can be used to store pmOS by flashing the filesystem directly.
- Custom partitioning can brick the phone if done incorrectly.
- Shrinking userdata is required for custom partitions but destroys phone data.
- Subpartitions scheme requires partitions labeled with 'system' prefix.
- Whole storage device scheme requires 'pmOS_boot' and 'pmOS_root' labels.
- UEFI/BIOS devices can use GRUB for dual booting with pmOS.