How to flash a Xiaomi phone using MiFlash. Self-flashing Xiaomi phones, smartphones and tablets We connect the phone in edl mode

Modern smartphones impossible to imagine without the main component - operating system. It is she who reveals to the user the huge potential of a smartphone, allowing a person to work with a powerful device as conveniently and dynamically as possible. Absolutely all smartphones are produced from the assembly line, having a pre-installed operating system.

Users who are not satisfied with the standard firmware have the opportunity to install their own, having a computer and a clear set of programs and drivers at hand. Firmware via MiFlash will help not only update the internal component, but also fix a huge number of problems, including bootlap, permanent system errors and a "bricked" apparatus.

What is needed for firmware

What you need to have in service to successfully install new firmware?

  • Computer running an operating system Windows versions 7, 8, 8.1, 10 any bit depth ;
  • The program with which the firmware will be installed - (it will also install all required drivers for work). If you have installed old version, then before installing a new one, you must remove the old one.
  • Downloaded firmware that needs to be installed on the phone. It must be up-to-date, stable and exactly fit specifically for your phone model. Firmware format should be ".tgz", if you only have ".gz", just rename its format.
  • Your smartphone, its model must be no older than Xiaomi Mi3 and have a Qualcomm processor.

MiFlash installation

Disable driver check

For proper interaction between the computer and the phone, it is necessary to have installed drivers on Windows. In order for them to be correctly installed into the system, you need to disable the function on the computer that checks the authenticity of installed drivers - then the phone is flashed without problems.

For Windows 7, restart your computer. Immediately after loading the BIOS, quickly press the F8 button several times (you may have a different key), after a short time a list of additional commands for loading the operating system will appear. In the "Advanced download options" section, select "Disable Driver Signature Requirement".

Keep this step in mind if following this guide you encounter problems installing the driver while running as admin. command line enter and run the following commands one after the other:

bcdedit.exe /set loadoptions DDISABLE_INTEGRITY_CHECKS

bcdedit.exe /set TESTSIGNING ON

After each command, check the computer's response that the command completed successfully, then turn off and then turn on the computer.

In Windows 8, 8.1, and 10 environments, press and hold on the keyboard Shift key, then use the mouse to reboot through the button in the "Start". Follow the path by pressing the Diagnostics, Advanced Options, Boot Options, Restart buttons on the screen. The system will reboot, in the corresponding screen with the F7 button, use the boot option "Disable mandatory driver signature verification".

Launch MiFlash

  1. Download MiFlash software. The archive must be unpacked into a previously prepared folder with the same name along the path "C:\Android\". To avoid syntax errors in all paths, use only Latin, no Cyrillic, spaces, and a minimum of characters.
  2. Select the firmware to be installed. Download it to your computer and extract the archive to the above folder.
  3. Run the program executable. Agree to start installing the drivers by clicking on the "Next" button (if the installation does not work properly, see step 1). You will have to wait a while until the files are unpacked and integrated into the system. After notification of successful installation, close the program window by clicking on the "End" button.

Connecting your phone to a computer

  1. Now let's move on to the phone. Make sure it is at least 50% charged. turn it off in the usual way, then switch to the "Fastboot" mode - turn it on with a special key combination, holding down the power button and the volume rocker at the same time. After a short time, an image with a bunny in an earflap will appear.

  1. When the phone is in this mode, connect it to the computer. It is highly desirable to use the wire that came with the phone - this will provide the most stable connection. In the absence of it - just take the wire good quality. Insert the appropriate plug into Xiaomi device, plug the other end into a USB 2.0 connector on a laptop or computer.
  2. Run Command Prompt in Windows as Administrator. Using the cd c:\Android\ command, change to the directory created earlier when installing the miflash program.
  3. We check the "friendship" of the computer and the phone - enter the fastboot devices command into the command line, after which an inscription similar to xxxxxxx fastboot will appear (it will mean that the synchronization was successful). If we see the inscription waiting for device on the screen, you need to check if you forgot to connect the phone, also check the cable is working. Alternatively, reinstall the drivers.

  1. With the fastboot oem reboot-edl command, put the smartphone into a special mode called "Emergency Download Mode". At this time, a sound notification notifies you that a new device has appeared on your computer. Synchronization of devices is completed, you can proceed directly to the firmware.

Phone firmware

  1. Open the MiFlash program again. Click on the “Refresh” button, then use “..” to show the program the folder where you previously placed the necessary firmware.
  2. Next, you need to choose whether we will save the data on the phone, or delete everything cleanly. As a rule, the second option is recommended, then the firmware will be installed most correctly. Click on the "Flash all except storage" button to leave the data on the phone, for full formatting, select "Flash all". Once you've made your selection, click on Flash. Then the program will perform the selected action, and the firmware will start Xiaomi Redmi 3S (or any other).

  1. The speed of the installation of the operating system depends on the size of the firmware itself, the speed of the cable and the speed of the memory inside the device. In any case, it will be quite normal to spend time from 10 minutes to 1 hour.
  2. After completion of work miflash phone will reboot on its own. If the automatic reboot was not completed, run the fastboot oem reboot-edl command in the Windows command line, or press and hold the power button on the phone for a while until the firmware logo appears on the display. Then carefully disconnect the cable from your smartphone.
  3. After installing the new firmware, the phone will boot for the first time for a relatively long time. Depending on the technical nuances of the operating system, the boot logo can hang from 5 minutes to half an hour. In exceptional cases, you can try to wait 1-2 hours, provided that the phone is connected to the charger.

Possible problems

If no changes are observed on the screen for a long time, try removing the battery for 20-25 minutes, then insert it back and start the smartphone again. If this does not help, leave it turned on for a long time so that its battery is completely discharged (do not forget about the phone in this form for a very long time, no more than 4-8 hours (depending on battery capacity and its age) in order to avoid severe battery problems). After the phone turns off, connect it to the charger and turn it on again.

If the above steps do not help, try installing another firmware, or reinstall the previously selected one.

If during the installation of the operating system you receive a notification that there is not enough memory to complete this operation, try repeating the instructions on Windows x64. If changing the OS bit depth does not help, you will have to use another very popular program to install - Flashtools.

If the error "remote-Need to unlock the devices to use this command" appears, then you need to contact the official MIUI website with a request to unlock the bootloader to install the firmware, details can be found in.

Outcome

Following this instruction, any phone with an unlocked bootloader using MiFlash can be flashed with a suitable operating system. Android system, which will help to adjust the phone as much as possible to the needs of a single user. Correcting software errors, restoring "bricks" or simply replacing the internal component of the smartphone will help you use the phone for its intended purpose.

Or a tablet, usually it already has firmware (Firmware) with a certain OS version, but this is not always convenient. And it's not even in the pre-installed functions. Many Xiaomi devices lack Russian language support, and even if it does, the translation may be inaccurate or incomplete. In addition, the Firmware often contains unnecessary options and applications that cannot be removed, or even worse, the gadget sometimes slows down, freezes, and does not open some programs. But these problems are easy to deal with - if you are not satisfied factory firmware Xiaomi Mi5 or other devices of this manufacturer, then it can be updated or changed.

There are official and custom (Custom) Firmware. Custom builds are created by users, sometimes they are much better than factory OSes. Which software choose is up to you.

There is a huge amount of Firmware on the w3bsit3-dns.com website. There you can find firmware for any need, including global or Russian-language. Each OS has a description with screenshots and detailed instructions. You will immediately be able to understand what the system interface looks like and what functions it has.

There is a specialized service with official firmware for Xiaomi - proxiaom. There are news, reviews, articles, applications. Choose only the OS that suits your phone or tablet. If you install Firmware that was developed for another model, then there will be problems with the gadget. You can also find the firmware on the official Miui website.

What does "Locked bootloader" mean?

Bootloader (or "Loader") controls the process of starting the operating system. It is analogous to a computer BIOS. If damaged system files, the bootloader will allow you to activate recovery mode and reset the gadget to default settings.

In the latest models Xiaomi Bootloader blocked. This means that it will not work to reflash the device using standard methods. The manufacturer puts a similar restriction so that third-party software is not downloaded to devices, but they use a system that is specially designed for this gadget.

Online stores often install their own firmware. It may be filled with useless adware or be unstable. A locked bootloader prevents you from downloading an incompatible OS to your Xiaomi device.

But this defense mechanism also has its downsides. If you are not satisfied with the factory Firmware, then it will not be possible to change it, but you will have to look for workarounds.

You can try to remove the restriction by submitting a formal request to Xiaomi company. However, this doesn't always work.

You can find out if your bootloader is locked like this:


Before firmware

Before flashing Xiaomi Mi5 or any other model, do the following:

  • Fully charge the gadget so that the battery does not run out during the reinstallation of the OS.
  • Do backup information from your phone or tablet. Save contacts, messages, sms, notes, photos, videos and other important data on other media or in network storage.
  • Install device drivers on your computer. They must be included with the smartphone or tablet. You can also download them on the Internet, but in most cases they are installed automatically when you connect your phone to a computer.
  • Search online and download a utility called "adb". This is a universal program that allows you to control Android devices from a PC. You may need it to flash Xiaomi. Place the folder with it in the root of the system drive. The path to the directory should not contain Russian letters or spaces (it will turn out C:\adb).
  • Download the Firmware that suits your phone model in advance. The name of a multilingual OS with Cyrillic support must contain the word "Global" (meaning "global").
  • Enable USB debugging on your mobile device. To do this, go to the settings and tap several times on the item with the OS version. After that, the "For Developers" mode will become available in the parameters. There you will find the option you need.
  • A USB cable must be available for Xiaomi connections to the computer.

Firmware with MiFlash

To flash a gadget, you need to find and download the MiFlash program on the Internet, but installing it on a PC is not so easy. To do this, you should temporarily prohibit checking the digital signatures of drivers.


After that, you can download the firmware.


Firmware via EDL

To put a global Xiaomi firmware Mi5, you need to put the device into EDL mode. This is also true for devices with a locked bootloader.

Xiaomi firmware with a locked bootloader if there is no EDL

Here is how to flash Xiaomi Mi5 to global firmware if EDL does not work on the device:

  1. Repeat steps 1-9 from the previous chapter. If the inscription “FAILED” appears when switching to EDL, this means that this mode is blocked.
  2. Find and download the Unlock_edl utility.
  3. Unzip it into system drive. Names must contain only English characters.
  4. Connect your phone in fastboot mode.
  5. Hold Shift, right-click on the Unlock_edl folder and select "Open Command Window".
  6. Enter the commands "fastboot devices", "fastboot flash aboot emmc_appsboot.mbn", "fastboot reboot-bootloader", "fastboot oem edl" in sequence. Press Enter after each. edl mode should start.
  7. You can install firmware.

If there are any problems with the device, it is better to download the factory Firmware (Chinese) first. This will restore all system files and modes, and then you can use a multilingual OS.

To flash a device from Xiaomi, you need to bypass the restrictions. In modern devices of this company, the bootloader is blocked, so it will not work to install a new OS using standard methods, but it is still possible to change the Firmware.

Xiaomi mobile phones are good no matter how you look at them - performance and style are both here appearance and affordable price. One thing is not happy: if a Chinese version of a smartphone falls into your hands, then you need to immediately take care of installing a new firmware. Even if the manufacturer accompanies the device with the Global firmware version by default, the translation into Russian is poorly done in it. Therefore, it needs to be updated to latest version, where the translation into Russian is more correct.

Today we will analyze, using the example of Xiaomi Mi5, how the phone firmware is changed. The procedure is not very complicated, so you can reflash your phone yourself. The main thing is to strictly follow the recommendations given below.

We will install firmware on Xiaomi Mi5 through a computer or laptop. First you need to download all the necessary programs to it.

  1. - allows you to directly install new software on the Xiaomi Mi5 gadget.
  2. – ensure that the computer correctly recognizes the phone in the system and starts it normally in EDL mode.
  3. Download the global international firmware on the official website (Global Stable ROM): http://en.miui.com/download-299.html

Xiaomi MiFlashTool

All these files are usually downloaded as archives. Once the download is complete, unzip them. It is best to leave the files on the C drive, but the most important thing is that the path to them be without Russian letters and spaces.

If you are working with OS from Windows 8 and above, then you need to disable the driver digital signature verification function. Even if you do this, when you start the drivers and Mi Flash, the system may warn you about working with drivers from unknown sources. This is normal, always agree to keep the installation going.

Give gifts

Phone preparation

We can flash the phone in EDL mode, into which the device must be transferred. But first you have to get developer rights in order to make changes to the system. To do this, go to the settings, see the category "About device", and there 5 times click on the column "MIUI version».

Switching Xiaomi to Fastboot Mode

  1. Turn off your phone.
  2. Hold down the power and volume down buttons until you see a bunny on the Xiaomi Mi 5 monitor.
  3. In this form, the phone can already be connected to a computer via a USB cable.

Switching to EDL mode

Download and unzip it to a folder on drive C without Russian letters. Go into it and right-click while holding down the Shift key and select "Open command window". Next, enter the command fastboot devices. This will check the connected device. If everything is in order and you do not need to install any additional drivers (the system should detect them itself), then enter the command fastboot oem edl, activating the desired mode.

How to install firmware

When we have completed all the preparatory activities, it remains to find out how to flash Xiaomi. We do the following:

  1. We start preliminarily installed program Flash.
  2. Click on the button Refresh so that the program recognizes the phone connected via the cable.
  3. via button Browse specify the path to the new firmware.
  4. Click on "Flash All" and wait until the firmware is installed. This takes about three minutes.

Switching on the smartphone

You need to know not only how to update the system, but also how to turn on and configure the phone after that. It is done like this:

  1. Disconnect phone from USB.
  2. We press the lock button until we feel the phone vibrate. You can let go when you see the Xiaomi logo on the screen.
  3. The updated system starts up within 5-10 minutes. You should not be afraid, because all folders have been updated, including the root.

After that, you can start setting up your phone from scratch! So do not refuse to order Xiaomi smartphones through China. Installing the Global firmware on them should not be embarrassing - just flash the device yourself, and the problem will be solved!

Xiaomi phones are different from other budget devices the ability to constantly switch to newer versions of the operating system. But the standard method through the "Three points" is not always relevant, and here comes to the rescue great feature, allowing you to install a new firmware with a locked bootloader. Therefore, today you will learn how to put Xiaomi into EDL mode quickly and safely.

What is EDL

This is a unique software project that allows you to install new firmware, be it, or, without an unlocked bootloader.

On most Xiaomi smartphones the bootloader is inactive, especially for models 2016-2018 release. And without it, the user can neither update nor upgrade.

Of course, you can use , but why do you need EDL mode then?

Now let's find out exactly how to transfer the device to the described state.

How to enter EDL mode on Xiaomi

There are two ways to do this - through a key combination or using Fastboot. We immediately note that the first option may not work, while the second one turns on ideally for almost all users. Let `s start.

Using Fastboot mode (100% option).

For this it is necessary must have access to fastboot. Read more in. Also all drivers required for Xiaomi phone. Most often, at the first time, the system itself installs the necessary elements.

If all the preparation is done correctly, you only need to translate mobile device in fastboot, holding down the power key and the volume down button. But here be extremely careful: without errors, enter the phrase fastboot oem edl.

If the screen turns black, then you did everything right, and now you can safely flash your phone using the Mi Flash program.

Using a key combination (not a 100% option)

Everything is much simpler here, and therefore We recommend trying this method first., and then, in case of failure, proceed to more complex ones. First, turn off the phone and hold the power key and the volume rocker up. As soon as we feel a vibration response, let go on/off button.

An intricate menu should appear (most often on Chinese with hieroglyphs we do not understand). But do not panic, but simply go down to the lower left corner and click Download. Don't touch the big central blue button!

Done, now it remains only to resort to the help of Mi Flash, as in the above method.

Video instruction

Answers to popular questions

Can I use another utility instead of Fastboot?