Firmware vacuum cleaner Xiaomi Mi Robot Vacuum via PC β a procedure that may be necessary to restore the device after a failure, install custom firmware or update to the latest version of the software. Unlike the standard OTA- update through the Mi Home application, manual firmware gives more control, but requires accuracy: an error at any stage can turn the vacuum cleaner into a βbrickβ.
Many users are afraid to stitch the device themselves for fear of damaging it, but with proper preparation and following the instructions, the risks are minimal. The main thing is to choose the right firmware version for your model (for example, STYJ02YM for Mi Robot Vacuum 2), prepare the necessary tools and be patient. In this article, we will discuss the process from A to Z, including solving typical errors.
If your vacuum cleaner is stuck on the logo, doesn't respond to buttons or constantly resets settings, firmware through your PC is often the only way out. But remember: Xiaomi's warranty does not apply to devices with corrupted software, so act at your own risk.
Preparation for firmware: what will be needed
Before you start, make sure you have everything you need, and without proper preparation, the process can fail and, in the worst case, damage the vacuum cleaner.
Here is the complete list of equipment and programs:
- π₯οΈ Windows PC 7/10/11 (32 or 64-bit). On MacOS or Linux, firmware is possible, but requires additional driver manipulation.
- π USB-Type-A cable (to connect the vacuum cleaner to the PC) The original Xiaomi cable is preferable.
- π Firmware for your model. Only download from trusted sources: the official Xiaomi website, the forums 4PDA or the Xiaomi Community.
- π οΈ Firmware: MiFlash (for official firmware) or Robot_Vacuum_Tool (for custom).
- π§ Qualcomm HS-USB QDLoader 9008 drivers (required for vacuum cleaner recognition in EDL mode).
- π Charger (vacuum cleaner must be charged at least 50% before firmware).
Pay special attention to the choice of firmware. For example, Mi Robot Vacuum 1S will suit a file with the extension.tgz, and Mi Robot Vacuum 2 -.bin. Mismatch of software and vacuum cleaner model will lead to brick (complete failure)!
Also check the integrity of the downloaded files. Firmware archives often weigh 100-300MB. If the file is less than 50MB, it is likely to be corrupted.
How to determine the model and current version of the firmware
Before firmware, you need to know exactly the model of your vacuum cleaner and the version of the installed software, this information will help you choose the right firmware file and avoid errors.
You can find out the model in several ways:
- π Look at the sticker under the vacuum cover (e.g. MJSTFJ02CM for Mi Robot Vacuum 2S).
- π± In the Mi Home app: go to Device Profile β Settings β About Device.
- π On a vacuum cleaner box (if preserved).
The firmware version can be checked:
- Turn on the vacuum cleaner by clamping the power button for 3-5 seconds.
- Connect to its Wi-Fi point (MiRobot_Vacuum_XXXX type network).
- In your browser, go to http://192.168.8.1/cgi-bin/luci (login/password default: admin/admin).
- In the Status β Overview section, look for the Firmware Version line.
If the vacuum cleaner is not turned on, you can determine the model by appearance:
How to distinguish Mi Robot Vacuum 1S from 2S?
Installation of drivers and preparation of PC
So, in order for a computer to recognize a vacuum cleaner in firmware mode, you need to install special drivers, and without them, the firmware simply won't see the device.
Download the Qualcomm HS-USB QDLoader 9008 driver from Qualcommβs official website or trusted forums (e.g. 4PDA).
- Connect the vacuum cleaner to the PC in the off state.
- Press the power button and, without letting it go, plug in the USB cable. Hold the button for 10-15 seconds until you hear the device connect.
- In Device Manager (Win + X β Device Manager), find a device with an exclamation point (usually in the Other Devices section).
- Right-click β Update the driver β Search for drivers on this computer β specify the folder with the downloaded driver.
After successful installation in Device Manager, a Qualcomm HS-USB QDLoader 9008 (COMX) device will appear, where X is the port number.
If the driver is not installed:
- πΉ Turn off the driver digital signature check in Windows (the instructions are available on the Microsoft website).
- πΉ Try another USB- port (preferably USB 2.0, as 3.0 may not work).
- πΉ Use a different cable (some cables are only for charging purposes).
π‘
If the vacuum cleaner is not detected in EDL mode, try connecting it to a PC via an externally powered USB-Hab, which sometimes helps stabilize the connection.
Step-by-step instructions for firmware through MiFlash
Now, we're going to go into the firmware process itself. We're going to use the official MiFlash utility, which is suitable for most Xiaomi Mi Robot Vacuum models.
Follow this algorithm:
- Download and install MiFlash from the official Xiaomi website (version no lower than 2020.3.14.0).
- Unpack the firmware into a short-cut folder (e.g., C:\MiRobot\firmware). The archive should contain a flash_all.bat file or images.
- Turn the vacuum cleaner into EDL mode: Turn off the vacuum cleaner. Press the power button and, without letting go, connect the USB- cable to your PC. Hold the 10-15 button for seconds until you hear the connection sound.
Launch MiFlash
Select
Device
COM3
Select firmware mode
- Clean All β Full Firmware (recommended in case of failures).
- Clean All and Lock - firmware with bootloader lock (for official firmware).
- Save User Data β Save User Data (not always working correctly)
- Press Flash and wait until it is completed (usually 5-10 minutes).
The firmware process is accompanied by a green progression lane, and when completed, the Flash Done message will appear in the log. Don't disconnect the vacuum cleaner from the PC until this message appears - interrupting the firmware will cause the device to fail!
βοΈ Checklist before firmware
Common mistakes and their solution
Even with the correct following of the instructions, errors can occur, and let's look at the most common ones and how to fix them.
| Mistake. | Reason. | Decision |
|---|---|---|
| Device not found in MiFlash | Driver not installed or vacuum cleaner not in EDL mode | Reinstall the driver, check the connection, try another USB- port |
| Flash failed (red band) | Incompatible firmware or a corrupted file | Download the firmware again, check the model of the vacuum cleaner |
| The vacuum cleaner does not turn on after firmware | Incorrect firmware mode (e.g. Save User Data instead of Clean All) | Repeat the firmware in Clean All and Lock mode |
| MiFlash is 99% frozen | Conflict with antivirus or drivers | Disable the antivirus, reinstall the drivers, try another PC |
If the vacuum cleaner after firmware does not respond to the buttons and does not turn on:
β οΈ Warning: Don't try to turn it on repeatedly, which can make the problem worse. Connect the vacuum cleaner to your PC and repeat the firmware in Clean All mode. If that doesn't help, the loader may be damaged and soldering equipment will be needed to repair it.
Another common problem is that the vacuum cleaner turns on, but doesn't connect to the Wi-Fi.
- π Reset settings via the Reset button (under the cover).
- π‘ Re-flash the Wi-Fi module separately (if your firmware supports separate module upgrades).
- π§ Check if the router is blocking new devices from connecting.
Firmware custom versions of the software: risks and opportunities
In addition to the official firmware, there are custom (modified) versions of the software for Xiaomi Mi Robot Vacuum. They can add new features, for example:
- πΊοΈ Support for multi-floor maps.
- π Russian-language voice assistant.
- π Advanced suction power settings.
- π« Removal of restrictions by region (e.g., for European models)
However, the installation of custom software has a number of disadvantages:
- β Loss of warranty (if it is still valid).
- β Risk of unstable operation (e.g., vacuum cleaner may lose communication with base).
- β Lack of official support.
For firmware custom software instead of MiFlash is often used utility Robot_Vacuum_Tool. The algorithm of actions is similar, but there are nuances:
- Custom firmware is usually delivered as.img or.bin files without the flash_all.bat package.
- You may need to unlock the bootloader before the firmware (see 4PDA forums for instructions).
- Some custom firmware requires manually specifying memory addresses in the utility.
Example of popular custom firmware:
| Name of name | Supported models | Main features |
|---|---|---|
| Valetudo | Mi Robot Vacuum 1S, 2S, STYJ02YM | Local control without cloud, multi-map, advanced settings |
| OpenMiRobot | Mi Robot Vacuum 2, 2S | Integration with Home Assistant, custom voices, manual cleaning areas |
β οΈ Warning: Custom firmware often requires manual editing of configuration files. If you're not sure about your skills, it's best to stick to the official software. In case of an error, vacuum cleaner recovery may require soldering.
Recovery of the vacuum cleaner after a failed firmware
If the firmware is faulty and the vacuum cleaner is not showing any signs of life, don't panic. In most cases, it can be restored.
Try the re-flashing first:
- Turn off the vacuum cleaner from the PC.
- Press the power button for 20-30 seconds (sometimes this is reset by a got stuck bootloader).
- Connect the vacuum cleaner to the PC in EDL mode and repeat the firmware.
If the vacuum cleaner is not detected in the Device Manager:
- π Try another one. USB-port.
- π₯οΈ Use another computer (sometimes the problem is driver conflict).
- π§ Reinstall the Qualcomm HS-USB QDLoader 9008 driver manually.
If nothing works, the bootloader may be damaged.
- Disassemble the vacuum cleaner and solder to the contacts TEST POINT (usually located near the USB-port).
- Use a programmer (e.g., CH341A) to flash memory.
- Restore the original firmware dump.
These manipulations require soldering skills and an understanding of electronics, and if you're not sure, you should go to a service center.
π‘
In 90% of cases, the vacuum cleaner can be restored by re-routing the firmware in EDL mode. The main thing is not to interrupt the process and use the correct version of the software.