I solved the problem on my Mi 9T
Make sure you flash the misc.bin file too!
So the total thing would be:
Go to the folder where you put the twrp-recovery.img and rename to recovery.img. Put the misc.bin file from this link in the folder. (i know its the K20 Pro misc.bin file, it still works...