KPatch-Next-Module icon indicating copy to clipboard operation
KPatch-Next-Module copied to clipboard

boot hang on redmi splash logo

Open ciroprogamer opened this issue 10 months ago • 3 comments

Problem Description

On a Redmi S2(xiaomi ysl) device, installing KPatch-Next-Module causes the device to hang on the vendor logo , after rebooting to recovery, last_kmsg contained the latest reboot before installing the patch, so the kernel didn't logged anything at all.

Device: Redmi S2
Kernel version: Linux 4.9
Android Version: Nusantara OS android 10(should be irrelevant since the problem happens way before system)
Root Solution: SukiSu ultra(builtin, native kpm disabled)
Zygisk: Enabled, ReZygisk(again, should be irrelevant since post-fs-data probably doesnt load at all)

Steps to Reproduce

Install KPatch-Next-Module on the specified environment.
Install and flash the patch.
Reboot the device.

Results Kaboom kaboom Boot splash (redmi logo) hangs indefinitely. Can enter recovery and flash the original kernel zip to solve the issue.

ciroprogamer avatar Jan 29 '26 20:01 ciroprogamer

I'm having a similar issue. It just hangs after the boot animation once I click start (with no KPM embedded). I wasn't able to do anything except flash a stock boot.img in EDL mode and then regain root -> reflash kernel below.

Device: RedMagic 11 Pro Kernel version: 6.12.23-android16-OP-WILD (aarch64) (not stock kernel) Android Version: RedMagicOS 11.0.18 (Android 16) Root Solution: KernelSU-Next Zygisk: Enabled, NeoZygisk 2.3

C4RP3N0CT3M avatar Apr 22 '26 05:04 C4RP3N0CT3M

Try if meet requirement CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y

How to check ? open any terminal enulator and gain root access , Then

zcat /proc/config.gz | grep KALLSYMS

Then all meet , u can continue installing kpatch next

quadro-kal avatar May 02 '26 23:05 quadro-kal

Try if meet requirement CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y

How to check ? open any terminal enulator and gain root access , Then

zcat /proc/config.gz | grep KALLSYMS

Then all meet , u can continue installing kpatch next

they are all met, I am the maintainer of my own kernel, therefore I made sure to met the requirements before even trying

  • [ ]

ciroprogamer avatar May 03 '26 10:05 ciroprogamer