-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
- Backing boot.img
- Patching kernel
+ kptools -p -i kernel.ori -k kpimg -o kernel
[+] kernel image_size: 0x022ca000
[+] kernel uefi header: false
[+] kernel load_offset: 0x00080000
[+] kernel kernel_size: 0x02ba3000
[+] kernel page_shift: 12
[+] new kernel image ...
[+] linux_banner 1: Linux version 4.14.186-perf-gf8d872e9279c (builder@pangu-build-component-vendor-156865-2nk81-0hc61-ztnmq) (Android (6443078 based on r383902) clang version 11.0.1 (https://android.googlesource.com/toolchain/llvm-project b397f81060ce6d701042b782172ed13bee898b79), LLD 11.0.1 (/buildbot/tmp/tmp6_m7QH b397f81060ce6d701042b782172ed13bee898b79)) KernelSU-Next/KPatch-Next-Module#1 SMP PREEMPT Fri Sep 22 09:56:34 UTC 2023
[+] linux_banner offset: 0x1897c7f
[+] kernel version major: 4, minor: 14, patch: 186
[+] kallsyms_token_table offset: 0x01634a00
[+] endian: little
[+] kallsyms_token_index offset: 0x01634e00
[-] /home/runner/work/KPatch-Next/KPatch-Next/tools/symbol.c:125/fillin_map_symbol(); no symbol memblock_alloc+ patch_rc=1
+ set +x
! Patch kernel error: 1
[+] arm64 relocation kernel_va: 0xffffff8008081000
[+] arm64 relocation table range: [0x01b9b7d8, 0x020a7c80), count: 0x00035d87
[+] apply 0x00035d86 relocation entries
[+] kallsyms_markers range: [0x01633f00, 0x016349d0), count: 0x00000159
[?] find approximate kallsyms_offsets error
[+] approximate kallsyms_addresses range: [0x013621d8, 0x0140e180) count: 0x000157f5
[?] mismatch relo applied, subsequent operations may be undefined
[+] kallsyms_names offset: 0x0140f300
[?] can't find kallsyms_num_syms, try: 0x000157eb
[?] no linux_banner, CONFIG_KALLSYMS_ALL=n
[+] names table vector index: 0x00000012, pid_vnr index: 0x0000115e
[+] pid_vnr verfied sp, insn: 0x910003fd
[+] vectors index: 18, offset: 0x00101000
[+] pid_vnr offset: 0x002d355c
[+] kallsyms_addresses offset: 0x013677d8
[+] kernel base address: 0xffffff8008081000
[+] layout kimg: 0x0,0x22ca000, kpimg: 0x22ca000,0x2bf30, extra: 0x22f5f30,0x80, end: 0x22f5fb0, start: 0x2ba3000
[+] kpimg version: d05
[+] kpimg compile time: 19:58:12 Jan 16 2026
[+] kpimg config: linux, release
[+] tcp_init_sock: type: T, offset: 0x01308cb4
[+] no first pac instruction found
[+] map_start: 0x1308cb0, max_size: 0x800
[+] tcp_init_sock: type: T, offset: 0x01308cb4
[+] Synced NOP modifications from kallsym_kimg to output file (offset: 0x1308cb4, size: 0x1000)
[+] kallsyms_lookup_name: type: T, offset: 0x003a87b8
[+] printk: type: T, offset: 0x0034064c
[+] memblock_reserve: type: T, offset: 0x004c002c
[+] memblock_free: type: T, offset: 0x004bff58
[+] memblock_mark_nomap: type: T, offset: 0x004c0490
[?] no symbol: memblock_phys_alloc_try_nid
[+] memblock_virt_alloc_try_nid: type: T, offset: 0xbe01d96e
Metadata
Metadata
Assignees
Labels
No labels