• Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    26
    ·
    edit-2
    10 hours ago

    Linux sucks on ones especially from a security and usability perspective

    Edit: For those down voting, what OS do you use on your phone? Everything I’ve tried has left a lot to be desired.

    • Lka1988@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      2
      ·
      edit-2
      5 hours ago

      Linux sucks on ones especially from a security and usability perspective

      Linux runs on like 99% of the servers that power the internet, and can do so rather securely.

      Maybe try that again.

    • brunchyvirus@fedia.io
      link
      fedilink
      arrow-up
      15
      ·
      15 hours ago

      I think one the biggest sells, especially for these custom rom’s is privacy to be honest. I don’t really trust Google or Apple with the data they probably collect. During COVID parents were being reported to law enforcement for CSAM when sending pictures of there kids medical issues to doctors(Archive Link).

      One I guess could argue that sure shit happens when it comes to that scenario, but with the political climate in America combined with the fact that some of the largest tech companies seem to be kowtowing to whatever the current administration is doing, probably makes a lot of people rethink privacy and to find alternatives.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        ·
        10 hours ago

        Degoogled android has way more potential from what I can tell. Android has a solid ecosystem of apps while protecting security and privacy. Google is the core problem. Why throw away years of work on AOSP and F-droid.

      • Turret3857@infosec.pub
        link
        fedilink
        English
        arrow-up
        14
        arrow-down
        3
        ·
        edit-2
        15 hours ago

        Since the original user doesn’t actually know the answer to the question asked, its because

        Mobile Linux doesn’t support any sort of verified boot like android does, leaving it open to evil maid attacks

        Mobile Linux doesn’t sandbox applications as well as android, leaving it open to spyware (Think Facebook intercepting Snapchat DMs, not old school steal your credit card spyware)

        and I feel like there’s a third major big thing but I can’t recall it at the moment. Android’s security model is genuinely one of the most secure out of any modern operating system. I’m all for Linux phones, but they need to prioritize parity with Android security before I daily drive one.

        • Evil_Shrubbery@lemmy.zip
          link
          fedilink
          English
          arrow-up
          9
          ·
          edit-2
          15 hours ago

          Yeah, I though of those two & it’s just a thing that would get/will get developed if we get to daily drive Linux phones, imho.

          Its not like it didn’t take Android years to get those two aspects covered.

          • Turret3857@infosec.pub
            link
            fedilink
            English
            arrow-up
            5
            ·
            edit-2
            15 hours ago

            I mean if you want to get technical, KitKat (4.4 in 2013) introduced verified boot. So from Android 1 to 4.4, it took about 5 years. I believe some form of sandboxing has always existed in Android, but the earliest version I can find online was in Android 5.

            I feel like with the backing of Google, they were able to implement such tight security in their mobile OS without much pushback. Mobile Linux in it current state is entirely hobbyists with very few daily drivers. Unless someone can release some stunning Linux mobile hardware that a lot more enthusiasts buy I don’t think we will see any sort of major progression in mobile Linux for some time, as the current method most mobile Linux uses is replacing the bootloader on the phone with an open source implementation which takes a lot of man power to achieve, and it would take even more to make it secure.

            I would absolutely love to be proven wrong about the time frame however. The sooner secure Linux phones hit the market, the better the world will be.

            • Evil_Shrubbery@lemmy.zip
              link
              fedilink
              English
              arrow-up
              3
              ·
              edit-2
              14 hours ago

              Didn’t know/remember about KitKat verified boot, but the sandboxing thing was prob just to kernel & perhaps some system files, def not user or hardware such as cameras. Including between apps & phone contacts, etc.

              And I totally agree about lack of Linux phones (as hardware), the phone market with its size & megacorp subsidies to preinstall spybloatware is a giant hurdle.

              And the real reason for closed sauce drivers (as a practice, not as if they should open-sauce old hardware now - that’s a security risk for unsuspecting folk & iot … but we could def transition the practice).

        • mycodesucks@lemmy.world
          link
          fedilink
          English
          arrow-up
          10
          arrow-down
          3
          ·
          15 hours ago

          Thank GOD. Application sandboxing makes my Android phone UNUSABLE as a daily driver.

          Let the people who can’t manage their own software vetting stay with Android and GIVE ME ACCESS TO MY FILE SYSTEM.

          • Turret3857@infosec.pub
            link
            fedilink
            English
            arrow-up
            12
            arrow-down
            1
            ·
            15 hours ago

            I’m not really sure what about the sandboxing makes it difficult to use. Most of the permissions are switches you can just toggle on or off. You can also root phones that run custom Roms (which are the only phones that are worth a damn IMHO) if you really want access to the entire fs.

            You’re more than welcome to use a less secure system, but most people would generally prefer a secure one.

        • Possibly linux@lemmy.zip
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          edit-2
          10 hours ago

          The mobile linux tends to leave root access enabled plus it doesn’t sandbox apps in the same way as Android. If you visit a web page that manages to exploit your web browser all bets are off since lateral movement is trivial inside the OS.

          Android on the other hand has strong sandboxing and permission control which means that a compromise in one place shouldn’t be able to jump to other places. Android also restricts filesystem access so even if an app is compromised it is difficult to maintain persistence.

          Phones has lots of sensors and are great for tracking people. I would rather that my phones OS be extremely secure so that I’m not the victim of spyware.

        • troed@fedia.io
          link
          fedilink
          arrow-up
          7
          arrow-down
          3
          ·
          14 hours ago

          There’s no “mobile Linux”. Linux supports Secure Boot just fine, and if a distro wants to sandbox applications that too is done by just configuring Linux to do so (after all, that’s what Android does).

          • Possibly linux@lemmy.zip
            link
            fedilink
            English
            arrow-up
            2
            ·
            10 hours ago

            Linux doesn’t have the same permission controls. SElinux profiles would need to be manually configured for each app which would take a lot of time.

            Mobile linux also doesn’t support measured boot which is what is used to protect the system in the case of theft. Before I consider mobile Linux it would be nice if there was a detailed security review of the entire system.

            • troed@fedia.io
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              10 hours ago

              I think this will sort itself out quicker if you show me what “mobile linux” is.

                • troed@fedia.io
                  link
                  fedilink
                  arrow-up
                  1
                  arrow-down
                  1
                  ·
                  7 hours ago

                  You’re talking about specific distros as if they’re some specific variant of Linux. That’s not how it works. Linux is Linux, and if you want to sign your Ubuntu Touch image please go ahead.

            • troed@fedia.io
              link
              fedilink
              arrow-up
              7
              arrow-down
              3
              ·
              14 hours ago

              Why? That has nothing to do with the topic we’re discussing. You can configure Linux as Android does it, or choose not to.

              (Secure Boot is what enables “Verified boot” - which is just Android’s name for a common sense secure boot loader implementation which is the norm in well protected IoT systems etc)

              /ex Sony Mobile dev, nowadays IoT hw/fw ethical hacker

              • Possibly linux@lemmy.zip
                link
                fedilink
                English
                arrow-up
                3
                ·
                10 hours ago

                Android boots in layers that are encrypted with different keys. The first key in the TPM enlocks the base OS up to the lock screen. From there a pin is entered and the rest of the system is decrypted.

                If a compromise happened in the OS the phone would just fail to boot since the integrity of the system is validated by the TPM.

                • troed@fedia.io
                  link
                  fedilink
                  arrow-up
                  2
                  arrow-down
                  2
                  ·
                  10 hours ago

                  Yes, that’s how a normal bootchain works in every system ever - like the IoT device running Linux I’m right now working with.

                  • Possibly linux@lemmy.zip
                    link
                    fedilink
                    English
                    arrow-up
                    2
                    ·
                    8 hours ago

                    It doesn’t though

                    Standard Linux doesn’t check for tampering since that requires hardware and firmware support.

              • Turret3857@infosec.pub
                link
                fedilink
                English
                arrow-up
                5
                ·
                14 hours ago

                2026 is year of Linux phone

                Linux sucks on phones for security

                Why?

                Linux security on phones is not equivalent due to these factors

                but Linux supports these things which are either not exact equivalents or would take an entire Dev team with full time funding to do

                Can you find me a phone & OS that meets those requirements

                Why? that has nothing to do with the topic of Linux security on phones?

                are you being serious with me right now? what about my question wasn’t “on topic”? If the hardware and software don’t exist, its not going to happen and you’re making a hypothetical argument to a factual statement.

                • Possibly linux@lemmy.zip
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  10 hours ago

                  I would love some more open hardware. I think it is possible for it to happen as long as there is a market for it. The difficult part is getting a 5G chipset that isn’t completely tied to a vendor kernel.

                • troed@fedia.io
                  link
                  fedilink
                  arrow-up
                  4
                  arrow-down
                  3
                  ·
                  14 hours ago

                  Linux does not suck on phones regarding security. Linux is what brings the security mechanisms faulty ascribed to as being “Android’s”. See previous posters claiming it was all “extensive modifications” by Android and not just Linux security mechanisms.

                  Feel free to get a Fairphone 4, sign your Ubuntu Touch image with keys supported by the chipset and off you go. The fact that no one is selling you that has no relevance whatsoever to whether “Linux” supports it.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        10 hours ago

        One thing Google seems to be able to do right is security. Android has a strong security architecture that is highly robust. You can straight up download malware or lose your phone and everything stays safe.

        I’m not saying it would be impossible to create a OS that is as secure as Android. However, it would take some very serious work and would likely mean building something from scratch with APIs for permission requests.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        23
        ·
        17 hours ago

        Do you have examples where that isn’t the case?

        Linux phones tend to just be the desktop versions of desktops adapted for a smaller screen.

        Android has well built ecosystem with strong privacy and security features not really found anywhere else. The entire system focuses on least privilege with strong security isolation so even if you do download something bad it will have a hard time doing real damage.

        • fartsparkles@lemmy.world
          link
          fedilink
          English
          arrow-up
          12
          arrow-down
          2
          ·
          15 hours ago

          Errrrmmmm I think this is just an issue either with your choice of distro or your approach to security.

          The Linux ecosystem has by far some of the greatest security technologies available for modern operating systems. Android is a Linux distribution after all.

          Most of the issues with Linux on a phone so far is more the hardware and architecture to support and integrate the hardware.

          Major mobile device manufacturers have secure enclaves, cryptographic co-processors, advanced face/depth cameras, fingerprint readers, etc. The system architecture needs to be tailored to the hardware and security architecture for the threat models mobile devices face that you want to mitigate.

          iOS is Unix deep under the hood, Android is Linux deep under the hood. The issues here aren’t with the kernels, they’re with userspace, hardware selection, and perhaps the odd supporting driver, service, or interface.

          • Possibly linux@lemmy.zip
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            10 hours ago

            Current Linux doesn’t come close to Android. I wish it did but you still need root access and permission controls leave something to be desired. I think that is mostly fine for desktop but on mobile the stakes are much higher since spyware could have much more access.

            • fartsparkles@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              1
              ·
              9 hours ago

              I’m not trying to be rude but none of these points are true. I imagine you’re confusing a single Linux distribution and their architecture with being representative of Linux as a whole. You can indeed spin an unprivileged, immutable distribution with SELinux for MAC, hardened kernel, and so much more, which would blow Android et al out of the water.

              • Possibly linux@lemmy.zip
                link
                fedilink
                English
                arrow-up
                2
                ·
                edit-2
                8 hours ago

                Source?

                I’m basing this all on the Android documentation along with my experience on desktop Linux. I would love if there was a Linux system that was as solid as Android but I haven’t seen anything as of yet.

                • fartsparkles@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  arrow-down
                  2
                  ·
                  6 hours ago

                  Build it. Gentoo, Arch, and any other minimalist distro where there’s less userspace fluff out of the box can easily be configured to be incredibly hardened.

                  Your looking for a desktop distribution that doesn’t really exist out of the box (perhaps Qubes). Android is a mobile OS for a reason and has a different architecture in userspace to accommodate for is threat model and use cases.

                  Just because desktop distros don’t typically lock down userspace out of the box doesn’t mean it’s not possible.

                  No specific sources as this is just generic Linux. Just look up hardening guides for various distros like Arch etc.

        • troed@fedia.io
          link
          fedilink
          arrow-up
          7
          arrow-down
          4
          ·
          16 hours ago

          Android is Linux, and uses regular Linux security mechanisms.

          • tired_n_bored@lemmy.world
            link
            fedilink
            English
            arrow-up
            8
            arrow-down
            3
            ·
            16 hours ago

            That’s not the case. Android is extensively modified in order to have sandboxed applications only and restrictive hardware permissions.

            Run any executable on Linux. Likely by default it can access ~/Photos and the webcam. Android doesn’t allow that

            • Fedizen@lemmy.world
              link
              fedilink
              English
              arrow-up
              8
              arrow-down
              2
              ·
              edit-2
              15 hours ago

              I’ve looked at a couple linux phones and those tend to be designed with hardware switches for antennas and cameras, which I would argue are more secure

            • troed@fedia.io
              link
              fedilink
              arrow-up
              8
              arrow-down
              3
              ·
              15 hours ago

              “uses regular Linux security mechanisms” is true regardless of whether any distributions you use configure them the same way or not.

              The Android platform takes advantage of the Linux user-based protection to identify and isolate app resources.

              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 or superuser privileges (Linux capabilities).

              https://source.android.com/docs/security/features

            • Evil_Shrubbery@lemmy.zip
              link
              fedilink
              English
              arrow-up
              5
              arrow-down
              1
              ·
              edit-2
              15 hours ago

              Flatpak?
              And some level of immutability?

              It doesn’t seem like much of a step for Linux distros to cover the “gap” if/when we get any sort of viable mobile options for eg 1% of the market.

              • Possibly linux@lemmy.zip
                link
                fedilink
                English
                arrow-up
                2
                ·
                10 hours ago

                Flatpak has promise but the sandbox much weaker than Android. I wouldn’t run anything untrusted with it as sandbox escapes are likely possible. Bubblewrap is highly portable at the cost of being less secure. Kernel level sandboxing such as SElinux and Namespaces are much more bulletproof since they leverage the kernel.

                Honestly if you are building something from the ground up I would instead focus on virtualization since the Linux kernel isn’t exactly free of security issues.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        edit-2
        10 hours ago

        Android has very strong security sandboxing and tight permission control. It also tracks the integrity of the system so it is very hard to tamper with the boot process. Everything is encrypted and the entire system is very hard to break into even with physical access.

        Android is really impressive if you dig into the bolts. While I would love to see something on Linux do something similar I haven’t seen any OS come close.

    • Comrade_Squid@lemmy.ml
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      2
      ·
      12 hours ago

      One thing that is neglected with android vs Linux is the application style. Mainstream Linux distros direct compile from source, this means users can read the source code and report any malicious code which has happened, with incredible speed. We don’t have that with androids APK files, therefore android needs a much more robust security system. There are other reasons too, like google opening its flood gates to banking apps, if Linux is ever even semi successful (I doubt it will out compete apples or google) in mobile os, banking and high security commercial services will be relegated to the browser.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        10 hours ago

        This is a frankly a bad take. Just because something is foss doesn’t mean that it can’t poss a risk. Software tends to have security vulnerabilities and supply chain attacks. From a security perspective you want to follow best practices such as least privilege and defense in depth. Blinding trusting software is not a good idea regardless of the source.