• miss_brainfart@lemmy.ml
    link
    fedilink
    English
    arrow-up
    21
    ·
    edit-2
    1 year ago

    If not buying a phone that comes with these preinstalled wasn’t the first option you picked, then ADB is your friend.

    • Install Android Platform Tools on your PC
    • Enable USB debugging in Androids’ developer options
    • Connect phone to PC via USB
    • Open terminal, type adb devices
    • Authorize the connection from your phone
    • Type adb shell, and now you can wreak havoc on your phone

    so only continue if you know what the hell you’re doing

    To uninstall an app, type
    pm uninstall --user 0 *package name*

    For example,
    pm uninstall --user 0 com.facebook.services

    Should you uninstall something by accident, you can reinstall by using
    cmd package install-existing *package name*

    • ximtor@lemm.ee
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      1 year ago

      Note: if you somehow manage to uninstall system packages you can’t reinstall those (afaik). At least i ended up having to reset the phone twice while setting up and trying to change the default camera app. Not the worst on a new phone i guess.

      • miss_brainfart@lemmy.ml
        link
        fedilink
        English
        arrow-up
        7
        ·
        1 year ago

        I guess I’ll file this under only proceed if you know what you’re doing

        I removed a package that was needed for the sim card to function once. Didn’t remember what that package was, because I just went to town without documenting what packages I uninstalled.

        That’s a learning experience right there

    • Chahk@beehaw.org
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      This only disables these packages. Any OTA update re-enables them, and you have to re-disable them again.

      • miss_brainfart@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        It does uninstall them completely.

        However, the installation files are still there for the system to use. A factory reset for example wouldn’t work the way it’s intended to otherwise.

        Though I don’t know about how updates behave in that instance, so that sounds annoying if it’s like this.