I manage to find flash all bat. Android firmware using FastBoot utility

After an incorrect flashing, is the smartphone practically “bricked”? Or do you want to upgrade to a newer version, but over-the-air updates have long stopped coming? A special mode that exists on Xiaomi mobile devices will help here. But not everyone knows how to flash a Xiaomi phone via Fastboot, what is needed for this, and what problems may arise.

Navigation

What do you need

Before you start flashing your phone via Fastboot, you need to prepare a little:

  1. Check that the phone is successful, install all the necessary drivers if this is not the case.
  2. Install special MiFlash program, also called MIUI ROM Flashing (there will be a link throughout the article).
  3. And, of course, you can’t do without it yourself. You need to select either or the version for firmware in Fastboot mode. Downloading should only happen from the MIUI website and only for your specific model! Required file extension – ".tgz". If you get caught ".gz"- just rename it.
  4. Do not forget that for a successful operation we need an unlocked bootloader. Bootloader inactive? Then use this topic.

Step-by-step instructions on how to flash Xiaomi via Fastboot

Now let’s proceed directly to the firmware of the Xiaomi smartphone itself, which will take place via a computer. On the phone There should be at least 60-70% charge left.

Step 1: Install MiFlash and Drivers

Before installing the MIUI ROM Flashing Tool program on your PC or laptop, you had to disable digital driver signature verification, but this requirement is no longer relevant.

A quick note: this article uses MiFlash version 2017.04.25. The developer website xiaomiflash.com has a version dated 2018.11.15, but there are some problems with it. The new version also does not require installation or rebooting of the PC, it is portable and works right out of the box.

Step 2: Unlock Bootloader

Recently, unlocking the bootloader has been significantly simplified. There is no need to submit an application to the official Xiaomi service and wait several days for a positive decision, which, otherwise, might not have happened. Now users can immediately begin activating the bootloader. Let's describe the brief instructions:

  1. The first and most important thing to do is to pair your phone with . The screenshots below show everything in detail.
  2. Now just have to wait for 360 hours to pass and then you can continue.
  3. After that we You will need one more utility, namely Mi Flash Unlock. You can find it on w3bsit3-dns.com or on the official Xiaomi website.
  4. After that, open the program as administrator, put the device into Fastboot mode ( turn off the phone, wait about a minute and press the volume minus button with the power button) and connect to the computer. Reading of information will begin.

    At the end of the procedure, three green dots should appear - a sign that Bootloader has been successfully unlocked. Made. Do not forget that on our website you can familiarize yourself with.

Step 3: Selecting the correct firmware

Now I pay special attention to choosing the right archive with firmware for your Xiaomi model. This article describes a method for flashing firmware via MiFlash. In the video below, I talked about the method without MiFlash, that is, through ADB Platform-tools.

  • Download firmware for MiFlash (any regular firmware file).
  • Download firmware for ADB Platform-tools (only for firmware in Fastboot mode).

Step 4: Put your phone in Fastboot mode and connect to your PC

When the preparation is complete, take the mobile device, turn it off and wait about a minute, so that all processes in the smartphone completely stop. Now we launch Fastboot mode on the phone.

This is done as follows: Hold down the power key and volume down rocker. We hold it until a hare with earflaps appears, repairing the Android. Now the device can be connected to the PC.

We connect the phone to the PC only after activating Fastboot mode, otherwise there will be an error!

Step 5: Launch Mi Flash program and flash Xiaomi firmware

Now a few important steps.

  1. Let's unzip the archive with the firmware using any available archiver.
  2. Transfer the files to the root of the system disk into the Flash folder (you need to create it). There should be no Russian letters along the path to the firmware files (example: C:\flash).

Next, launch the MiFlash shortcut from the desktop. Click on the button "Select" located in the upper left corner and indicate the path to the firmware. Confirm with "OK." We update the list of connected devices using the key "Refresh". We go down below, where we see the points:

  • Clean all deletes all files from the device without the possibility of recovery;
  • Save user data– does not touch user data;
  • Clean all and lock completely cleans your smartphone and...

Be extremely careful here! It is best to choose the first option so that nothing interferes with the process. Also required before starting the operation. Dump backup files to your computer, since the SD card also has the risk of being suddenly cleared during an incorrect flashing process.

We carry out the final action - click « Flash» . Flashing begins. You cannot disconnect your smartphone from your computer while in the field. « Result» the inscription will not appear « Success».

The procedure may take some time, and during this period any actions with the phone are strictly prohibited. At the end of the operation, the mobile device will reboot and start on the new version itself.

Possible problems

If the firmware is not installed or the phone simply does not start after the update, pay attention to the following possible reasons and solutions:

  • Damaged firmware file. The archive may have been downloaded from an unreliable source or unpacked incorrectly, watch our step-by-step video instructions. Download another version and be sure to disable your antivirus, otherwise it will remove the necessary elements.
  • During flashing, the phone was completely discharged. This happens if less than 30% of the charge remains at the beginning of the operation. Do not immediately connect your smartphone to charge if it has recently been reflashed. Here you need to disassemble the phone and remove the battery (in this case there is no way to disassemble it) and after 10-15 minutes insert it again. Try turning it on. Doesn't work? Then put it on charge and try again after half an hour.
  • password if you have forgotten it. But please note that this software is not available to all owners and does not work with all phones.

    As you can see, flashing a Xiaomi phone via Fastboot is quite possible. Yes, it takes a little time, responsibility and attention, but the result will definitely not disappoint you. To avoid any questions after reading the article, we recommend that you familiarize yourself with another method from the video.

Detailed instructions for installing official firmware on Xiaomi Redmi Note 3 Pro (Kenzo) with an unlocked bootloader.

    Drivers and programs

Attention!

Neither the site administration nor the author of the instructions are responsible for your actions and results. Everything you do is done only at your own peril and risk.
To install the official firmware via Fastboot, you need an unlocked bootloader on your device.

Installation instructions

    Make backup copies of necessary user data.

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

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

    Launch the MiFlash utility, click the " Next" to install drivers, agree to the installation of all drivers, wait for the installation to complete, and then click the " End» to close the window.

    Connect your phone to your computer via a USB cable.
    It is recommended to use an original or good quality cable, as well as the USB 2.0 port located on the motherboard (for PC).

    Open the command line and go to the created Android folder with the command “ cd c:\Android\"(commands are written without quotes).

    Make sure that the computer finds the device via ADB.
    To do this you need to enter " adb devices" to the command line. When a request appears on your phone for permission to debug via ADB on this computer, you must click “ Ok", while selecting the item " Always allow from this computer" If the device is visible, the text “List of devices attached” and a list of all devices will be displayed (for example, xxxxxxx device). If instead of “device” it says “offline” or the list is empty, then you need to update ADB, check the drivers/cord, change the USB port/computer.

    Reboot your smartphone into Fastboot mode.
    To do this, enter “ adb reboot bootloader»or turn it off, then turn it on while holding down the Volume Down key. A hare wearing a hat with earflaps should appear on the screen.

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

    At the command line enter " flash_all.bat" to install the firmware with the removal of all user data or " flash_all_except_data_storage.bat"for firmware with their saving.
    The firmware installation process will begin.

    If you are installing firmware based on Android 6.0 Marshmallow, and also plan to use TWRP, you cannot allow the user partition to be “encrypted” /Data.
    To do this, you need to immediately install custom recovery before your smartphone starts booting into the system.
    Immediately after completing the firmware installation process, you need to hold down the Volume Down key and the Power button to switch to Fastboot mode.

    Then 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».

    In recovery, patch the bootloader, as was done when installing custom recovery with the “”.

    After installation is complete, reboot your phone by selecting " Reboot» > « System».

  • If the phone has already booted into the system and the user partition is not available in TWRP, there are two options to mount /Data in recovery:

    • Format the partition in TWRP /Data via point Wipe > Advanced Wipe, and then patch the bootloader with the file “ lazyflasher-no-verity-opt-encrypt.zip».
    • Reinstall the firmware, removing all data and, without allowing the smartphone to boot into the system, install TWRP and a modified bootloader.
  • share

Are you using a Xiaomi smartphone or tablet? If yes, are you looking for an easy way to flash the firmware on your device? If yes is your answer again, then you should download Xiaomi Mi Flash Tool from here and use it for flashing the firmware. With the help of Xiaomi Mi Flash Tool, you can flash Fastboot files on any Xiaomi smartphone or tablet.

Xiaomi Mi Flash Tool Features:

1) Easy Installer: Xiaomi Mi Flash Tool comes as an easy installer (.exe or .msi). Just by click on the .exe or .msi file, you can install this tool in your computer. ADB Tool, Mi Tool, and drivers are all included in this tool’s installer package.

2) In-built USB Driver: The Xiaomi Mi Flash tool comes with Microsoft RNDIS and MTP, Qualcomm USB Serial and Google ADB drivers. So, after installing this tool, you don’t have to install USB drivers separately.

3) Three Flashing Options: Unlike other flashing tools, Xiaomi Mi Flash comes with three flashing options i.e., “ Flash All Except Data & Storage“, “Flash All Except Storage" and " Flash All“. You can flash firmware on your Xiaomi device using all of these three methods but we recommend you to use “ Flash All Except Storage" option.

Download Xiaomi Mi Flash (All Versions)

Here we have provided all versions of XiaoMi Flash tool.

How To Install Xiaomi Mi Flash Tool In Your Computer

1) To get started, download Mi Flash Tool zip file from the link given above and extract it to your computer.

2) Now, open up the extracted folder and click on the “ .exe” or “ .msi” installer file to launch the installation wizard.

3) Once you click on the installer file, XiaoMi Flash Tool installation wizard window will open up. Now click on Next“.

4) In the next window, choose your “ Destination Folder” for install Mi Flash Tool and click on “ Next“.

5) Now you will see the “ Confirmation" window. Click Next” to begin the installation process.

6) During the Installation process, you will get a Windows Security prompt. In it, click on “ Install this driver software anyway“.

7) The installer will take a minute or two to install the Flash tool, and once it is finished, you will see the “ Installation Complete" window.

Detailed instructions for installing official firmware on Xiaomi Redmi Note 3 Pro (Kenzo) with an unlocked bootloader.

    Drivers and programs

Attention!

Neither the site administration nor the author of the instructions are responsible for your actions and results. Everything you do is done only at your own peril and risk.
To install the official firmware via Fastboot, you need an unlocked bootloader on your device.

Installation instructions

    Make backup copies of necessary user data.

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

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

    Launch the MiFlash utility, click the " Next" to install drivers, agree to the installation of all drivers, wait for the installation to complete, and then click the " End» to close the window.

    Connect your phone to your computer via a USB cable.
    It is recommended to use an original or good quality cable, as well as the USB 2.0 port located on the motherboard (for PC).

    Open the command line and go to the created Android folder with the command “ cd c:\Android\"(commands are written without quotes).

    Make sure that the computer finds the device via ADB.
    To do this you need to enter " adb devices" to the command line. When a request appears on your phone for permission to debug via ADB on this computer, you must click “ Ok", while selecting the item " Always allow from this computer" If the device is visible, the text “List of devices attached” and a list of all devices will be displayed (for example, xxxxxxx device). If instead of “device” it says “offline” or the list is empty, then you need to update ADB, check the drivers/cord, change the USB port/computer.

    Reboot your smartphone into Fastboot mode.
    To do this, enter “ adb reboot bootloader»or turn it off, then turn it on while holding down the Volume Down key. A hare wearing a hat with earflaps should appear on the screen.

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

    At the command line enter " flash_all.bat" to install the firmware with the removal of all user data or " flash_all_except_data_storage.bat"for firmware with their saving.
    The firmware installation process will begin.

    If you are installing firmware based on Android 6.0 Marshmallow, and also plan to use TWRP, you cannot allow the user partition to be “encrypted” /Data.
    To do this, you need to immediately install custom recovery before your smartphone starts booting into the system.
    Immediately after completing the firmware installation process, you need to hold down the Volume Down key and the Power button to switch to Fastboot mode.

    Then 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».

    In recovery, patch the bootloader, as was done when installing custom recovery with the “”.

    After installation is complete, reboot your phone by selecting " Reboot» > « System».

  • If the phone has already booted into the system and the user partition is not available in TWRP, there are two options to mount /Data in recovery:

    • Format the partition in TWRP /Data via point Wipe > Advanced Wipe, and then patch the bootloader with the file “ lazyflasher-no-verity-opt-encrypt.zip».
    • Reinstall the firmware, removing all data and, without allowing the smartphone to boot into the system, install TWRP and a modified bootloader.
  • share