bmax121 / KernelPatch

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

Patch Failed (Google pixel 2 xl) (4.4.302) kallsyms_num_syms error #105

Open ajmz opened 4 months ago

ajmz commented 4 months ago

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)

Upload to here or file download path

https://github.com/ods-releases/taimen/releases/download/lineage-21.0-20240622-UNOFFICIAL-taimen/boot.img

  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

Upload to here or file download path



APatch Boot Image Patcher