[Redmi K20 / Xiaomi Mi 9T Questions & Answers] coolboy328509:
**EDIT**: Had to send the phone back as the bootloader was locked and nothing was flashing. I believe they EDL flashed it and all is good now. Unlocked the bootloader on the new one just in case this happens again, I will be able to fix :)

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

BACKSTORY:

Okay, so I recently updated to MiUI 12 and it wasn't great. My apps were crashing all the time and the general stability was not good. (this was around a week ago)

Then earlier today, my device just went into the boot screen (the colourful MiUI one) and stayed there for over 30 mins.

I forcefully restarted my phone using the volume buttons and it would go into the first "Mi powered by android" screen and then back into the colourful MiUI screen.

Then it would stay in the MiUI screen for a minute or so, and then restart itself, continually repeating the process.

At this stage, I had no custom recovery, had not tried to tinker with the phone (other than disabling some default apps through FastbootTools), and everything was fine until MiUI 12 came.

WHAT I DID:

I was able to access the default XiaoMi recovery (3.0?) and tried to wipe the data and restart, but nothing would change.

I tried to use the MiPC Suite after selecting in recovery, but it would recognise my device, even after updating to latest version.

I tried to use FastBootTools, but that would also not recognise my device.

I tried to use XiaoMiTool V2 (by Francesco Tescari), and that did recognise my device. I selected "my device is bricked" option and it did its thing, downloading and trying to sideload something. And then on the device, it got stuck at 4.99% with a message "You won't be able to turn on your device if you try to reboot it", and on the XiaoMiTool, the progress was at around 400% and said -70 seconds remaining, and around 40000MB / 3000 MB or something along those lines. Basically, **** was ****ed.

So I just let it sit there for a bit and then the XiaoMiTool V2 gave and error, "miui sideload failed adb execution exception adb sideload exited with status 1"

I had 3 options,

"Retry step"

"Go back to previous step"

"Cancel and abort"

I tried to search what the error was, but all of the results came from years ago, for different devices. So I clicked "Cancel and abort", only for the device to remain unchanged (4.99%, You won't be able to turn on your device if you try to reboot it), while the XiaoMiTool V2 went back to the start screen.

So I tried it again, the "my device is bricked option", and went through the same steps, and now it is stuck at "Pushing file to the device via ADB, ..., Starting MIUI sideload procedure".

Now I am stuck. My phone screen just says

"4.99%, You won't be able to turn on your device if you try to reboot it"

and my XiaoMiTool is stuck on the beginning sideload procedure.

Closing

If you managed to read this far, thanks, even if you don't have a solution. I appreciate anything that could help with this situation.