topjohnwu/libsu
A complete solution for apps using root permissions observed · 2026-08-28
Health v2 · maintenance only
56/100
- Activity 74
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3148
- days_rel: n/a
- days_push: 159
- n_releases_24m: 0
Adoption not part of the score
2099 stars · 412 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
libsu is an Android library providing a complete solution for apps that need root (superuser) permissions. It wraps the Unix root shell process with high-level Java APIs and enables launching and managing root services over IPC, including running Java/Kotlin and native C/C++ code with root privileges.
Use cases
- run shell commands with root permissions in an Android app
- create and manage root services over IPC on Android
- execute root shell scripts from Java or Kotlin
- run native C/C++ code with root privileges via JNI
- access remote file systems with root on Android
- preload and cache a shared root shell in an app
When to choose
- you are building an Android app that requires root access
- you need robust, high-level APIs over the raw root shell process
- you want to run privileged code in a root service over IPC
- you want a maintained library from the Magisk author
When to avoid
- your app does not need root/superuser permissions
- you target non-Android platforms
- you only need to run non-privileged shell commands
Facets
library · maturity active
sdk developer-tools security android-tools developer-tools security jvm root-access android shell ipc root-services jni
1 source
- readme: https://github.com/topjohnwu/libsu · fetched 2026-08-28 · 2430bde06165
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| topjohnwu/libsu | main | 56 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem