Android ADB shell suggest change

Granting revoking API 23 permissions

A one-liner that helps granting or revoking vulnerable permissions.

adb shell pm grant <sample.package.id> android.permission.<PERMISSION_NAME>
adb shell pm revoke <sample.package.id> android.permission.<PERMISSION_NAME>
adb install -g /path/to/sample_package.apk

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents