Compile a custom android kernel for Asus ROG Phone 2 using clang 10
Terminal_Heat_Sink
Hello there ladies and gentlemen, Heres a way that you can compile a kernel yourself if you are curious about how it is done.
here is the links and stuff you will need
dependencies
sudo apt install build-essential dkms linux-headers-$(uname -r) android-tools-adb android-tools-fastboot bc bison ca-certificates ccache clang cmake curl file flex gcc g++ git libelf-dev libssl-dev make ninja-build python3 texinfo u-boot-tools zlib1g-dev python vim repo
kernel
git clone https://github.com/freak07/Kirisakura_Yoda.git
for flashing compiled kernel
git clone https://github.com/osm0sis/AnyKernel3.git
clang for compiling
git clone https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86
android ndk ( has the cross compiler in toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/ )
https://developer.android.com/ndk/downloads
You will also need to have twrp installed so here is a quick guide I made https://www.youtube.com/watch?v=pgqboLXMSuk&feature=youtu.be
NOTE: this only works for android 9 version 1910.64
If you get stuck please leave a comment I will try my best to help you out
If you like what I do you can support me on Patreon. Patreon members get access to content earlier than here. ( I make videos unlisted for usually a day so patreons get a special link to view ) https://www.patreon.com/user?u=28429069
I also have a telegram group you can join if you want https://t.me/Terminal_Heat_Sink_Group
Affiliate Links: TubeBuddy handy youtube extension https://www.tubebuddy.com/TerminalHeatSink
Thanks and Bye Bye ... https://www.youtube.com/watch?v=b8-eOfWviU0
211685699 Bytes