PinePhone Software Releases
This page is intended to help you install a software release on your PinePhone. In addition it provides details of all the available releases so that you can do some background reading about them to help inform your choice. Finally it provides a number of links to other resources related to your PinePhone.
General instructions
Initial (new) release installation should be to a micro SD card. It is recommended to choose a card with fast I/O of small files for best performance of your PinePhone. See #Other Resources for tests on SDcards.
Generic installation instructions are in this section, please see the releases below for specific installation options they may offer/require.
Boot priority
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.
User megi has demonstrated his multi-boot development on YouTube, see Other Resouces at the bottom of this page for a link to his notes.
Preparation of SD card
- Download your chosen image from the options below
- Extract the compressed file
- Write the image to your SD card
- Plug SD card into phone
- Boot phone
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 then return to this page.
Installation to eMMC
- Prepare a new SD card as above
- Boot the phone with your new SD card image
- The eMMC appears as /dev/mmcblk2 and so any standard Linux mechanism to move your image there will work, e.g. dd.
You can dd the current installation to eMMC using this command:
dd if=/dev/mmcblkX of=/dev/mmcblkY bs=1M
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.
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. Turn off phone, take out SD card, and try booting the phone which should load up the new OS from eMMC.
This is method is more convenient because you don't have to rebuild the image from within the PinePhone, which usually requires resizing partitions and other extra steps.
Also, in the default/factory installed image provided to you upon shipment, there is an option to install any image to the eMMC.
Resize partition to fit disk space
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. Remove the SD card, boot up the phone. Install growpart (apt-cache search growpart
and install the package in the search results) and run:
growpart /dev/mmcblkX Y resize2fs /dev/mmcblkXpY
where X is the storage device and Y is the partition number (viewable from lsblk).
Backlight
All current distributions do not have a good setup for the backlight at low brightness. If configured too low, the backlight shuts down completely, but the screen is still displayed and usable in bright front-light.
Sailfish is one OS that initially uses automatic backlight control and the default setting makes the screen appear blank. When shining a bright light on the screen, you can still navigate the screen (and maybe the screen switches on temporarily due to the light sensor). This will make it possible for you to disable auto brightness in Settings, Display.
Software Releases
postmarketOS
postmarketOS is a preconfigured version of Alpine Linux for mobile devices that offers a choice of several desktop environments including Plasma Mobile and phosh.
- Download location
Rather than downloading a demo image postmarketOS recommend the use of their script, pmbootstrap, that can tailor build your SD card for you. See for example this forum thread.
Note pmbootstrap offers an option to install to the eMMC.
Demo images can be found here.
- user-id/password
demo/147147 (for demo images only - when building an image with pmbootstrap you set your own user-id and password. NOTE: currently some lock screens require your password, but only present a numeric keyboard. So you should use only numbers in your password until you've verified you can unlock with other characters.)
- What works, what does not work
See postmarketOS dedicated PinePhone wiki page
If you install firefox browser (or are using a demo image that already has it installed) then these hints in the pmOS wiki are recommended. GDK_SCALE=1 is best for PinePhone screen, enable Wayland gets application to fit screen and allow keyboard entry.
- Where/how to report defects
postmarketOS issue tracker for PinePhone support
- Contributions
See postmarketOS wiki for options to contribute.
Ubuntu Touch by UBPorts
A Mobile Version of the Ubuntu Operating System made and maintained by the UBports Community.
A short, state-of-the-art (as at 5 Feb 2020) demo on YouTube.
Ubuntu touch is a mobile version of Ubuntu developed by the UBports community. Images can be downloaded from here. In the future, Ubuntu Touch will be able to be installed onto the PinePhone with the UBports installer GUI tool.
- Download location
- user-id/password
The default password is phablet
- What works, what does not work
Scroll down to the bottom of this page.
To get the modem to work (as at 10 Feb) you need to manually:
sudo /usr/share/ofono/scripts/enable-modem sudo /usr/share/ofono/scripts/online-modem
- Where/how to report defects
- Contributions
See UBports website for how to donate.
Debian + Phosh
An unofficial Debian build for ARM64 running with the phosh user interface (developed by Purism, phosh uses Wayland instead of Xorg). The base system is pure Debian, with only the GUI applications and a few others (ModemManager, Wifi chip firmware) being built from modified sources (as well as the kernel and u-boot, of course). Current version is Debian Sid, as needed packages are not yet in testing (Debian Bullseye).
To adjust screen resolution, see these threads: [1] [2]
Most of Debian's repository is available. There are packages that need to be cross compiled ("ported") to ARM64 (see Debian's wiki on ARM64 port), but the process is fairly easy. Most developers package their software for the AMD64 version of Debian, so they will throw an error when run; if you have the source code, you can compile it to run on ARM64/PinePhone. If you do so, you should contact the developers so they can provide precompiled ARM64 packages for others in the future. You should also contact Debian if you have working ARM64 packages not listed on this page, since this helps them track the status of ARM64 with Debian. Currently their wiki page is out of date.
- Download location
- user-id/password
debian/1234
- What works, what does not work
See the project's README file for most up to date status.
March 9th release: thread
Known issues as of March 9th, 2020:
- ModemManager acts weirdly if your SIM card needs PIN code verification, it is recommended to disable it for now
- headphone jack insertion is still not detected, you need to manually switch to the "Headphone" output in "Settings" -> "Sound"
- bluetooth and camera are still not usable, even though the low-level drivers seem to work
- a few voice calls issues: unable to mute the mic, headset mic not working, audio quality to be improved (if the hardware is capable of more)
- Where/how to report defects
It is recommended that you log your bug reports in the project's issue tracker.
- Contributions
Feel free to pick an open issue to work on, or send a merge request on Gitlab.
Maemo Leste
Maemo is a trimmed-down version of Debian for mobile devices, originally a collaboration between Nokia and many open source projects (the Maemo community) before Nokia abandoned it. The community now takes full responsibility in developing fully open source Maemo for a variety of mobile devices.
The new version Maemo 7 "Leste" is an ARM64 port of Devuan (Debian without systemd) and runs the mainline Linux kernel. The default user interface stack is Hildon, Xorg, Matchbox WM, and GTK. The current version is Devuan Ascii (Debian Stretch) and they are working on an upgrade to Devuan Beowulf (Debian Buster) as well as simultaneous support for both Devuan and Debian. In addition to the main repository, they announced a community repository. To keep updated they use automation in their package maintenance with jenkins (similar to debian's buildd). Porting packages to Maemo Leste is basically a simple matter of porting to arm64 version of Debian/Devuan, which benefits both projects.
More detailed information can be found on the Maemo Leste wiki, or follow announcements on their website, and check out Frequently Asked Questions.
- Download location
Maemo Leste test builds. There is also an image builder, see their wiki for instructions on how to build a custom image.
- user-id/password
root/toor
You may use "sudo" directly.
- What works, what does not work
For current status and work arounds please read their PinePhone wiki page, and update as necessary (make sure to notify them of new issues by leaving a report on their github, see below).
- Where to Report Issues
Most discussion occurs at #maemo-leste on freenode IRC. The Maemo website also has an ongoing forum thread for feedback about Maemo Leste on the PinePhone BraveHeart edition.
All other contact information is listed on the main page of the Maemo wiki. You should submit bug reports on github. To track known issues, you may use these search terms: pinephone, pine64
- Development
Learn about development, porting packages, building packages, todo list, and general info on how to package for Debian. Some tasks have funding available.
SailfishOS
Sailfish OS is a Linux-based operating system based on open source projects such as Mer and including a closed source UI.
- Download location
The SailfishOS image is built on Gitlab CI. The latest image can be installed using the flashing script.
The script downloads the image and bootloader from our CI, extracts everything and burns it onto the SD card. Note: The script will format and erase the SD card!
Instructions:
- Download the flashing script
- Insert a microSD card in your device
- Make the script executable:
chmod +x flash-it.sh
- Verify that you have the
bsdtar
package installed - Execute it:
./flash-it.sh
- Follow the instructions. Some commands in the script require root permissions (for example: mounting and flashing the SD card).
Note that after baking µSD card and booting phone, as per Reddit comment you have to adjust autobrightness settings in order to actually see interface.
- user-id/password
- What works, what does not work
The current (6 Feb) version of Sailfish has a defect with the auto brightness: on first boot this means you get a blank screen. You need to hold your phone up to a bright light to enable the screen, then disable the auto brightness in Settings, Display. See this forum thread. If you're not familiar with SFOS, be prepared by having a Jolla account and skip the tutorial by touching all 4 corners starting top left. This is just because holding a light over the sensor can be tricky, otherwise the SFOS tutorial is necessary as the UI is not that intuitive.
- Where/how to report defects
See the Sailfish wiki for links to their forum as well as info required when reporting an issue.
- Contributions
See the SailfishOS wiki for options to contribute.
Manjaro ARM
Manjaro is a user-friendly Linux distribution based on the independently developed Arch operating system with the Plasma Mobile desktop environment.
- Download location
See Manjaro forum announcement of Alpha4 version
- user-id/password
- manjaro/1234
- root/root
- What works, what does not work
In particular phone calls do NOT yet work from the Phone application.
- Where/how to report defects
- Contributions
See the end of the announcement here.
NixOS
- Download location
- user-id/password
- What works, what does not work
- Where/how to report defects
See Bugs section on this page.
- Contributions
Details about contributions and donations are on the NixOS website.
LuneOS
Based on WebOS by LG, comes with Luna Next desktop environment.
- Download location
LuneOS test image for PinePhone Tofe recommends using bmaptool ; for example "bmaptool copy http://build.webos-ports.org/luneos-testing/images/pinephone/luneos-dev-image-pinephone-testing-0-15.rootfs.wic.gz /dev/mmcblk0". Rename .wic file to .img for standard dd usage.
- user-id/password
- What works, what does not work
- Where/how to report defects
- Contributions
Nemo Mobile
Nemo Mobile is the open source build of Sailfish OS.
See this forum thread for how to get going.
- Download location
Download location is here on GitHub.
- user-id/password
- What works, what does not work
- Where/how to report defects
For more info please visit neochapay's github page
- Contributions
KDE Neon
Based on KDE Neon for the desktop, comes with Plasma Mobile.
- Download location
Plasma mobile images can be found here.
- user-id/password
phablet/1234
- What works, what does not work
- Where/how to report defects
- Contributions
PureOS
PureOS is a GNU/Linux distribution focusing on privacy and security, using the GNOME desktop environment. It is developed and maintained by Purism.
- Download location
This is an unofficial/unsupported creation by mozzwald that can be downloaded here. Instructions to create your own image are here.
- user-id/password
purism/123456
Fedora
An (unofficial) vanilla Fedora rawhide build for aarch64 with megi's kernel and some additional packages to tie it all together. It aims to eventually be an upstream part of the Fedora project, rather than a phone-specific distribution.
- Download location
flashable images or build scripts
The images are compressed with zstd because the maintainer needs an excuse to use zstd.
- user-id/password
pine/1111
- What works, what does not work
The UI is smooth, WiFi, Bluetooth, incoming SMS, and the modem all work. Voice calls, SMS (outgoing), and mobile data don't work (yet).
- Where/how to report defects
Please send your bug reports at the project's issue tracker. Be sure to include logs if applicable!
- Contributions
Please help! Send us merge requests on Github.
Arch Linux ARM
An (unofficial) barebone Arch Linux ARM image, all you have is just a shell and SSH.
- Download location
https://github.com/dreemurrs-embedded/Pine64-Arch/releases
- user-id/password
alarm/alarm
- What works, what does not work
It's just fast and smooth, there's nothing, you'll have to install a desktop at your own. GNOME is a good example to look at. USB DHCP doesn't work yet, so you'll have to assign 172.16.42.2/24 to the phone's network interface.
To access the device, ssh to 172.16.42.1 with the credentials above.
- Contributions
Feel free to send us merge requests on GitHub.
Aurora
Available soon? https://mobile.twitter.com/neochapay/status/1189552654898188288?p=p
Android 10
https://www.pine64.org/wp-content/uploads/2020/03/androidpp.jpg
While I didn't find a download link yet, I did find this image on the March community update from Pine64 of an Android 10 rom running on the Pinephone by Moe Icenowy. This may actually be a very useful one, since GNU/Linux images aren't ready for daily usage yet. Maybe, one could dual boot Android and its OS of choice to have the best of both worlds.
Mobile Carrier APN Settings
See thread: https://forum.pine64.org/showthread.php?tid=9150
Mint Mobile (USA)
https://www.mintmobile.com/setup-for-android/
APN settings for Mint Mobile on Debian + Phosh:
Simply go to Settings > Mobile > Access Point Names > + button to add new, Name: Ultra APN: Wholesale. Then save it.
Call them up to activate using the number on their website.
Reboot phone.
Tracfone (USA?)
BYOP sim card: works with T-Mobile and ATT compatible SIM cards provided in BYOP kit "Activation was as simple as putting the card in the phone and sending a text message." "I went to a different area today with better cell tower coverage and was able to make my first call from my pinephone."
Carriers That Do Not Work
- FreedomPop (USA): VoIP-based, only works with Google Play app which cannot be installed
- VoLTE services like Sprint or Verizon
Other Resources
Community
Hardware information
- PinePhone hardware details in this Pine64 wiki.
- PinePhone_v1.1_-_Braveheart hardware details specific to the Braveheart handsets.
- The postmarketOS wiki has a detailed page on the PinePhone hardware here, and the preceeding devkit here.
Other software information
- sunxi community wiki
- megi feature/driver support matrix
- megi bootUI notes (for dualbooting/multibooting)
- ayufan boot tools
Other