Android phones for example

  • BradleyUffner@lemmy.world
    link
    fedilink
    English
    arrow-up
    101
    ·
    6 months ago

    I guess I’m going to be that guy today. Android is Linux, and it’s installed on a lot of mobile devices already.

    • mkwt@lemmy.world
      link
      fedilink
      arrow-up
      27
      ·
      edit-2
      6 months ago

      Another aspect to this is that Android is Linux, but it is not GNU / Linux. This is true both in the literal sense of not using GNU coreutils or glibc, and also in the broader sense.

      What I mean by the “broader” sense:

      • no X or Wayland
      • GTK or Qt support is something an application has to bring with them.
      • filesystem is substantially reorganized
      • users and system permissions setup substantially differently

      To the application programmer Android / Linux looks like a completely different ball game.

      • corsicanguppy@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 months ago

        What prevents Linux from being installed on mobile devices?

        Android is Linux, but it is not GNU / Linux

        You’ll see that’s not the question that was asked. And it’s okay not to give Stallman any more validation for his fame-grab.

    • JetpackJackson@feddit.org
      link
      fedilink
      arrow-up
      13
      ·
      6 months ago

      And you can (sometimes) install something like PostmarketOS which is closer to the kind of linux people think about when they hear “Linux”

    • sun_is_ra@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      11
      ·
      6 months ago

      Android is maintaining a fork of Linux kernel that has since diverged.

      Its like saying MAC is UNIX, technically yes but not really

      • dohpaz42@lemmy.world
        link
        fedilink
        English
        arrow-up
        27
        ·
        6 months ago

        Its like saying MAC is UNIX, technically yes but not really

        macOS is UNIX-based. Period. In fact, “[s]tarting with Leopard, macOS has been certified as compatible with the Single UNIX Specification version 3 (SUSv3).” Source

      • Richard@lemmy.world
        link
        fedilink
        English
        arrow-up
        17
        ·
        edit-2
        6 months ago

        macOS definitely is Unix. In the literal sense that it is actually certified (unlike FreeBSD, for example), and it is very much Unix-y under the hood.

      • stupidcasey@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        6 months ago

        As far as I can tell literally everything (except for windows) is UNIX, it isn’t exactly a high bar to pass, it’s like saying all drinks are water based which is technically true but I’m not going to give a kid a wine box when I run out of juice boxes.

    • zante@lemmy.wtf
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      6 months ago

      I think that Linux is synonymous with open source and freedom and to some extent privacy.

      android is synonymous with Google

      I’m only guessing, but when people ask about a Linux tablet or phone, they actually want the former, rather than the later, even though android is a Linux derivative, as you rightly said.

        • zante@lemmy.wtf
          link
          fedilink
          English
          arrow-up
          7
          ·
          edit-2
          6 months ago

          I don’t know if you are deliberately missing the point ?

          You need a lot more than open source android to make a phone work.

          • dohpaz42@lemmy.world
            link
            fedilink
            English
            arrow-up
            10
            ·
            6 months ago

            I didn’t miss the point. Maybe you’re conflating a distribution with an operating system. But, since you brought it up:

            1. LineageOS
            2. GrapheneOS
            3. Fire OS
            4. Many more…

            My point is that — at least in my eyes — open source is not synonymous with one single project. Do with that what you will.

              • dohpaz42@lemmy.world
                link
                fedilink
                English
                arrow-up
                4
                ·
                6 months ago

                I really shouldn’t feed the trolls, but eh, I’m learning a lot rebuking you, so maybe somebody else can benefit from your ignorance as well:

                GrapheneOS has official production support for the following devices:

                • Pixel 9 Pro Fold (comet)
                • Pixel 9 Pro XL (komodo)
                • Pixel 9 Pro (caiman)
                • Pixel 9 (tokay)
                • Pixel 8a (akita)
                • Pixel 8 Pro (husky)
                • Pixel 8 (shiba)
                • Pixel Fold (felix)
                • Pixel Tablet (tangorpro)
                • Pixel 7a (lynx)
                • Pixel 7 Pro (cheetah)
                • Pixel 7 (panther)
                • Pixel 6a (bluejay)
                • Pixel 6 Pro (raven)
                • Pixel 6 (oriole) Source

                😊

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    20
    ·
    edit-2
    6 months ago

    The processors and peripherals aren’t as uniform as they are on computers. Each SoC has a different set of components, which need drivers and custom set-up mechanics and they’re often only shared between the chip designer and phone manufacturers. A lot of complicated reverse engineering is needed. And that’s often not worth it as there are many different phones on the market and they’re short-lived devices. So we end up in the current situation where we don’t have the operating system foundation / drivers available to the community to build upon.

    There is Linux on phones. A modified Linux kernel runs on every Android device. Just the userland is an entirely different one. And Linux isn’t there yet with the desktop and apps. A lot of features are missing, power saving, delivering messages while sleeping and doing background tasks while saving power in the pocket… It’s kind of a chicken and egg dilemma. We’d need some popular Linux phone so people are motivated to tackle the remaining software issues for a mobile ecosystem. And we won’t get one unless there is some good software so it can be marketed.

  • Ghoelian@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    15
    ·
    edit-2
    6 months ago

    Nothing prevents you drom installing a linux os on an android phone, provided someone made a rom for your device. It’s just not very useable due to proprietary drivers. Ubuntu touch exists for example, but on most phones you can’t even use the cellular antenna iirc

  • PonyOfWar@pawb.social
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    6 months ago

    Nothing really. Someone else already wrote that Android is technically Linux. But you can also get “regular” Linux on mobile devices, it’s just a matter of using a distribution with mobile-friendly UI as well as getting driver support for the phone’s hardware. Ubuntu touch exists for example, but only works on a limited number of devices and even on supported devices it’s not really suitable for the average user yet.

  • axzxc1236@lemm.ee
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    6 months ago

    Pratically no universal way of making Linux boot with ARM processors.

    Much more closed source drivers (than x86 ecosystem).

    • BearOfaTime@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      6 months ago

      This is the key - no universal (i.e. No open standard) BIOS like on PCs.

      We need a BIOS war for ARM, and since Android has it locked down, there’s little competition to push for it, unlike when DOS was trying to become the standard for minicomputers.

  • TXL@sopuli.xyz
    link
    fedilink
    arrow-up
    7
    ·
    6 months ago

    In practice? Constantly changing hardware with soc vendors that publish nothing and device manufacturers that (have to) keep pushing out new models on a short cycle. Plus many of them have extra shenanigans to keep the bootloader locked so you can’t install a recovery (presuming you had a working one) so you could replace the os. There are some rare exceptions, but the hardware is rare and tedious and not many people can or will work on installable Linux on them.

    If you just want to run some Linux userland, there’s ways to do that on top of android, though. Want to get to a Linux like system or run a program? Might be as close as installing a terminal or running adb shell.

  • pelya@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    6 months ago

    You can install Linux on rooted phones using Linux Deploy, or you can install Linux-in-an-app such as Userland or Termux if you don’t have root.