Getting Mobian onto the PinePhone is manageable but the given instructions don’t seem to work on my device. I had to apply to the following patch to get the Python installer to flash succesfully.
Log into the PinePhone over SSH (or use the phone itself, you savage :P).
Download the installer from https://salsa.debian.org/Mobian-team/mobian-installer/-/blob/master/mobian_installer.py
Make the following changes before executing:
- Remove the references to
libparted
andpy
and reference the system libraries instead withimport parted
andimport py
. - In L307, replace
logfn = os.path.join(os.environ["USER_PWD"], "mobian_installer.log")
withlogfn = os.path.join("/home/mobian", "mobian_installer.log")