Difference between revisions of "PinePhone Software Releases"

From PINE64
Jump to navigation Jump to search
m (→‎Manjaro ARM: Updated forum links for Phosh and Plasma releases)
(302 intermediate revisions by 50 users not shown)
Line 1: Line 1:
This page contains a list of all available releases for the [[PinePhone]] as well as links to other resources.


This page is intended to help you install a software release on your [[PinePhone]]. It also provides details about all available releases as well as links to further resources.
See [[PinePhone Installation Instructions]] on how to install the operating systems. However, if your phone came preloaded with software, Please see [[PinePhone Updating Instructions]]


= General instructions =
{{Hint| Note: Some releases may 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.}}


Releases are first installed to a Micro SD card. Choose a card with fast I/O (of small files) for the best performance. See [[#Other Resources]] for performance tests of various SD cards.
= Software Releases =
 
This is a list of OSes that specifically support the PinePhone, but as support is included in Mainline Linux, in principle any ARM Linux OS can be used, if possible required patches are included.
 
== Arch Linux ARM ==
<div style=float:right>[[File:Archlinux-logo.png|100px]]</div>
 
(Unofficial) Arch Linux ARM with choice of Phosh UI or barebones, currently being maintained by the [https://danctnix.org/ DanctNIX] community (GitHub [https://github.com/DanctNIX/danctnix 1] [https://github.com/dreemurrs-embedded 2]).
 
'''Download location'''
 
Get the latest image here: https://github.com/dreemurrs-embedded/Pine64-Arch/releases
 
'''username/password'''
 
alarm/123456
 
'''What works, what does not work'''
 
Most of the things now works, there are some minor issues with [[Crust]].
 
'''How to contribute and report defects'''
 
Feel free to send us [https://github.com/dreemurrs-embedded/Pine64-Arch/pulls pull requests] and report [https://github.com/dreemurrs-embedded/Pine64-Arch/issues issues] on [https://github.com/dreemurrs-embedded/Pine64-Arch GitHub].
 
== ExpidusOS ==
 
A fork of Void Linux with a custom fork of XFCE as the default desktop environment, developed by [https://midstall.com/ Midstall Software].
 
* [https://expidusos.com ExpidusOS official website]
* [https://wiki.expidusos.com/index.php/Main_Page ExpidusOS Wiki]
* [https://discord.gg/GVfBF2w Midstall Software Discord server]
 
'''Download location'''
 
Check the [https://expidusos.com/download download page] for that latest version, or the [https://build.expidusos.com/ image file list] for all versions, look for the file name that starts with "pinephone".
 
'''username/password'''
 
expidus/expidus
 
'''What works, what does not work'''
 
The ExpidusOS Wiki has a page detailing [https://wiki.expidusos.com/index.php/Device:PinePhone supported features].
 
'''How to contribute and report defects'''
 
GitHub: https://github.com/ExpidusOS
 
== Fedora ==
<div style=float:right>[[File:Fedora-logo.png|100px]]</div>
 
An (unofficial) vanilla Fedora rawhide build for aarch64 with megi's kernel and [https://copr.fedorainfracloud.org/coprs/njha/mobile/packages/ 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.
 
See [https://forum.pine64.org/showthread.php?tid=9347 this thread in the forum].
 
'''Download location'''
 
[https://github.com/nikhiljha/pp-fedora-sdsetup/releases/ flashable images] or [https://github.com/nikhiljha/pp-fedora-sdsetup/ build scripts]
 
There is also an FTP server with full a full Fedora 34 workstation build with phosh: ftp://pine.warpspeed.dk/nightly/pinephone/ (Mount this with something like Nautilus)
 
'''username/password'''
 
pine/123456
 
'''What works, what does not work'''
 
WiFi, Bluetooth, SMS, Data, Calls all work!
 
There are still a few bugs though, and [https://xnux.eu/devices/pine64-pinephone.html#toc-feature-driver-support-matrix some features don't have driver support yet] on any PinePhone distribution.
 
'''How to contribute and report defects'''
 
Please send your bug reports to [https://github.com/nikhiljha/pp-fedora-sdsetup/issues the project's issue tracker]. Be sure to include logs if applicable! Send us merge requests on [https://github.com/nikhiljha/pp-fedora-sdsetup/ Github].
 
== Gentoo ==
<div style=float:right>[[File:GentooLogo.png|100px]]</div>
 
There are unofficial Gentoo overlays with ebuilds for the PinePhone. There are no images - you'll be building it yourself, picking which kernel, bootloader and desktop environment you want to use.
You will be using the [https://wiki.gentoo.org/wiki/Project:ARM64 arm64] version of Gentoo.
 
'''Documentation'''
 
https://stealthgun.tweakblogs.net/blog/19336/gentoo-on-a-pinephone
 
https://wiki.gentoo.org/wiki/User:Dr41nU/PinePhone
 
https://wiki.gentoo.org/wiki/PinePhone (incomplete)
 
'''Overlay locations'''
 
https://gitlab.com/bingch/gentoo-overlay/
 
https://github.com/stealthgun/gjdwebserver-overlay/
 
== GloDroid ==
 
{{warning|Available images are outdated and do not reflect the state of the current developments.}}
 
A fully open source port of Android to the PinePhone
 
'''Download location'''
 
https://github.com/GloDroid/glodroid_manifest/releases
 
'''What works, what does not work'''
 
Works: WiFi, screen dimming, touchscreen and charging work.
Don't work: Bluetooth, Telephony, GPS
 
== LuneOS ==


This section has generic installation instructions. Please see the [[#Software Releases]] section for specific installation instructions for each distribution.
LuneOS is a open source mobile operating system based on [https://www.webosose.org/ webOS Open Source Edition]([https://github.com/webosose GitHub], previously known as [https://github.com/openwebos Open webOS]) by LG, comes with [https://webos-ports.org/wiki/Luna_Next Luna Next] UI, currently developed by [https://www.webos-ports.org/wiki/Main_Page WebOS Ports] community.


== Boot priority ==
* [https://webos-ports.org/wiki/Pinephone_Info WebOS-Ports Pinephone Wiki page]


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.
'''Download location'''


User ''megi'' has demonstrated his multi-boot development [https://www.youtube.com/watch?v=ZL1GREqoqx8 on YouTube,] see Other Resouces at the bottom of this page for a link to his notes.
[http://build.webos-ports.org/luneos-testing/images/pinephone/ LuneOS test image for PinePhone]


== Preparation of SD card ==
It is recommended to use <i>bmaptool</i>, which is faster than dd, and can decompress archived image files on-the-fly.
# 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 (Optional) ==
Syntax is:


=== Method Using Factory Installed Tools ===
<code>bmaptool copy [from] [to]</code>


The initial OS you get with your phone has the option to flash an image on SD card to eMMC.
For example:


# Copy (not flash) the image file to a formatted SD card.
<code>bmaptool copy http://build.webos-ports.org/luneos-testing/images/pinephone/luneos-dev-image-pinephone-testing-0-140.rootfs.wic.gz /dev/mmcblk0</code>
# Insert SD card into powered-off phone.
# Turn on phone and select option to install to eMMC.


=== Safe & Easy Method ===
.wic file can be treated as .img file when flashing. You may rename .wic file to .img when using GUI tools that require .img files.


[https://forum.pine64.org/showthread.php?tid=9444 Jumpdrive thread]
== Maemo Leste ==
<div style=float:right>[[File:Maemoleste-logo.png|100px]]</div>


# download and extract [https://github.com/dreemurrs-embedded/Jumpdrive/releases the Jumpdrive image]
[https://en.wikipedia.org/wiki/Maemo Maemo] is a trimmed-down version of Debian for mobile devices, originally a collaboration between Nokia and many open source projects (the [http://maemo.org/intro/ Maemo community]) before Nokia abandoned it. The community now takes full responsibility in developing fully open source Maemo for a variety of mobile devices.
# flash the Jumpdrive image to a SD card
# boot from the SD card
# connect the PinePhone to your computer using USB-A -> USB-C cable.
# flash the exposed (mounted) PinePhone drive with a chosen OS image as you'd flash any SD card, and resize partitions (optional, see below)
# disconnect the PinePhone from your PC, power it down and remove the Jumpdrive SD card
# boot into your OS of choice on eMMC


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.
The new version Maemo 7 "Leste" is an ARM64 port of [https://devuan.org/ Devuan] (Debian without systemd) and runs the mainline Linux kernel. The default user interface stack is [https://en.wikipedia.org/wiki/Hildon Hildon], [https://en.wikipedia.org/wiki/X.Org_Server Xorg], [https://en.wikipedia.org/wiki/Matchbox_(window_manager) Matchbox WM], and [https://en.wikipedia.org/wiki/GTK 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 [https://maemo-leste.github.io/maemo-leste-repositories-and-community-packages.html announced] a [https://github.com/maemo-leste-extras/bugtracker community repository]. To keep updated they use automation in their package maintenance with [https://github.com/maemo-leste/jenkins-integration jenkins] (similar to [https://www.debian.org/devel/buildd/ 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 [https://leste.maemo.org/Main_Page the Maemo Leste wiki], or follow [https://maemo-leste.github.io/ announcements on their website], and check out [https://leste.maemo.org/Leste_FAQ Frequently Asked Questions].  


=== Safe With No Extra Tools, But Slower ===
'''Download location'''


# Prepare a formatted SD card, flash desired OS to the SD card, and (optionally) resize the partition (see below)
[http://maedevu.maemo.org/images/pinephone/ Maemo Leste test builds]. There is also an [https://github.com/maemo-leste/image-builder image builder], see their wiki for instructions on how to [https://leste.maemo.org/Image_Builder build a custom image].
# Insert SD card and boot the phone
# Open terminal and <code>git clone [url]</code> your desired project OR: Open web browser and download the desired OS image file.
# Build the OS (Optional)
# Flash the resulting image file you got by downloading or by building, to eMMC, using <code>dd if=/dev/mmcblkX of=/dev/mmcblkY bs=1M</code> 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).
# Turn off phone, remove SD card. Turn on phone.


=== Risky Method ===
'''username/password'''


Warning: This copies a mounted filesystem, which can lead to instability, erratic behavior, and data corruption. Do not use long term.
root/toor


# Prepare a new SD card, flash desired OS to the SD card
You may use "sudo" directly.
# Boot the phone with your new SD card image
# 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.
# Turn off phone, take out SD card, and try booting the phone which should load up the new OS from eMMC.
# Open terminal and resize partition to fill up entire disk (see below).


== Resize partition to fit disk space ==
'''What works, what does not work'''


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.
For current status and workarounds please read their [https://leste.maemo.org/PinePhone PinePhone wiki page], and update as necessary (make sure to notify them of new issues by leaving a report on the project's  Github page, see below).


=== Resize SD card's partition using computer ===
'''How to contribute and report defects'''


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.
Most discussion occurs at <i>#maemo-leste</i> on <i>irc.libera.chat</i>. The Maemo website also has an [https://talk.maemo.org/showthread.php?p=1565822 ongoing forum thread] for feedback.


Using Growpart:  
All other contact information is listed on the [https://leste.maemo.org/Main_Page main page] of the Maemo wiki. You should [https://github.com/maemo-leste/bugtracker/issues submit bug reports] on github. To track known issues, you may use these search terms: [https://github.com/maemo-leste/bugtracker/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+pinephone pinephone], [https://github.com/maemo-leste/bugtracker/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+pine64 pine64]. Learn about [https://leste.maemo.org/Development development], [https://leste.maemo.org/Development/Porting_Packages porting packages], [https://leste.maemo.org/Development/Building_Packages building packages], [https://leste.maemo.org/Development/Tasks todo list], and general info on [https://wiki.debian.org/HowToPackageForDebian how to package for Debian]. Some tasks have funding available.


growpart /dev/sdX 1
== Manjaro ARM ==
resize2fs /dev/sdX 1
<div style=float:right>[[File:Manjaro-logo.svg|100px]]</div>


Locate growpart (<code>apt-cache search growpart</code> and install the package in the search results) and run:
Manjaro is a user-friendly Linux distribution based on the independently developed Arch operating system with the Plasma Mobile desktop environment.
growpart /dev/mmcblkX Y
resize2fs /dev/mmcblkXpY
where X is the storage device and Y is the partition number (viewable from lsblk).


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.
'''Download location'''


Using Parted:  
*Phosh: [https://github.com/manjaro-pinephone/phosh Stable] / [https://github.com/manjaro-pinephone/phosh-dev Dev]
*Plasma Mobile: [https://github.com/manjaro-pinephone/plasma-mobile Stable] / [https://github.com/manjaro-pinephone/plasma-mobile-dev Dev]
*Lomiri: [https://github.com/manjaro-pinephone/lomiri-dev Dev] (Not maintained)


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.
'''username/password'''


sudo parted /dev/<your_sd_card_device>
manjaro/123456
(parted) resizepart 2 100%
(parted) quit
sudo resize /dev/<the_second_sd_card_PARTITION>


=== Resize from within PinePhone: ===
root/root


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.
'''What works, what does not work'''


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.
{{Hint| Note: The Phosh image the boot will load at a TTY login prompt for multiple minutes at the first boot.}}


== Installing Any ARM64 Distribution ==
See Manjaro's release announcements on their forum.
'''Warning:''' Distributions not on this page may not even boot after you follow this section. In the best case, they will be barely usable. This is more for fun, or if you would like to port a new distro to the PinePhone.


'''Note:''' This section uses megi's kernel releases, and not the official ones from PINE64. While it is possible to use the official (and in the future, mainline) kernel, megi provides binary releases, which makes it very easy.
Recent ones: [https://forum.manjaro.org/t/manjaro-arm-beta12-with-phosh-pinephone/73099 Phosh], [https://forum.manjaro.org/t/manjaro-arm-beta5-with-plasma-mobile-pinephone/69318 Plasma] and [https://forum.manjaro.org/t/manjaro-arm-alpha3-with-lomiri-pinephone/49923 Lomiri].


If you would like to see specific commands for how to complete these steps, see https://github.com/nikhiljha/pp-fedora-sdsetup (an example for Fedora) or https://xnux.eu/howtos/install-arch-linux-arm.html (an example for Arch Linux).
'''How to contribute and report defects'''


# Create a boot (from 4MiB to about 252MiB) and root (from 252 MiB to the end of the card) filesystem on the SD card.
See the end of the [https://forum.manjaro.org/t/manjaro-arm-beta7-with-phosh-pinephone/58901 announcement].
# Format the boot partition with vfat, and the root partition with f2fs.
# Extract the root filesystem from your distro's ARM image into the root filesystem on the sd card. Do not copy the partition, copy the files (in archive mode: like rsync -ar).
# Edit /etc/fstab to match your partitions.
# Grab megi's kernel from https://xff.cz/kernels/ (you probably want 5.6).
# Follow the README instructions, which involves copying the kernel modules into the sd card rootfs and writing u-boot and the bootloader.


== Backlight ==
== Mobian ==
All current distributions do not have a good setup for the backlight at low brightness.
<div style=float:right>[[File:Debian-logo.png]]</div>
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.
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). Current version is Debian Bullseye.


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
'''Download location'''


= Software Releases =
[https://images.mobian-project.org/pinephone/nightly/ Nightly] / [https://images.mobian-project.org/pinephone/installer/ Installer] / [https://images.mobian-project.org/pinephone/ Stable]


== postmarketOS ==
Don't forget to extract the image before installing:
http://files.pine64.org/sw/pine64_installer/json/postmarketos.png


postmarketOS is a preconfigured version of [https://www.alpinelinux.org/ Alpine Linux] for mobile devices that offers a choice of several desktop environments including Plasma Mobile and phosh.
<code>$ gzip -d Downloads/mobian-pinephone-*.img.gz</code>


* ''' Download location '''
See the [https://wiki.mobian-project.org/doku.php?id=install project page] for specific installation instructions.
Rather than downloading a demo image [https://wiki.postmarketos.org/wiki/Installation_guide postmarketOS recommend] the use of their script, pmbootstrap, that can tailor build your SD card for you. See for example [https://forum.pine64.org/showthread.php?tid=8285 this forum thread.]


Note pmbootstrap offers an option [https://wiki.postmarketos.org/wiki/PINE64_PinePhone_(pine64-pinephone)#Installation to install to the eMMC.]
'''username/password'''


[http://images.postmarketos.org/pinephone/ Demo images can be found here.]
mobian/1234


* ''' user-id/password '''
'''What works, what does not work'''
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 [https://gitlab.com/mobian1/mobian-recipes/-/blob/master/README.md the project's README file] or [https://wiki.mobian-project.org/doku.php?id=pinephone the wiki]for most up to date status.
See [https://wiki.postmarketos.org/wiki/PINE64_PinePhone_(pine64-pinephone) postmarketOS dedicated PinePhone wiki page]


If you install firefox browser (or are using a demo image that already has it installed) [https://wiki.postmarketos.org/wiki/Firefox 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.
Check [https://gitlab.com/groups/mobian1/-/issues bug tracker] for known issues. Questions? Ask on our [https://forum.pine64.org/showthread.php?tid=9016 thread].


* ''' Where/how to report defects '''
'''How to contribute and report defects'''
[https://gitlab.com/postmarketOS/postmarketos/issues/3 postmarketOS issue tracker for PinePhone support]


* ''' Contributions '''
It is recommended that you log your bug reports in [https://gitlab.com/mobian1/issues the project's issue tracker]. As a general rule, issues with third-party apps (even the default ones) should be reported upstream. A Mobian issue would be related to getting the hardware to work on the PinePhone, but if unsure where the issue should be reported just open a ticket or ask. Feel free to pick an open issue to work on, or send a merge request on [https://gitlab.com/mobian1 Gitlab].
[https://wiki.postmarketos.org/wiki/Contributing See postmarketOS wiki for options to contribute.]


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
'''Notes'''


== Ubuntu Touch by UBPorts ==
See [[Mobian for PinePhone]] or [https://wiki.mobian-project.org/doku.php?id=start the wiki] for additional information regarding screen resolution, USB networking, WiFi hotspot, Chatty and the repository.
http://files.pine64.org/sw/pine64_installer/json/ubports.png
A Mobile Version of the Ubuntu Operating System made and maintained by the UBports Community.


A short, state-of-the-art (as at 2 April 2020) [https://youtu.be/3Ne6G0-hn9g demo on YouTube.]
== Multi-boot demo image ==


[https://ubuntu-touch.io/ Ubuntu touch] is a mobile version of Ubuntu developed by the UBports community. Images can be downloaded from [https://ci.ubports.com/job/rootfs/job/rootfs-pinephone/ here]. There is also a [https://github.com/goddard/pinephone/ script] to download the latest img and flash to your pinephone. In the future, Ubuntu Touch will be able to be installed onto the PinePhone with the [https://ubuntu-touch.io/get-ut UBports installer] GUI tool.
{{Warning| This is an demo image for testing different OSes before installing a regular image. It is highly discouraged attempting to use the image productively. The kernel is shared across the different OSes and is not being updated.}}


* ''' Download location '''
The purpose of this image is for users to easily try many of the above Linux distributions, without having to figure out how to flash them individually and juggle with many microSD cards.
[https://gitlab.com/ubports/community-ports/pinephone See UBports gitlab page.]


* ''' user-id/password '''
* More information can be found at: https://xnux.eu/p-boot-demo/
The default password is <code>phablet</code>
* Git repo: https://megous.com/git/pinephone-multi-boot/
* [https://forum.pine64.org/showthread.php?tid=11347 Discussion on the forum]


* ''' What works, what does not work '''
==== megi 15-in-1 multi boot Image [SD Boot] [20210602] ====
[https://gitlab.com/ubports/community-ports/pinephone Scroll down to the bottom of this page.]
* DD image to microSD card and boot.
* This is also a good build for charging depleted battery. Just boot up this build with power supply connected, keep the PinePhone charging for 3 hours at power down stage.
* For more info on this build, please visit [https://xnux.eu/p-boot-demo/ PinePhone multi-distro demo image site]
* DD image for 16GB and above microSD card
** [https://files.pine64.org/os/PinePhone/Multi/p-boot-multi-2021-06-02.img.gz Direct download from pine64.org]
*** MD5 (GZip file): 2abdaafb01dd7519f678b5a7c6538493
*** File Size: 6.8GB


* ''' Where/how to report defects '''
== Nemo Mobile ==
[https://gitlab.com/ubports/community-ports/pinephone See UBports gitlab page.]
<div style=float:right>[[File:nemo_mobile.png|right|100px]]</div>
Nemo Mobile is the open source build of Sailfish OS with a open source UI called [http://nemomobile.net/glacier-home/ Glacier] ([https://wiki.merproject.org/wiki/Nemo/Glacier Mer Wiki]), now [http://nemomobile.net/pages/Hello_manjaro/ based on Manjaro]. See their website [https://nemomobile.net/ Nemo Mobile UX team] and [https://wiki.merproject.org/wiki/Nemo Mer Wiki page].


* ''' Contributions '''
You can either install Nemo on any device that already runs Sailfish, or flash a prebuilt image to SD card/emmc on the PinePhone to install.
[https://ubports.com/foundation/sponsors See UBports website for how to donate.]


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
'''Download location'''


== Debian-PinePhone ==
{{Hint| Note: See their website for the newest release and installation guides.}}
[[File:Debian-logo.png]]


See [https://forum.pine64.org/showthread.php?tid=9016 this thread in the forum.]
Prebuilt images:


An unofficial Debian build for ARM64 running with the [https://developer.puri.sm/Librem5/Software_Reference/Environments/Phosh.html phosh user interface] (developed by Purism, phosh uses [https://en.wikipedia.org/wiki/Wayland_(display_server_protocol) Wayland] instead of [https://en.wikipedia.org/wiki/X.Org_Server 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 Bullseye. 
First devel image for Manjaro (April 1, 2021):


* ''' Download location '''
* Offical blog post: [https://nemomobile.net/pages/Hello_manjaro/ First devel image for manjaro]
[http://pinephone.a-wai.com/images/ Debian-pinephone downloadable images]
* Image locations:
** devel: https://img.nemomobile.net/devel/
** ?: https://img.nemomobile.net/2021.05/
* Packages: https://img.nemomobile.net/manjaro/05.2020/stable/


Don't forget to extract the image before installing:  
Nemo with Glacier UX v0.8 (April 27, 2020):
$ gzip -d Downloads/debian-pinephone-*.img.gz


See the [https://gitlab.com/a-wai/debos-pinephone project page] for specific installation instructions.
* Offical blog post: [https://nemomobile.net/pages/Nemo_For_pinephone/ Nemo for PinePhone v0.8]
* rootfs image: https://yadi.sk/d/VAbtKV-Hnql60g
* 2GB sdcard image: https://yadi.sk/d/8oSZp-frGidscw


* ''' user-id/password '''
Install Nemo on Sailfish:
debian/1234


* ''' What works, what does not work '''
Install Sailfish on your PP first (follow instructions on the [[PinePhone_Software_Releases#Sailfish_OS|Sailfish]] section on this page).


See [https://gitlab.com/a-wai/debos-pinephone/-/blob/master/README.md the project's README file] for most up to date status.
Enable developer mode. In the terminal, run as root (`devel-su`):


Check [https://gitlab.com/a-wai/debos-pinephone/-/issues bug tracker] for known issues. Questions? Ask on our [https://forum.pine64.org/showthread.php?tid=9016 thread].
<code>ssu ar nemo-devel-ux http://repo.merproject.org/obs/home:/neochapay:/nemo-ux/sailfish_latest_armv7hl/ </code>


* ''' Where/how to report defects '''
then:
It is recommended that you log your bug reports in [https://gitlab.com/a-wai/debos-pinephone/issues/ the project's issue tracker.] As a general rule, issues with third-party apps (even the default ones) should be reported upstream. A Debian-PinePhone issue would be related to getting the hardware to work on the PinePhone, but if unsure where the issue should be reported just open a ticket or ask.


* ''' Contributions '''
<code>pkcon refresh </code>
Feel free to pick an open issue to work on, or send a merge request on [https://gitlab.com/a-wai/debos-pinephone/ Gitlab.]


* ''' User Experience Notes '''
then install the nemo-specific Glacier packages:


If not already mentioned on the project page, the [https://forum.pine64.org/showthread.php?tid=9016 thread] might have known workarounds to software and user experience issues as contributed by the users.
<code>pkcon install lipstick-glacier-home-qt5 </code>


'''The Chatty app''' requires that in order to start a new text, you need to enter +[country code]-[phone number]. Without the + and the country code (+1 for USA) you won't be able to send a new text. 
If necessary, reboot.


'''To adjust screen resolution''' [https://puri.sm/posts/easy-librem-5-app-development-scale-the-screen/] [https://forum.pine64.org/showthread.php?tid=9016&pid=61403#pid61403] [https://forum.pine64.org/showthread.php?tid=9016&pid=61685#pid61685]
'''What works, what does not work'''


# <code>sudo apt install linux-libc-dev build-essential ninja-build meson cmake libwayland-dev</code>
For the newer devel image based on Manjaro, [https://twitter.com/neochapay/status/1374029467526500355 Wi-Fi and Bluetooth works].
# Continue the rest of the instructions on [https://puri.sm/posts/easy-librem-5-app-development-scale-the-screen/ this page]
# When you finish, you will have a touch-capable app you can use to adjust resolution any time, useful when switching between various apps. Unlike other solutions, this works across reboots.


'''Most of Debian's repository is available.''' There are packages that apt won't find, which need to be cross compiled ("ported") to ARM64 (see [https://wiki.debian.org/Arm64Port 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 [https://wiki.debian.org/Arm64Port this page], since this helps them track the status of ARM64 with Debian. Give their wiki page some TLC.
For the older Nemo with Glacier UX v0.8, voicecalls, sound and cameras do not work by default, see its blog post and GitHub repo readme.


'''Apps that don't work with Wayland''': if you encounter an app that only works with X11 and not Wayland, report it upstream to the app's developers.
'''How to contribute and report defects'''


For the Nemo Mobile UX itself:
* GitHub issues: https://github.com/nemomobile-ux/main/issues


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
For hardware:
* GitHub issues: https://github.com/neochapay/nemo-device-dont_be_evil/issues


== SailfishOS ==
== NixOS ==
http://files.pine64.org/sw/pine64_installer/json/sailfishos.png
<div style=float:right>[[File:nixos.png|right|100px]]</div>
Sailfish OS is a Linux-based operating system based on open source projects such as Mer and including a closed source UI.
NixOS support is handled through the Mobile NixOS project.


* ''' Download location '''
* [https://mobile.nixos.org/ Project home page]
The SailfishOS image is built on Gitlab CI. The latest image can be installed using the [https://raw.githubusercontent.com/sailfish-on-dontbeevil/flash-it/master/flash-it.sh flashing script].


The script downloads the image and bootloader from our CI, extracts everything and burns it onto the SD card. '''Note:''' The script will format and erase the SD card!
* [https://github.com/NixOS/mobile-nixos Source code repository]


''Instructions:''
There is no pre-built complete image. For now users are expected to follow the instructions in the [https://mobile.nixos.org/getting-started.html Getting Started page], and on [https://mobile.nixos.org/devices/pine64-pinephone-braveheart.html the device's page].
# Download the flashing script
# Insert a microSD card in your device
# Make the script executable: <code>chmod +x flash-it.sh</code>
# Verify that you have the <code>bsdtar</code> package installed
# Execute it: <code>./flash-it.sh</code>
# 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 [https://www.reddit.com/r/pinephone/comments/f1l7bm/sailfish_os_on_pinephone_best_os_so_far_in_my/fh8o0s2/ Reddit comment] you have to adjust autobrightness settings in order to actually see interface.
'''What works, what does not work'''


* ''' user-id/password '''
This information may change, but currently it boots, it's as compatible as the Android-based devices are with Mobile NixOS. It even supports a bit more since it can use WiFi.


* ''' What works, what does not work '''
Support for all of the hardware will be coming, this project is a breadth-first work, where the work spans multiple devices in parallel.
The current (9 Apr) version of Sailfish no longer has a defect with the auto brightness! To install on an sdcard you need to have a sim card in the phone - doesn't have to be an active one. If you then unset the device lock password in settings you can take the simcard out. If you're not familiar with SFOS, be prepared by having a (free) Jolla account and pay attention to the tutorial - the interface works great but isn't immediately obvious. If you are familiar with SF you can skip the tutorial by touching all 4 corners starting top left. There is a poor selection of apps available from the Jolla store. To enable openrepos.net install the Storeman app by downloading the rpm from https://openrepos.net/content/osetr/storeman. You may need to get the rpm onto the phone by other means as the built in browser is not working at the moment. Press the rpm file and you will be asked to install it. Browse the store and add repository first from the pulley menu before installing the app you want.  


* ''' Where/how to report defects '''
'''How to contribute and report defects'''


See [https://sailfishos.org/wiki/Collaborative_Development#Reporting_issues the Sailfish wiki] for links to their forum as well as info required when reporting an issue.
On [https://github.com/NixOS/mobile-nixos/issues the project's repository]. Please specify that you are using a PinePhone when reporting issues. Details about contributions and donations are on the [https://nixos.org/nixos/community.html NixOS website].


* ''' Contributions '''
== OpenMandriva Lx ==
[https://sailfishos.org/wiki/SailfishOS See the SailfishOS wiki for options to contribute.]
{{Hint| Note: This image is solely for testing purposes.}}


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
OpenMandriva Lx with Plasma Mobile as UI.


'''Download location'''


== PureOS ==
The official image can be found [https://sourceforge.net/projects/openmandriva/files/release/4.2/RC/Pinephone/ here]. See [https://www.openmandriva.org/en/news/article/openmandriva-lx-4-2-rc-available-for-testing here] for the announcement.
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 '''
== openSUSE ==
This is an unofficial/unsupported creation by ''mozzwald'' that can be downloaded [http://pureos.ironrobin.net/droppy/#/Images here.]
<div style=float:right>[[Image:SLEM-OS-logo.png|100px|link=https://www.opensuse.org/]]</div>


* ''' user-id/password '''
Our images use the same [https://en.opensuse.org/Portal:Tumbleweed openSUSE Tumbleweed] base as our desktop images, except what needs to be changed for the PinePhone. The images include <i>zypper</i> (RPM) as the default package manager and have access to virtually the same (open source) software as our desktop repositories, thanks to the [https://en.opensuse.org/Portal:Factory Factory] ports. Using [https://en.opensuse.org/SDB:DNF dnf] is possible, if preferred.
purism/123456


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
'''Download links'''


== Fedora ==
* [https://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/PinePhone/images/openSUSE-Tumbleweed-ARM-PHOSH-pinephone.aarch64.raw.xz Phosh] / [https://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/PinePhone/images/openSUSE-Tumbleweed-ARM-PHOSH-pinephone.aarch64.raw.xz.sha256 SHA-256] / [https://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/PinePhone/images/openSUSE-Tumbleweed-ARM-PHOSH-pinephone.aarch64.raw.xz.sha256.asc SHA-256 Signature]
http://files.pine64.org/sw/pine64_installer/json/fedora.png
* [https://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/PinePhone/images/openSUSE-Tumbleweed-ARM-PLAMO-pinephone.aarch64.raw.xz Plasma Mobile] / [https://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/PinePhone/images/openSUSE-Tumbleweed-ARM-PLAMO-pinephone.aarch64.raw.xz.sha256 SHA-256] / [https://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/PinePhone/images/openSUSE-Tumbleweed-ARM-PLAMO-pinephone.aarch64.raw.xz.sha256.asc SHA-256 Signature]


An (unofficial) vanilla Fedora rawhide build for aarch64 with megi's kernel and [https://copr.fedorainfracloud.org/coprs/njha/mobile/packages/ 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.
To verify the images you need to import [https://build.opensuse.org/projects/devel:ARM:Factory:Contrib:PinePhone/public_key our GPG key]. Keep on mind that the first boot may stay on black screen for about a minute - consequent boots should be faster.


See [https://forum.pine64.org/showthread.php?tid=9347 this thread in the forum.]
You can find install instructions at [https://en.opensuse.org/HCL:PinePhone#Installing_openSUSE_in_a_Pinephone this section] in the openSUSE Wiki.


* ''' Download location '''
'''Username/Password'''
[https://github.com/nikhiljha/pp-fedora-sdsetup/releases/ flashable images] or [https://github.com/nikhiljha/pp-fedora-sdsetup/tree/image build scripts]


The images are compressed with zstd because the maintainer needs an excuse to use zstd.
The login credentials are pine/1234 and root/linux. Change (or disable) the root password once you are set up.


* ''' user-id/password '''
'''What works and what does not work'''
pine/1111


* ''' What works, what does not work '''
You can find all information about the releases of the project [https://gitlab.com/slem.os/slem.os/-/blob/master/CHANGELOG.md here].
* WiFi, Bluetooth, SMS, Data, Calls all work!
Detailed information, tips and troubleshooting suggestions are also provided at [https://en.opensuse.org/HCL:PinePhone the openSUSE Wiki].
* There are still a few bugs though, and [some features don't have driver support yet https://xnux.eu/devices/pine64-pinephone.html#toc-feature-driver-support-matrix] on any PinePhone distribution.  
You will also find information in our wiki on how to report issues (Contributing section).


* ''' Where/how to report defects '''
== postmarketOS ==
Please send your bug reports at [https://github.com/nikhiljha/pp-fedora-sdsetup/issues the project's issue tracker.] Be sure to include logs if applicable!
<div style=float:right>[[File:PostmarketOS-logo.png|100px]]</div>


* ''' Contributions '''
postmarketOS extends [https://www.alpinelinux.org/ Alpine Linux] to run on smartphones and other mobile devices.
Please help! Send us merge requests on [https://github.com/nikhiljha/pp-fedora-sdsetup/ Github.]
It offers various user interfaces (Phosh, Plasma Mobile, Sxmo, Plasma Desktop, Gnome 3, Kodi, XFCE4, ...).


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
As of writing, official images are provided with Phosh, Plasma Mobile and Sxmo. The official images come in two flavors, either as demo image to try out postmarketOS, or with the installer.


== Arch Linux ARM ==
When using the installer images (recommended), it is possible to:
http://files.pine64.org/sw/pine64_installer/json/archlinux.png
* encrypt your installation
* install from the SD card to eMMC


An (unofficial) barebone Arch Linux ARM image, all you have is just a shell and SSH.
Power users may also create their own image with the distribution's install and development tool <code>pmbootstrap</code>.


* ''' Download location '''
Please read the detailed [https://wiki.postmarketos.org/wiki/PINE64_PinePhone_(pine64-pinephone)#Installation installation instructions] in the wiki.
https://github.com/dreemurrs-embedded/Pine64-Arch/releases


* ''' user-id/password '''
'''Download location'''
alarm/alarm


* ''' What works, what does not work '''
* [https://postmarketos.org/download/ Download page]
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.
* [https://wiki.postmarketos.org/wiki/PINE64_PinePhone_(pine64-pinephone)#Installation Flashing instructions]


To access the device, ssh to 172.16.42.1 with the credentials above.
'''Username/password'''


* ''' Contributions '''
user/147147
Feel free to send us merge requests on [https://github.com/dreemurrs-embedded/Pine64-Arch/pulls GitHub.]


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
This is for demo images only - when using the installer images or building an image with pmbootstrap, you set your own username and password. The Phosh and Plasma Mobile lock screens require your password, but they only present a numeric keyboard, so you should use '''only''' numbers in your password.


== Manjaro ARM ==
'''What works, what does not work'''
http://files.pine64.org/sw/pine64_installer/json/manjaro.png
Manjaro is a user-friendly Linux distribution based on the independently developed Arch operating system with the Plasma Mobile desktop environment.


* ''' Download location '''
See the [https://gitlab.com/postmarketOS/pmaports/-/issues?label_name%5B%5D=device-pine64-pinephone issue tracker].
[https://forum.manjaro.org/t/manjaro-arm-alpha4-for-pinephone-and-pinetab/127684 See Manjaro forum announcement of Alpha4 version]


* ''' user-id/password '''
'''How to contribute and report defects'''
** manjaro/1234
** root/root


* ''' What works, what does not work '''
[https://gitlab.com/postmarketOS/pmaports/-/issues?label_name%5B%5D=device-pine64-pinephone postmarketOS issue tracker] for PinePhone support. See [https://wiki.postmarketos.org/wiki/Contributing postmarketOS wiki] for options to contribute.
[https://forum.manjaro.org/t/manjaro-arm-alpha4-for-pinephone-and-pinetab/127684 See Manjaro announcement.]


In particular phone calls do NOT yet work from the Phone application.
== PureOS ==
<div style=float:right>[[File:Pureos.png|100px]]</div>


* ''' Where/how to report defects '''
{{Warning|This project is no longer under development and has been abandoned.}}


* ''' Contributions '''
{{Hint|There is no prebuilt image, you'll need a Linux environment and build the image yourself.}}
[https://forum.manjaro.org/t/manjaro-arm-alpha4-for-pinephone-and-pinetab/127684 See the end of the announcement here.]


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
[https://www.pureos.net/ PureOS] is a user friendly, secure and freedom respecting GNU/Linux distribution based on Debian Buster and GNOME developed by the Purism community.


== Maemo Leste ==
* [https://tracker.pureos.net/w/ PureOS Wiki], no PinePhone page there
http://files.pine64.org/sw/pine64_installer/json/maemo_leste.png
* Mobile-optimized apps list from the [https://tracker.pureos.net/w/pureos/mobile_optimized_apps/ Software Center in PureOS] and [https://tracker.pureos.net/w/pureos/3rd-party_mobile_optimized_apps/ 3rd party repos]
* [https://github.com/rufferson/pureos-pinephone current PinePhone PureOS repo], A script to convert Librem5 PureOS to PinePhone Pure-OS


[https://en.wikipedia.org/wiki/Maemo Maemo] is a trimmed-down version of Debian for mobile devices, originally a collaboration between Nokia and many open source projects (the [http://maemo.org/intro/ Maemo community]) before Nokia abandoned it. The community now takes full responsibility in developing fully open source Maemo for a variety of mobile devices.
'''Download location'''


The new version Maemo 7 "Leste" is an ARM64 port of [https://devuan.org/ Devuan] (Debian without systemd) and runs the mainline Linux kernel. The default user interface stack is [https://en.wikipedia.org/wiki/Hildon Hildon], [https://en.wikipedia.org/wiki/X.Org_Server Xorg], [https://en.wikipedia.org/wiki/Matchbox_(window_manager) Matchbox WM], and [https://en.wikipedia.org/wiki/GTK 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 [https://maemo-leste.github.io/maemo-leste-repositories-and-community-packages.html announced] a [https://github.com/maemo-leste-extras/bugtracker community repository]. To keep updated they use automation in their package maintenance with [https://github.com/maemo-leste/jenkins-integration jenkins] (similar to [https://www.debian.org/devel/buildd/ 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.
Use [https://raw.githubusercontent.com/rufferson/pureos-pinephone/master/build_image.sh the convert script] to download and build the image from u-boot, PinePhone linux kernel and Librem5 PureOS.


More detailed information can be found on [https://leste.maemo.org/Main_Page the Maemo Leste wiki], or follow [https://maemo-leste.github.io/ announcements on their website], and check out [https://leste.maemo.org/Leste_FAQ Frequently Asked Questions].  
Also see:
* [https://forums.puri.sm/t/successful-installation-of-pureos-on-pinephone/8741/12 Successful installation of PureOS on PinePhone - PureOS - Purism community]
* The PureOS section of [https://www.ruff.mobi/go/mobi/pine.html PinePhone page] on ruff.mobi
* An [https://gitlab.com/a-wai/debos-pinephone archived repo] for PureOS on PinePhone
* A [https://mozzwald.com/pp/ file list] with [https://mozzwald.com/pp/pureos-pinephone-build-instructions.txt pureos pinephone build instructions] on mozzwald.com


* ''' Download location '''
== Sailfish OS ==
[http://maedevu.maemo.org/images/pinephone/ Maemo Leste test builds.] There is also an [https://github.com/maemo-leste/image-builder image builder], see their wiki for instructions on how to [https://leste.maemo.org/Image_Builder build a custom image].
<div style=float:right>[[File:Sailfish_logo.png|150px]]</div>


* ''' user-id/password '''
[https://sailfishos.org/ Sailfish OS] is a Linux-based operating system based on open source projects such as [https://wiki.merproject.org/wiki/Main_Page Mer], and a closed source UI based on [https://sailfishos.org/wiki/Lipstick Lipstick].
root/toor


You may use "sudo" directly.
* [https://wiki.merproject.org/wiki/Adaptations/PinePhone64 PinePhone Wiki Page] on Mer Wiki, for both Nemo Mobile and Sailfish OS.
* [https://gitlab.com/pinephone-sailfish-os/linux-kernel/ Linux kernel config repo]
* [https://gitlab.com/sailfishos-porters-ci/dont_be_evil-ci/ Sailfish OS repo]


* ''' What works, what does not work '''
'''Download location'''
For current status and work arounds please read their [https://leste.maemo.org/PinePhone 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 '''
'''Flashing script'''
Most discussion occurs at #maemo-leste on freenode IRC. The Maemo website also has an [https://talk.maemo.org/showthread.php?p=1565822 ongoing forum thread] for feedback about Maemo Leste on the PinePhone BraveHeart edition.


All other contact information is listed on the [https://leste.maemo.org/Main_Page main page] of the Maemo wiki. You should [https://github.com/maemo-leste/bugtracker/issues submit bug reports] on github. To track known issues, you may use these search terms: [https://github.com/maemo-leste/bugtracker/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+pinephone pinephone], [https://github.com/maemo-leste/bugtracker/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+pine64 pine64]
The Sailfish OS image is built on Gitlab CI. The latest image can be installed using the [https://raw.githubusercontent.com/sailfish-on-dontbeevil/flash-it/master/flash-it.sh flashing script].


* ''' Development '''
The script downloads the image and bootloader from the CI, extracts everything and burns it onto the SD card. Note: The script will format and erase the SD card!
Learn about [https://leste.maemo.org/Development development], [https://leste.maemo.org/Development/Porting_Packages porting packages], [https://leste.maemo.org/Development/Building_Packages building packages], [https://leste.maemo.org/Development/Tasks todo list], and general info on [https://wiki.debian.org/HowToPackageForDebian how to package for Debian]. Some tasks have funding available.


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
Instructions:
# Download the flashing script
# Insert a microSD card in your device
# Make the script executable: <code>chmod +x flash-it.sh</code>
# Verify that you have the <code>bsdtar</code> package installed
# Execute it: <code>./flash-it.sh</code>
# Follow the instructions. Some commands in the script require root permissions (for example: mounting and flashing the SD card).


== Nemo Mobile ==
* When asked where to flash, type 'raw' and it will build the image on your computer. Otherwise define the path /dev/....  to flash to card or internal emmc.  
http://files.pine64.org/sw/pine64_installer/json/nemo_mobile.png
Nemo Mobile is the open source build of Sailfish OS.


See [https://forum.pine64.org/showthread.php?tid=9043 this forum thread] for how to get going.


* ''' Download location '''
'''username/password'''
[https://github.com/neochapay/nemo-device-dont_be_evil/ Download location is here on GitHub.]


* ''' user-id/password '''
Set PIN on initialization.


* ''' What works, what does not work '''
* Sometimes the first run stalls before the tutorial. Reboot and it will start from setting the security pin.
[https://github.com/neochapay/nemo-device-dont_be_evil/ Scroll down the page here.]
* The homescreen may be locked unless you boot with a sim card inserted. An old expired sim will do. '''If you do not have a SIM card on hands, do NOT set a security code on first boot.'''
* When a screen with a loading circle is displayed, just left/right swipe it away.
* If you're not familiar with Sailfish OS, pay attention to the tutorial - the interface works great, but is not immediately obvious. If you are familiar with it, you can skip the tutorial by touching all 4 corners starting top left.


* ''' Where/how to report defects '''
'''What works, what does not work'''
For more info please visit [https://github.com/neochapay/nemo-device-dont_be_evil neochapay's github page]


* ''' Contributions '''
See the [https://wiki.merproject.org/wiki/Adaptations/PinePhone64#Hardware_Support Hardware Support section] on the Mer Wiki's PinePhone Page.


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
There is a limited selection of apps available from the Jolla store, the vast majority are hosted on openrepos.net. If the Storeman app for openrepos is not preinstalled, download the RPM and click to install.


== KDE Neon ==
'''How to contribute and report defects'''
http://files.pine64.org/sw/pine64_installer/json/plasma_mobile.png
Based on KDE Neon for the desktop, comes with Plasma Mobile.


* ''' Download location '''
See the [https://wiki.merproject.org/wiki/Adaptations/PinePhone64#Installation Installation section] on the Mer Wiki's PinePhone Page for compile, build and development.
[https://images.plasma-mobile.org/pinephone/ Plasma mobile images can be found here.]


* ''' user-id/password '''
Git repo links are at the top of this OS section. other repos that may be helpful:
phablet/1234


* ''' What works, what does not work '''
* [https://github.com/sailfish-on-dontbeevil GitHub project page]
* [https://github.com/sailfish-on-dontbeevil/flash-it the repo of the flash-it.sh flashing script]
* [https://build.merproject.org/project/show/nemo:devel:hw:pine:dontbeevil Mer Open Build Service page] ([https://forum.sailfishos.org/t/changes-needed-to-merge-the-project-names-to-sailfish-os/1672 Mer is being assimilated into Sailfish OS] and [https://forum.sailfishos.org/t/obs-shut-down-and-next-steps/1814 OBS is shutting down], also see [https://specs.openstack.org/openstack/fuel-specs/specs/7.0/replace-obs.html OpenStack is replacing OBS with another build system based on Jenkins], if it's related, even OBS come back under Sailfish OS, it will be different.)


* ''' Where/how to report defects '''
See the [https://sailfishos.org/wiki/Collaborative_Development#Reporting_issues Sailfish OS wiki] for links to their forum, as well as info required when reporting an issue. See the [https://sailfishos.org/wiki/SailfishOS Sailfish OS wiki main page] for options to contribute to Sailfish OS.


* ''' Contributions '''
'''Notes'''


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
OTA is supported: <code>zypper refresh && zypper update</code> as root (<code>devel-su</code> to get root access). Things that need reflash are bootloader specific at the moment. If improvements like [[Crust]] or changes of partition layout are added, then you need to reflash.


== NixOS ==
== SkiffOS ==
http://files.pine64.org/sw/pine64_installer/json/nixos.png
<div style=float:right>[[File:SkiffOS-Icon-1.png|100px]]</div>


''NixOS support is handled through the Mobile NixOS project.''
Minimal in-memory cross-compiled OS optimized for hosting multiple in parallel Docker containers.


* [https://mobile.nixos.org/ Project home page]
Provides the reliability of firmware with the ease-of-use of package managers.
* [https://github.com/NixOS/mobile-nixos Source code repository]


There is no pre-built complete image. For now users are expected to follow the instructions in the [https://mobile.nixos.org/getting-started.html Getting Started page], and on [https://mobile.nixos.org/devices/pine64-pinephone-braveheart.html the device's page].
Upgrade over-the-air via a simple rsync script, or copying 3 files.


* ''' What works, what does not work '''
Uses the [http://buildroot.org Buildroot] cross-compilation tool for support for all Pine64 boards.


This information may change, but currently it boots, it's as compatible as the Android-based devices are with Mobile NixOS. It even supports a bit more since it can use Wi-Fi.
Use configuration packages to configure distro:
* core/pinephone_neon: KDE Neon via Ubuntu repositories
* core/pinephone_nixos: Nixos Mobile
* core/pinephone_gentoo: Gentoo with Link-time Optimization & KDE Mobile or Phosh
* core/pinephone_ubports: Ubuntu Ports for PinePhone
* core/pinephone_manjaro_kde: Manjaro for PinePhone: KDE variant
* core/pinephone_manjaro_phosh: Manjaro for PinePhone: Phosh variant
* core/pinephone_manjaro_lomiri: Manjaro for PinePhone: Lomiri variant


<cite>
Support for all of the hardware will be coming, this project is a breadth-first work, where the work spans multiple devices in parallel.
</cite>


* ''' Where/how to report defects '''
The boot-up OS is upgraded independently from the containers.
On [https://github.com/NixOS/mobile-nixos/issues the project's repository]. Please specify that you are using a Pinephone when reporting issues.


* ''' Contributions '''
'''Download location'''
[https://nixos.org/nixos/community.html Details about contributions and donations are on the NixOS website.]


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
The repository and instructions can be found [https://github.com/skiffos/SkiffOS/tree/master/configs/pine64/phone here].


== LuneOS ==
== Sxmo ==
http://files.pine64.org/sw/pine64_installer/json/luneos.jpg
Based on WebOS by LG, comes with Luna Next desktop environment.


* ''' Download location '''
A collection of Suckless programs to create a mobile UI. Based on postmarketOS
[http://build.webos-ports.org/luneos-testing/images/pinephone/ 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 '''
'''Download location'''


* ''' What works, what does not work '''
Sxmo images can be found [https://images.postmarketos.org/bpo/ here] (in the <i>/pine64-pinephone/sxmo/</i> sections respectively).


* ''' Where/how to report defects '''
'''username/password'''


* ''' Contributions '''
user/147147


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
'''How to contribute and report defects'''


== Aurora ==
All the contributing information is [https://git.sr.ht/~mil/sxmo-docs/tree/master/CONTRIBUTING.md here].
Available soon? https://mobile.twitter.com/neochapay/status/1189552654898188288?p=p


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
== Ubuntu Touch ==
<div style=float:right>[[File:Ubports-logo.png|100px]]</div>


== Android 10 ==
A Mobile Version of the Ubuntu Operating System made and maintained by the UBports Community.
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 [https://github.com/Icenowy Moe Icenowy]. This image is absolutely bare-bones (no applications yet) and comments on IRC indicated it was a theoretical test only, rather than a step towards a release.
Ubuntu touch is a mobile version of Ubuntu developed by the UBports community. Installation instructions can be found on [https://gitlab.com/ubports/community-ports/pinephone#how-do-i-install-ubuntu-touch-on-my-pinephone the UBports PinePhone project]. There is also a [https://github.com/goddard/pinephone/ script] to download the latest image and flash to your PinePhone. In the future, Ubuntu Touch will be able to be installed onto the PinePhone with the [https://devices.ubuntu-touch.io/installer UBports installer] GUI tool.


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
'''Download location'''


= Mobile Carrier APN Settings =
[https://gitlab.com/ubports/community-ports/pinephone#how-do-i-install-ubuntu-touch-on-my-pinephone UBports PinePhone project]


See thread: https://forum.pine64.org/showthread.php?tid=9150
'''username/password'''


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.
Set up during boot


''' Distributions with Phosh (Debian + Phosh, pmOS + Phosh, Fedora) '''
'''What works, what does not work'''


APN settings are either located in <code>Settings > Mobile > Access Point Names</code> (pureOS, Debian + Phosh) or <code>Settings > Network > Network Dropdown > Add new connection</code> (pmOS, Fedora).
Scroll down to the bottom of [https://gitlab.com/ubports/community-ports/pinephone this page].


== ATT-based ==
'''How to contribute and report defects'''


* ATT
See [https://gitlab.com/ubports/community-ports/pinephone UBports gitlab page]. See [https://ubports.com/foundation/sponsors UBports website] for how to donate.
* Metro
*


== Red Pocket (USA) ==
= Tools =


You can choose AT&T, Verizon, T-Mobile or Sprint network. Known to work with the GSMA (ATT) SIM, calls and SMS work.
There are software tools, that can be booted on the PinePhone.


APN settings:
== JumpDrive ==


name: Red Pocket
JumpDrive can be used to flash the eMMC (and the microSD card), see [[PinePhone Installation Instructions#Using JumpDrive]].
APN: RESELLER


== Mint Mobile (USA) ==
See https://github.com/dreemurrs-embedded/Jumpdrive/releases for the latest image. Make sure to download the "PinePhone" image and to unpack the archive before flashing.


Source: https://www.mintmobile.com/setup-for-android/
= Factory Test OS =


Use the following APN settings:
{{Hint|'''Note:''' The magnetometer test will fail on the new Beta Edition, as the factory image wasn't updated for it yet.}}


Name: Ultra
On the Braveheart model there was a postmarketOS based basic Factory Test OS pre-installed on the eMMC. The developer Martijn Braam from postmarketOS has improved the functionality of the image considerably later. Since the 20200501 version, it is able to test all the hardware. It also includes functionality to install a new OS to the eMMC when using with an test image that includes that OS image. The downloadable image just does the hardware tests. Do not flash eMMC to test your device, just dd it to microSD and test from there. New versions are distributed as part of the postmarketOS distribution.
APN: Wholesale


Call their customer service to activate using the number on their website, or activate on their website: https://my.mintmobile.com/activation. You may also need to reboot your phone.
Links:
[https://images.postmarketos.org/pinephone/ Software Images] (download the latest one that is marked pine-pinephone-YYYYMMDD-factorytestX.img.xz)
[https://gitlab.com/MartijnBraam/factorytest Git repo]
[https://gitlab.com/MartijnBraam/factorytest/-/blob/master/README.rst Documentation]


== Tracfone (USA?) ==  
== Factory-loaded OS builds ==


'''BYOP SIM Card Kit''': works with T-Mobile and AT&T compatible SIM cards provided in BYOP kit
These are different operating system builds that was preloaded in the factory with testing utility.


Calls, SMS, and 3G/4G data known to work with AT&T SIM. (most likely works for T-Mobile as well)
Download the build, extract the image and dd it to the microSD and then insert it into the phone. Power up the PinePhone, perform and complete the test routine, then apply the build from microSD card to eMMC.


Use the following APN settings:
dd the image on a 8 GB microSD card or larger.


Name: Tracfone
{| class="wikitable"
APN: RESELLER
! OS
! Download
! File Size
! MD5
|-
| Beta Edition
| [https://files.pine64.org/os/PinePhone/BetaEdition/pine64-pinephone-plamo-beta-factorytest.img.xz Direct download from pine64.org]
| 1.78GB
| f16bce93504a52217540ac886863a418
|-
| Mobian
| [https://files.pine64.org/os/PinePhone/Mobian/pine64-pinephone-20201207-factorytest-mobian.img.xz Direct download from pine64.org]
| 1.41GB
| 015be381ff4e650a7fca6d4eaa90d63d
|-
| KDE
| [https://files.pine64.org/os/PinePhone/KDE/pine64-pinephone-20201208-factorytest-kde.img.xz Direct download from pine64.org]
| 2.28GB
| 32979ff17b5ec4d358ce99f1aff0c77c
|-
| Manjaro
| [https://files.pine64.org/os/PinePhone/Manjaro/pine64-pinephone-20201013-manjaro-stable-20201018-factory56.img.xz Direct download from pine64.org]
| 1.04GB
| 4edfd4dceaefdd32a3417c1727161c29
|-
| postmarketOS
| [https://files.pine64.org/os/PinePhone/PostMarketOS/pine64-pinephone-20200726-phosh-v20.05-factory.img.xz Direct download from pine64.org]
| 517MB
| 244093be2f6d728fcbd1d29114607727
|-
| Ubuntu Touch
| [https://files.pine64.org/os/PinePhone/UBPorts/PinePhone-flasher-ubuntu-7b.img.gz Direct download from pine64.org]
| 1.05GB
| 2d7f5271e7a281db8f1b1219bedbe131
|}


== Mobile Vikings (Belgium) ==
= Installing other ARM64 distributions =


Source: https://support.vikingco.com/hc/en-us/articles/202836041-I-don-t-have-any-mobile-internet-What-do-I-do-
{{Warning|Distributions not on this page may not even boot after you follow this section. In the best case, they will be barely usable. This is more for fun, or if you would like to port a new distribution to the PinePhone.}}


Name: Mobile Vikings
{{Hint|'''Note:''' This section uses megi's kernel releases, and not the official ones from Pine64. While it is possible to use the official (and in the future, mainline) kernel, megi provides binary releases, which makes it very easy.}}
APN: web.be
Username: web
Password: web


== Carriers That Do Not Work ==
If you would like to see specific commands for how to complete these steps, see:
* https://github.com/nikhiljha/pp-fedora-sdsetup (an example for Fedora) or
* https://xnux.eu/howtos/install-arch-linux-arm.html (an example for Arch Linux).


* 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.
General step:
* VoLTE services like Sprint or Verizon


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
# Create a boot (from 4 MB to about 252 MB) and root (from the end of boot to the end of the card) filesystem on the SD card.
# Format the boot partition with vfat, and the root partition with a supported filesystem like ext4 or f2fs.
# Extract the root filesystem from your distribution's ARM image into the root filesystem on the SD card. Do not copy the partition, copy the files (in archive mode: like <code>rsync -ar</code>).
# Edit <code>/etc/fstab</code> to match your partitions.
# Grab megi's kernel from https://xff.cz/kernels/
# Follow the README instructions, which involves copying the kernel modules into the SD card rootfs, and writing u-boot and the bootloader.


= Other Resources =
= Other Resources =
Community
Community
* [https://forum.pine64.org/forumdisplay.php?fid=120 PinePhone Forum]
* [[Main_Page#Community_and_Support|Links to the community services]]
* [http://www.pine64.xyz:9090/?channels=PINEPHONE PinePhone IRC Channel]


Hardware information
Hardware information
* [[PinePhone]] hardware details in this Pine64 wiki.
* [[PinePhone|General PinePhone hardware info]] in this Pine64 wiki
* [[PinePhone_v1.1_-_Braveheart]] hardware details specific to the Braveheart handsets.
* Details specific to the Braveheart Edition: [[PinePhone_v1.1_-_Braveheart|PinePhone 1.1 Braveheart hardware details]]
* The postmarketOS wiki has a detailed page on the PinePhone hardware [https://wiki.postmarketos.org/wiki/PINE64_PinePhone_(pine64-pinephone) here,] and the preceeding devkit [https://wiki.postmarketos.org/wiki/PINE64_Don%27t_be_evil_devkit_(pine64-dontbeevil) here.]
* Details specific to the Community Edition: [[PinePhone_v1.2|PinePhone 1.2 hardware details]]
* The postmarketOS wiki has a detailed page on the PinePhone hardware [https://wiki.postmarketos.org/wiki/PINE64_PinePhone_(pine64-pinephone) here] and the preceding devkit [https://wiki.postmarketos.org/wiki/PINE64_Don%27t_be_evil_devkit_(pine64-dontbeevil) here]


Other software information
Other software information
* [https://linux-sunxi.org/Main_Page sunxi community wiki]
* [https://linux-sunxi.org/Main_Page sunxi community wiki]
* [https://xnux.eu/devices/pine64-pinephone.html megi feature/driver support matrix]
* [https://xnux.eu/devices/pine64-pinephone.html megi's feature/driver support matrix]
* [https://megous.com/dl/tmp/README.bootui megi bootUI notes (for dualbooting/multibooting)]
* [https://megous.com/dl/tmp/README.bootui megi bootUI notes (for dualbooting/multibooting)] see demonstration [https://www.youtube.com/watch?v=ZL1GREqoqx8 on YouTube]
* [https://github.com/ayufan-pine64/boot-tools ayufan boot tools]
* [https://github.com/ayufan-pine64/boot-tools ayufan boot tools]


Other
Other
* [https://store.pine64.org/?post_type=product Pine64 shop]
* [https://pine64.com/?post_type=product Pine64 shop]
* [https://www.pine64.org/2020/01/24/setting-the-record-straight-pinephone-misconceptions/ Pine64 blog on blobs]
* [https://www.pine64.org/2020/01/24/setting-the-record-straight-pinephone-misconceptions/ Pine64 blog on blobs]
* [https://tuxphones.com/yet-another-librem-5-and-pinephone-linux-smartphone-comparison/ Martijn Braam Librem 5 comparison, especially covering openness/blobs]
* [https://tuxphones.com/yet-another-librem-5-and-pinephone-linux-smartphone-comparison/ Martijn Braam Librem 5 comparison, especially covering openness/blobs]
* [https://fam-ribbers.com/2019/12/28/State-of-Linux-on-mobile-and-common-misconceptions.html Bart Ribbers blog on linux distributions and desktop environments on mobile devices.]
* [https://fam-ribbers.com/2019/12/28/State-of-Linux-on-mobile-and-common-misconceptions.html Bart Ribbers blog on Linux distributions and desktop environments on mobile devices]
* [https://www.jeffgeerling.com/blog/2019/a2-class-microsd-cards-offer-no-better-performance-raspberry-pi Jeff Geerling on testing micro SD cards.]
* [https://www.jeffgeerling.com/blog/2019/a2-class-microsd-cards-offer-no-better-performance-raspberry-pi Jeff Geerling on testing microSD cards]
 


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
[[Category:PinePhone]]

Revision as of 11:08, 19 July 2021

This page contains a list of all available releases for the PinePhone as well as links to other resources.

See PinePhone Installation Instructions on how to install the operating systems. However, if your phone came preloaded with software, Please see PinePhone Updating Instructions

Note: Some releases may 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.

Software Releases

This is a list of OSes that specifically support the PinePhone, but as support is included in Mainline Linux, in principle any ARM Linux OS can be used, if possible required patches are included.

Arch Linux ARM

Archlinux-logo.png

(Unofficial) Arch Linux ARM with choice of Phosh UI or barebones, currently being maintained by the DanctNIX community (GitHub 1 2).

Download location

Get the latest image here: https://github.com/dreemurrs-embedded/Pine64-Arch/releases

username/password

alarm/123456

What works, what does not work

Most of the things now works, there are some minor issues with Crust.

How to contribute and report defects

Feel free to send us pull requests and report issues on GitHub.

ExpidusOS

A fork of Void Linux with a custom fork of XFCE as the default desktop environment, developed by Midstall Software.

Download location

Check the download page for that latest version, or the image file list for all versions, look for the file name that starts with "pinephone".

username/password

expidus/expidus

What works, what does not work

The ExpidusOS Wiki has a page detailing supported features.

How to contribute and report defects

GitHub: https://github.com/ExpidusOS

Fedora

Fedora-logo.png

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.

See this thread in the forum.

Download location

flashable images or build scripts

There is also an FTP server with full a full Fedora 34 workstation build with phosh: ftp://pine.warpspeed.dk/nightly/pinephone/ (Mount this with something like Nautilus)

username/password

pine/123456

What works, what does not work

WiFi, Bluetooth, SMS, Data, Calls all work!

There are still a few bugs though, and some features don't have driver support yet on any PinePhone distribution.

How to contribute and report defects

Please send your bug reports to the project's issue tracker. Be sure to include logs if applicable! Send us merge requests on Github.

Gentoo

GentooLogo.png

There are unofficial Gentoo overlays with ebuilds for the PinePhone. There are no images - you'll be building it yourself, picking which kernel, bootloader and desktop environment you want to use. You will be using the arm64 version of Gentoo.

Documentation

https://stealthgun.tweakblogs.net/blog/19336/gentoo-on-a-pinephone

https://wiki.gentoo.org/wiki/User:Dr41nU/PinePhone

https://wiki.gentoo.org/wiki/PinePhone (incomplete)

Overlay locations

https://gitlab.com/bingch/gentoo-overlay/

https://github.com/stealthgun/gjdwebserver-overlay/

GloDroid

Warning: Available images are outdated and do not reflect the state of the current developments.

A fully open source port of Android to the PinePhone

Download location

https://github.com/GloDroid/glodroid_manifest/releases

What works, what does not work

Works: WiFi, screen dimming, touchscreen and charging work. Don't work: Bluetooth, Telephony, GPS

LuneOS

LuneOS is a open source mobile operating system based on webOS Open Source Edition(GitHub, previously known as Open webOS) by LG, comes with Luna Next UI, currently developed by WebOS Ports community.

Download location

LuneOS test image for PinePhone

It is recommended to use bmaptool, which is faster than dd, and can decompress archived image files on-the-fly.

Syntax is:

bmaptool copy [from] [to]

For example:

bmaptool copy http://build.webos-ports.org/luneos-testing/images/pinephone/luneos-dev-image-pinephone-testing-0-140.rootfs.wic.gz /dev/mmcblk0

.wic file can be treated as .img file when flashing. You may rename .wic file to .img when using GUI tools that require .img files.

Maemo Leste

Maemoleste-logo.png

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.

username/password

root/toor

You may use "sudo" directly.

What works, what does not work

For current status and workarounds please read their PinePhone wiki page, and update as necessary (make sure to notify them of new issues by leaving a report on the project's Github page, see below).

How to contribute and report defects

Most discussion occurs at #maemo-leste on irc.libera.chat. The Maemo website also has an ongoing forum thread for feedback.

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. Learn about development, porting packages, building packages, todo list, and general info on how to package for Debian. Some tasks have funding available.

Manjaro ARM

Error creating thumbnail: File missing

Manjaro is a user-friendly Linux distribution based on the independently developed Arch operating system with the Plasma Mobile desktop environment.

Download location

username/password

manjaro/123456

root/root

What works, what does not work

Note: The Phosh image the boot will load at a TTY login prompt for multiple minutes at the first boot.

See Manjaro's release announcements on their forum.

Recent ones: Phosh, Plasma and Lomiri.

How to contribute and report defects

See the end of the announcement.

Mobian

Debian-logo.png

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). Current version is Debian Bullseye.

Download location

Nightly / Installer / Stable

Don't forget to extract the image before installing:

$ gzip -d Downloads/mobian-pinephone-*.img.gz

See the project page for specific installation instructions.

username/password

mobian/1234

What works, what does not work

See the project's README file or the wikifor most up to date status.

Check bug tracker for known issues. Questions? Ask on our thread.

How to contribute and report defects

It is recommended that you log your bug reports in the project's issue tracker. As a general rule, issues with third-party apps (even the default ones) should be reported upstream. A Mobian issue would be related to getting the hardware to work on the PinePhone, but if unsure where the issue should be reported just open a ticket or ask. Feel free to pick an open issue to work on, or send a merge request on Gitlab.

Notes

See Mobian for PinePhone or the wiki for additional information regarding screen resolution, USB networking, WiFi hotspot, Chatty and the repository.

Multi-boot demo image

Warning: This is an demo image for testing different OSes before installing a regular image. It is highly discouraged attempting to use the image productively. The kernel is shared across the different OSes and is not being updated.

The purpose of this image is for users to easily try many of the above Linux distributions, without having to figure out how to flash them individually and juggle with many microSD cards.

megi 15-in-1 multi boot Image [SD Boot] [20210602]

  • DD image to microSD card and boot.
  • This is also a good build for charging depleted battery. Just boot up this build with power supply connected, keep the PinePhone charging for 3 hours at power down stage.
  • For more info on this build, please visit PinePhone multi-distro demo image site
  • DD image for 16GB and above microSD card

Nemo Mobile

Nemo mobile.png

Nemo Mobile is the open source build of Sailfish OS with a open source UI called Glacier (Mer Wiki), now based on Manjaro. See their website Nemo Mobile UX team and Mer Wiki page.

You can either install Nemo on any device that already runs Sailfish, or flash a prebuilt image to SD card/emmc on the PinePhone to install.

Download location

Note: See their website for the newest release and installation guides.

Prebuilt images:

First devel image for Manjaro (April 1, 2021):

Nemo with Glacier UX v0.8 (April 27, 2020):

Install Nemo on Sailfish:

Install Sailfish on your PP first (follow instructions on the Sailfish section on this page).

Enable developer mode. In the terminal, run as root (`devel-su`):

ssu ar nemo-devel-ux http://repo.merproject.org/obs/home:/neochapay:/nemo-ux/sailfish_latest_armv7hl/

then:

pkcon refresh

then install the nemo-specific Glacier packages:

pkcon install lipstick-glacier-home-qt5

If necessary, reboot.

What works, what does not work

For the newer devel image based on Manjaro, Wi-Fi and Bluetooth works.

For the older Nemo with Glacier UX v0.8, voicecalls, sound and cameras do not work by default, see its blog post and GitHub repo readme.

How to contribute and report defects

For the Nemo Mobile UX itself:

For hardware:

NixOS

NixOS support is handled through the Mobile NixOS project.

There is no pre-built complete image. For now users are expected to follow the instructions in the Getting Started page, and on the device's page.

What works, what does not work

This information may change, but currently it boots, it's as compatible as the Android-based devices are with Mobile NixOS. It even supports a bit more since it can use WiFi.

Support for all of the hardware will be coming, this project is a breadth-first work, where the work spans multiple devices in parallel.

How to contribute and report defects

On the project's repository. Please specify that you are using a PinePhone when reporting issues. Details about contributions and donations are on the NixOS website.

OpenMandriva Lx

Note: This image is solely for testing purposes.

OpenMandriva Lx with Plasma Mobile as UI.

Download location

The official image can be found here. See here for the announcement.

openSUSE

SLEM-OS-logo.png

Our images use the same openSUSE Tumbleweed base as our desktop images, except what needs to be changed for the PinePhone. The images include zypper (RPM) as the default package manager and have access to virtually the same (open source) software as our desktop repositories, thanks to the Factory ports. Using dnf is possible, if preferred.

Download links

To verify the images you need to import our GPG key. Keep on mind that the first boot may stay on black screen for about a minute - consequent boots should be faster.

You can find install instructions at this section in the openSUSE Wiki.

Username/Password

The login credentials are pine/1234 and root/linux. Change (or disable) the root password once you are set up.

What works and what does not work

You can find all information about the releases of the project here. Detailed information, tips and troubleshooting suggestions are also provided at the openSUSE Wiki. You will also find information in our wiki on how to report issues (Contributing section).

postmarketOS

File:PostmarketOS-logo.png

postmarketOS extends Alpine Linux to run on smartphones and other mobile devices. It offers various user interfaces (Phosh, Plasma Mobile, Sxmo, Plasma Desktop, Gnome 3, Kodi, XFCE4, ...).

As of writing, official images are provided with Phosh, Plasma Mobile and Sxmo. The official images come in two flavors, either as demo image to try out postmarketOS, or with the installer.

When using the installer images (recommended), it is possible to:

  • encrypt your installation
  • install from the SD card to eMMC

Power users may also create their own image with the distribution's install and development tool pmbootstrap.

Please read the detailed installation instructions in the wiki.

Download location

Username/password

user/147147

This is for demo images only - when using the installer images or building an image with pmbootstrap, you set your own username and password. The Phosh and Plasma Mobile lock screens require your password, but they only present a numeric keyboard, so you should use only numbers in your password.

What works, what does not work

See the issue tracker.

How to contribute and report defects

postmarketOS issue tracker for PinePhone support. See postmarketOS wiki for options to contribute.

PureOS

File:Pureos.png
Warning: This project is no longer under development and has been abandoned.
There is no prebuilt image, you'll need a Linux environment and build the image yourself.

PureOS is a user friendly, secure and freedom respecting GNU/Linux distribution based on Debian Buster and GNOME developed by the Purism community.

Download location

Use the convert script to download and build the image from u-boot, PinePhone linux kernel and Librem5 PureOS.

Also see:

Sailfish OS

File:Sailfish logo.png

Sailfish OS is a Linux-based operating system based on open source projects such as Mer, and a closed source UI based on Lipstick.

Download location

Flashing script

The Sailfish OS image is built on Gitlab CI. The latest image can be installed using the flashing script.

The script downloads the image and bootloader from the CI, extracts everything and burns it onto the SD card. Note: The script will format and erase the SD card!

Instructions:

  1. Download the flashing script
  2. Insert a microSD card in your device
  3. Make the script executable: chmod +x flash-it.sh
  4. Verify that you have the bsdtar package installed
  5. Execute it: ./flash-it.sh
  6. Follow the instructions. Some commands in the script require root permissions (for example: mounting and flashing the SD card).
  • When asked where to flash, type 'raw' and it will build the image on your computer. Otherwise define the path /dev/.... to flash to card or internal emmc.


username/password

Set PIN on initialization.

  • Sometimes the first run stalls before the tutorial. Reboot and it will start from setting the security pin.
  • The homescreen may be locked unless you boot with a sim card inserted. An old expired sim will do. If you do not have a SIM card on hands, do NOT set a security code on first boot.
  • When a screen with a loading circle is displayed, just left/right swipe it away.
  • If you're not familiar with Sailfish OS, pay attention to the tutorial - the interface works great, but is not immediately obvious. If you are familiar with it, you can skip the tutorial by touching all 4 corners starting top left.

What works, what does not work

See the Hardware Support section on the Mer Wiki's PinePhone Page.

There is a limited selection of apps available from the Jolla store, the vast majority are hosted on openrepos.net. If the Storeman app for openrepos is not preinstalled, download the RPM and click to install.

How to contribute and report defects

See the Installation section on the Mer Wiki's PinePhone Page for compile, build and development.

Git repo links are at the top of this OS section. other repos that may be helpful:

See the Sailfish OS wiki for links to their forum, as well as info required when reporting an issue. See the Sailfish OS wiki main page for options to contribute to Sailfish OS.

Notes

OTA is supported: zypper refresh && zypper update as root (devel-su to get root access). Things that need reflash are bootloader specific at the moment. If improvements like Crust or changes of partition layout are added, then you need to reflash.

SkiffOS

SkiffOS-Icon-1.png

Minimal in-memory cross-compiled OS optimized for hosting multiple in parallel Docker containers.

Provides the reliability of firmware with the ease-of-use of package managers.

Upgrade over-the-air via a simple rsync script, or copying 3 files.

Uses the Buildroot cross-compilation tool for support for all Pine64 boards.

Use configuration packages to configure distro:

  • core/pinephone_neon: KDE Neon via Ubuntu repositories
  • core/pinephone_nixos: Nixos Mobile
  • core/pinephone_gentoo: Gentoo with Link-time Optimization & KDE Mobile or Phosh
  • core/pinephone_ubports: Ubuntu Ports for PinePhone
  • core/pinephone_manjaro_kde: Manjaro for PinePhone: KDE variant
  • core/pinephone_manjaro_phosh: Manjaro for PinePhone: Phosh variant
  • core/pinephone_manjaro_lomiri: Manjaro for PinePhone: Lomiri variant


The boot-up OS is upgraded independently from the containers.

Download location

The repository and instructions can be found here.

Sxmo

A collection of Suckless programs to create a mobile UI. Based on postmarketOS

Download location

Sxmo images can be found here (in the /pine64-pinephone/sxmo/ sections respectively).

username/password

user/147147

How to contribute and report defects

All the contributing information is here.

Ubuntu Touch

Ubports-logo.png

A Mobile Version of the Ubuntu Operating System made and maintained by the UBports Community.

Ubuntu touch is a mobile version of Ubuntu developed by the UBports community. Installation instructions can be found on the UBports PinePhone project. There is also a script to download the latest image and flash to your PinePhone. In the future, Ubuntu Touch will be able to be installed onto the PinePhone with the UBports installer GUI tool.

Download location

UBports PinePhone project

username/password

Set up during boot

What works, what does not work

Scroll down to the bottom of this page.

How to contribute and report defects

See UBports gitlab page. See UBports website for how to donate.

Tools

There are software tools, that can be booted on the PinePhone.

JumpDrive

JumpDrive can be used to flash the eMMC (and the microSD card), see PinePhone Installation Instructions#Using JumpDrive.

See https://github.com/dreemurrs-embedded/Jumpdrive/releases for the latest image. Make sure to download the "PinePhone" image and to unpack the archive before flashing.

Factory Test OS

Note: The magnetometer test will fail on the new Beta Edition, as the factory image wasn't updated for it yet.

On the Braveheart model there was a postmarketOS based basic Factory Test OS pre-installed on the eMMC. The developer Martijn Braam from postmarketOS has improved the functionality of the image considerably later. Since the 20200501 version, it is able to test all the hardware. It also includes functionality to install a new OS to the eMMC when using with an test image that includes that OS image. The downloadable image just does the hardware tests. Do not flash eMMC to test your device, just dd it to microSD and test from there. New versions are distributed as part of the postmarketOS distribution.

Links: Software Images (download the latest one that is marked pine-pinephone-YYYYMMDD-factorytestX.img.xz) Git repo Documentation

Factory-loaded OS builds

These are different operating system builds that was preloaded in the factory with testing utility.

Download the build, extract the image and dd it to the microSD and then insert it into the phone. Power up the PinePhone, perform and complete the test routine, then apply the build from microSD card to eMMC.

dd the image on a 8 GB microSD card or larger.

OS Download File Size MD5
Beta Edition Direct download from pine64.org 1.78GB f16bce93504a52217540ac886863a418
Mobian Direct download from pine64.org 1.41GB 015be381ff4e650a7fca6d4eaa90d63d
KDE Direct download from pine64.org 2.28GB 32979ff17b5ec4d358ce99f1aff0c77c
Manjaro Direct download from pine64.org 1.04GB 4edfd4dceaefdd32a3417c1727161c29
postmarketOS Direct download from pine64.org 517MB 244093be2f6d728fcbd1d29114607727
Ubuntu Touch Direct download from pine64.org 1.05GB 2d7f5271e7a281db8f1b1219bedbe131

Installing other ARM64 distributions

Warning: Distributions not on this page may not even boot after you follow this section. In the best case, they will be barely usable. This is more for fun, or if you would like to port a new distribution to the PinePhone.
Note: This section uses megi's kernel releases, and not the official ones from Pine64. While it is possible to use the official (and in the future, mainline) kernel, megi provides binary releases, which makes it very easy.

If you would like to see specific commands for how to complete these steps, see:

General step:

  1. Create a boot (from 4 MB to about 252 MB) and root (from the end of boot to the end of the card) filesystem on the SD card.
  2. Format the boot partition with vfat, and the root partition with a supported filesystem like ext4 or f2fs.
  3. Extract the root filesystem from your distribution's ARM image into the root filesystem on the SD card. Do not copy the partition, copy the files (in archive mode: like rsync -ar).
  4. Edit /etc/fstab to match your partitions.
  5. Grab megi's kernel from https://xff.cz/kernels/
  6. Follow the README instructions, which involves copying the kernel modules into the SD card rootfs, and writing u-boot and the bootloader.

Other Resources

Community

Hardware information

Other software information

Other