Home » Android » ADB Commands » adb shell pm reset-permissions

adb shell pm reset-permissions

The adb shell pm reset-permissions command is used to reset all runtime permissions to their default state for all installed apps on an Android device or emulator. This can be useful during app development or testing when you want to simulate the first-time installation behaviour.

The command is as below,

$ adb shell pm reset-permissions

Make sure your device is connected to your computer, and USB debugging is enabled. This command will revoke all runtime permissions granted by the user to installed apps, and the apps will behave as if they were just installed.

Keep in mind that resetting permissions may affect the functionality of some apps, and users might be prompted to grant permissions again when they use the apps.


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

Leave a Comment