Installing KazeSU
TIP
This guide assumes you already know how to flash images and recover from a bad flash. Keep stock images and a working recovery around.
Get the manager
Download the APK from Releases. The file you want ends in -release.apk:
KazeSU_<version>_<code>-<abi>-release.apkWARNING
Debug, PR and CI builds are signed with a different certificate. The kernel rejects them as unofficial, so install only the official release APK.
Choose how to install root
| Scenario | What to do |
|---|---|
| Your kernel already has KazeSU built in | Install the manager and open it. |
| GKI device (kernel 5.10+) | Load the LKM from the manager, or flash a KazeSU kernel. |
| Non-GKI / older kernel | Build a kernel with KazeSU integrated. |
| Another KernelSU-based root is installed | Install the manager and grant it root in your current manager; it runs in compat mode. |
Compatibility mode
On a third-party KernelSU or SukiSU kernel, the manager runs in compat mode: grant it root in your existing manager and you keep modules, flashing and reboot support. Kernel-side features — KPM, SUSFS and the rest of the kernel extension center — need a KazeSU kernel.
LKM installation
If your kernel does not have KazeSU built in yet, the manager can patch a boot image with the LKM:
- Install the manager and grant it root through your current root solution.
- Tap Not Installed and choose LKM patching/installation.
- Select the
boot,init_bootorvendor_bootimage that matches your installed firmware. - The manager picks the LKM matching your system KMI, patches the image and writes
lkm-patched.imgto the download directory. - Flash that image to the same partition, reboot, and open the manager again.
The full walkthrough, including KMI notes, is on the Generic GKI Devices page.
Kernel / AnyKernel3 installation
The manager also flashes AnyKernel3 packages. This option only appears once the manager has root, so install the LKM first if the manager reports that root is not available.
To patch a boot image by hand instead, use magiskboot:
- Get the stock
boot.imgfor your exact firmware build.payload-dumper-gocan extract it from an OTA package. - Unpack the AnyKernel3 package and take its
Imagefile. - Unpack the stock image, replace
kernelwithImage, and repack:
./magiskboot unpack boot.img
mv -f Image kernel
./magiskboot repack boot.img- Flash the resulting
new-boot.imgwith fastboot.
INFO
The official magiskboot binary runs on Android and on Linux. On Windows or macOS, use a community build.
DANGER
The image and the target partition must match. A mismatched boot image is the quickest way to a device that will not boot.