installing pmbootstrap
https://wiki.postmarketos.org/wiki/Installing_pmbootstrap
apk add python3 coreutils procps
pip3 install --user pmbootstrap
edit shell config to add .local/bin to PATH
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
test pmbootstrap
pmbootstrap --version
initialization
pmbootstrap init
- Select device
- Select user interface
- Select workpath that has a few gigs available
- Use the rest of the default settings
install
pmbootstrap install --sdcard=/dev/mmcblk0
NOTE: for phosh you must use all numbers in your password or the screenlocker will break
finishing up
pmbootstrap shutdown
upgrade release
Currently there is no supported and safe way to upgrade between postmarketOS
releases, so we provide instructions on how to backup your data before you
either begin a manual upgrade or reinstall a newer version.
rsync -avz --exclude=.cache <ip address of your phone>:/home/<your username>/ ~/backup/
Then simply install the new version and restore your files:
rsync -avzu ~/postmarketOS_backup/ <ip address of your phone>:/home/<your username>/