Skip to content

Theettam APatch (real KPM) — alpha — peridot 6.1.175

Pre-release
Pre-release

Choose a tag to compare

@Mohithash Mohithash released this 21 Jul 23:56
· 9 commits to peridot-6.1.175 since this release

Standalone real-KPM build for peridot (POCO F6 / Redmi Turbo 3, SM8635).

Root here is APatch / KernelPatchnot KernelSU or SukiSU. This is the only way to get working Kernel Patch Modules (.kpm) on this device: SukiSU-Ultra's KPM is stubbed on every branch, whereas APatch's KernelPatch is the original, functional KPM engine.

What it is

  • Clean Theettam 6.1.175 Image (BTF on → VoLTE works; BORE + ADIOS from defconfig; no KSU)
  • Patched post-build with KernelPatch 0.13.2 (kptools + kpimg, version d02) — this is KABI-safe (the compiled Image is patched, not the source, so stock vendor_dlkm keeps loading)

Manager & superkey

Testing KPM

Attached demo modules load via the APatch app (KPM section) or kpm load:

  • demo-hello.kpm — simplest, confirms KPM works
  • demo-syscallhook.kpm, demo-inlinehook.kpm — hook demos

⚠️ Experimental — boot-test before relying on it

KernelPatch patched the Image cleanly in CI, but it has not been booted on-device yet. APatch inline-hooks a hardened GKI kernel, so confirm on a device you can recover (fastboot). Report: boots → root granted in APatch → demo-hello.kpm loads → VoLTE call. Keep stock vendor_dlkm.