Xiaomiβs robot vacuum cleaner firmware is a procedure that can significantly improve its functionality, fix bugs or even unlock hidden features. However, doing the wrong thing can turn the device into a brick. In this article, we will discuss all the official and informal software update methods for Mi Robot Vacuum, Dreame and Viomi models, and also explain how to avoid typical errors.
Many users mistakenly believe that firmware is only needed when there is a crash, but in fact, regular updates optimize cleaning algorithms, add support for new maps, improve the work with voice assistants (Alice, Google Assistant). 3.5.8_003639 For Mi Robot Vacuum-Mop 2 Lite has a room zoning feature that wasnβt available in the early versions, but before you get started, make sure your model supports manual upgrades β some budget versions (Mi Robot Vacuum). 1S) Update only through the Xiaomi server.
Should you stitch the vacuum cleaner yourself? If you're not sure about your skills, you'd better wait for the automatic update through the Mi Home app. But for enthusiasts looking for advanced functionality (like integration with Home Assistant or custom cards), alternative firmware like Valetudo can be a great solution.
Preparation for firmware: what to do before the start
The first step is to check the current firmware version, and you can do this through the Mi Home app:
- Open the app and select your vacuum cleaner.
- Go to Settings β About the device β The firmware version.
- Compare the number to the latest versions on the official website or forums (e.g. 4PDA).
If the version is outdated, download the current software. Official firmware is taken only from Xiaomi resources or trusted sources like Xiaomi Community. For alternative firmware (for example, Valetudo), use repositories on GitHub, but remember: they may deprive you of warranties.
β οΈ Note: Firmware from third-party sources may contain malicious code. Always check the hash amounts of files (MD5/SHA1) For Dreame models (e.g., before installation, D9) Use only files with the.pkg extension β other formats are incompatible.
Also prepare:
- π Charger β the battery must be charged at least 50 times%.
- π‘ Stable Wi-Fi connection (for air upgrades) or USB-Type-C cable (for manual firmware).
- π₯οΈ Windows computer 10/11 or macOS (for working with the ADB MiFlash).
- β³ Time β the process can take anywhere from 10 minutes to an hour depending on the method.
Official Update via Mi Home app
The safest way is to upgrade to the air (OTA) and is suitable for most models, including the Mi Robot Vacuum-Mop 2 Lite and the Dreame Z10 Pro.
- Connect the vacuum cleaner to a Wi-Fi network (required 2.4 GHz β 5 GHz is not supported).
- Open Mi Home, select your device and go to Settings β Firmware Update.
- If a new version is available, click Update and wait until it is completed (the vacuum cleaner will restart automatically).
If the update button is inactive, check:
- π Mi Home region β some firmware is only available in China or Europe, change region in the app settings if necessary.
- πΆ Wi-Fi signal β weak connection can interrupt loading.
- β³ Time β sometimes updates roll out gradually (within a week of release).
β οΈ Attention: If, during OTA-Dreame vacuum cleaner gives an Error 12 error, which means that the region of the firmware and the device are not matched. Solution: change the region in Mi Home to China (mainland) and try again.
For Viomi models (e.g, V2 Pro) additional confirmation may be required through SMS-If the code doesn't come, check the phone number binding in your Xiaomi account.
π‘
Officially OTA-updates do not reset the vacuum cleaner settings, but after firmware is recommended to reconnect the device to Wi-Fi.
Handheld firmware via USB (for experienced users)
If automatic update is not available or you need to roll back to the previous version, you can manually sew the vacuum cleaner through the USB-This method works for most Xiaomi and Dreame models, but requires precise follow-up of instructions.
Step-by-step:
- Download firmware in.pkg (for Dreame) or.bin (for Mi Robot) from the official website. For example, for Mi Robot Vacuum-Mop P the current version is available β 3.5.8_003639.
- Format the flash drive in FAT32 (no more than 32 GB in size).
- Place the firmware file in the root of the drive and rename it in miio_robot_vacuum.pkg (for Dreame or firmware.bin (for Mi Robot).
- Turn off the vacuum cleaner, insert the flash drive into the USB-Type-C port (located under the lid next to the on button).
- Press the power button for 5-10 seconds until the white indicator lights up (firmware mode).
- Wait until the end (the indicator will change color to green) and remove the flash drive.
β οΈ Note: If you have a Mi Robot Vacuum after the firmware 1S If the flasher is red, it indicates damage to the boot sector.Solution: Repeat the procedure with another flash drive (SanDisk or Kingston is recommended).
Viomi models (e.g. SE) may require an additional config.json file with region settings, which can be generated via the Viomi Tool utility (available on GitHub).
The flash drive is formatted in FAT32|
The firmware file is renamed correctly |
Vacuum is at least 50% charged |
USB port clean (no dust or debris) |
A backup copy of the settings is saved-->
Firmware via ADB and MiFlash (for advanced)
For Android Things models (such as Mi Robot Vacuum-Mop 2 Pro), there is a firmware method through ADB and MiFlash, which allows custom firmware like Valetudo to be installed, giving you full control of the device without cloud dependency.
Tools required:
- π₯οΈ Windows computer (for MiFlash).
- π USB-Type-C Cable (original, with data transfer support).
- π¦ Archive with Qualcomm firmware and drivers (for Snapdragon chips).
- π οΈ Utilities: MiFlash, ADB Tools, Python 3.x (script-wise).
Step-by-step:
- Install Qualcomm and MiFlash drivers (you can download it at xiaomiflashtool.com).
- Connect the vacuum cleaner to your computer in EDL mode (this may require short circuit of the contacts on the board - look for instructions for a specific model!).
- Start MiFlash, select the downloaded firmware (.tgz file) and click Flash.
- Wait until it is completed (the process takes 5-15 minutes). The vacuum cleaner will restart automatically.
Firmware through EDL-The regime may result in loss IMEI You can only restore them through the Xiaomi service center.
To install Valetudo after firmware will require:
- Connect to the vacuum cleaner by SSH (login / password by default: root/123456).
- Run the installation script: wget -qO- https://install.valetudo.cloud | sh
- Integration with Home Assistant via MQTT.
What if MiFlash canβt see the device?
Solving typical firmware errors
Even with the correct following of the instructions, there can be failures, and let's look at the most common mistakes and how to fix them.
| Mistake. | Model vacuum cleaner | Reason. | Decision |
|---|---|---|---|
| Error 1 | Mi Robot 1S | Incompatible version of the firmware | Download the firmware for your region (CN/EU) |
| Error 12 | Dreame D9 | Conflict in the region | Change the region in Mi Home to China |
| Red flashing indicator | Viomi V2 | The boot sector is damaged. | Repeat the firmware with another flash drive |
| ADB device not found | Mi Robot Mop 2 Pro | No ADB drivers | Install Google USB Drivers |
| The vacuum cleaner does not turn on after firmware | Any model. | Power failure during update | Try charging from another power supply unit |
If Dreame vacuum cleaner, after firmware, produces an Error 24 error, it indicates that the file system has been damaged.
- Download the Dreame Fix Tool (available on the 4PDA forum).
- Connect the vacuum cleaner to your PC and start recovery via Fastboot.
- After recovery, repeat the firmware.
β οΈ Note: If the Xiaomi vacuum cleaner after a failed firmware emits an audible signal with a pause of 3 seconds, this means a critical error of the loader. EDL-The mode using the original Xiaomi cable.
adb logcat -d > xiaomi_vacuum_log.txtThis file will help diagnose errors in forums.-->
Alternative Firmware: Valetudo and Others
Xiaomiβs official software has limitations: mandatory cloud binding, no local management, advertising in some regions, and alternative firmware like Valetudo or Dustcloud solves these problems, but requires technical skills.
The advantages of Valetudo:
- π Full local control without the Xiaomi cloud.
- πΊοΈ Support for custom maps and cleaning areas.
- π€ Integration with Home Assistant, Node-RED, MQTT.
- π Extended cleaning statistics (time, coverage, wear of brushes).
Disadvantages:
- β οΈ Loss of warranty (unless the device is officially unlocked).
- π§ Requires manual adjustment through SSH.
- π΅ No support for voice assistants (Alice, Google).
To install Valetudo on Mi Robot Vacuum-Mop 2:
- Sweat the custom bootloader through MiFlash (boot.img file).
- Connect to SSH and execute the installation script.
- Set up integration with Home Assistant through MQTT.
The Valetudo forum has a list of supported devices, for example, the Dreame D9 is partially supported (no water pump control), and the Viomi V2 is fully supported.
How to roll back the firmware to the previous version
If the new firmware is unstable (for example, the vacuum cleaner Mi Robot Vacuum 1S became worse to build a map), you can return the previous version.
Method 1: USB (for most models)
- Download the desired firmware version (for example, 3.3.9_003020 for Mi Robot).
- Place the file on a flash drive and flash the device manually (the instruction is similar to an update).
Method 2: MiFlash (for advanced)
- Find the archive with the desired version of the software (for example, on 4PDA).
- Swipe the device in EDL mode (as described above).
β οΈ Note: A rollback to a version older than 2 releases (e.g., 3.5.8 to 3.3.9) may result in incompatibility with Xiaomi servers. In this case, the vacuum cleaner will lose access to cloud functions (voice control, remote activation).
For Dreame models (for example, Dreame Bot W10), rollback is possible only through the service center, since the firmware is signed with a cryptographic key.