To dual boot pmOS you need a boot method and a way to store data. After selecting both and following the guide, you will have a working device with dual boot.
For a lot of the methods, you will need pmbootstrap
How to boot pmOS on an Android phone
Booting with a computer
This is the simplest option, but you will need a computer to boot pmOS. If used with an SD card to store data, then nothing is going to be modified on the phone.
After entering fastboot mode on your phone, run pmbootstrap flasher boot to start pmOS.
Recovery partition
WARNING: Doing this will make you lose the Android recovery mode, and will overwrite any recovery OS/software installed on the recovery partition(e.g. TWRP)
If the pmOS kernel is written to the recovery partition, then your device will boot into pmOS when you enter recovery mode. You can get the image of the kernel by running pmbootstrap export . And fastboot flash recovery /tmp/postmarketOS-export/boot.img to flash it to recovery.
... continue reading