caleb on Nostr: anyone looking for a christmas project? here's an idea... once ...
anyone looking for a christmas project? here's an idea...
once https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5920 is merged it won't be necessary have a fat32 boot partition for #postmarketOS anymore, just a root partition.
this means that for a buuuunch of Android devices it would be super easy to install postmarketOS from a rooted Android install (e.g. lineageOS) just by
flashing the boot image + erasing dtbo
mounting the root partition image and cp -a'ing the whole thing to userdata
patch the UUID of the userdata partition to match the one in /etc/fstab using tune2fs, OR patching the cmdline (in the boot image) and the fstab to have the correct UUID
Then you can just run (from your rooted Android phone)
curl switch.pmos.org | sh
once https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5920 is merged it won't be necessary have a fat32 boot partition for #postmarketOS anymore, just a root partition.
this means that for a buuuunch of Android devices it would be super easy to install postmarketOS from a rooted Android install (e.g. lineageOS) just by
flashing the boot image + erasing dtbo
mounting the root partition image and cp -a'ing the whole thing to userdata
patch the UUID of the userdata partition to match the one in /etc/fstab using tune2fs, OR patching the cmdline (in the boot image) and the fstab to have the correct UUID
Then you can just run (from your rooted Android phone)
curl switch.pmos.org | sh