Guide
Build a kernel
Compile the GKI kernel with your device's sources and modules, and flash it safely.
What this covers
- Get the right kernel source and toolchain
- Configure for your platform
- Build the kernel and the modules
- Package and flash the boot image
- Recover if the kernel doesn't boot
The full guide, with the exact commands and the fixes for common
failures, is in the community. Join to read it →