Skip to content

Instantly share code, notes, and snippets.

@nitiwari-dev
nitiwari-dev / grant_all_permissions.sh
Last active July 1, 2023 04:45
How to grant all permissions at once in marshmallow using shell script
#!/bin/sh
#Author - Nitesh Tiwari
#Github - https://github.com/nitiwari-dev
#add your package_name
PACKAGE=com.coderconsole
#create array with all the permission you need to enabled
PKG_ARRAY='android.permission.CALL_PHONE
android.permission.GET_ACCOUNTS