Does anyone know where I can find the source code of Xiaomi. I don't mean only the kernel code like this here, but the whole code for their OS just like I can get it from here for Android in general.
You won't find it
OEMs are forced to reveal kernel code because they use Linux kernel code suitably modified (see licenses)
. Rest is proprietary. They are not obliged to share and on the contrary, it is guarded so that competitors do not take advantage of their features
Q & A