KernelPatch icon indicating copy to clipboard operation
KernelPatch copied to clipboard

Patch kernel error: 139 (红米K40游戏增强版) (4.14.186-gf7833ddd1f78)

Open Styx233 opened this issue 8 months ago • 0 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)

已上传压缩包

Image Image Image

kernel.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

Upload to here or file download path 3.错误代码 `**************************** APatch Boot Image Patcher



  • Backing boot.img
  • Patching kernel
  • ./kptools -p -i kernel.ori -S root1234 -k kpimg -o kernel Segmentation fault
  • patch_rc=139
  • set +x
  • Patch kernel error: 139 Write patched boot.img failed

`

Styx233 avatar Apr 28 '25 15:04 Styx233