Hi,

The general consensus amongst the Android community is that rooting is detrimental to privacy. In a sense, I agree with them since privilege escalation because of human error becomes a much bigger threat if the user has root access.

Android has a big privacy problem encapsulated in one word: “baseband”. Your modem and other hardware running in your device don’t run FOSS firmware and are likely actively malicious towards your privacy.

I am a Linux user, and I understand that concepts do not necessarily transfer well between the two. With that in mind:

  1. If I wanted to be absolutely certain that sensistive hardware like Camera, Microphone and Modem were truly off, would shutting them off as root hold any real significance?
    • I do not know what the equivalent of Intel ME is called in the Android space, but I doubt that a highly complex OS is running beneath general Android as we know it. I think it’s just the firmware of the individual device that we need to worry about.
  2. Is it possible to replace the bootloader on some Android devices/prevent it from loading unwanted firmware?

With Google taking Android behind closed doors, I suspect we will start seeing some suspicious snippets of code here and there with questionable purpose, but which might be missed by FOSS volunteers because of the sheer volume of work that is. I’m thinking of ways we can try to evade this blatant grab of our personal data.

  • drkt@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    22
    ·
    4 days ago

    I may have misunderstood, but Google isn’t doing Android behind closed doors; it’s just development. The released versions will still be as open as they are now, as far as I’ve understood.

    • shortwavesurfer@lemmy.zip
      link
      fedilink
      arrow-up
      17
      ·
      edit-2
      4 days ago

      That’s my understanding as well. It’s to keep people like the media from being able to determine upcoming functionality by looking at code snippets. So the development would go on in secret, and then once per year, all the final code would be pushed to AOSP. However, OP does make a good point because if you have to examine all the final code at once, you might miss something that would be privacy detrimental.

      • zwekihoyy@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        3 days ago

        aosp code used to be released all in one lump sum at new version launch and Google has actually changed that to being quarterly releases which takes a lot of burden off android based os devs. so things are actively going in the opposite direction you’ve hypothesized here.

    • marauding_gibberish142@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      11
      ·
      edit-2
      4 days ago

      This is setting Google up to eventually say “Aw shucks, might as well make it proprietary, we’re doing it in-house anyway”.

      Edit: I can’t believe this comment got downvoted. I wish I could see who the Google SIMPs are in this community

    • quickenparalysespunk@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      4 days ago

      i think OP is implying the extra time that will be needed on foss volunteers part to review the code at the time [edit: ‘of’] release.

      it’s like pouring liquid into a flimsy plastic cup. drop by drop, the cup can handle it. pour a lot all at once and the cup may tip over and spill.

  • ReversalHatchery@beehaw.org
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    3 days ago

    it is not at all detrimental to privacy. it may be to security. different things.

    of course, until you install something that uses root and mines data. but there are plenty of tools working with root that don’t do that.

    you most probably can’t switch off sensors even with root, effectively. that needs a hardware based switch that just cuts power to the sensor, and requires your physical action to turn it back on.

    Intel ME on android is ARM TrustZone, I think, or at least probably that’s the closest, but take this with a grain of salt.

    but I doubt that a highly complex OS is running beneath general Android as we know it

    afaik the modem often relies on a linux based system

    • marauding_gibberish142@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      Thank you. This was exactly the response I was looking for.

      1. Is it possible to set a password for sudo on Android? I’ve never seen anyone talk about it.

      2. Sucks that I can’t control sensors with root. Sensors are my biggest fear on all phones.

      3. Ah yeah, ARM TrustZone. I had forgotten about that.

      4. afaik the modem often relies on a linux based system

        Well, shit.

      • ReversalHatchery@beehaw.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        3 days ago

        Is it possible to set a password for sudo on Android? I’ve never seen anyone talk about it.

        on android you don’t use sudo, or if it is possible, it is not the usual way. usually there is an app that controls access, and when something wants to start a new program with the su command (switch user), the app pops up a prompt about whether you want to allow it. this prompt can be implemented terribly insecurely or not (or rather the “backend” of it really).

        the most common root solution nowadays is Magisk. it only modifies the bootloader. it is open source. if you look up how it works, its like a sophisticated malware, but handing control to you

        Sucks that I can’t control sensors with root. Sensors are my biggest fear on all phones.

        you can’t for the modem. but for other apps, you can, if that’s worth anything. to me it does, because some sensors are not gated by a permission (gyroscope, compass, magnetometer, proximity sensor, light sensor)

        what android version do you have? on newer ones there’s a developer setting to allow to have a “sensors off” quick settings tile

        Well, shit.

        if you don’t need the modem, you may be able to safely wipe the partition holding its firmware. but look it up if it is safe for your phone! it should be, but who knows. also, make a backup! not 1, but 3!! it holds identifiers like the IMEI, and if you lose that… you can’t really just think up a new one, or the carrier may ban you and another poor soul

  • Anna@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    3 days ago

    If you want to run full Foss system then there is pinephone with Linux OS and physical switches to turn off camera and microphone and other stuff. But it is still in very very early stage and it may increase your privacy but it will definitely reduce your security.

    I understand camera and microphone access to malicious actor could be a valuable. But if you think your phone’s camera is compromised you have bigger problems.

    That being said, graphene OS is considered by far the most secure android OS. It has features to turn off camera, mic, sensors. But more importantly it has a lot of additional security features making it harder for anyone to break in. And that using Graphene is or any other is doesn’t directly make you secure.

    Yes I can agree to assume baseband and all the other proprietary firmware is running a malicious code. But they can’t use it to do mass surveillance, because if they do someone will detect it sooner or later. And also this is not the right tool for mass surveillance. 99% people will and have already downloaded apps that track almost everything they do.

    And if your threat model requires you to be safe from malicious firmware, then maybe smart phones aren’t for you.

  • Lyra_Lycan@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    7
    ·
    4 days ago

    Google has pretty much always been a prick, but recently they’ve been showing just how bug a prick they can be, with ramping up company acquisition, destruction and closure, ad obsession, censorship and other anti consumer moves. I believe rooting is essential to privacy, because Google. The less power conglomerates and corporations have the better.

  • utopiah@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    3 days ago

    The general consensus amongst the Android community is that rooting is detrimental to privacy. In a sense, I agree with them since privilege escalation because of human error becomes a much bigger threat if the user has root access.

    No, that’s BS. It entirely depends on your “threat model” just like security.

    Namely if you go full OSHW/FLOSS and yet you volunteer your data on Facebook.com (or whatever that website is called today) then you have no privacy. It’s not a technical problem, it’s a behavior problem.

    If your threat model is about government hiring dedicated staff to know what you are up to, or that the infrastructure you rely is can’t be trusted, then rooting is the last of your problems.

    I’m not saying you shouldn’t worry but I don’t see the relevance of rooting Android in that situation. Root or not does not somehow change how your modem behaves, you’re still at the mercy of the drivers.

    I recommend you check projects like Precursor (at https://precursor.dev/ redirecting to the CrowdSupply page) which try to tackle, if I understood correctly, the kind of worry you have, namely actually understand the entire stack.

    That being said, even in such context, you still rely on some infrastructure to relay messages to others so you need that and the recipients to also respect your privacy. If not (which would be a fair assumption) then at least you must understand the cryptographic primitives you rely on… and if you don’t (which most people don’t, me included despite my interest in the mathematics behind that, in particular one-way functions) then you have to some trust in the public research in the domain.

    So… I do have a Precursor, tinker with it, PinePhone and PinePhone Pro, had an iOS phone until recently, switched to (rooted) /e/OS and my personal position is that while interacting with others (and a mobile is 100% about that) one has to make pragmatic about their choices.

    • N0x0n@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      That’s some crazy stuff ! Being able to completely change/repair every part is something every smartphone should be capable off…

      We are in a buy/throw away generation amidst a big climate change issue/rare ore depletion… That’s depressing.