adb shell pm list packages
List installed application packages
Queries the Package Manager service and prints the complete list of package names installed on the system.
adb shell pm list packages [-3] [-s] [-d] [-e] [-f] [filter]This command syntax includes specific placeholder tokens. Below is an explanation of what each word represents and concrete real-world values to replace it with:
[-3] 3 ParameterReplace this placeholder with your specific 3 value.
adb shell pm list packages your--3 [-s] [-d] [-e] [-f] [filter][-s] S ParameterReplace this placeholder with your specific s value.
adb shell pm list packages [-3] your--s [-d] [-e] [-f] [filter][-d] D ParameterReplace this placeholder with your specific d value.
adb shell pm list packages [-3] [-s] your--d [-e] [-f] [filter][-e] E ParameterReplace this placeholder with your specific e value.
adb shell pm list packages [-3] [-s] [-d] your--e [-f] [filter][-f] F ParameterReplace this placeholder with your specific f value.
adb shell pm list packages [-3] [-s] [-d] [-e] your--f [filter][filter]FILTER ParameterReplace this placeholder with your specific filter value.
adb shell pm list packages [-3] [-s] [-d] [-e] [-f] your-filteradb shell pm list packagesadb shell pm list packages -3adb shell pm list packages -sadb shell pm list packages | grep google| Flag / Parameter | Description |
|---|---|
| -3 | Show third-party (user-installed) packages only. |
| -s | Show system packages only. |
| -d | Filter only disabled packages. |
| -e | Filter only enabled packages. |
| -f | Print the associated APK path along with package name. |
- Device connected and authorized
adb shell pm list packages?Submit a correction or request additional examples on GitHub.
Direct technical assistance & ROM flashing troubleshooting by Mohammad Kaif Raja.