Hello, I had this problem solved.
I have a Xiaomi 13 (model number 2211133C) but this should be the same case for any recent Xiaomi phone.
I tried to flash Global stock ROM but accidentally left the "clean all and lock" option selected on MiFlash Tool, so after the flash, Android system would...