How to flash Xiaomi Mi Play through Fastboot: full instruction with unlocking the bootloader

Fastboot is the only way to bring the device back to life if it is locked, unstable, or requires a custom firmware upgrade, which is suitable for recovery from a brick, upgrade to an up-to-date MIUI or install global firmware instead of Chinese. However, the process requires caution: an error at any stage can lead to a complete failure of the phone.

Unlike firmware through Recovery, Fastboot allows you to install official and unofficial images even on locked devices β€” but only after unlocking the bootloader. In this article, we will discuss the entire process from preparation to final configuration, including solving typical errors (for example, anti-rollback or invalid image).

1. Firmware Preparation: What to Do Before Starting

Before you start firmware, make sure all the preconditions are met, which will save you 90% of the problems in the process.

  • πŸ“± Battery charge at least 60%. With a low charge, the device may shut down during firmware, which will make it impossible to recover without service equipment.
  • πŸ’» Computer on Windows 7/10/11 (Mac/Linux Virtual machines are not suitable for the official Xiaomi drivers due to problems with the system. USB-data transmission.
  • πŸ”Œ Original. USB-Cheap cables often don't transmit data in Fastboot mode, causing the wait for device error.
  • πŸ”“ Unlocked bootloader. Without this, you can not flash Mi Play through Fastboot (except for the official firmware through Mi Flash with authorization).

If you have never unlocked a bootloader on this device, you will have to do so in advance, taking up to 720 hours (30 days) to wait for confirmation from Xiaomi.

⚠️ Note: Fastboot resets all data on your phone, including photos, contacts and apps. If the device is still on, back up via Settings. β†’ The phone. β†’ Backup or with the help of Xiaomi Backup.

πŸ“Š You have already unlocked the bootloader on your Xiaomi?
Yeah, long ago.
Yeah, but not on this device.
No, just planning.
I don't know what that is.

2. Download the necessary files and tools

To run Mi Play through Fastboot, you will need three file types: firmware, drivers, and utilities, and use only official sources to avoid viruses or corrupted archives.

ComponentWhere to downloadNotes
Fastboot firmwareOfficial Xiaomi websiteChoose the version for pyxis (Mi Play). For global firmware, look for files marked global.
Mi Flash ToolMi Flash websiteVersion 2023.4.28.0 or later.Older versions may not support Mi Play.
Qualcomm driversQualcomm Developer NetworkThey're needed to run the Fastboot properly, and they're manually installed through Device Manager.
ADB/Fastboot ToolsAndroid SDK Platform ToolsFolder from fastboot.exe and adb.exe. Unpack to the root of the C:\platform-tools disk.

After downloading the firmware, check its integrity. The archive should weigh about 2-3 GB and have the extension.tgz or.zip. If the file size is less than 1 GB, you downloaded the incomplete version (for example, only Recovery firmware).

πŸ’‘

Before unpacking the firmware, disable the antivirus – it can delete boot.img or vendor.img files, mistakenly mistaking them for a threat.

3. Unlock the bootloader on Xiaomi Mi Play

Without an unlocked bootloader, you can only flash Mi Play through Fastboot with official firmware authorization in Mi Account (which does not always work).

The process consists of two stages:

  1. Linking Mi Account to the device via Settings β†’ Additional β†’ For developers β†’ Mi Unlock status.
  2. Waiting for confirmation (3 to 30 days) Xiaomi can reject a request if the device is new or the account is suspicious.

After obtaining the permit:

  1. Download Mi Unlock Tool and log in to your account.
  2. Put the phone in Fastboot mode: turn it off, then press Volume Down + Power for 10 seconds.
  3. Connect to your PC and press Unlock in the program. It takes 1-2 minutes.

⚠️ Warning: If a Couldn't unlock error occurs when you unlock, check: Is the phone connected to the same Mi Account as the Mi Unlock Tool? Is it 720 hours since the device was linked (even if the site shows "allowed")? VPN Xiaomi is blocking the unlock from some regions.

What if Xiaomi has refused to release the request?
If the request is rejected, try the following steps: 1. Wait 30 days and submit the request again from the same account. 2. Try linking the device to another Mi Account (but don’t create a new one – this can lengthen the waiting period). 3. Make sure the phone has official firmware installed (custom firmware blocks unlocking). 4. Check if your region is blacklisted by Xiaomi (for example, some EU countries have restrictions).

4. Step-by-step instruction: Xiaomi Mi Play firmware via Fastboot

When all preparations are complete, we start the firmware. Follow the instructions in strict order - skipping steps can lead to errors.

β˜‘οΈ Firmware preparation

Done: 0 / 4
  1. Turn off your phone and turn it into Fastboot: Press the "Loudness Down" + "Power" buttons for 10-15 seconds. Release when the image of a hare in a hat-eared hat appears (Fastboot logo).
  2. Connect your phone to your PC through USB-In the Device Manager should appear Android Bootloader Interface or Qualcomm HS-USB QDLoader 9008.
  3. Unpack the firmware in a folder without spaces and Cyrillic symbols (for example, C:\MiPlay_Fastboot). There's gotta be a file inside. flash_all.bat.
  4. Launch the Mi Flash Tool on behalf of the administrator. Press Select and point the path to the firmware folder.
  5. Select firmware mode: πŸ”„ Clean all – complete cleaning (recommended when changing version) MIUI brick-and-brick). πŸ“¦ Clean all and lock - cleaning + Loader lock (only for official firmware). πŸ”§ Save user data – data retention is not always stable).

Flash

If the firmware is successful, the phone will boot into the system with factory settings. The first download can take up to 15 minutes - do not interrupt the process.

πŸ’‘

Use Clean all mode when switching from Chinese firmware to global or when recovering from a crash. Save user data mode often leads to errors in the system.

5. Typical errors and their solutions

Even with the instructions followed accurately, errors can occur, and below are the most common Mi Play firmware problems and ways to fix them.

Mistake.Reason.Decision
Waiting for deviceThe PC doesn't see the phone in Fastboot mode.Check the cable and USB port (try USB 2.0). Install drivers manually through Device Manager. Turn off driver signatures in Windows (bcdedit/set nointegritychecks on).
Anti-rollback errorTrying to install an old version of MIUI.Download firmware newer than the current one (check the version in Settings β†’ About the phone).
Invalid imageA damaged firmware file or model mismatch.Download the firmware and check its hash (MD5). For the Mi Play, the code name is pyxis.
Flash not doneThe Mi Flash Tool cannot complete the firmware.Try a different mode (Clean all instead of Save user data). Turn off antivirus and firewall. Use a different version of the Mi Flash Tool.

If the phone does not turn on after a failed firmware (black screen, vibration without booting), try to repeat the process with another firmware or use the same method. EDL-Regime (requires an authorized Xiaomi account).

6. Check the result and setup after firmware

After successful firmware, you need to make sure that the system is working correctly and perform the initial setup.

  • βœ… Verification of the version MIUI: Go to Settings. β†’ The phone, the version must match the stitched version.
  • πŸ”‹ Battery calibration: After firmware discharge the phone to 0% and charge up to 100% without interruptions.
  • πŸ“‘ Network settings: if there is no signal, go to Settings β†’ SIM-maps and mobile networks β†’ Set up the network and select the operator manually.
  • πŸ”’ Security: Enable encryption in Settings β†’ Lockdown and protection β†’ Encryption (takes 30-60 minutes).

If you have a bug after the firmware (e.g., sensors or a camera are not working), you probably have installed firmware for another model, in which case repeat the process with the correct file for pyxis.

πŸ’‘

After firmware, it is recommended to calibrate the touch screen: enter the code ##6484## in the phone dialer and follow the instructions.

7. Alternative firmware methods

If the firmware through Fastboot fails, consider alternative ways:

  • πŸ“± Recovery firmware: Suitable for updating without resetting data. Download the file with the.zip extension and install via TWRP or standard recovery.
  • πŸ–₯️ EDL-Mode: low-level firmware via Qualcomm 9008. requires an authorized Xiaomi account and a special cable.
  • 🌍 OTA-Update: If the phone is turned on, check for updates in Settings β†’ The phone. β†’ Updating the system.

For the Mi Play, EDL is often the only way out if the device is not detected in the Fastboot, but it is risky – an error can lead to a complete loss of IMEI.

Frequently asked questions

Can I flash Xiaomi Mi Play without unlocking the bootloader?
Yes, but only official firmware through the Mi Flash Tool with authorization in Mi Account. However, this method does not always work - Xiaomi can block the firmware if the device has previously unlocked or has unofficial software. For custom firmware (for example, LineageOS), unlocking is mandatory.
Why does the Mi Flash Tool show a 99% "Flash Not Done" error?
This error occurs due to: Incompatibility of the firmware version with the current (check anti-rollback). USB-Connection (try another port or cable) Antivirus lock (disable protection while you're running your firmware) Solution: Repeat the firmware in Clean all mode or use another version of the Mi Flash Tool.
How to return the official firmware if the phone was flashed custom?
To return to the official MIUI: Download Fastboot firmware for your model from the official website. Unlock the bootloader (if it is blocked). Sweat through the Mi Flash Tool in Clean all and lock mode. After that, the bootloader will lock and you can receive the download. OTA-update.
What to do if the phone does not turn on after the firmware?
If the screen is black, but the phone vibrates when charging: Try going to Fastboot (Loudness down) + Power) and repeat the firmware. If the Fastboot doesn't work, move the device to the EDL-mode (close the test points on the board or use a cable with a button). If there is no reaction, perhaps the power charge is damaged, contact the service center.
Can I play Xiaomi Mi Play with TWRP?
Yes, but it does: Install TWRP Recovery for pyxis via Fastboot. Download firmware in.zip format (like LineageOS or MIUI for custom recovery). Boot to TWRP (Loudness up + Power) and flash the file through Install. Note: official Xiaomi firmware is not designed to be installed via TWRP - this can lead to errors.