Skip to content

Can't boot on 4.14 kernel (non-GSI) #5

Description

@godenk789

When I installing the modules and patching the kernel on the webui, the phone can't boot (shows bootlogo around 3s and restart).
I'm using Android 15, AOSP.

Patch log:
`
No module found

No app found
System Default
•••••••••

  • Backing boot.img
  • Patching kernel
  • kptools -p -i kernel.ori -S dhubel123 -k kpimg -o kernel true
    [+] kernel image_size: 0x02660018
    [+] kernel uefi header: false
    [+] kernel load_offset: 0x00080000
    [+] kernel kernel_size: 0x02d0a000
    [+] kernel page_shift: 12
  • patch_rc=0
    [+] new kernel image ...
  • set +x
    [+] linux_banner 1: Linux version 4.14.363-STRIX-Interstellar (buildkernel1@mhddonip) (Android clang version 21.0.0, LLD 21.0.0) Super Key contains special characters is not handled correctly KPatch-Next-Module#1 SMP PREEMPT Tue Nov 4 19:38:57 WIB 2025
    [+] linux_banner offset: 0x1df5cc0
    [+] kernel version major: 4, minor: 14, patch: 255
    [+] kallsyms_token_table offset: 0x01c02500
    [+] endian: little
    [+] kallsyms_token_index offset: 0x01c02900
    [+] arm64 relocation kernel_va: 0xffffff8010000000
    [+] arm64 relocation table range: [0x02181b80, 0x023e8040), count: 0x00019988
    [?] bad rela offset: 0xffffff8012660010
    [+] kallsyms_markers range: [0x01c01d00, 0x01c024d8), count: 0x000000fa
    [+] approximate kallsyms_offsets range: [0x01af28d8, 0x01b312ac) count: 0x0000fa75
    [+] kallsyms_names offset: 0x01b31500
    [+] kallsyms_num_syms offset: 0x01b31400, value: 0x0000fa6b
    [?] no linux_banner, CONFIG_KALLSYMS_ALL=n
    [+] names table vector index: 0x00000014, pid_vnr index: 0x00000599
    [+] pid_vnr verfied sp_el0, insn: 0xd5384108
    [+] vectors index: 20, offset: 0x00002000
    [+] pid_vnr offset: 0x00075bdc
    [+] kallsyms_offsets offset: 0x01af2900
    [+] layout kimg: 0x0,0x2660018, kpimg: 0x2661000,0x2c050, extra: 0x268d050,0x80, end: 0x268d0d0, start: 0x2d0a000
    [+] kpimg version: d02
    [+] kpimg compile time: 19:12:21 Jan 9 2026
    [+] kpimg config: linux, release
    [+] tcp_init_sock: type: T, offset: 0x018008d0
    [+] no first pac instruction found
    [+] map_start: 0x18008d0, max_size: 0x800
    [+] tcp_init_sock: type: T, offset: 0x018008d0
    [+] Synced NOP modifications from kallsym_kimg to output file (offset: 0x18008d0, size: 0x1000)
    [+] kallsyms_lookup_name: type: T, offset: 0x0011bb4c
    [+] printk: type: T, offset: 0x000c07b8
    [+] memblock_reserve: type: T, offset: 0x00200ac4
    [+] memblock_free: type: T, offset: 0x00200964
    [+] memblock_mark_nomap: type: T, offset: 0x00200d74
    [?] no symbol: memblock_phys_alloc_try_nid
    [+] memblock_virt_alloc_try_nid: type: T, offset: 0x020adba8
    [+] memblock_alloc_try_nid: type: T, offset: 0x020ad488
    [+] panic: type: T, offset: 0x00043f9c
    [+] rest_init: type: t, offset: 0x01aad050
    [+] kernel_init: type: t, offset: 0x01aad124
    [?] no symbol: report_cfi_failure
    [?] no symbol: __cfi_slowpath_diag
    [?] no symbol: __cfi_slowpath
    [+] copy_process: type: t, offset: 0x00040a94
    [+] avc_denied: type: t, offset: 0x004da448
    [+] slow_avc_audit: type: T, offset: 0x004d9258
    [+] input_handle_event: type: t, offset: 0x00c43f0c
    [+] root superkey hash: c17ad35eff53f4bead15e5ec43e61173c66f07f62f2a85264bd6b14b4bec5d2b
    [+] paging_init: type: T, offset: 0x0209ba98
    [+] patch done: kernel
  • Repacking boot image
  • Flashing new boot image
  • Successfully Flashed!`

Tell me if you need another logs, I will learn how to catch it 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions