[Xiaomi Mi 5 Questions & Answers] kenlie:
I had experienced below :

- Try to flash MI5 (with unlocked bootloader) with MiFlash (latest version) (Power battery at ~28%)

- It is hang at "system.img" over 20 mins, and unplug, become "bricked" (this bricked is just start up at mi logo, able to boot into recovery & fastboot mode)

- After installing "minimal adb & fastboot tools", some command, make it into "OEM EDL" mode and flash again using MiFlash (another version from some tutorial)

- Suddenly, fastboot mode screen is off, the power is out (I guess)

- Only see "qualcomm hs-usb qdloader 9008 (COM10)" in device manager (before running into "EDL" mode, it is shown as something Android Phone Interface, not named "MI interface", but it is Phone interface, not COM PORT

- At the stage, it is another "bricked", unable to boot into recovery and fastboot mode, no response on all button combination, plug device with USB to PC, only can see "qualcomm hs-usb qdloader 9008 (COM10)" is detected

- In MiFlash, it can detect also (Device as "COM10"), by all type of flashing ("Flash all" , "Flash all except storage"...), status always shown as "Missed hello packets, try to recover", but the time is still counting, whatever I tried many method

- It has been over 6 hours for this (~28% power), finally the window give detected device and undetected device in 3-5 sec back and fore.

- I give up to flash, try to charge the MI5 with to power pack (~4-5 hours)

- I wake up, and try to flash, it is success

By Conclusion, some points figure out

- Turn device into EDL mode will turn device detected as "COM" device, it means EDL mode is "COM" device while FASTBOOT mode is "Interface" device

- With tried many MiFlash version, some version detect device when it is "COM" device, some detect it when it is "ADB" or USB driver device

(Finally, it is succeed using "COM" device)

- "Bricked" device, it is not actual bricked, but just situation, my situation look like "bricked" are summaried as 3 :

1. keep start up at "MI" logo on boot (caused by flash failure), OS corrupted : this can be solved by correctly flashing rom

2. all has no response (when in EDL mode) : this is just an status of EDL mode, no need to solve, just continue your action

3. Out of Power : this cause nothing to do, just plug your USB to power to charge

Summaried Actual Step to Flash

(I had success 2 rom on CHINA DEV ROM & GLOBAL ROM) :

Preparation

1. Download OS Rom for fastboot from http://en.miui.com/a-234.html

2. Install Mi Flash (e.g. version "Miflash_tool_gemini_20160401.exe")

Download from https://www.androidfilehost.com/?fid=24521665358595574

* this version need switch device into OEM EDL mode

3. Install minimal adb & fastboot tools (minimal_adb_fastboot_v1.4_setup)

Download from https://www.androidfilehost.com/?fid=24521665358595410

4. Unlock Device

a. Submit request from Xiaomi (en.miui.com/unlock)

b. Recevie SMS notification unlock permission is ready

c. Go to en.miui.com/unlock to download the "unlock" tools

c. Login MI account on device (check if the device is on this list of MI account OR check i.mi.com)

e. Run downloaded "unlock" tools (MiFlashUnlock.exe), follow the instruction

Flashing

1. Boot device into fastboot mode (press "voulmn -" + "power" button), and connect device with USB cable

2. Open command console, go to installed minimal adb & fastboot tools folder (e.g. "C:\Program Files (x86)\Minimal ADB and Fastboot)

3. Check if device connected in fastboot ready by command "fastboot devices"

4. Switch fastboot mode to OEM emergency download mode (EDL) by command "fastboot oem edl"

5. Open MiFlash,

a. browse the downloaded rom

b. click "Refresh" button to load connected mobile device

c. select "Flash all"

d. click "Flash" to start flashing rom

6. Waiting to complete (~150s my experience from both China dev ROM & Global ROM)

7. Reboot

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

Finally, I had questioned are:

1. why some tutorial mentioned (not to mention) change to EDL is need, they can flash success

2. why the latest MiFlash on (http://en.miui.com/a-234.html) is not work, it cannot detect device (whatever it is COM(EDL mode) or Interface(fastboot mode))

3. Look like there are 2 version of MiFlash,

a. one type, its installation is packed with "Google ADB and driver, Qualcomm USB serial driver, Xiaomi MiFlash program..."

Folder named "MiPhone" in "Program Files" folder

b. one type, its only contains MiFlash program, folder named "XiaoMi", and its interface language is S.Chinese for me

4. Is it an must to flash in EDL mode?

If anyone had idea of above, please advise