-1

I want to research the bloatware that I disabled using pm uninstall -k –user 0 <package> and I just realized that I don't know how to make a list of those specific apps. I can list the file names stored in /system/app but it would be very tedious to find which ones are disabled and also to figure out their package names. pm list has a -d option to display disabled apps, but it only works for apps disabled from within the android menu.

If it helps, the phone in mind is not rooted and it is running Android 6.0.1.

Firelord
  • 25,084
  • 20
  • 124
  • 286
william56
  • 39
  • 1
  • 5

1 Answers1

3
pm list packages -u

This lists all such 'uninstalled' packages in the system.

Robert
  • 20,025
  • 6
  • 47
  • 66
william56
  • 39
  • 1
  • 5
  • 1
    Note that pm list packages -u also includes installed packages (help says "also include uninstalled packages", so you need to diff it against pm list packages without the -u). Further, somewhere around Android 7, pm list packages was replaced by cmd package list. – Izzy Jul 21 '20 at 21:16
  • 4
    Like @Izzy said you need to diff both commands: diff <(adb shell pm list packages) <(adb shell pm list packages -u) – aLx13 Apr 23 '21 at 10:09
  • Right, thanks for the diff command. – Jovylle Nov 25 '22 at 00:49
  • This should be put on the answer area. – Jovylle Nov 25 '22 at 00:50