I had the same problem with my Mi 5s.
This is what I eventually did to solve it (from memory - Google a bit for detailed instructions):
Download the Chinese version of Mi PC Suite (It has more options than the english version)
You can then recover from bootloop, by using it's recovery;
- Start MiPCSuite
- Boot phone to recovery (volume up + power)
- Select "Connect with MiAssistant" (bottom option)
- Phone should be detected, and a popup will show on PC with recovery options.
I believe it could download the latest version for you, or you can select a downloaded .zip file to flash.
It will have to be the same type that was previously installed (during the failed flash). So you can not go from Dev to Stable, or from CN to Global.
Go here for (Mi 5s) roms:
http://en.miui.com/download-314.html#456
On the PC it immediately said flash failed, but the phone re-flashed the ROM anyway.
Hope this helps some...
P.S. Used my old phone with Google Translate App to read Chinese (Instant translation with the camera)
P.P.S. Other options won't work, because Xiaomi locked out the EDL in Chinese Developer versions. Even with the Deep Flash cable.
I'm now running Chinese Dev. version, and can not enter EDL anymore. I'll have to wait for bootloader unlock before I can flash again...
P.P.P.S. It seems I was wrong about not being able to switch: just flashed Global ROM 8.0.3.0 (From Chinese Dev. ROM 7.1.20) using the same method.
Again on the PC it said flashing failed (immediately) and stays at 0%, but the phone shows it's updating...
After flashing had to clear/reset data (again from MiPCSuite - Middle option in popup - Red button in 2nd popup), otherwise all apps keep crashing.
Because I'm back to Global ROM now, I can also use my Deep Flash cable again.