How to uninstall an android app which is not possible via UI?

JRichardsz.java
Nov 26, 2022

--

My dad came to me with: I messed up my android. I installed something that can’t be uninstalled now :(

As I’m a android shell ninja, I throw these commands and works:

  • enable developer option, usb debug and adb
  • enter to the android
adb shell

find the app package, listing all the installed

pm list packages -f | grep inst

result is something like this. Package is the final string after /base.apk=

package:/data/app/com.acme.w4b-rdxF_dg==/base.apk=com.acme.w4b
package:/system/priv-app/foo/bar.apk=com.android.foo.bar
package:/data/app/com.looney.toones-wPZ-Bi==/base.apk=com.looney.toones

exit the android session and uninstall the package:

adb uninstall com.looney.toones

That’s all

--

--

JRichardsz.java
JRichardsz.java

Written by JRichardsz.java

Programmer born in vulcan who searches for his internal properties file to perform an overclock in his brain and body. https://stackoverflow.com/users/3957754

No responses yet