Ksupatcher is a simple, native tool for managing KernelSU and KernelSU-Next directly on your phone. It handles boot image patching and OTA updates without needing a PC or manual shell scripts. The app uses Jetpack Compose for a clean Material 3 interface and a reliable root shell for the heavy lifting.
- Android 9.0+ (API 28)
- Requires an unlocked bootloader.
- Supports GKI-compatible devices (kernel versions 5.10 to 6.1).
- Local Patching: Patch boot images for KernelSU/KernelSU-Next on-device.
- OTA Survival: Flash patched images to the inactive slot to keep root after a system update.
- LKM Support: Download and install kernel modules (LKM) specific to your KMI.
- Live Logs: Real-time terminal output from
ksudandmagiskboot. - Theming: Full Material 3 and Monet (dynamic color) support.
- Updates: Check for and install new app versions from GitHub.
- Open Ksupatcher and grant root access.
- Go to the Install tab.
- Choose your variant (KernelSU or KernelSU-Next).
- Select Install LKM (Current).
- Tap Update LKM and reboot.
- Provide your stock
boot.img. - In the Install tab, select Patch Boot Image.
- Select your file and tap Start Patching.
- Move the patched file from your Downloads folder to a PC and flash via fastboot:
fastboot flash boot boot-patched.img- Install your system OTA update but do not reboot.
- Open Ksupatcher and go to the OTA tab.
- Tap Flash OTA to patch and flash the inactive slot.
- Once finished, tap Reboot Now within the app.
- The KernelSU and KernelSU-Next teams.
- @JoshuaDoes for the root shell wrapper logic.
This project is licensed under the MIT License.
