Contents
How do I create a custom kernel?
Booting The Compiled Kernel:
- Browse to /out/arch/arm64/boot and find the Image-dtb file (compiled zImage) and copy the file.
- Download Android Image Kitchen and decompile your stock boot image. Once you decompile it you’ll find the stock zImage in the decompiled folder. …
- Flash via fastboot using the following command:
How do I create a kernel image?
Compiling the Kernel
After configuring the kernel, do a “make zImage” to create a compressed kernel image. If you want to make a boot disk (without root filesystem or LILO), insert a floppy in your A: drive, and do a “make zdisk”. If your kernel is too large for “make zImage”, use “make bzImage” instead.