Flashing redmi 3. Installing the official firmware. Firmware via MiFlash program

With all its advantages in terms of the quality of the used hardware components and assembly, as well as innovation in software solution MIUI, smartphones manufactured by Xiaomi may require a firmware or recovery from their user. Official and, perhaps, the most in a simple way firmware of Xiaomi devices is the use of the manufacturer's proprietary program - MiFlash.

Even completely new smartphone Xiaomi may not satisfy its owner due to the wrong version mIUI firmwareset by the manufacturer or seller. In this case, it is necessary to change the software by resorting to using MiFlash - this is actually the most correct and safe way... It is only important to strictly follow the instructions, carefully consider the preparatory procedures and the process itself.

Important! All actions with the device through the MiFlash program are potentially dangerous, although problems are unlikely to occur. The user performs all the manipulations described below at his own peril and risk and is responsible for possible negative consequences on his own!

The examples below use one of the most popular Xiaomi models - the Redmi 3 smartphone with a NOT unlocked bootloader. It should be noted that the installation procedure official firmware via MiFlash is generally the same for all devices of the brand, which are based on Qualcomm processors (almost all modern models, with rare exceptions). Therefore, the following may apply when installing software on a wide range of Xiaomi models.

Training

Before proceeding to the firmware procedure, it is necessary to carry out some manipulations associated primarily with obtaining and preparing firmware files, as well as pairing the device and PC.

Installing MiFlash and Drivers

Since the considered firmware method is official, the MiFlash application can be obtained from the device manufacturer's website.


All latest versions official firmware for xiaomi devices are available for download on the official website of the manufacturer in the section "Downloads".

To install software via MiFlash, you will need a special fastboot firmware containing image files for writing to the smartphone's memory sections. This is a file in the format * .tgz, the download link of which is "hidden" in the depths of the Xiaomi website. In order not to bother the user with the search the required firmware, a link to the download page is provided below.


A collection of installation instructions, official or custom system to the Xiaomi Redmi 3 smartphone.

Important! The author of the article and the administration of the resource are not responsible for the phone you damaged. The information is provided for informational purposes only and is intended for experienced users. Do not start flashing without proper experience, understanding the possible risks and consequences.

If you notice an inaccuracy or error in the text, or you have something to add, leave your suggestions and comments at the bottom of the article, in the comment block.

Please note that after the first firmware, the phone boots up for 15-20 minutes. So don't panic and be patient. Subsequent launches are shorter - 1-2 minutes.

Ways to put Redmi 3 into download mode - EDL

At a certain point in the installation of the firmware, you will need to switch the smartphone to EDL mode. Try one of the following methods.

Method 1

  1. Turn off your phone.
  2. Press and hold the "On" and "Volume Up" buttons. In the menu that opens, select the "download" mode

Method 2

  1. Disconnect your smartphone.
  2. Press and hold the three physical buttons - power and volume.
  3. Without releasing the buttons, connect the smartphone to the computer. After the device is identified and appears in Device Manager, release the buttons.

Method 3

  1. Press and hold both volume buttons and the power key. Hold the indicated combination of buttons until the second vibration.

Method 4

The method requires shorting the wires on the USB cable. Therefore, prepare an unnecessary cord that you do not mind cutting. See in detail.

Algorithm of actions:

  1. Cut off the cable jacket.
  2. Strip the black and green wire from both sides.
  3. Close the black and green contacts.
  4. Connect one end of the cable to your phone and the other to your PC. Keep in this state for 5 seconds, and then disconnect the cable.

Method 5

Method for open devices.

Algorithm of actions:

  1. Turn off the device.
  2. Put your phone into mode. To do this, press and hold the "Power on" and "Volume Down" buttons.
  3. Connect your smartphone to your PC.
  4. On a PC, in the program folder or XiaoMiFlash, call context menu while holding the Shift key on the keyboard. From the menu, select - Open Command Window. Enter the command without quotes - "fastboot oem edl".

Method 6

  1. Power off your phone, boot Fastboot mode.
  2. On a PC, in the folder with the MiFlash or XiaoMiFlash program, call the context menu while holding the Shift key on the keyboard. From the menu, select - Open Command Window. Just type the command without quotes - "fastboot reboot".
  3. Hold down both volume buttons, then enter the previously typed command on the PC by pressing Enter.
  4. Release the buttons only after entering EDL.

Basic instructions for firmware

The standard way to install official firmware, for all smartphones Xiaomi with MIUI. A detailed algorithm of actions is described in a separate one. You will only have to choose the firmware.

Firmware via MiFlash program

This method allows you to install the official firmware, on a closed or open bootloader.

Algorithm of actions:

Download and install the program on your MiFlash computer. The necessary drivers will be installed together with the utility. During installation, disable digital driver signature verification.

Download the system image archive to your PC for installation via Fastboot.

Unzip the package. Place the folder at the root local disk... Reduce the folder name.

Connect Redmi 3 to PC.

Set the machine to EDL mode. If the bootloader is closed, use method 1, 2 or 3 from this manual.

If the bootloader is open, load Fastboot mode by holding the "On" and "Volume down" buttons in the off state until the first vibration.

Make sure the smartphone is detected correctly in the device manager.

Open the MiFlash program and select the downloaded firmware.

Refresh the list of connected devices with the "Refresh" button.

At the bottom, check "Flash all" to fill the entire image.

Click on the "Flash" button, wait for the end of the firmware.

Upon completion of the installation, turn on the device manually if the boot is locked. If you used fastboot mode, the phone will turn on automatically. The first launch often takes up to 20 minutes.

Installing official images through the QFIL program

This method allows you to install the official firmware - Chinese or global, on Redmi 3 with open and closed bootloader. An algorithm of actions with a detailed description and image is available in a separate one. The method is universal for devices on the Qualcomm platform. You just need to switch the device to EDL mode at a certain moment, as well as download a suitable Fastboot firmware for Redmi 3.

How to install TWRP and custom firmware

Sequencing:

Download and transfer the desired custom firmware image to the phone memory.

Install the drivers.

Download TWRP recovery. Unpack the archive into a folder with a short name, for example Android, to the root of your local drive.

Open the created folder. Call the context menu while holding the Shift key on the keyboard. From the menu, select - Open Command Window.

Put your phone into Fastboot mode by a combination of the Power and Volume Down buttons. Hold the buttons until vibration is triggered.

In the console, enter the command without quotes - "fastboot devices". If the computer has correctly identified the smartphone, the phone ID will appear next to the fastboot inscription. Next, enter the command "fastboot oem device-info" to check the status of the boot.

If the unlocked boot is confirmed, enter the "flash.bat" command. The installation process will take 3-4 seconds, and the smartphone will immediately download TWRP.

To change the TWRP language, follow the steps shown in the picture.

Back up the aboot and EFS partition. Keep one copy on your phone and the other on your home computer.

Installing custom firmware

Before installing a new modified firmware in TWRP, you need to clear all data, except for internal memory and microSD cards.

After cleaning, reboot. In the main menu, the "Restart" button, then the "Recovery" button.

If you are prompted to install SuperSu after rebooting, refuse.

In the main TWRP menu, click on the "Install" button, and then specify the path to the previously downloaded firmware.

Important! The last modified firmware close the bootloader. To prevent blocking, after installing the firmware, restore the backup copy of the aboot and EFS partition.

Important!To enter TWRP, hold down the "Volume Up" and "Power" buttons combination. After the appearance of the "MI" logo, the power button should be released and only the volume button should be held until entering the menu. Select "recovery" from the options provided.

Xiaomi Redmi Note 3 Pro is still too early to be discounted, although there is. The model turned out to be very successful, and this won the love of not only mi-fans, but also other users. In this article, we will tell you in detail about all the obstacles that you will have to face while installing custom firmware on your smartphone.

1. WE INSTALL THE DRIVER ON THE COMPUTER

The first step is to install the driver on your computer. The easiest way is to install Mi PC Suite, which will automatically download and install everything required drivers... If, for some reason, you were unable to install the drivers using this program, you will have to do it manually:
upload archive with drivers and unzip its contents to the "C: \\ drivers" folder
connect your phone to your computer using a USB cable; open “Device Manager” on your computer
right-click on the “Unknown device” that appears and select “Update driver”
select the item "Search for drivers on this computer", find the folder with previously downloaded drivers and select it
confirm the installation, you're done 🙂

If you are still having problems with the installation, then disabling the check may help you digital signature installed drivers.

2. UNLOCKING THE LOADER

Now you need to unlock the bootloader on your phone. To officially unlock the bootloader on a Xiaomi smartphone,.

3. INSTALLATION OF CUSTOM RECOVERY

Now you have to install custom recovery on your device.

To do this, strictly follow our instructions:
upload a custom recovery image in .img format, TWRP version 3.1.1-1 will do;
put your device into Fastboot mode by simultaneously holding down the power and volume down buttons until the fastboot logo appears;
connect the device to a PC;
open the folder with MiFlash and move the downloaded .img image into it. Then hold down Shift on your keyboard and click right button in the folder space, open the context menu, in which select “Open command window”;
in the window that opens, type the command: “ fastboot flash recovery file.img”, Where file.img is the name of the downloaded custom recovery image. Execute the entered command by pressing the Enter button;
maybe the phone will reboot several times, after which custom recovery will be installed on it, and the device itself will be completely ready for custom firmware.

If suddenly you decide to flash the official version of MIUI on the device using custom recovery, then you will have to patch the bootloader: in the TWRP menu (custom recovery) click “Advanced” -\u003e “Disable verify”, then install the patch itself along the path / sbin / cofface .zip. If you are going to install custom firmware, then this step should be skipped.

4. INSTALLING CUSTOM FIRMWARE

Are you still here? We praise your patience and dedication! And only now you can install custom firmware.

Follow our instructions further:
pre-download the firmware you like and GAPPS to it (a set of google applications, its services and Google play, including) and copy them to the internal memory of the phone;
reboot your smartphone into mode Recovery TWRPby holding down the power and volume up buttons until the “Mi” logo appears;
follow the path: "Wipe" -\u003e "Advanced Wipe", check the items "Dalvik / ART Cache", "System", "Data" and "Cache" and then confirm the cleaning, either by clicking on the confirmation button, or by swiping on the slider below ;
now select the "Install" item in the menu, in the phone memory select the .zip firmware archive and, if necessary, the GAPPS archive;
use the slider or button to confirm the installation, then in the “Reboot” menu select the “System” item, which is responsible for rebooting into the system;
after rebooting, configure the device as when you first turned it on and enjoy the new firmware.

Firmware:

How to determine if the official firmware or "Vietnamese" is installed:

List of official firmware indexes:
7.1.2.0
7.1.3.0
7.2.1.0
7.2.4.0
7.2.5.0
7.2.6.0
7.2.7.0
7.3.1.0
7.3.2.0
7.5.1.0
7.5.2.0
8.0.1.0
8.0.2.0
8.0.3.0

Not official:

Official Global Firmware:

Official China firmware:

Other versions of official firmware:
MiFlash / fastboot - archive for installation via MiFlash or bat file in FASTBOOT mode
Recovery / System - archive for firmware via the built-in program "Update" or TWRP

China:

You can install firmware via MiFlash with any firmware on your smartphone! You don't need to unlock the bootloader!

When flashing through TWRP (after full wipes), ALWAYS do a reboot from recovery to recovery and only after that start sewing! Otherwise, you risk getting a bootlap or installation errors!

The first start of the OS after the firmware lasts 15-20 minutes! If dots "run" on the screen below, everything is fine, just wait ...

Installing official firmware via MiFlash

1. It is necessary
a) MiFlash flasher

C) On Windows 8 / 8.1 / 10, disable driver digital signature verification.
Checking is disabled:

Checking is not disabled:

2. Unpack the archive with the firmware to the C drive:
3. Connect device to PC

A) download mode - locked bootloader
Method number 1:
1. Turn off the device.
2. Simultaneously hold down: Volume + and the On / Off button. In the menu that appears, select "download"

Method number 2:
1. Turn off the device.
2. Simultaneously hold down and hold both volume buttons, connect the device to the PC. As defined in the remote control, release the buttons. (usually 5-10 seconds)

Method number 3:
1. Turn off the device.
2. Simultaneously hold down all three buttons (both volume buttons and the On / Off button) and hold until the second vibration!

B) fastboot - unlocked bootloader or TWRP * installed on locked
1. Turn off the device.
2. Simultaneously hold down the Volume minus and the On / Off button, release after vibration.
3. A picture of a hare and FASTBOOT will appear.

4.
- update (Refresh) the list of devices and make sure that it appears in it (1, 2)
- select item (3) (saving is possible only with firmware in fastboot):
Flash all - flashing with clearing all data on the device
Flash all except data and storage - firmware saving personal and user data
- press the Flash button (4), the firmware process will go

After successful firmware download, hold down the On / Off button and hold until the first vibration!
When flashing via fastboot, the reboot is automatic!

Possible MiFlash errors and solutions
1. Missed hello packet, try to recover
- restart MiFlash, disconnect the body from the PC and re-enter the download mode, preferably NOT through the menu.
2. Not enough memory to process the command (little RAM)
- find a computer with a sufficient number of OP;
- use an alternative firmware method (the state of the bootloader is not important);
- sew via fastboot (for an unlocked bootloader);
3. Reached the end of the file (0x80070026: Receiving hello packet) | End of file reached
- helped as in point 1.
- or perhaps there is another version of MiFlash, put 2015.10.28.0.
4.0x80004005: Failed (remote: device is locked. Canot flash images)
- when trying to flash through fastboot on a locked bootloader. Sew in download mode.
5. Syntax error in file name, folder name or volume label
- trying to install the firmware for Recovery / System (* .zip). Archive for MiFlash with tgz extension.
6.wait port ready to use
- clean up phone drivers, reinstall MiFlash
7. The required resource is busy (0x800700aa: open serial port "\\\\. \\ COM3")

Detailed instructions for installing the official firmware on Xiaomi Redmi 3 / Redmi 3 Pro (Ido) via the MiFlash app without having to unlock the bootloader.

    Drivers and programs

Attention!

Installation instructions

    Create in the root of the C: \\ drive a folder named " Android».

    Disable driver authentication.
    Windows 7
    When turning on the computer, after bIOS boot, you must press the key F8... In the appeared menu “ Additional options download" choose " Disable mandatory driver signature». This method may not work the first time, so you should repeat the action or open a command prompt as administrator and enter two commands:
    « bcdedit.exe / set loadoptions DDISABLE_INTEGRITY_CHECKS»
    « bcdedit.exe / set TESTSIGNING ON»
    Windows 8
    You need to press the keyboard shortcut Win+I, hold down the key Shift and select the item "". When turning on the computer, select " Diagnostics» > « Extra options» > « Boot options» > « Reboot". When loading, select the "" mode by pressing the key F7.
    Windows 10
    You must hold down the key Shift and select the menu " Start"\u003e" ". After downloading, select " Troubleshooting» > « Extra options» > « Boot options» > « Reboot". Then select the item " Disable mandatory driver signature verification"By pressing the key F7.

    Download the official firmware (for example, global for developers) and unpack the archive to any folder.
    It is recommended to use the path to the folder without Cyrillic characters. For instance, " C: \\ Android \\ firmware_name».

    If, after installing the firmware, you plan to install custom recovery, you need to download it, place the file in the Android folder and rename it to recovery.img". You also need to get a modified bootloader, rename it to " boot.img"And also copy it to the" Android "folder.

    Run the MiFlash utility, press the button " Next"To install the drivers, agree with the installation of all drivers, wait until the installation is complete, and then press the button" End»To close the window.

    Transfer phone to Fastboot mode.
    To do this, you must turn off the device and turn it on while holding down the Volume Down key. The screen should display a hare in a hat with earflaps.

    Connect your phone to a computer using a USB cable.
    It is recommended to use original or cable good quality, and uSB port 2.0 located at motherboard (for PC).

    Open command line and go to the created one android folder the command " cd c: \\ Android \\»(Commands are written without quotes).

    Make sure the computer finds the device in Fastboot mode.
    To do this, enter the command " fastboot devices". If the response displays “ xxxxxxx fastboot”Means the phone is connected correctly. If "waiting for device" is displayed or nothing at all, you need to check the status of the USB connection or reinstall the drivers.

    Reboot the phone to EDL (Emergency Download Mode) by the command “ fastboot oem edl"Or" fastboot oem reboot-edl", Or turn off the device and turn it on with the Volume Up key held down and select the item" Download».
    AT " Device manager»A new device should be displayed Qualcomm HS-USB QDLoader 9008 in the category " Ports (COM and LPT)».

    Run the MiFlash utility. Then press the button " Refresh", Then" Browse ..."And specify the path to the folder with the firmware. At the bottom of the screen, select the item " Flash all except storage"To save files in the device memory, or" Flash all"To format the internal memory and press the" Flash". The process of installing the firmware will begin.

    After the end of the operation, the phone should reboot itself.
    If this does not happen, it is necessary to command line introduce " fastboot oem reboot-edl»Or hold down the Power button for 10 seconds until the Mi logo appears. The cable can now be disconnected. After a couple of minutes, the device will boot up and be ready for further work.

    If you plan to use TWRP, immediately after finishing the firmware installation process, you need to hold down the Volume Down key and the Power button to go into Fastboot mode.

    Then flash the modified bootloader with the command “ fastboot flash boot boot.img».

    After that, install TWRP with the command " fastboot flash recovery recovery.img».

    At the end of the operation, reboot the device into recovery mode with the command “ fastboot boot recovery.img».

    When entering the recovery mode, you must allow recording system partition swipe to the right and refuse the password request.

    Then back up all partitions.
    To create a backup, you need to click on the item " Backup", Select the save location in the" Storage", Mark the data for saving, make a swipe from left to right and wait for the operation to complete.

    Then go to the menu " Mount"And activate the section" Data».
    If the "Data" section is not mounted, then you need to format the internal memory.
    ATTENTION!
    This operation will erase all your files on the phone's internal memory. It is highly recommended to do backups all necessary data to removable media or PC, including backup of partitions.
    To format the section " Data"You need to go to" Wipe» > « Advanced Wipe"And activate the items" Data"And" Internal Storage».

    After all the wipes, click " Reboot» > « Recovery».
    If you are prompted by TWRP to obtain superuser rights, you must refuse.

    Now, in recovery mode, select the following items to obtain superuser rights:

    Copy

List of instructions for Xiaomi Redmi 3