KernelPatch icon indicating copy to clipboard operation
KernelPatch copied to clipboard

Patch Failed (Redmi Note 10 Pro 'chopin') (4.14.186)

Open CC0126 opened this issue 1 year ago • 2 comments

The following two information are what I need to fix the problem

  1. Your kernel image. boot.img is too big, you can use 'magiskboot unpack boot.img' to get kernel image (which named 'kernel' after unpack)

!!!This is a 7zip file and you should rename it to kernel.7z and open it!!!

kernel.7z.zip

  1. The real symbol informations corresponding to your boot.img or kernel It can be obtained through the following two commands under root.
echo 1 > /proc/sys/kernel/kptr_restrict
cat /proc/kallsyms

!!!This is a 7zip file and you should rename it to kallsyms.7z and open it!!!

kallsyms.7z.zip

Redmi Note 10 Pro named as 'chopin'. A MTK cpu device which has version 4.14.186 kernel. kernel config is here:

CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
# CONFIG_KALLSYMS_ABSOLUTE_PERCPU is not set
# CONFIG_KALLSYMS_BASE_RELATIVE is not set

Screenshot_2024-02-15-00-20-55-071_me bmax apatch

CC0126 avatar Feb 14 '24 17:02 CC0126