<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pine64.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Thanos+the+tank+engine</id>
	<title>PINE64 - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pine64.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Thanos+the+tank+engine"/>
	<link rel="alternate" type="text/html" href="https://wiki.pine64.org/wiki/Special:Contributions/Thanos_the_tank_engine"/>
	<updated>2026-04-25T18:29:31Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Ox64&amp;diff=15288</id>
		<title>Ox64</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Ox64&amp;diff=15288"/>
		<updated>2023-01-09T12:58:03Z</updated>

		<summary type="html">&lt;p&gt;Thanos the tank engine: Updated the reference manual to the latest version 1.2, currently just linked the pdf on gthub because thefile is too large for me to upload.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Ox64_board.jpg|400px|thumb|right|The Ox64]]&lt;br /&gt;
&lt;br /&gt;
The '''Ox64''' is a RISC-V based Single Board Computer powered by Bouffalo Lab BL808 C906 64-Bit RISC-V CPU, 32-Bit CPU, embedded 64MB PSRAM memory and build-on 3 radio RF (Wifi, BT, Zigbee). It provides breadboard friendly form factor, MicroSD Card slot, USB 2.0, and many other peripheral interfaces for makers to integrate with sensors and other devices.&lt;br /&gt;
&lt;br /&gt;
[[File:RISC-V.png|600px|]]&lt;br /&gt;
&lt;br /&gt;
== Software Releases ==&lt;br /&gt;
&lt;br /&gt;
=== Quick Links to the Source of OS Images Build ===&lt;br /&gt;
&lt;br /&gt;
OS images are still in '''alpha build''' which are only fit for board bring up and testing purposes. &lt;br /&gt;
&lt;br /&gt;
* [https://github.com/bouffalolab/bl808_linux Linux for BL808]&lt;br /&gt;
* [https://wiki.pine64.org/wiki/File:Linux_BL808.pdf Installation Instructions for Linux on BL808 (Chinese)]&lt;br /&gt;
* [https://wiki.pine64.org/wiki/File:Linux_BL808_en.pdf Installation Instructions for Linux on BL808 (English Auto-Translation)]&lt;br /&gt;
* Toolchain:&lt;br /&gt;
** elf_newlib_toolchain/bin/riscv64-unknown-elf-gcc (Xuantie-900 elf newlib gcc Toolchain V2.2.5 B-20220323) 10.2.0&lt;br /&gt;
** linux_toolchain/bin/riscv64-unknown-linux-gnu-gcc (Xuantie-900 linux-5.10.4 glibc gcc Toolchain V2.2.4 B-20211227) 10.2.0&lt;br /&gt;
** cmake version 3.19.3&lt;br /&gt;
&lt;br /&gt;
=== Software Development Kits ===&lt;br /&gt;
* [https://github.com/bouffalolab/bl_mcu_sdk BL808 MCU SDK]&lt;br /&gt;
* [https://dev.bouffalolab.com/download BLDevCube Flashing Tool for Windows, macOS and Ubuntu x64]&lt;br /&gt;
* [https://wiki.pine64.org/wiki/File:Ox64_BL808UART_connect.pdf Ox64 UART Flashing Guide] [https://gist.github.com/lupyuen/7a0c697b89abccda8e38b33dfe5ebaff (Notes)]&lt;br /&gt;
* [https://github.com/lupyuen/lupyuen.github.io/releases/download/ox64/bl808_demo_event.bin BL808 Demo Firmware: bl808_demo_event.bin] [https://gist.github.com/lupyuen/7a0c697b89abccda8e38b33dfe5ebaff (Notes)]&lt;br /&gt;
* [https://github.com/lupyuen/lupyuen.github.io/releases/download/ox64/whole_flash_data.bin BL808 UART Log Firmware: whole_flash_data.bin] [https://gist.github.com/lupyuen/7a0c697b89abccda8e38b33dfe5ebaff (Notes)]&lt;br /&gt;
* [https://github.com/lupyuen/lupyuen.github.io/releases/download/ox64/BL808.DVK.Quick.Start.pdf BL808 DVK Quick Start]&lt;br /&gt;
* [https://github.com/bouffalolab/bl808_linux/tree/main/opensbi-0.6-808 OpenSBI for BL808]&lt;br /&gt;
* [https://github.com/bouffalolab/bl808-pac Rust Peripheral Access Crate (PAC) for BL808]&lt;br /&gt;
* [https://github.com/bouffalolab/bl808-pac/blob/main/bl808.svd System View Description (SVD) for BL808]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specification ==&lt;br /&gt;
* Based on [https://en.bouffalolab.com/product/ Bouffalo Lab BL808]&lt;br /&gt;
[[File:Bouffalo_Lab_icon.png|right]]&lt;br /&gt;
[[File:BL808_Block_Diagram.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== CPU Architecture ===&lt;br /&gt;
* [https://www.t-head.cn/product/c906?lang=en T_head C906 480MHz 64-bit RISC-V CPU]&lt;br /&gt;
[[File:T-Head.png|right|200px]]&lt;br /&gt;
** Supports RISC-V RV64IMAFCV instruction architecture&lt;br /&gt;
** Five-stage single-issue sequentially executed pipeline&lt;br /&gt;
** Level-1 instruction and data cache of Harvard architecture, with a size of 32 KB and a cache line of 64B&lt;br /&gt;
** Sv39 memory management unit, realizing the conversion of virtual and real addresses and memory management&lt;br /&gt;
** jTLB that supports 128 entries&lt;br /&gt;
** Supports AXI 4.0 128-bit master interface&lt;br /&gt;
** Supports core local interrupt (CLINT) and platform-level interrupt controller (PLIC)&lt;br /&gt;
** With 80 external interrupt sources, 3 bits for configuring interrupt priority&lt;br /&gt;
** Supports BHT (8K) and BTB&lt;br /&gt;
** Compatible with RISC-V PMP, 8 configurable areas&lt;br /&gt;
** Supports hardware performance monitor (HPM) units&lt;br /&gt;
&lt;br /&gt;
* [https://www.t-head.cn/product/e907?lang=en T_head E907 320MHz 32-bit RISC-V CPU]&lt;br /&gt;
** Supports RISC-V RV32IMAFCP instruction set&lt;br /&gt;
** Supports RISC-V 32-bit/16-bit mixed instruction set&lt;br /&gt;
** Supports RISC-V machine mode and user mode&lt;br /&gt;
** Thirty-two 32-bit integer general purpose registers (GPR) and thirty-two 32-bit/64-bit floating-point GPRs&lt;br /&gt;
** Integer (5-stage)/floating-point (7-stage), single-issue, sequentially executed pipeline&lt;br /&gt;
** Supports AXI 4.0 main device interface and AHB 5.0 peripheral interface&lt;br /&gt;
** 32K instruction cache, two-way set associative structure&lt;br /&gt;
** 16K data cache, two-way set associative structure&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== System Memory ===&lt;br /&gt;
* Embedded 64MB PSRAM&lt;br /&gt;
&lt;br /&gt;
== Board Features ==&lt;br /&gt;
&lt;br /&gt;
=== Network ===&lt;br /&gt;
* 2.4GHz 1T1R WiFi 802.11 b/g/n&lt;br /&gt;
* Bluetooth 5.2&lt;br /&gt;
* Zigbee&lt;br /&gt;
* 10/100Mbps Ethernet (optional, on expansion board)&lt;br /&gt;
&lt;br /&gt;
=== Storage ===&lt;br /&gt;
* on-board 16Mb (2MB) or 128Mb (16MB) XSPI NOR flash memory&lt;br /&gt;
* microSD - supports SDHC and SDXC&lt;br /&gt;
&lt;br /&gt;
=== Expansion Ports ===&lt;br /&gt;
* USB 2.0 OTG port&lt;br /&gt;
* 26 GPIO Pins, including SPI, I2C and UART functionality. Possible I2S and GMII expansion&lt;br /&gt;
* Dual lane MiPi CSI port, located at USB-C port, for camera module&lt;br /&gt;
&lt;br /&gt;
=== Audio ===&lt;br /&gt;
* mic (optional, on camera module)&lt;br /&gt;
* speaker (optional, on camera module)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Board Information, Schematics and Certifications ==&lt;br /&gt;
* Baseboard Dimensions: 51mm x 21mm x 19mm x 3.5mm (Breadboard friendly)&lt;br /&gt;
* Input Power: 5V 0.5A microSD or USB-C port&lt;br /&gt;
* Schematic:&lt;br /&gt;
=== Production version schematic: ===&lt;br /&gt;
** Pinout: &lt;br /&gt;
[[file:0x64pinout.png]]&lt;br /&gt;
** [https://files.pine64.org/doc/ox64/PINE64_Ox64-Schematic-202221018.pdf Ox64 Schematic 20221018 v1.1]&lt;br /&gt;
** [https://files.pine64.org/doc/ox64/PINE64_Ox64_PCB_Placement-Top-20221018.pdf Ox64 PCB Component placement(ToP) 20221018 v1.1]&lt;br /&gt;
** [https://files.pine64.org/doc/ox64/PINE64_Ox64_PCB_Placement-Bottom-20221018.pdf Ox64 PCB Component placement(Bottom) 20221018 v1.1]&lt;br /&gt;
&lt;br /&gt;
=== Prototype (dispatched to developers) schematic: ===&lt;br /&gt;
** [https://files.pine64.org/doc/ox64/PINE64_Ox64-Schematic-202221007.pdf Ox64 Schematic 20221007 v1.0]&lt;br /&gt;
** [https://files.pine64.org/doc/ox64/PINE64_Ox64_PCB_Placement-Top-20221007.pdf Ox64 PCB Component placement(ToP) 20221007 v1.0]&lt;br /&gt;
** [https://files.pine64.org/doc/ox64/PINE64_Ox64_PCB_Placement-Bottom-20221007.pdf Ox64 PCB Component placement(Bottom) 20221007 v1.0]&lt;br /&gt;
&lt;br /&gt;
* Certifications:&lt;br /&gt;
** Disclaimer: Please note that PINE64 SBC is not a &amp;quot;final&amp;quot; product and in general certification is not necessary.&lt;br /&gt;
** Not yet available&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
* Bouffalo BL808 SoC information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/ox64/BL808_DS_en_1.1(open).pdf Bouffalo Lab BL808 SoC Datasheet]&lt;br /&gt;
** [https://raw.githubusercontent.com/bouffalolab/bl_docs/main/BL808_RM/en/BL808_RM_en_1.2.pdf Bouffalo Lab BL808 SoC Reference Manual]&lt;br /&gt;
* SPI NOR Flash information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/ox64/gd25lq16e_rev1.2_20210108.pdf GigaDevice 16Mb XSPI-Flash Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/star64/gd25lq128e_rev1.0_20210513.pdf GigaDevice 128Mb XSPI-Flash Datasheet]&lt;br /&gt;
* Power Regulator information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/ox64/IA2014-03.pdf Innovation Analog Tech IA2014 Step_down Converter Datasheet]&lt;br /&gt;
* MicroSD socket information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/ox64/TF%20PUSH%20type%20socket%20specification.pdf Push type microSD socket specification]&lt;br /&gt;
&lt;br /&gt;
== Compatible UARTs when in bootloader mode ==&lt;br /&gt;
* When the Ox64 is in bootloader mode, some UARTs are unable to communicate with it. When this is the case, utilities such as BLDevCube are unable to actually program the device.&lt;br /&gt;
* If you see &amp;quot;Shake hand fail&amp;quot; and an empty ack, and your device is in bootloader mode, then it is likely an incompatible UART.&lt;br /&gt;
* The below devices have been tested and verified as working&lt;br /&gt;
** Raspberry Pi Pico - running the following [https://github.com/sanjay900/ox64-uart/releases/tag/v1.1 uart firmware]&lt;br /&gt;
*** GP4 and GP5 are used for port 0, GP12 and GP13 for port 1&lt;br /&gt;
** ESP32 with CP210x - bridge the EN pin to ground to disable the ESP32 itself, and then connect the TX on the esp32 to 14 on the Ox64 and RX to pin 15. Note that only baud rate 115200 works, and this doesn't seem to work for everyone)&lt;br /&gt;
** STM32F401 BlackPill - running the [https://github.com/blackmagic-debug/blackmagic/tree/main/src/platforms/blackpillv2 Black Magic Debug] firmware&lt;br /&gt;
** Some UART adapters based on the FT232H (note that the FT232RL does not work, and neither does the Pine 64 JTAG)&lt;br /&gt;
** Some CH340G based adapters work and some don't.&lt;br /&gt;
&lt;br /&gt;
== GitHub/Gitlab ==&lt;br /&gt;
* [https://github.com/bouffalolab/bl808-pac Official Bouffalo BL-808 site]&lt;br /&gt;
* [https://github.com/sfranzyshen/arduino-bl808 Community made Arduino Core specifically for the Bouffalo Labs BL808 RISC-V MCU]&lt;br /&gt;
&lt;br /&gt;
== Articles and Blogs ==&lt;br /&gt;
* [https://gist.github.com/lupyuen/7a0c697b89abccda8e38b33dfe5ebaff First Batch of Ox64 won't appear as USB Serial Port]&lt;br /&gt;
* [https://gist.github.com/lupyuen/2087e9b3fb40aab5e0795bb02a265a3b First Batch of Ox64 tested OK with CH340C/G]&lt;br /&gt;
* [https://www.robertlipe.com/bl808-not-symmetric/ First thoughts on the (a)symmetry of Bouffalo Labs BL808 as in Pine64’s Ox64]&lt;br /&gt;
* [https://thelittleengineerthatcould.blogspot.com/2022/12/the-8-linux-computer-part-2.html The $8 linux computer (with picoprobe-rp2040 programming instructions)]&lt;br /&gt;
* [https://github.com/p4ddy1/pine_ox64/blob/main/build_toolchain_macos.md Building the Xuantie GNU Toolchain for Ox64 on macOS and Apple Silicon]&lt;br /&gt;
&lt;br /&gt;
== Development Efforts ==&lt;br /&gt;
* [https://twitter.com/gamelaster/status/1583916501400068096 Ox64 boots Linux successfully]&lt;br /&gt;
* [https://twitter.com/btashton/status/1586381334439923713?t=w5xRRUR74HGK2O1Zg_aFyw&amp;amp;s=19 Brennan Ashton is porting Apache NuttX RTOS and OpenAMP (Asymmetric Multiprocessing) to BL808]&lt;br /&gt;
* [https://twitter.com/thanos_engine/status/1585153938092761093 Phone Concept for BL808]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Ox64]] [[Category:Bouffalo BL808]]&lt;/div&gt;</summary>
		<author><name>Thanos the tank engine</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineBuds_Pro&amp;diff=15216</id>
		<title>PineBuds Pro</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineBuds_Pro&amp;diff=15216"/>
		<updated>2022-12-20T07:18:25Z</updated>

		<summary type="html">&lt;p&gt;Thanos the tank engine: made it more clear that the wireless charging IC is unpopulated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineBudsPro.jpg|400px|thumb|right|The PineBuds Pro]]&lt;br /&gt;
&lt;br /&gt;
The '''PineBuds Pro''' are open firmware capable ANC wireless earbuds. Some of the notable features include their light weight, 3 Microphones, ANC (Active Noise Cancellation), ENC (Environment Noise Cancellation) and high fidelity 6mm speaker. It is a fully community-driven side-project which anyone can contribute to, allowing you to keep control of your device even though hardware is proprietary.&lt;br /&gt;
&lt;br /&gt;
== Software releases ==&lt;br /&gt;
&lt;br /&gt;
=== Firmware Images Build ===&lt;br /&gt;
&lt;br /&gt;
=== SDK Release ===&lt;br /&gt;
&lt;br /&gt;
** [https://files.pine64.org//SDK/PineBudsPro/PineBudsPro_SDK-20221128.7z PineBuds Pro &amp;quot;Little Whale&amp;quot; SDK date:20221128]&lt;br /&gt;
&lt;br /&gt;
== SoC and Memory Specification ==&lt;br /&gt;
* Based on [http://www.bestechnic.com/home/product/index/cate_id/6 BES 2300YP]&lt;br /&gt;
[[File:BES-Tech.jpg|right]]&lt;br /&gt;
[[File:BES2300YP_Block_Diagram.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
=== SoC Architecture ===&lt;br /&gt;
&lt;br /&gt;
* CPU Features:&lt;br /&gt;
** [https://developer.arm.com/Processors/Cortex-M4 Dual-core ARM Cortex-M4F Processor Processor up to 300MHz CPU]&lt;br /&gt;
[[File:Cortex-M4.png|right|400px]]&lt;br /&gt;
** CMOS Single-chip Fully-integrated RF, PMU, Audio CODEC and Cortex-M4F CPU&lt;br /&gt;
** 4MB Serial Flash On-chip for Custom Program&lt;br /&gt;
** Internal ROM 448KB for critical constants and code&lt;br /&gt;
** Internal SRAM 992KB for critical data and code&lt;br /&gt;
* BT Features:&lt;br /&gt;
** Bluetooth 5.2 dual-mode compliant&lt;br /&gt;
* Audio Features:&lt;br /&gt;
** Support BES Intelligent Bluetooth Retransmission (IBRT)&lt;br /&gt;
** Support FF/Hybrid ANC&lt;br /&gt;
** Dual MICs noise reduction&lt;br /&gt;
** Echo Cancellation&lt;br /&gt;
** Support low power voice activity detection&lt;br /&gt;
** Multi-band EQ and Bass enhancement&lt;br /&gt;
** Support Active Crossover&lt;br /&gt;
** Support TWS&lt;br /&gt;
** HiFi Stereo Audio DAC: 120dB SNR, 110dB DNR&lt;br /&gt;
** HiFi Stereo Audio ADC: 100dB SNR&lt;br /&gt;
²* Sample rates from 8 kHz to 384 kHz&lt;br /&gt;
** Support dual/single Mic noise suppression&lt;br /&gt;
** Support ambient awareness&lt;br /&gt;
** Support talk through&lt;br /&gt;
** 24-bit audio processing&lt;br /&gt;
* PMU Features&lt;br /&gt;
** 3.1V-5.5V Input for VBAT&lt;br /&gt;
** Internal LPO for low power mode.&lt;br /&gt;
** DCXO with internal oscillator circuit&lt;br /&gt;
** Internal temperature sensor&lt;br /&gt;
&lt;br /&gt;
== Information, Schematics and Certifications ==&lt;br /&gt;
* Charging Case with two Left and Right earbuds&lt;br /&gt;
* Input Power: DC 5V @ 0.5A USB Type-C&lt;br /&gt;
* Document:&lt;br /&gt;
** [https://files.pine64.org/doc/PineBudsPro/PineBuds%20Pro%20User%20manual-20220920-8pages-20221116.pdf PineBuds Pro User Manual]&lt;br /&gt;
* Schematic:&lt;br /&gt;
** [https://files.pine64.org/doc/PineBudsPro/PineBuds%20Pro%20mainboard%20schematic-20220817.pdf PineBuds Pro Earbuds Schematic 20220817]&lt;br /&gt;
** [https://files.pine64.org/doc/PineBudsPro/PineBuds%20Pro%20charging%20cradle%20schematic-20220915.pdf PineBuds Pro Charging Case Schematic 20220915]&lt;br /&gt;
* Certifications:&lt;br /&gt;
** [https://files.pine64.org/doc/cert/PineBuds%20Pro%20CE%20EMC%20Certificate-LCSA090522058E.pdf PineBuds Pro CE EMC Certificate]&lt;br /&gt;
** [https://files.pine64.org/doc/cert/PineBuds%20Pro%20CE%20RED%20Certificate-LCSA090522057E.pdf PineBuds Pro CE RED Certificate]&lt;br /&gt;
** [https://files.pine64.org/doc/cert/PineBuds%20Pro%20FCC%20SDOC%20Certificate-LCSA090522056E.pdf PineBuds Pro FCC Certificate]&lt;br /&gt;
** [https://files.pine64.org/doc/cert/PineBuds%20Pro%20ROHS%20Report-LCSA090522054R.pdf PineBuds Pro ROHS Report]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
* BES 2300YP SoC information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/PineBudsPro/BES2300-YP_Datasheet_v1.0.pdf BES 2300-YP Datasheet V1.0]&lt;br /&gt;
* Charging Case:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/PineBudsPro/SY8821_SPEC_V1_2_2.pdf ThinkPlus Semi SY8821 Datasheet in Chinese]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/PineBudsPro/CH342DS1.PDF WCH Tech CH342DS USB to Dual Serial ports chip Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/PineBudsPro/COPO%20CP2021%202.5W%20Qi%20Wire%20Power%20Receiver.pdf COPO CP2021 2.5W Qi Wire Power Receiver Datasheet (Unpopulated)]&lt;br /&gt;
* EarBuds:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/PineBudsPro/CE3156-EN-01.pdf ChiPower Tech CE3156 Single Cell Charger Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/PineBudsPro/LP3992-33B5F.pdf LowPower Semi LP3992 LDO Regulator Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/PineBudsPro/HLW-YHX190_20190810.pdf HLW Semi HLW-YHX190 OTP micro Datasheet in Chinese (noted: for power-on and reset control)]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/PineBudsPro/TTP233D-SB6_V1.0_EN.pdf Tontek TTP-233D one key touch pad detect IC Datasheet]&lt;br /&gt;
&lt;br /&gt;
[[Category:PineBuds Pro]] [[Category:BES 2300YP]]&lt;/div&gt;</summary>
		<author><name>Thanos the tank engine</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Pinedio&amp;diff=10608</id>
		<title>Pinedio</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Pinedio&amp;diff=10608"/>
		<updated>2021-06-03T19:31:01Z</updated>

		<summary type="html">&lt;p&gt;Thanos the tank engine: added password for DietPi image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Note|Page under construction, information subject to change. Project is in early development phase.}}&lt;br /&gt;
&lt;br /&gt;
LoRa is a long range, low power wireless platform that is being used by a lot of Internet of Things (IoT) products. Using LoRa and LoRaWAN, devices can communicate across the world using the internet, using various decentralised networks such as [https://www.thethingsnetwork.org/ The Things Network] or [https://www.helium.com/ Helium]. Since, PINE64 believes in openness, the LoRa gateway can connect to any network, per the developer implementation. If Helium Spots open up for PINE64 gateway and developers have implemented the hook for Helium, then this is good thing. The PINE64 LoRa gateway also open connect to The Things Network if developers implement support. The choice is yours!&lt;br /&gt;
&lt;br /&gt;
== Gateway ==&lt;br /&gt;
&lt;br /&gt;
The gateway will be available in two variants - indoor and outdoor. All that is known about the outdoor unit is that it will have &amp;quot;an aluminum, rugged and water resistant case&amp;quot;. &lt;br /&gt;
The indoor unit consists of a PINE A64-LTS, fitted with a purpose built hat (adapter) which uses a LoRa module by RakWireless. The chipset used is the SX1302, and the module via the SPI interface. There are two external connections on the enclosure for the GPS and loRa antenna. &lt;br /&gt;
&lt;br /&gt;
=== Connections ===&lt;br /&gt;
* GPS is connected to UART2 on the A64 board&lt;br /&gt;
* SX1302 on SPI0&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|RAK2287 module&lt;br /&gt;
|PI-2 connector&lt;br /&gt;
|PINE A64-LTS&lt;br /&gt;
|-&lt;br /&gt;
|SX1302 SPI&lt;br /&gt;
|Pin 19 = MOSI / PC0&amp;lt;br/&amp;gt;Pin 21 = MISO/PC1&amp;lt;br/&amp;gt;Pin23 = CLK/PC2&amp;lt;br/&amp;gt;Pin24 = CS/PC3&lt;br /&gt;
|SPI0 (/dev/spidev0.0)&lt;br /&gt;
|-&lt;br /&gt;
|SX1302 RESET&lt;br /&gt;
|Pin 11 = GPIO17/PC7&lt;br /&gt;
|GPIO71 (/sys/class/gpio/gpio71)&lt;br /&gt;
|-&lt;br /&gt;
|GPS UART&lt;br /&gt;
|Pin 8 = TX/&amp;lt;br&amp;gt;Pin 10 = RX&lt;br /&gt;
|UART2 (/dev/ttyS2)&lt;br /&gt;
|-&lt;br /&gt;
|GPS RESET&lt;br /&gt;
|Pin 33 = GPIO13/PC5&lt;br /&gt;
|GPIO69 (/sys/class/gpio/gpio69)&lt;br /&gt;
|-&lt;br /&gt;
|GPS Standby&lt;br /&gt;
|Pin 35 = GPIO19/PC9&lt;br /&gt;
|GPIO73 (/sys/class/gpio/gpio73)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Blog-april-InsideLoRaGateway.jpg&lt;br /&gt;
File:Blog-april-InsideLoRaGateway2.jpeg&lt;br /&gt;
File:Discord-lora-gateway-20210413_143615.jpg&lt;br /&gt;
File:Discord-lora-gateway-20210413_1435271.jpg&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Operating System Options (Pinedio Gateway) ===&lt;br /&gt;
&lt;br /&gt;
Pinedio Gateway carries the A64-LTS board. Based on ram specifications SOPINE images are also compatible.&lt;br /&gt;
&lt;br /&gt;
Armbian:&lt;br /&gt;
&lt;br /&gt;
Gateway is based on the pine64 A64-LTS, and the current Armbian_sopine image download options can be found here: &lt;br /&gt;
https://www.armbian.com/sopine-a64/&lt;br /&gt;
&lt;br /&gt;
(Previous issues in DTS have been fixed by Armbian developers and Armbian_sopine_21.05.1 is confirmed to boot).&lt;br /&gt;
&lt;br /&gt;
Armbian Official Website: https://www.armbian.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Dietpi:&lt;br /&gt;
&lt;br /&gt;
Download current Dietpi image (for Pinedio/SOPINE/LTS) here: &lt;br /&gt;
https://mega.nz/file/7VpmAQ6S#CxOpSHBHgFkynXIOKVQEQk8864-DLsNnFtbpCH6PU6o&lt;br /&gt;
&lt;br /&gt;
The password for this image is &amp;quot;SoPinePass!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Dietpi is a lightweight SOPINE/A64-LTS image using Armbian as pre-image (Debian based). Carrying a large array of options, Dietpi includes SBC hardware configurations available inside ncurses menu interface (ssh/terminal accessible). &lt;br /&gt;
&lt;br /&gt;
In addition to being a full on Debian based Linux system, a variety of servers and services can be added on demand.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Dietpi Commands: &lt;br /&gt;
&lt;br /&gt;
dietpi-launcher: access all dietpi tools/menus&lt;br /&gt;
&lt;br /&gt;
dietpi-software: select from numerous optimized servers/services to install&lt;br /&gt;
&lt;br /&gt;
dietpi-config: feature rich configuration tool&lt;br /&gt;
&lt;br /&gt;
dietpi-autostart: choose software to run after boot&lt;br /&gt;
&lt;br /&gt;
dietpi-update: update/upgrade system&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The entire list of software available for installation (inside dietpi-software) can be found here: https://dietpi.com/docs/software/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Steps To Enable spidev0.0 (rakwireless concentrator device):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As Dietpi strips down the system to a minimum level (deleting much of original Armbian commands), we can install armbian-config command by issuing:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo apt install armbian-config&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Inside armbian-config -&amp;gt; system -&amp;gt; Bootenv (edit boot environment), enter the following 2 lines (to create spidev0.0):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
overlays=spi-spidev uart2&lt;br /&gt;
&lt;br /&gt;
param_spidev_spi_bus=0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Save this. Reboot (optionally hand edit /boot/armbianEnv.txt to add the 2 lines). After rebooting you should see a new device /dev/spidev0.0. This will be the concentrator device for gateway related setup.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Dietpi Official Website: https://www.dietpi.com&lt;br /&gt;
&lt;br /&gt;
== End nodes ==&lt;br /&gt;
&lt;br /&gt;
There are several end-node units planned:&lt;br /&gt;
* loRa back case for the PinePhone&lt;br /&gt;
* standalone USB dongle-type end-node adapter&lt;br /&gt;
* PineTab adapter&lt;br /&gt;
* as well as a SPI module (which can also be configured as a USB LoRa dongle)&lt;br /&gt;
* a LoRa stick powered by a single 18650 battery (using the [https://wiki.pine64.org/wiki/Nutcracker BL602], and can be fitted with GPS, an low-power OLED panel and additional sensors)&lt;br /&gt;
&lt;br /&gt;
All the end-nodes use the SX1262 chip. &lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Blog-april-USB-LoRa-1024x655.jpg&lt;br /&gt;
File:Blog-april-LoRa-something-839x1024.jpg&lt;br /&gt;
File:Discord_20210421_lora_usb_closeup.jpg&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Datasheets and schematics ==&lt;br /&gt;
=== Gateway ===&lt;br /&gt;
* [https://www.semtech.com/products/wireless-rf/lora-gateways/sx1302 SX1302 datasheets and resources]&lt;br /&gt;
* [https://docs.rakwireless.com/Product-Categories/WisLink/RAK2247/Overview/ RAK2287 datasheets and resources]&lt;br /&gt;
* [https://wiki.pine64.org/images/5/54/PINE64_LoRa_Gateway_Module_Adapter_Schematic-v1.0-20210308.pdf Pine64 LoRa Gateway module adapter schematic]&lt;br /&gt;
&lt;br /&gt;
=== End nodes ===&lt;br /&gt;
* [https://www.semtech.com/products/wireless-rf/lora-transceivers/sx1262 SX1262 datasheets and resources]&lt;br /&gt;
&lt;br /&gt;
=== Pinephone backplate ===&lt;br /&gt;
* [[File:Pinephone_LoRa_BackPanel_Schematic-v1.0-20210402.pdf]]&lt;br /&gt;
* [[File:CA-S01_LoRa_Chip_Antenna_in_Chinese.pdf]]&lt;br /&gt;
* [https://github.com/zschroeder6212/tiny-i2c-spi I2C SPI Bridge code running on ATtiny84]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== USB LoRa adapter ===&lt;br /&gt;
* [[File:USB_LoRa_adapter-PINE64_RFM90_SCH_2021_04_26.pdf]]&lt;br /&gt;
&lt;br /&gt;
== Other resources ==&lt;br /&gt;
* [https://www.youtube.com/watch?v=cJ0wpANpbyc Video: A peek at Pine64's LoRa gateway and modules]&lt;br /&gt;
* [https://iotw.io/ IOTW - Blockchain-Enabled IoT Data Platform]&lt;/div&gt;</summary>
		<author><name>Thanos the tank engine</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Project_Don%27t_be_evil&amp;diff=9615</id>
		<title>Project Don't be evil</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Project_Don%27t_be_evil&amp;diff=9615"/>
		<updated>2021-03-27T23:04:37Z</updated>

		<summary type="html">&lt;p&gt;Thanos the tank engine: Added additional picture&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= The Project &amp;quot;Don't be evil&amp;quot; - Phase 2 of PINE64 Smartphone &amp;quot;PinePhone&amp;quot; Development Kit  =&lt;br /&gt;
&lt;br /&gt;
Project Don't be evil is an actual smartphone developer kit for the PINE64 Smartphone dubbed &amp;quot;PinePhone&amp;quot;. It is used in the early stages of development as a starting point for affiliated projects. &lt;br /&gt;
PinePhone development has been broken down into three distinct phases: &lt;br /&gt;
* First phase - Project Anakin &lt;br /&gt;
* Second phase - purpose-built development kit code named &amp;quot;Don't be evil&amp;quot; and introduced at FOSDEM 2019 &lt;br /&gt;
* Lastly, the third phase which is the PinePhone itself - scheduled to be prototype released in Q3 2019 and BTO batch released with mobile OS parents in Q4 2019 (pending on software development).&lt;br /&gt;
&lt;br /&gt;
[[Image:Qee3ovj.jpg|500px|Image: 500 pixels]]&lt;br /&gt;
[[Image:Qsud2Gt.jpg|500px|Image: 500 pixels]]&lt;br /&gt;
[[Image:Martijnpocket.jpg|500px|Image: 420 pixels]]&lt;br /&gt;
&lt;br /&gt;
= Project Don't be evil, Baseboard and SOPine Module Information, and Schematics =&lt;br /&gt;
* Baseboard Dimensions: 165mm x 76mm x 19.5mm&lt;br /&gt;
* Input Power: DC 5V @ 2A, 3.7V Li-Ion battery connector, USB type-C connector&lt;br /&gt;
* Baseboard Schematic:&lt;br /&gt;
** [https://files.pine64.org/doc/PinePhone/Pinephone-devkit%20Board%20Structure.pdf &amp;quot;Don't Be Evil&amp;quot; PinePhone Dev kit Baseboard Structure]&lt;br /&gt;
** [https://files.pine64.org/doc/PinePhone/Pinephone-devkit-SCH%20Ver%201.1.pdf &amp;quot;Don't Be Evil&amp;quot; PinePhone Dev kit Baseboard Ver 1.1 Schematic]&lt;br /&gt;
** [https://files.pine64.org/doc/PinePhone/Pinephone%20Dev%20Kit%20Ver%201.1_PCB.pdf &amp;quot;Don't Be Evil&amp;quot; PinePhone Dev kit Baseboard Ver 1.1 PCB Artwork]&lt;br /&gt;
** [https://files.pine64.org/doc/PinePhone/Pinephone-devkit-SCH%20Ver%201.2.pdf &amp;quot;Don't Be Evil&amp;quot; PinePhone Dev kit Baseboard Ver 1.2 Schematic]&lt;br /&gt;
** [https://files.pine64.org/doc/PinePhone/Pinephone%20Dev%20Kit%20Ver%201.2_PCB.pdf &amp;quot;Don't Be Evil&amp;quot; PinePhone Dev kit Baseboard Ver 1.2 PCB Artwork]&lt;br /&gt;
* SOPine Module Schematic:&lt;br /&gt;
** [https://files.pine64.org/doc/SOPINE-A64/SOPINE-A64-Schematic-ver-0.9.pdf SOPine Module Schematic]&lt;br /&gt;
** [https://files.pine64.org/doc/SOPINE-A64/SOPINE-A64-Pin-Assignments-ver-1.0.pdf SOPine Module Pin Assignment ver 1.0]&lt;br /&gt;
* Wifi/BT module information:&lt;br /&gt;
** [https://files.pine64.org/doc/Pine%20A64%20Schematic/A64-DB-WIFI-BT-REV%20B.pdf PINE A64 Wifi/BT Module Schematic]&lt;br /&gt;
* [https://files.pine64.org/doc/Pine%20A64%20Schematic/Pine%20A64%20Pin%20Assignment%20160119.pdf PINE A64 Pi-2/Eular/Ext Bus/Wifi Bus Connector Pin Assignment (Updated 15/Feb/2016)]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= SoC and Memory Specification =&lt;br /&gt;
* Based on Allwinner A64/R18&lt;br /&gt;
** '''R18 and A64 are identical SoC but R18 committed for 10 years supply by vendor.''' &lt;br /&gt;
[[File:Allwinner_A64.jpg]] [[File:Allwinner_R18.png]]&lt;br /&gt;
&lt;br /&gt;
== CPU Architecture ==&lt;br /&gt;
* [https://www.arm.com/products/processors/cortex-a/cortex-a53-processor.php Quad-core ARM Cortex-A53 Processor@1152Mhz]&lt;br /&gt;
* A power-efficient ARM v8 architecture&lt;br /&gt;
* 64 and 32bit execution states for scalable high performance&lt;br /&gt;
* Support NEON Advanced SIMD (Single Instruction Multiple Data) instruction for acceleration of media and signal processing function&lt;br /&gt;
* Support Large Physical Address Extensions(LPAE)&lt;br /&gt;
* VFPv4 Floating Point Unit&lt;br /&gt;
* 32KB L1 Instruction cache and 32KB L1 Data cache&lt;br /&gt;
* 512KB L2 cache&lt;br /&gt;
&lt;br /&gt;
== GPU Architecture ==&lt;br /&gt;
* [https://www.arm.com/products/multimedia/mali-gpu/ultra-low-power/mali-400.php ARM Mali400MP2 Dual-core GPU]&lt;br /&gt;
* Support OpenGL ES 2.0 and OpenVG 1.1 standard&lt;br /&gt;
&lt;br /&gt;
== System Memory ==&lt;br /&gt;
* RAM Memory Variants: 2GB LPDDR3.&lt;br /&gt;
* Storage Memory: SPI Flash and optional eMMC module from 16GB up to 64GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
* Allwinner A64/R18 SoC information:&lt;br /&gt;
** '''R18 and A64 are identical SoC but R18 committed for 10 years supply by vendor.''' &lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/A64%20brief%20v1.0%2020150323.pdf Allwinner A64 SoC Brief Introduction]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/Allwinner-R18-Brief%20Sheet.pdf Allwinner R18 SoC Brief Introduction]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/A64_Datasheet_V1.1.pdf Allwinner A64/R18 SoC Data Sheet V1.1 (Official Released Version)]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/Allwinner_A64_User_Manual_V1.0.pdf Allwinner A64/R18 SoC User Manual V1.0 (Official Release Version)]&lt;br /&gt;
* X-Powers AXP803 PMU (Power Management Unit) information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/AXP803_Datasheet_V1.0.pdf AXP803 PMIC Datasheet]&lt;br /&gt;
* LPDDR3 information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/AWL3A1632_mobile_lpddr3_1600Mbps.pdf Allwinner LPDDR3 Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/FORESEE%20178ball%2012x11.5%20LPDDR3%2016G%20Spec%20V1.0-1228.pdf Foresee LPDDR3 Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/K4E6E304EE-EGCE.pdf Samsung LPDDR3 Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/LPDDR3%20178ball%208Gb_H9CCNNN8JTALAR_Rev1.0.pdf Hynix LPDDR3 Datasheet]&lt;br /&gt;
* eMMC information:&lt;br /&gt;
** [https://files.pine64.org/doc/rock64/PINE64_eMMC_Module_20170719.pdf PINE64 eMMC module schematic]&lt;br /&gt;
** [https://files.pine64.org/doc/rock64/usb%20emmc%20module%20adapter%20v2.pdf PINE64 USB adapter for eMMC module V2 schematic]&lt;br /&gt;
** [https://files.pine64.org/doc/rock64/USB%20adapter%20for%20eMMC%20module%20PCB.tar PINE64 USB adapter for eMMC module PCB in JPEG]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/SDINADF4-16-128GB-H%20data%20sheet%20v1.13.pdf SanDisk eMMC Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/H26M64003DQR%20Datasheet.pdf Hynix eMMC Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/FORESEE_eMMC_NCEMBSF9-xxG%20SPEC%20A0%2020150730.pdf Foresee eMMC Datasheet]&lt;br /&gt;
* SPI NOR Flash information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/w25q128jv%20spi%20revc%2011162016.pdf WinBond 128Mb SPI Flash Datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/GD25Q128C-Rev2.5.pdf GigaDevice 128Mb SPI Flash Datasheet]&lt;br /&gt;
* '''Project Don't be evil module/component related information:'''&lt;br /&gt;
** 2MPixel front CMOS Camera module information:&lt;br /&gt;
*** [https://files.pine64.org/doc/datasheet/pinephone/GC20355Mp-module_for_pinephone_devkit.pdf 2MP CMOS Image Sensor Module Drawing]&lt;br /&gt;
*** [https://files.pine64.org/doc/datasheet/pinephone/GC2035%20Product%20Brief.pdf GalaxyCore GC2035 2MP CMOS Image Sensor Product Brief]&lt;br /&gt;
*** [https://files.pine64.org/doc/datasheet/pinephone/GC2035%20DataSheet.pdf GalaxyCore GC2035 2MP CMOS Image Sensor Datasheet]&lt;br /&gt;
** 5MPixel Rear CMOS Camera module information:&lt;br /&gt;
*** [https://files.pine64.org/doc/datasheet/pinephone/ATK-OV5640-5Mp-module_for_pinephone_devkit.pdf 5MP CMOS Image Sensor Module Drawing]&lt;br /&gt;
*** [https://files.pine64.org/doc/datasheet/pinephone/OV5640_datasheet.pdf OmniVision OV5640 5MP CMOS Image Sensor Datasheet]&lt;br /&gt;
*** [https://www.arducam.com/downloads/modules/OV5640/OV5640_Software_app_note_parallel.pdf OmniVision OV5640 5MP CMOS Image Sensor Software Application Note]&lt;br /&gt;
** LCD Touch Screen Panel information:&lt;br /&gt;
*** [https://files.pine64.org/doc/datasheet/pinephone/XBD572-IPS-HI010A%20SPEC.pdf 5.7&amp;quot; 1440x720 IPS LCD Panel Specification]&lt;br /&gt;
*** [https://files.pine64.org/doc/datasheet/pinephone/JD9365D_DS_Preliminary_V0.01_20170427.pdf fiti JD9365D LCD Controller Datasheet]&lt;br /&gt;
*** [https://files.pine64.org/doc/datasheet/pinephone/XBD572-IPS-HI010A%20SPEC.pdf 5.7&amp;quot; Front Panel Touch Screen Specification]&lt;br /&gt;
*** [https://files.pine64.org/doc/datasheet/pinephone/FT6336GU_Upgrade_Spec_Ver1.0.pdf FocalTech FT6336GU Front Panel Touch Screen Specification]&lt;br /&gt;
** Lithium Battery information:&lt;br /&gt;
*** [https://files.pine64.org/doc/datasheet/pinephone/ncr18650b.pdf Panasonic NCR18650B 3350mAH Lithium Ion Battery Specification]&lt;br /&gt;
** Ethernet PHY information:&lt;br /&gt;
*** [https://files.pine64.org/doc/datasheet/pine64/rtl8211e(g)-vb(vl)-cg_datasheet_1.6.pdf Realtek RTL8211 10/100/1000M Ethernet Transceiver]&lt;br /&gt;
** Wifi/BT module information:&lt;br /&gt;
*** [https://files.pine64.org/doc/datasheet/pine64/RTL8723BS.pdf Realtek RTL8723BS WiFi with BT SDIO]&lt;br /&gt;
** LTE module information:&lt;br /&gt;
*** [https://files.pine64.org/doc/datasheet/project_anakin/LTE_module/Quectel_EC25_LTE_Specification_V1.4.pdf Quectel EC25 LTE Module Specification]&lt;br /&gt;
*** [https://files.pine64.org/doc/datasheet/project_anakin/LTE_module/Quectel_EG25-G_LTE_Specification_V1.1_Preliminary_20180522%20(002).pdf Quectel EG25-G LTE Module Specification]&lt;br /&gt;
*** [https://files.pine64.org/doc/datasheet/project_anakin/LTE_module/Quectel_EC25&amp;amp;EC21_QuecCell_AT_Commands_Manual_V1.1.pdf Quectel EC25 LTE Module AT Cammands Set Manual]&lt;br /&gt;
*** [https://files.pine64.org/doc/datasheet/project_anakin/LTE_module/Quectel_EC25_Hardware_Design_V1.3.pdf Quectel EC25 LTE Module Hardware Design Guide]&lt;br /&gt;
*** [https://files.pine64.org/doc/datasheet/project_anakin/LTE_module/Quectel_EC25_Reference_Design_Rev.D_20161111.pdf Quectel EC25 LTE Module Reference Design Guide]&lt;br /&gt;
** Sensors:&lt;br /&gt;
*** [https://www.st.com/en/mems-and-sensors/lis3mdl.html ST LIS3MDL 3-axis Magnetomater Datasheet]&lt;br /&gt;
*** [https://www.invensense.com/products/motion-tracking/6-axis/mpu-6050/ InvenSense MPU-6050 Six-Axis (Gyro + Accelerometer) MEMS Datasheet]&lt;br /&gt;
*** [https://www.sensortek.com.tw/en/product/Proximity_Sensor_with_ALS.html SensorTek STK3335 Ambient Light Sensor and Proximity Sensor]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Software and OS Image Downloads =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://files.pine64.org/sw/pine64_installer/json/postmarketos.png&lt;br /&gt;
&lt;br /&gt;
== Postmarket OS Early Alpha test build [microSD Boot] ==&lt;br /&gt;
* Suitable for PinePhone &amp;quot;Don't Be Evil&amp;quot; Dev Kit version 1.1 and version 1.2&lt;br /&gt;
* There are two type of LCD panels. For long touch screen cable, please use the build with inverted wording.&lt;br /&gt;
* DD image (for 8GB micoSD card and above)&lt;br /&gt;
** [https://images.postmarketos.org/pinephone/ Direct download from postmarketOS image site]&lt;br /&gt;
** [https://wiki.postmarketos.org/wiki/Pine_Don%27t_be_evil_devkit_(pine-dontbeevil) postmarketOS PinePhone &amp;quot;Don't Be Evil&amp;quot; dev kit wiki site]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://files.pine64.org/sw/pine64_installer/json/ubports.png&lt;br /&gt;
&lt;br /&gt;
== UBPorts mainline build ==&lt;br /&gt;
* [https://ci.ubports.com/job/rootfs-pinephone/ UBPorts Jenkins for PinePhone]&lt;br /&gt;
&lt;br /&gt;
The link above seems to be broken, if so try this:&lt;br /&gt;
[https://ci.ubports.com/job/rootfs/job/rootfs-pinephone/ Jenkins Project rootfs-pinephone]&lt;br /&gt;
&lt;br /&gt;
https://files.pine64.org/sw/pine64_installer/json/plasma_mobile.png&lt;br /&gt;
&lt;br /&gt;
== KDE Plasma Mobile build ==&lt;br /&gt;
* Not Yet Ready *&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://files.pine64.org/sw/pine64_installer/json/sailfishos.png&lt;br /&gt;
&lt;br /&gt;
== Sailfish OS build ==&lt;br /&gt;
&lt;br /&gt;
The Sailfish OS image is build on Gitlab CI, the latest image can be installed using our [https://raw.githubusercontent.com/sailfish-on-dontbeevil/flash-it/master/flash-it.sh flashing script] written in Bash.&lt;br /&gt;
&lt;br /&gt;
The script downloads the image and bootloader from our CI, extracts everything and burns it onto the SD card.&lt;br /&gt;
&lt;br /&gt;
'''Instructions:'''&lt;br /&gt;
&lt;br /&gt;
1. Download the flashing script&lt;br /&gt;
&lt;br /&gt;
2. Insert a microSD card in your device&lt;br /&gt;
&lt;br /&gt;
3. Make the script executable: &amp;lt;code&amp;gt;chmod +x flash-it.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Execute it: &amp;lt;code&amp;gt;./flash-it.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Follow the instructions. Some commands in the script require root permissions (for example: mounting and flashing the SD card).&lt;br /&gt;
&lt;br /&gt;
'''Note''': The script will format and flash the SD card, make sure that you don't have any important data on the SD card!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://files.pine64.org/sw/pine64_installer/json/maemo_leste.png&lt;br /&gt;
&lt;br /&gt;
== Maemo Leste build ==&lt;br /&gt;
* Works on dev kit versions 1.1 and 1.2 &lt;br /&gt;
* DD image to a micro SD (8GB+) or eMMC &lt;br /&gt;
** [https://maedevu.maemo.org/images/pinephone-dontbeevil/ Maemo Leste test builds download]&lt;br /&gt;
&lt;br /&gt;
https://files.pine64.org/sw/pine64_installer/json/nixos.png&lt;br /&gt;
&lt;br /&gt;
== NixOS build ==&lt;br /&gt;
* Not Yet Ready *&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://files.pine64.org/sw/pine64_installer/json/luneos.jpg&lt;br /&gt;
&lt;br /&gt;
== LuneOS build ==&lt;br /&gt;
* [https://build.webos-ports.org/luneos-testing/images/pinephone/ LuneOS test image for PinePhone and thanks to Tofe]&lt;br /&gt;
* Tofe recommends using bmaptool ; for example &amp;quot;bmaptool copy https://build.webos-ports.org/luneos-testing/images/pinephone/luneos-dev-image-pinephone-testing-0-15.rootfs.wic.gz /dev/mmcblk0&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://files.pine64.org/sw/pine64_installer/json/nemo_mobile.png&lt;br /&gt;
&lt;br /&gt;
== Nemo Mobile build ==&lt;br /&gt;
* Not Yet Ready *&lt;br /&gt;
&lt;br /&gt;
= Mali-400 64-bit Driver =&lt;br /&gt;
&lt;br /&gt;
== Mali-400 64-bit Driver [20171220] ==&lt;br /&gt;
* [[Mali_Driver|Mali 64-bit X11 and Wayland Driver Download]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quick Links to Build Sources of OS Images ==&lt;br /&gt;
&lt;br /&gt;
* [https://linux-sunxi.org/Linux_mainlining_effort#Status_Matrix A64 mainline status matrix chart]&lt;br /&gt;
&lt;br /&gt;
'''Some these OS images labelled as &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;beta or nightly builds&amp;lt;/span&amp;gt; which means they are only fit for testing purposes&lt;br /&gt;
&lt;br /&gt;
'''These images should be &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;used at your own risk&amp;lt;/span&amp;gt; and are not fit for normal use'''&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/anarsoul/linux-build/releases/latest Arch Linux XFCE]&lt;br /&gt;
* [https://www.stdin.xyz/downloads/people/longsleep/pine64-images/ longsleep BSP Linux]&lt;br /&gt;
* [https://github.com/ayufan-pine64/linux-build/releases/latest/ ayufan Linux]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Errata for ver1.1 and ver1.2 board =&lt;br /&gt;
&lt;br /&gt;
'''1. Please DON'T insert micro SIM card to dev kit board micro SIM card slot, the SIM data, VPP, and GND signal have been misplaced. A miciPCIe adapter with sim card holder 9shown as below photo) will be provide to developers to correct this mistake.'''&lt;br /&gt;
&lt;br /&gt;
[[File:MiniPCIe_with_sim_slot_adapter.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''2. The PinePhone dev kit doesn't charge due to VBUS on SOPine module is not connected. Please connect R9688 solder pads with 0 ohm resistor or using thin wire bridge up the solder pads. Location shows as below:'''&lt;br /&gt;
&lt;br /&gt;
[[File:PinePhone_VBUS_charging_small.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''3. The SOPINE's SPI NOR flash storage and the devkit's camera flash (heh) share the same GPIO pins. The flash storage may not be used.'''&lt;br /&gt;
&lt;br /&gt;
[[File:SOPINE-SPI-Flash.png]] [[File:Pinephone-1.1-flash-schematic.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''4. On the camera flash GPIO conflict, the new assignment of GPIO PB3 pin for SGM3140 FLASH_EN and GPIP PD7 for FLASH_TRIGOUT. Please note that PD7 is also LCD_ID pin which may not be used.'''&lt;br /&gt;
&lt;br /&gt;
[[File:GPIO_PB3_location.jpg]]&lt;br /&gt;
GPIO PB3 location&lt;br /&gt;
&lt;br /&gt;
[[File:U54_SGM3140_FLASH_EN pin location.jpg]]&lt;br /&gt;
U54 SGM3140 FLASH_EN pin location&lt;br /&gt;
&lt;br /&gt;
[[File:Flash_GPIO_Reassigned.jpg]]&lt;br /&gt;
Flash GPIOs Reassigned wiring&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Other Resources =&lt;br /&gt;
* [https://linux-sunxi.org/Pine64#Manufacturer_images Linux Sunxi Wiki page on PINE A64]&lt;br /&gt;
* [https://github.com/apritzel/pine64 Linux Image created by Andre Przywara]&lt;br /&gt;
* [https://github.com/longsleep/build-pine64-image PINE64 Linux build scripts, tools and instructions by Longsleep]&lt;br /&gt;
* [https://www.stdin.xyz/downloads/people/longsleep/pine64-images/ PINE64 Linux image by Longsleep]&lt;br /&gt;
* [https://softwarebakery.com/shrinking-images-on-linux Shrinking images on Linux by FrozenCow]&lt;br /&gt;
* [https://osmocom.org/projects/quectel-modems/wiki/EC25/24 Quectel EC-25 LTE module open source information]&lt;br /&gt;
&lt;br /&gt;
[[Category:PinePhone]] [[Category:Allwinner A64]]&lt;/div&gt;</summary>
		<author><name>Thanos the tank engine</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=File:Martijnpocket.jpg&amp;diff=9614</id>
		<title>File:Martijnpocket.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=File:Martijnpocket.jpg&amp;diff=9614"/>
		<updated>2021-03-27T23:03:21Z</updated>

		<summary type="html">&lt;p&gt;Thanos the tank engine: Martijn with a Project don't be evil Pinephone devkit in his pocket&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Martijn with a Project don't be evil Pinephone devkit in his pocket&lt;br /&gt;
== Licensing ==&lt;br /&gt;
{{PD|PD}}&lt;/div&gt;</summary>
		<author><name>Thanos the tank engine</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PinePhone&amp;diff=8490</id>
		<title>PinePhone</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PinePhone&amp;diff=8490"/>
		<updated>2020-12-24T09:17:30Z</updated>

		<summary type="html">&lt;p&gt;Thanos the tank engine: Added Pogo pin output current&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;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. Its successor is the Community Edition, the first Community Edition started to ship in June 2020. The phone will be available for at least five years.&lt;br /&gt;
&lt;br /&gt;
== First time installation ==&lt;br /&gt;
&lt;br /&gt;
{{Hint|The default PIN for the Manjaro on the Community Edition is '''123456'''.}}&lt;br /&gt;
&lt;br /&gt;
[[File:PinePhone-3.jpg|400px|thumb|right|PinePhone is capable of running a multitude of different Linux mobile OSes]]&lt;br /&gt;
&lt;br /&gt;
[[File:Pinephone_rendering_blank.png|400px|thumb|right|Rendering of the back and front of PinePhone]]&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
[[File:Pinephone_warning.png|none|left|400px]]&lt;br /&gt;
&lt;br /&gt;
After unboxing remove the back panel using the notch in the corner of the back panel. Then remove the battery and peel off the clear plastic sticker below it that isolates the charging contact. Then replace the battery, see [[PinePhone#Battery|Battery]] for more information.&lt;br /&gt;
&lt;br /&gt;
The SIM card has to be placed in the lower slot, while the microSD has to be placed in the upper slot, as pictured here:&lt;br /&gt;
&lt;br /&gt;
[[File:Pinephone_backside.png|none|left|400px]]&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
'''Dimensions:''' 160.5 x 76.6 x 9.2mm &amp;lt;br&amp;gt;&lt;br /&gt;
'''Weight:''' Between 180-200 grams &amp;lt;br&amp;gt;&lt;br /&gt;
'''SIM Card:''' Micro-SIM &amp;lt;br&amp;gt;&lt;br /&gt;
'''Display:'''&lt;br /&gt;
: '''Size:''' 5.95 inches (151mm) diagonal&lt;br /&gt;
: '''Type:''' HD IPS capacitive touchscreen, 16M colors&lt;br /&gt;
: '''Resolution:''' 1440x720, 18:9 ratio &amp;lt;br&amp;gt;&lt;br /&gt;
'''System on Chip:''' [https://linux-sunxi.org/A64 Allwinner A64] &amp;lt;br&amp;gt;&lt;br /&gt;
'''RAM:''' 2GB or 3GB LPDDR3 SDRAM&amp;lt;br&amp;gt;&lt;br /&gt;
'''Internal Storage:''' 16GB or 32GB eMMC, extendable up to 2TB via microSD, supports SDHC and SDXC &amp;lt;br&amp;gt;&lt;br /&gt;
'''Back Camera:''' Single 5MP, 1/4&amp;quot;, LED Flash &amp;lt;br&amp;gt;&lt;br /&gt;
'''Selfie Camera:''' Single 2MP, f/2.8, 1/5&amp;quot; &amp;lt;br&amp;gt;&lt;br /&gt;
'''Sound:''' Loudspeaker, 3.5mm jack &amp;amp; mic (jack doubles as hardware UART if killswitch 6 is deactivated) &amp;lt;br&amp;gt;&lt;br /&gt;
'''Communication: G25-G'''&lt;br /&gt;
: '''LTE:''' B1, B2, B3, B4, B5, B7, B8, B12, B13, B18, B19, B20, B25, B26, B28, B38, B39, B40, B41&lt;br /&gt;
: '''WCDMA:''' B1, B2, B4, B5, B6, B8, B19&lt;br /&gt;
: '''GSM:''' 850, 900, 1800, 1900 (MHz)&lt;br /&gt;
: '''WLAN:''' Wi-Fi 802.11 b/g/n, single-band, hotspot&lt;br /&gt;
: '''Bluetooth:''' 4.0, A2DP&lt;br /&gt;
: '''GNSS:''' GPS/GLONASS/BeiDou/Galileo/QZSS, with A-GPS&lt;br /&gt;
'''Sensors:''' Accelerometer, gyro, proximity, ambient light, compass &amp;lt;br&amp;gt;&lt;br /&gt;
'''Killswitches:''' Modem, WiFi &amp;amp; Bluetooth, Microphone, Cameras &amp;lt;br&amp;gt;&lt;br /&gt;
'''Battery:''' Lithium-ion, rated capacity 2800mAh (10.64Wh), typical capacity 3000mAh (11.40Wh) (nominally replaceable with any Samsung J7 form-factor battery) &amp;lt;br&amp;gt;&lt;br /&gt;
'''I/O:''' USB Type-C, USB Host, DisplayPort Alternate Mode output, 15W 5V 3A Quick Charge, follows USB PD specification&lt;br /&gt;
&lt;br /&gt;
== Components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Component&lt;br /&gt;
! Model&lt;br /&gt;
|-&lt;br /&gt;
| Touchscreen&lt;br /&gt;
| Goodix GT917S&lt;br /&gt;
|-&lt;br /&gt;
| Rear camera&lt;br /&gt;
| OmniVision OV5640&lt;br /&gt;
|-&lt;br /&gt;
| Camera flash&lt;br /&gt;
| SGMICRO SGM3140&lt;br /&gt;
|-&lt;br /&gt;
| Front camera&lt;br /&gt;
| GalaxyCore GC2145&lt;br /&gt;
|-&lt;br /&gt;
| LCD&lt;br /&gt;
| Xingbangda XBD599&lt;br /&gt;
|-&lt;br /&gt;
| WiFi&lt;br /&gt;
| Realtek RTL8723CS&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth&lt;br /&gt;
| Realtek RTL8723CS&lt;br /&gt;
|-&lt;br /&gt;
| Modem&lt;br /&gt;
| Quectel EG25-G&lt;br /&gt;
|-&lt;br /&gt;
| GNSS/GPS&lt;br /&gt;
| Quectel EG25-G&lt;br /&gt;
|-&lt;br /&gt;
| Magnetometer&lt;br /&gt;
| ST LIS3MDL&lt;br /&gt;
|-&lt;br /&gt;
| Ambient light / Proximity&lt;br /&gt;
| SensorTek STK3335&lt;br /&gt;
|-&lt;br /&gt;
| Sixaxis&lt;br /&gt;
| InvenSense MPU-6050&lt;br /&gt;
|-&lt;br /&gt;
| Vibration motor&lt;br /&gt;
| Unknown model&lt;br /&gt;
|-&lt;br /&gt;
| Notification LED&lt;br /&gt;
| LED0603RGB&lt;br /&gt;
|-&lt;br /&gt;
| Volume buttons&lt;br /&gt;
| Buttons connected to the KEYADC&lt;br /&gt;
|-&lt;br /&gt;
| Power button&lt;br /&gt;
| X-Powers AXP803&lt;br /&gt;
|-&lt;br /&gt;
| Battery fuel gauge&lt;br /&gt;
| X-Powers AXP803&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
See the [[PinePhone_component_list|PinePhone Component List]].&lt;br /&gt;
&lt;br /&gt;
== Hardware revisions ==&lt;br /&gt;
&lt;br /&gt;
# [[Project Anakin]]&lt;br /&gt;
# [[Project Don't be evil|&amp;quot;Project Don't Be Evil&amp;quot; devkit]]&lt;br /&gt;
# [[PinePhone v1.0 - Dev|PinePhone v1.0 - Developer batch]]&lt;br /&gt;
# [[PinePhone v1.1 - Braveheart]]&lt;br /&gt;
# [[PinePhone v1.2‎]] - Ubports Community Edition&lt;br /&gt;
# [[PinePhone v1.2a]] - postmarketOS Community Edition&lt;br /&gt;
# [[PinePhone v1.2b]] - Manjaro Community Edition&lt;br /&gt;
&lt;br /&gt;
== Swapping in a new mainboard revision ==&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
=== Replacing the mainboard ===&lt;br /&gt;
&lt;br /&gt;
Prior to replacing your PinePhone’s mainboard please read the steps outlined in bullet points below and watch the attached video.&lt;br /&gt;
&lt;br /&gt;
# You’ll need a small Phillip’s screwdriver and a prying tool to swap out the PinePhone’s mainboard.&lt;br /&gt;
# Remove the PinePhone’s back cover. See your quick start guide for details.&lt;br /&gt;
# Remove the battery as well as any inserted SD and SIM cards.&lt;br /&gt;
# Unscrew all 15 Phillip’s head screws around the midframe of the phone.&lt;br /&gt;
# 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.&lt;br /&gt;
# 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.&lt;br /&gt;
# Pry the mainboard up gently from the left-hand side.&lt;br /&gt;
# Remove front and main cameras and reset them into the new mainboard.&lt;br /&gt;
# Check that the rubber proximity sensor housing is in the chassis, not stuck to the removed mainboard.&lt;br /&gt;
# 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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
A video tutorial can be found here:&lt;br /&gt;
[[File:Pinephone_martijn_pcb_replacement.png|thumb|none|600px|link=https://www.youtube.com/watch?v=5GbMoZ_zuZs|Watch Martijn Braam's video tutorial here: https://www.youtube.com/watch?v=5GbMoZ_zuZs.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Alternatively user bridadan uploaded a video tutorial of the swap procedure including camera swap and proximity sensor housing here: https://www.youtube.com/watch?v=J3AJEF7akkw.]]&lt;br /&gt;
&lt;br /&gt;
=== Flashing the ANX firmware ===&lt;br /&gt;
&lt;br /&gt;
After swapping the mainboard the ANX chip has to be flashed for full USB functionality.&lt;br /&gt;
&lt;br /&gt;
Download the latest ANX firmware image on the phone:&lt;br /&gt;
&lt;br /&gt;
 wget https://xff.cz/git/linux-firmware/plain/anx7688-fw.bin&lt;br /&gt;
&lt;br /&gt;
Execute as root (&amp;quot;sudo su&amp;quot;) on the phone:&lt;br /&gt;
&lt;br /&gt;
 cp anx7688-fw.bin /lib/firmware/&lt;br /&gt;
 echo 1 &amp;gt; /sys/class/typec/port0/device/flash_eeprom&lt;br /&gt;
&lt;br /&gt;
== Hardware accessory ==&lt;br /&gt;
&lt;br /&gt;
=== PinePhone hardware accessory compatibility ===&lt;br /&gt;
See [[PinePhone Hardware Accessory Compatibility]] for a list of devices working with the PinePhone (depending on their OS support).&lt;br /&gt;
&lt;br /&gt;
=== USB-C connector ===&lt;br /&gt;
&lt;br /&gt;
The USB-C can be used to power the device, and offers USB2 host and OTG possibilities, 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, HDMI port and Ethernet connection. The driver that would make this connection available is not supported at this time.&lt;br /&gt;
&lt;br /&gt;
=== Pogo pins ===&lt;br /&gt;
&lt;br /&gt;
The PinePhone has 6 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 input to charge the battery, power source and an I2C interface.&lt;br /&gt;
&lt;br /&gt;
[[File:Pinephone pogo.png|none|400px]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| Interrupt&lt;br /&gt;
| SDA&lt;br /&gt;
| SCL&lt;br /&gt;
|-&lt;br /&gt;
| 5V / VBUS&lt;br /&gt;
| VBAT&lt;br /&gt;
| GND&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The VBUS pin is powered by USB and is 5V at up to 500mA. The second power pin is VBAT, which connects to the battery voltage. The I2C and interrupt lines have pull-ups on the phone side. The I2C lines are pulled up to 3V3 by the phone.&lt;br /&gt;
&lt;br /&gt;
For a breakout board see [https://github.com/SMR404/PinephonePogoBreakout here]. For an example project see Martijn's blog post [https://blog.brixit.nl/making-a-backcover-extension-for-the-pinephone/ &amp;lt;i&amp;gt;&amp;quot;Making a backcover extension for the PinePhone&amp;quot;&amp;lt;/i&amp;gt;].&lt;br /&gt;
&lt;br /&gt;
=== Back cover ===&lt;br /&gt;
A step file for the back cover for creating custom cases is freely available [https://files.pine64.org/doc/PinePhone/PinePhone%20Back%20Cover%20ver%200.5.stp here].&lt;br /&gt;
&lt;br /&gt;
=== Serial console ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;on&amp;quot;, the headphone connector is in audio mode, if it is set to &amp;quot;off&amp;quot; it's in UART mode. The UART serial connection can also be used for communication with other devices from the PinePhone.&lt;br /&gt;
&lt;br /&gt;
The UART is 115200n8.&lt;br /&gt;
&lt;br /&gt;
The pinout for the serial connector is:&lt;br /&gt;
&lt;br /&gt;
* Tip: RX&lt;br /&gt;
* Ring: TX&lt;br /&gt;
* Sleeve: GND&lt;br /&gt;
&lt;br /&gt;
[[File:PinePhone_Serial_Cable.png|none|400px]]&lt;br /&gt;
&lt;br /&gt;
You can buy a serial debug cable from the [https://pine64.com/product/pinebook-pinephone-pinetab-serial-console/ Pine64 Store]. The store cable uses a 4 ring plug, as seen in the [https://files.pine64.org/doc/pinebook/guide/Pinebook_Earphone_Serial_Console_Developer_Guide.pdf 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 &amp;quot;host&amp;quot;/DTE it means that you need a ''cross modem cable'' ([https://en.wikipedia.org/wiki/Null_modem Null Modem]) with TX on Tip to be connected to RX. A cable like e.g. [https://www.ftdichip.com/Products/Cables/USBTTLSerial.htm FTDI TTL-232R-3V3-AJ] which has TX on Tip and RX on Ring fits perfectly.&lt;br /&gt;
&lt;br /&gt;
== Killswitch configuration ==&lt;br /&gt;
&lt;br /&gt;
[[File:PinePhone Kill Interruptors de Maquinari del PinePhone 4529.jpg|320px|thumb|right|Detail of DIP switch]]&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;on&amp;quot; position is toward the top of the phone.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Number&lt;br /&gt;
! Name&lt;br /&gt;
! Explanation&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| Modem&lt;br /&gt;
| Pulls Q1501 gate up (FET killing modem power)&lt;br /&gt;
| &amp;quot;On&amp;quot; enables 2G/3G/4G communication and GNSS hardware, &amp;quot;off&amp;quot; disables it.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| WiFi / Bluetooth&lt;br /&gt;
| Pulls up CHIP_EN&lt;br /&gt;
| &amp;quot;On&amp;quot; enables WiFi and Bluetooth communication hardware, &amp;quot;off&amp;quot; disables it.&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| Microphone&lt;br /&gt;
| Breaks microphone bias voltage from the SoC&lt;br /&gt;
| &amp;quot;On&amp;quot; enables audio input from on-board microphones (not 3.5mm jack), &amp;quot;off&amp;quot; disables it.&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| Rear camera&lt;br /&gt;
| Pulls up PWDN on OV5640 &lt;br /&gt;
| &amp;quot;On&amp;quot; enables the rear camera, &amp;quot;off&amp;quot; disables it.&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| Front camera&lt;br /&gt;
| Pulls up PWDN on GC2145&lt;br /&gt;
| &amp;quot;On&amp;quot; enables the front camera, &amp;quot;off&amp;quot; disables it.&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| Headphone&lt;br /&gt;
| Pulls up IN2 on analog switch BCT4717ETB&lt;br /&gt;
| &amp;quot;On&amp;quot; enables audio input and output via the 3.5mm audio jack, &amp;quot;off&amp;quot; switches the jack to hardware UART mode.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Camera ==&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
[[File:Rose.jpg|400px|thumb|none|Example picture taken on the PinePhone's rear camera by Martijn Braam using his app ''Megapixels''.]]&lt;br /&gt;
&lt;br /&gt;
Further details regarding the camera and the Megapixels camera app can be found on [https://blog.brixit.nl/tag/phones/ Martijn's blog].&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
&lt;br /&gt;
{{Hint|The EG25 modem and RTL8723CS WiFi/bluetooth do not work without battery power, even if you are supplying enough power to the PinePhone with USB-C.}}&lt;br /&gt;
&lt;br /&gt;
The phone ships with a plastic sticker between the battery and the phone. You need to open the back cover (gently), then remove the battery and finally remove the sticker and check that the pins aren't bent. This is to protect the device from turning on during shipping.&lt;br /&gt;
&lt;br /&gt;
The [https://files.pine64.org/doc/datasheet/pinephone/PinePhone%20QZ01%20Battery%20Specification.pdf supplied battery] is [https://forum.pine64.org/showthread.php?tid=8120&amp;amp;pid=53307#pid53307 meant to be] compatible with Samsung part number EB-BJ700BBC / BBE / CBE from the 2015 J7 phone. &lt;br /&gt;
* The extended life aftermarket BBU does fit, although it is a tight fit.&lt;br /&gt;
* There is [https://forum.pine64.org/showthread.php?tid=8563&amp;amp;pid=55053#pid55053 a report] that the EB-BJ700CBE isn't quite the same size, causing the back not to fit the BraveHeart Edition properly.&lt;br /&gt;
&lt;br /&gt;
The battery terminals, in order from nearest the edge to nearest the middle, are:&lt;br /&gt;
&lt;br /&gt;
# +ve&lt;br /&gt;
# thermistor&lt;br /&gt;
# -ve&lt;br /&gt;
# not connected&lt;br /&gt;
&lt;br /&gt;
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&amp;amp;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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot;, heights=300px&amp;gt;&lt;br /&gt;
Image:PinePhone battery1.png|Photo of Brave Heart case from OSAKANA TARO on Twitter&lt;br /&gt;
Image:PinePhone battery3.jpeg|Photo of Brave Heart battery sticker from OSAKANA TARO on Twitter&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Modem and carrier support ==&lt;br /&gt;
=== APN settings ===&lt;br /&gt;
&lt;br /&gt;
The APN setting is only required for a public Internet connection (&amp;quot;data&amp;quot;) on the phone. For tested APN settings and how to apply them see [[PinePhone APN Settings]].&lt;br /&gt;
&lt;br /&gt;
=== Carrier support ===&lt;br /&gt;
The page [[PinePhone Carrier Support]] contains information about the frequency support of different carriers and hints on setting up cellular network connectivity.&lt;br /&gt;
&lt;br /&gt;
=== Documents ===&lt;br /&gt;
&lt;br /&gt;
Detailed information about the modem can be found on the [https://xnux.eu/devices/feature/modem-pp.html#toc-modem-on-pinephone 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 [https://megous.com/dl/tmp/modem.txt 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.&lt;br /&gt;
&lt;br /&gt;
=== Firmware modifications ===&lt;br /&gt;
&lt;br /&gt;
See [[PineModems]] for more information regarding modem bootloader unlocking, building a custom modem firmware and modem recovery.&lt;br /&gt;
&lt;br /&gt;
=== Voice mail ===&lt;br /&gt;
&lt;br /&gt;
Some phone operating systems may not have support for accessing your voicemail by holding down the 1 key. 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: https://www.howardforums.com/showthread.php/913346-Rogers-GSM-Voicemail-Retrieval-Numbers&lt;br /&gt;
&lt;br /&gt;
In America, AT&amp;amp;T also has support for accessing your voicemail via an external phone number: https://www.att.com/support/article/wireless/KM1009101/&lt;br /&gt;
&lt;br /&gt;
== Operating Systems ==&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
=== Software releases ===&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
=== Installation instructions ===&lt;br /&gt;
&lt;br /&gt;
For instructions on how to install the operating systems to the eMMC or SD card see [[PinePhone Installation Instructions]].&lt;br /&gt;
&lt;br /&gt;
=== Flashing eMMC using Jumpdrive ===&lt;br /&gt;
&lt;br /&gt;
[[File:jumpdrive.jpg|400px|thumb|right|Jumpdrive running on the PinePhone]]&lt;br /&gt;
The internal eMMC flash storage can be flashed using the Jumpdrive utility by Danct12 and Martijn from postmarketOS.&lt;br /&gt;
This utility boots from micro SD and exposes the internal eMMC flash storage when the PinePhone is connected to a computer.&lt;br /&gt;
The process of flashing an OS to the exposed and mounted eMMC is identical to that of any other storage medium - e.g. a SD card. You can use the 'DD' command or a utility such as Etcher or Gnome Disks, etc.&lt;br /&gt;
&lt;br /&gt;
Latest Jumpdrive can be found [https://github.com/dreemurrs-embedded/Jumpdrive/releases/ here].&lt;br /&gt;
&lt;br /&gt;
==== Detailed usage instructions ====&lt;br /&gt;
&lt;br /&gt;
# Download the Jumpdrive image&lt;br /&gt;
# Flash the Jumpdrive image to a micro SD card&lt;br /&gt;
# Boot the PinePhone from the Jumpdrive micro SD card&lt;br /&gt;
# Connect the PinePhone to your computer using USB-A -&amp;gt; USB-C cable&lt;br /&gt;
# Flash the exposed PinePhone drive (e.g. /dev/mm..., check for the right device in dmesg, GNOME disks, or similar, and make sure it's unmounted) with your chosen OS image&lt;br /&gt;
# Once the flashing process is complete, disconnect the PinePhone from your PC, power it down and remove the Jumpdrive SD card&lt;br /&gt;
# The process is now finished, and you can boot from eMMC&lt;br /&gt;
&lt;br /&gt;
Jumpdrive also acts as a rescue image in case if you messed up your installation. To do so, you can telnet to '''172.16.42.1''', mount rootfs and fix it!&lt;br /&gt;
&lt;br /&gt;
==== Resize file system (optional) ====&lt;br /&gt;
&lt;br /&gt;
{{Hint|Many OSes already include a script, which is resizing the partition on first boot, where this step is not required.}}&lt;br /&gt;
&lt;br /&gt;
If you flash a 4GB image distribution (such as phosh+debian) to your eMMC, your eMMC will only have a 3.7GB partition on it. To use the entire 14.7GB on the eMMC, run the following commands:&lt;br /&gt;
&lt;br /&gt;
# sudo cfdisk /dev/sdX&lt;br /&gt;
# Change to [Resize] in the ncurses program, resize the 3.7GB partition to 14.7GB, and [Write]&lt;br /&gt;
# sudo resize2fs /dev/sdXY&lt;br /&gt;
&lt;br /&gt;
Replace X with your drive's name. Replace Y with the partition you resized in cfdisk.&lt;br /&gt;
&lt;br /&gt;
==== Feedback ====&lt;br /&gt;
&lt;br /&gt;
If you've found an issue or want to improve the tool consider these sites:&lt;br /&gt;
&lt;br /&gt;
* Issues: https://github.com/dreemurrs-embedded/Jumpdrive/issues&lt;br /&gt;
* Pull Requests: https://github.com/dreemurrs-embedded/Jumpdrive/pulls&lt;br /&gt;
&lt;br /&gt;
== Frequently asked questions ==&lt;br /&gt;
&lt;br /&gt;
For a list of frequently asked questions (including information regarding the shipping) see [[PinePhone FAQ]].&lt;br /&gt;
&lt;br /&gt;
== Replacing the screen ==&lt;br /&gt;
&lt;br /&gt;
Before attempting to replace the screen be sure to review the section on [[#Swapping in a new mainboard revision|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.&lt;br /&gt;
&lt;br /&gt;
* 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.&lt;br /&gt;
&lt;br /&gt;
* 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.&lt;br /&gt;
&lt;br /&gt;
* The vibrator 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.&lt;br /&gt;
&lt;br /&gt;
* 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.&lt;br /&gt;
&lt;br /&gt;
Take your time, use the right tools, be careful and you should be rewarded with success.&lt;br /&gt;
&lt;br /&gt;
== Spare parts not available in the Pine64 store ==&lt;br /&gt;
&lt;br /&gt;
* Earpiece dimensions: 12x6x2 mm. Compatible with Xiaomi Mi2 / Mi3 / Mi4, Lenovo A536 and others. ([https://forum.pine64.org/showthread.php?tid=12046&amp;amp;pid=85698#pid85698 ref])&lt;br /&gt;
* Loudspeaker dimensions: 15x11x3 mm. Compatible with Nokia N91, Lenovo A536 and others. ([https://forum.pine64.org/showthread.php?tid=12046&amp;amp;pid=85698#pid85698 ref])&lt;br /&gt;
* Proximity sensor rubber gasket&lt;br /&gt;
&lt;br /&gt;
== Press ==&lt;br /&gt;
&lt;br /&gt;
For an overview about media of the PinePhone you can use for the news, blogs, or similar see [[PinePhone Press]].&lt;br /&gt;
&lt;br /&gt;
== PinePhone board information, schematics and certifications ==&lt;br /&gt;
* PinePhone mainboard schematic:&lt;br /&gt;
** [https://files.pine64.org/doc/PinePhone/PinePhone%20v1.2b%20Released%20Schematic.pdf PinePhone mainboard Released Schematic ver 1.2b]&lt;br /&gt;
** [https://files.pine64.org/doc/PinePhone/PinePhone%20v1.2a%20Released%20Schematic.pdf PinePhone mainboard Released Schematic ver 1.2a]&lt;br /&gt;
** [https://files.pine64.org/doc/PinePhone/PinePhone%20v1.2%20Released%20Schematic.pdf PinePhone mainboard Released Schematic ver 1.2]&lt;br /&gt;
** [[PinePhone_v1.2|PinePhone schematic ver 1.2 change list]]&lt;br /&gt;
** [https://files.pine64.org/doc/PinePhone/PinePhone%20Schematic%20v1.1%2020191031.pdf &amp;quot;Braveheart&amp;quot; PinePhone mainboard Schematic ver 1.1]&lt;br /&gt;
** [https://files.pine64.org/doc/PinePhone/PinePhone%20mainboard%20top%20placement%20v1.1%2020191031.pdf &amp;quot;Braveheart&amp;quot; PinePhone mainboard component top placement drawing ver 1.1]&lt;br /&gt;
** [https://files.pine64.org/doc/PinePhone/PinePhone%20mainboard%20bottom%20placement%20v1.1%2020191031.pdf &amp;quot;Braveheart&amp;quot; PinePhone mainboard component bottom placement drawing ver 1.1]&lt;br /&gt;
** [[PinePhone component list]]&lt;br /&gt;
* PinePhone USB-C small board schematic:&lt;br /&gt;
** [https://files.pine64.org/doc/PinePhone/PinePhone%20USB-C%20small%20board%20schematic%20v1.0%2020190730.pdf PinePhone USB-C small board Schematic ver 1.0]&lt;br /&gt;
** [https://files.pine64.org/doc/PinePhone/PinePhone%20USB-C%20small%20board%20top%20placement%20v1.0%2020190730.pdf PinePhone USB-C small board component top placement drawing ver 1.0]&lt;br /&gt;
** [https://files.pine64.org/doc/PinePhone/PinePhone%20USB-C%20small%20board%20bottom%20placement%20v1.0%2020190730.pdf PinePhone USB-C small board component bottom placement drawing ver 1.0]&lt;br /&gt;
* PinePhone certifications:&lt;br /&gt;
** [https://files.pine64.org/doc/cert/PinePhone%20FCC%20SDOC%20Certificate-S19112602605001.pdf PinePhone FCC Certificate]&lt;br /&gt;
** [https://fcc.report/FCC-ID/2AWAG-PINEPHONE RF Exposure SAR Information from FCC ID site]&lt;br /&gt;
** [https://files.pine64.org/doc/cert/PinePhone%20CE%20RED%20Certificate-S19112602602.pdf PinePhone CE RED Certificate]&lt;br /&gt;
** [https://files.pine64.org/doc/cert/PinePhone%20ROHS%20Report.pdf PinePhone ROHS Report]&lt;br /&gt;
** PinePhone's GSMA TAC (Type Allocation Code) is 86769804&lt;br /&gt;
&lt;br /&gt;
== Datasheets for components and peripherals ==&lt;br /&gt;
&lt;br /&gt;
* Allwinner A64 SoC information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/A64%20brief%20v1.0%2020150323.pdf Allwinner A64 SoC brief introduction]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/A64_Datasheet_V1.1.pdf Allwinner A64 SoC Data Sheet V1.1 (Official Released Version)]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/Allwinner_A64_User_Manual_V1.0.pdf Allwinner A64 SoC User Manual V1.0 (Official Release Version)]&lt;br /&gt;
&lt;br /&gt;
* X-Powers AXP803 PMU (Power Management Unit) information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/AXP803_Datasheet_V1.0.pdf AXP803 PMIC datasheet]&lt;br /&gt;
&lt;br /&gt;
* LPDDR3 (178 Balls) SDRAM:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinephone/ATL3A1632H12A_mobile_lpddr3_11x11.5_v1.0_1600.pdf Artmem LPDDR3 datasheet]&lt;br /&gt;
&lt;br /&gt;
* eMMC information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinephone/Kimtigo_fbga153_16_32_64_eMMC_datasheet_v1.3.pdf Kimtigo eMMC datasheet]&lt;br /&gt;
&lt;br /&gt;
* CMOS camera module information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinephone/QZ01-rear-2019-0717(HW)%20Model.pdf PinePhone 5M Pixel Real CMOS Image Sensor Module]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinephone/OV5640_datasheet.pdf OV5640 5MP CMOS Image Sensor SoC for Rear Module datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinephone/QZ01-front-2019-0717(HW)%20Model.pdf PinePhone 2M Pixel Front CMOS Image Sensor Module]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinephone/GC2145%20CSP%20DataSheet%20release%20V1.0_20131201.pdf GC2145 2MP CMOS Image Sensor SoC for Front Module datasheet]&lt;br /&gt;
&lt;br /&gt;
* LCD touch screen panel information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinephone/PinePhone%20LCD-QZ01.pdf 5.99&amp;quot; 1440x720 LCD IPS Panel specification]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinephone/ST7703_DS_v01_20160128.pdf ST7703 LCD Controller datasheet]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinephone/GT917S-Datasheet.pdf GOODiX GT917S Capacitive Touch Controller datasheet]&lt;br /&gt;
&lt;br /&gt;
* Lithium battery information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinephone/PinePhone%20QZ01%20Battery%20Specification.pdf PinePhone Lithium Battery specification]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinephone/PinePhone%20QZ01%20Battery%20ZCV%20Curve%20Chart.xlsx PinePhone Lithium Battery ZCV curve chart]&lt;br /&gt;
&lt;br /&gt;
* WiFi/BT module information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pine64/RTL8723BS.pdf RTL8723BS/RTL8723CS specification]&lt;br /&gt;
&lt;br /&gt;
* LTE module information:&lt;br /&gt;
** [https://www.quectel.com/UploadFile/Product/Quectel_EG25-G_LTE_Standard_Specification_V1.2.pdf Quectel EG25-G LTE Module specification v1.2]&lt;br /&gt;
** [[Media:Quectel EC25EC21 AT Commands Manual V1.2.pdf|EC25&amp;amp;EC21 AT Commands Manual]]&lt;br /&gt;
** [https://www.quectel.com/UploadImage/Downlad/Quectel_EC2x&amp;amp;EG25-G&amp;amp;EG9x&amp;amp;EM05_FILE_AT_Commands_Manual_V1.0.pdf Quectel EC2x EG25-G EG9x EM05 FILE AT Commands Manual v1.0]&lt;br /&gt;
** [https://sixfab.com/wp-content/uploads/2018/09/Quectel_EC25EC21_GNSS_AT_Commands_Manual_V1.1.pdf Quectel EC25 EC21 GNSS AT Commands Manual v1.1]&lt;br /&gt;
&lt;br /&gt;
* Sensors:&lt;br /&gt;
** [https://www.st.com/en/mems-and-sensors/lis3mdl.html ST LIS3MDL 3-axis Magnetomater Datasheet]&lt;br /&gt;
** [https://www.invensense.com/products/motion-tracking/6-axis/mpu-6050/ InvenSense MPU-6050 Six-Axis (Gyro + Accelerometer) MEMS datasheet]&lt;br /&gt;
** [https://www.sensortek.com.tw/en/product/Proximity_Sensor_with_ALS.html SensorTek STK3335 Ambient Light Sensor and Proximity Sensor]&lt;br /&gt;
&lt;br /&gt;
* Digital video to USB-C bridge:&lt;br /&gt;
** [https://www.analogix.com/en/system/files/AA-002281-PB-6-ANX7688_Product_Brief.pdf ANX7688 product brief]&lt;br /&gt;
&lt;br /&gt;
* Case information:&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinephone/PinePhone%20Exploded%20Diagram%20ver%201.0.pdf PinePhone case exploded diagram]&lt;br /&gt;
** [https://files.pine64.org/doc/datasheet/pinephone/PinePhone%20Back%20Cover.stp PinePhone back cover 3D file]&lt;br /&gt;
&lt;br /&gt;
* Other components:&lt;br /&gt;
** See links in the [[PinePhone_component_list|Component List]]&lt;br /&gt;
&lt;br /&gt;
== Developer works ==&lt;br /&gt;
=== Megous ===&lt;br /&gt;
&lt;br /&gt;
* [https://xnux.eu/howtos/pine64-pinephone-getting-started.html Getting start with PinePhone Hardware]&lt;br /&gt;
* [https://xnux.eu/devices/pine64-pinephone.html State of development progress]&lt;br /&gt;
* [https://xnux.eu/news.html PinePhone Technical News and Update, also applies to other Allwinner devices including PINE A64 SBC]&lt;br /&gt;
* [https://xnux.eu/contribute.html Contributions to the kernel development]&lt;br /&gt;
&lt;br /&gt;
== External links == &lt;br /&gt;
* [https://pine64.com/product-category/pinephone/ The PinePhone on the official Pine store]&lt;br /&gt;
* [https://pine64.com/product-category/smarphone-spare-parts/ PinePhone spare parts on the official Pine store]&lt;br /&gt;
* [https://pine64.com/product-category/smartphone-accessories/ PinePhone accessories on the official Pine store]&lt;br /&gt;
&lt;br /&gt;
[[Category:PinePhone]] [[Category:Allwinner A64]]&lt;/div&gt;</summary>
		<author><name>Thanos the tank engine</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Main_Page&amp;diff=8468</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Main_Page&amp;diff=8468"/>
		<updated>2020-12-18T23:22:01Z</updated>

		<summary type="html">&lt;p&gt;Thanos the tank engine: Added martrix and telegram groups for the Pinecil to the &amp;quot;Community and support&amp;quot; section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;PINE64 is a community-driven company focused on creating high-quality, low cost ARM devices for businesses and individuals around the globe. PINE64 made its debut with the [[PINE_A64|Pine A64]] single-board computer, which successfully launched on Kickstarter in 2015. PINE64 has since released a multitude of other devices, including both development boards and end-user devices.&lt;br /&gt;
&lt;br /&gt;
PINE64 has a large and active community and offers a variety of resources for businesses and hobbyists to take advantage of their projects. To learn more about PINE64 and the available devices, please visit the main [https://www.pine64.org/ PINE64 website].&lt;br /&gt;
&lt;br /&gt;
= Devices =&lt;br /&gt;
&lt;br /&gt;
* [[Nutcracker]]&lt;br /&gt;
* [[PINE A64]]&lt;br /&gt;
* [[PINE A64-LTS/SOPine]], [[SOPine_Clusterboard | Clusterboard]]&lt;br /&gt;
* [[PINE H64]]&lt;br /&gt;
* [[PineCube]]&lt;br /&gt;
* [[PinePhone]]&lt;br /&gt;
* [[PineTab]]&lt;br /&gt;
* [[PineTime]]&lt;br /&gt;
* [[Pinebook Pro]]&lt;br /&gt;
* [[Pinebook]], [[1080P Pinebook]]&lt;br /&gt;
* [[Pinecil]]&lt;br /&gt;
* [[ROCK64]]&lt;br /&gt;
* [[ROCKPro64]]&lt;br /&gt;
* [[SOEdge]]&lt;br /&gt;
&lt;br /&gt;
= Community and Support =&lt;br /&gt;
PINE64 has a large and very active community. Community discussion takes place on a variety of chat platforms which are all bridged together - messages sent via one platform will be sent to all other platforms automatically. The community chat platforms are:&lt;br /&gt;
&lt;br /&gt;
'''Matrix'''&lt;br /&gt;
: [https://riot.im/app/#/room/#pine64:matrix.org #pine64:matrix.org] - General room&lt;br /&gt;
: [https://riot.im/app/#/room/#rock64:matrix.org #rock64:matrix.org] - ROCK64 / ROCKPro64 room&lt;br /&gt;
: [https://riot.im/app/#/room/#pinebook:matrix.org #pinebook:matrix.org] - Pinebook and Pinebook Pro room&lt;br /&gt;
: [https://riot.im/app/#/room/#pinephone:matrix.org #pinephone:matrix.org] - PinePhone room&lt;br /&gt;
: [https://riot.im/app/#/room/#pinetab:pine64.org #pinetab:matrix.org] - PineTab room&lt;br /&gt;
: [https://riot.im/app/#/room/#pinetime64:matrix.org #pinetime64:matrix.org] - PineTime room&lt;br /&gt;
: [https://riot.im/app/#/room/#pinecil:matrix.org #pinecil:matrix.org] - Pinecil room&lt;br /&gt;
: [https://riot.im/app/#/room/#offtopic64:matrix.org #offtopic64:matrix.org] - Off-topic room&lt;br /&gt;
&lt;br /&gt;
'''IRC'''&lt;br /&gt;
: Server: [ircs://irc.pine64.org irc.pine64.org], type &amp;lt;code&amp;gt;/list&amp;lt;/code&amp;gt; to see all channels (web IRC: https://www.pine64.org/web-irc/)&lt;br /&gt;
&lt;br /&gt;
'''Discord'''&lt;br /&gt;
: [https://discordapp.com/invite/DgB7kzr Discord invite link]&lt;br /&gt;
&lt;br /&gt;
'''Telegram'''&lt;br /&gt;
: [https://t.me/PINE64_News Pine64 News group]&lt;br /&gt;
: [https://t.me/mtrx_pine64 General group]&lt;br /&gt;
: [https://t.me/mtrx_rock64 ROCK64 / ROCKPro64 group]&lt;br /&gt;
: [https://t.me/mtx_pinebook Pinebook and Pinebook Pro group]&lt;br /&gt;
: [https://t.me/pinephone PinePhone group]&lt;br /&gt;
: [https://t.me/PineTab PineTab group]&lt;br /&gt;
: [https://t.me/pinetime PineTime group]&lt;br /&gt;
: [https://t.me/joinchat/Kmi2S1iej-_4DgrVf3jjnQ Pinecil group]&lt;br /&gt;
: [https://t.me/pine64offtopic Pine64 off-topic]&lt;br /&gt;
&lt;br /&gt;
'''Forums'''&lt;br /&gt;
: Official [https://forum.pine64.org/ PINE64 Forum]&lt;br /&gt;
&lt;br /&gt;
'''Reddit'''&lt;br /&gt;
: Official [https://www.reddit.com/r/PINE64official/ PINE64 Reddit]&lt;br /&gt;
: Official [https://www.reddit.com/r/PinePhoneOfficial/ PinePhone Reddit]&lt;br /&gt;
&lt;br /&gt;
= Helpful Information for Beginners  =&lt;br /&gt;
Sections dedicated to the very beginners who are just getting started in the SBC and ARM64 world. If you're just starting out and having issues with getting going, please consider browsing both sections for pointers. &lt;br /&gt;
&lt;br /&gt;
'''Getting Started'''&lt;br /&gt;
: [[NOOB]] - Basic information on how to flash SD cards and eMMC modules as well as handling  your devices.&lt;br /&gt;
&lt;br /&gt;
'''Project Ideas'''&lt;br /&gt;
: [[Project]] - A variety of well-documented PINE64 projects to serve as inspiration.&lt;/div&gt;</summary>
		<author><name>Thanos the tank engine</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PinePhone_Carrier_Support&amp;diff=8268</id>
		<title>PinePhone Carrier Support</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PinePhone_Carrier_Support&amp;diff=8268"/>
		<updated>2020-11-18T21:59:49Z</updated>

		<summary type="html">&lt;p&gt;Thanos the tank engine: Added note about common issue with verizon&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{warning|1= MMS doesn't currently work in any Dsitribution on the PinePhone without a script! This means images and group chats will not work in text messages.}}&lt;br /&gt;
{{warning|1= Call audio is currently bad quality as there is a clock mismatch from the modem to the mainboard. Using Megi's 5.9 kernel should solve this.}}&lt;br /&gt;
&lt;br /&gt;
This page contains hints on setting up cellular network connectivity for specific carriers.&lt;br /&gt;
For more general information, see [[PinePhone#Modem_and_carrier_support|Modem and carrier support]]. For the APN settings see [[PinePhone APN Settings]].&lt;br /&gt;
&lt;br /&gt;
= Check compatibility =&lt;br /&gt;
To check if the PinePhone is supported on your carrier:&lt;br /&gt;
&lt;br /&gt;
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 in the [https://www.quectel.com/UploadFile/Product/Quectel_EG25-G_LTE_Specification_V1.1.pdf modem specification sheet]).&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
= Carriers =&lt;br /&gt;
{{hint|This list is incomplete, you're welcome to improve it.}}&lt;br /&gt;
&lt;br /&gt;
== USA ==&lt;br /&gt;
=== AT&amp;amp;T ===&lt;br /&gt;
According to [https://ltefix.com/wp-content/uploads/USA-Major-Carriers-Bands-Frequencies-CA.pdf this page], AT&amp;amp;T's primary bands are 12 and 17 - 700ac and 700 MHz respectively. The PinePhone seems to work out-of-the-box with AT&amp;amp;T. Activating a SIM works. Calls and SMS messages work. VoLTE is as yet untested.&lt;br /&gt;
&lt;br /&gt;
=== Cricket Wireless ===&lt;br /&gt;
Cricket wireless is a MVNO that uses AT&amp;amp;T's network. VoLTE is fully supported and the PinePhone is considered a compatible device in the US by the carrier.&lt;br /&gt;
&lt;br /&gt;
=== SimpleMobile ===&lt;br /&gt;
SimpleMobile is a T-Mobile prepaid MVNO operating in the United States. 4G LTE, VoLTE, data, and SMS all work on the PinePhone after activation. Activation can be done online without extra software or assistance, go to https://www.simplemobile.com/activation/byopcollectsim and make sure you have your SIM card and IMEI ready.&lt;br /&gt;
&lt;br /&gt;
=== Sprint ===&lt;br /&gt;
Sprint is currently not supported due to unknown reasons. Any input regarding this issue is highly appreciated.&lt;br /&gt;
&lt;br /&gt;
=== T-Mobile ===&lt;br /&gt;
According to [https://ltefix.com/wp-content/uploads/USA-Major-Carriers-Bands-Frequencies-CA.pdf this page],&lt;br /&gt;
T-Mobile's primary frequency band for the United States is 12 (700ac MHz).&lt;br /&gt;
&lt;br /&gt;
T-Mobile's bands and protocols are summarized on&lt;br /&gt;
[https://www.frequencycheck.com/carriers/t-mobile-united-states this page].&lt;br /&gt;
&lt;br /&gt;
While the PinePhone's modem does support all LTE bands that T-Mobile uses in the US (And is one of the best choices for band support with the PinePhone's modem in the US), VoLTE is still listed as &amp;quot;Under development&amp;quot; by the modem manufacturer. T-Mobile's system also does not list the PinePhone as a compatible device due to this lack of official VoLTE support. The modem is capable of working on T-Mobile with VoLTE support enabled.&lt;br /&gt;
&lt;br /&gt;
=== Verizon ===&lt;br /&gt;
According to [https://ltefix.com/wp-content/uploads/USA-Major-Carriers-Bands-Frequencies-CA.pdf this page],&lt;br /&gt;
Verizon's primary frequency band for the United States is 13 (700 MHz).&lt;br /&gt;
&lt;br /&gt;
Verizon's bands and protocols are summarized on&lt;br /&gt;
[https://www.frequencycheck.com/carriers/verizon-wireless-united-states this page].&lt;br /&gt;
Verizon officially says:&lt;br /&gt;
&lt;br /&gt;
Some Verizon users have had calls and and text stop working after around 2 weeks of use. This can be resolved by contacting Verizon support.&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
This carrier only accepts approved devices on its network.&lt;br /&gt;
Even if a device supports some or all of the required frequencies for this carrier,&lt;br /&gt;
it will not be able to connect unless the device is approved for this network.&lt;br /&gt;
Check with the network operator to confirm whether a device is approved or not.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But the truth is that with any Verizon-Approved burner phone, you can activate a Verizon SIM and swap it into your PinePhone.&lt;br /&gt;
Verizon does not care about what IMEI your phone has at all once the SIM itself is activated. [https://community.verizonwireless.com/t5/iPhone-X-Xr-Xs/Swapping-SIM-Cards/td-p/1129291][https://community.verizonwireless.com/t5/Prepaid-Plans/swapping-sim-card-to-another-device/td-p/1001334][https://community.verizonwireless.com/t5/My-Verizon/Swapping-Sim-Card-to-different-Device/td-p/1157544]&lt;br /&gt;
&lt;br /&gt;
== Australia ==&lt;br /&gt;
=== Telstra ===&lt;br /&gt;
According to [https://www.frequencycheck.com/carriers/telstra-australia this page], Telstra uses the LTE B1, B3 and B28 variants, which are all supported by the EG25-G modem. &lt;br /&gt;
&lt;br /&gt;
== Lithuania ==&lt;br /&gt;
=== Telia ===&lt;br /&gt;
Out of box: Supports 2G, 3G, 4G, Calls (in&amp;amp;out), SMS (in&amp;amp;out) work. Data not yet tested. Correct APN suggestions. Identifies as EMV (Manjaro Phosh CE)&lt;br /&gt;
&lt;br /&gt;
=== Bite ===&lt;br /&gt;
Out of box: Supports 2G only (and is unstable), Calls (in&amp;amp;out), SMS (in&amp;amp;out) work. Data not yet tested. Correct APN suggestions.&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
Known issues:&lt;br /&gt;
* The [https://www.frequencycheck.com/models FrequencyCheck model page] does not list either Pine64 or the PinePhone.&lt;br /&gt;
* T-Mobile's system does not list the pinephone as a compatible device due to the lack of official VoLTE support from the manufacturer, despite the fact that it does work.&lt;br /&gt;
* MMS doesn't currently work in any distro on the pinephone by default. This means images and group chats will not work in text messages.&lt;br /&gt;
* Some providers may allow only certain known devices identified by their [https://en.wikipedia.org/wiki/Type_Allocation_Code Type Allocation Code].&lt;br /&gt;
&lt;br /&gt;
= Resources =&lt;br /&gt;
* IMEI - [https://en.wikipedia.org/wiki/International_Mobile_Equipment_Identity International Mobile Equipment Identity]&lt;br /&gt;
&lt;br /&gt;
[[Category:PinePhone]]&lt;/div&gt;</summary>
		<author><name>Thanos the tank engine</name></author>
	</entry>
</feed>