PinePhone

From linux-sunxi.org
Jump to navigation Jump to search
PinePhone
Pinephone-front.jpg
Manufacturer Pine64
Dimensions 160.5mm x 76.6mm x 9.2mm
Release Date 2019
Website Device Product Page
Specifications
SoC A64 @ 1.152 GHz
DRAM 2GiB LPDDR3 @ ????MHz or 3GiB LPDDR3 @ ????MHz
NAND 16GB or 32GB
Power USB Type C (5V - 3A), 2750-3000mAh 3.7V Li-Ion battery
Features
LCD 1440x720 (5.95" 18:9)
Touchscreen 5-finger capacitive (Goodix device)
Video DisplayPort over USB-C
Audio 3.5mm headphone plug, HDMI, internal speaker, internal microphone
Network WiFi 802.11 b/g/n (Realtek RTL8723CS)
Storage µSD
USB 1x USB2.0 OTG
Camera 2.0MP (????x????) front (GC2145), 5.0MP (????x????) rear (OV5640)
Other Accelerometer (Manufacturer device), GPS, Gyroscope, Proximity, Ambient Light, Magnetometer
Headers UART

This page needs to be properly filled according to the New Device Howto and the New Device Page guide.

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

Identification

This section explains how to most easily identify your device. For a development board, explain the name(s) printed on the board. For an android device, find out the strings as reported under settings.

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 [1] 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.

From here you can access the pogo pins and replace the battery.

2. Then, with the phone facing the table, take the battery out using the indent below the battery. push the battery up against it's spring contacts, then out.

From here you can change the SIM and MicroSD.

3. Remove the screws with a small philips screwdriver. Remember the screw in the top right corner, which is covered by a paper tamper seal.

4. Carefully remove the back assembly. there is ~1mm gap on the bottom, so you can just use your thumbnail or something to unsnap it, and then pry the rest of the back assembly.

From here you can replace the individual components on the board.

Note: When re-assembling, replace the screws and make sure the back cover and back assembly are fully snapped in place.

Pictures

Take some pictures of your device, upload them, and add them here. DO NOT UPLOAD PICTURES WHICH YOU PLUCKED OFF THE INTERNET.

See also

Pine Pinebook

PineTab

Manufacturer images

Optional. Add non-sunxi images in this section.