Xiaomi-flashing-without-auth-locked-bootloader-via-halabtech-tool Here
Works for both Qualcomm (EDL Mode) and MediaTek (BROM Mode) devices.
Install the latest Xiaomi USB Drivers and Qualcomm/MTK drivers on your PC. Works for both Qualcomm (EDL Mode) and MediaTek
In the tool, select the or "Bypass Auth" option if available for your model. Click Flash (or Write ). Works for both Qualcomm (EDL Mode) and MediaTek