Download this app to your desktop
***ROOT or ADB REQUIRED*** If you don't know what root/adb is, please search with Google.
AppOpsX is a front-end application for the Android AppOpsService. It allows you to restrict app permissions.
Group apps by permissions
Import/Export backup file
Automatically turn off permissions
AppOpsX is open source software, you can find the source here: https://github.com/8enet/AppOpsX