Difference between revisions of "PinePhone Installation Instructions"

Jump to navigation Jump to search
(→‎From the booted microSD OS: clarified the instructions)
Line 53: Line 53:
=== From the booted microSD OS ===
=== From the booted microSD OS ===


# Prepare a formatted SD card, flash desired OS to the SD card, and (optionally) resize the partition (see below)
# Flash an OS to the SD card (and optionally resize the partition, see below)
# Insert SD card and boot the phone
# Insert SD card and boot the phone
# Open terminal and <code>git clone [url]</code> your desired project OR: Open web browser and download the desired OS image file.
# Download the desired OS' image on the booted OS or transfer it to the SD card
# Build the OS (Optional)
# Extract the image file if it is archived
# Flash the resulting image file you got by downloading or by building, to eMMC, using <code>dd if=new-pinephone-image.img of=/dev/mmcblkX bs=1M status=progress</code> where X is the number label of the eMMC. Use the command ''lsblk'' to check your devices: typically with the current kernel the SD card is /dev/mmcblk0 and the eMMC is /dev/mmcblk2 but as always with ''dd'' be extremely cautious to get the devices correct. Then, resize partition to fill up entire disk (see below).
# Flash the image file to eMMC using <code>dd if=new-pinephone-image.img of=/dev/mmcblkX bs=1M status=progress conv=fsync</code> where X is the number label of the eMMC (of the disk, not the partition!). Use the command ''lsblk'' to check your devices: typically with the current kernel the SD card is /dev/mmcblk0 and the eMMC is /dev/mmcblk2 but as always with ''dd'' be extremely cautious to get the devices correct.  
# Turn off phone, remove SD card. Turn on phone.
# Turn off phone, remove SD card and then turn on the phone.


=== From the booted microSD OS (risky) ===
=== From the booted microSD OS (risky) ===