Kernel
Kernel Place
If using the Xiaomi kernel Stock-kernel-a13V14.0.9.0.TGEMIXM-fog.zip successfully enters the custom ROM but the WLAN and sound do not work, it means that copying the kernel module was unsuccessful because there is no free space left in the vendor partition. The solution is to increase the size of the vendor partition and recopy the kernel module files. To do this, first create a vendor.img file from the vendor partition, then increase its size and copy the kernel module files. After that, flash vendor.img to the vendor partition in fastboot mode. To make the command easier, use the fastboot from TWRP, not the default one from Xiaomi. The details are here