Skip to content

ignore this

SSD requested to merge (removed):initramfs-log-to-kmsg into initramfs-log-to-kmsg

this makes it possible to dualboot (on phones that have A/B slots) pmos with shared userdata (tested on OnePlus 6)

init.sh will look for userdata partition mount it on /sysroot check if /sysroot/pmos folder exists if it does, then we do some magic to make switch_root work

to use this

  1. go to chroot_rootfs and create a tar
  2. use TWRP to unpack it in /data/pmos
  3. go to slot b and flash boot.img and minimal rootfs (User interface: none)

now you have pmos on slot b and android on slot a

if this is merged then I will write a guide in wiki on how to use this

Merge request reports