|(527 intermediate revisions by 57 users not shown)|
The PinePhone is a smartphone created by
Pine64, capable of running mainline Linux and supported by many partner projects. The "braveheart" edition was the first publicly -available version of the phone , though it came without a preinstalled OS and was geared specifically towards tinkerers and hackers. People looking for a stable consumer- grade phone should wait for the final release, which is expected to occur in March 2020 and will be available for at least five years.
The PinePhoneis a smartphone created by capable of running mainline Linux and supported by many partner projects.
The was the first publicly available version of the phonewithout a and was geared specifically towards and .
, which is
== Specifications ==
== Specifications ==
'''Dimensions:''' 160.5 x 76.6 x 9.2mm
'''Dimensions:''' 160.5 x 76.6 x 9.2mm
'''Weight:''' Between 180
-200 grams <br>
'''Weight:''' Between 180 200 grams
'''SIM Card:''' Micro-SIM
'''SIM Card:''' Micro-SIM
: '''Size:''' 5.95 inches (151mm) diagonal
'''Size:''' 5.95 inches (151mm) diagonal
: '''Type:''' HD IPS capacitive touchscreen, 16M colors
'''Type:''' HD IPS capacitive touchscreen, 16M colors
: '''Resolution:''' 1440x720, 18:9 ratio <br>
'''Resolution:''' 1440x720, 18:9 ratio
'''System on Chip:''' [https://linux-sunxi.org/A64 Allwinner A64]
'''System on Chip:''' [https://linux-sunxi.org/A64 Allwinner A64]
'''RAM:''' 2GB LPDDR3 SDRAM
'''RAM:''' 2GB LPDDR3 SDRAM
'''Internal Storage:''' 16GB eMMC, extendable up to 2TB via microSD, supports SDHC and SDXC
'''Internal Storage:''' 16GB eMMC, extendable up to 2TB via microSD, supports SDHC and SDXC
'''Back Camera:''' Single 5MP, 1/4", LED Flash
'''Back Camera:''' Single 5MP, 1/4", LED Flash
Selfie Camera:''' Single 2MP, f/2.8, 1/5" <br>
'''Camera:''' Single 2MP, f/2.8, 1/5"
'''Sound:''' Loudspeaker, 3.5mm jack & mic (jack doubles as hardware UART if
killswitch 6 is deactivated) <br>
'''Sound:''' Loudspeaker, 3.5mm jack & mic (jack doubles as hardware UART if 6 is deactivated)
http:// files. pine64. org/ doc/ datasheet/project_anakin/ LTE_module/Quectel_EG25-G_LTE_Specification_V1.1_Preliminary_20180522%20(002).pdf EG25-G] '''
: '''LTE :''' B1, B2, B3, B4, B5, B7, B8, B12, B13, B18, B19, B20, B25, B26, B28 , B38, B39, B40, B41
: '''WCDMA :''' B1, B2, B4, B5, B6, B8, B19
'''LTE'''B1, B2, B3, B4, B5, B7, B8, B12, B13, B18, B19, B20, B25, B26, B28
: '''GSM :''' 850, 900, 1800, 1900 (MHz)
B38, B39, B40, B41
: '''WLAN:''' Wi-Fi 802.11 b/g/n, single-band, hotspot
'''WCDMA'''B1, B2, B4, B5, B6, B8, B19
: '''Bluetooth:''' 4.0, A2DP
'''GSM'''850, 900, 1800, 1900 MHz)
: '''GNSS:''' GPS/GLONASS/BeiDou/Galileo/QZSS, with A-GPS
'''WLAN:''' Wi-Fi 802.11 b/g/n, single-band, hotspot
gyro, proximity, ambient light, compass <br>
'''Bluetooth:''' 4.0, A2DP
[[#Killswitch configuration|Killswitches]]:''' Modem, Wifi & Bluetooth, Microphone, Cameras <br>
'''GNSS:''' GPS/GLONASS/BeiDou/Galileo/QZSS, with A-GPS
2750- 3000 mAh [https://wiki. pine64. org/images/0/04/PinePhone_Battery_model_QZ01-396172-2750.pdf Lithium ion] (nominally replaceable with any Samsung J7 form-factor battery) <br>
'''Sensors:''' Accelerometer, , proximity, ambient light, compass
'''I/O:''' USB Type-C
(SlimPort), USB Host, DisplayPort Alternate Mode output, 15W 5V 3A Quick Charge, follows USB PD specification
''':''' Modem, & Bluetooth, Microphone, Cameras
'''[[#Battery|Battery]]:''' -..(nominally replaceable with any Samsung J7 form-factor battery)
'''I/O:''' USB Type-C, USB Host, DisplayPort Alternate Mode output, 15W 5V 3A Quick Charge, follows USB PD specification
Hardware Revisions ==
# [[Project Don't be evil|"Project Don't Be Evil" devkit]]
be -. -.
# [[PinePhone v1.0 - Dev|PinePhone v1. 0 - Developer batch]]
# [[PinePhone v1. 1 - Braveheart]]
Hardware Addons ==
The PinePhone has 6 "pogo pins" on the back allowing for custom hardware extensions such as wireless charging or an IR blaster. The pogo pins provide access to an interrupt line, power input to charge the battery, 3.3v power source, and an I2C interface.
pogo.The pogo pins, the .
'''A step/stl/stp (3D model) file for the back cover is [https://app.box.com/s/g1n9cvg60cg66utdhs7m5my1ftvd0jj8 freely available] for creating custom cases that interface with the pogo pins. '''
the back for custom pogo pins .
= Killswitch configuration ==
PinePhone features six switches that can be used to configure its hardware. They are numbered 1- 6, with switch 1 located nearest to the modem. Their on position is toward the top of the phone.
The thatbe . -, the . on the of .
[[File:PinePhone- main- board. jpg|600px|thumb|centre|Photo of Developer mainboard courtesy of Martijn Braam, postmarketOS]]
PinePhone --. of ,
# Modem: On enables 2G/3G/4G communication and GNSS hardware, off disables.
# WiFi/ BT: On enables Wi-Fi and Bluetooth communication hardware, off disables.
# Microphone : On enables audio input from on-board microphones (not 3. 5mm jack), off disables.
# Rear camera : On enables the rear camera, off disables.
# Front camera : On enables the front camera, off disables.
# Headphone : On enables audio input and output via the 3. 5mm audio jack, off switches the jack to hardware UART mode.
Onenables 2G/3G/4G communication and GNSS hardware, offdisables .
Onenables and Bluetooth communication hardware, offdisables .
Onenables audio input from on-board microphones (not 3.jack), offdisables .
Onenables the rear camera, offdisables .
Onenables the front camera, offdisables .
Onenables audio input and output via the 3.audio jack, offswitches the jack to hardware UART mode
== Battery ==
== Battery ==
The [https://wiki.pine64.org/images/0/04/PinePhone_Battery_model_QZ01-396172-2750.pdf supplied battery] is [https://forum.pine64.org/showthread.php?tid= 8120&pid= 53307#pid53307 meant to be] compatible with Samsung part number EB-BJ700BBC / BBE / CBE from the 2015 J7 phone. There is [https://forum.pine64.org/showthread.php?tid= 8563&pid= 55053#pid55053 a report] that the EB-BJ700CBE isn't quite the same size, causing the back not to fit properly.
The battery terminals, in order from nearest the edge to nearest the middle, are:
# not connected
The battery includes a protection circuit that isolates it in a number of fault conditions, including if it is discharged too far. The fully discharged battery [https:// forum.pine64.org/ showthread. php?tid=8563&pid=55377#pid55377 can be recharged] by connecting the phone to a charger. Once it has charged sufficiently you wil be able to boot the phone.
'''When you first receive your Pinephone you will need to remove the plastic tab under the battery terminals to boot it! This is to protect it from turning on during shipping. '''
== Modem and Carrier Support ==
To check if the PinePhone is supported on your carrier:
Search for your carrier on [https:// www. frequencycheck. com/ frequencycheck. com] and compare the carrier's LTE/ GSM/ WCDMA frequencies to the PinePhone's supported frequencies (listed under the [[ #Specifications|specifications]] section).
It is likely that there will be a few frequencies that your carrier uses which are not supported by the PinePhone. Not all of the carrier's frequencies need to be supported by the PinePhone for it to work - as long as ''most'' of them are supported, you will still get good coverage.
== Operating Systems ==
See [ [PinePhone Software Release]] for the main article. The PinePhone will automatically boot from microSD if a bootable card is inserted. Although it is technically possible to use any ARM distro (because the PinePhone uses the mainline kernel), there are a few that are designed specifically for phones:
[[#Ubuntu Touch|Ubuntu Touch]]
[#Sailfish OS|Sailfish OS]]
[[#Maemo Leste|Maemo Leste]]
=== postmarketOS ===
postmarketOS is a preconfigured version of [https:// www. alpinelinux.org/ Alpine Linux] for mobile devices. The latest builds can be downloaded from the [https:// images.postmarketos. org/ pinephone/ images page] to be flashed to the PinePhone.
More information is available at [ https: //postmarketos. org postmarketos. org] and on their [ https: //wiki. postmarketos. org/wiki/PINE64_PinePhone_(pine64- pinephone) dedicated PinePhone wiki page].
=== Ubuntu Touch ===
ubuntu- touch. io/ Ubuntu touch] is a mobile version of Ubuntu developed by the UBports community. Images can be downloaded from [https:// ci. ubports.com/ job/ rootfs/ job/ rootfs- pinephone/ here] . The default password is <code>phablet</code>. In the future, Ubuntu Touch will be able to be installed onto the PinePhone with the [https:// ubuntu-touch. io/ get-ut UBports installer] GUI tool.
=== Sailfish OS ===
The latest Sailfish OS image can be installed using the [https:// raw. githubusercontent.com/ sailfish- on- dontbeevil/flash- it/master/flash- it. sh flashing script] .
The script downloads the image and bootloader, extracts everything and burns it onto the SD card. '''Note: ''' The script will format and erase the SD card!
# Download the flashing script
# Insert a microSD card in your device
# Make the script executable: <code>chmod +x flash-it.sh</code>
# Execute it: <code>./flash-it.sh</code>
# Follow the instructions. Some commands in the script require root permissions.
Nemo Mobile = ==
Nemo Mobile is the open source build of Sailfish OS. The latest images for the PinePhone are released [https://github.com/neochapay/nemo-device-dont_be_evil/releases here].
=== Maemo Leste ===
maemo- leste. github. io/ Maemo Leste] images can be downloaded [https:// maedevu. maemo. org/ images/ pinephone-dontbeevil/ here]. The default username is <code>root</ code> and the password is <code>toor</code>
= LuneOS ===
www. webos- ports.org/ wiki/ Main_Page LuneOS] downloads are available [ http:// build. webos- ports. org/ luneos- testing/ images/ pinephone/ here] .
=== Manjaro ===
https: //wiki.manjaro.org/index.php Manjaro] downloads are available [ https: //osdn.net/projects/manjaro-arm/storage/pinephone/ here] .
Rendering of the PinePhone Beta Edition
The PinePhone is a smartphone created by PINE64. It is capable of running mainline Linux and is supported by many partner projects.
The Braveheart Edition of the PinePhone was the first publicly available version of the phone. It shipped without a fully functional operating system and was geared specifically towards early adopters. The Braveheart Edition's successors were the Community Editions, which featured a branded backcover and box of selected community projects. The Community Editions became available in June 2020. The Beta Edition featuring Manjaro with Plasma Mobile is the latest edition, it became available in March 2021.
The PinePhone is not a regular phone and you might not get the latest and greatest hardware and this years' newest innovation. You will get a device with good mainline support with a great community behind it.
State of the software
First things first, the PinePhone is aimed solely at early adopters - more specifically, the units are solely intended to find their way into the hands of users with extensive operating system experience.
Bear in mind that the software for these smartphones is very early, with most of the software being in alpha or beta state. That's especially also the case for scalability of applications, their availability and practicability, any hardware function implementations and the firmware. The software is provided as is. There is no warranty for the software, not even for merchantability or fitness for a particular purpose.
If you have any questions regarding the current state of the software or of specific features working, please don't hesitate to ask in the community chat (see Main Page#Community and Support)!
Help and support
Still have any questions regarding software, shipping, or ordering after reading this wiki? Please don't hesitate to contact the community in the bridged community channels for detailed answers or simply to chat with friendly people in the community! See Main Page#Community and Support.
Please keep in mind that PINE64 is not like a regular company (see the PINE64 philosophy) and that support resources are limited - the best way to get support quickly is to ask in the community chat! Please only contact the PINE64 support directly if questions couldn't be solved via the community chat or this wiki.
First time installation
A protection foil isolates the battery for the shipping.
When shipped the battery is isolated from the device using a protective plastic tab, which is required to be removed before using the phone. The battery will not charge or boot until it is removed and the battery is connected again.
Note: To remove the sticker after unboxing the phone: Carefully remove the back panel using the notch in the corner of the back cover without overbending it. Then remove the battery. Peel off the clear plastic sticker below it, which isolates the charging contacts and reinsert the battery.
The PinePhone's SIM slot only accepts a micro-SIM, please do not insert a nano-SIM without an adapter and make sure that the nano-SIM does not get released from its adapter. The SIM card has to be placed in the lower slot, while the microSD has to be placed in the upper slot.
Note: Do not insert an empty micro-SIM adapter into the phone and do not release the nano-SIM inside the adapter, as it will get stuck on the contact pins. If the nano-SIM got released inside the adapter inside the phone, carefully reinsert the nano-SIM card without moving the adapter. In that case do not pull on the empty adapter as it will get stuck on the contact pins and damage them!
The microSD belongs in the upper slot, the micro-SIM in the lower slot.
An adapter from a nano to a micro-SIM might be included under tape in the camera notch of the phone's packaging. Some nano-SIMs will not fit firmly into that adapter that comes with the PinePhone and if the included adapter is used without a well-fitting nano-SIM, the contact pins might get damaged. In that case it is highly recommended to acquire a better fitting adapter.
The PinePhone will automatically boot from microSD if a bootable card is inserted. Although it is technically possible to use any ARM distribution (because the PinePhone uses the mainline kernel), there are a few that are designed specifically for mobile use on devices like the PinePhone.
The PinePhone Software Releases page has a complete list of currently supported phone-optimized Operating System images that work with the PinePhone as well as other related software information. As soon as more patches get mainlined and distributions ship with the updated kernel, they will also be able to run unmodified on the device. To update any installed operating system please see PinePhone Updating Instructions.
For instructions on how to install the operating systems to the eMMC or SD card see PinePhone Installation Instructions.
Relevant subsections of the article for installing OSes to the PinePhone are:
- Dimensions: 160.5 x 76.6 x 9.2mm
- Weight: Between 180 ~ 200 grams
- SIM Card: Micro-SIM
- Size: 5.95 inches (151mm) diagonal
- Type: HD IPS capacitive touchscreen, 16M colors
- Resolution: 1440x720, 18:9 ratio
- System on Chip: Allwinner A64
- RAM: 2GB or 3GB LPDDR3 SDRAM
- Internal Storage: 16GB or 32GB eMMC, extendable up to 2TB via microSD, supports SDHC and SDXC
- Back Camera: Single 5MP, 1/4", LED Flash
- Front Camera: Single 2MP, f/2.8, 1/5"
- Sound: Loudspeaker, 3.5mm jack & mic (jack doubles as hardware UART if hardware switch 6 is deactivated)
- Modem: Quectel EG25-G
- LTE-FDD: B1, B2, B3, B4, B5, B7, B8, B12, B13, B18, B19, B20, B25, B26, B28
- LTE-TDD: B38, B39, B40, B41
- WCDMA: B1, B2, B4, B5, B6, B8, B19
- GSM: B2, B3, B5, B8 (850, 900, 1800, 1900 MHz)
- WLAN: Wi-Fi 802.11 b/g/n, single-band, hotspot
- Bluetooth: 4.0, A2DP
- GNSS: GPS/GLONASS/BeiDou/Galileo/QZSS, with A-GPS
- Sensors: Accelerometer, gyroscope, proximity, ambient light, compass
- Privacy switches: Modem, WiFi & Bluetooth, Microphone, Cameras
- Battery: Lithium-ion, rated capacity 2800mAh (10.64Wh), typical capacity 3000mAh (11.40Wh) (nominally replaceable with any Samsung J7 form-factor battery)
- I/O: USB Type-C, USB Host, DisplayPort Alternate Mode output, 15W 5V 3A Quick Charge, follows USB PD specification
|Ambient light / Proximity
|Accelerometer / Gyroscope
||Buttons connected to the KEYADC
|Battery fuel gauge
See the PinePhone Component List.
The history of the PinePhone CEs
The following are all hardware revisions of the PinePhone that have existed, ordered by the time of their releases:
The PinePhone (and PinePhone Pro) is compatible with the official add-on cases, such as the keyboard, the LoRa add-on, the Qi wireless charging add-on and the fingerprint reader add-on. Details can be found under:
See PinePhone Hardware Accessory Compatibility for a list of devices working with the PinePhone (depending on their OS support).
The USB-C can be used to power the device, and offers USB2 host and OTG capabilities, and also can make use of the USB-C capability to integrate HDMI signals. Some USB-C hubs are available that offer power throughput, USB connection, an HDMI port and Ethernet connection.
The pogo pins, as visible under the back cover.
The PinePhone has six pogo pins on the back allowing for custom hardware extensions such as wireless charging, an IR blaster, a keyboard extension or extended battery case. The pogo pins provide access to an interrupt line, power inputs/outputs and an I2C interface.
DCIN and USB-5V are the names used in the schematics. The actual behavior of these pogo pins is not obvious based on their names. DCIN is connected both to the VBUS line of the USB Type-C connector and to the ACIN/VBUS inputs on the PMIC. This means that, depending on a number of factors, DCIN may be at 0 V or 5 V. USB-5V is connected at the output of an LP6226 DC/DC boost converter (5 V), which in turn is fed by the PS output of the PMIC. The boost converter is enabled or disabled by a GPIO output from the A64 SoC, controlled by software (e.g. the Linux kernel). Depending on inputs and decision made by the PMIC, PS may be at the battery voltage (fed "directly" by the battery through a transistor controlled by the PMIC), or at the "USB" voltage (fed by the PMIC's ACIN/VBUS inputs). This means that depending on a number of factors, USB-5V may be at battery voltage (between 3.0 V and 4.3 V), or at 5 V.
Because the PinePhone may act as a USB host (providing 5 V at the USB Type-C connector's VBUS to a connected device) or as a USB device (drawing from a 5 V source on the USB Type-C connector's VBUS), DCIN is actually not strictly an input nor an output. Some community analysis of the PinePhone schematic (and some testing) indicates that you can connect a 5 V power supply to DCIN in order to power the phone at the PMIC's ACIN/VBUS inputs (and, as a side effect, charge the battery). This may not be safe to do in all conditions, e.g., when the phone is acting as a USB host to a connected USB device. It should also be safe to use DCIN as a power output from the PinePhone, e.g., when a USB Type-C charger is connected, you can draw current directly from the USB Type-C port's VBUS, which is provided by the charger. Please note that, when using DCIN as an output from the PinePhone, DCIN isn't "always on"; it may be 0 V. It is currently not documented on how much current can be safely drawn.
USB-5V should be safe to use as an "always on" power output from the PinePhone. Depending on a number of factors, voltage may be from 3 V to 5 V; thus, if you are using USB-5V to power your pogo-pins expansion board, you will probably need to use DC/DC converters/regulators as appropriate. USB-5V is on even while the A64 SoC is powered down.
The I2C and interrupt lines have pull-ups on the phone side. The I2C lines are pulled up to 3v3 by the phone.
For a breakout board see here. For an example project see Martijn's blog post "Making a backcover extension for the PinePhone".
PINE64 store currently sells the PinePhone Flex Breakout Board. With the pitch being 2.54 mm, this Flex Breakout Board may have leads soldered directly to the contacts for use in a solderless board. A non-soldered solution would be to use a TE AMP Connector that will accept a Flat Flexible Cable 2.54 mm pitch.
A step file for the back cover for creating custom cases is freely available here.
Pinout of the serial adapter.
The PinePhone has a serial port in the headphone connector, it's activated by the 6th contact on the dipswitch. If the switch is set to "on", the headphone connector is in audio mode, if it is set to "off" it's in UART mode. The UART serial connection can also be used for communication with other devices from the PinePhone.
The UART is 115200n8.
The pinout for the serial connector is:
- Tip: RX
- Ring: TX
- Sleeve: GND
You can buy a serial debug cable from the PINE64 Store. The store cable uses a 4 ring plug, as seen in the here, but a 3 ring plug works just as well. The cable uses a CH340 chipset based serial to USB converter, but any 3.3v serial connection can be used. Because it is a "host"/DTE it means that you need a cross modem cable (Null Modem) with TX on Tip to be connected to RX. A cable like e.g. FTDI TTL-232R-3V3-AJ which has TX on Tip and RX on Ring fits perfectly.
Privacy switch configuration
Picture of the privacy switches
The PinePhone features six switches that can be used to configure its hardware. They are numbered 1-6, with switch 1 located nearest to the modem. Their "on" position is toward the top of the phone.
||Pulls Q1501 gate up (FET killing modem power)
||"On" enables 2G/3G/4G communication and GNSS hardware, "off" disables it.
||WiFi / Bluetooth
||Pulls up CHIP_EN
||"On" enables WiFi and Bluetooth communication hardware, "off" disables it.
||Breaks microphone bias voltage from the SoC
||"On" enables audio input from on-board microphones (not 3.5 mm jack), "off" disables it.
||Pulls up PWDN on OV5640
||"On" enables the rear camera, "off" disables it.
||Pulls up PWDN on GC2145
||"On" enables the front camera, "off" disables it.
||Pulls up IN2 on analog switch BCT4717ETB
||"On" enables audio input and output via the 3.5 mm audio jack, "off" switches the jack to hardware UART mode.
The PinePhone has two cameras, OmniVision OV5640 with 5MP (up to 2592 x 1944 pixels) as rear camera and GalaxyCore GC2145 with 2MP (up to 1600 x 1200 pixels) as front camera.
Example picture taken on the PinePhone's rear camera by Martijn Braam using his app Megapixels
Further details regarding the camera and the Megapixels camera app can be found on Martijn's blog.
The EG25-G modem and the RTL8723CS WiFi and Bluetooth combo do not work without battery power, even when enough power is supplied to the PinePhone via the USB Type-C port.
The phone ships with a protective plastic sticker between the battery and the phone to protect the device from turning on during shipping. You need to gently open the back cover, then remove the battery and finally remove the sticker and check that the pins aren't bent. Note: If the battery is stuck inside the phone, the mid screw in the lower part of the midframe needs to be slightly loosened, see here.
The supplied battery is meant to be compatible with Samsung part number EB-BJ700BBC / BBE / CBE from the 2015 J7 phone. The extended life aftermarket BBU does fit, although it is a tight fit.
The battery terminals, from the nearest to the battery edge to the nearest to the middle of battery, are as follows:
The battery includes a protection circuit that isolates it in a number of fault conditions, including if it is discharged too far. The fully discharged battery can be recharged by connecting the phone to a charger with a sufficient output. Once it has charged sufficiently you will be able to boot the phone.
The PinePhone uses Quectel EG25-G as modem. AT commands are used to communicate with the modem.
A list of documented AT commands can be found for example in this AT commands documentation from Quectel. Further undocumented AT commands found by the developer megi, who reverse-engineered parts of the modem and its firmware, can be found on megi's website here.
To send AT commands to the modem under Linux,
minicom or the often-preinstalled
atinout - /dev/EG25.AT out.txt << EOF
> AT+... command here
cat ./out.txt # to see the result of a command execution
minicom -D /dev/ttyUSB2
The PinePhone's modem supports VoLTE and comes with a few VoLTE profiles preloaded. Most OSes try to set the correct profile automatically.
To list the available VoLTE profiles:
To select a profile manually, select the best fitting one or a generic one if none fits:
Then enable Voice over LTE using:
And reboot the modem to apply the settings:
To check the status of VoLTE during a call, the AT command
CLCC can be used:
In the fourth item of the list, "0" means voice and and "1" means data. If both rows have "1" then the voice call is being carried over VoLTE.
The APN setting is only required for a public Internet connection ("data") on the phone. For tested APN settings and how to apply them see PinePhone APN Settings.
The page PinePhone Carrier Support contains information about the frequency support of different carriers and hints on setting up cellular network connectivity.
Detailed information about the modem can be found on the page of the developer megi, including reverse-engineered parts of the firmware and its functions. There is also a document about using the modem from January 18th 2020 by megi here. A script at the end of the document showcases a way to poweroff the modem before powering off the phone, which is integrated into most of the available OSes.
The following instructions are directed towards professional users. It is highly recommend to make sure the update process is not interrupted to prevent the modem from bricking.
The modem firmware can be updated to a newer version if it is outdated. The firmware version can be checked using the following AT command (at the example of
minicom can be used to communicate with the modem too):
echo 'AT+QGMR' | sudo atinout - /dev/ttyUSB2 -
If the version number is 01.001.01.001 (EG25GGBR07A08M2G_01.001.01.001) it is recommended to update the firmware to version 01.002.01.002 (EG25GGBR07A08M2G_01.002.01.002) due to various bug fixes.
Please make sure all requirements of the checklist are fulfilled. If the update process is interrupted it will lead to a corrupted firmware of the modem, causing it to brick. Recovering a bricked modem is exponentially more complicated and requires the user to boot a special mode by physically bridging test points on the modem.
- The battery needs to be charged sufficiently
- The phone needs to be plugged into a charger
- Deep sleep is recommended to be disabled as it can interrupt the update process
- It is recommended to close all other running applications
- Use common sense while doing the update, don't do the update while being impaired in any way
To get the latest firmware, clone the repository of user Biktorgj on the phone:
git clone https://github.com/Biktorgj/quectel_eg25_recovery
After cloning the directory, open it with cd:
Then run qfirehose, which starts the flashing process:
sudo ./qfirehose -f ./
The modem will automatically reboot after the update process is done. The boot process takes around 30 to 60 seconds. After that it is highly recommended to reboot the device.
See PineModems for more information regarding modem bootloader unlocking, building a custom modem firmware and modem recovery.
GPS / GNSS
The GPS engine in the modem supports mutli-GNSS reception from GPS, GLONASS, BeiDou, Galileo and QZSS independent of a cellular connection. The operation of the GNSS subsystem can be controlled via a separate set of AT commands, or via qmi. The AGPS data upload uses the file management AT commands, which also have their own manual. These are linked in the documentation section below.
As with most smartphones, the PinePhone has a small antenna and has difficulty getting a first fix without assistance data, a cold start can take 15 minutes under good conditions. eg25-maanger is configured to upload AGPS data by default.
Basic testing of GNSS reception can be done by using the AT command interface (/dev/ttyUSB2) from a terminal progam like minicom and the data output interface (/dev/ttyUSB1) to feed NMEA data into gpsmon or some other progam that can parse standard NMEA sentences.
gpsmon decoding GPS data from /dev/ttyUSB1
To check if GNSS data output is enabled, you can
this should display a stream of NMEA sentences
The operating systems of the PinePhone may not have support for accessing your voicemail by holding down the 1-key. Carriers might support accessing the voice mail via an external number however. If you are in Canada and using rogers or a rogers associated carrier (such as Chatr), you can access your voice mail by calling an external number, see here. In America, AT&T also has support for accessing your voicemail via an external phone number, see here.
Due to the greater control the user is having over the device and its software comes also greater responsibility. It is necessary to verify the configuration of the device to make sure that responsible settings are used. The different operating systems may come with non-sane default settings, including SSH with weak password authentication being enabled by default and exposed to the public Internet, the absence of a firewall, default passwords, unencrypted files, too high temperature zones and emergency shutoff values or an enabled root account. The usage of public resources to verify such settings (such as the in case of GNU/Linux, the Arch Linux security wiki page, or the general recommendations) as well as the corresponding operating system's or distribution's resources are strongly recommended.
The PinePhone supports up to 5V 3A (15W) Quick Charge, it follows the USB Power Delivery specification. Only compatible phone chargers may be used, charging the phone with incompatible chargers (for example laptop chargers with a higher voltage) is prohibited. Charging the phone releases heat, general safety recommendations must be followed, see the section Thermal safety.
With the Allwinner A64 being an older generation SoC with a large 40nm chip, the phone produces quite some heat with medium or higher use and especially also during charging or when using USB accessories, like a docking station. Measurements to prevent damage to the phone and to its surroundings need to be taken by the user. This includes especially a proper handling of the phone: do not charge the phone in a way where heat builds up around the phone without being able to escape. Especially don't charge your phone under a pillow, blankets, in pockets or bags. Charging the phone produces heat and charging the phone in a way, where the excessive heat can't dispose around the phone poses an immediate fire risk.
The user might notice that the phone gets warm under usage, compared to phones with more up-to-date hardware. Under normal circumstances these temperatures don't pose a risk while being in the levels within the safe operating temperatures (which lay far beyond the point where components can be too hot to touch). Higher temperatures might especially be experienced on the top side of the screen and on the inside of the phone at the RF shield of the modem. The higher temperature of the RF shield of the modem is commonly caused by the SoC on the opposite side of the mainboard, the RF shield of the modem is used to disperse heat of the SoC. In newer mainboard revisions starting from 1.2a there are also thermal pads on the back cover and between the SoC's RF shield and the screen, dispersing heat on the screen and on the back cover. In the past there has been safety issues regarding thermal safety functions, causing temperature reads to not properly work over an extended period of time, which was causing heat damage in some cases (see the documentation of that issue by the developer Megous here and here). While the developers are working hard to prevent such issues, they can't be excluded under all circumstances (see state of the software). The users are expected to monitor their phones' thermal safety at every point at this state of the software.
It is highly recommend to update the phone on a regular basis to always get the latest improvements. The default settings to throttle the performance and to shut down the phone when reaching critical temperatures might be set to a too high point depending on the specific usage and usage length. Under GNU/Linux the phone's thermal management behavior can be modified via the Thermal Sysfs driver to achieve lower temperatures and preventing the screen and other components to potentially take damage, see PinePhone Thermal Tweaks for the details.
Frequently asked questions
For a list of frequently asked questions (including information regarding the shipping) see PinePhone FAQ.
Modifications and repairs
Swapping in a new mainboard revision
The mainboard can be replaced, for example for upgrading to a newer hardware revision or if it is faulty. The replacement board does not have an OS preinstalled, to test if everything is working after swapping the mainboard a flashed SD card is required. The mainboard also comes with a non-functional firmware on the ANX chip, a newer firmware version has to be flashed as explained below to get certain USB functionality to work.
Replacing the mainboard
Replacement boards come with an empty eMMC, which means that trying to boot from them looks like the board is faulty (no LEDs, no screen, no reaction of the phone). Please boot an OS from SD card.
Prior to replacing your PinePhone’s mainboard please read the steps outlined in bullet points below and watch the attached video.
- You’ll need a small Phillip’s screwdriver and a prying tool to swap out the PinePhone’s mainboard.
- Remove the PinePhone’s back cover. See your quick start guide for details.
- Remove the battery as well as any inserted SD and SIM cards.
- Unscrew all 15 Phillip’s head screws around the midframe of the phone.
- Gently pry up the midframe using a guitar pick or credit card corner. It is easiest to separate the midframe at one of the bottom edges. Work your way around all the sides of the phone until the midframe separates from the phone’s body.
- Detach all ribbon cables and “Lego” connectors. List of things to detach: 1) two “Lego” connects at the bottom of the mainboard. 2) u.FL antenna connect and touchscreen digitizer on PCD left side. 3) LCD ribbon cable top of mainboard, next to audio/ UART jack.
- Pry the mainboard up gently from the left-hand side.
- Remove front and main cameras and reset them into the new mainboard.
- Check that the rubber proximity sensor housing is in the chassis, not stuck to the removed mainboard.
- Place the new mainboard in the chassis, hooking in on the plastic tabs on left side and pressing down firmly on opposite side, and follow the steps (7-2) in reverse. When reattaching the midframe take care that no cables are out of place or trapped, as they may be damaged when tightening screws.
After swapping the mainboard the phone won't boot as there is no OS on the replacement board's eMMC preinstalled. To boot an OS insert a flashed SD card.
A video tutorial by Martijn Braam can be found here (or alternatively a video tutorial by user brigadan with additional notes about the camera swap and proximity sensor isolator here):
Flashing the ANX firmware
After swapping the mainboard the ANX7688 chip has to be flashed for full USB functionality.
Under GNU/Linux this can be done by downloading the latest ANX7688 firmware image on the phone:
and executing as root ("sudo su") on the phone:
cp anx7688-fw.bin /lib/firmware/
echo 1 > /sys/class/typec/port0/device/flash_eeprom
Booting a factory test image will automatically flash the ANX7688 chip. See Factory Test OS for such an image.
Replacing the screen
Before attempting to replace the screen be sure to review the section on replacing the mainboard since that will get you most of the way there. Be aware that the replacement screen is actually the entire front frame of the phone and there are components that will need to be swapped from your old screen.
- Make sure you have a precision screwdriver set that has the correct size Philips tip. The screws are very small and the heads can easily be stripped if the screwdriver is not correct - if you feel your screwdriver slipping, stop what you are doing and try one that is a better fit. A magnetized screwdriver will help in not losing screws, as will a magnetic parts holder to keep them in while working.
- There are a number of components and cables as well as the insulator sheet under the battery that are glued in place. A hair dryer will loosen the glue and make them much easier to remove. You may want to order extra cables along with the screen just in case.
- The vibration motor, which is part of the USB-C board assembly and glued into place, will come apart easily and be damaged if you pry it up in the wrong place. Make sure you pry from underneath the complete part, not midway on its housing. The ribbon cable attaching this to the USB-C board is small, thin, and fragile so be careful with that as well.
- The new screen comes with new side switches and insulator sheet but there are a number of parts that need to be transferred from the old screen, like the thin coax cable running up the side, the phone ear speaker, proximity sensor gasket, and a gold-colored mesh glued in place that needs to be transferred to a flexible circuit included on the new screen. If you don't swap over the proximity sensor rubber gasket the screen will immediately turn off after logging in. Be careful when routing the coax cable that it goes around the screw holes or you may drive a screw right through the cable.
Take your time, use the right tools, be careful and you should be rewarded with success.
Spare parts not available in the PINE64 store
- Earpiece dimensions: 12x6x2 mm. Compatible with Xiaomi Mi2 / Mi3 / Mi4 and others, see here
- Loudspeaker dimensions: 15x11x3 mm. Compatible with Nokia N91, Lenovo A536 (requires soldering) and others, see here
- Proximity sensor rubber isolator
Other hardware issues
See also PinePhone Hardware Issues for more issues and how-to's.
For an overview about media of the PinePhone you can use for the news, blogs, or similar see PinePhone Press.
PinePhone board information, schematics and certifications
- PinePhone mainboard schematic:
- PinePhone USB-C small board schematic:
- PinePhone certifications:
Datasheets for components and peripherals
- Allwinner A64 SoC information:
- X-Powers AXP803 PMIC (Power Management IC) information:
- LPDDR3 (178 Balls) SDRAM:
- CMOS camera module information:
- LCD touch screen panel information:
- Lithium battery information:
- WiFi/BT module information:
- Digital video to USB-C bridge:
- The following resources have been made available by Ondřej Jirman, a developer for the Pinephone:
- PinePhone Development