Hi! What would be the best way to limit play serbices to only selected apps. I still need notifications to work from them, but would like to be sure that google can’t access anything else

    • emberpunk@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 months ago

      So if I have two profiles, one with and one without play services and the profile with play services is not active, there’s no active pinging and telemetry going on?

      • Tazerface@lemmings.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 months ago

        Truthfully, I’m not sure. There is a way to get notifications from a second profile when on the main profile so I stands to reason there is something happening on the second profile. I don’t use a second profile so I can’t give a first hand account. It’s why I posted the link for reference.

      • jet@hackertalks.com
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 months ago

        If the profile with Google services is quiesced like suspending your work profile, then no activity should be seen on the network at all. No keep alive no pings etc

    • Shimon@slrpnk.netOP
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      That is a great rundown, thanks! How would I install them on a different custom rom? Upon installing their “apps” store, i can’t see the google play services (this might be because I’m currently on stock)

  • cmrss2@aussie.zone
    link
    fedilink
    arrow-up
    7
    ·
    5 months ago

    I know in GrapheneOS that the Google Play Services are sandboxed and you can install them in a specific user profile, but I’m not sure if doing that still gives you notifications across those profiles

    Hopefully someone with a little more knowledge of this can help? lol

  • Remy Rose@lemmy.one
    link
    fedilink
    English
    arrow-up
    4
    ·
    5 months ago

    If I’m understanding correctly, this sounds just about exactly how GrapheneOS works by default. All GPlay apps work and have notifications, but are sandboxed.

    • Roopappy@lemmy.ml
      link
      fedilink
      English
      arrow-up
      4
      ·
      5 months ago

      I’m really interested in Graphene and Google privacy, but what does it mean when you say "Sandboxed? Like… I want to use Google Maps, does Google still track me? Maybe only when the app is open, and not when it’s closed?

      • Remy Rose@lemmy.one
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 months ago

        I don’t really understand this stuff super well, but… I suspect what it means is that Google can track you while google maps is open, BUT since it doesn’t have access to the rest of your phone, they’ll have no idea who you are anyway?

        • mctoasterson@reddthat.com
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          5 months ago

          And you can also not log into Google Maps. It still lets you use map and navigation etc. But it is denied any explicit methods of identifying you and is left with only probabilistic methods (i.e. you are searching from the same network and therefore same public IP as another device that is known to Google as being associated with your account).

          • jet@hackertalks.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            5 months ago

            This would only be true if you’re using Google maps through a privacy respecting web browser like mull.

            If you’re using the Google maps app, it has hardware identifiers, and can uniquely identify the phone. No guessing required

      • jet@hackertalks.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 months ago

        For grapheneos sandboxed means the Google apps are just regular apps, they don’t have privilege, they’re not escalated, they are exactly the same as other apps. Very specifically, it means Google services are only accessible in the user/profile that they are installed in, and not phone wide

        If you use a Google service, or an app that interacts with the Google apps, then Google knows about it. In graphene OS you can choose what apps have access to Google services, by running them in a different profile.

      • Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        5 months ago

        but what does it mean when you say "Sandboxed?

        By default, on a normal Android device, Google Play services are installed as a system application. It means that you can’t remove it, and it can grant itself the permissions it needs. In contrary, regular user apps run in the Android application sandbox. They are installed by the user, have distinct permission controls that are enforced by the operating system and can be uninstalled at any time. Sandboxed Google Play is a compatibility layer created by the GrapheneOS team, which allows you to run Google Play services (which would normally require system privileges) to run as a normal user app in the regular application sandbox.

  • MajorHavoc@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    5 months ago

    be sure that google can’t access anything else

    Last time I read the GrapheneOS docs, my understanding was that this has been taken care of for you, even when using a single profile.

    • jet@hackertalks.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 months ago

      Apps inside the same profile can consensually communicate via IPC. So if you have Google services running in the work profile, any app in that work profile can talk to them

      • MajorHavoc@programming.dev
        link
        fedilink
        arrow-up
        4
        ·
        5 months ago

        Yep. That’s a good clarification.

        “Apps within the same profile can communicate with mutual consent and it’s no different for sandboxed Google Play.”

        If GFS is installed on a profile, any app in that profile can use it to phone home.

        I suspect that aspect is mostly mitigated, for me. by my not using a Gmail account to sign into any apps. Theoretically, it doesn’t stop them from fingerprinting, in other ways.

        Except:

        “Google Play receives absolutely no special access or privileges on GrapheneOS as opposed to bypassing the app sandbox and receiving a massive amount of highly privileged access.”

        and

        “As with any other app, it can’t access data of other apps and requires explicit user consent to gain access to profile data or the standard permissions.”

        Means that GFS is going to be denied it’s usual fingerprinting solutions.

        Source: https://grapheneos.org/usage#sandboxed-google-play combined with professional experience with privacy technically, and a decent amount of (educated) speculation.

        TL;DR:

        Using separate profiles is better, particularly when using GFS.

        But as someone who doesn’t sign into any Google account and just wants a banking app to work, GFS on the main profile is still way better than stock Android.

  • Shimon@slrpnk.netOP
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    5 months ago

    Update: I ended up going with microG. You can install the apps from f-droid and with insular/shelter copy them to a work profile. It seems that apps outside of the work profile can’t acces these services.

    Edit: do NOT install them to non-work profile and then clone them. Instead, they must be installed directly in work profile. My way of doing this was to clone fdroid and install the microG from (work profile) fdroid. If you were to install them to non-work profile, clone them and uninstall the original, your (or at least mine did) phone will be stuck on “phone is starting” after reboot.

    • jet@hackertalks.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      Great I’m glad you found a solution that works for you. Just be aware Microg is still phone wide, so any app on your phone can talk to Google.

      • Shimon@slrpnk.netOP
        link
        fedilink
        arrow-up
        2
        ·
        5 months ago

        Whan I installed messenger on my non-work profile, it kept crashing. On the work profile with microG it works. I think it still at least limits the access