Add 6.6.77-android15-8-g5770c661275f XRing O1 kernel offsets - #95
Conversation
Complement PR YuKongA#7: the second validated XRing O1 (玄戒 O1) kernel build. Values sourced from the upstream XRING O1 tree (ayyy7128/ghostlock-xringo1), generated from the OS3.0.303.0.WOTCNXM full-OTA boot.img and verified on-device against its prebuilt libghostlock.so profile.
4ca0cb6 to
cac6113
Compare
独立验证补充(符号级核对)针对偏移来源的可复现性,已从 OS3.0.302.0.WOTCNXM / OS3.0.303.0.WOTCNXM 两个 OTA 的 violin(Xiaomi Pad 7S Pro, XRing O1)boot.img 分别提取内核(局部 Range 拉取 payload,未全量下载),两者 banner 均为: 用 vmlinux 符号表对 PR 中的偏移逐项核对(基址 0xffffffc000000000,off = vaddr − base):
注1:6.6 内核中独立的 注2: 结论:除遗留字段外,全部功能偏移与该内核符号精确一致;302/303 两个 OTA 内核 build 相同,本条目对两者均适用。 |
|
额,你有实际测试吗 |
|
https://github.com/ayyy7128/ghostlock-xringo1 参考应该是这个 不过我需要等我平板换主板之后测试 |
|
上面那个项目 的 APP用过 可以稳定给Linux version 6.6.77-android15-8-g5770c661275f-abogki443185593-4k 越狱 本项目的 哪怕给ota包链接也不能运行 |
Summary
Add support for the second validated XRing O1 (玄戒 O1) kernel build:
6.6.77-android15-8-g5770c661275f-abogki443185593-4k. PR #7 added the sibling6.6.118-android15-8-gc44b714366cc-abogki519650608-4k; this is the other kernel the XRING O1 platform ships with.Changes
src/kernels/6.6.77-android15-8-g5770c661275f-abogki443185593-4k/offsets.hsrc/kernels/offsets.hSource of the offsets
OS3.0.303.0.WOTCNXMfull-OTAboot.imgand verified on-device against the prebuiltlibghostlock.soprofile in the upstream XRING O1 tree (ayyy7128/ghostlock-xringo1, now offline):off_init_task = 0x020de280off_init_cred = 0x020f0548off_selinux_enforcing = 0x02315f68SOC_XRINGruntime branch (XRING_KERNEL_PHYS_LOAD) already covers this device, same as PR Add Xiaomi Pad 7 Ultra support with XRing physical mapping #7.Validation
clang -fsyntax-only -I src/core -I src/kernels -DTARGET_CONFIG_H='"target.h"' src/core/main.c.概述
为玄戒 O1 平台的第二个已验证内核
6.6.77-android15-8-g5770c661275f-abogki443185593-4k添加偏移支持。PR #7 已合并其兄弟内核6.6.118-android15-8-gc44b714366cc-abogki519650608-4k,本 PR 补齐玄戒 O1 的另一内核。变更
src/kernels/6.6.77-android15-8-g5770c661275f-abogki443185593-4k/offsets.hsrc/kernels/offsets.h中注册偏移来源
OS3.0.303.0.WOTCNXM完整 OTA 的boot.img生成,并经上游玄戒 O1 项目(ayyy7128/ghostlock-xringo1,现已下线)预编译libghostlock.so的 profile 在真机验证:off_init_task = 0x020de280off_init_cred = 0x020f0548off_selinux_enforcing = 0x02315f68SOC_XRING运行时分支(XRING_KERNEL_PHYS_LOAD)覆盖。验证情况
clang -fsyntax-only -I src/core -I src/kernels -DTARGET_CONFIG_H='"target.h"' src/core/main.c。