Kleaf kernel platform (kernel/platform/kernel-6.12) for building the Xperia 1 VIII kernel from source: Google's kernel build platform, the SonyPDX267 kernel repos, KernelSU and the CodeLinaro WLAN driver (in the modules repo). Co-Authored-By: Claude Opus 5.5 <[email protected]>
1.7 KiB
1.7 KiB
pdx267 kernel manifest
Adds the kernel source for the Sony Xperia 1 VIII (pdx267, SM8850) to a LintuROM
checkout, so the kernel is built from source with kleaf. Without it, the ROM uses the
prebuilt kernel from device/sony/pdx267-kernel.
Only needed when building for pdx267. It adds about 22 GB, mostly Google's kernel toolchain (clang and Rust); the kernel source itself is about 2 GB.
Use
In a LintuROM checkout (repo init -u .../LintuROM/android.git -b lineage-24.0):
git clone https://git.redlintu16.com/SonyPDX267/android_kernel_manifest.git ~/pdx267-kernel-manifest
ln -s ~/pdx267-kernel-manifest/kernel-6.12.xml .repo/local_manifests/pdx267-kernel.xml
repo sync
The manifest reuses the aosp, lintu and github remotes from the LintuROM manifest.
What is in it
Path in kernel/platform/kernel-6.12 |
Repository |
|---|---|
common |
SonyPDX267/android_kernel_sony_sm8850-common: Google's android16-6.12-2026-03_r59 (the stock kernel source) + KernelSU hook |
soc-repo |
SonyPDX267/android_kernel_sony_sm8850: Qualcomm/Sony soc-repo from Sony's 73.1.A.2.74 archive |
vendor |
SonyPDX267/android_kernel_sony_sm8850-modules: Qualcomm, Sony and NXP modules, plus CodeLinaro qcacld-3.0 (WLAN) |
qcom/opensource/devicetree |
SonyPDX267/android_kernel_sony_sm8850-devicetrees |
build/kernel |
SonyPDX267/android_kernel_sony_sm8850-build: Qualcomm kleaf |
KernelSU |
tiann/KernelSU v3.3.1 |
| everything else | Google's kernel build platform (toolchains, Bazel, helpers) |
The build target is canoe_perf (TARGET_KERNEL_PLATFORM_TARGET in
device/sony/sm8850-common/BoardConfigCommon.mk). The pdx267 device tree is not in
Sony's open source archive, so the stock DTB and DTBO are used.