xiaomi-mi5-review-502489-8

We are starting so called “How To” Guides. As you may guess from this article’s headline our first guide will be to learn flashing global stable rom to our Xiaomi Mi5’s. Becouse of the nature of this method this will be also an unbrick guide, i will explain about this after we learn HOW TO ..

Before we begin, for device drivers to install without a problem, to install drivers that are not digitally signed, we are going to disable Windows driver enforcement. To do this :

  1. Click the Start Start menu and select Settings.
  2. Click Update and Security.
  3. Click on Recovery.
  4. Click Restart now under Advanced Startup.
  5. Click Troubleshoot.
  6. Click Advanced options.
  7. Click Startup Settings.
  8. Click on Restart.
  9. On the Startup Settings screen press 7 or F7 to disable driver signature enforcement.

Your computer will restart and you will be able to install non-digitally signed drivers. Keep in mind that if you restart your computer again the driver signature enforcement will be re-enabled.

Second, we need to install adb on our computers, for that we will use program called “adb setup“, thanks to Snoop05 from XDA-Developers, this will enable adb and fastboot commands to work on our systems. It will also install necessary adb drivers. There are many ways to do that but what is more important about Snoop05’s solution is that we can use adb and fastboot commands system-wide, this means our old “command prompt” will turn to accept this commands, no need to work in “adb” folders like we used before.

Last step before we begin our guide is to enable “usb debugging” on our phone’s. In this example Xiaomi Mi5. Talking about usb debugging, i strongly advice to all users out there, please do “enable” usb debugging as first thing and keep it that way, dont turn it off. Saying this to be more safe for future problems. I mean in some bricks, this can be becouse of a wrong app setup, can be because of a false rooting way or even non-user related OTA update. Having usb debugging open is very crucial to rescue our phones from such disasters. Just keep in ming, i will explain more in the future.

On Xiaomi phones to enable usb debugging, go to settings>about phone and click “MIUI version” couple of times till you see “you are a developer” message. Then back to settings>Additional settings>Developer opitons>USB debugging, click it and allow. Your system will install “adb” drivers. Now open command prompt and type :

“adb devices”

Look at your phone for the “Allow USB debugging?” message, select “Always allow from this computer” and click ok. If you forget to allow from phone the command will return “unauthorized”, if ok you will see your phone as “device” and we are ready to start our guide.

adb devices

 

This guide is for locked bootloaders, no need  to wait for the unlocking procedure to flash this official rom. For unlocked bootloaders the method is almost the same, i’ll explain it too.

Mi5 Global Stable MIUI 7.5.1.0

Xiaomi MiFlash Flashing Software

Let’s download those two. First is our rom, second is our flasher Xiaomi’s Miflash. Before we install Miflash to our computer open the command prompt and type this command :

“adb reboot edl”

adb_reboot_edl

 

This command will reboot our Mi5 to “Qualcomm HS-USB Qdloader” mode, this is Qualcomm’s service port on most Snapdragon based phones. Your phone will be completely dark, so nothing will be seen on the screen, this is very normal. Here we will use this port to flash our rom, you may see this port in some “brick” situations too, if you have accidently corrupted some important partitions for example. So as you may guess now, this method can be used for unbricking our Qualcomm Snapdragon based Xiaomi’s too. If you face that kind of brick you can use this guide to rescue your phone, you will just change the rom, rest will be the same. For Xiaomi’s, rescue roms are so called “fastboot” roms and you can find them under this link :

http://en.miui.com/a-234.html

In my computer all drivers are installed. Your Pc will have a new unknown device under device manager after you reboot your phone to EDL (emergency download mode). Ignore it and start to setup Miflash that you downloaded, Miflash will install necessary drivers to your system , so dont forget choose “Install this driver software anyway” option when it asks, twice, and after it finishes you will see a new port named Qualcomm HS-USB Qdloader 9008 in your device manager too. The driver path will be “C:\Program Files (x86)\Xiaomi\MiPhone\Qualcomm\Driver”, in case you want/need to install your drivers again.

miflash_setup

miflash_driver

 

 

After you see your new EDL port, you now open Miflash itself. Click “refresh” button and you’ll see your port there. Then click “Browse” and choose your downloaded rom folder please (unzip it before you that). It will look like this :

miflash_rom

 

As you can see in above picture, there are some options under the Miflash window. “Flash all”, “Flash all except storage” and “Flash all except data and storage”. If you want to wipe everything in your phone and do a clean flash choose first one, if you want to keep your data in your storage (like pictures or What’s Up folder etc), choose second one. When you are ready click “flash” button.

miflash_finish

 

It took 155 seconds for me to flash our new rom, this is my computer of course, i wonder how long it will take on your PC’s. Let’s compare and leave a comment. You can ask anything you want in comments, i will try to answer them all. After you see “The operation completed succesfully” under “Status” section press your phone’s power button and boot it up. If you unplug the USB cable before it finishes you will brick your phone ! But, remember what i told, dont fear, unbricking prosedure is the same, just repeat all steps again.

For unlocked bootloaders, every step is the same, except, you dont need to boot your Xiaomi to EDL/Qualcomm HS-USB Qdloader 9008 mode,  just reboot your phone in “fastboot” mode while pressing “volume down-” button while you are powering it. Then repeat Miflash steps again.

Think of a brick situation that you can’t boot your Xiaomi Mi5, that you can boot to fastboot mode only. In this case we have an other fastboot command that will help us to unbrick our phone, just type this command in command prompt :

“fastboot oem edl”

Your phone will boot in EDL mode again, rest is the same..

mi5_9008

xiaomi_adb

 

Remember that i have told you to leave “usb debugging” on no matter what ? Let me explain it now. In case you bricked your phone and it does not boot normaly, in case your phone is stuck at Mi logo and you dont have “fatboot mode” either. Check your device manager for “ADB  Interface”. If its there, just use this guide, starting from “adb reboot edl” command step and rest is the same. Now you see why leaving usb debugging “on” is so important ? This little trick can save us our phone back in just 155 seconds !

So, again, dont let the headline of this article confuse you, you can use this method for every Qualcomm Snapdragon based Xiaomi phone including your Redmi Note 3 Pro (SD) or Redmi 3/Pro etc., except “fastboot oem edl” command, this command will only work on some new Xiaomi’s..

See you in the next “How To” article.

 

UPDATE : If you cant put your Mi5 into EDL mode because of the new version roms, shame on Xiaomi they locked all the fastboot and adb “edl” commands, here is the magic trick !! Tested it myself and i confirm it works.. Thanks to Rotnym Myntor from miui forum, amazing finding..

 

 

 

Copyright © 2016 by androidbrick.com. All rights reserved.

0 0 vote
Article Rating
Subscribe
Notify of
86 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Zaniar Mohammady
Zaniar Mohammady
10 months ago

hello sir
my poco f1 bricked while flashing rom by mi flash tools and like some other freinds here i face with some errors like can not recive hello pocket and can not read com port . it is on edl mod all time even by force edl mod i face with these errors . i have formated its hars but issue remains . and no tecnisian even best of them in my country can help me . i see your website and if it is possible add me to your facebook by this id saman,teh.3 or your telegram by this number +9809185769162 .i hope you can help me it is really mad me this problem and there is no xiaomi center in my
country . thanks my freind

Dima Singer
Dima Singer
2 years ago

what to do if debugging is off and the phone is bricked only edl ?

Dima Singer
Dima Singer
Reply to  AndroidBrick
2 years ago

im getting cant receive hello paket, i tried so many different wys, but everytime the same error, please help me

Dima Singer
Dima Singer
Reply to  AndroidBrick
2 years ago

its not working, im always getting error with hello paket

Regine Sooi Kuan
Regine Sooi Kuan
2 years ago

But i cant enter fastboot mode… argh

Fr Brendan O'Connor
Fr Brendan O'Connor
2 years ago

Second question. Should I try your Androidbrick tool instead of MiFalsh? If so, do I need a password to unpack it? Thank you. Brendan

Fr Brendan O'Connor
Fr Brendan O'Connor
2 years ago

Hello,
My Xiaomi Mi A1 seems to be frozen in EDL mode. It shows as Qualcomm HS-USB QDLoader 9008 and the MiFlash program sees it at Com 3. When I try to flash the stock rom, I get an error at the beginning saying that it “cannot receive hello packet”. Any idea how to proceed?
Many thanks for your help.
Brendan

Fr Brendan O'Connor
Fr Brendan O'Connor
Reply to  AndroidBrick
2 years ago

Thanks. I have been trying that for a long time without success. My plan now is to let the battery drain so that the phone shuts down. I hope I can then get it into fastboot mode and flash the stock rom.
Brendan

Andrius Žilėnas
Andrius Žilėnas
Reply to  Fr Brendan O'Connor
2 years ago

that’s very bad idea to drain – better open back lid and disconnect battery

Regine Sooi Kuan
Regine Sooi Kuan
2 years ago

My Mi5S died out of sudden. I’ve been using it for 1yr+ and it died on last Sunday.
I didnt do anything special with the phone. I’m just playing COC and out of sudden i found that the phone is hang. So I click on the power button once to turn off the screen. Then, the phone never come back anymore.
Always at black screen no matter i long pressed the power button or together with the volume button.
Charging the phone does not show any light, but the phone still heat up.
I connected my phone to my laptop and it shows “QUSB_BULK”.

Is that means my phone become brick? Can I unbrick it using your step?
Thanks.

Regine Sooi Kuan
Regine Sooi Kuan
Reply to  AndroidBrick
2 years ago

But I can’t enter Fastboot mode. Not sure how?

Ethem Kocataş
Ethem Kocataş
2 years ago

Hocam tekrar merhabalar.

1) Öncelikle ADByi çalıştırabilmem için (yanlışım varsa lütfen düzeltin) aygıt yöneticisinde bir ADB DEVICE tanımış olması lazım diye düşünüyorum. “https://prntscr.com/gs6hwc” Malesef ADB DEVICE yok.

2) Buna rağmen CMDden “adb devices” komutunu çalıştırdığımda “https://prntscr.com/gs6jaq” linkteki gibi listelenen hiçbir cihaz malesef olmuyor. Sürücülerdeki “Qualcomm HS-USB Diagnostic 9006 (COM3)” sürücüsünü ADB Device olarak sürücü zorlaması ile tanıttım ama bir değişiklik malesef olmadı.

Yine tıkandım hocam. El cevap bu fakire 🙂 Yardımlarınız ve paylaştığınız limitsiz bilgiler için tekrar çok teşekkür ediyorum. Saygılarımla…

Alberto Boscaro
Alberto Boscaro
3 years ago

Hi, i have complete the guide but after the complete of “mi flash process” the phone don’t boot up…
Cheers

Pavel Suslikov
Pavel Suslikov
3 years ago

Hello.
My Redmi 4X (3+32) hardbrick. Always black screen, flash led.
I has flash QPST eMMC Softvare Download, but not search “Flash programmer”.
Please, help me unbrick my device, thanks!

Pavel Suslikov
Pavel Suslikov
Reply to  AndroidBrick
3 years ago

Device start only EDL. Mode fastboot is not work. MiFlash see port with devive, but not flash him (not receive hello packet).

Pavel Suslikov
Pavel Suslikov
Reply to  AndroidBrick
3 years ago

Don’t work 🙁 Press 15, 30, 60 sec and 5 min. Port reset after 30 sec, but device not flash. Press power+vol- also does not change anything 🙁

Aurel Sobieraj
Aurel Sobieraj
3 years ago

Could you help me please I have a bricked mi5 with Qualcomm HS-USB QDLoader 9008. I flash rom with mi flash and all done succesful but when i power on mi5 after flashing still black screan any resolve please help me ?

Ergin Demir
Ergin Demir
3 years ago

Osman abi merhaba,
Bende Mi5 var ikinci el aldım, internet üzerinden aldım alan şahıs cihazın mi hesap şifresi unutulduğunu söyledi, cihazda problem yok mi hesabına giriş yapılmıyor. Miui 7 var üzerinde. Güncellesem hesap şifresi isteyecek. Ben Miui 8 kurmak istiyorum, kursam şifre istediğindebunu bypass etmenin bir yolu var mı?
Bir de miui forumda bir moderator bana deep flash kablosuyla miflashtan flash all seçeneği seçip flashlarsam hesabın komple kalkacağını söylüyor. Güvenemedim. Var mıdır aslı?
Kolay gelsin, iyi geceler…

Ergin Demir
Ergin Demir
Reply to  AndroidBrick
3 years ago

Maalesef abi bootloader kilitli. Gsmdevelopers diye bir forumda modified firmware buldum fakat korktum flashlamaya. Sanırım firmwarelerde cihazı kilitleyen uygulamaları kaldırmışlar. Hint sitesi, pek güvenilir gelmedi.

darren weekes
darren weekes
3 years ago

hey there, i have a MI5 i think its bricked? screen wont come on light fades reds and green at times… this is my first time to unbrick my Mi5, my computer doesnt recognize the mi5 and comes up Android… then sometimes it comes up mi5 on the usb port but keeps disconnecting anyway to walk me through it

darren weekes
darren weekes
Reply to  AndroidBrick
3 years ago

i got locked out my mi5 old email and password so i tried to reboot the whole thing then this happen

darren weekes
darren weekes
Reply to  AndroidBrick
3 years ago

now its telling me i need to unlock it what do i do now

darren weekes
darren weekes
Reply to  AndroidBrick
3 years ago

i did all that but my screen wont come back on and now a green light is fading in and out? and when i plug in the usb to my computer it comes up under android still

ArbyZ D.M
ArbyZ D.M
3 years ago

Hi Yazar,i have a rn3 with a blinking red led(i dont know what is the name of this state),in device manager i have the port QDLoader 9008(COM3),when i enter the adb devices command i get “List of devices attached” and then 2 blank lines(it doesnt see my phone),how can i fix it and where can i download prog_emmc_firehose_8974.mbn file (or the package).

Budiman Daeli
Budiman Daeli
3 years ago

Hi there
Im using mi4c is dead conditions it’s won’ turn on, can’t fastboot mode, no charging progress, but still detect on my pc as QUALCOMM DRIVER 9008 and it’s just red blinking while moment when i plug-in charger and gone after 2-3 min but when i push power button a little bit longer it’ just blinking again
I have try to flashing with miflash tool 2015 using fastboot rom dev china but it not work still dead conditions, that’s all, what the problem with my mi4c can it revive again or something to do?
Thanks for your time, and sorry about my english, please feedback ??

Budiman Daeli
Budiman Daeli
Reply to  AndroidBrick
3 years ago

First time flashing using fastboot rom china dev 6
1.2 sucssed nothing error but after that im try to turn on it’s still dead, after three times try not work i just using combination push vol+ power on for a long time it’s just red blinking again but here a new problem im try flasing again using custom rom unofficial 7.0.02xx LXCDxxx maybe its work but a while after i flash it’s show error “not enough storage” it’s quite worse im try to change to fastboot rom it’s same notif error, okay that’s all
Can solve the proble like thats?
thanks for feedback ??

Guilherme Klug
Guilherme Klug
3 years ago

Well, I’m from Brazil, and my m5 smartphone did not crash and I turned it off, and I already changed his ROM once and it was in the beta when it happened, literally it brickou once, and it does not go into fastboot, but it recognizes the Drive of any 9008, plus of the error in the part of the miflash, have some other method?

rafat khan
rafat khan
3 years ago

I have Phone redmi note 4g single sim. Phone bricked no fastboot no recovery no red light nothing .when i connect to pc it shows RELINK HS-USB QDLOADER 9008 by default when i try to flash with mi tool its load some files then says WAIT TO CONNECT 59 seconds then a message pop up press F8 while boot .i tried to “disable driver signature enforcement” but the problem still same….need help plz ..i m using win 7

shashank revaskar
shashank revaskar
3 years ago

After runing
Adb devices
My phone redmi note 4g india is not getting detected
Please tell what to do
At that time i have put my phone in download mode

shashank revaskar
shashank revaskar
Reply to  androidbrick
3 years ago

i used miflash to flash my redmi note 4g india but it gives error
unspecified error(0x80004005): FAILED (remote: fail to erase partition)

please guide me step by step to resolve it .

shashank revaskar
shashank revaskar
Reply to  androidbrick
3 years ago

when i use fastboot devices it showes my phone
and when i use adb devices it donot show my device

and one more point my phone is dead i have not enable debug
please guide me

shashank revaskar
shashank revaskar
Reply to  androidbrick
3 years ago

when i remove my battery and short the test point after that
in device manager i can see qualcomm hs-usbqdloader 9008

but when i try to flash it the miflash tool stops working
please guide me further

shashank revaskar
shashank revaskar
Reply to  androidbrick
3 years ago

yes

shashank revaskar
shashank revaskar
Reply to  shashank revaskar
3 years ago

yes

please tell me why this error , what is the reason behind it .
and is this issue due to software or hardware
unspecified error(0x80004005): FAILED (remote: fail to erase partition)

shashank revaskar
shashank revaskar
Reply to  shashank revaskar
3 years ago

windows 10 64 bit

shashank revaskar
shashank revaskar
Reply to  shashank revaskar
3 years ago

Please guide what should i do

shashank revaskar
shashank revaskar
Reply to  shashank revaskar
3 years ago

I googled it but no useful information i am getting

Can you tell me what is mean my ’emmc_appboot. mbn’
I found this in an developer rom

shashank revaskar
shashank revaskar
Reply to  shashank revaskar
3 years ago

now i am getting an error
one of the installers of this device cannot perform installation at this time.(0x800f0246: wait device connect 59)

i have disable my driver signature enforcement ,still after 68 sec i get an error to disable it.

now what please guide

shashank revaskar
shashank revaskar
Reply to  shashank revaskar
3 years ago

is there any say so that i can delete the partition and re create it.

as i tried to erase recovery partition it says fail to erase partition

i think may be there some issue in my internal storage.

shashank revaskar
shashank revaskar
Reply to  shashank revaskar
3 years ago

I understand your article

But the issue is that i phone is not usb debugging enabled .
Please do you have any other solution over it

shashank revaskar
shashank revaskar
Reply to  shashank revaskar
3 years ago

nice man i like you
can you send me friend request on fb
search this email id in fb search
shashank.revaskar@gmail.com

Subrata Subrata
3 years ago

Love to share that i flashed my mi5(3gb,32gb) from a fake chinese rom to global stable with this tutorial. Also thanks to @androidbrick for supporting me with additional tips over facebook chatting! Love u guys! 😀

Iwan Setiawan
3 years ago

i used try this method, my phone success fhalsing but now still hardbrick. please help solve my phone.

Iwan Setiawan
Reply to  androidbrick
3 years ago

yes, Hardbrick = Qualcomm 9008, no fastboot, no recovery mode, my phone xiaomi mi5, still brick.

86
0
Would love your thoughts, please comment.x
()
x