A Custom Kernel for Samsung Galaxy S8 / S8+
- XDA Unified S8 / S8+ Forum: http://forum.xda-developers.com/showthread.php?t=3654423
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 950 -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 950 will only build the S8 Kernel
- ./build.sh 955 will only build the S8+ 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 dream(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
- @Tkkg1994, @morogoku, @Noxxxious, @farovitus, and @mwilky for help and commits