Xiaomi resetting to factory settings via a computer is the only way out when the phone is locked, unresponsive to the screen or getting stuck in boot mode. Unlike standard reset via menus, the PC method works even on non-working devices, but requires special tools and accurate execution of instructions. This article will examine in detail all the current ways, from the official MiFlash to alternative utilities like Fastboot Enhanced, and will help avoid the typical errors that can turn a smartphone into a βbrickβ.
It's important to understand that PC reset erases all user information, including photos, contacts and installed apps. If the phone is still turning on, first try saving data through Mi PC Suite or Mi Cloud. If the device is completely broken, prepare yourself for the fact that file recovery will be impossible without specialized tools.
When to reset via PC, and when you can do without it
Not all problems require a computer connection, but here are the cases where PC reset becomes the only solution:
- π The phone is locked with a pattern lock or password, and the Mi Account is not tied or forgotten.
- π The device got stuck on the Xiaomi logo or in Fastboot mode after a failed update.
- π« The screen does not respond to touch, but the phone is determined by the computer.
- π± On the device installed custom firmware, which works unstable.
If the phone turns on and responds to commands, try a standard reset via Settings β About Phone β Resetting. It's faster and safer. Resetting via PC is the last resort you resort to when other methods don't work.
Resetting Preparation: What to Do Before Connecting to a PC
Before you start resetting, make sure that all the preliminary steps are followed, which minimizes the risk of errors and data loss.
- Check the device model. Reset methods may differ for Redmi, POCO and Xiaomi line. Check the exact model in the documentation or on the box.
- The battery must be at least 50% charged, and if the phone runs out during the process, it can cause permanent damage to the firmware.
- Install drivers. Without them, the computer will not recognize the device. Download the official Xiaomi drivers or use universal ADB/Fastboot drivers.
- Download the firmware. Fastboot resets require the official firmware for your model, which can be found on the Xiaomi Firmware Updater website.
If you reset a device with a bootloader locked, you will need to unlock through the Mi Unlock Tool, a process that can take up to 720 hours (30 days) of waiting if the Mi Account was not tied in advance.
Refined model Xiaomi| Charged phone β₯50%| Installed drivers ADB/Fastboot| Downloaded firmware for your model | Prepared USB cable (original) | Disabled antivirus (can block utilities)
-->
Method 1: MiFlash Reset (official method)
MiFlash is Xiaomiβs official firmware and device reset utility through Fastboot. Itβs suitable for most models, but requires an unlocked bootloader.
Step-by-step:
- Download and install the MiFlash Tool.
- Unpack the downloaded firmware (file with the extension.tgz or.zip) in a folder without Cyrillic characters.
- Turn off the phone and put it in Fastboot mode: pinch Power + Volume down for 10 seconds.
- Connect the device to your PC via USB. Android Bootloader Interface should appear in the Device Manager.
- Launch MiFlash, press Select and specify the folder with the unpacked firmware.
- At the bottom, select Clean All mode and press Flash.
It takes 5-15 minutes, and when it's done, it automatically restarts in the factory state.
What if MiFlash canβt see the device?
β οΈ Note: If you have chosen Clean All and Lock mode, the bootloader will be blocked again.
Method 2: Reset via Fastboot Enhanced (for locked devices)
If the bootloader is locked and unlocking through the Mi Unlock Tool is not available, you can use the Fastboot Enhanced utility. It allows you to reset the device without fully unlocking, but does not work on all models.
Instructions:
- Download Fastboot Enhanced and unpack the archive.
- Put your phone in Fastboot mode (as in method 1).
- Connect the device to your PC and run the FastbootEnhanced.bat file.
- In the utility menu, select Wipe Data (data reset) or Wipe All (complete reset).
- Confirm the action and wait for the process to be completed.
This method does not require firmware, but deletes all user data and is suitable for devices with a locked bootloader if standard reset via Recovery is not available.
| Method | Requires unlocking of the loader | Erase data | It's on a non-working screen. |
|---|---|---|---|
| MiFlash (Clean All) | Yes. | Yes. | Yes. |
| Fastboot Enhanced (Wipe Data) | No. | Yes. | Yes. |
| ADB (via command line) | No. | Yes. | No (workscreen needed) |
| Recovery Mode | No. | Yes. | No (workscreen needed) |
Method 3: Reset via ADB (for devices with debugging enabled)
If USB debugging has been enabled on the phone before, you can reset it through the command line using ADB. This method is suitable for devices that are turned on but do not respond to the screen.
Instructions:
- Install Android SDK Platform Tools.
- Connect your phone to your PC and open the command line in the adb.exe folder.
- Enter the command to check the connection: adb devices If the device is displayed, go further.
- Reset: Adb shell recovery --wipe_data Or for a full reset: adb shell recovery --wipe_all
Once the commands are done, the phone will reboot in a factory state, and if the USB debugging wasn't on in advance, it won't work.
π‘
If the adb device command does not show the device, try reconnecting the cable or running the ADB service with the adb start-server command.
Common Mistakes and How to Avoid Them
Even with the correct following of the instructions, errors can occur, and here are the most common ways to solve them:
- π Device not found: Check the cable, ports USB Try another one. USB-port (preferably) USB 2.0).
- π Anti-rollback error: So you're trying to flash an older version of the firmware. Download the current version.
- π± Phone doesn't come out of Fastboot: Try forcibly restarting it by clamping Power for 20 seconds.
- π« Flash Not Done: Unpack the firmware into a folder without spaces and Cyrillic (for example, C:\Xiaomi\proshivka).
If the phone doesn't turn on or freezes on the logo after the reset, the firmware may have been damaged, in which case you'll have to repeat the process with a different version of the firmware or contact the service center.
β οΈ Note: Some Xiaomi models (e.g. Redmi Note 10 Pro) POCO X3 Pro) after reset via Fastboot, you may need to re-assign the Mi Account.
What to do after resetting: the initial setting
After a successful reset, the phone will turn on in the initial setup mode.
- Choose a language and region. Xiaomi is better to specify Russia or Global to avoid problems with Google services.
- Connect to Wi-Fi. Without the Internet, you can't download updates and restore backup.
- Sign in to your Mi Account (if previously associated) and this will unlock some features, such as access to Mi Cloud.
- Update your firmware. Go to Settings β About Phone β Update your system and install the latest version.
If you plan to sell or transfer a phone, be sure to log out of your Mi and Google account so the new owner can activate the device without any problems.
π‘
After resetting via PC, the phone returns to a βout of the boxβ state, but may require re-unlocking the bootloader for custom firmware.