How to properly get rid of crappy auto-installed apps that you can’t easily remove.
- Install Android Debug Bridge (ADB) on your PC
https://developer.android.com/tools/adb
ADB is a command-line tool to execute commands from your PC to your phone.
- Enable developer mode on your phone
https://developer.android.com/studio/debug/dev-options
It’s required to enable the USB debugging toggle, which is needed for ADB.
- Use ADB to do anything
Attention
ADB gives you more power over your phone, be careful to not make it unusable.
Plug your phone into your PC, it should ask you to confirm the debugging connection. Once done, open your terminal and try the following commands.
List the plugged devices:
adb devices
Get inside the shell:
adb shell
Show the currently focused application id:
dumpsys window windows | grep -E 'mFocusedApp'| cut -d / -f 1 | cut -d " " -f 7
Uninstall any app (use the app id from the previous command):
pm uninstall -k --user 0 foo.bar.packageid
List all the installed apps:
pm list packages
You can also use grep
to filter:
pm list packages | grep google