Here at Igeekphone, we try and bring you guys the latest news from the Chinese Smartphone manufacturers first. We also have a fair bit of knowledge and we thought , why not share this knowledge with our fans. From time to time we will post guides or helpful hints, to make life a little bit easier for you, just in case the unforeseen happens and your phone has run into problems.Xiaomi have been making headlines a lot lately, so we thought we would start with a Tutorial on how to flash your Xiaomi Smartphone, please enjoy.
So don’t hesitate to ask for help guys we will do our very best to answer or help if the unforeseen happens to your device. It doesn’t take a brain surgeon to work out what our very first guide will be.Today we decided to give you guys a step by step guide on how to flash the Global Rom to your Xiaomi device.The handy thing here is that this guide can also be used to unbrick your device.
The device being used in this guide is a Xiaomi Mi5
STEP 1.1:
First off , we need to disable the windows driver enforcement,we need to do this prior to beginning as the necessary drivers will not install as they are not digitally signed.
Just follow these instructions
Click the Start menu and select Settings.
Click Update and Security.
Click on Recovery.
Click Restart now, located under Advanced Startup.
Click Troubleshoot.
Click Advanced options.
Click Startup Settings.
Click on Restart.
On the Startup Settings screen press 7 or F7 to disable driver signature enforcement.
Your computer will now restart with windows driver enforcement disabled. Windows driver enforcement will be re-enabled when you restart your computer again..
STEP 1.2:
Now we need to install a program called “adb setup“, this installs adb on your computer. This will enable adb and fastboot commands to work on your system. It will also install necessary adb drivers. There are many ways to do that but with this particular solution we are able to use the adb and fastboot commands system-wide, this means the “command prompt” will accept these commands, without the need to work in the “adb” folder like We had to do previously.
STEP 1.3:
Before we go any further you must enable “USB debugging” on your phone. In this example, the Xiaomi Mi5. Our advice is to turn your USB debugging on and leave it that way because if you run into any trouble and access to your phone is limited or even bricked you can gain access because you left this on, it can save you a world of pain.
STEP 2:
To enable USB debugging on Xiaomi phones, go to settings> about phone, THEN click “MIUI version” a few times(about 7 times) until you see the message “you are a developer”. Go back to settings>Additional settings>Developer options>USB debugging, click it and allow. Now you should be able to connect your phone to the computer, now plug in the USB cable. Your computer will install “adb” drivers. Now open command prompt and type : “adb devices“
Look for the “Allow USB debugging?” message, select “Always allow from this computer” and then click OK.
It is important you click always allow as the command will return an “unauthorized“ message, if all goes according to plan you will see your phone listed as “device”.
There is no need to wait for the unlocking process to flash this official ROM as this tutorial is for locked bootloaders. For bootloaders that are unlocked the method is almost the same.
STEP 3:
Mi5 Global Stable MIUI 7.5.1.0
Xiaomi MiFlash Flashing Software
Now dowload both First link is Mi5 Global Stable MIUI 7.5.1.0 ROM, and the second is to Xiaomi’s Miflash FLASH tool. Dont install Miflash to your computer just yet, open the command prompt and type this command :
“adb reboot edl”This command will reboot our device to “Qualcomm HS-USB Qdloader” mode, this is Qualcomm’s service port on a majority of Snapdragon phones.Your phone will be completely dark, there will be absolutely nothing on the screen, dont panic, it is completely as planned and normal.. This is where you will use this port to flash your ROM, sometimes in situations where the device is you may see this— AS AN EXAMPLE- if you corrupted some really important partitions by accident.
This method is also very useful in unbricking Your Qualcomm Snapdragon-based Xiaomi Mi5s also. This tutorial is very useful to save your device if faced with that kind of bricked device, all that is needed is to change the ROM everything else will be the same. Rescue ROMs are called “fastboot” ROMS by Xiaomi follow this link if needed :http://en.miui.com/a-234.html.
All drivers are now installed on your computer. Device Manager will now contain an unknown device after you reboot your phone to EDL (emergency download mode). Dont worry everything is still going according to plan, just ignore it and begin the setup of Miflash that you downloaded at the beginning of step 3.All necessary drivers will be installed to your system by Miflash.
Ensure you choose “Install this driver software anyway” option when it asks,it will ask you twice, and after it finishes you will see a new port named Qualcomm HS-USB Qdloader 9008 in your device manager. The driver path will be “C:\Program Files (x86)\Xiaomi\MiPhone\Qualcomm\Driver”, just in case you need them at a later dater to reinstall. After seeing the new EDL port, open the Miflash. Click “refresh” button and thats when you will see your port. Make sure you have unzipped your ROM. Once open click the browse button and select the ROM download folder , (the location where you have unzipped the Rom). It will look like this :There are a few options available in the Miflash window “Flash all“, “Flash all except storage” and “Flash all except data and storage“. Make your selection depending on what data you would like to keep for instance if you want a clean flash choose the first option, this will wipe everything on your phone , if you would like to keep any data in your phones storage select the second option, this selection will keep things like pictures or What’s App folder etc. When you are ready, just press the flash button by clicking on it. Lets face it there are so many variables to your PC, flashing took 2 minutes 35 seconds, but it may be different because of your computer. Dont interrupt the process, it will complete.When the process is complete a message will pop up saying “The operation completed successfully” under “Status” section press your phone’s power button and boot it up. DO NOT, I REPEAT DO NOT unplug the USB cable before it finishes.
Just remember guys its a process, whatever happens don’t panic,just repeat all the steps above the unbricking procedure is the same.Every step listed above is the same for unlocked bootloaders, every step is the same, The only difference being is that you don’t need to boot your Xiaomi to EDL/Qualcomm HS-USB Qdloader 9008 mode, just reboot your phone in “fastboot” mode whilst pressing the “volume down button and the power button, then just repeat the MiFlash steps over again.
If you are in a bricked situation and you can’t boot your Xiaomi Mi5 except for fastboot mode — In this case, we have another fastboot command that will help you unbrick your phone, just type this command in command prompt :“fastboot oem edl” Your phone will boot in EDL mode again, then do the same as listed above above.Remember to leave “USB debugging” on, This In case you have bricked your device and it will notboot as it should, it is also important to leave USB debugging on in case your phonewill not boot past or gets stuck at the Mi logo and “fastboot mode” in not available either. Check your device manager for the “ADB Interface”. If it’s there, just use this guide, starting from “adb reboot edl” command step and rest is the same.
The importance of leaving the USB Debugging mode on, cannot be over stated, it means the difference between getting your device back to normal in around 5 minutes and not getting your device back at all. We hope this Flashing Xiaomi tutorial helps some of you, keep coming back for future handy hints and guides. See you around guys.