Navigate:
Shizuku
~$SHIZU1.6%

Shizuku: System API access via ADB/root

Android framework enabling apps to access system APIs with elevated privileges via ADB or root.

LIVE RANKINGS • 11:32 AM • STEADY
TOP 50TOP 50TOP 50TOP 50TOP 50TOP 50TOP 50TOP 50TOP 50TOP 50TOP 50TOP 50
OVERALL
#30
4
MOBILE & DESKTOP
#1
1
30 DAY RANKING TREND
ovr#30
·Mobil#1
STARS
22.3K
FORKS
2.1K
7D STARS
+344
7D FORKS
+39
See Repo:
Share:

Learn more about Shizuku

Shizuku is an Android framework that provides system-level API access to regular applications without requiring root modifications to the apps themselves. It works by running a privileged server process with ADB or root permissions that acts as a binder proxy between client applications and Android's system services. The framework intercepts API calls from apps, forwards them to the system server with elevated privileges, and returns the results back to the requesting application. This approach is commonly used for device management apps, system utilities, and applications that need to perform administrative tasks like enabling/disabling components or accessing restricted system information.

Shizuku

1

Binder Proxy Architecture

Uses Android's native binder IPC mechanism to proxy system service calls through a privileged intermediary process. This maintains the standard Android API interface while elevating permissions transparently.

2

ADB Alternative

Provides system API access through ADB permissions without requiring full root access. This allows privileged operations on devices where root is not available or desired.

3

Process Isolation

Runs the privileged server as a separate process from client applications. This maintains security boundaries while allowing controlled access to system-level functionality.


// Check if Shizuku is running with ADB or root permissions
int uid = ShizukuService.getUid();
boolean isAdb = uid == 2000; // ADB shell uid

// Check if server has sufficient permissions for specific operation
boolean hasPermission = ShizukuService.checkPermission("android.permission.WRITE_SECURE_SETTINGS");

if (!hasPermission) {
    // Handle insufficient permissions
    Log.e("Shizuku", "Server lacks required permissions");
    return;
}



[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers