bmax121 / KernelPatch

Patching and hooking the Linux kernel with only a stripped Linux kernel image.
GNU General Public License v2.0
638 stars 105 forks source link

Patch failed, no new-boot.img generated #7

Open Stillhard opened 8 months ago

Stillhard commented 8 months ago

Attached screenshots and files:

photo_2023-12-29_10-38-27 photo_2023-12-29_10-38-32

APatch_bugreport_2023-12-29_06_53.tar.gz

kernel.zip

bmax121 commented 8 months ago

I need the corresponding real symbol information to fix this problem. Can you help me take a look? It can be obtained through the following two commands under root.

echo 1 > /proc/sys/kernel/kptr_restrict cat /proc/kallsyms

Stillhard commented 8 months ago

I need the corresponding real symbol information to fix this problem. Can you help me take a look? It can be obtained through the following two commands under root.

echo 1 > /proc/sys/kernel/kptr_restrict cat /proc/kallsyms

Here you go: cat.log

jhuny-arj commented 7 months ago

Screenshot_20240116-161106_APatch boot.zip bmax121, firstly, thank you for starting this project! unfortunately I was unable to generate the boot img, in some previous versions and in the latest kpatch version with the apatch app and via termux, I believe my device is the same model, "x695c" infinix-note10pro (mt6785)... I tried stock boot img versions and also with twrp or orangefox recovery... some attempts gave me the same result. Do you intend to support this device?