Android: ADB – List Installed Package Names

Objective: List all the installed packages on an Android phone through an ADB shell.

Android package management is done by the pm command on the ADB shell. To list all the installed packages on an Android device, use the following syntax.

To list only the system packages, use the “-s” option.

To list only 3rd party (or non-system) packages, use the “-3” option.

To list the package names as well as the path to the installed APK files, use the “-f” option.

The “-f” option can be combined with the other options as well. For example, to list system package names with the installed package location, use the “-f -s” option.

To list all the disabled package names, use the “-d” option.

To list all the enabled package names, use the “-e” option.

ibrahim = { interested_in(unix, linux, android, open_source, reverse_engineering); coding(c, shell, php, python, java, javascript, nodejs, react); plays_on(xbox, ps4); linux_desktop_user(true); }