PinePhone

the pinephone is a cheap, generic, arm64 smartphone produced with the goal of supporting user-modifiable operating systems and hardware

= Identification =

The PCB has the following silkscreened on it: AL_QZ01_MB_V10

= Sunxi support =

Current status
Basic support in mainline trees, more features found in out-of-tree mainline Linux forks.

Images
Prebuilt postmarketOS images Ubuntu Touch (UBports) images

Manual build
You can build things for yourself by following our Manual build howto and by choosing from the configurations available below.

Mainline U-Boot
Use the pinephone_defconfig build target.

Mainline Linux Kernel
Use the sun50i-a64-pinephone-1.1.dtb or sun50i-a64-pinephone-1.2.dtb device-tree binary in the mainline kernel. Mainline U-Boot detects the model and selects the appropriate DTB automatically.

A more sophisticated feature set is available in the downstream forked kernel.

= Tips, Tricks, Caveats =

There are 6 dip switches if the back cover is removed, and they're labeled by a sticker:

- Modem - Wifi/BT - Microphone (internal microphone, not headphones) - Rear Camera - Front Camera - Headphone (switches between headphones and UART)

FEL mode
Use the fel-sdboot.sunxi file in sunxi-tools to enter FEL mode.

= Adding a serial port =

There is no need to add one as the UART is multiplexed with audio jack, see for the pinout.

You'll also need to turn off the headphone dip switch in order to turn on UART.

Device disassembly
1. With the phone facing you, pull off the back cover by pulling the tab on the bottom right, holding the phone in your other hand. then pry off the rest of the case.

= See also =

Pine Pinebook

PineTab