Xiaomi Redmi 5 Plus firmware via MiFlash Pro: a complete guide to debunking errors

Firmware Xiaomi Redmi 5 Plus (codename vince) via MiFlash Pro is a process that may be necessary when critical system failures, a rollback to a stock version or custom firmware installation. Unlike the standard update via Settings β†’ About the phone, this method allows you to completely overwrite the device’s software, including the bootloader. However, the wrong actions can lead to a β€œbrick” (inoperability) of the phone, so it is important to follow the proven steps.

In this article, we will analyze the official method of firmware through MiFlash Pro – a utility from Xiaomi, designed to work with firmware in the format.tgz or.zip. Particular attention will be paid to the preparation of drivers, choosing the right version of software for Redmi. 5 Plus (including global and Chinese builds) and typical bugs like flash_all_lock.bat or problems with connection to EDL-If you’ve never flashed a Xiaomi smartphone before, start with the section about unlocking the bootloader β€” without this step, the MiFlash Pro won’t be able to record the firmware.

1. Firmware Preparation: What to Do Before Starting

Before you start firmware, make sure all the prerequisites are met. Xiaomi Redmi 5 Plus requires a special approach due to the closed MIUI ecosystem and Anti-Rollback protection, which blocks the installation of older firmware versions.

Here are the key points:

  • πŸ”‹ Battery charge at least 60%. EDL-The mode can take up to 10 minutes, and discharging during the process will lead to irreparable damage.
  • πŸ” Unlocked bootloader. Without this, MiFlash Pro will not be able to write the firmware. You can check the status by the command fastboot oem device-info (see Device unlocked: true).
  • πŸ’» Computer on Windows 7/10/11 with Windows Defender disabled and firewall (they can block drivers).
  • πŸ“₯ Original. USB-Cheap cables often don't support data transmission to EDL-mode.

If you are flashing your phone to fix software failures (such as hanging on the Mi logo), try resetting your settings via Recovery (press Power + Volume Up) beforehand, which will save you time if the problem is not related to damage to system files.

πŸ“Š Why do you want to use Redmi 5 Plus?
Isolating system errors
I'm installing custom firmware.
I'm going to go back to the old version of MIUI.
Unlocking the bootloader.
Other

Installation of drivers and MiFlash Pro: step-by-step instructions

Without properly installed Qualcomm and Xiaomi drivers, MiFlash Pro will not be able to recognize your phone in firmware mode.

  1. Download MiFlash Pro from Xiaomi’s official website (proven version – 2020.3.14.0). Avoid third-party sources – they may contain viruses.
  2. Install Qualcomm drivers: Download QDLoader HS-USB Driver (version) 2.1.3.5). Turn off the driver digital signature check in Windows (instruction below). Connect the phone turned off to the PC, keeping Volume up + Loudness down to translate it into EDL-In Device Manager, find the device. QHUSB_BULK qualcomm HS-USB QDLoader 9008 and update the driver manually, specifying the folder with the downloaded drivers.

Turn off driver signature verification

1. Press Win + X β†’ "Command Line (Administrator)".


2 Enter bcdedit /set testsigning on




3. Reboot the PC.

After installing the drivers, run MiFlash Pro on behalf of the administrator. EDL-In the program, a line will appear. COM:X (where X is the port number).

β˜‘οΈ Pre-firmware check

Done: 0 / 5

3. Selection of firmware for Redmi 5 Plus: official and custom options

Xiaomi Redmi 5 Plus supports several types of firmware, and the choice depends on your goal:

Type of firmwareFormatAppointmentDownload link
Official Stock (Fastboot).tgzSystem Restore, Unlock, Update via MiFlashOfficial Xiaomi website
Official Stock (Recovery).zipUpdate through standard recovery (without unlocking the bootloader)Official Xiaomi website
LineageOS (Pixel Experience).zipInstallation of alternative firmware (requires an unlocked bootloader and TWRP)XDA Developers
Firmware for EDL (authorized).mbnRecovery of β€œbricks” (requires authorization in Mi Account)Available only through service centers

For MiFlash Pro, only.tgz (Fastboot) firmware is suitable. Download the version that matches your model:

  • 🌍 Global (world firmware) – for phones with global suffix in the title.
  • πŸ‡¨πŸ‡³ China (Chinese firmware) – contains more features, but without Google services.
  • πŸ‡ͺπŸ‡Ί EEA (European) – optimized for EU countries, including GDPR-setting.

Important: The firmware version is newer than the current one on the phone, and the bootloader may be blocked because of Anti-Rollback. Check compatibility on forums before installing.

4.The firmware process through MiFlash Pro: Step-by-step

Now, to the process itself, follow the instructions carefully, because errors at any stage can cause the device to fail.

  1. Unpack the firmware: Download the.tgz archive to a folder with a short path (for example, C:\vince_global\). There's gotta be a file inside. flash_all.bat (or flash_all_lock.bat β€” lock-down).
  2. Put the phone in. EDL-Mode: Turn off the phone. Press Volume up. + Volume down and connect the cable to the PC. The screen will remain black.
  3. Run MiFlash Pro: In the Select field, specify the path to the folder with the unpacked firmware. At the bottom, select the firmware mode: clean all - complete cleaning (recommended in case of failures). clean all and lock - cleaning + lock the bootloader (only for official firmware save user data - saving user data (not always stable).

Refresh

COM4

Flash

If the process is successful, the Flash Done line will appear in the MiFlash Pro log. The phone will automatically restart. The first run after the firmware can take up to 10 minutes - do not interrupt it.

What if the MiFlash Pro can’t see the phone?
1. Check the drivers in Device Manager (should be "Qualcomm") HS-USB QDLoader 9008"). 2. Try another one. USB-port 2.0 back-panel). 3. Turn off all others. USB-devices (mouse, keyboard). 4. Reinstall MiFlash Pro to a folder without Cyrillic (for example, C:\MiFlash). 5. If the phone was in water or fell, damage is possible. USB-port - repairs are required.

5. Typical errors and their solutions

Even if you follow the instructions accurately, you can get errors.

  • ❌ "Couldn't find device" error: The reason: the phone is not recognized in the device EDL-Solution: Check the drivers (see section 2). USB-Cable (original from Xiaomi) Reboot your PC and phone.
  • ❌ Mistake "flash_all.bat Failed": Cause: damaged firmware archive or incompatible version. Solution: Download the firmware again (check check checksum) MD5). Make sure the firmware version is not newer than the current one (Anti-Rollback issue).
  • ❌ phone is stuck on startup the Mi logo after firmware: Reason: incomplete firmware or error in the process. Solution: Repeat firmware with a choice of clean all mode. If it doesn't work, swipe fastboot flash all the name file.img.

If the phone does not turn on after firmware (black screen, no vibration), there may have been a recording error in the phone. EDL-In this case, only authorized firmware through the Xiaomi service center or the use of boxing (for example, UFi Box) will help).

πŸ’‘

If MiFlash Pro gives you an error called "Invalid image format," try renaming the firmware folder, removing spaces and Cyrillic from the path "C:\Mi firmware 5 Plus" use "C:\MiFlash\vince_global".

6. Unlocking the bootloader: a mandatory step before the firmware

If you've never unlocked a bootloader on the Redmi 5 Plus, the MiFlash Pro won't be able to write the firmware.The unlocking process takes up to 720 hours (30 days) of waiting for confirmation from Xiaomi, so start with it in advance.

  1. Link the device to Mi Account: Log in to your Xiaomi account on your phone. Go to Settings β†’ Additionally. β†’ For developers and activate OEM-Unlock. In the same menu, turn on Debugging by USB.

Request unlocking via Mi Unlock Tool

  • Download Mi Unlock Tool (version no lower than 5.5.224.24).
  • Start the program, log in to your Mi Account.
  • Connect the phone in fastboot mode (clip Power + Volume down).
  • Press Unlock. If you have a waiting message, wait for an SMS from Xiaomi (usually 1-30 days).

After successful unlocking, the bootloader will remain open even after firmware, unless you have used clean all and lock mode in MiFlash Pro.

πŸ’‘

Unlocking the bootloader is a mandatory step for firmware through MiFlash Pro. Without it, the program will not be able to write data to the boot section, and the process will end in error.

7.Alternative firmware techniques: when MiFlash Pro is not suitable

If you can’t flash your phone through MiFlash Pro (for example, because of driver issues or a problem with your phone). EDL-In the meantime, consider alternative ways:

  • πŸ”„ Firmware through TWRP: Suitable for LineageOS, Pixel Experience: Unlocked bootloader, Installed recovery TWRP (You can download it on the official website. ADB sideload SD-map).
  • πŸ“± Firmware via fastboot: A method for power users. Commands for firmware: fastboot flash boot boot.img fastboot flash recovery recovery.img fastboot flash system system.img fastboot flash userdata userdata.img The complete list of commands depends on the firmware structure.
  • πŸ”§ Firmware through service center: If the phone is "brick" (not turned on, not determined by the PC), contact the authorized service Xiaomi. They use special tools (Mi Flash Tool Auth) to recover through the phone. EDL loader-free.

The Redmi 5 Plus also has an informal firmware method via the SP Flash Tool, but it is only suitable for devices running a MediaTek processor (and the Redmi 5 Plus is equipped with a Qualcomm Snapdragon 625).

8. Frequently Asked Questions (FAQ)

❓ Can I flash Redmi 5 Plus without unlocking the bootloader?
No. Firmware via MiFlash Pro or fastboot requires unlocking, except for the upgrade via standard Recovery (but this is not full firmware, but only an upgrade on top of the existing system).
❓ Which firmware to choose: global or Chinese?
Depending on your goals: Global if you need Google services and support for multiple languages; Chinese if you want new MIUI features sooner (but without Google Play); note that switching from Chinese to global firmware may require additional data clearing (clean all).
❓ What to do if there is no network after the firmware?
The problem may be related to: Incompatibility of the firmware with your model (for example, stitched through the vince_global Damage to the modem partition (flash only this partition via fastboot flash modem) modem.img). Absence IMEI (Restore it through Engineer Mode or QCN-file).
❓ How to return stock firmware if the phone was sewn on custom?
You can return the original MIUI via MiFlash Pro: Download the.tgz stock firmware for your model. Unpack and flash in clean all. If the bootloader has been unlocked, you can lock it back by selecting clean all and lock. After that, the phone will return to factory state, but unlocking the bootloader will remain in history (this is seen in fastboot oem device-info).
❓ Why MiFlash Pro Writes Flash Is Not Done"?
This error occurs for several reasons: Incorrectly selected firmware mode (for example, save user data for incompatible firmware); damaged firmware files (download the archive again and check the file). MD5). Problems with USB-Try another port or cable, and you have an antivirus conflict (disable Windows Defender and other antiviruses) and try flashing it clean all, which often solves the problem.

If your question isn’t covered in the FAQ, check out thematic forums like 4PDA (Redmi 5 Plus theme) or XDA Developers, which offer solutions for rare bugs and non-standard situations.