Home » Android » ADB Commands » adb shell dumpsys package

adb shell dumpsys package

The adb shell dumpsys package command is used to obtain detailed information about installed packages on an Android device. This command provides information about various aspects of installed packages, including the state of each package, their version codes, permissions, and more.

Here’s an example of how you can use it:

$ adb shell dumpsys package

The output will include information about all installed packages on the device. The information provided can be extensive, covering details about package names, version codes, signatures, and more.

If you want to focus on a specific package, you can include the package name as an argument:

$ adb shell dumpsys package com.example.myapp

Replace com.example.myapp with the package name of the specific app you are interested in.

As with other dumpsys commands, you can redirect the output to a file for easier analysis:

$ adb shell dumpsys package > package_dump.txt

This will save the output to a file named package_dump.txt in the current directory.

dumpsys package is a powerful tool for obtaining information about installed packages on an Android device. It’s commonly used by developers and system administrators for debugging and analyzing package-related issues.


Subscribe our Rurban Life YouTube Channel.. "Rural Life, Urban LifeStyle"

Leave a Comment