KernelPatch
KernelPatch copied to clipboard
Patch Failed (Redmi Note 10 Pro 'chopin') (4.14.186)
The following two information are what I need to fix the problem
- 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!!!
- 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!!!
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