1

I used ADB commands to delete the following from my Pixel:

com.verizon.mips.services com.android.stk com.google.android.apps.youtube.music com.google.android.videos

My mistake is that i forgot to reset their data and cache before running the adb uninstall command. Moreover, I used the command pm uninstall -k --user 0 blindly from an article and i didn't know that the -k switch keeps the data.

Is there any way to delete the data and cache of the above after being uninstalled?

10
  • I haven't tried this but see if this works: adb shell pm clear --user 0 PACKAGE_NAME – Firelord Mar 2 at 6:51
  • Thanks for your permit reply. Will it delete both data and cache for a package name that doesn't exist anymore? I also forgot to mention that my phone is non-rooted. – Maged Mar 2 at 9:38
  • I just tried that command. It doesn't work. Sorry. – Firelord Mar 2 at 10:54
  • pm enable --user 0 <pkgname>; pm uninstall --user 0 <pkgname> – alecxs Mar 3 at 12:05
  • Will factory reset of the phone enough to remove all adb tweaks I've made? – Maged Mar 8 at 4:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.