Chainfire/libsuperuser
Example code for "How-To SU" observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 5056
- days_rel: n/a
- days_push: 821
- n_releases_24m: 0
Adoption not part of the score
1673 stars · 658 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Java library for Android that simplifies executing shell commands and root (su) operations from apps, with interactive shells, threading support, and shell pooling. It is the reference implementation behind the 'How-To SU' guide.
Use cases
- run root commands from an android app
- execute shell commands with superuser privileges
- manage interactive root shell sessions in java
- pool and reuse root shell instances
- read stdout and stderr from su commands
When to choose
- you need battle-tested root shell handling on older Android versions
- you rely on edge-case behaviors the author personally uses
- you are maintaining an existing app already built on libsuperuser
When to avoid
- you are starting a new Android app needing root access - prefer topjohnwu's libsu
- you need a library actively updated for the latest Android and root solution changes
- you only need non-root shell execution with modern APIs
Facets
library · maturity maintenance
developer-tools cli security android-tools developer-tools security jvm android root superuser shell su
1 source
- readme: https://github.com/Chainfire/libsuperuser · fetched 2026-08-28 · 958a108f33e2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Chainfire/libsuperuser | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="Chainfire/libsuperuser")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem