Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
CC0126 opened this issue Feb 14, 2024 · 2 comments
Open

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

CC0126 opened this issue Feb 14, 2024 · 2 comments
Assignees

Comments

@CC0126
Copy link

CC0126 commented Feb 14, 2024

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

@LuoShaoyin
Copy link

I hold Note 10 also. Now with the latest Apatch version it is successful to generate a boot.img, but I encountered bootloop after flashing it. Maybe the same problem with the dm-verify? Mediatek doesnt allow dmverify being disabled.

@LuoShaoyin
Copy link

Here are the same problem solved by magisk community : (topjohnwu/Magisk#4964)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants