One-click root for Xiaomi 17 Pro Max (popsicle) via CVE-2026-98260 kernel UAF: staged privilege escalation, uid 0 verification, and KernelSU late-load in a single scripted workflow.
Xiaomi 17 Pro Max (popsicle) temporary root · KernelSU jailbreak mode
⚠️ For devices you own and are authorized to use only. Root reduces device security and may affect warranty, Play Integrity, and banking apps; a failed exploit has a very small chance of causing a kernel panic reboot. Use at your own risk.
| Item | Value |
|---|---|
| Device / codename / model | Xiaomi 17 Pro Max / popsicle / 2509FPN0BC |
| OS | HyperOS 4, Android 17 (verified OS4.0.4.0.XPBCNXM / OS4.0.5.0.XPBCNXM / OS4.0.6.0.XPBCNXM, identical kernel string) |
| Kernel | 6.12.69-android16-6-g43b5ab7e247d-abogki558343811-4k |
| Page size / architecture | 4 KiB / aarch64 |
| Status | Verified on real device (root + KernelSU jailbreak mode) |
The script validates the kernel verbatim against uname -r and whitelists the system build number
(OS4.0.4.0.XPBCNXM / OS4.0.5.0.XPBCNXM / OS4.0.6.0.XPBCNXM); do not use it on other models/kernels.
The KernelSU manager shows Working [Jailbreak mode] on this device (LKM late-load):
adb (Android platform-tools), with USB debugging authorized on the phonecurl, python3, unzipassets/ksu/Choose either method. Most people use Method A (let AI run it for you).
adb devices shows device (not unauthorized).docs/AI-PORTING.md.uname -r / whether already rooted).The AI reuses the scripts already verified in this repository (check.sh / root.sh / load-ksu.sh)
and will not rewrite the exploit code; it is responsible for verifying the target, executing in phases, interpreting failures, and recording results.
./scripts/run.sh
Run in sequence: environment self-check → if the current boot has no root, retry CVE-2026-98260 across reboots (default maximum of 8 boots) → verify uid 0 → install and load KernelSU jailbreak mode → print final status.
Common parameters:
./scripts/run.sh --check-only # 只自检,不动手机
./scripts/run.sh --no-ksu # 只要 root,不装 KernelSU
./scripts/run.sh --no-reboot # 只在当前 boot 试一次,不重启
./scripts/run.sh --boots 12 # 最多允许 12 次开机尝试
./scripts/run.sh --serial <序列号> # 多设备时指定
CVE exploitation depends on page reclaim timing, and the success rate is probabilistic;
run.shmay restart the phone multiple times (each failure requires a full reboot), which is normal behavior.
adb devices # 显示 device(不是 unauthorized)
./scripts/check.sh
Expected output contains: OK: target and environment gates look usable.
./scripts/root.sh --escalate # 当前 boot 试一次
# 或
./scripts/autoretry.sh 8 # 跨重启自动重试(推荐,run.sh 内部也用它)
On success:
adb shell /data/local/tmp/pc98260-su -c 'id' # uid=0(root)
./scripts/load-ksu.sh
The manager should display Working [Jailbreak Mode].
adb shell su -c 'id; getenforce'
adb shell su -c '/data/adb/ksud debug info' # 应含 late_load: true
./scripts/run.sh again.PARKED zombie and the script stops;
do not kill it manually, the only way to clean up is a full reboot.Permissive during exploitation; once KernelSU is ready, the script switches it back to Enforcing../scripts/privacy-clean.sh apply --only ota (uninstalls com.android.updater + turns off the update switch;
to roll back use restore, or pm install-existing --user 0 com.android.updater).