KernelSU vs KernelSU Next vs SukiSU vs APatch vs Magisk: Best Root for Xiaomi on HyperOS 3 and 4 (2026)

KernelSU vs KernelSU Next vs SukiSU vs APatch vs Magisk: Best Root for Xiaomi on HyperOS 3 and 4 (2026)

Last updated: November 12, 2026. Short answer: for most Xiaomi, Redmi and POCO owners on HyperOS 3 or 4, Magisk 31.1 is still the easiest root. If you want better root hiding without a custom kernel on a recent phone (Xiaomi 13 to 17, Redmi Note 13 to 15), use KernelSU Next 3.4.2. Choose SukiSU Ultra if you want kernel patch modules (KPM) and a custom kernel, plain KernelSU 3.3.1 if you prefer the upstream project, and APatch for older or non-GKI phones without kernel source. Remember that APatch patches boot.img, not init_boot.img. All of them need an unlocked bootloader and the boot image from the exact build your phone runs.

Latest versions (November 2026)

RootLatest versionReleasedDownload
Magisk31.1Oct 25, 2026GitHub · our Magisk guide
KernelSU3.3.1Oct 12, 2026GitHub
KernelSU Next3.4.2Oct 13, 2026GitHub
SukiSU Ultra4.3.0-r2Nov 5, 2026GitHub
APatch11282Oct 15, 2026GitHub
ZygiskNext (Zygisk for KernelSU/APatch)1.5.3Nov 7, 2026GitHub

Download root apps only from their GitHub releases. Re-uploads on YouTube, Telegram or “one-click root” sites are a common way to spread malware.

Comparison

MagiskKernelSUKernelSU NextSukiSU UltraAPatch
How it rootsPatches the ramdiskKernel module (LKM)Kernel module (LKM)Kernel module or built-inPatches the kernel image
File to patch on Xiaomiinit_boot (boot on older phones)init_boot (boot on older)init_boot (boot on older)init_boot / boot / vendor_bootboot.img only
Custom kernel needed?NoNo on kernel 5.10+ (GKI); yes on olderNo on 5.10+; yes on olderNo for root; yes for KPMNo (kernel 3.18–6.12)
ModulesMagisk modules (largest choice)KSU modules; most Magisk modules after a metamoduleSame, plus backup and risky-module checkSame, plus KPMAPM (Magisk-like) plus KPM
Zygisk / LSPosedBuilt inNeeds ZygiskNextNeeds ZygiskNextNeeds ZygiskNextNeeds ZygiskNext
Root hidingDenyList + modulesPer-app profilesBuilt-in SUSFS without custom kernel, spoofed managerSUSFS (custom kernel), mount hidingKernel level; SELinux hide buggy on some kernels
DifficultyEasiestEasyEasyEasy (root) / hard (KPM)Medium (SuperKey)

Which one for your Xiaomi?

  • First root, or you rely on many Magisk modules: Magisk 31.1. Note that 31.1 removed root pop-ups (grant root in advance in the Superuser tab) and the “hide Magisk app” option.
  • Xiaomi 13, 14, 15, 17, Redmi Note 13–15, POCO F5–F8, X6–X8 and you want banking apps to work more often: KernelSU Next. It loads SUSFS root hiding itself on stock kernels. Owners report it working on a Xiaomi 17 Pro where Magisk and official KernelSU failed. Hiding is never guaranteed: Google Wallet contactless and some banks still detect it.
  • You want the upstream project with no extras: KernelSU 3.3.1.
  • You build or flash custom kernels and want KPM: SukiSU Ultra. On a stock Xiaomi kernel it gives root and modules, but KPM needs a kernel built with KPM support.
  • Older Xiaomi/Redmi phones on kernel 4.14–5.4 (Mi 11, Redmi Note 10/11, Helio phones) without a custom kernel: APatch, or Magisk. KernelSU variants need a custom kernel there.

Check your kernel first: Settings → About phone → All specs → Kernel version, or adb shell uname -r. A version like 6.12.23-android16 means GKI (KernelSU works without a custom kernel; the android16-6.12 part is your KMI). Typical values: Xiaomi 12 series 5.10, Xiaomi 13 series 5.15, Xiaomi 14 series 6.1, Xiaomi 15 series 6.6, Xiaomi 17 series 6.12. The HyperOS 4 update doesn’t change the kernel generation: a Xiaomi 17 Ultra on HyperOS 4 still reports android16-6.12.

Where to get the boot image

All methods need the image from the Fastboot ROM of your exact build (same version and region, e.g. OS3.0.303.0.WOJMIXM):

  1. Download the Fastboot ROM (.tgz) from your phone’s page in our firmware hub.
  2. Extract it with 7-Zip. The images are in the images folder: init_boot.img (phones launched with Android 13 or later) and boot.img.
  3. Keep an unpatched copy on your PC: it’s your way back if the phone bootloops.

The bootloader must be unlocked: how to unlock a Xiaomi bootloader on HyperOS. You need ADB and Fastboot on the PC.

How to install KernelSU / KernelSU Next / SukiSU (LKM)

  1. Install the manager APK from GitHub (for example KernelSU_Next_v3.4.2_33355-release.apk). If it says Not installed, your kernel is supported. Unsupported means you need a custom kernel.
  2. Copy init_boot.img (or boot.img on phones without init_boot) to the phone.
  3. In the manager tap Install → Select a file, choose the image and confirm the detected KMI (e.g. android16-6.12). The patched file is saved in Download.
  4. Copy it to the PC and flash it:
    adb reboot bootloader
    fastboot flash init_boot kernelsu_patched_xxxxx.img
    fastboot reboot
  5. Open the manager: it should show Working (LKM). Before installing modules that change system files, install a metamodule such as meta-overlayfs; without it those modules don’t mount. Add ZygiskNext if you need Zygisk or LSPosed.

How to install APatch

  1. Extract boot.img (not init_boot) from the Fastboot ROM of your build.
  2. Install the APatch APK, tap the patch button → Select a boot image to patch, choose boot.img and set a SuperKey: 8–63 letters and numbers, strong and private. The SuperKey grants more than root, so anyone who knows it controls the phone.
  3. Flash the result: fastboot flash boot apatch_xxxxx.img, then fastboot reboot.
  4. Open APatch, enter the SuperKey and install AndroidPatch and KernelPatch when the app asks. Use APM for modules, plus ZygiskNext if needed.

APatch 11282 adds support for the newest HyperOS 4 kernels, but its own notes call it an early release, warn that upgrading is risky, and ask you to uninstall embedded KPMs first. If you don’t have a brand-new HyperOS 4 kernel, you don’t need it.

Updating HyperOS on a rooted phone

An update replaces the patched image, so root is gone afterwards. The safest order on Xiaomi:

  1. Before an incremental OTA, restore the stock image (manager → Uninstall → Restore stock image), or use the full Recovery ROM of the new build. Install the update and boot normally without root once.
  2. Download the Fastboot ROM of the new build, extract its init_boot.img or boot.img, patch it again and flash it.

Avoid the “Install to inactive slot (after OTA)” shortcut on HyperOS: owners report bootloops with it on a Xiaomi 15 (HyperOS 4 beta, KernelSU) and a Xiaomi 15 Pro (HyperOS 3, SukiSU). If it happens, flash the stock image of the new build from Fastboot, boot once, then flash the patched one. For the big jump to HyperOS 4, read how to install HyperOS 4 manually first.

Problems and fixes

ProblemFix
Bootloop after flashingFlash the stock image from the same ROM: fastboot flash init_boot init_boot.img (or boot). Your data stays. Usually the image was from another build or region.
Bootloop after installing a moduleKernelSU: boot into Safe Mode (from Recovery on HyperOS, or press Volume Down three times right after the first boot logo) to disable modules, then remove the module. Leftover modules in /data/adb/modules have caused bootloops on Xiaomi 17.
Manager says “Unsupported”Your kernel is older than 5.10 GKI. Use APatch or Magisk, or a custom kernel.
APatch: “init_boot doesn’t patch”APatch only patches boot.img. Use boot.img even on phones that have init_boot.
Magisk modules don’t change anything on KernelSUInstall a metamodule (meta-overlayfs or magic mount) first.
Banking apps or Google Wallet detect rootTry KernelSU Next with SUSFS, or Magisk’s DenyList with integrity modules. There’s no permanent fix: detection changes all the time, and Wallet contactless often needs strong integrity that rooted phones lose.

Don’t mix root methods. Before switching (for example from Magisk to KernelSU Next), uninstall the old one and flash the stock image first.

FAQ

Is KernelSU better than Magisk on Xiaomi?

Not in general. Magisk is easier and has more modules. KernelSU Next is better at hiding root on recent GKI phones, which matters for banking apps. Both are actively maintained.

Does APatch use init_boot.img?

No. APatch always patches boot.img, because it modifies the kernel, not the ramdisk.

Do I need a custom kernel for KernelSU on my Xiaomi?

Not if your kernel is 5.10 or newer with a GKI version string (Xiaomi 12 series and newer, most 2022+ Redmi and POCO). Older kernels need a custom kernel, or use APatch/Magisk.

Does root work on HyperOS 4?

Yes. Owners report Magisk, KernelSU Next and SukiSU working on HyperOS 4 phones such as the Xiaomi 17 series. Re-patch the boot image after every update and avoid the inactive-slot OTA shortcut.

Can I root without unlocking the bootloader?

No. All these methods flash a modified boot image, which a locked bootloader refuses.

Xiaomi firmware & news on Telegram

New firmware, HyperOS 4 rollout updates, guides and Xiaomi news, all in one channel.

Join @xiaomifirmware_news