Difference between revisions of "PinePhone Pro"

Jump to navigation Jump to search
m (Adds link to flashing to the eMMC)
m (Reverted edits by Boot loop (talk) to last revision by Fxc)
Tag: Rollback
Line 54: Line 54:


=== Boot order ===
=== Boot order ===
On the '''PinePhone Pro''' the '''eMMC''' (the internal storage of the phone) has a '''''higher boot priority''''' than the '''microSD card''' (see [[RK3399 boot sequence#Boot sequence details | RK3399 boot sequence details]]). That behavior is in contrast to the original '''PinePhone''' with the Allwinner A64 SoC, where the '''microSD card''' has a '''''higher boot priority''''' than the internal storage.
On the '''PinePhone Pro''' the '''eMMC''' (the internal storage of the phone) has a '''''higher boot priority''''' than the '''microSD card''' (see [[RK3399 boot sequence#Boot sequence details | RK3399 boot sequence details]] for details regarding the boot sequence). That behavior is in contrast to the original '''PinePhone''' with the Allwinner A64 SoC, where the '''microSD card''' has a '''''higher boot priority''''' than the internal storage.


==== Bypassing the eMMC ====
The '''Explorer Edition''' comes with a modified U-Boot pointing to the microSD card pre-installed to the eMMC. The microSD card can be (temporarily) booted instead of the pre-installed operating system, when the power key is shortly held at boot. To always boot from the microSD card it is recommended to wipe U-Boot from the eMMC. When the pre-installed bootloader was overwritten with a bootloader without such a configuration, the ''RE'' button underneath the back cover of the phone can also be used to temporarily bypass the eMMC. The button may however only be pressed shortly for a few seconds during boot, otherwise the eMMC won't be initialized in the operating system.
===== PinePhone Pro: Explorer Edition =====
The '''Explorer Edition''' comes with a modified U-Boot pre-installed to the eMMC that lets you bypass the eMMC and boot off of the microSD card.  


Ways to '''temporarily''' bypass the eMMC:
The '''Developer Edition''', which was an earlier revision intended for development, was coming with an Android factory OS preinstalled. For details regarding how to remove the bootloader and the preinstalled OS of the eMMC for Developer Edition, please see the relevant wiki [[PinePhone Pro Developer Edition#Nuking the factory AOSP installation|article]]. The eMMC on the Developer Edition can be bypassed by shorting two specific contact points, please join the community chat for any questions regarding the process.
* Hold the power key at boot.
** This may not work if if the bootloader is corrupted or configured differently than the factory-installed bootloader.
* There's a "RE" button underneath the back cover of the phone that can pressed shortly for a few seconds during boot.
** This method should always allow the eMMC to be temporarily bypassed to boot from the microSD card.
** {{warning|If the button is pressed for too long the eMMC won't be initialized. This could matter if you're trying to boot into the microSD card to then [[PinePhone Pro#Flashing to the eMMC|flash an operating system on the eMMC]]. }}
 
Ways to '''permanently''' bypass the eMMC:
* To always boot from the microSD card it is recommended to wipe U-Boot from the eMMC (see [[PinePhone Pro#Wipe U-Boot from the eMMC|Wipe U-Boot from the eMMC]]).
 
===== PinePhone Pro: Developer Edition =====
The '''Developer Edition''', which was an earlier revision intended for development, came with an Android factory OS preinstalled. For details regarding how to remove the bootloader and the preinstalled OS of the eMMC for Developer Edition, please see the relevant [[PinePhone Pro Developer Edition#Nuking the factory AOSP installation|wiki article]].
 
Bypass the eMMC:
* The eMMC on the Developer Edition can be bypassed by shorting two specific contact points, please join the community chat for any questions regarding the process.


=== Installation instructions ===
=== Installation instructions ===
Line 121: Line 105:
# Flash the extracted image using <code>sudo dd if='''IMAGE.img''' of=/dev/mmcblk2 bs=1M status=progress conv=fsync</code>
# Flash the extracted image using <code>sudo dd if='''IMAGE.img''' of=/dev/mmcblk2 bs=1M status=progress conv=fsync</code>
# Reboot the phone
# Reboot the phone
==== Bypassing the eMMC ====
The pre-installed bootloader of the operating system the '''Explorer Edition''' came with can boot the microSD card when holding the power button at boot for a few seconds. If that doesn't work (because for example the bootloader got corrupted or is configured otherwise in a new installation) the eMMC can '''always''' be temporarily bypassed at boot to be able to boot from microSD card:
On the '''Explorer Edition''' hold the ''RE'' button underneath the cover for a few seconds, while powering on the device (holding it too long will cause the eMMC to not get initialized after the boot).
On the '''Developer Edition''' short the eMMC bypass contacts while booting.
For details see the section [[PinePhone Pro#Boot order|boot order]].


==== Wipe U-Boot from the eMMC ====
==== Wipe U-Boot from the eMMC ====