//list all packages
adb shell pm list packages
//list all android permissions
adb shell pm list permissions -d -g
//grant / revoke permission for a specific package
adb shell pm revoke com.google.android.GoogleCamera android.permission.CAMERA
adb shell pm grant com.google.android.GoogleCamera android.permission.CAMERA
Last active
August 16, 2018 10:04
-
-
Save valentincognito/7b13d3792d1d72c0dae62de815308069 to your computer and use it in GitHub Desktop.
List of useful commands and tips for the android debug bridge
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment