Software:PostmarketOS

From HandWiki
Revision as of 12:24, 9 February 2024 by MainAI6 (talk | contribs) (update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Free and open-source operating system for smartphones, based on Alpine Linux
postmarketOS
PostmarketOS logo.svg
DeveloperpostmarketOS open-source community
OS familyLinux (Unix-like)
Working stateActive
Source modelOpen source
Initial release26 May 2017; 7 years ago (2017-05-26)
|Final release|Latest release}}23.12 (The One We Asked The Community To Name)[1] / 18 December 2023; 11 months ago (2023-12-18)
Marketing targetOperating system replacement for Android and other mobile devices
Available inEnglish and Czech
Update methodapk-tools (package manager)
Package managerapk-tools (from Alpine Linux)
PlatformsARM, ARM64, x86, x86-64
Kernel typeMonolithic (Linux)
Default user interfacePhosh, Sxmo, Plasma Mobile
Official websitepostmarketos.org

postmarketOS (abbreviated as pmOS) is an operating system primarily for smartphones, based on the Alpine Linux distribution.[2][3][4][5]

postmarketOS was launched on 26 May 2017[3][6] with the source code available on GitHub before migrating to GitLab in 2018.[7] It is capable of running different X and Wayland based user interfaces, such as Plasma Mobile,[8][9] MATE, GNOME 3, and XFCE;[10] later updates added support for Unity8 and Phosh.[11] It is also capable of running Docker, if the device specific kernel has cgroups and relevant configs enabled.[12] The project aims to provide a ten-year lifecycle for smartphones.[13]

Architecture

Unlike many other projects porting conventional Linux distributions to Android phones, postmarketOS does not use the Android build system or userspace. Each phone has only one unique package, and flashable installation images are generated using the pmbootstrap tool.[3] 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.[3] A few devices can boot into the mainline kernel already.[14][15] The project aims to support Android apps, originally through the use of Anbox, which was replaced by Waydroid since postmarketOS v21.12.[16][17]

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.[18][3][19]

State of development

Features

Different tools have been published by the project, including:

  • pmbootstrap,[20][21] a utility to help the process of development with cross compilation;
  • osk-sdl,[22][23] a virtual keyboard to allow decryption of a password during startup (on a device with full disk encryption);
  • charging-sdl,[24] an application contained in the initramfs to display an animation when the phone is charging while off.

Device support

As of May 2020, over two hundred devices are able to boot the operating system, including 92 with WiFi support.[25][26] This includes many smartphones and tablets that originally ran Android,[27][28] as well as some Linux-based Nokia smartphones, such as the N900[29] and N9.[30][14] 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.[31] 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.[32]

In 2018, no devices were yet able to make phone calls with postmarketOS,[33] 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.[34]

Furthermore, the PinePhone launched in 2020, with postmarketOS Community Edition as a first-party operating system.[35]

Porting to a new device

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.[36][20] Examples include GPU drivers such as Lima, which has a proprietary equivalent in userspace on Android that is not subject to the GPLv2 requirements.

Gallery

See also


References

  1. "v23.12: The One We Asked The Community To Name". postmarketOS. 18 December 2023. https://postmarketos.org/blog/2023/12/18/v23.12-release/. 
  2. Staff, OSNews. "100 days of postmarketOS". http://www.osnews.com/story/29993/100_days_of_postmarketOS. 
  3. 3.0 3.1 3.2 3.3 3.4 "Aiming for a 10 year life-cycle for smartphones". https://postmarketos.org/blog/2017/05/26/intro/. 
  4. "PostMarketOS Saves Old Smartphones". Hackaday. 2018-01-09. https://hackaday.com/2018/01/09/postmarketos-saves-old-smartphones/. 
  5. DistroWatch. "DistroWatch.com: Put the fun back into computing. Use Linux, BSD.". https://distrowatch.com/weekly.php?issue=20171113#waiting. 
  6. Ward, Craig (3 January 2018). "PostmarketOS team makes progress towards goal of 10 year smartphone lifecycle - NotebookCheck.net News". Notebookcheck.net. https://www.notebookcheck.net/PostmarketOS-team-makes-progress-towards-goal-of-10-year-smartphone-lifecycle.275964.0.html. 
  7. "postmarketOS is #movingtogitlab". https://postmarketos.org/blog/2018/06/27/moving-to-gitlab/. 
  8. "Get Plasma Mobile". https://plasma-mobile.org/get/. 
  9. Shah, Bhushan (20 November 2017). "14:00 Plasma Mobile". Akademy 2017. http://ftp.icm.edu.pl/packages/kde-applicationdata/akademy/2017/364-plasma-mobile.mp4. 
  10. Verma, Adarsh (2 January 2018). "postmarketOS--A Linux Distro For Smartphones--Now runs Plasma/Lune UI/Xfce On Real Devices". https://fossbytes.com/postmarketos-linux-distro-smartphones-plasma-xfce-real/. 
  11. "600 days of postmarketOS". https://postmarketos.org/blog/2019/01/16/600-days-of-postmarketOS/. 
  12. "User talk:Docker - postmarketOS". https://wiki.postmarketos.org/wiki/User_talk:Docker. 
  13. "Linux-based postmarketOS project aims to give smartphones a 10-year lifecycle". Linux Today. 2017-08-17. https://www.linuxtoday.com/infrastructure/linux-based-postmarketos-project-aims-to-give-smartphones-a-10-year-lifecycle.html. 
  14. 14.0 14.1 "219 days of postmarketOS". https://postmarketos.org/blog/2017/12/31/219-days-of-postmarketOS/. 
  15. Brown, Eric (29 September 2017). "New mobile Linux contenders keep the dream alive". http://linuxgizmos.com/new-mobile-linux-contenders-keeps-the-dream-alive/. 
  16. "postmarketOS // in 2020-02". https://postmarketos.org/blog/2020/02/17/postmarketos-in-2020-02/. 
  17. "Anbox - postmarketOS". https://wiki.postmarketos.org/wiki/Anbox. 
  18. "Librem 5 Leads New Wave of Open Source Mobile Linux Contenders | Linux.com | The source for Linux information". Linux.com. 2017-09-29. https://www.linux.com/blog/2017/9/librem-5-leads-new-wave-open-source-mobile-linux-contenders. 
  19. "postmarketOS is a Touch-Optimized Linux Distro for Portable Devices". Xda-developers.com. 2017-09-05. https://www.xda-developers.com/postmarketos-touch-optimized-linux-distro/. 
  20. 20.0 20.1 Chapman, Christian (2017-08-17). "Porting PostmarketOS to the Motorola Photon Q". Public.asu.edu. http://www.public.asu.edu/~cdchapm2/postmarket-xt897/index.html. 
  21. "pmbootstrap: Sophisticated chroot/build/flash tool to develop and install postmarketOS". postmarketOS. 2018-01-27. https://gitlab.com/postmarketOS/pmbootstrap. 
  22. "Mobile - Debian Wiki". Wiki.debian.org. 2017-12-31. https://wiki.debian.org/Mobile. 
  23. "SDL2 On-screen Keyboard". postmarketOS. 2017-12-31. https://gitlab.com/postmarketOS/osk-sdl. 
  24. "SDL2 charging application for the initramfs". postmarketOS. 2017-12-23. https://gitlab.com/postmarketOS/charging-sdl. 
  25. "Supported devices". 16 May 2020. https://wiki.postmarketos.org/wiki/Devices. 
  26. "postmarketOS now boots on over 200 phones and tablets". 16 May 2020. https://tuxphones.com/postmarketos-boots-200-linux-phones-tablets-sbcs/. 
  27. "Why Mobile Linux Fails - Datamation". 11 September 2017. https://www.datamation.com/open-source/why-mobile-linux-fails.html. 
  28. "Weekly Linux News – January 2, 2018 Lunduke.com". http://lunduke.com/2018/01/02/weekly-linux-news-jan-2nd-2018/. 
  29. "Telefonni revoluce se blizi | OpenAlt 2017 - video zц║znamy a slajdy". Superlectures.com. 2017-11-05. https://www.superlectures.com/openalt2017/telefonni-revoluce-se-blizi. 
  30. "Devices - postmarketOS". https://wiki.postmarketos.org/wiki/Devices. 
  31. "Running postmarketOS on iPhone 7 – project-insanity.org" (in en-US). 16 April 2020. https://blog.project-insanity.org/2020/04/16/running-postmarketos-on-iphone-7/. 
  32. "postmarketOS is finally coming to wearables". 3 May 2021. https://tuxphones.com/postmarketos-linux-targets-smartwatches-wearables-watch-friendly-asteroid-os-ui/. 
  33. "PostmarketOS can run on older gadgets but with limited features". 5 January 2018. https://androidcommunity.com/postmarketos-can-run-on-older-gadgets-but-with-limited-features-20180105/. 
  34. "Devices - postmarketOS". https://wiki.postmarketos.org/wiki/Devices. 
  35. "Linux PinePhone 'Community Edition' with postmarketOS: All You Need to Know". 16 June 2020. https://fossbytes.com/postmarketos-community-edition-pinephone/. 
  36. "Porting to a new device - postmarketOS" (in en). https://wiki.postmarketos.org/wiki/Porting_to_a_new_device. 

External links