Don’t say, hey android has Linux in it, yeah no, idc, I want to know how far we are from buying a Linux phone at a price point of 200 USD.

A Linux phone is one which is built completely on Linux, uses Linux apps and most important has a terminal.

I don’t want a Linux Phone for privacy, although that’s a great reason, but I want it for the freedom it provides me. Hell, I don’t care if Android itself comes with a terminal and has similar features to Linux, I just want a Terminal which can install apps, where I can write commands and it will execute it. Complete Control on my phone and how it behaves is what I want.

I want to tell it when to sleep, when not to sleep, when to boot, when to edit a file and how, when to take a screenshot and what to do with it and where to save it, etc, etc. I hope you get the idea.

  • elouboub@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    10 months ago

    Note: Linux phones are notoriously insecure (source) but please correct me if you know better

    A few points

    Operating systems like Android and ChromeOS have full system mandatory access control, every process from the init process is strictly confined.

    Android uses SELinux for mandatory access control as per their own docs

    As part of the Android security model, Android uses Security-Enhanced Linux (SELinux) to enforce mandatory access control (MAC) over all processes, even processes running with root/superuser privileges (Linux capabilities)

    As for ChromeOS, it’s built upon Linux and that blurred line between Chrome and Linux is being completely removed –> hello Linux And ChromeOS aka LACROS

    To make matters worse, some system daemons are not designed with permission control in mind at all. For example, PulseAudio does not have any concept of audio in or out permission.

    PulseAudio is due to be replaced by PipeWire which

    was designed with a powerful security model that makes interacting with audio and video devices from containerized applications easy.

    https://github.com/mikeroyal/PipeWire-Guide

    There’s also Wayland, which is being written to replace X11. It has better security

    Wayland isolates the input and output of every window, achieving confidentiality, integrity and availability for both.

    While it’s true that many apps aren’t designed with security in mind, flatpak and snap packages have their portals API. The author did mention that they are underutilized, but that’s slowly changing.

    Additionally, immutable distros (nixOS, Fedora silverblue) do exist, which make it quite hard for unauthorised applications to modify root partitions since they are mounted as read-only. Mobile NixOS is still in its infancy, but it’s being worked on.


    In conclusion, security on linux isn’t hopeless, there are solutions being worked on, and improvements in linux phones will benefit all desktop users, unlike distros like Android and ChromeOS that build custom solutions that aren’t contributed back to the community.