Restrict permissions with XPrivacy

Decide what personal info and hardware apps can access
It was recently announced that the next generation of Android, Android M, will give users granular control over app permissions. However, if you’ve got a rooted device you can already do this with the XPrivacy module. This lets you to select apps and deny them access to various information on your phone. As well as this, it will also let you fool your phone to protect your privacy. You can manually input a location, new number and a host of other details so an app believes you’re elsewhere or sends the wrong phone number to apps to keep your real details safe. Read on to find out how to install XPrivacy, block apps from mining your data and change your settings to keep your identity secret.

Steps :- 

1. Install XPrivacy



To begin, ensure your phone is rooted and you have the Xposed Framework installed. Then either go to the Xposed Module Repository (http://goo.gl/KK8yMB) or search for [Root] XPrivacy Installer in the Google Play store and download the free app.

2. See your apps list



Reboot your device. Head into the Xposed Installer app and tick the box next to XPrivacy. Reboot your phone again and this should cause XPrivacy to become active. If this is the case, open up XPrivacy and you will see your full list of apps.

3. Fool your phone 



Tap the menu in the top right and hit Settings. This is where you can trick your phone into giving out fake details. Change your location, phone number or any of the other options. When apps read this information it will take its details from here.

4. Deny specific permissions



Tap on a particular app and a screen will appear showing all the permissions you have granted it. By pressing the tick next to it, the app will believe the data in your new Settings list, such as your pretend location.

5. Restart your handset



Once you have selected the permissions you want to remove from the account, restart your phone. When it turns back on, the app should now be reading the fake data. Remember apps sometimes require genuine data to work, such as Google Maps.

6. Block all permissions



If you want to perform a blanket deny on all permissions for an app, hit the tick box next to the app name and it will automatically tick everything off for you. This is a particularly useful procedure for games because they shouldn’t need to access anything.