RepositoryKotlin
RI

RikkaApps/Shizuku

Using system APIs directly with adb/root privileges from normal apps through a Java process started with app_process.

35.4kstars
3.9kforks
530issues
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Kotlin

#1 Repository of the week

🚀 Shizuku: System API Access Without the su Shell

Skip the slow su commands—Shizuku gives your app direct binder access to system services.

Shizuku is an open‑source framework by RikkaApps that lets normal Android apps use system APIs with elevated privileges. Instead of spawning a root shell and parsing command output, Shizuku runs a separate server process (via app_process) that holds a binder to the system services. The app then receives a binder reference from this server, allowing it to call system methods almost as if it were a system app.

✨ Highlights

  • Lightweight server: runs as a separate process with root or ADB, providing binder connections.
  • Direct system API: apps call system services almost as if they had native permissions.
  • Bypass su shell: avoids slow text parsing and multiple process spawns.
  • Permission checks: built‑in checkPermission and getUid to verify ADB privileges.
  • Hidden API workaround: integrates with AndroidHiddenApiBypass for Android 9+.
  • Developer friendly: includes sample code, migration guide, and debuggable server build.

💡 Why it matters

Shizuku removes the need for fragile su command parsing and speeds up privileged operations. By using the binder mechanism directly, it provides a stable, high‑performance path to system services. This is especially useful for apps that need to query installed packages, manage components, or interact with other system services without requiring root in the app itself. The framework also handles permission checks and hidden‑API restrictions, making it easier to build reliable privileged features.


#Android #Root #Shizuku #TiniX