Shizuku: System API access via ADB/root
Android framework enabling apps to access system APIs with elevated privileges via ADB or root.
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.
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.
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.
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;
}Top in Mobile & Desktop
Related Repositories
Discover similar tools and frameworks used by developers
DDT4All
Python tool for Renault/Dacia vehicle diagnostics, ECU modification, and CAN bus communication.
draw.io Desktop
Electron-based desktop diagramming app wrapping draw.io editor for offline use with local storage.
TapTap
Ports Android 12's double-tap back gesture to Android 7.0+ with 50+ configurable actions.
Magisk
Android root solution with systemless modifications and boot image management for Android 6.0+.
Kotatsu
Free Android manga reader with online sources (discontinued due to legal challenges).