Patch Failed (Redmi note 10s (RisingOs Revived 7.0\7.1 ) (Linux version 4.14.355-openela-perf-gf5e5fb03c5fc )
维护者通常 3 天内回复
@bmax121 已经在做这个了。
开始于 2025年7月3日。
评估
这个 Issue 还没有评估数据。
描述
The following two information are what I need to fix the problem
Error with repacking kernel
[+] kernel image_size: 0x01cf0058
[+] kernel uefi header: false
[+] kernel load_offset: 0x00080000
[+] kernel kernel_size: 0x02307000
[+] kernel page_shift: 12
[+] new kernel image ...
[+] linux_banner 1: Linux version 4.14.355-openela-perf-g0d6f1d983df8 (build-user@build-host) (Android (12701618, +pgo, +bolt, +lto, +mlgo, based on r536225) clang version 19.0.1 (https://android.googlesource.com/toolchain/llvm-project b3a530ec6537146650e42be89f1089e9a3588460), LLD 19.0.1) #7 SMP PREEMPT Wed Jun 18 19:33:14 WIB 2025
[+] linux_banner offset: 0x109000f
[+] kernel version major: 4, minor: 14, patch: 255
[+] kallsyms_token_table offset: 0x01378700
[+] endian: little
[+] kallsyms_token_index offset: 0x01378b00
[+] find arm64 relocation kernel_va: 0xffffff8008082000
[+] find arm64 relocation table range: [0x0172f558, 0x01b20d70), count: 0x0002a101
[+] apply 0x0002a100 relocation entries
[+] kallsyms_markers range: [0x01377e00, 0x01378670), count: 0x0000010e
[?] find approximate kallsyms_offsets error
[+] approximate kallsyms_addresses range: [0x012136c0, 0x012981b0) count: 0x0001095e
[?] mismatch relo applied, subsequent operations may be undefined
[+] kallsyms_names offset: 0x0129a300
[-] kallsym.c:442/find_num_syms(); kallsyms_num_syms error
[+] find arm64 relocation kernel_va: 0xffffff8008082000, but try use: ffffff8008080000
[+] find arm64 relocation table range: [0x0172f558, 0x01b20d70), count: 0x0002a101
[+] apply 0x0002a100 relocation entries
[+] kallsyms_markers range: [0x01377e00, 0x01378670), count: 0x0000010e
[?] find approximate kallsyms_offsets error
[+] approximate kallsyms_addresses range: [0x01213700, 0x0129a1b0) count: 0x00010d56
[?] mismatch relo applied, subsequent operations may be undefined
[+] kallsyms_names offset: 0x0129a300
[+] kallsyms_num_syms offset: 0x0129a200, value: 0x00010d56
[?] no linux_banner? maybe CONFIG_KALLSYMS_ALL=n?
[+] names table vector index: 0x00000012, pid_vnr index: 0x000005a0
[+] pid_vnr verfied succeed, sp, insn: 0x910003fd
[+] vectors offset: 0x01079800
[+] pid_vnr offset: 0x0167384c
[+] kallsyms_addresses offset: 0x01295170
[+] layout kimg: 0x0,0x1cf0058, kpimg: 0x1cf1000,0x2c110, extra: 0x1d1d110,0x80, end: 0x1d1d190, start: 0x2307000
[+] kpimg version: b02
[+] kpimg compile time: 01:05:21 Feb 12 2025
[+] kpimg config: android, release
[+] tcp_init_sock: type: T, offset: 0x5a6142fb
[+] map_start: 0x5a614300, max_size: 0x800
[+] kallsyms_lookup_name: type: T, offset: 0x7051d70d
[+] printk: type: T, offset: 0x76a9c9d2
[+] memblock_reserve: type: T, offset: 0x6806be29
[+] memblock_free: type: T, offset: 0xe0d4db36
[-] symbol.c:47/get_symbol_offset_exit(); no symbol memblock_free
- 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
- 主要语言
- C
- 星标
- 1.6k
- 派生
- 395
- 平均合并
- 3 天 23 小时
- 30 天内合并 PR
- 7
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bmax121/KernelPatch 的其他 Issue
-
official LineageOS on nicepool: APpatch patching fails but only if done via recovery sideload可能已有人在做 @bmax121 于 11 天前认领。 未关闭
bmax121/KernelPatch#332 · 已指派 1 人 ·
维护者通常 3 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
bmax121/KernelPatch#329 · 1 条评论 ·
维护者通常 3 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
bmax121/KernelPatch#323 ·
维护者通常 3 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
bmax121/KernelPatch#319 · 9 条评论 ·
维护者通常 3 天内回复
-
SUPERCALL_KSTORAGE_LIST_IDS writes to an unvalidated userspace pointer with a raw memcpy → kernel KE未关闭
难度 3/5 1-2 天 新手友好度 72/100
bmax121/KernelPatch#308 ·
维护者通常 3 天内回复
查看 bmax121/KernelPatch 的全部 Issue
相似的 Issue
-
priority:medium type:chore
难度 1/5 1-3 小时 新手友好度 84/100
crazy-goat/php-fpm-ng#1041 ·
维护者通常 1 天内回复
-
Test failure on FreeBSD: #26 unexpected system_clock source可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭low priority rt_lib tests
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
bug
难度 2/5 1-3 小时 新手友好度 85/100