PostmarketOS
Free and open-source operating system for smartphones, based on Alpine Linux From Wikipedia, the free encyclopedia
Remove ads
Free and open-source operating system for smartphones, based on Alpine Linux From Wikipedia, the free encyclopedia
postmarketOS (abbreviated as pmOS) is an operating system primarily for smartphones, based on the Alpine Linux distribution.[3][4][5][6]
Developer | postmarketOS open-source community |
---|---|
OS family | Linux (Unix-like) |
Working state | Active |
Source model | Open source |
Initial release | 26 May 2017 |
Latest release | 24.06 (The One With Over 250 Devices)[1] / 16 June 2024 |
Repository | |
Marketing target | Operating system replacement for Android and other mobile devices |
Available in | English, Czech, German, French, Italian, Spanish, etc. |
Update method | apk-tools (package manager) |
Package manager | apk-tools (from Alpine Linux) |
Platforms | ARM, ARM64, x86, x86-64 |
Kernel type | Monolithic (Linux) |
Default user interface | GNOME, Phosh, Sway, Sxmo[2] |
Official website | postmarketos |
postmarketOS was launched on 26 May 2017[4][7] with the source code available on GitHub before migrating to GitLab in 2018.[8] It is capable of running different X and Wayland based user interfaces, such as Plasma Mobile,[9][10] MATE, GNOME, and XFCE;[11] later updates added support for Unity8 and Phosh.[12] It is also capable of running Docker, if the device specific kernel has cgroups and relevant configs enabled.[13] The project aims to provide a ten-year lifecycle for smartphones.[14]
Oliver Smith started developing postmarketOS in 2016.[15]
Unlike many other projects porting conventional Linux distributions to Android phones, postmarketOS does not use the Android build system or userspace.[16] Each phone has only one unique package, and flashable installation images are generated using the pmbootstrap
tool.[4] The project intends to support the mainline Linux kernel on all phones in the future, instead of the often outdated Android-specific fork, to reduce the potential for security exploits.[4] A few devices can boot into the mainline kernel already.[17][18] The project aims to support Android apps, originally through the use of Anbox, which was replaced by Waydroid since postmarketOS v21.12.[19][20]
Alpine Linux was chosen as the base distribution due to its low storage requirements, making it more suitable for older devices. Excluding the kernel, a base installation takes up approximately 6 MB.[21][4][22] In March 2024, the maintainers announced that postmarketOS would migrate from OpenRC to systemd as its init system for select user interfaces.[23]
As of 2024, it is work-in-progress software intended for power users.[24]
Different tools have been published by the project, including:
pmbootstrap
,[25][26] a utility to help the process of development with cross compilation;osk-sdl
,[27][28] a virtual keyboard to allow decryption of a password during startup (on a device with full disk encryption);charging-sdl
,[29] an application contained in the initramfs to display an animation when the phone is charging while off.As of May 2020, over two hundred devices are able to boot the operating system, including 92 with WiFi support.[30][31] This includes many smartphones and tablets that originally ran Android,[32][33] as well as some Linux-based Nokia smartphones, such as the N900[34] and N9.[35][17] After Corellium's Project Sandcastle ported the Linux kernel to some iPhone versions, postmarketOS was also seen to boot on it, although no persistent flashing is supported at the moment.[36] As of May 2021, support for wearable devices (including Google Glass and smartwatches like the LG G Watch) has been improved through integration with the AsteroidOS user interface and work on mainline kernel for the LG G Watch R.[37]
In 2018, no devices were yet able to make phone calls with postmarketOS,[38] although significant efforts were being made in this regard. By 2020, a number of devices were fully or mostly supported, including for phone calls, SMS messages and mobile data. These included the BQ Aquaris X5, Librem 5, Nokia N900, Motorola Moto G4 Play, Samsung Galaxy A3 (2015), Samsung Galaxy A5 (2015), and Wileyfox Swift.[39]
Furthermore, the PinePhone launched in 2020, with postmarketOS Community Edition as a first-party operating system.[40]
The development process to make a new device compatible with the operating system consists of creating a phone-specific package using the pmbootstrap
tool. For that, the use of the Linux kernel from the device's original manufacturer is often necessary. The source code of the original kernel is often made available by compliance with the requirements of the GPLv2 license, but some drivers necessary for the operation of the device may not be available, and must, therefore, be recreated.[41][25] Examples include GPU drivers such as Lima, which has a proprietary equivalent in userspace on Android that is not subject to the GPLv2 requirements.
Only the PinePhone[42] and few others devices seems to have the camera working. It's in WIP for the Fairphone.
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.