- Mar 28, 2021
Keep in mind, this is not the official source, it has no Xiaomi changes, but it might be helpful for someone.
The Redmi Note 11 has the SM6225 SoC, codename khaje.
The reason why we didn't get the kernel source is because our phone is GKI compatible, which means the kernel source has been clean and out since the beginning.
Khaje-idp is the dts you should use as base for this phone, as the original dtb is based on the same.
Devicetree for khaje is here
GKI kernel source
Config for building the kernel can be taken from arch/arm64/configs/vendor/bengal-perf_defconfig , or from doing adb pull /proc/config.gz on your own phone, then extracting the file from inside.