Is there hope for Linux on smartphones

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • termux-archlinux

    You can use setupTermuxArch.bash 📲 to install Arch Linux in Termux on Amazon, Android, Chromebook and Windows. https://sdrausty.github.io/termux-archlinux/

  • Arch Linux can be installed on Android with Termux

    I run scipy and numpy on my phone with it. A bit painful but I wrote a few thousand lines of ML code with vim on my cell phone in the last two months.

    https://github.com/SDRausty/termux-archlinux/

  • safetynet-fix

    Google SafetyNet attestation workarounds for Magisk

  • If you rooted it via Magisk, the DenyList feature and the module "Universal SafetyNet Fix" should help you out [0]. If you're running a custom firmware, you might need to resort to patching the device properties [1].

    [0] https://github.com/kdrag0n/safetynet-fix

    [1] https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • MagiskHidePropsConf

    This tool is now dead...

  • If you rooted it via Magisk, the DenyList feature and the module "Universal SafetyNet Fix" should help you out [0]. If you're running a custom firmware, you might need to resort to patching the device properties [1].

    [0] https://github.com/kdrag0n/safetynet-fix

    [1] https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf

  • waydroid

    Waydroid uses a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu.

  • > The problem with alternative phone OS:es is that in the country I live you must have either an iPhone or and Android phone because the ID monopoly and Payment monopoly refuse to support other operating systems...

    In theory its possible to run a user-land Android subsystem on Linux (and thus on Linux phones) via Anbox or Waydroid.

    In practice, I've never tried this on my PinePhone since I never needed it, so I have no idea how well this works or of it works at all.

    [1] https://anbox.io/

    [2] https://github.com/waydroid/waydroid

  • anbox

    Discontinued Anbox is a container-based approach to boot a full Android system on a regular GNU/Linux system

  • > The problem with alternative phone OS:es is that in the country I live you must have either an iPhone or and Android phone because the ID monopoly and Payment monopoly refuse to support other operating systems...

    In theory its possible to run a user-land Android subsystem on Linux (and thus on Linux phones) via Anbox or Waydroid.

    In practice, I've never tried this on my PinePhone since I never needed it, so I have no idea how well this works or of it works at all.

    [1] https://anbox.io/

    [2] https://github.com/waydroid/waydroid

  • proot

    chroot, mount --bind, and binfmt_misc without privilege/setup for Linux

  • Since they mentioned proot, that won't require a rooted device, see: https://proot-me.github.io/

    I was also able to get a decent Ubuntu distribution including a desktop environment running on a non-rooted device, even got Blender to render the popular BMW demo, though that took a while.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts