Difference between revisions of "PinePhone Software Releases"

From PINE64
Jump to navigation Jump to search
(→‎Mobian: update and add dates so that this will still make sense if people forget to update when Debian/trixie becomes Debian/stable)
 
(491 intermediate revisions by 71 users not shown)
Line 1: Line 1:
This page contains a list of all available releases and tools for the [[PinePhone]] in alphabetical order.


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.
{{Info|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.}}


= General instructions =
See [[PinePhone Installation Instructions]] on how to install the operating systems. Please see [[PinePhone Updating Instructions]] for how to update the phone.


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 section has generic installation instructions. Please see the [[#Software Releases]] section for specific installation instructions for each distribution.
=== Arch Linux ARM ===
[[File:Archlinux-logo.png|right|100px]]


== Boot priority ==
(Unofficial) Arch Linux ARM with choice of Phosh UI, Plasma Mobile, sxmo or barebones. It is maintained by the [https://danctnix.org/ DanctNIX] community (GitHub: [https://github.com/DanctNIX/danctnix danctnix], [https://github.com/dreemurrs-embedded dreemurrs-embedded]).


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 ====


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.
Get both stable and test builds at [https://github.com/dreemurrs-embedded/Pine64-Arch/releases GitHub releases].


== Preparation of SD card ==
{| class="wikitable"
# Download your chosen image from the options below
!colspan="2" style="background: #a7d7f9;"| Default credentials
# Extract the compressed file
|-
# Write the image to your SD card
! Default user
# Plug SD card into phone
| <code>alarm/123456</code>
# 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.
! root (barebone only)
| <code>root/root</code>
|}


== Installation to eMMC (Optional) ==
==== Notes ====


=== Method Using Factory Installed Tools ===
* There are ''archmobile'' chat rooms on Matrix ([https://matrix.to/#/#archmobile:kde.org #archmobile:kde.org]) and Telegram ([https://t.me/archmobile @archmobile]).
* Feel free to send us [https://github.com/dreemurrs-embedded/Pine64-Arch/pulls pull requests] and reports [https://github.com/dreemurrs-embedded/Pine64-Arch/issues issues] on [https://github.com/dreemurrs-embedded/Pine64-Arch GitHub].
----


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


# Copy (not flash) the image file to a formatted SD card.
A fork of [https://voidlinux.org Void Linux] with a custom fork of XFCE called [https://github.com/ExpidusOS/genesis Gensis] as the default desktop environment, developed by [https://midstall.com/ Midstall Software].
# Insert SD card into powered-off phone.
# Turn on phone and select option to install to eMMC.


=== Safe & Easy Method ===
* [https://expidusos.com ExpidusOS official website]
* [https://wiki.expidusos.com/index.php/Main_Page ExpidusOS Wiki]
* [https://discord.gg/GVfBF2w Midstall Software Discord server]
* GitHub: [https://github.com/ExpidusOS ExpidusOS]


[https://forum.pine64.org/showthread.php?tid=9444 Jumpdrive thread]
==== Download ====


# download and extract [https://github.com/dreemurrs-embedded/Jumpdrive/releases the Jumpdrive image]
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 filename that starts with "pinephone".
# 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.
{| class="wikitable"
!colspan="2" style="background: #a7d7f9;"| Default credentials
|-
! Default user
| <code>expidus/expidus</code>
|}


=== Safe With No Extra Tools, But Slower ===
==== Notes ====


# Prepare a formatted SD card, flash desired OS to the SD card, and (optionally) resize the partition (see below)
What works, what does not work:
# 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 ===
* The ExpidusOS Wiki has a page detailing [https://wiki.expidusos.com/index.php/Device:PinePhone supported features].


Warning: This copies a mounted filesystem, which can lead to instability, erratic behavior, and data corruption. Do not use long term.
How to contribute and report defects:


# Prepare a new SD card, flash desired OS to the SD card
* Join the [https://discord.gg/GVfBF2w Discord server] or corresponding repo at GitHub ([https://github.com/orgs/ExpidusOS/repositories repo list]).
# 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 ==
----


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.
=== Fedora ===
[[File:Fedora1.png|right|100px]]


=== Resize SD card's partition using computer ===
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.


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.
* Forum discussion: [https://forum.pine64.org/showthread.php?tid=9347 Fedora + Phosh for PinePhone]
* GitLab: [https://gitlab.com/fedora/sigs/mobility]


Using Growpart:
==== Download ====


growpart /dev/sdX 1
* [https://github.com/nikhiljha/pp-fedora-sdsetup          Build scripts]
resize2fs /dev/sdX 1
* [https://copr.fedorainfracloud.org/coprs/njha/mobile/   Packages (Fedora COPR)]


Locate growpart (<code>apt-cache search growpart</code> and install the package in the search results) and run:
There is also an FTP server with images build every night @ ftp://pine.warpspeed.dk/nightly/pinephone/ (Mount this with something like Nautilus)
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.
{| class="wikitable"
!colspan="2" style="background: #a7d7f9;"| Default credentials
|-
! Nightly images (via FTP)
| <code>pine/1111</code>
|}


Using Parted:
==== Notes ====


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.
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.


sudo parted /dev/<your_sd_card_device>
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 pull requests on [https://gitlab.com/groups/fedora/sigs/mobility/-/issues].
(parted) resizepart 2 100%
(parted) quit
sudo resize /dev/<the_second_sd_card_PARTITION>


=== Resize from within PinePhone: ===
----


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.  
=== Gentoo ===
[[File:GentooLogo.png|right|100px]]


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.
There are unofficial Gentoo overlays with ebuilds for the PinePhone. There are no images - the image must be built manually, including picking the kernel, bootloader and the desired desktop environment. The ARM64 version of Gentoo has to be selected.


== Installing Any ARM64 Distribution ==
==== Download ====
'''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.
Overlay locations:


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).
* https://git.gjdwebserver.nl/gjdwebserver/gjdwebserver-overlay


# Create a boot (from 4MiB to about 252MiB) and root (from 252 MiB to the end of the card) filesystem on the SD card.
==== Notes ====
# 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 ==
The documentation can be found here:
All current distributions do not have a good setup for the backlight at low brightness.
If configured too low, the backlight shuts down completely, but the screen is still displayed and usable in bright front-light.


Sailfish is one OS that initially uses automatic backlight control and the default setting makes the screen appear blank. When shining a bright light on the screen, you can still navigate the screen (and maybe the screen switches on temporarily due to the light sensor). This will make it possible for you to disable auto brightness in Settings, Display.
* https://blog.gjdwebserver.nl/ords/f?p=107:HOME:::::ARTICLE:gentoo-on-a-pinephone
* https://blog.gjdwebserver.nl/ords/f?p=107:HOME:::::ARTICLE:gentoo-on-a-pinephone-making-it-a-usable-phone
* https://blog.gjdwebserver.nl/ords/f?p=107:HOME:::::ARTICLE:gentoo-on-a-pinephone-pro
* https://wiki.gentoo.org/wiki/User:Dr41nU/PinePhone
* https://wiki.gentoo.org/wiki/PinePhone (incomplete)


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
{{Info|Please consider cross-compiling the software on the computer. Long compilation times and heat production can lead to a reduced lifespan of the phone.}}


= Software Releases =
----


== postmarketOS ==
=== GloDroid ===
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.  
A fully open-source port of Android and LineageOS to the PinePhone.


* ''' Download location '''
GitHub: [https://github.com/GloDroidCommunity/pine64-pinephone GloDroid]
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.]
==== Download ====


[http://images.postmarketos.org/pinephone/ Demo images can be found here.]
* Releases: [https://github.com/GloDroidCommunity/pine64-pinephone/releases GloDroid]


* ''' user-id/password '''
==== Notes ====
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 '''
Feature overview:
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.
* Works: WiFi, screen dimming, sound, touchscreen, charging and telephony(partially) works.
* Doesn't work: Bluetooth and GPS
* See more at [https://github.com/GloDroidCommunity/pine64-pinephone/issues/2 project status page]


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


* ''' Contributions '''
=== Kali Linux ===
[https://wiki.postmarketos.org/wiki/Contributing See postmarketOS wiki for options to contribute.]
[[File:Kali-logo.png|right|200px]]


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
The official Kali Nethunter images for PinePhone and PinePhone Pro have been released now. For older/unofficial releases, you can still download from the GitHub releases page. Get [https://github.com/Shubhamvis98/nethunter-pinephone Nethunter App] for your PinePhone's Kali Linux. Packet Injection is working now, use iwconfig instead of airmon-ng.


== Ubuntu Touch by UBPorts ==
==== Download ====
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.]
* [https://github.com/Shubhamvis98/kali-pinephone/releases Kali Phosh Unofficial]
* [https://www.kali.org/get-kali/#kali-mobile Kali Nethunter Pro Official]


[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|There are reports that the official Kali images fail to boot.}}


* ''' Download location '''
{| class="wikitable"
[https://gitlab.com/ubports/community-ports/pinephone See UBports gitlab page.]
!colspan="2" style="background: #a7d7f9;"| Default credentials
|-
! Default user for Unofficial Releases
| <code>kali/8888</code>
|-
! Default user for Nethunter Releases
| <code>kali/1234</code>
|}


* ''' user-id/password '''
==== Notes ====
The default password is <code>phablet</code>


* ''' What works, what does not work '''
For the installation see the installation instructions under [[PinePhone Installation Instructions]]
[https://gitlab.com/ubports/community-ports/pinephone Scroll down to the bottom of this page.]


* ''' Where/how to report defects '''
----
[https://gitlab.com/ubports/community-ports/pinephone See UBports gitlab page.]


* ''' Contributions '''
=== LuneOS ===
[https://ubports.com/foundation/sponsors See UBports website for how to donate.]
[[File:Luneos-logo-256.png|right|100px]]


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
LuneOS is one of the original multi-tasking OS-es that runs on Linux. Based on HP/Palm's webOS, merged with latest technology stack from LG called webOS OSE (a derivative of what LG uses on their Smart TV's), software such as Qt5 and makes use of the Yocto build system.


== Debian-PinePhone ==
* [https://www.webos-ports.org/wiki/Main_Page WebOS Ports Wiki]
[[File:Debian-logo.png]]
* [https://webos-ports.org/wiki/Pinephone_Info WebOS-Ports Wiki's Pinephone page]
* GitHub: [https://github.com/webOS-ports WebOS Ports]


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


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. 
* LuneOS Preview images: [https://github.com/webOS-ports/meta-pine64-luneos/releases Downloads]


* ''' Download location '''
{| class="wikitable"
[http://pinephone.a-wai.com/images/ Debian-pinephone downloadable images]
!colspan="2" style="background: #a7d7f9;"| Default credentials
|-
! Default user
| <code>root</code>
|}


Don't forget to extract the image before installing:
==== Notes ====
$ gzip -d Downloads/debian-pinephone-*.img.gz


See the [https://gitlab.com/a-wai/debos-pinephone project page] for specific installation instructions.
In order to connect to the device using SSH/SCP via WiFi: You can simply connect via SSH/SCP via WiFi using the PinePhone's IP address on port 22.
----


* ''' user-id/password '''
=== Maemo Leste ===
debian/1234
[[File:Maemoleste-logo.png|right|100px]]


* ''' What works, what does not work '''
[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 more well-known devices Maemo supports are the OpenMoko and N900. The community now takes full responsibility in developing fully open source Maemo for a variety of mobile devices. You may be interested to learn more about the features in their [https://leste.maemo.org/Leste_FAQ Maemo Leste FAQ].


See [https://gitlab.com/a-wai/debos-pinephone/-/blob/master/README.md the project's README file] for most up to date status.
Maemo 8 "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].


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].
==== Download ====


* ''' Where/how to report defects '''
* [http://maedevu.maemo.org/images/pinephone/ Maemo Leste test builds]
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 '''
There is also an [https://github.com/maemo-leste/image-builder image builder], see the wiki for instructions on how to [https://leste.maemo.org/Image_Builder build a custom image]. For current status and instructions, please read their [https://leste.maemo.org/PinePhone PinePhone wiki page].
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 '''
{| class="wikitable"
!colspan="2" style="background: #a7d7f9;"| Default credentials
|-
! root
| <code>toor</code>
|-
! user
| <code>12345 (lockscreen)</code>
|}


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.
==== Notes ====


'''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.
Most discussion occurs at  [ircs://irc.libera.chat:6697/#maemo-leste <code>#maemo-leste</code> on <code>irc.libera.chat</code>] and [https://talk.maemo.org/showthread.php?t=100192&page=60 this thread].


'''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]
All other contact information is listed on the [https://leste.maemo.org/Main_Page main page] of the Maemo wiki.


# <code>sudo apt install linux-libc-dev build-essential ninja-build meson cmake libwayland-dev</code>
Submit [https://github.com/maemo-leste/bugtracker/issues bug reports] on github.
# Continue the rest of the instructions on [https://puri.sm/posts/easy-librem-5-app-development-scale-the-screen/ this page]
To track known issues, you may use these search terms:
# 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.
[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].


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


'''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.
=== Manjaro ARM ===
[[File:Manjaro-logo.svg|right|100px]]


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


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


== SailfishOS ==
* Phosh: [https://github.com/manjaro-pinephone/phosh-dev/releases Dev] and [https://github.com/manjaro-pinephone/phosh/releases Stable]
http://files.pine64.org/sw/pine64_installer/json/sailfishos.png
* Plasma Mobile: [https://github.com/manjaro-pinephone/plasma-mobile-dev/releases Dev] and [https://github.com/manjaro-pinephone/plasma-mobile/releases Stable]
Sailfish OS is a Linux-based operating system based on open source projects such as Mer and including a closed source UI.
* Lomiri: [https://github.com/manjaro-pinephone/lomiri-dev Dev] (unmaintained)


* ''' Download location '''
{| class="wikitable"
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].
!colspan="2" style="background: #a7d7f9;"| Default credentials (Only Phosh)
|-
! Default user
| <code>manjaro/123456</code>
|-
! root
| <code>root/root</code>
|}


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!
==== Notes ====


''Instructions:''
The installation of the stable images is strongly suggested. The dev images might break frequently.
# 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
=== Mobian ===
# Execute it: <code>./flash-it.sh</code>
[[File:Debian-logo.png|right|100px]]
# Follow the instructions. Some commands in the script require root permissions (for example: mounting and flashing the SD card).
 
An unofficial [https://www.debian.org Debian] build for ARM64 running with Phosh. The base Debian systems available are an old version of [https://www.debian.org/releases/stable Debian stable] (Bookworm 12.0 since June 2023), and [https://www.debian.org/releases/testing Debian testing] (Trixie since June 2023). The ''testing'' version has many more features and bug fixes than the ''stable'' version, but new bugs are more likely; the ''stable'' version should be upgraded to the most recent stable release after installing. See the installation instructions [https://wiki.debian.org/InstallingDebianOn/PINE64/PinePhone on the Debian wiki]. If you have questions about Mobian, please ask them in the [https://matrix.to/#/#mobian:matrix.org Mobian Matrix room].
 
==== Download ====
 
* [https://images.mobian.org/pinephone/ Images] (top directory: ''Debian/stable''; "weekly" directory: ''Debian/testing'')
 
{{Info|[https://tow-boot.org/devices/pine64-pinephoneA64.html Tow-Boot is required] to be able to boot the images!}}
 
{| class="wikitable"
!colspan="2" style="background: #a7d7f9;"| Default credentials
|-
! Default user
| <code>mobian/1234</code>
|}
 
==== Notes ====
* Development is active. See [https://wiki.debian.org/Mobian the Mobian wiki].
* In order to connect to the device using SSH/SCP via WiFi, you need to install SSH on the device. You can do this by executing the following in a shell: "sudo apt-get install ssh", afterwards you can connect via SSH/SCP via WiFi using the PinePhone's IP address on port 22.
 
----
 
=== Multi-distro demo image ===
 
{{Warning|This is a demo image for testing different operating systems before installing a regular image. Attempting to use this image productively is highly discouraged. The kernel is shared across the different operating systems and is not updated.}}
 
This image allow users to try many Linux distributions easily, without having to figure out how to flash them individually and juggle with many microSD cards. Also called megi's 15-in-1 multi boot image.
 
* Main page: https://xnux.eu/p-boot-demo/
* Git repo: https://megous.com/git/pinephone-multi-boot/
* Forum discussion: [https://forum.pine64.org/showthread.php?tid=11347 15-distro multi-boot image for Pinephone]
 
==== Download ====
 
'''Update 2022-01-26, using megi's kernel 5.16.2'''
 
DD image to SD card and boot. This image is for 16GiB or larger SD cards, also works if flashed to eMMC.
 
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 its entry the "News" section of its [https://xnux.eu/p-boot-demo/ web page].
 
* [https://dl.xnux.eu/p-boot-multi-2022-01-26.torrent Download torrent file from author's website]
* [http://dl.xnux.eu/p-boot-multi-2022-01-26/ Download img.zst from author's website] (speed limited to 512KiB/s)
* [http://mirror.uxes.cz/dl.xnux.eu/ Download torrent and img.zst from discord user uxes' mirror]
** '''File name:''' multi.img.zst
** '''SHA-256:''' <span style="word-break: break-all">39915b9d2aa2f33fd78552ac9a0e665c4aef97dd68a9f9a6c76f9fa2f0ac049e</span>
** '''File Size:''' 6.9GiB
 
Due to its size, download though torrent is suggested by the author on its main page.
 
{| class="wikitable"
!colspan="2" style="background: #a7d7f9;"| Default credentials
|-
! General
| <code>1111</code>
|-
! sxmo
| <code>user/1111</code>
|-
! Manjaro
| seems to insist on <code>123456</code>
|}
 
==== Notes ====
 
{{Info | Note about zstd) archive file (<code>.zst</code>):
 
On Linux, you may install or compile <code>zstd</code>, then write the image to SD card by piping <code>zstdcat</code> and <code>dd</code>. See the "Installation" section of its [https://xnux.eu/p-boot-demo/ web page] for command examples.
 
On Windows, instead of the offical [https://github.com/facebook/zstd zstd] command line program, you may use [https://github.com/mcmilk/7-Zip-zstd 7-zip-zstd]. Different installation method is provided in their README. Install 7-Zip-zstd / zstd, extract the disk image file (<code>.img</code>) from the zstd archive, and flash with tools like [https://sourceforge.net/projects/win32diskimager/ Win32 Disk Imager].}}
 
Also see [[PinePhone Installation Instructions]].
 
----
 
=== Nemo Mobile ===
[[File:nemo_mobile.png|right|100px]]
 
Nemo Mobile is the open source build of Sailfish OS with a open source UI called [http://nemomobile.net/glacier-home/ Glacier], [http://nemomobile.net/pages/Hello_manjaro/ based on Manjaro].
 
==== Download ====
 
[https://img.nemomobile.net/2022.05/Manjaro-ARM-nemomobile-pinephone-0.9.img.xz Image]
 
{| class="wikitable"
!colspan="2" style="background: #a7d7f9;"| Default credentials
|-
! Default user
| <code>manjaro/123456</code>
|-
! root
| <code>root/root</code>
|}
 
==== Notes ====
The website of the Nemo Mobile UX Team can be found [https://nemomobile.net/ here]. Please report bugs regarding the Nemo Mobile UI as [https://github.com/nemomobile-ux/main/issues GitHub issue].
 
----
 
=== NixOS ===
[[File:NixOS.webp|right|100px]]
 
NixOS is a Linux distribution built on top of the Nix package manager using declarative configuration to allow reliable system upgrades.
 
==== Download ====
There is a guided installer by the [https://mobile.nixos.org/devices/pine64-pinephone.html Mobile NixOS] project available. An installer image that can be flashed to a sdcard can be downloaded from the [https://hydra.nixos.org/job/mobile-nixos/unstable/installer.pine64-pinephone Hydra build instance].
 
Users that want to build a local image, are expected to follow the instructions in the [https://mobile.nixos.org/getting-started.html Getting Started page],
and [https://mobile.nixos.org/devices/pine64-pinephone.html Project's device page].
 
==== Notes ====
Project home page: [https://mobile.nixos.org/ Mobile NixOS]
 
----
 
=== OpenMandriva Lx ===
[[File:Oma-logo-22042013_300pp.png|right|100px]]
 
OpenMandriva Lx with Plasma Mobile as UI.
 
==== Download ====
 
The official image can be found [https://sourceforge.net/projects/openmandriva/files/release/4.2/RC/Pinephone/ at sourceforge.net].
See [https://www.openmandriva.org/en/news/article/openmandriva-lx-4-3-rc-available-for-testing here] for the offical announcement.
 
==== Notes ====


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.
{{Info| This image is solely for testing purposes.}}


* ''' user-id/password '''
----


* ''' What works, what does not work '''
=== openSUSE ===
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. Once you have the Storeman app installed browse the store and add repository first from the pulley menu before installing the app you want. The Webcat browser on openstore works.
[[File:SLEM-OS-logo.png|right|100px]]


* ''' Where/how to report defects '''
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.


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.
==== Download ====


* ''' Contributions '''
* [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]
[https://sailfishos.org/wiki/SailfishOS See the SailfishOS wiki for options to contribute.]
* [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]


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


You can find install instructions at [https://en.opensuse.org/HCL:PinePhone#Installing_openSUSE_in_a_Pinephone this section] in the openSUSE Wiki.


== PureOS ==
{| class="wikitable"
PureOS is a GNU/Linux distribution focusing on privacy and security, using the GNOME desktop environment. It is developed and maintained by Purism.
!colspan="2" style="background: #a7d7f9;"| Default credentials
|-
! Default user
| <code>pine/1234</code>
|-
! root
| <code>root/linux</code>
|}


* ''' Download location '''
==== Notes ====
This is an unofficial/unsupported creation by ''mozzwald'' that can be downloaded [http://pureos.ironrobin.net/droppy/#/Images here.]


* ''' user-id/password '''
You can find all information about the releases of the project [https://gitlab.com/slem.os/slem.os/-/blob/master/CHANGELOG.md here].
purism/123456
Detailed information, tips and troubleshooting suggestions are also provided at [https://en.opensuse.org/HCL:PinePhone the openSUSE Wiki].
You will also find information in our wiki on how to report issues (Contributing section).


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


== Fedora ==
=== postmarketOS ===
http://files.pine64.org/sw/pine64_installer/json/fedora.png
[[File:PostmarketOS_logo.png|right|100px]]


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.
postmarketOS extends [https://www.alpinelinux.org/ 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, ...).


See [https://forum.pine64.org/showthread.php?tid=9347 this thread in the forum.]
==== Download ====
[https://postmarketos.org/download/ Download page]


* ''' Download location '''
{| class="wikitable"
[https://github.com/nikhiljha/pp-fedora-sdsetup/releases/ flashable images] or [https://github.com/nikhiljha/pp-fedora-sdsetup/tree/image build scripts]
!colspan="2" style="background: #a7d7f9;"| Default credentials
|-
! Test images user
| <code>user/147147</code>
|}


The images are compressed with zstd because the maintainer needs an excuse to use zstd.
==== Notes ====
As of writing, official images are provided with Phosh, Plasma Mobile and Sxmo.
The official images come in two flavors, either as a test image to try out postmarketOS, or with the installer.


* ''' user-id/password '''
When using the installer images (recommended), it is possible to:
pine/1111
* encrypt the installation
* install from the SD card to eMMC


* ''' What works, what does not work '''
Power users may also create their own image with the distribution's install and development tool <code>pmbootstrap</code>.
* WiFi, Bluetooth, SMS, Data, Calls all work!
* 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.  


* ''' Where/how to report defects '''
See the [https://wiki.postmarketos.org/wiki/PINE64_PinePhone_(pine64-pinephone) pine64-pinephone] page of the postmarketOS wiki for details.
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!


* ''' Contributions '''
----
Please help! Send us merge requests on [https://github.com/nikhiljha/pp-fedora-sdsetup/ Github.]


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


== Arch Linux ARM ==
Rhino Linux is an Ubuntu-based distribution that uses the rolling-release model by tracking the <code>devel</code> branch of repositories. The port is currently maintained by Oren Klopfer (oklopfer).
http://files.pine64.org/sw/pine64_installer/json/archlinux.png


An (unofficial) barebone Arch Linux ARM image, all you have is just a shell and SSH.
Tow-Boot is required for installing Rhino Linux. Instructions for installing Tow-Boot to the PinePhone can be found [https://tow-boot.org/devices/pine64-pinephoneA64.html here]. After Tow-Boot has been installed to your device, Rhino Linux installation just requires flashing the <code>.img.xz</code> to an SD or the eMMC.


* ''' Download location '''
==== Download ====
https://github.com/dreemurrs-embedded/Pine64-Arch/releases
[https://rhinolinux.org/download.html Rhino Linux Downloads] (select Pine64 on the dropdown)


* ''' user-id/password '''
{| class="wikitable"
alarm/alarm
!colspan="2" style="background: #a7d7f9;"| Default credentials
|-
! Default user
| <code>rhino/1234</code>
|}


* ''' What works, what does not work '''
==== Notes ====
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.
Foundational to the distribution is [https://pacstall.dev Pacstall], a Debian-based user repository inspired by the AUR. Additionally, RL comes with [https://rhinolinux.org/unicorn/ Unicorn], a custom modified version of XFCE with various modernizations and improvements, including auto-rotation for mobile devices.


To access the device, ssh to 172.16.42.1 with the credentials above.  
[https://discord.gg/reSvc8Ztk3 Discord] - [https://matrix.to/#/#rolling-rhino-remix:matrix.org Matrix] - [https://github.com/rhino-linux GitHub] - [https://rhinolinux.org/wiki.html Wiki]


* ''' Contributions '''
----
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>
=== Sailfish OS ===
[[File:SailfishOS_logo.png|right|100px]]


== Manjaro ARM ==
[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].
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 '''
* [https://wiki.merproject.org/wiki/Adaptations/PinePhone64 PinePhone Wiki Page] on Mer Wiki, for both Nemo Mobile and Sailfish OS.
[https://forum.manjaro.org/t/manjaro-arm-alpha4-for-pinephone-and-pinetab/127684 See Manjaro forum announcement of Alpha4 version]
* [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]


* ''' user-id/password '''
==== Download ====
** manjaro/1234
** root/root


* ''' What works, what does not work '''
'''Flashing script'''
[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.
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].


* ''' Where/how to report defects '''
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!


* ''' Contributions '''
Instructions:
[https://forum.manjaro.org/t/manjaro-arm-alpha4-for-pinephone-and-pinetab/127684 See the end of the announcement here.]
# 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).


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
* 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.


== Maemo Leste ==
'''username/password'''
http://files.pine64.org/sw/pine64_installer/json/maemo_leste.png


[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.  
Set PIN on initialization.


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.
==== Notes ====


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].  
* 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.


* ''' Download location '''
'''What works, what does not work'''
[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].


* ''' user-id/password '''
See the [https://wiki.merproject.org/wiki/Adaptations/PinePhone64#Hardware_Support Hardware Support section] on the Mer Wiki's PinePhone Page.
root/toor


You may use "sudo" directly.
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.


* ''' What works, what does not work '''
'''How to contribute and report defects'''
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 '''
See the documentation wiki at [https://github.com/sailfish-on-dontbeevil/documentation/wiki the github project] for help and links.
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]
See the [https://wiki.merproject.org/wiki/Adaptations/PinePhone64#Installation Installation section] on the Mer Wiki's PinePhone Page for compile, build and development.


* ''' Development '''
Git repo links are at the top of this OS section. other repos that may be helpful:
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>
* [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.)


== Nemo Mobile ==
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.
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.
'''Notes'''


* ''' Download location '''
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.
[https://github.com/neochapay/nemo-device-dont_be_evil/ Download location is here on GitHub.]
----


* ''' user-id/password '''
=== SkiffOS ===
[[File:SkiffOS-Icon-1.png|right|100px]]


* ''' What works, what does not work '''
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.
[https://github.com/neochapay/nemo-device-dont_be_evil/ Scroll down the page here.]


* ''' Where/how to report defects '''
==== Download ====
For more info please visit [https://github.com/neochapay/nemo-device-dont_be_evil neochapay's github page]


* ''' Contributions '''
The repository and instructions can be found [https://github.com/skiffos/SkiffOS/tree/master/configs/pine64/phone here].


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


== KDE Neon ==
Upgrade over-the-air via a simple rsync script, or copying 3 files.
http://files.pine64.org/sw/pine64_installer/json/plasma_mobile.png
Based on KDE Neon for the desktop, comes with Plasma Mobile.


* ''' Download location '''
Uses the [http://buildroot.org Buildroot] cross-compilation tool for support for all Pine64 boards.
[https://images.plasma-mobile.org/pinephone/ Plasma mobile images can be found here.]


* ''' user-id/password '''
Use configuration packages to configure distro:
phablet/1234


* ''' What works, what does not work '''
{| class="wikitable"
! Package
! 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
|}


* ''' Where/how to report defects '''
The boot-up OS is upgraded independently from the containers.


* ''' Contributions '''
----


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


== NixOS ==
[https://arm.slackware.com/ Slackware] is the world's oldest actively developed Linux distribution, providing a modern user land (applications) and Linux Kernel, within a more classic Unix Operating System environment.
http://files.pine64.org/sw/pine64_installer/json/nixos.png


''NixOS support is handled through the Mobile NixOS project.''
==== Download ====


* [https://mobile.nixos.org/ Project home page]
* http://dl.fail.pp.ua/slackware/images/pinephone/
* [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].
==== Notes ====


* ''' What works, what does not work '''
Discussion: [https://forum.pine64.org/showthread.php?tid=12181&highlight=slackware+pinephone Thread]


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.
----


<cite>
=== Ubuntu Touch ===
Support for all of the hardware will be coming, this project is a breadth-first work, where the work spans multiple devices in parallel.
[[File:Ubports-logo.png|right|100px]]
</cite>


* ''' Where/how to report defects '''
A Mobile Version of the Ubuntu Operating System made and maintained by the UBports Community. The port is currently maintained by Oren Klopfer (oklopfer).
On [https://github.com/NixOS/mobile-nixos/issues the project's repository]. Please specify that you are using a Pinephone when reporting issues.


* ''' Contributions '''
Tow-Boot is required for installing the latest version of Ubuntu Touch (20.04) on the PinePhone. Instructions for installing Tow-Boot to the PinePhone can be found [https://tow-boot.org/devices/pine64-pinephoneA64.html here].  
[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>
Installation instructions can be found at
[https://ubports.com/en/blog/ubports-news-1/post/pinephone-and-pinephone-pro-3889 this UBports post]. After Tow-Boot has been installed to your device, Ubuntu Touch installation just requires flashing the <code>.img.xz</code> to an SD or the eMMC.


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


* ''' Download location '''
[https://gitlab.com/ook37/pinephone-pro-debos/-/releases UBports 20.04 PinePhone Latest Releases]
[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 '''
[https://devices.ubuntu-touch.io/device/pinephone/release/focal UBports PinePhone Device Info]


* ''' What works, what does not work '''
{| class="wikitable"
!colspan="2" style="background: #a7d7f9;"| Default credentials
|-
! Default user
| Set during boot
|-
! root
| <code>phablet/1234</code>
|}


* ''' Where/how to report defects '''
==== Notes ====


* ''' Contributions '''
Scroll down to the middle of [https://gitlab.com/ook37/pinephone-pro-debos/ the GitLab project page], or directly here [https://devices.ubuntu-touch.io/device/pinephone/release/focal/#deviceOverview at the UBports website] to see which features work.


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
Contributions and bug reports can be made at the [https://gitlab.com/ook37/pinephone-pro-debos/ UBports PinePhone GitLab page]. See [https://ubports.com/foundation/sponsors UBports website] for how to donate.


== Aurora ==
== Further Releases ==
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>
=== Apache NuttX RTOS ===


== Android 10 ==
[https://nuttx.apache.org/docs/latest Apache NuttX RTOS] is a Real-Time Operating System that supports PinePhone
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.
* [https://nuttx.apache.org/docs/latest/platforms/arm/a64/boards/pinephone/index.html Apache NuttX RTOS on PINE64 PinePhone]


<div class="center" style="background-color: lightyellow;">[[#top | '''Return to top of page''']]</div>
=== Sculpt Operating System (Genode OS Framework) ===


= Mobile Carrier APN Settings =
[https://genode.org/news/sculpt-os-release-23.04 Sculpt OS since version 23.04] supports PinePhone.
Ready-to-use system image available on the [https://genode.org/download/sculpt download page].


See thread: https://forum.pine64.org/showthread.php?tid=9150
== Tools ==


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.
There are software tools, that can be booted on the PinePhone.


''' Distributions with Phosh (Debian + Phosh, pmOS + Phosh, Fedora) '''
=== JumpDrive ===


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).
JumpDrive can be used to flash the eMMC (and the microSD card), see [[PinePhone Installation Instructions#Using JumpDrive]].


== ATT-based (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.


* ATT
----
* Metro
*


== Red Pocket (USA) ==
=== Tow-Boot ===


You can choose AT&T, Verizon, T-Mobile or Sprint network. Known to work with the GSMA (ATT) SIM, calls and SMS work.
Tow-Boot is a more user-friendly distribution of U-Boot. Can also mount internal storage as USB Mass Storage by holding the volume up button at startup before and during the second vibration and the LED will turn blue if done successfully.


APN settings:
See https://github.com/Tow-Boot/Tow-Boot/releases for the latest image.
Make sure to download the image with pinephoneA64 in the name.


name: Red Pocket
== Hardware test build ==
APN: RESELLER


== Mint Mobile (USA) ==
{{Warning|The factorytest image for hardware testing appears to be no longer maintained.}}


Source: https://www.mintmobile.com/setup-for-android/
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 flash it to microSD and test from there. New versions are distributed as part of the postmarketOS distribution.


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


Name: Ultra
Links:
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.
* [https://images.postmarketos.org/pinephone/ Software Images] ('''NOTE:''' Link is is broken) (download the latest one named like 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?) ==  
== Historic factory 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 a 8 GB or larger microSD card, then insert it into the PinePhone.
After power up or reboot, you may perform and complete the test routine, or apply the build from microSD card to eMMC.


Use the following APN settings:
All the download links below are direct download from pine64.org.


Name: Tracfone
{{Warning|These images are for testing purposes only. If you are looking for an up-to-date image please select one from the [[#Software Releases|software releases]] section instead.}}
APN: RESELLER


== Mobile Vikings (Belgium) ==
<div style="overflow: auto;">
{| class="wikitable" style="white-space: nowrap"
! Distribution
! Download Link
! File Size
! MD5
|-
| Beta Edition
| [https://files.pine64.org/os/PinePhone/BetaEdition/pine64-pinephone-plamo-beta-factorytest.img.xz pine64-pinephone-plamo-beta-factorytest.img.xz]
| 1.78GB
| <code>f16bce93504a52217540ac886863a418</code>
|-
| Mobian
| [https://files.pine64.org/os/PinePhone/Mobian/pine64-pinephone-20201207-factorytest-mobian.img.xz pine64-pinephone-20201207-factorytest-mobian.img.xz]
| 1.41GB
| <code>015be381ff4e650a7fca6d4eaa90d63d</code>
|-
| KDE
| [https://files.pine64.org/os/PinePhone/KDE/pine64-pinephone-20201208-factorytest-kde.img.xz pine64-pinephone-20201208-factorytest-kde.img.xz]
| 2.28GB
| <code>32979ff17b5ec4d358ce99f1aff0c77c</code>
|-
| Manjaro
| [https://files.pine64.org/os/PinePhone/Manjaro/pine64-pinephone-20201013-manjaro-stable-20201018-factory56.img.xz pine64-pinephone-20201013-manjaro-stable-20201018-factory56.img.xz]
| 1.04GB
| <code>4edfd4dceaefdd32a3417c1727161c29</code>
|-
| postmarketOS
| [https://files.pine64.org/os/PinePhone/PostMarketOS/pine64-pinephone-20200726-phosh-v20.05-factory.img.xz pine64-pinephone-20200726-phosh-v20.05-factory.img.xz]
| 517MB
| <code>244093be2f6d728fcbd1d29114607727</code>
|-
| Ubuntu Touch
| [https://files.pine64.org/os/PinePhone/UBPorts/PinePhone-flasher-ubuntu-7b.img.gz PinePhone-flasher-ubuntu-7b.img.gz]
| 1.05GB
| <code>2d7f5271e7a281db8f1b1219bedbe131</code>
|}
</div>


Source: https://support.vikingco.com/hc/en-us/articles/202836041-I-don-t-have-any-mobile-internet-What-do-I-do-
== Installing other ARM64 distributions ==


Name: Mobile Vikings
Other ARM64 distributions might be installed as well, however this requires some tinkering and may not work well.
APN: web.be
Username: web
Password: web


== Virgin Mobile (Canada) ==
{{Info|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.}}


Settings might work with Bell Canada too since it is the same network. Calls, SMS and 4G data appear to be working fine. Note that SIM may well be nano-sim but pinephone is micro-sim and may require an adapter.
General steps:


Name: Mobile Fast Web
# Create a boot partition (from 4 MB to about 252 MB) and a root partition (from the end of boot to the end of the card) filesystem on the SD card.
APN: pda2.bell.ca
# Format the boot partition with vfat, and the root partition with a supported filesystem like ext4 or f2fs.
Username:
# 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 instead (in archive mode, like <code>rsync -ar</code>).
Password:
# Edit <code>/etc/fstab</code> to match your partitions.
# Grab megi's kernel from https://xff.cz/kernels/, Follow the instructions in the [https://xff.cz/kernels/README README], which involves copying the kernel modules into the SD card rootfs, and writing u-boot and the bootloader.


== Carriers That Do Not Work ==
If you would like to see examples or specific commands for how to complete these steps, see:


* 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.
* [https://github.com/nikhiljha/pp-fedora-sdsetup    an example for Fedora], current unofficial [#Fedora] release
* VoLTE services like Sprint or Verizon
* [https://xnux.eu/howtos/install-arch-linux-arm.html an example for Arch Linux] by megi


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


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


Hardware information
Hardware information
* [[PinePhone]] hardware details in this Pine64 wiki.
 
* [[PinePhone_v1.1_-_Braveheart]] hardware details specific to the Braveheart handsets.
* [[PinePhone|General PinePhone hardware info]] in this Pine64 wiki
* 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 Braveheart Edition: [[PinePhone v1.1 - Braveheart|PinePhone 1.1 Braveheart hardware details]]
* 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]]

Latest revision as of 14:11, 6 October 2024

This page contains a list of all available releases and tools for the PinePhone in alphabetical order.

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.

See PinePhone Installation Instructions on how to install the operating systems. Please see PinePhone Updating Instructions for how to update the phone.

Software Releases

Arch Linux ARM

Archlinux-logo.png

(Unofficial) Arch Linux ARM with choice of Phosh UI, Plasma Mobile, sxmo or barebones. It is maintained by the DanctNIX community (GitHub: danctnix, dreemurrs-embedded).

Download

Get both stable and test builds at GitHub releases.

Default credentials
Default user alarm/123456
root (barebone only) root/root

Notes


ExpidusOS

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

Download

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

Default credentials
Default user expidus/expidus

Notes

What works, what does not work:

How to contribute and report defects:


Fedora

Fedora1.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.

Download

There is also an FTP server with images build every night @ ftp://pine.warpspeed.dk/nightly/pinephone/ (Mount this with something like Nautilus)

Default credentials
Nightly images (via FTP) pine/1111

Notes

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.

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


Gentoo

GentooLogo.png

There are unofficial Gentoo overlays with ebuilds for the PinePhone. There are no images - the image must be built manually, including picking the kernel, bootloader and the desired desktop environment. The ARM64 version of Gentoo has to be selected.

Download

Overlay locations:

Notes

The documentation can be found here:

Note: Please consider cross-compiling the software on the computer. Long compilation times and heat production can lead to a reduced lifespan of the phone.

GloDroid

A fully open-source port of Android and LineageOS to the PinePhone.

GitHub: GloDroid

Download

Notes

Feature overview:

  • Works: WiFi, screen dimming, sound, touchscreen, charging and telephony(partially) works.
  • Doesn't work: Bluetooth and GPS
  • See more at project status page

Kali Linux

Kali-logo.png

The official Kali Nethunter images for PinePhone and PinePhone Pro have been released now. For older/unofficial releases, you can still download from the GitHub releases page. Get Nethunter App for your PinePhone's Kali Linux. Packet Injection is working now, use iwconfig instead of airmon-ng.

Download

Warning: There are reports that the official Kali images fail to boot.
Default credentials
Default user for Unofficial Releases kali/8888
Default user for Nethunter Releases kali/1234

Notes

For the installation see the installation instructions under PinePhone Installation Instructions


LuneOS

Luneos-logo-256.png

LuneOS is one of the original multi-tasking OS-es that runs on Linux. Based on HP/Palm's webOS, merged with latest technology stack from LG called webOS OSE (a derivative of what LG uses on their Smart TV's), software such as Qt5 and makes use of the Yocto build system.

Download

Default credentials
Default user root

Notes

In order to connect to the device using SSH/SCP via WiFi: You can simply connect via SSH/SCP via WiFi using the PinePhone's IP address on port 22.


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 more well-known devices Maemo supports are the OpenMoko and N900. The community now takes full responsibility in developing fully open source Maemo for a variety of mobile devices. You may be interested to learn more about the features in their Maemo Leste FAQ.

Maemo 8 "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.

Download

There is also an image builder, see the wiki for instructions on how to build a custom image. For current status and instructions, please read their PinePhone wiki page.

Default credentials
root toor
user 12345 (lockscreen)

Notes

Most discussion occurs at #maemo-leste on irc.libera.chat and this thread.

All other contact information is listed on the main page of the Maemo wiki.

Submit bug reports on github. To track known issues, you may use these search terms: pinephone, pine64.


Manjaro ARM

Manjaro-logo.svg

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

Download

Default credentials (Only Phosh)
Default user manjaro/123456
root root/root

Notes

The installation of the stable images is strongly suggested. The dev images might break frequently.


Mobian

Debian-logo.png

An unofficial Debian build for ARM64 running with Phosh. The base Debian systems available are an old version of Debian stable (Bookworm 12.0 since June 2023), and Debian testing (Trixie since June 2023). The testing version has many more features and bug fixes than the stable version, but new bugs are more likely; the stable version should be upgraded to the most recent stable release after installing. See the installation instructions on the Debian wiki. If you have questions about Mobian, please ask them in the Mobian Matrix room.

Download

  • Images (top directory: Debian/stable; "weekly" directory: Debian/testing)
Note: Tow-Boot is required to be able to boot the images!
Default credentials
Default user mobian/1234

Notes

  • Development is active. See the Mobian wiki.
  • In order to connect to the device using SSH/SCP via WiFi, you need to install SSH on the device. You can do this by executing the following in a shell: "sudo apt-get install ssh", afterwards you can connect via SSH/SCP via WiFi using the PinePhone's IP address on port 22.

Multi-distro demo image

Warning: This is a demo image for testing different operating systems before installing a regular image. Attempting to use this image productively is highly discouraged. The kernel is shared across the different operating systems and is not updated.

This image allow users to try many Linux distributions easily, without having to figure out how to flash them individually and juggle with many microSD cards. Also called megi's 15-in-1 multi boot image.

Download

Update 2022-01-26, using megi's kernel 5.16.2

DD image to SD card and boot. This image is for 16GiB or larger SD cards, also works if flashed to eMMC.

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 its entry the "News" section of its web page.

Due to its size, download though torrent is suggested by the author on its main page.

Default credentials
General 1111
sxmo user/1111
Manjaro seems to insist on 123456

Notes

Note: Note about zstd) archive file (.zst):

On Linux, you may install or compile zstd, then write the image to SD card by piping zstdcat and dd. See the "Installation" section of its web page for command examples.

On Windows, instead of the offical zstd command line program, you may use 7-zip-zstd. Different installation method is provided in their README. Install 7-Zip-zstd / zstd, extract the disk image file (.img) from the zstd archive, and flash with tools like Win32 Disk Imager.

Also see PinePhone Installation Instructions.


Nemo Mobile

Nemo mobile.png

Nemo Mobile is the open source build of Sailfish OS with a open source UI called Glacier, based on Manjaro.

Download

Image

Default credentials
Default user manjaro/123456
root root/root

Notes

The website of the Nemo Mobile UX Team can be found here. Please report bugs regarding the Nemo Mobile UI as GitHub issue.


NixOS

NixOS.webp

NixOS is a Linux distribution built on top of the Nix package manager using declarative configuration to allow reliable system upgrades.

Download

There is a guided installer by the Mobile NixOS project available. An installer image that can be flashed to a sdcard can be downloaded from the Hydra build instance.

Users that want to build a local image, are expected to follow the instructions in the Getting Started page, and Project's device page.

Notes

Project home page: Mobile NixOS


OpenMandriva Lx

Oma-logo-22042013 300pp.png

OpenMandriva Lx with Plasma Mobile as UI.

Download

The official image can be found at sourceforge.net. See here for the offical announcement.

Notes

Note: This image is solely for testing purposes.

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

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.

Default credentials
Default user pine/1234
root root/linux

Notes

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

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, ...).

Download

Download page

Default credentials
Test images user user/147147

Notes

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

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

  • encrypt the 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.

See the pine64-pinephone page of the postmarketOS wiki for details.


Rhino Linux

Rhino-linux-logo.png

Rhino Linux is an Ubuntu-based distribution that uses the rolling-release model by tracking the devel branch of repositories. The port is currently maintained by Oren Klopfer (oklopfer).

Tow-Boot is required for installing Rhino Linux. Instructions for installing Tow-Boot to the PinePhone can be found here. After Tow-Boot has been installed to your device, Rhino Linux installation just requires flashing the .img.xz to an SD or the eMMC.

Download

Rhino Linux Downloads (select Pine64 on the dropdown)

Default credentials
Default user rhino/1234

Notes

Foundational to the distribution is Pacstall, a Debian-based user repository inspired by the AUR. Additionally, RL comes with Unicorn, a custom modified version of XFCE with various modernizations and improvements, including auto-rotation for mobile devices.

Discord - Matrix - GitHub - Wiki


Sailfish OS

SailfishOS 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

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.

Notes

  • 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 documentation wiki at the github project for help and links.

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.

Download

The repository and instructions can be found here.

Notes

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:

Package 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.


Slackware

Slackware is the world's oldest actively developed Linux distribution, providing a modern user land (applications) and Linux Kernel, within a more classic Unix Operating System environment.

Download

Notes

Discussion: Thread


Ubuntu Touch

Ubports-logo.png

A Mobile Version of the Ubuntu Operating System made and maintained by the UBports Community. The port is currently maintained by Oren Klopfer (oklopfer).

Tow-Boot is required for installing the latest version of Ubuntu Touch (20.04) on the PinePhone. Instructions for installing Tow-Boot to the PinePhone can be found here.

Installation instructions can be found at this UBports post. After Tow-Boot has been installed to your device, Ubuntu Touch installation just requires flashing the .img.xz to an SD or the eMMC.

Download

UBports 20.04 PinePhone Latest Releases

UBports PinePhone Device Info

Default credentials
Default user Set during boot
root phablet/1234

Notes

Scroll down to the middle of the GitLab project page, or directly here at the UBports website to see which features work.

Contributions and bug reports can be made at the UBports PinePhone GitLab page. See UBports website for how to donate.

Further Releases

Apache NuttX RTOS

Apache NuttX RTOS is a Real-Time Operating System that supports PinePhone

Sculpt Operating System (Genode OS Framework)

Sculpt OS since version 23.04 supports PinePhone. Ready-to-use system image available on the download page.

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.


Tow-Boot

Tow-Boot is a more user-friendly distribution of U-Boot. Can also mount internal storage as USB Mass Storage by holding the volume up button at startup before and during the second vibration and the LED will turn blue if done successfully.

See https://github.com/Tow-Boot/Tow-Boot/releases for the latest image. Make sure to download the image with pinephoneA64 in the name.

Hardware test build

Warning: The factorytest image for hardware testing appears to be no longer maintained.

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 flash it to microSD and test from there. New versions are distributed as part of the postmarketOS distribution.

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

Links:

Historic factory 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 a 8 GB or larger microSD card, then insert it into the PinePhone. After power up or reboot, you may perform and complete the test routine, or apply the build from microSD card to eMMC.

All the download links below are direct download from pine64.org.

Warning: These images are for testing purposes only. If you are looking for an up-to-date image please select one from the software releases section instead.
Distribution Download Link File Size MD5
Beta Edition pine64-pinephone-plamo-beta-factorytest.img.xz 1.78GB f16bce93504a52217540ac886863a418
Mobian pine64-pinephone-20201207-factorytest-mobian.img.xz 1.41GB 015be381ff4e650a7fca6d4eaa90d63d
KDE pine64-pinephone-20201208-factorytest-kde.img.xz 2.28GB 32979ff17b5ec4d358ce99f1aff0c77c
Manjaro pine64-pinephone-20201013-manjaro-stable-20201018-factory56.img.xz 1.04GB 4edfd4dceaefdd32a3417c1727161c29
postmarketOS pine64-pinephone-20200726-phosh-v20.05-factory.img.xz 517MB 244093be2f6d728fcbd1d29114607727
Ubuntu Touch PinePhone-flasher-ubuntu-7b.img.gz 1.05GB 2d7f5271e7a281db8f1b1219bedbe131

Installing other ARM64 distributions

Other ARM64 distributions might be installed as well, however this requires some tinkering and may not work well.

Note: 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.

General steps:

  1. Create a boot partition (from 4 MB to about 252 MB) and a root partition (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 instead (in archive mode, like rsync -ar).
  4. Edit /etc/fstab to match your partitions.
  5. Grab megi's kernel from https://xff.cz/kernels/, Follow the instructions in the README, which involves copying the kernel modules into the SD card rootfs, and writing u-boot and the bootloader.

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

Other Resources

Community

Hardware information

Other software information

Other