<?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=ElusivePine</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=ElusivePine"/>
	<link rel="alternate" type="text/html" href="https://wiki.pine64.org/wiki/Special:Contributions/ElusivePine"/>
	<updated>2026-05-05T15:51:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PinePhone_Installation_Instructions&amp;diff=6380</id>
		<title>PinePhone Installation Instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PinePhone_Installation_Instructions&amp;diff=6380"/>
		<updated>2020-07-31T23:39:18Z</updated>

		<summary type="html">&lt;p&gt;ElusivePine: Changed command to dd the image from the SD card to eMMC&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This section has generic installation instructions. Please see the [[PinePhone Software Releases]] section for specific installation instructions for each distribution.&lt;br /&gt;
&lt;br /&gt;
== Boot priority ==&lt;br /&gt;
&lt;br /&gt;
The default PinePhone boot priority is first the SD card and then the eMMC so inserting your own SD card with your preferred release will result in the phone booting your image.&lt;br /&gt;
&lt;br /&gt;
== Preparation of SD card ==&lt;br /&gt;
&lt;br /&gt;
# Download your chosen image from the options below&lt;br /&gt;
# Extract the compressed file&lt;br /&gt;
# Write the image to your SD card&lt;br /&gt;
# Plug SD card into phone&lt;br /&gt;
# Boot phone&lt;br /&gt;
&lt;br /&gt;
If you need step-by-step instructions for writing an image to an SD card, check [[NOOB#Step-by-Step_Instructions_to_Flashing_MicroSD_Cards|the NOOB guide]], then return to this page.&lt;br /&gt;
&lt;br /&gt;
=== bmaptool ===&lt;br /&gt;
Download the .img.xz and the .img.bmap files, then run &amp;lt;code&amp;gt;bmaptool copy --bmap image.bmap image.xz /dev/sdX&amp;lt;/code&amp;gt;. This takes 2.5mins to flash a 4Gb file.&lt;br /&gt;
&lt;br /&gt;
=== dd ===&lt;br /&gt;
Make sure to select the correct device using &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt;. Then run dd with the correct device:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo dd if=pine.img of=/dev/[DEVICE] bs=1M status=progress conv=fsync&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation to eMMC (Optional) ==&lt;br /&gt;
&lt;br /&gt;
=== Method Using Factory Installed Tools ===&lt;br /&gt;
&lt;br /&gt;
The initial OS you get with your phone has the option to flash an image on SD card to eMMC. &lt;br /&gt;
&lt;br /&gt;
# Copy (not flash) the image file to a formatted SD card.&lt;br /&gt;
# Insert SD card into powered-off phone.&lt;br /&gt;
# Turn on phone and select option to install to eMMC.&lt;br /&gt;
&lt;br /&gt;
=== Safe &amp;amp; Easy Method ===&lt;br /&gt;
&lt;br /&gt;
[https://forum.pine64.org/showthread.php?tid=9444 Jumpdrive thread]&lt;br /&gt;
&lt;br /&gt;
# download and extract [https://github.com/dreemurrs-embedded/Jumpdrive/releases the Jumpdrive image]&lt;br /&gt;
# flash the Jumpdrive image to a SD card&lt;br /&gt;
# boot from the 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 (mounted) PinePhone drive with a chosen OS image as you'd flash any SD card, and resize partitions (optional, see below)&lt;br /&gt;
# disconnect the PinePhone from your PC, power it down and remove the Jumpdrive SD card&lt;br /&gt;
# boot into your OS of choice on eMMC&lt;br /&gt;
&lt;br /&gt;
The Jumpdrive image is smaller than 50MB. You can keep an SD card specifically for using Jumpdrive, and there are 64MB micro SD cards sold cheaply that will suffice.&lt;br /&gt;
&lt;br /&gt;
=== Safe With No Extra Tools, But Slower ===&lt;br /&gt;
&lt;br /&gt;
# Prepare a formatted SD card, flash desired OS to the SD card, and (optionally) resize the partition (see below)&lt;br /&gt;
# Insert SD card and boot the phone&lt;br /&gt;
# Open terminal and &amp;lt;code&amp;gt;git clone [url]&amp;lt;/code&amp;gt; your desired project OR: Open web browser and download the desired OS image file. &lt;br /&gt;
# Build the OS (Optional)&lt;br /&gt;
# Flash the resulting image file you got by downloading or by building, to eMMC, using &amp;lt;code&amp;gt;dd if=new-pinephone-image.img of=/dev/mmcblkY bs=1M status=progress&amp;lt;/code&amp;gt; where X is the number label of the SD card, and Y is the number label of the eMMC. Use the command ''lsblk'' to check your devices: typically with the current kernel the SD card is /dev/mmcblk0 and the eMMC is /dev/mmcblk2 but as always with ''dd'' be extremely cautious to get the devices correct. Then, resize partition to fill up entire disk (see below).&lt;br /&gt;
# Turn off phone, remove SD card. Turn on phone.&lt;br /&gt;
&lt;br /&gt;
=== Risky Method ===&lt;br /&gt;
&lt;br /&gt;
Warning: This copies a mounted filesystem, which can lead to instability, erratic behavior, and data corruption. Do not use long term.&lt;br /&gt;
&lt;br /&gt;
# Prepare a new SD card, flash desired OS to the SD card&lt;br /&gt;
# Boot the phone with your new SD card image&lt;br /&gt;
# Within the booted OS, flash/clone the running OS to eMMC, e.g. using dd. It will take about 15 minutes (depending on the speed of your card), and in the end it may show an error about not enough space - just ignore it.&lt;br /&gt;
# Turn off phone, take out SD card, and try booting the phone which should load up the new OS from eMMC.&lt;br /&gt;
# Open terminal and resize partition to fill up entire disk (see below).&lt;br /&gt;
&lt;br /&gt;
== Resize partition to fit disk space ==&lt;br /&gt;
&lt;br /&gt;
Once you've flashed the OS to your SD card or eMMC storage, you may also need to expand the partition to fill all the available space.&lt;br /&gt;
&lt;br /&gt;
=== Resize SD card's partition using computer ===&lt;br /&gt;
&lt;br /&gt;
For SD cards, insert the SD card and resize the partitions through the computer. For eMMC, insert the phone cable and use Jumpdrive to access the eMMC directly, and resize the partition after flashing the image. To do the flashing you have two options:&lt;br /&gt;
&lt;br /&gt;
====Using Growpart: ====&lt;br /&gt;
&lt;br /&gt;
Locate growpart (&amp;lt;code&amp;gt;apt-cache search growpart&amp;lt;/code&amp;gt; and install the package in the search results) and run: &lt;br /&gt;
 growpart /dev/mmcblkX Y&lt;br /&gt;
 resize2fs /dev/mmcblkXpY&lt;br /&gt;
where X is the storage device and Y is the partition number (viewable from lsblk).&lt;br /&gt;
&lt;br /&gt;
If you get any errors about missing or unknown commands, use apt-cache search to find and install the needed software. Also don't forget to use sudo.&lt;br /&gt;
&lt;br /&gt;
====Using Parted: ====&lt;br /&gt;
&lt;br /&gt;
Parted's interactive mode and resize work well together. Do this before you put your SD card into the PinePhone for the first time for best results.&lt;br /&gt;
&lt;br /&gt;
 sudo parted /dev/&amp;lt;your_sd_card_device&amp;gt;&lt;br /&gt;
 (parted) resizepart 2 100%&lt;br /&gt;
 (parted) quit&lt;br /&gt;
 sudo resize /dev/&amp;lt;the_second_sd_card_PARTITION&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Resize from within PinePhone: ===&lt;br /&gt;
&lt;br /&gt;
eMMC: you would need to resize the partition on eMMC (flashed with the operating system) by booting another image from the SD card: that way, the eMMC will be unmounted. It is '''not recommended''' to resize eMMC while booted from eMMC! Resizing a currently mounted partition can have weird results. If you booted from the SD card, you can follow the above guidelines on how to resize from a computer. &lt;br /&gt;
&lt;br /&gt;
SD card: It is generally not possible to boot from eMMC to partition the unmounted SD card, because of the boot order -- you would have to write the image to the empty SD card first, then resize partition, all without rebooting. It is also '''not recommended''' to resize the SD card while booted from SD card! Resizing a currently mounted partition can have weird results.&lt;br /&gt;
&lt;br /&gt;
== Reuse SD card for data storage on system booting from eMMC==&lt;br /&gt;
Once you have installed your release of choice to eMMC, you may wish to use an SD card for data storage. If you choose to re-use a card you have previously used to boot from, you will find your phone will not boot if you just reformat the card and insert it. This is because the Allwinner firmware in the PinePhone uses some (normally) unused space at the front of the SD card to store boot software, which you need to clear.&lt;br /&gt;
&lt;br /&gt;
This can be done as follows on any linux system:&lt;br /&gt;
 lsblk&lt;br /&gt;
to check the device of your SD card – as an example lets assume it is /dev/mmcblk0&lt;br /&gt;
then&lt;br /&gt;
 sudo dd if=/dev/zero of=/dev/mmcblk0 bs=8k seek=1 count=4&lt;br /&gt;
will clear the relevant sectors of your card.&lt;/div&gt;</summary>
		<author><name>ElusivePine</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PinePhone_Updating_Instructions&amp;diff=6196</id>
		<title>PinePhone Updating Instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PinePhone_Updating_Instructions&amp;diff=6196"/>
		<updated>2020-07-14T20:31:02Z</updated>

		<summary type="html">&lt;p&gt;ElusivePine: Added info about updating Mobian with a GUI&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Mobian ==&lt;br /&gt;
There is no need to regularly flash the newest images to your phone. You can use the pre-installed program &amp;quot;Software&amp;quot; or because Mobian is based on Debian you can open a terminal and use apt to keep the system updated. The following command will check for updates and install them:&lt;br /&gt;
  $ sudo apt-get update &amp;amp;&amp;amp; sudo apt-get upgrade&lt;br /&gt;
If some packages were held back, you can update them with:&lt;br /&gt;
  $ sudo apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
If the update included changes related to the bootloader (e.g. a new kernel) run the following command:&lt;br /&gt;
  $ sudo u-boot-install-pinephone&lt;br /&gt;
&lt;br /&gt;
== Other OSs ==&lt;br /&gt;
Please add the information&lt;/div&gt;</summary>
		<author><name>ElusivePine</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PinePhone_FAQ&amp;diff=6195</id>
		<title>PinePhone FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PinePhone_FAQ&amp;diff=6195"/>
		<updated>2020-07-14T20:22:30Z</updated>

		<summary type="html">&lt;p&gt;ElusivePine: Added link to information on how to update the Pinephone&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A list of frequently asked question.&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
&lt;br /&gt;
=== Revisions ===&lt;br /&gt;
==== What are Community Editions? ====&lt;br /&gt;
Community Editions of the PinePhone are special versions which comes preinstalled with the operating system of the partner project and features the logo of this project on the back panel. The Community Edition is intended to help partner projects developing these systems: &amp;quot;Community editions are meant to bring exposure to partner-projects operating systems and communities, as well as help finance ongoing development.&amp;quot;, [https://www.pine64.org/2020/04/02/pinephone-ubports-community-edition-pre-orders-now-open/ source].&lt;br /&gt;
&lt;br /&gt;
==== Is the Community Edition the latest revision? ====&lt;br /&gt;
Yes, it is! The Community Edition is the latest version of the PinePhone, featuring the version number 1.2. It's predecessor was the BraveHeart Edition intended for tinkerers and developers, which had the version number 1.1. For more details about the topic see [[PinePhone#Hardware Revisions]].&lt;br /&gt;
&lt;br /&gt;
==== Will there be other Community Editions? ====&lt;br /&gt;
The UBports Community Edition is the first released Community Edition. Other Community Editions might follow, this however depends on multiple factors, including if the software is ready to be released on the consumer market.&lt;br /&gt;
&lt;br /&gt;
==== In simple terms, what are the differences between BraveHeart and the new Community Edition? ====&lt;br /&gt;
The BraveHeart Edition was the revision intended for developers and tinkerers, while the Community Edition is the latest revision with an updated mainboard based on feedback for the BraveHeart Edition, see [[PinePhone#Hardware Revisions]].&lt;br /&gt;
&lt;br /&gt;
==== Will there be a newer revision after the Community Edition? ====&lt;br /&gt;
That's unlikely for the near future (unless major issues are found in the latest revision). The Community Edition got certificates such as CE, repeating the certification process due to changes in the hardware design is very expensive, so the Community Edition(s) are viewed as the final revision.&lt;br /&gt;
&lt;br /&gt;
The Community Edition (and parts for it) will be produced and sold for at least 5 years.&lt;br /&gt;
&lt;br /&gt;
There are plans for a newer revision with updated hardware, which is however multiple years away (3-5 years).&lt;br /&gt;
&lt;br /&gt;
==== Will there be hardware differences between the Community Editions? ====&lt;br /&gt;
&lt;br /&gt;
No, only the logo on the back panel will differ.&lt;br /&gt;
&lt;br /&gt;
=== Sound ===&lt;br /&gt;
=== Modem ===&lt;br /&gt;
&lt;br /&gt;
==== The modem isn't working ====&lt;br /&gt;
&lt;br /&gt;
In order to use the modem and WiFi/Bluetooth, you need to ensure the battery is inside the device and has a sufficient charge. Even when supplying the phone with enough power, the modem and WiFi chip will not work without a connected battery. Further, double check that you have no put the SD card into the sim card slot, or vice versa.&lt;br /&gt;
&lt;br /&gt;
=== Battery ===&lt;br /&gt;
&lt;br /&gt;
==== The battery is stuck inside the phone ====&lt;br /&gt;
&lt;br /&gt;
The battery can be stuck in the phone if the screws of the frame are overtightened.&lt;br /&gt;
&lt;br /&gt;
If your battery is stuck inside the PinePhone, grab a screw driver and completely unscrew all the screws of the midframe. Then pull out the battery (you may have to fully take off the midframe in some cases to get it out). And then rescrew the midframe, but only tighten the screws to the point where they are just barely tight to hold. This should allow you to remove the battery easily.&lt;br /&gt;
&lt;br /&gt;
==== The battery is discharging while the phone is powered off (BraveHeart Edition) ====&lt;br /&gt;
&lt;br /&gt;
The cause of this issue is currently investigated. The issue is not present on the Community Edition.&lt;br /&gt;
&lt;br /&gt;
=== Kill Switches ===&lt;br /&gt;
==== What are the kill switches doing? ====&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;
&lt;br /&gt;
=== Memory ===&lt;br /&gt;
&lt;br /&gt;
==== What's the speed difference between the eMMC and SD cards? ====&lt;br /&gt;
Maximum transfer speed of the eMMC is around 85 MB/s, while SD cards are limited to approximately 23 MB/s (even with faster cards).&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Installation ===&lt;br /&gt;
&lt;br /&gt;
==== How can I install an operating system on the SD card / eMMC? ====&lt;br /&gt;
&lt;br /&gt;
See [[PinePhone Installation Instructions]].&lt;br /&gt;
&lt;br /&gt;
=== Updating ===&lt;br /&gt;
&lt;br /&gt;
Read the [[PinePhone Updating Instructions]].&lt;br /&gt;
&lt;br /&gt;
=== Booting ===&lt;br /&gt;
&lt;br /&gt;
==== What's the boot order for SD cards and eMMC? ====&lt;br /&gt;
&lt;br /&gt;
The PinePhone will automatically boot from microSD if a bootable card is inserted. If no (bootable) microSD is found, it will boot from eMMC.&lt;br /&gt;
&lt;br /&gt;
==== How can I select different OSes at boot? ====&lt;br /&gt;
&lt;br /&gt;
There is a project by Danct12 which allows the user to select different OSes at boot, the software is currently work-in-progress: https://github.com/dreemurrs-embedded/Pineloader.&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu Touch ===&lt;br /&gt;
&lt;br /&gt;
==== Can I install a different OS on the Ubports Community Edition? ====&lt;br /&gt;
&lt;br /&gt;
Yes! While the Community Edition comes with an OS preinstalled, you are free to use any OS on the integrated storage (the eMMC) or the SD card, see [[PinePhone Installation Instructions]] and [[PinePhone Software Releases]] on how to install them.&lt;br /&gt;
&lt;br /&gt;
==== How can I enable SSH? ====&lt;br /&gt;
&lt;br /&gt;
Run &amp;quot;sudo start ssh&amp;quot; to get a one-time start or edit /etc/init/ssh.override and remove the manual line to make it auto-start.&lt;br /&gt;
&lt;br /&gt;
==== What works, what doesn't? ====&lt;br /&gt;
&lt;br /&gt;
See https://gitlab.com/ubports/community-ports/pinephone#what-works-what-doesnt.&lt;br /&gt;
&lt;br /&gt;
====  I did not install an update and I'm stuck on the Pine64 logo after rebooting. ====&lt;br /&gt;
&lt;br /&gt;
# Use a USB A-C cable to plug your phone into your PC&lt;br /&gt;
# Hold the PinePhone's power button for 4 seconds or more to power it off.&lt;br /&gt;
# Wait 5 seconds&lt;br /&gt;
# Hold the Volume Up and Power buttons on the PinePhone to boot into recovery. You should see the LED light red, then yellow, then green. The &amp;quot;Installing update&amp;quot; screen will appear, but a progress bar to indicate update progress will not. Ignore the &amp;quot;Installing update&amp;quot; part.&lt;br /&gt;
# Your PC may automatically mount the PinePhone's partitions. If it does, Safely Remove or Eject all of them.&lt;br /&gt;
# Open a terminal on your PC. Type &amp;lt;code&amp;gt;telnet 172.16.42.1&amp;lt;/code&amp;gt;&lt;br /&gt;
# You should receive the text 'Welcome to Rescue SD Shell!'&lt;br /&gt;
# In the new Rescue SD shell, type &amp;lt;code&amp;gt;umount /dev/mmcblk2p10; e2fsck -fy /dev/mmcblk2p10 &amp;amp;&amp;amp; sync&amp;lt;/code&amp;gt;&lt;br /&gt;
# Once this command pipeline finishes, type &amp;lt;code&amp;gt;sync &amp;amp;&amp;amp; reboot -f&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your PinePhone should reboot into Ubuntu Touch. Now head to Settings -&amp;gt; Updates and install the new update! &lt;br /&gt;
&lt;br /&gt;
If these steps did not solve your issue, please create a new thread here on the Pine64 forums, note what the problem looks like, then say that you've tried these steps already.&lt;br /&gt;
&lt;br /&gt;
This is caused by corruption on the userdata partition. Normally this should be fixed by 'e2fsck' in the initramfs, however an error in image creation means that that version of e2fsck is unable to correct corruption. This has been fixed in all new PinePhone updates, so if you update from the factory image to any other image available to the PinePhone now, you will not experience this issue any longer.&lt;br /&gt;
&lt;br /&gt;
==== I turned on my PinePhone. The red LED is lit and it will not boot. ====&lt;br /&gt;
# Hold the power button until the light turns off&lt;br /&gt;
# Hold the power button until the light turns on&lt;br /&gt;
&lt;br /&gt;
You may need to repeat these steps more than once.&lt;br /&gt;
&lt;br /&gt;
This is caused by u-boot apparently trying to use the eMMC before it is ready. We are not entirely sure why this occurs yet.&lt;br /&gt;
&lt;br /&gt;
====  I can't connect to a 2.4Ghz Wi-Fi network. ====&lt;br /&gt;
&lt;br /&gt;
Reboot your device by holding the power button until the &amp;quot;Power&amp;quot; dialog appears, then pressing &amp;quot;Restart&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If that does not fix the issue, note that all the following conditions must be met to use WiFi on the PinePhone:&lt;br /&gt;
&lt;br /&gt;
# The plastic tab between the battery and the device's battery contacts has been removed&lt;br /&gt;
# The battery is installed&lt;br /&gt;
# The WiFi killswitch, #2, on the rear of the device is switched &amp;quot;ON&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Wi-Fi in the PinePhone only seems stable after a warm reboot like this.&lt;br /&gt;
&lt;br /&gt;
====  I can't update or install packages through apt ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;W: Problem unlinking the file /var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_xenial_InRelease - PrepareFiles (30: Read-only file system)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Remount the root filesystem as read-write:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; phablet@ubuntu-phablet:~$ sudo mount -o remount,rw / &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you should be able to run updates and install new packages&lt;br /&gt;
&lt;br /&gt;
=== Android ===&lt;br /&gt;
&lt;br /&gt;
==== What's the status of Android for the PinePhone? ====&lt;br /&gt;
&lt;br /&gt;
Currently, there isn't any major push to get Android running well on the PinePhone. The developer Icenowy did get a Android image to run and partly work, it was however slow and buggy, with major functions not working. A solution for running some of your android apps may be found in Anbox as of now. Anbox is currently not included in Ubuntu Touch.&lt;br /&gt;
&lt;br /&gt;
==== Why are my apps loading slower than on my Android phone? ====&lt;br /&gt;
&lt;br /&gt;
Android has multiple techniques in place to speed up launching applications after the first launch, such as the &amp;quot;Dalvik cache&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Shipping ==&lt;br /&gt;
=== I did not receive an order confirmation ===&lt;br /&gt;
Check your &amp;quot;spam&amp;quot; folder. It was reported that some users did not receive an order confirmation. You will also still get a shipping notification when the device ships out, even if you didn't get a order confirmation email.&lt;br /&gt;
&lt;br /&gt;
=== When does the phone ship? ===&lt;br /&gt;
For up-to-date information when the phone's shipping date is estimated, see the edits in this forum post: https://forum.pine64.org/showthread.php?tid=9942.&lt;br /&gt;
&lt;br /&gt;
=== It is shipping day but I did not receive a shipping notification ===&lt;br /&gt;
For shipments with DHL the shipping notification is sent out as soon as the packet reached DHL's warehouse and scanned (it can take up to 24 hours after scanning after the shipment is added to DHL's database). For all other shipments (via Ascendia) the notification is sent out sometime after shipment.&lt;br /&gt;
&lt;br /&gt;
=== When does my phone ship if I order now? ===&lt;br /&gt;
Orders made after Friday, 22nd May 2020 are shipped after the first bulk of pre-orders has been shipped. The exact date is not known yet due to various reasons, it may be a few weeks after the first bulk shipped. [https://forum.pine64.org/showthread.php?tid=9942 The forum] will be edited with updated information and you will receive a shipping notification when the device was shipped.&lt;br /&gt;
&lt;br /&gt;
=== What about import taxes? ===&lt;br /&gt;
Import taxes have to be payed by the buyer depending on the jurisdiction of the country of the buyer. Please check with your local laws if there are import taxes to pay and if so how to do the tax filing.&lt;br /&gt;
&lt;br /&gt;
== Accessories ==&lt;br /&gt;
&lt;br /&gt;
=== Protection ===&lt;br /&gt;
==== Which screen protector should i use? ====&lt;br /&gt;
&lt;br /&gt;
Protecting your screen is important, especially for devices like the PinePhone that doesn't have access to the newest glass technology.&lt;br /&gt;
The Braveheart Edition of the PinePhone comes with a plastic film screen protector installed, and Pine64 will [https://forum.pine64.org/showthread.php?tid=8458&amp;amp;pid=54024#pid54024 sell] this screen protector in their store. &lt;br /&gt;
&lt;br /&gt;
There is also the possibility of getting a tempered glass screen protector, as the screen protectors for the iPhone 11 Pro Max/XS Max fit the PinePhone pretty well based on [https://forum.pine64.org/showthread.php?tid=8458&amp;amp;pid=65409#pid65409 this] forum post.&lt;br /&gt;
&lt;br /&gt;
=== Batteries ===&lt;br /&gt;
==== I'm outside the US and want a replacement battery, which one should I buy? ====&lt;br /&gt;
&lt;br /&gt;
Currently the PinePhone battery is known to be compatible with replacement batteries for the Samsung J700, specifically models &amp;quot;EB-BJ700BBC&amp;quot;, &amp;quot;EB-BJ700BBE&amp;quot; and maybe &amp;quot;EB-BJ700CBE&amp;quot; are compatible. There is [https://forum.pine64.org/showthread.php?tid=8563&amp;amp;pid=55053#pid55053 a report] that model &amp;quot;EB-BJ700CBE&amp;quot; might be incompatible so it's probably safer to go with either the BBC or BBE models.&lt;br /&gt;
&lt;br /&gt;
=== External hardware ===&lt;br /&gt;
&lt;br /&gt;
==== Will Pine64 sell other addons made for the PinePhone? ====&lt;br /&gt;
&lt;br /&gt;
Yes, currently there is a [https://forum.pine64.org/showthread.php?tid=8537&amp;amp;pid=55396#pid55396 keyboard case], [https://www.pine64.org/2020/05/15/may-update-pinetab-pre-orders-pinephone-qi-charging-more/ Qi wireless charging] and a [https://www.pine64.org/2020/05/15/may-update-pinetab-pre-orders-pinephone-qi-charging-more/ 5000mAh battery case] planned, these are the products Pine64 will make and sell for sure. Pine is also exploring other possibilities like a keyboard case in the style of a Nokia N900, an external battery charger and a gamepad, but these aren't really decided on yet. &lt;br /&gt;
&lt;br /&gt;
==== Which 3rd party hardware can connect to my PinePhone? ====&lt;br /&gt;
&lt;br /&gt;
See [[PinePhone Hardware Accessory Compatibility]].&lt;/div&gt;</summary>
		<author><name>ElusivePine</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PinePhone_Updating_Instructions&amp;diff=6194</id>
		<title>PinePhone Updating Instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PinePhone_Updating_Instructions&amp;diff=6194"/>
		<updated>2020-07-14T20:18:51Z</updated>

		<summary type="html">&lt;p&gt;ElusivePine: Created the page and added information on how to keep Mobian updated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Mobian ==&lt;br /&gt;
There is no need to flash the newest images to your phone. Mobian is based on Debian so apt can be used to keep the system updated. The following command will check for updates and install them:&lt;br /&gt;
  $ sudo apt-get update &amp;amp;&amp;amp; sudo apt-get upgrade&lt;br /&gt;
If some packages were held back, you can update them with:&lt;br /&gt;
  $ sudo apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
If the update included changes related to the bootloader (e.g. a new kernel) run the following command:&lt;br /&gt;
  $ sudo u-boot-install-pinephone&lt;br /&gt;
&lt;br /&gt;
== Other OSs ==&lt;br /&gt;
Please add the information&lt;/div&gt;</summary>
		<author><name>ElusivePine</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Cross-compiling&amp;diff=6172</id>
		<title>Cross-compiling</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Cross-compiling&amp;diff=6172"/>
		<updated>2020-07-13T21:34:26Z</updated>

		<summary type="html">&lt;p&gt;ElusivePine: Added error section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Pinephone's triple for cross-compiling is aarch64-unknown-linux-gnu. &lt;br /&gt;
&lt;br /&gt;
= Rust =&lt;br /&gt;
In order to cross-compile Rust applications for the Pinephone, you need to have a gcc cross-compiler installed and the Rust dependencies, usually the std crate, cross compiled for the target system. A more extensive explanation can be found on https://github.com/japaric/rust-cross. This instruction is based on it's description.&lt;br /&gt;
&lt;br /&gt;
== Installing gcc cross-compiler ==&lt;br /&gt;
The cross-compiler might have a different name depending on the operating system. Further along this instruction the name for the gcc cross-compiler will be used. Replace all occurences of $gcc_name with the name on your distribution.&lt;br /&gt;
Under Arch Linux the cross-compilers name is aarch64-linux-gnu-gcc and it can be installed with:&lt;br /&gt;
  $ sudo pacman -S aarch64-linux-gnu-gcc&lt;br /&gt;
Other distributions:&lt;br /&gt;
  Please add&lt;br /&gt;
&lt;br /&gt;
== Installing Rust dependencies ==&lt;br /&gt;
&lt;br /&gt;
The necessary dependencies can easily be installed with rustup:&lt;br /&gt;
  $ rustup target add aarch64-unknown-linux-gnu&lt;br /&gt;
OR it can be installed with multirust [Is this still accurate???]:&lt;br /&gt;
  $ multirust add-target nightly aarch64-unknown-linux-gnu&lt;br /&gt;
&lt;br /&gt;
== Compiling ==&lt;br /&gt;
&lt;br /&gt;
=== rustc === &lt;br /&gt;
&lt;br /&gt;
When using rustc just add the two flags --target=aarch64-unknown-linux-gnu and -C linker=$gcc_name. Under Arch, this would look like: &lt;br /&gt;
  $ rustc --target=aarch64-unknown-linux-gnu -C linker=aarch64-linux-gnu-gcc main.rs&lt;br /&gt;
&lt;br /&gt;
To test it, run the program on your Pinephone&lt;br /&gt;
&lt;br /&gt;
  $ scp main user@ipadress:/home/user/Downloads&lt;br /&gt;
  $ ssh user@ipadress /home/user/Downloads/main&lt;br /&gt;
  Hello, world!&lt;br /&gt;
&lt;br /&gt;
=== cargo === &lt;br /&gt;
To cross-compile a project with cargo, open the folder of the project in a terminal. Then create a new folder and a file for cargo.&lt;br /&gt;
  $ mkdir .cargo&lt;br /&gt;
  $ cat &amp;gt;.cargo/config &amp;lt;&amp;lt;EOF&lt;br /&gt;
  &amp;gt; [target.aarch64-unknown-linux-gnu]&lt;br /&gt;
  &amp;gt; linker = &amp;quot;$gcc_name&amp;quot;&lt;br /&gt;
  &amp;gt; EOF&lt;br /&gt;
Then you can compile it with&lt;br /&gt;
  $ cargo build --target=aarch64-unknown-linux-gnu&lt;br /&gt;
&lt;br /&gt;
To test it, copy the file on your Pinephone&lt;br /&gt;
  $ scp target/aarch64-unknown-linux-gnu/debug/main user@ipadress:/home/user/Downloads&lt;br /&gt;
Then you can execute it by&lt;br /&gt;
  $ ssh user@ipadress ./main -h&lt;br /&gt;
  Hello, world!&lt;br /&gt;
&lt;br /&gt;
== Possible errors ==&lt;br /&gt;
If you encounter an error saying&lt;br /&gt;
  Cross compilation detected. Use PKG_CONFIG_ALLOW_CROSS=1 to override&lt;br /&gt;
just add that variable in front of your command e.g.&lt;br /&gt;
  PKG_CONFIG_ALLOW_CROSS=1 cargo build --target=aarch64-unknown-linux-gnu&lt;/div&gt;</summary>
		<author><name>ElusivePine</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=Cross-compiling&amp;diff=6171</id>
		<title>Cross-compiling</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=Cross-compiling&amp;diff=6171"/>
		<updated>2020-07-13T20:40:17Z</updated>

		<summary type="html">&lt;p&gt;ElusivePine: Created a first start for cross-compiling Rust applications&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Pinephone's triple for cross-compiling is aarch64-unknown-linux-gnu. &lt;br /&gt;
&lt;br /&gt;
= Rust =&lt;br /&gt;
In order to cross-compile Rust applications for the Pinephone, you need to have a gcc cross-compiler installed and the Rust dependencies, usually the std crate, cross compiled for the target system. A more extensive explanation can be found on https://github.com/japaric/rust-cross. This instruction is based on it's description.&lt;br /&gt;
&lt;br /&gt;
== Installing gcc cross-compiler ==&lt;br /&gt;
The cross-compiler might have a different name depending on the operating system. Further along this instruction the name for the gcc cross-compiler will be used. Replace all occurences of $gcc_name with the name on your distribution.&lt;br /&gt;
Under Arch Linux the cross-compilers name is aarch64-linux-gnu-gcc and it can be installed with:&lt;br /&gt;
  $ sudo pacman -S aarch64-linux-gnu-gcc&lt;br /&gt;
Other distributions:&lt;br /&gt;
  Please add&lt;br /&gt;
&lt;br /&gt;
== Installing Rust dependencies ==&lt;br /&gt;
&lt;br /&gt;
The necessary dependencies can easily be installed with rustup:&lt;br /&gt;
  $ rustup target add aarch64-unknown-linux-gnu&lt;br /&gt;
OR it can be installed with multirust [Is this still accurate???]:&lt;br /&gt;
  $ multirust add-target nightly aarch64-unknown-linux-gnu&lt;br /&gt;
&lt;br /&gt;
== Compiling ==&lt;br /&gt;
&lt;br /&gt;
=== rustc === &lt;br /&gt;
&lt;br /&gt;
When using rustc just add the two flags --target=aarch64-unknown-linux-gnu and -C linker=$gcc_name. Under Arch, this would look like: &lt;br /&gt;
  $ rustc --target=aarch64-unknown-linux-gnu -C linker=aarch64-linux-gnu-gcc main.rs&lt;br /&gt;
&lt;br /&gt;
To test it, run the program on your Pinephone&lt;br /&gt;
&lt;br /&gt;
  $ scp main user@ipadress:/home/user/Downloads&lt;br /&gt;
  $ ssh user@ipadress /home/user/Downloads/main&lt;br /&gt;
  Hello, world!&lt;br /&gt;
&lt;br /&gt;
=== cargo === &lt;br /&gt;
To cross-compile a project with cargo, open the folder of the project in a terminal. Then create a new folder and a file for cargo.&lt;br /&gt;
  $ mkdir .cargo&lt;br /&gt;
  $ cat &amp;gt;.cargo/config &amp;lt;&amp;lt;EOF&lt;br /&gt;
  &amp;gt; [target.aarch64-unknown-linux-gnu]&lt;br /&gt;
  &amp;gt; linker = &amp;quot;$gcc_name&amp;quot;&lt;br /&gt;
  &amp;gt; EOF&lt;br /&gt;
Then you can compile it with&lt;br /&gt;
  $ cargo build --target=aarch64-unknown-linux-gnu&lt;br /&gt;
&lt;br /&gt;
To test it, copy the file on your Pinephone&lt;br /&gt;
  $ scp target/aarch64-unknown-linux-gnu/debug/main user@ipadress:/home/user/Downloads&lt;br /&gt;
Then you can execute it by&lt;br /&gt;
  $ ssh user@ipadress ./main -h&lt;br /&gt;
  Hello, world!&lt;/div&gt;</summary>
		<author><name>ElusivePine</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PinePhone_APN_Settings&amp;diff=5980</id>
		<title>PinePhone APN Settings</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PinePhone_APN_Settings&amp;diff=5980"/>
		<updated>2020-06-25T14:45:17Z</updated>

		<summary type="html">&lt;p&gt;ElusivePine: Sorted carriers alphabetically by their names and added Penny Mobil information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Setting the APN =&lt;br /&gt;
&lt;br /&gt;
The location of the APN setting depend on the user interface the distribution is using.&lt;br /&gt;
&lt;br /&gt;
== Distributions with Phosh ==&lt;br /&gt;
&lt;br /&gt;
APN settings are either located in &amp;lt;code&amp;gt;Settings &amp;gt; Mobile &amp;gt; Access Point Names&amp;lt;/code&amp;gt; (pureOS, Debian + Phosh) or &amp;lt;code&amp;gt; Settings &amp;gt; Network &amp;gt; Network Dropdown &amp;gt; Add new connection&amp;lt;/code&amp;gt; (pmOS, Fedora).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--== Distributions with Plasma Mobile ==&lt;br /&gt;
&lt;br /&gt;
Todo--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= List of tested carriers [alphabetical order] =&lt;br /&gt;
&lt;br /&gt;
Disclaimer: Go to the websites of or speak to the customer support lines of those carriers which you want to use. No guarantees. This list is simply user-generated and serves to demonstrate examples of what worked for them. This list is not exhaustive, does not cover all possible carriers.&lt;br /&gt;
&lt;br /&gt;
== AT&amp;amp;T-based (USA) ==&lt;br /&gt;
&lt;br /&gt;
* AT&amp;amp;T&lt;br /&gt;
APN: phone&lt;br /&gt;
&lt;br /&gt;
* Cricket&lt;br /&gt;
APN: phone '''OR''' ndo&lt;br /&gt;
&lt;br /&gt;
== Mint Mobile (USA) ==&lt;br /&gt;
&lt;br /&gt;
Call their customer service to activate using the number on their website, or activate on their [https://my.mintmobile.com/activation website]. You may also need to reboot your phone.&lt;br /&gt;
&lt;br /&gt;
Use the following APN settings:&lt;br /&gt;
&lt;br /&gt;
 Name: Ultra&lt;br /&gt;
 APN: Wholesale&lt;br /&gt;
&lt;br /&gt;
Source: https://www.mintmobile.com/setup-for-android/&lt;br /&gt;
&lt;br /&gt;
== Mobile Vikings (Belgium) ==&lt;br /&gt;
&lt;br /&gt;
 Name: Mobile Vikings&lt;br /&gt;
 APN: web.be&lt;br /&gt;
 Username: web&lt;br /&gt;
 Password: web&lt;br /&gt;
&lt;br /&gt;
Source: https://support.vikingco.com/hc/en-us/articles/202836041-I-don-t-have-any-mobile-internet-What-do-I-do-&lt;br /&gt;
&lt;br /&gt;
== Penny Mobil (Germany) ==&lt;br /&gt;
&lt;br /&gt;
APN settings:&lt;br /&gt;
&lt;br /&gt;
 name: Penny Mobil&lt;br /&gt;
 APN: internet.t-mobile&lt;br /&gt;
 username: t-mobile&lt;br /&gt;
 password: tm&lt;br /&gt;
&lt;br /&gt;
== Red Pocket (USA) ==&lt;br /&gt;
&lt;br /&gt;
You can choose AT&amp;amp;T, Verizon, T-Mobile or Sprint network. Known to work with the GSMA (ATT) SIM, calls and SMS work.&lt;br /&gt;
&lt;br /&gt;
APN settings:&lt;br /&gt;
&lt;br /&gt;
 name: Red Pocket&lt;br /&gt;
 APN: RESELLER&lt;br /&gt;
&lt;br /&gt;
== Tracfone (USA) == &lt;br /&gt;
&lt;br /&gt;
''BYOP SIM Card Kit'' works with T-Mobile and AT&amp;amp;T compatible SIM cards provided in BYOP kit.&lt;br /&gt;
&lt;br /&gt;
Calls, SMS and 3G/4G data known to work with AT&amp;amp;T SIM (most likely works for T-Mobile as well).&lt;br /&gt;
&lt;br /&gt;
Use the following APN settings:&lt;br /&gt;
&lt;br /&gt;
 Name: Tracfone&lt;br /&gt;
 APN: RESELLER&lt;br /&gt;
&lt;br /&gt;
== Virgin Mobile (Canada) ==&lt;br /&gt;
&lt;br /&gt;
Settings might work with Bell Canada too since it is the same network. Calls, SMS and 4G data appear to be working fine. Note that SIM may well be nano-sim but pinephone is micro-sim and may require an adapter.&lt;br /&gt;
&lt;br /&gt;
 Name: Mobile Fast Web&lt;br /&gt;
 APN: pda2.bell.ca&lt;br /&gt;
 Username:&lt;br /&gt;
 Password:&lt;br /&gt;
&lt;br /&gt;
= Carriers That Do Not Work =&lt;br /&gt;
&lt;br /&gt;
* FreedomPop (USA): VoIP-service. Customer service said they require Android 4.3+, and their free calling and texting works only with the Google Play app they make you use. So calls and texts don't work with non-smart phones and won't work with the PinePhone (even though it is a smart phone) because of software incompatibility. However, the data part still work if APN has been seen correctly set to fp.com.attz. You get 200MB free data per month. However, please watch out that you will get ding by $20 top up charge when over 200MB limit. &lt;br /&gt;
&lt;br /&gt;
* VoLTE services like Sprint or Verizon&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
* See also https://forum.pine64.org/showthread.php?tid=9150&lt;/div&gt;</summary>
		<author><name>ElusivePine</name></author>
	</entry>
</feed>