Contents

Switch to dark mode

uwu_kernel is uwuAOSP's Soong module type for integrating kernel builds into Soong, replacing the legacy kernel build task.

uwu_kernel does not replace the kernel's own build system. Kbuild, Bazel, or other tools still build the kernel itself, while uwu_kernel connects the build invocation and its outputs to the Android build system.

Why uwu_kernel ​

The legacy kernel build task is one of the main blockers preventing standard devices from switching to Soong-only builds.

Legacy kernel module configuration scatters module installation targets and load lists across multiple Make variables and files with cross-references between them. uwu_kernel declares these directly in device configuration, separating which modules are installed into a partition from which ones are loaded.

Migration ​

Start with uwuCLI

uwuCLI reads existing device configuration, generates the corresponding uwu_kernel declaration, and reports items that cannot be converted automatically.

Verified Devices ​

Build and boot verified on:

DeviceKernelTypeKernel build system
OnePlus 6T (fajita)4.19non-GKIKbuild
OnePlus Ace 3 / 12R (aston(c))5.15GKIKbuild
POCO F7 / Redmi Turbo 4 Pro (onyx)6.6GKIBazel