Skip to content

kernelpatch is not supported. #1

@TYOPXN360

Description

@TYOPXN360

kernelpatch is not supported. I tried setting CONFIG_KALLSYMS=y and CONFIG_KALLSYMS_ALL=y, but the compiled kernel still does not support kernelpatch (apatch)
log
[+] kernel image_size: 0x02ca4018
[+] kernel uefi header: false
[+] kernel load_offset: 0x00000000
[+] kernel kernel_size: 0x036b9000
[+] kernel page_shift: 12
[+] new kernel image ...
[+] linux_banner 1: Linux version 4.19.331-st4-perf (build-user@build-host) (Android clang version 19.0.1, LLD 19.0.1) #1 SMP PREEMPT Thu Jul 3 12:08:01 CST 2025
[+] linux_banner offset: 0x1a00018
[+] kernel version major: 4, minor: 19, patch: 255
[+] kallsyms_token_table offset: 0x0236c928
[+] endian: little
[+] kallsyms_token_index offset: 0x0236ccf0
[+] arm64 relocation kernel_va: 0xffffffffffffffff
[?] can't find arm64 relocation table
[+] kallsyms_markers range: [0x01f3e7e8, 0x01f3ee98), count: 0x000000d5
[+] approximate kallsyms_offsets range: [0x020935b8, 0x02139c14) count: 0x00029997
[-] /root/other/tools/kallsym.c:585/find_names(); find kallsyms_names error
[+] arm64 relocation kernel_va: 0xffffffffffffffff, try: ffffff8008080000
[?] can't find arm64 relocation table
[+] kallsyms_markers range: [0x01f3e7e8, 0x01f3ee98), count: 0x000000d5
[+] approximate kallsyms_offsets range: [0x020935b8, 0x02139c14) count: 0x00029997
[-] /root/other/tools/kallsym.c:585/find_names(); find kallsyms_names error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions