A Custom Kernel for Samsung Galaxy S9 / S9+
- XDA Unified S9 / S9+ Forum: http://forum.xda-developers.com/showthread.php?t=3833182
Compiled using Google GCC 4.9 Toolchain
- URL: https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9
Adjust the toolchain path in build.sh and Makefile to match the path on your system.
Run build.sh with the following options, doesn't matter what order keep and silent are in.
For example: build.sh 960 -s
- ./build.sh will build TGPKernel
- ./build.sh -k will build TGPKernel and also copy the .img files to the .output folder
- ./build.sh -s will build TGPKernel but only display warning and errors in the log
- ./build.sh -ks will do both -k and -s at the same time
- ./build.sh 960 will only build the S9 Kernel
- ./build.sh 965 will only build the S9+ Kernel
When finished, the new files and logs will be created in the .output directory.
If Java is installed, the .zip file will be signed.
These commands can only be executed by themselves
- ./build.sh 0 will clear the workspace
- ./build.sh 00 will clear CCACHE
- ./build.sh configs will regenerate the stock star(2)lte configs and overwrite the old ones
- Samsung Open Source Release Center for the Source code
- The Linux Kernel Archive for the Linux Patches
- @osm0sis for Android Image Kitchen and anykernel2
- @Noxxxious and @farovitus for help and commits