Hello,
I used this guide https://forum.xda-developers.com/android/software-hacking/reference-how-to-compile-android-kernel-t3627297 to compile Oneplus 5 stock kernel.
(I'm using Ubuntu 17.04)
I used aarch64-linux-android-4.9 as toolchain
I took msmcortex-perf_defconfig as defconfig file
And anykernel2 to obtain a zip file
And to config the anykernel.sh text file I took example on https://github.com/nathanchance/AnyKernel2 (just changed the codename)
When I flash through my TWRP, it says like "fatal error... Aborting..."
I used boeffla kernel before but before flashing my own kernel I flash the boeffla backup for stock krl
I'd really like to know what is not working to fix it or at least understand why things are broken :3
Thank you in advance
FSW