Are you away from your pc? Are you tired of plugging USB cable again and again and dont want to root your device just to grant a few permissions.
If yes, this guide is just for you. In this post, we will guide you to grant special/system-level permissions to certain apps using an app called Shizuku.
If yes, this guide is just for you. In this post, we will guide you to grant special/system-level permissions to certain apps using an app called Shizuku.
In this post we will take Battery Guru as an example to give it special permissions.
Requirements:
STEPS:
1. Setup Shizuku (if you don't know about shizuku and how to use it you can refer here
2. Click on Use Shizuku in terminal apps and then click on export files.
Requirements:
- Shizuku Manager (LATEST)
- TERMUX or Any other terminal App
STEPS:
1. Setup Shizuku (if you don't know about shizuku and how to use it you can refer here
2. Click on Use Shizuku in terminal apps and then click on export files.
3. Select the desired location and save
This will save two file rish and rish_shizuku.dex in the directory ( for eg i have saved them in a folder named Shizuku).
This will save two file rish and rish_shizuku.dex in the directory ( for eg i have saved them in a folder named Shizuku).
4. Open your File Manager and navigate to the location where you exported the files
5. Open file named rish with a text editor and replace the word PKG with package name of your terminal app. For eg i have replace it with com.termux and save.
5. Open file named rish with a text editor and replace the word PKG with package name of your terminal app. For eg i have replace it with com.termux and save.
6. Open your terminal application and navigate to the folder where you have exported the files using cd command
7. Now type
7. Now type
- sh rish
7. Identify the command needed for granting permission
Battery Guru requires Modify secure system settings permission to apply doze parameter and perform various task
Battery Guru requires Modify secure system settings permission to apply doze parameter and perform various task
8. Type the commands in the terminal without using the keyword adb or shell and execute it.
In my case:
In my case:
- pm grant com.paget96.batteryguru android.permission.WRITE_SECURE_SETTINGS
Now the permission should have been granted to the apps and you can use your desired apps to perform elevated task
Author
--Anurag