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. This is why some of the preinstalled apps need to go.
The problem is that some applications simply cannot simply be uninstalled. ADB provides a method to uninstall apps. One such application is Facebook.
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
- Enable USB debugging and allow the debugging connection;
- Open a terminal;
adb devices
to see the available devices;- Use
App inspector
to find the version of the app you want to uninstall – in our case it’s the Facebook app; adb shell pm list users
View the list of users – this is not a mandatory step, but everything is ok if you see the user0
(zero)adb shell pm uninstall -k --user 0 com.facebook.katana
This is the uninstall command for the Facebook app identified on the Pixi tablet
Various commands
These are random commands ran in the terminal of a MacOS operating system. If ran on other operating system, some tweaks might be needed:
adb shell pm list packages | grep alcatel | sed -n 's/^package:*//p'
List all packages withalcatel
in their name and without thepackage:
prefix.adb shell pm list packages | grep alcatel | sed -n 's/^package:*//p' | xargs -n1 echo hey: $1
This does the same as the above, but for each line it runs the echo command.
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
- https://www.christitus.com/debloat-android/