This gist it deprecated and may be outdated, latest instructions are on the wiki
pmbootstrap init
pick oneplus -> enchilada/fajita. Pick any WM/DE you like, the following have been tested and are functional.
- Gnome
- Plasma Mobile - unstable, can sometimes crash out and reboot to crashdump mode
- Plasma desktop
- Phosh (fix scaling by setting scale=3 in /etc/phoc/phosh.ini)
- Mate
- Weston
NOTE: If you have issues booting, flash the latest OxygenOS 10 full OTA to the slot you're installing postmarketOS too (switch to the OTHER slot, boot twrp and flash the OTA, then switch back).
pmbootstrap install --split
pmbootstrap export
Reboot back into bootloader mode after each of the following commands.
# Might wanna back this one up first! Will break android booting on this slot
fastboot erase dtbo
fastboot flash vendor /tmp/postmarketOS-export/oneplus-[enchilada|fajita]-boot.img
fastboot flash system /tmp/postmarketOS-export/oneplus-[enchilada|fajita]-root.img
fastboot flash boot /tmp/postmarketOS-export/boot.img-oneplus-sdm845
Reboot and you're good to go!
- Please don't attempt this unless you are comfortable debugging and solving booting issues yourself, I'm happy to help but I won't be able to walk you through every step of the debugging process, please read ALL the related postmarketOS documentation before asking me: https://wiki.postmarketos.org/wiki/Installation_guide, https://wiki.postmarketos.org/wiki/Troubleshooting:boot
- This is a very very early build and there are many issues, my main priority is adding more hardware support and improving stability, I unfortunately don't have time to do all of that and help you make your device boot.
For support feel free to hop in the Discord: https://discord.gg/haVG9Ga
hey! this is great, thank-you. i'm dual-booting postmarketos and android now :3
i think this line
is meant to point at the file here: /usr/share/phosh/phoc.ini ?