HUGE and DANGEROUS bug in MIUI 12 running Android 11 on Mi Note 10 Lite.
This happened to me twice so far, that goes to show that it's not a one off bug, nor user error. 2 times already, when I restarted the phone (actual restart routine) the system corrupts itself, flashes at the MIUI logo, then detecting that there is a problem, it proceeds to boot into recovery mode. But nothing helps. Only EDL Mode, for which only the pins work. Sent the phone to an authorized service center, they reflashed the firmware, running Android 10. After updating the phone again to the latest stable build, after a month, exactly this happened again.