This collection contains tutorials and software related to the pinephone
See UBPorts guide. Also more tips on how to maintain the UBPorts installation
See the Manjaro guide.
I am now using Manjaro installed on the eMMC and a formated SD card. To test for example UBPorts, boot to eMMC, download the image and use dd to clone it to the SD card and reboot the phone. (Or vice versa).
If you feel like going back to the operating system on the eMMC just destroy the installation on the SD card with sudo rm -rf / --no-preserve-root
(Careful this will remove everything on the SD card!) and restart the phone. Voila you will boot back into the OS on the eMMC. (Careful this will erase all data on the SD card).
The boot order is 1. external SD card, 2. internal eMMC On the host machine:
- Flash an SD card with for example UBPorts
dd bs=4M if=ubuntu-touch-pinephone.img of=/dev/mmcblk0
(See the UBPorts installation guide for more details) - Create partition on the free space on the SD card (use lsblk and df -h to identify the device name and free space). Use fdisk to create a new partition and
sudo mkfs.ext /dev/mmcblk1
. - Copy the image of your choice to the SD card (I used the newly created partition because there was not enough space on the partition created by dd) Put the SD card in the pinephone and start it up to boot from SD card. As a suggestion you can then use SSH to use a proper keyboard. On the pinephone:
- Use
lsblk
to determine the device names. For me the internal eMMC was /dev/mmcblk2. - Use
dd bs=4M if=/path/to/image/ubuntu-touch-pinephone.img of=/dev/mmcblk2
to copy the image to the eMMC. - Remove the SD card and reboot the phone.
- Create a new secondary partition on the pinephone (the one created to boot from by dd is only 4 GB in size.). You can't resize the partitions while it is mounted, so shut down the phone and put in the SD card again to boot from it.
- Once booted, use fdisk again to create a new partition on mmcblk2
- Power off the device and remove the SD card. Voila, the pinephone now boots from eMMC
- To open the back of the phone use your fingernails and the groove at the bottom left corner of the phone.
- When first taking the phone into use remove the plastic isolator that separates the battery from the pins.