adb shell pm revoke <package> <permission>
Revoke runtime permission from an application
Revokes a previously granted runtime permission from the specified application.
adb shell pm revoke <package_name> <permission_name>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:
<package_name>Application Package IDThe unique reverse-domain bundle identifier of the Android application defined in its AndroidManifest.xml.
adb uninstall com.whatsapp (or: adb shell pm clear com.android.chrome)<permission_name>PERMISSION NAME ParameterReplace this placeholder with your specific permission name value.
adb shell pm revoke <package_name> your-permission_name<package>Application Package IDThe unique reverse-domain bundle identifier of the Android application defined in its AndroidManifest.xml.
adb uninstall com.whatsapp (or: adb shell pm clear com.android.chrome)<permission>PERMISSION ParameterReplace this placeholder with your specific permission value.
adb shell pm revoke <package_name> <permission_name>adb shell pm revoke com.example.app android.permission.ACCESS_FINE_LOCATION- Target app installed
adb shell pm revoke <package> <permission>?Submit a correction or request additional examples on GitHub.
Direct technical assistance & ROM flashing troubleshooting by Mohammad Kaif Raja.