Difference between revisions of "PinePhone"

From PINE64
Jump to: navigation, search
(Maemo Leste)
 
(121 intermediate revisions by 20 users not shown)
Line 1: Line 1:
= Phase 3 (final) of PINE64 Smartphone "PinePhone"  =
+
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 fully functional OS (factory test image) 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.
PINE64 Smartphone dubbed "PinePhone" is used in the community effort privacy smartphone and collaborates with mobile OS developers/communties.  
+
PinePhone development has been broken down into three distinct phases:
+
* First phase - Project Anakin
+
* Second phase - purpose-built development kit code named "Don't be evil" and introduced at FOSDEM 2019
+
* Lastly, the third phase which is the PinePhone itself - scheduled to be prototype released in September 2019 and early developer access batch released in Q4 2019 (pending on software development).
+
  
== PinePhone Concepture Photo ==
 
[[File:PinePhone_concepture_drawing.jpg]]
 
  
== PinePhone Case Photos ==
 
[[File:PinePhone_Photo-4.jpg]]
 
[[File:PinePhone_Photo-2.jpg]]
 
[[File:PinePhone_Photo-3.jpg]]
 
  
== Phone Information ==
 
* LAUNCH:
 
** Announced: FOSDEM 2019, dated: 2 February 2019
 
** Prototype: Q3, 2019
 
** Expected Released: late Q4, 2019, pending on software availability
 
** Availability: at least 5 years
 
* BODY:
 
** Dimensions: 160.5mm x 76.6mm x 9.2mm
 
** Weight: Between 180-200 gram
 
** Build: Plastic
 
** SIM: Micro-SIM
 
  
* DISPLAY:
+
== "BraveHeart" PinePhone Unboxing and First Time Preparation Guide ==
** Type: HD IPS capacitive touchscreen, 16M colors
+
** Size: 5.95 inches
+
** Resolution: 1440x720 pixels, 18:9 ratio
+
  
* PLATFORM:
+
From the factory the battery has a sticker on it that isolates the battery from the phone.  The battery '''will not''' charge until this is removed.
** OS: Various open source mainline Linux or BSD mobile OSes
+
** Chipset: Allwinner A64
+
** CPU: Quad-core 1.2 GHz ARM Cortex A-53
+
** GPU: MALI-400
+
  
* MEMORY:
+
After unboxing remove the back panel.  Then remove the battery and peel off the clear plastic below it that isolates the charging contact. Then replace the battery.
** Internal: 16-64GB eMMC, 2GB-3GB LPDDR3 SDRAM
+
** Expansion: micro SD Card support SDHC and SDXC
+
  
* CAMERA:
+
If you power on the phone the factory test image will boot. RTL8723CS (WiFi modem)  will fail unless there is a WiFi network in range for it to see and the battery is charged.  EG25 will fail until battery is changed.
** Main Camera: Single 5MP, 1/4", LED Flash
+
** Selfie Camera: Single 2MP, f/2.8, 1/5"
+
  
* SOUND:
+
By default there is no true OS image installed on Braveheart phones. An SD card with a bootable image needs to be inserted into the phone.  See section 12 below for a list of OS options. Note the SD and sim sockets are stacked on each other  The SD slot is the "shallower" socket and the SIM card goes in the "deeper" socket.
** Loudspeaker: Yes
+
** 3.5mm jack with mic: Yes
+
  
* COMMUNICATION:
+
'''Some videos that illustrate the process:'''
**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: 850/900/1800/1900MHz
+
** WLAN: Wi-Fi 802.11 b/g/n, single-band, hotspot
+
** Bluetooth: 4.0, A2DP
+
** GPS: Yes, with A-GPS, GLONASS
+
** NFC: No
+
** FM Radio: No
+
** USB: type C (SlimPort), USB Host, DisplayPort Alternate Mode output
+
  
* FEATURES:
+
[https://www.youtube.com/watch?v=ACcxegtDVBI Excellent first time guide video from Rob Braxman Tech]
** Sensors: Accelerometer, gyro, proximity, ambient light, magnetometer(compass)
+
** Actuator: Vibrator
+
** Privacy Switches: LTE (include GPS), Wifi/BT, Mic, and Camera
+
  
* BATTERY:
+
[https://www.youtube.com/watch?v=Z0FMW72_OYcI Flash an OS to microSD card video from Rob Braxman Tech]
** Removable Li-Po 3000-3300 mAh battery
+
** Charging: USB type-c, 15W 5V 3A Quick Charge, follows USB PD specification
+
  
* PRICE:
+
== Specifications ==
** USD $150 (16GB eMMC/2GB LPDDR3 SDRAM configuration)
+
 
 +
'''Dimensions:''' 160.5 x 76.6 x 9.2mm <br>
 +
'''Weight:''' Between 180-200 grams <br>
 +
'''SIM Card:''' Micro-SIM <br>
 +
'''Display:'''
 +
: '''Size:''' 5.95 inches (151mm) diagonal
 +
: '''Type:''' HD IPS capacitive touchscreen, 16M colors
 +
: '''Resolution:''' 1440x720, 18:9 ratio <br>
 +
'''System on Chip:''' [https://linux-sunxi.org/A64 Allwinner A64] <br>
 +
'''RAM:''' 2GB LPDDR3 SDRAM <br>
 +
'''Internal Storage:''' 16GB eMMC, extendable up to 2TB via microSD, supports SDHC and SDXC <br>
 +
'''Back Camera:''' Single 5MP, 1/4", LED Flash <br>
 +
'''Selfie Camera:''' Single 2MP, f/2.8, 1/5" <br>
 +
'''Sound:''' Loudspeaker, 3.5mm jack & mic (jack doubles as hardware UART if killswitch 6 is deactivated) <br>
 +
'''Communication: [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
 +
: '''GSM:''' 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, gyro, proximity, ambient light, compass <br>
 +
'''[[#Killswitch configuration|Killswitches]]:''' Modem, Wifi & Bluetooth, Microphone, Cameras <br>
 +
'''[[#Battery|Battery]]:''' [https://wiki.pine64.org/images/0/04/PinePhone_Battery_model_QZ01-396172-2750.pdf Lithium ion] Rated Capacity 2800mAh (10.64Wh), Typical Capacity 3000mAh (11.40Wh) (nominally replaceable with any Samsung J7 form-factor battery) <br>
 +
'''I/O:''' USB Type-C (SlimPort), USB Host, DisplayPort Alternate Mode output, 15W 5V 3A Quick Charge, follows USB PD specification
 +
 
 +
== PinePhone Board Information, Schematics and Certifications ==
 +
* PinePhone Main Board Schematic:
 +
** [http://files.pine64.org/doc/PinePhone/PinePhone%20Schematic%20v1.1%2020191031.pdf "Braveheart" PinePhone mainboard Schematic ver 1.1]
 +
** [http://files.pine64.org/doc/PinePhone/PinePhone%20mainboard%20top%20placement%20v1.1%2020191031.pdf "Braveheart" PinePhone mainboard component top placement drawing ver 1.1]
 +
** [http://files.pine64.org/doc/PinePhone/PinePhone%20mainboard%20bottom%20placement%20v1.1%2020191031.pdf "Braveheart" PinePhone mainboard component bottom placement drawing ver 1.1]
 +
* PinePhone USB-C Small Board Schematic:
 +
** [http://files.pine64.org/doc/PinePhone/PinePhone%20USB-C%20small%20board%20schematic%20v1.0%2020190730.pdf "Braveheart" PinePhone USB-C small board Schematic ver 1.0]
 +
** [http://files.pine64.org/doc/PinePhone/PinePhone%20USB-C%20small%20board%20top%20placement%20v1.0%2020190730.pdf "Braveheart" PinePhone USB-C small board component top placement drawing ver 1.0]
 +
** [http://files.pine64.org/doc/PinePhone/PinePhone%20USB-C%20small%20board%20bottom%20placement%20v1.0%2020190730.pdf "Braveheart" PinePhone USB-C small board component bottom placement drawing ver 1.0]
 +
* PINE A64 Certifications:
 +
** Not yet available
 +
 
 +
== Datasheets for Components and Peripherals ==
 +
* Allwinner A64 SoC information:
 +
** [http://files.pine64.org/doc/datasheet/pine64/A64%20brief%20v1.0%2020150323.pdf Allwinner A64 SoC Brief Introduction]
 +
** [http://files.pine64.org/doc/datasheet/pine64/A64_Datasheet_V1.1.pdf Allwinner A64 SoC Data Sheet V1.1 (Official Released Version)]
 +
** [http://files.pine64.org/doc/datasheet/pine64/Allwinner_A64_User_Manual_V1.0.pdf Allwinner A64 SoC User Manual V1.0 (Official Release Version)]
 +
* X-Powers AXP803 PMU (Power Management Unit) information:
 +
** [http://files.pine64.org/doc/datasheet/pine64/AXP803_Datasheet_V1.0.pdf AXP803 PMIC Datasheet]
 +
* LPDDR3 (178 Balls) SDRAM:
 +
** [http://files.pine64.org/doc/datasheet/pinephone/ATL3A1632H12A_mobile_lpddr3_11x11.5_v1.0_1600.pdf Artmem LPDDR3 Datasheet]
 +
* CMOS Camera module information:
 +
** [http://files.pine64.org/doc/datasheet/pinephone/QZ01-rear-2019-0717(HW)%20Model.pdf PinePhone 5M Pixel Real CMOS Image Sensor Module]
 +
** [http://files.pine64.org/doc/datasheet/pinephone/OV5640_datasheet.pdf OV5640 5MP CMOS Image Sensor SoC for Rear Module Datasheet]
 +
** [http://files.pine64.org/doc/datasheet/pinephone/QZ01-front-2019-0717(HW)%20Model.pdf PinePhone 2M Pixel Front CMOS Image Sensor Module]
 +
** [http://files.pine64.org/doc/datasheet/pinephone/GC2145%20CSP%20DataSheet%20release%20V1.0_20131201.pdf GC2145 2MP CMOS Image Sensor SoC for Front Module Datasheet]
 +
* LCD Touch Screen Panel information:
 +
** [http://files.pine64.org/doc/datasheet/pinephone/PinePhone%20LCD-QZ01.pdf 5.99" 1440x720 LCD IPS Panel Specification]
 +
** [http://files.pine64.org/doc/datasheet/pinephone/ST7703_DS_v01_20160128.pdf ST7703 LCD Controller Datasheet]
 +
 
 +
** [http://files.pine64.org/doc/datasheet/pinephone/GT917S-Datasheet.pdf GOODiX GT917S Capacitive Touch Controller Datasheet]
 +
* Lithium Battery information:
 +
** [http://files.pine64.org/doc/datasheet/pinephone/PinePhone%20QZ01%20Battery%20Specification.pdf PinePhone Lithium Battery Specification]
 +
** [http://files.pine64.org/doc/datasheet/pinephone/PinePhone%20QZ01%20Battery%20ZCV%20Curve%20Chart.xlsx PinePhone Lithium Battery ZCV Curve Chart]
 +
* Wifi/BT module information:
 +
 
 +
* LTE module information:
 +
** [http://files.pine64.org/doc/datasheet/pinephone/Quectel_EG25-G_LTE_Specification_V1.0.pdf Quectel EG25-G LTE Module Specification]
 +
** [[Media:Quectel EC25EC21 AT Commands Manual V1.2.pdf|EC25&EC21  AT  Commands  Manual]]
 +
* Sensors:
 +
** [https://www.st.com/en/mems-and-sensors/lis3mdl.html ST LIS3MDL 3-axis Magnetomater Datasheet]
 +
** [https://www.invensense.com/products/motion-tracking/6-axis/mpu-6050/ InvenSense MPU-6050 Six-Axis (Gyro + Accelerometer) MEMS Datasheet]
 +
** [http://www.sensortek.com.tw/en/product/Proximity_Sensor_with_ALS.html SensorTek STK3335 Ambient Light Sensor and Proximity Sensor]
 +
* Digital Video to USB-C Bridge:
 +
** [https://www.analogix.com/en/system/files/AA-002281-PB-6-ANX7688_Product_Brief.pdf ANX7688 Product Brief]
 +
* Case information:
 +
** [http://files.pine64.org/doc/datasheet/pinephone/PinePhone%20Exploded%20Diagram%20ver%201.0.pdf PinePhone Case Exploded Diagram]
 +
** [http://files.pine64.org/doc/datasheet/pinephone/PinePhone%20Back%20Cover.stp PinePhone Back Battery Cover 3D file]
 +
 
 +
== Developer works ==
 +
 
 +
=== Megous ===
 +
[https://xnux.eu/howtos/pine64-pinephone-getting-started.html Getting start with PinePhone Hardware]
 +
 
 +
[https://xnux.eu/devices/pine64-pinephone.html#toc-pine64-pinephone State of development progress]
 +
 
 +
[https://xnux.eu/news.html PinePhone Technical News and Update, also applies to other Allwinner devices including PINE A64 SBC]
 +
 
 +
== Hardware Revisions ==
 +
 
 +
# [[Project Anakin]]
 +
# [[Project Don't be evil|"Project Don't Be Evil" devkit]]
 +
# [[PinePhone v1.0 - Dev|PinePhone v1.0 - Developer batch]]
 +
# [[PinePhone v1.1 - Braveheart]]
 +
 
 +
== Hardware Addons ==
 +
 
 +
===[[PinePhone Hardware Accessory Compatibility]] list===
 +
List of devices working with the PinePhone (depending on OS support)
 +
 
 +
===Pogo Pins===
 +
 
 +
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.
 +
 
 +
'''A step/stl/stp (3D model) file for the back cover is [http://files.pine64.org/doc/PinePhone/PinePhone%20Back%20Cover%20ver%200.5.stp freely available] for creating custom cases that interface with the pogo pins.'''
 +
 
 +
=== Serial console ===
 +
[[File:Uart pinephone connection.gif|250px|thumb|left|UART serial connector for PineBook and PinePhone]]
 +
The PinePhone has a serial port in the headphone connector, it's activated by the 6th contact on the dipswitch. If the switch is on then the headphone connector is in audio mode, if it's off then it's in UART mode.
 +
 
 +
The uart is 115200n8
 +
 
 +
The pinout for the serial connector on the tablet side is:
 +
 
 +
* Tip: RX
 +
* Ring: TX
 +
* Sleeve: GND
 +
 
 +
The serial connection is 3.3V
 +
 
 +
You can also buy the debug cable from [https://store.pine64.org PINE64 Store]
 +
The store cable uses a 4 ring plug, as seen in the [http://files.pine64.org/doc/pinebook/guide/Pinebook_Earphone_Serial_Console_Developer_Guide.pdf PDF], but a 3 ring plug works just as well. That cable uses a CH340 chipset based serial to USB converter, but any 3.3v serial connection can be used.
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
== Killswitch configuration ==
 +
 
 +
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.
 +
 
 +
[[File:PinePhone switches.jpeg|600px|thumb|left|Photo of Brave Heart switches from OSAKANA TARO on Twitter]]
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
# 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.
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
== 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:
 +
 
 +
# +ve
 +
# thermistor
 +
# -ve
 +
# 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 will be able to boot the phone.
 +
 
 +
If your battery is hard to remove from the phone, try loosening the screws around it. Possibly cutting up a piece of plastic and sliding it under the battery as a pull tab can work too.
 +
 
 +
'''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.'''
 +
 
 +
''' It's also important to note that the EG25 modem and RTL8723CS wifi/bluetooth do not work without the battery plugged in, even if you are supplying enough power to the Pinephone with USB-C'''
 +
 
 +
== 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.
 +
 
 +
== Factory Test Requirements ==
 +
 
 +
Most of the self tests should just work, but a couple of them will fail unless certain requirements are met.
 +
 
 +
=== RTL8723CS - WiFi ===
 +
 
 +
* The self test needs a visible access point nearby so it can discover an SSID.
 +
* The self test may fail if the battery charge is too low.
 +
 
 +
=== EG25 - Modem ===
 +
 
 +
* A working micro-SIM that doesn't require a PIN to unlock
 +
* Enough battery charge
 +
 
 +
== Operating Systems ==
 +
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:
 +
* [[#postmarketOS|postmarketOS]]
 +
* [[#Ubuntu Touch|Ubuntu Touch]]
 +
* [[#Sailfish OS|Sailfish OS]]
 +
* [[#Maemo Leste|Maemo Leste]]
 +
* [[#LuneOS|LuneOS]]
 +
* [[#Manjaro|Manjaro]]
 +
* [[#Neon|Neon]]
 +
* [[#Aurora|Aurora]]
 +
 
 +
For an exhaustive list of information about the different OSs, see [[PinePhone Software Release]].
 +
 
 +
=== 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 ===
 +
[https://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.
 +
 
 +
'''What works:'''
 +
 
 +
* WiFi internet (out of the box)
 +
* Audio (1)
 +
* Mobile data (2)
 +
* SMS (2)
 +
* Making phonecalls (2, no audio or microphone)
 +
 
 +
[https://forum.pine64.org/showthread.php?tid=8923] Enable sound first
 +
 
 +
[https://forum.pine64.org/showthread.php?tid=8923] Enable modem first
 +
 
 +
=== 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!
 +
 
 +
'''Instructions:'''
 +
# 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.
 +
 
 +
Note that after baking µSD card and booting phone, as per [https://www.reddit.com/r/pinephone/comments/f1l7bm/sailfish_os_on_pinephone_best_os_so_far_in_my/fh8o0s2/ Reddit comment] you have to adjust autobrightness settings in order to actually see interface.
 +
 
 +
=== 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].
 +
 
 +
* Nemo Mobile 20170217 Release [microSD Boot]
 +
* DD image (for 8GB micoSD card and above)
 +
** [http://files.pine64.org/os/PinePhone/NemoMobile/nemo-pinephone-release2020-02-17.img.gz Direct download from pine64.org]
 +
** MD5 (GZip file): bb93d76c38bf688c11343de52fc92775
 +
** File Size: 365MB
 +
 
 +
=== Maemo Leste ===
 +
[https://maemo-leste.github.io/ Maemo Leste] images can be downloaded [https://maedevu.maemo.org/images/pinephone/ here]. The default username is <code>root</code> and the password is <code>toor</code>
 +
 
 +
* Maemo Leste ver 1.0 Build Release 20200223 [microSD Boot]
 +
* For USB network with PC, please explore [https://leste.maemo.org/Status/USB_Peripheral here]
 +
* DD image (for 8GB micoSD card and above)
 +
** [https://maedevu.maemo.org/images/pinephone/20200223/maemo-leste-1.0-arm64-pinephone-20200223.img.xz Direct download from maemo.org]
 +
** MD5 (GZip file): 6389b68618fc3ae7801d63ea2ddee063
 +
** File Size: 275MB
 +
 
 +
=== LuneOS ===
 +
[https://www.webos-ports.org/wiki/Main_Page LuneOS] downloads are available [http://build.webos-ports.org/luneos-testing/images/pinephone/ here].
 +
 
 +
* LuneOS Test Build 0-78 Release [microSD Boot]
 +
* DD image (for 8GB micoSD card and above)
 +
** [http:///files.pine64.org/os/PinePhone/LuneOS/luneos-dev-image-pinephone-testing-0-78.rootfs.img.gz Direct download from pine64.org]
 +
** MD5 (GZip file): f85131d5d9309d3fd793ec19a40a1ff6
 +
** File Size: 418MB
 +
 
 +
=== Manjaro ===
 +
[https://wiki.manjaro.org/index.php Manjaro] downloads are available [https://osdn.net/projects/manjaro-arm/storage/pinephone/ here].
 +
 
 +
=== Neon ===
 +
[https://images.plasma-mobile.org/pinephone/ Neon images] A changelog (for the postmarketOS version) can be found [https://images.postmarketos.org/pinephone/#changelog here] username: phablet pw: 1234
 +
 
 +
=== Aurora ===
 +
Available soon.

Latest revision as of 01:34, 24 February 2020

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 fully functional OS (factory test image) 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.



"BraveHeart" PinePhone Unboxing and First Time Preparation Guide

From the factory the battery has a sticker on it that isolates the battery from the phone. The battery will not charge until this is removed.

After unboxing remove the back panel. Then remove the battery and peel off the clear plastic below it that isolates the charging contact. Then replace the battery.

If you power on the phone the factory test image will boot. RTL8723CS (WiFi modem) will fail unless there is a WiFi network in range for it to see and the battery is charged. EG25 will fail until battery is changed.

By default there is no true OS image installed on Braveheart phones. An SD card with a bootable image needs to be inserted into the phone. See section 12 below for a list of OS options. Note the SD and sim sockets are stacked on each other The SD slot is the "shallower" socket and the SIM card goes in the "deeper" socket.

Some videos that illustrate the process:

Excellent first time guide video from Rob Braxman Tech

Flash an OS to microSD card video from Rob Braxman Tech

Specifications

Dimensions: 160.5 x 76.6 x 9.2mm
Weight: Between 180-200 grams
SIM Card: Micro-SIM
Display:

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 LPDDR3 SDRAM
Internal Storage: 16GB eMMC, extendable up to 2TB via microSD, supports SDHC and SDXC
Back Camera: Single 5MP, 1/4", LED Flash
Selfie Camera: Single 2MP, f/2.8, 1/5"
Sound: Loudspeaker, 3.5mm jack & mic (jack doubles as hardware UART if killswitch 6 is deactivated)
Communication: 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
GSM: 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, gyro, proximity, ambient light, compass
Killswitches: 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 (SlimPort), USB Host, DisplayPort Alternate Mode output, 15W 5V 3A Quick Charge, follows USB PD specification

PinePhone Board Information, Schematics and Certifications

Datasheets for Components and Peripherals

Developer works

Megous

Getting start with PinePhone Hardware

State of development progress

PinePhone Technical News and Update, also applies to other Allwinner devices including PINE A64 SBC

Hardware Revisions

  1. Project Anakin
  2. "Project Don't Be Evil" devkit
  3. PinePhone v1.0 - Developer batch
  4. PinePhone v1.1 - Braveheart

Hardware Addons

PinePhone Hardware Accessory Compatibility list

List of devices working with the PinePhone (depending on OS support)

Pogo Pins

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.

A step/stl/stp (3D model) file for the back cover is freely available for creating custom cases that interface with the pogo pins.

Serial console

UART serial connector for PineBook and PinePhone

The PinePhone has a serial port in the headphone connector, it's activated by the 6th contact on the dipswitch. If the switch is on then the headphone connector is in audio mode, if it's off then it's in UART mode.

The uart is 115200n8

The pinout for the serial connector on the tablet side is:

  • Tip: RX
  • Ring: TX
  • Sleeve: GND

The serial connection is 3.3V

You can also buy the debug cable from PINE64 Store The store cable uses a 4 ring plug, as seen in the PDF, but a 3 ring plug works just as well. That cable uses a CH340 chipset based serial to USB converter, but any 3.3v serial connection can be used.




Killswitch configuration

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.

Photo of Brave Heart switches from OSAKANA TARO on Twitter








  1. Modem: On enables 2G/3G/4G communication and GNSS hardware, off disables.
  2. WiFi/BT: On enables Wi-Fi and Bluetooth communication hardware, off disables.
  3. Microphone: On enables audio input from on-board microphones (not 3.5mm jack), off disables.
  4. Rear camera: On enables the rear camera, off disables.
  5. Front camera: On enables the front camera, off disables.
  6. Headphone: On enables audio input and output via the 3.5mm audio jack, off switches the jack to hardware UART mode.









Battery

The supplied battery is meant to be compatible with Samsung part number EB-BJ700BBC / BBE / CBE from the 2015 J7 phone. There is 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:

  1. +ve
  2. thermistor
  3. -ve
  4. 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 can be recharged by connecting the phone to a charger. Once it has charged sufficiently you will be able to boot the phone.

If your battery is hard to remove from the phone, try loosening the screws around it. Possibly cutting up a piece of plastic and sliding it under the battery as a pull tab can work too.

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.

It's also important to note that the EG25 modem and RTL8723CS wifi/bluetooth do not work without the battery plugged in, even if you are supplying enough power to the Pinephone with USB-C

Modem and Carrier Support

To check if the PinePhone is supported on your carrier:

Search for your carrier on frequencycheck.com and compare the carrier's LTE/GSM/WCDMA frequencies to the PinePhone's supported frequencies (listed under the 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.

Factory Test Requirements

Most of the self tests should just work, but a couple of them will fail unless certain requirements are met.

RTL8723CS - WiFi

  • The self test needs a visible access point nearby so it can discover an SSID.
  • The self test may fail if the battery charge is too low.

EG25 - Modem

  • A working micro-SIM that doesn't require a PIN to unlock
  • Enough battery charge

Operating Systems

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:

For an exhaustive list of information about the different OSs, see PinePhone Software Release.

postmarketOS

postmarketOS is a preconfigured version of Alpine Linux for mobile devices. The latest builds can be downloaded from the images page to be flashed to the PinePhone.

More information is available at postmarketos.org and on their dedicated PinePhone wiki page.

Ubuntu Touch

Ubuntu touch is a mobile version of Ubuntu developed by the UBports community. Images can be downloaded from here. The default password is phablet. In the future, Ubuntu Touch will be able to be installed onto the PinePhone with the UBports installer GUI tool.

What works:

  • WiFi internet (out of the box)
  • Audio (1)
  • Mobile data (2)
  • SMS (2)
  • Making phonecalls (2, no audio or microphone)

[1] Enable sound first

[2] Enable modem first

Sailfish OS

The latest Sailfish OS image can be installed using the 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!

Instructions:

  1. Download the flashing script
  2. Insert a microSD card in your device
  3. Make the script executable: chmod +x flash-it.sh
  4. Execute it: ./flash-it.sh
  5. Follow the instructions. Some commands in the script require root permissions.

Note that after baking µSD card and booting phone, as per Reddit comment you have to adjust autobrightness settings in order to actually see interface.

Nemo Mobile

Nemo Mobile is the open source build of Sailfish OS. The latest images for the PinePhone are released here.

  • Nemo Mobile 20170217 Release [microSD Boot]
  • DD image (for 8GB micoSD card and above)

Maemo Leste

Maemo Leste images can be downloaded here. The default username is root and the password is toor

  • Maemo Leste ver 1.0 Build Release 20200223 [microSD Boot]
  • For USB network with PC, please explore here
  • DD image (for 8GB micoSD card and above)

LuneOS

LuneOS downloads are available here.

  • LuneOS Test Build 0-78 Release [microSD Boot]
  • DD image (for 8GB micoSD card and above)

Manjaro

Manjaro downloads are available here.

Neon

Neon images A changelog (for the postmarketOS version) can be found here username: phablet pw: 1234

Aurora

Available soon.