Based on Android 11 firmware.
# Clone kernel repo
$ git clone https://github.com/rsuntk/android_kernel_samsung_a10s-r.git kernel-a10s
$ cd kernel-a10s
# See all defconfig
$ ls kernel/arch/arm64/configs
# Export the defconfig (stock rom)
$ export DEFCONFIG=yukiprjkt_defconfig
# Export the defconfig (lineage & gsi)
$ export DEFCONFIG=lineage_defconfig
# Export LLVM path
$ export PATH=/home/$(whoami)/toolchains/clang-r428724/bin:$PATH
# Export CROSS_COMPILE path (aarch64-linux-android)
$ export CROSS_COMPILE=/home/$(whoami)/toolchains/aarch64-linux-android-4.9/bin/aarch64-linux-android-
# Build
$ bash build_kernel.sh
- Support LTO (Link-Time Optimization)
- Support 99% llvm (yes, we still use Android-CC assembler)
- Mediatek's Connectivity modules as inline
- Prebuilt KernelSU (please change CONFIG_KSU to y)
- Full Permissive
- 2024 Rissu
- 2024 Rissu Projects
- 2024 yukiprjkt