Rad Kernel Sources [whyred]
ShashankRAD Kernel is a custom linux kernel for whyred(Redmi Note 5 Pro/AI) that aims for best balance between performance and battery. Feature requests(only necessary), PR, and issues are always welcome.
kernel-hmp
HMP branch with support for old as well as new camera blobs, with CPU frequencies 1.9/1.7 GHz
kernel-eas
EAS branch with support for old as well as new camera blobs, with CPU frequencies 1.9/1.7 GHz
staging-eas/staging-hmp
Based on stable branches with upcoming changes and for testings, and will be merged into stable after full testings!
Note ·
From now on the kernel sources will be unified for Xiaomi's older camera blobs as well as for newer camera blobs. we have two different configs for it.
· whyred_defconfig if using older camera blobs
· whyred-newcam_defconfig if using newer camera blobs
CONFIG_XIAOMI_NEW_CAMERA_BLOBS
is defined already so no need to do, just switch the defconfig file(above) in your BoardConfig.mk!
"y" for new camera blobs and "n" for old camera blobs.
· V-tags are HMP builds and X-tags are EAS builds.
Further optimizations ·
Kernel supports LLVM Polly as well as LTO and can be enabled in the config with...
CONFIG_LLVM_POLLY / CONFIG_LTO_CLANG / CONFIG_THINLTO.
Note ·
LTO can significantly increase the compilation time so alternately you can try THIN LTO.