YAKB is a two-way modular android kernel build script written in bash which is extensive.
What it means to be two-way is that it is an argument-based script and a menu-based script.
- Edit main.sh according to your needs. (read the comments for explanation on each variable.)
kver=<buildnumber> zipn=<zipname> bash main.sh img mkzip
This builds the kernel and makes an anykernel3 zip.
bash main.sh
This executes the script and will show two prompts to enter value of kver and zipn. (This can be done for CLI way aswell.) Next it will open a menu-based program which has 9 options for you to choose from.
EvaGCC 12.0.0
Proton Clang 13.0.0
Any custom clang toolchain with GNU binutils and LLVM binutils included
Any custom GCC toolchain with GNU binutils and LLVM binutils included
Feel free to drop a PR to improve this script.