You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.
Shouko edited this page Jul 22, 2020
·
2 revisions
This guide will teach you how to build your own version of this kernel.
Install git, ccache, gcc and make.
Create a folder named toolchains in your home directory.
Download the Linaro crosscompilers and uncompress them in toolchains (Download arm-linux-gnueabihf and aarch64-linux-gnu and name them toolchain32 and toolchain respectively).
Clone the kernel with git clone https://github.com/halium-boot-xiaomi-sdm660/android_kernel_xiaomi_sdm660.git. If the download is too large, you can set the flag --depth=1.
Do the desired modifications (Optional)
Modify CROSS_COMPILE and CROSS_COMPILE_ARM32 inside of compile_kernel.sh so it points to your crosscompilers.
Start building by running compile_kernel.sh on a terminal.
Once it's done you will find the resulting zip file in output/Kernel-SDM660_Halium-XXXXXXXX-XXXX.zip