Remove unwanted apps from older Android OS

Some time ago, after an (un 😀) fortunate chain of events, I got my hands on an Alcatel Pixi 8079 – which has really-really low performance. Therefore, some of the preinstalled apps need to go.

The problem: some (e.g. Facebook) cannot simply be uninstalled. Hence, the current article about the ADB method to uninstall apps.

Prerequisites

  • Install ADB on your computer
    To install ADB on your computer, follow the steps in the tutorial here.
  • Identify versions
    Use App Inspector to identify which programs you want uninstalled.

Uninstall an app

  1. Enable USB debugging and allow the debugging connection;
  2. Open a terminal;
  3. adb devices to see the available devices;
  4. Use App inspector to find the version of the app you want to uninstall – in our case it’s the Facebook app;
  5. adb shell pm list users
    View the list of users – this is not a mandatory step, but everything is ok if you see the user 0 (zero)
  6. adb shell pm uninstall -k --user 0 com.facebook.katana
    This is the uninstall command for the Facebook app identified on the Pixi tablet

Sources

  • https://android.gadgethacks.com/how-to/android-basics-install-adb-fastboot-mac-linux-windows-0164225/
  • https://android.gadgethacks.com/how-to/3-ways-remove-facebook-if-came-preinstalled-your-android-phone-no-root-needed-0184938/
  • https://developer.android.com/studio/releases/platform-tools
  • https://guides.codepath.com/android/installing-android-sdk-tools
  • https://stackoverflow.com/questions/31374085/installing-adb-on-macos
  • https://www.kingoapp.com/root-tutorials/how-to-enable-usb-debugging-mode-on-android-5-lollipop.htm
  • http://adbshell.com/commands/adb-connect