KPatch Next Module

KernelSU-Next

Magisk KernelSU
v0.0.1
Version
1017.59 KB
Size
Jan 20, 2026
Updated

Module Info

  • Contributors KOWX712, rifsxd, karigane-cha, mrvokintos, lavvonder
  • Source Code View Repository
  • Tags
    #KPatch Next #KPM #Kernel Module #Boot Image #Magisk Module #KernelSU #ARM64

About this module

KPatch Next Module provides standalone KPM support for Magisk and KernelSU, including ARM64 boot-image patching, KPM lifecycle controls, application exclusions, and a companion WebUI.

Standalone KPM Management

Patch a compatible kernel, manage KPM files, and control exclusions without using APatch as the root solution.

Boot-Image Tools

The WebUI can locate and inspect the active boot image, apply KPatch Next, embed selected KPM files, or run the included unpatch workflow.

KPM Lifecycle

Lists loaded KPMs and provides load, unload, control, and boot-persistence functions through the packaged kpatch binary.

Application Exclusions

Reads a persistent package configuration after boot and sends excluded application UIDs to KPatch.

Requirements and Runtime

  • The installer supports ARM64 only and aborts on other architectures.
  • Magisk and KernelSU are the documented root environments; the installer explicitly aborts when APatch is detected.
  • The module action opens KSU WebUI Standalone. If that application is absent, it opens the application's release page instead.
  • Persistent KPM files are stored under /data/adb/kp-next/kpm and loaded during the service phase.
  • If kpatch hello does not return a working runtime, the module marks the state unresolved and skips KPM loading.

Operational Sequence

  1. Download the release ZIP and install it through Magisk or KernelSU on an ARM64 device.
  2. Reboot, then open the module action with KSU WebUI Standalone.
  3. Inspect the detected boot image and kernel status before selecting a patch or unpatch operation.
  4. After a successful boot-image change, reboot and confirm that the KPatch runtime responds.
  5. Add compatible .kpm files through the WebUI; a file that fails boot-time loading is removed by the service script.