
Android root delivery package exploiting CVE-2019-2215 (binder UAF) on OPPO A77t: kernel arbitrary write, modprobe_path hijack, and repeatable su install/removal from Termux.
⚠️ The binary source code, scripts, and most of the description were produced by AI, so there may be oversights in various parts!
A complete project for delivering root on an Android 7 device by exploiting CVE-2019-2215 (binder UAF). Arbitrary kernel write →
modprobe_pathhijacking → kernel-mode execution → su deployment → can be repeatedly mounted and unmounted.
A set of Android root delivery packages that runs locally on the device. In the ordinary app domain (Termux), run one command
to mount su into the system PATH; then run another command to cleanly unmount it, and su disappears from PATH, after which it can be mounted again.
It does not modify the system partition (it only overlays a tmpfs on /system/xbin), and adb is not required at runtime
(any file channel can be used for the step of placing the package on the device).
Verified environment: Android 7 / kernel 3.18.31 / arm64 / SELinux Permissive, on one physical test device. Other device models and kernel versions have not been verified.
This package was copied and modified by the author from their own
root-start/baseline (that baseline is not distributed with the package). Every change relative to the baseline is recorded indocs/改动说明.md.
me.phh.superuser on the device (required, otherwise su will have no one to answer it).
For the source and verification fingerprint, see start_up/README.md.cd <包目录>
- 建议设置二进制和脚本可执行权限,否则会报一些奇怪🤔错误信息。
sh start_up/start.sh # 交付 su
su -c id # → uid=0(root)
sh start_up/start.sh stop # 卸载,su 从 PATH 消失
sh start_up/start.sh status # 查看状态
For the complete list of subcommands and how decisions are made, see start_up/README.md.
| What you want to see | Where to go |
|---|---|
| Usage, subcommands, authorization-side APK | start_up/README.md |
| Architecture, the four phases, constants and secondary development | main/README.md |
| Compiling the six binaries, reproduction and verification records | src/README.md |
| License audit, third-party source verification | THIRD_PARTY_LICENSES.md |
| Changes relative to upstream and measured records | docs/改动说明.md |
| Known unfixed issues (P1–P4, no fix planned for now) | docs/问题说明.md |
sh src/build.sh -o /tmp/out # 5 个自研工具(Termux 就地编,或 NDK 交叉)
bash src/build_su.sh # su(宿主 Linux + Android NDK r24,交叉静态)
bash src/verify_repro.sh # 校验「随包源码 → main/bins/su」是否可复现
See src/README.md for details.
| Part | License |
|---|---|
Original parts (main/scripts/, start_up/, src/*.c, src/*.sh, documentation) | MIT |
src/Superuser_phhusson/ source tree | Mixed (mostly Apache-2.0, GPLv3 at the tree root) |
main/bins/su | GPLv3 |
Authorized-end APK me.phh.superuser (not bundled) | GPLv3 |
See LICENSE and THIRD_PARTY_LICENSES.md for details.
For security research and privilege-escalation verification on your own devices; run it only on devices you are legally entitled to handle.
This package was copied and modified from the author's own root-start/ baseline (the baseline is not distributed with the package).
The trigger primitive for src/probe26.c is based on a public PoC (upstream Project Zero bug 1942),
and the exploit chain is implemented by this project — see THIRD_PARTY_LICENSES.md for details.

Automated mobile application security testing framework for Android, iOS, and Windows. Performs static and dynamic analysis, malware detection, and API security testing with CI/CD integration.

Command-line and GUI tool for decompiling Android Dex and APK files into readable Java source code, with resource decoding, deobfuscation, and Smali debugging capabilities.

A tool for reverse engineering Android apk files