Back in years, rooting your android device allowed us to gain administrator level rights and perform various task. However, root is old fashioned these days as Shizuku, an app that makes it easy to grant special permissions to other apps without rooting your device.
Earlier, to grant admin privileges to apps on Android, you needed your device to be rooted and use superuser managers like Magisk Manager or Supersu. This is where comes shizuku. What Shizuku does is allow regular applications to directly take advantage of the system APIs with ADB privileges. You may have come across apps like AppOps, SAI, Tachiyomi etc which utilizes shizuku to perform different tasks.
What Is Shizuku:
Shizuku is a tool that application developers can use to more easily access certain system APIs. In some cases, it serves as an alternative to root if the only reason the app required root was to get ADB permissions.
Shizuku can help normal apps uses system APIs directly with adb/root privileges with a Java process started with app_process.
Why Shizuku:
Shizuku has two main purposes.
What Does it do?
The Shizuku app will direct the user to run a process (Shizuku service process) using root or adb.
The advantages of Shizuku are:
You can learn more about Shizuku from here
Shizuku is a tool that application developers can use to more easily access certain system APIs. In some cases, it serves as an alternative to root if the only reason the app required root was to get ADB permissions.
Shizuku can help normal apps uses system APIs directly with adb/root privileges with a Java process started with app_process.
Why Shizuku:
Shizuku has two main purposes.
- Provide a convenient way to use system APIs
- Convenient for the development of some apps that only requires adb permissions
What Does it do?
The Shizuku app will direct the user to run a process (Shizuku service process) using root or adb.
- When the app process starts, the Shizuku service process sends the binder to the app process.
- The app interacts with the Shizuku service through the binder, and the Shizuku service process interacts with the system server through the binder.
The advantages of Shizuku are:
- Minimal extra time and performance consumption
- It is almost identical to the direct invocation API experience (app developers only need to add a small amount of code)
You can learn more about Shizuku from here
How to Install And Setup Shizuku
You can download latest version of Shizuku from:-You can setup shizuku in 3 different ways
1. Root Method
Simply press the start button as shown below:
Simply press the start button as shown below:
This is the easiest of all methods. In addition Shizuku can be started automatically on boot. If not, please check if your system or third-party tools have restriced Shizuku.
You can refer to Don't kill my app!.
Note: If you dont know how to root your device you can check about root from here
You can refer to Don't kill my app!.
Note: If you dont know how to root your device you can check about root from here
2. ADB Method
1. What is adb?
Android Debug Bridge (adb) is a versatile command-line tool that lets you communicate with a device. The adb command facilitates a variety of device actions, such as installing and debugging apps, and it provides access to a Unix shell that you Can use to run a variety of commands on a device.
2. Install adb
- Download and install ADB and Fastboot Installer from here
- Open the folder, right click to select
- Windows 10: Open PowerShell windows here (hold down Shift to show this option)
- Windows 7: Open command window here (hold down Shift to show this option)
- Mac or Linux: Open Terminal
- Enter ''adb"
if success, you can see a long list of content instead of the prompt not finding adb.
NOTE:
To use adb you first need to turn on USB debugging on your device, usually by following these steps: - Open system Settings and go to About.
- Click "Build number" quickly for several times, you can see a message similar to "You are a developer".
- At this point, you should able to find "Developer Options" in Settings, enable "USB Debugging".
- Connect the device to the computer and type adb devices in the terminal.
- At this time, the dialog "Allow debugging" will appear on the device, check "Always allow" and confirm.
- Enter adb devices again in the terminal. If there is no problem, you will see something like the following.
3. Start Shizuku
- adb shell sh /sdcard/Android/data/moe.shizuku.priviledged.api/start.sh
Please note:
After the device restarts, it needs to be connected to the computer again by following the same procedure again
3. Wireless debugging Method
Android 11 and above support wireless debugging, so you can launch Shizuku directly on your device.
The following applies to Shizuku 12.4.0+.Enable Wireless debugging
Android 11 and above support wireless debugging, so you can launch Shizuku directly on your device.
The following applies to Shizuku 12.4.0+.Enable Wireless debugging
- Enable "Developer options" and "USB Debugging"
2. Open Shizuku App
3. Click on Pairing and then Click on Developer options
3. Click on Pairing and then Click on Developer options
4. Now Search for Wireless Debugging and Click on it
5. Click on Pair device with pairing code
6. Now enter the Wi-Fi pairing code in the shizuku's floating window and press the button next to it
6. Now enter the Wi-Fi pairing code in the shizuku's floating window and press the button next to it
7. Once code is successfully enter your device should be paired and you should see something like this.
8. Return to Shizuku and press Start
9. Now Shizuku services should be started and you can use it with your desired apps :D
9. Now Shizuku services should be started and you can use it with your desired apps :D
Note:
- After the device restarts, you need to enable the "Wireless debugging" option again and restart Shizuku.
- "Wireless debugging" cannot be enabled when there is no WiFi connection (Shizuku already started is not affected).
- Do not disable "Developer options" or "USB debugging".
Author
--Anurag