Are you interested in REQUESTS? Save with our coupons on WHATSAPP o TELEGRAM!

Xiaomi Mi5: replace a "fake" ROM or install an official ROM without unlocking the bootloader

You have asked for so many and we want to please you. We are pleased to present you the guide to replacing the ROMs "make-ups" and to install the official ROMs on Xiaomi Mi5!
As you know, Mi5 was the first Xiaomi device to be officially achieved by Android Nougat and soon on Android Developer will be implementing Android N.
Do we still have to remind you why Global is our case? they OTA updates, on the Mi5 are equipped (both the developer and the stable) of Italian language and have the preinstalled Google services.

Let's see what we need and how to do it.

If you were willing to unlock the bootloader, we recommend that you install the China Developer and not a Global on your Mi5 because many users have encountered problems when unlocking with the Global and the same Xiaomi staff recommends avoiding incompatibility problems of the unlocking tool by exploiting the China developer!
In fact, once the Global is installed, in fact, you will not be able to return (except for complicated procedures) to China to unlock the bootloader because the Global will have the EDL locked!

We are informed that on some devices it was possible to perform the procedure directly from the "updater" app, making this guide superfluous, so first try to install the ROM directly from the updater by following these steps:
  1. download the ROM chosen from the respective link directly from your smartphone: MIUI Global Stable 8.1.2.0 ZIP versionMIUI Global Developer 6.11.10 ZIP versionDownload China Developer 7.1.12 ZIP version
  2. go to the app updater from your phone
  3. click on the 3 balls in the upper right and select "select update package"
  4. navigate to the path where you downloaded the ROM and click on the .zip of the ROM
  5. then follow the on-screen instructions to install the ROM

If, instead, the app updater reports an error in the package analysis, proceed with the installation of MIUI Global with the help below.

preconditions

  • perform all the operations with fully charged smartphones
  • the connection to the PC must be done without the use of HUB USB
  • the flash of the new ROM will result in the loss of all data: A backup on another device is strongly recommended
  • the guide is also working to install other official ROMs, provided in fastboot version
  • xiaomitoday.it assumes no responsibility for procedural errors

The Xiaomi Mi5, like other models, has the EDL locked by the official 6.11.2 ROM and therefore if you have an official ROM following this version, you can not follow the guide but you will need to unlock the bootloader to go to the Global ROMs. If, on the other hand, mount a farlocca ROM - e here we explain how to recognize it - You can follow this guide because you will have the EDL reachable.
1

Disable driver signatures on your PC (required for Windows 10 and Windows 8.1)

  • from the phone, go to settings -> device information and click 7 times on MIUI Version: in this way we will become developers
  • always from the phone, now, let's go back to settings -> additional settings (the second item, not the one under "hotspot" but the one immediately following "memory") -> developer options and activate the Debug USB

Now let's turn off signatures on your PC.

  • (if you have Windows 10 follow these steps and then proceed to the next step)notifications icon bottom right, click on all settings, then up upgrade and security, select the card for developers and choose the developer mode
  • (if you have Windows 8.1 - continue here if you have Windows 10) restart by holding down the SHIFT key and, at restart, enter the TROUBLESHOOTING menu and then in ADVANCED OPTIONS
  • then click on START SETTINGS and then on RIAVVIA. When you reboot, you will be presented with one list like this below and you will have to click F7 by disable driver signatures. The PC will restart automatically
    guide-redmi-4-pro-global-stable-install-rom-Italian-bootloader

2

We install adb and MiFlash drivers on the PC

We just restarted the PC, then download the following files and one of the inserted 3 ROMs (keeping in mind what was said at the beginning of the article):

Download Driver Installation Tool Adb

Download ADB folder

Download MiFlash Beta

Download Global Stable V 8.1.2.0 Fastboot version
Download Global Developer 6.11.10 Fastboot version
Download China Developer 7.1.12 Fastboot version

 

If you decide to install the China Developer or the Global Developer and Miflash returns an error (eg. Can not read from COM10 port), try to install the China Developer ROM or the Global Stable shared below which are older and do not create problems:

Download China Developer V 6.3.17 Fastboot version - Download Global Stabile V 7.2.4.0 Fastboot version

now connect the phone to the PC and verify that it is connected in MTP mode (lower the notification curve and, if connected in "charging" mode, change it to MTP). At this point on your phone you will see a message asking you to allow USB debugging from your PC: before agreeing to it, we will post the box "always allow debugging USB from this computer"And then we give our consent.

Now let's start the driver driver installation tool (right click + start as administrator) and click on install as shown below:

tool-driver-adb

 

At the end we install MiFlash and when prompted to install the drivers with a warning, we consent to the installation of the drivers. The message will be repeated 5 times higher and we confirm it all the time.

Restart the PC and extract the ADB folder, copying it to C: /. You will have to have such a situation:

adb driver folder

 

 

Kedacom driver control before Flash

Go to Device Manager (on W10 just right-click on the Windows logo at bottom left) and make sure that with the phone connected to the PC in fastboot mode, a "Kedacom USB Device". [basically your Windows build does not recognize device drivers correctly]
Click on Kedacom USB Device and open the submenu. You should have Android Bootloader Interface. Right click on it and select "Update driver software ..", select search for driver software on your computer (option below), select search from a list of drivers on your computer, select version 7.1.0.0 and wait for the 'installation.

If you have problems, you can follow the procedure indicated by the following video demonstration.

Unplug the phone and restart the PC. Then check out Device Manager that your phone is no longer recognized as Kedacom.

 

You should have the phone still connected to your PC, so hold down SHIFT and click the RIGHT BUTTON in a white dot of the ADB folder and then select "open a command window here".

In the window that opens there, write it down adb devices and send date. You will see an alphanumeric string with the "device" next to it.

command window

If the words "unauthorized”Means that you have not ALWAYS authorized usb debugging! In this case, close the window, unplug the phone, go to developer options, click on “revoke USB debugging permission”, disable USB debugging, restart the phone, go back to developer options, reactivate USB debugging and reconnect it in MTP mode. You will get the message and you will need to check the box before allowing debugging.

Once the "device" message appears, we can proceed: write "adb reboot edl" without quotation marks and your phone will look dead, which means the screen will turn black, but it will stay on. Everything in the standard.

Now we have to extract with WINRAR (only with WINRAR I recommend!) ROM from downloaded .tgz file.
You will have a new folder with a name similar to this: "gemini_global_images_ecc etc" with a folder of images and other files inside it.

Let us then move the folder to C: / so that the path C: / gemini_global_images_ecc etc /, even better if we rename the folder in C: / rom to shorten the path of the files (could cause an error).

Be careful not to have two identical folders in the other and do not insert spaces in the file path (eg C: / rom is fine!)

 

3

How to flash ROM from MiFlash

start MiFlash, click on SELECT and select the downloaded ROM folder - point (1) of the image.

Click on REFRESH - point (2) - and a string will appear with code COM10 (3) We select clean all at the bottom of the program - point (4) - and let's wait for a few minutes to wait for a flash.

Click on FLASH (5) and wait for the process to complete.

miflash

 

When the program completes the operation, the phone will restart automatically (if it does not restart, hold down the power key and restart).

What to do now? Nothing, wait for the restart, and even if you are going to put it a lot, you'll enjoy the full functionality of your chosen ROM.

 

Flash problem resolution (can not read from this port)

If MiFlash gives you a similar error, the reasons may be:

  • you extracted the ROM into a folder with spaces in the name or in a folder with the same name as the one in which it is contained (just move the ROM)
  • you WINDOWS 7 and you have not disabled verification of driver signatures
    (restart the PC: during Windows startup press F8 and the screen below will appear Select FIRMA DRIVER DISABLE DISABLING and the PC will restart Proceed with the flash from Miflash as a guide without reinstalling the drivers adb) - NOTE: THE SETTING IS DISABLED UP TO YOU DO NOT REACH YOUR PCwindows 7 driver

 

I hope I have done what you like and I remind you that you will soon see other similar guides like this but for other Xiaomi devices. A good news no?

If you were satisfied with the guide and, why not, if you would like to offer me a beer or a coffee for the work done, I leave you the PayPal donation button below. No obligation, mind you!

paypal_donate

 

Marco Rossano
Marco Rossano

Management engineering student, passionate blogger in the Xiaomi world and, more generally, technology. In leisure time, besides writing guides for Xiaomi devices, I have three passions: football, music and cycling :) Write me: https://www.facebook.com/yugin89

Subscribe
Notify
guest

13 Post comments
most voted
more new older
Inline feedback
View all comments
Jos4mi
Jos4mi
6 years ago

Hi, I think I have a fake rom on my Redmi 4 Pro ... comment image Could you tell me how to permanently delete it? The phone is blocked with this rom, it does not update either via Fastboot or via Ota… it always gives me an error. When I connect it to the PC to unlock it via MiFlash it does not appear (I also tried with other USB cables) even if I have installed the Qualcomm drivers correctly. I tried your guides to the letter, but it doesn't work… Isn't it possible to do a Formattone and start from scratch like you do with Windows? Please you are my last resort!

OniNemesis
6 years ago

This procedure also works for those who want to abandon xiaomi.eu (so BL unlocked) and go back to the global one?

XiaomiToday.it
admin
6 years ago
Reply to  OniNemesis

yes, but be careful not to re-boot the bootloader

FraSim
FraSim
6 years ago

Good evening and congratulations for your guides. Please, I would like confirmation of what I am about to do. I have an MI5 with MIU 7 Global Stable 7.2.8.0.0 (MAACNDB) version installed in Italian; therefore, from what I have learned from you, it is a "fake" version. Can I proceed with the update by replacing with the "MIUI Global stable 8.1.2.0 version zip" version present in this guide? Thanks.

Marco Rossano
Marco Rossano
6 years ago
Reply to  FraSim

Right!

FraSim
FraSim
6 years ago
Reply to  Marco Rossano

Done. All right. Can I use the same procedure on a xiao mi pad? Thanks again.

Victor
Victor
7 years ago

Guys I followed the guide to the letter but I have this problem in installing the global stable, phone taken from gearbest with fake rom.

I copy part of the log
start flash.

can not receive hello packet, MiFlash is trying to reset status!
try to reset status.
write time out try agian 97
error: The write timed out

Ndea46
Ndea46
7 years ago

I bought a Mi5 from Gearbest, so to speak the one reported in the promotion to 206 €, from the product description and customer reviews will come with MI MIl XUMUMX. Can I use this guide to install the MIUI 7?

Thanks in advance for availability

Simone
admin
7 years ago
Reply to  Ndea46

Certainly!

Marco Toni
Marco Toni
7 years ago

Hi I wanted to ask something, having the latest Global stable available I have the EDL locked. However, having the bootloader locked, I wanted to update the developer and then unlock it. I tried with update but it doesn't work because it tells me can't verify the update. So I'm wondering what can I do?

Simone
admin
7 years ago
Reply to  Marco Toni

Did you try to unlock the bootloader with the stack?

Marco Toni
Marco Toni
7 years ago
Reply to  Simone

I managed to unlock it with the stable! everything went well… thanks a lot for your help

MatteoW308
MatteoW308
7 years ago

Hello everyone. I purchased from poco my xiaomi mi5, I followed this guide to install the global dev, having previously mounted a fake rom, everything went well, a really good guide, congratulations. The only perplexity concerns the point of the Kadacom usb device, as it did not appear in the device manager, thinking that perhaps it did not appear at all, I continued with the guide. During the flash the writing unauthorized appears, and following your instructions I reactivated the usb debugging, and everything went perfectly. the doubt concerns the kadacom, as perhaps it did not appear for... Read the rest »

XiaomiToday.it
Logo