Remember how, in one of our previous guides, we talked about Shizuku and how you can use Shizuku and a terminal app to grant special permissions to an app using wireless debugging? That is one method, but we have another app that will make granting permission even easier. So read this guide all the way to the end.
What Is LADB?
The ADB shell has the ability to run commands on the connected Android device. A typical user cannot normally access system resources, but with this application, you can use any system resource as needed. This application allows you to perform a variety of tasks on Android without the need for a PC. The main benefit of using this application is that it will help you save a significant amount of time. It will also make it easier for you to run various commands on your device.
How does it work?
LADB bundles an ADB server within the app libraries. Normally, this server cannot connect to the local device because it requires an active USB connection. However, Android's Wireless ADB Debugging feature allows the server and the client to speak to each other locally.
How To Use It
In this example, we will use LADB to grant Battery Guru the permission WRITE SECURE SETTINGS. Normally, this permission cannot be granted without the presence of a PC; however, LADB allows us to do so via wireless debugging.
STEPS:
The ADB shell has the ability to run commands on the connected Android device. A typical user cannot normally access system resources, but with this application, you can use any system resource as needed. This application allows you to perform a variety of tasks on Android without the need for a PC. The main benefit of using this application is that it will help you save a significant amount of time. It will also make it easier for you to run various commands on your device.
How does it work?
LADB bundles an ADB server within the app libraries. Normally, this server cannot connect to the local device because it requires an active USB connection. However, Android's Wireless ADB Debugging feature allows the server and the client to speak to each other locally.
How To Use It
In this example, we will use LADB to grant Battery Guru the permission WRITE SECURE SETTINGS. Normally, this permission cannot be granted without the presence of a PC; however, LADB allows us to do so via wireless debugging.
STEPS:
- Setup Developer Options And Debugging:
1. About -> Build Number -> Click 7 times
2. Developer Settings -> Wireless ADB Debugging -> On
3. Developer Settings -> ADB Debugging -> On
- Download And Install LADB from Play Store or Compile it from Github
(You can also find Compiled APKs on Telegram) - Open LADB
- Now Open Settings-->Developer Options-->Wirless Debugging Along with LADB using Split Screen to prevent the pair code from Changing
- Now Click On Pair Using Pair Code Option in Wireless Debugging
- Enter the Pair Code And Port From the Popup In LADB and Click Okay
Note: Do Not Exit the split screen. Doing so will lead to unsuccessful Pairing
- If you entered the details correctly your device will get paired
- Now Exit The Split Screen And Open LADB
- Now Input The Command You want to Enter
- In my case that is
--> pm grant com.paget96.batteryguru android.Permission.WRITE_SECURE_SETTINGS
Note: You can try all ADB Shell Commands with LADB. However, while entering them the keyword adb shell should be omitted - Press Enter
- Wait For few Seconds and The permission will be granted
- Now Enjoy
- Similarly, You can grant other permissions just by changing the name of permission
So, This is the end of out guide. Hope it helps you. If it does, do share it with your friends.
Wish You A Good Day!!
Wish You A Good Day!!