You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest public commit messages refer to PKR110_15.0.0.861(CN01). The device / ROM image used for the stock boot comparison is PKR110_15.0.0.871(CN01).
Problem
The source builds successfully, but a boot image made by replacing only the boot.img kernel Image with the rebuilt Image fails to boot on slot B. The device either bootloops or falls back to fastboot. Restoring the stock boot_b image immediately boots normally.
I also verified that this is not caused by the boot image container, inner GKI certificate, outer AVB footer, or testkey signing:
Repacking the original stock kernel Image into the same boot v4 structure boots successfully.
Repacking with newly generated testkey inner GKI certificates and testkey outer boot AVB footer also boots successfully.
The failure starts when the rebuilt public-source kernel Image is used.
Evidence 1: stock boot uses CONFIG_HMBIRD_SCHED, public source does not provide the same implementation
Stock boot config extracted from the official boot Image contains:
This shows the public source is missing at least one stock WALT ABI/layout delta.
Request
Please update or release the exact source / manifest used to build the stock PKR110 Android 15 6.6.66 kernel, including:
The built-in CONFIG_HMBIRD_SCHED=y scheduler implementation used by the stock boot Image.
The WALT struct walt_rq layout / ABI changes needed to reproduce stock module CRC walt_rq 0xda944f6d.
Any related config fragments needed to build a bootable boot.img Image matching the stock ROM/vendor stack.
At the moment, the official public source builds, but the rebuilt kernel Image is not bootable on the stock PKR110 Android 15 ROM, while the original stock boot image boots normally.
Title: PKR110 Android 15 released source does not reproduce stock HMBIRD/WALT kernel ABI; rebuilt boot Image bootloops
Repository: OnePlusOSS/android_kernel_oneplus_sm8750
Device / ROM
Source used
I assembled the official public source for the Ace 5 Pro Android 15 branch:
The latest public commit messages refer to PKR110_15.0.0.861(CN01). The device / ROM image used for the stock boot comparison is PKR110_15.0.0.871(CN01).
Problem
The source builds successfully, but a boot image made by replacing only the
boot.imgkernel Image with the rebuilt Image fails to boot on slot B. The device either bootloops or falls back to fastboot. Restoring the stockboot_bimage immediately boots normally.I also verified that this is not caused by the boot image container, inner GKI certificate, outer AVB footer, or testkey signing:
Evidence 1: stock boot uses CONFIG_HMBIRD_SCHED, public source does not provide the same implementation
Stock boot config extracted from the official boot Image contains:
The public-source build config instead contains:
The running stock kernel's
/proc/kallsymscontains built-in HMBIRD scheduler class symbols:The stock boot Image also contains strings pointing to the actual built-in scheduler source path and functions:
However, in the public Android 15 source tree I can only find HMBIRD GKI/interface pieces such as:
I cannot find the stock built-in scheduler implementation, for example:
This suggests the public source does not reproduce the scheduler implementation used by the stock boot Image.
Evidence 2: stock WALT module ABI differs from public source
The stock vendor ramdisk
sched-walt.koexports:The public-source baseline build originally exported:
The other sampled WALT export CRCs matched, so the mismatch was narrowed to the exported per-cpu
walt_rqsymbol type/layout.From the stock module BTF,
struct walt_rqhas:curr_runnable_sum_fixedat byte 152prev_runnable_sum_fixedat byte 160The public Android 15 source has
struct walt_rqsize 632 bytes and does not contain those two fields.Adding only these two fields to
msm-kernel/kernel/sched/walt/walt.hmakes the rebuiltsched-walt.koexport the stock CRC:struct walt_rq { u64 old_estimated_time; u64 curr_runnable_sum; u64 prev_runnable_sum; + u64 curr_runnable_sum_fixed; + u64 prev_runnable_sum_fixed; u64 nt_curr_runnable_sum; u64 nt_prev_runnable_sum; };Result after rebuilding
//msm-kernel:sun_perf:This shows the public source is missing at least one stock WALT ABI/layout delta.
Request
Please update or release the exact source / manifest used to build the stock PKR110 Android 15 6.6.66 kernel, including:
CONFIG_HMBIRD_SCHED=yscheduler implementation used by the stock boot Image.struct walt_rqlayout / ABI changes needed to reproduce stock module CRCwalt_rq 0xda944f6d.boot.imgImage matching the stock ROM/vendor stack.At the moment, the official public source builds, but the rebuilt kernel Image is not bootable on the stock PKR110 Android 15 ROM, while the original stock boot image boots normally.