• coffeeClean@infosec.pubOP
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    9 months ago

    I think someone mentioned this is in the Playstore services stuff that’s hardwired in to the platform. Which means if a device is unrooted you can possibly do: $ adb shell 'pm disable --user 13 com.google.android.gms'.

    • TheAnonymouseJoker@lemmy.ml
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      9 months ago

      User ID is 0, not 13, for the main phone user. Work is usually 10, could be different.

      Also, to check list of users, adb shell pm list users

      • coffeeClean@infosec.pubOP
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        I think I read somewhere it’s normally 13, and that’s what worked for me. Thanks for the ‘list users’ command… that confirmed it on my phone.