Using EDL mode.
Download MiFlash, ADB Drivers 1.43, fastboot image (preferred 10.0.13.0 or 10.0.18.0), and (optional) Qualcomm drivers. Install them.
Extract the fastboot image.
Unlock bootloader. Tap build number 7-8 times, then turn on OEM Unlock and USB debugging. Turn off phone and turn...