Firmwareing Xiaomiβs virtual mat vacuum cleaner is a task that requires not only technical skills, but also an understanding of the specifics of how smart devices work. Virtual mats allow you to limit cleaning areas without physical barriers, but their correct operation depends on the firmware version. If your Mi Robot Vacuum or Mi Robot Vacuum-Mop has begun to ignore zone settings, glitches when updating the map or completely stopped seeing mats, itβs time to update or reflash the device.
In this article, we will discuss all the stages of firmware, from preparing and choosing the right version of software to installing through official and alternative methods. Particular attention will be paid to models with support for virtual mats (for example, Xiaomi Mi Robot Vacuum-Mop 2 Pro, Xiaomi Mi Robot Vacuum-Mop P and others), because their firmware has nuances, and you will learn how to avoid typical errors that will turn your vacuum cleaner into a βbrickβ.
Warning: the process requires care, firmware through informal channels (for example, modified versions of Valetudo or other devices). ADB-The team may deprive the warranty and lead to the locking of the device in the Mi Home ecosystem. If you are not confident in your abilities, you should contact the service center.
1.What Xiaomi models support virtual mats and need firmware?
Not all Xiaomi robot vacuum cleaners are capable of working with virtual mats, a feature that has been introduced relatively recently and depends on the firmware version and hardware platform.
- π€ Xiaomi Mi Robot Vacuum-Mop 2 Pro - supports up to 4 virtual mat in the Mi Home application (requires firmware not lower) 3.5.8_0040).
- π€ Xiaomi Mi Robot Vacuum-Mop P β Virtual Zones only work after upgrading to the newest 3.3.9_0020 higher.
- π€ Xiaomi Mi Robot Vacuum-Mop 2 Lite β limited support (maximum 2 mats), often requires manual firmware.
- π€ Xiaomi Mi Robot Vacuum-Mop 2 Ultra is the most stable implementation, but even here there are bugs after automatic updates.
If your model is not on this list, check the specifications on the official website or in the Mi Home application. Virtual mats can be called variously: "Cleaning Zones", "Virtual Walls", "No-Go Zones" or "Invisible Walls". The main thing is that the card settings have the option to add restrictions without physical tags.
How do you know if you need firmware? Here are the typical symptoms:
- β Vacuum cleaner ignores virtual mats, they are saved on the map.
- β After updating the map, the zones are reset or shifted.
- β Mi Home is an error called "Failed to set no-go zone".
- β The robot freezes when trying to save new zones.
If at least one of the items is familiar, your device needs to be updated or flashed, but before you act, make sure that the problem is not in the app itself (try reinstalling Mi Home or resetting the cache).
2. Firmware Preparation: What to Do Before Starting
Firmware vacuum cleaner is not a knee operation. Incorrect actions can lead to loss of communication with the device, failure of the laser rangefinder or even physical failure (for example, if the vacuum cleaner gets stuck at half the process).
βοΈ Preparation for the firmware Xiaomi Mi Robot
1. Check the current firmware version. There are two ways to do this:
- π± Through the Mi Home app: go to the Device β Settings β About the device.
- π₯οΈ Through ADB (For advanced users: connect to the vacuum cleaner IP And then you run the command: cat. /etc/mirobo.version
2 Download the correct firmware. The official versions can be found on the Mi Home website (section "Firm"WARE") or forums like XDA Developers. Pay attention:
- πΉ Model of device (e.g, roborock.vacuum.m201 Mi Robot Vacuum-Mop 2 Pro).
- πΉ Version (the latest is not always the most stable - read the reviews on the forums).
3. Prepare the equipment. You'll need:
- π± Smartphone with the latest version of Mi Home (for the official method).
β οΈ Warning: If your vacuum cleaner is linked to a Mi Account with two-factor authentication (2FA), Turn it off while you're firmware, otherwise the device may lock after the update, requiring you to enter code from the firmware. SMS, never-come.
If you are flashing the device for the first time, we recommend starting with the official method through Mi Home - it is the safest. ADB Leave it in case the standard update doesnβt work.
3.Official method: firmware through Mi Home
The easiest and most recommended method is to upgrade through a proprietary app, which is suitable for most users and minimally risky.
Step 1. Connect the vacuum cleaner to the Wi-Fi.
- πΆ Make sure the router is running at 2.4GHz (Xiaomi robots don't support 5GHz).
- π Restart the vacuum cleaner (press the power button for 10 seconds).
- π± In the Mi Home app, go to Profile β Settings β Adding a device and select your model.
Step 2. Check for available updates.
- π Open the vacuum cleaner card in Mi Home.
- π Go to Settings. β About the device β Firmware update.
- β¬οΈ If the update is available, click "Download and install".
Step 3. Wait for the process to be completed.
- β³ The firmware takes 5 to 20 minutes. Don't turn off the vacuum cleaner or close the app!
- π Make sure the battery is at least 30% (better than 50%).
- πΆ Donβt switch to mobile internet β only use Wi-Fi.
If the update is successful, the vacuum cleaner will restart and a notification will appear in the app. Check the virtual mat: create a test area and start cleaning.
β οΈ Warning: After an official update, sometimes saved cards are reset. If this happens, don't panic, just run the vacuum cleaner to re-scan the room. Don't save the map until the robot has gone around all the rooms!
If there are no updates available in Mi Home, but you know that your model has a new firmware, try alternative methods (see the following sections).
π‘
The official Mi Home update is the safest way, but it's not always available to all regions. If your model is locked in Chinese firmware, you'll have to use it. ADB.
4. Alternative method: firmware through ADB
If the official update is not available or you want to install a modified firmware (for example, with Valetudo support), you will have to use Android Debug Bridge (ADB). This method requires technical skills and is suitable for advanced users.
What you need:
- π» Computer with Windows, Linux or macOS.
- π Established ADB Fastboot (you can download from Android Studio).
- π Firmware in.pkg or.img format (for your model).
- π‘ Stable connection of the vacuum cleaner to the local network.
Step 1. Connect to the vacuum cleaner ADB.
- π Find it. IP-The routerβs vacuum cleaner address (usually starts with 192.168.x.x).
- π₯οΈ Open the terminal (or CMD In Windows) and run the command: adb connect [IP_address vacuum] For example: adb connect 192.168.1.100.
- π If authorization is requested, confirm the connection on the vacuum cleaner (if there is a screen) or enter a password (often empty or 123456 by default).
Step 2. Install the firmware.
- π Place a firmware file (e.g. mirobo.update) in a folder with ADB.
- π₯οΈ Execute the command to install: adb push mirobo.update /tmp/ adb shell md5sum /tmp/mirobo.update adb shell sync adb shell /system/bin/update_engine sideload /tmp/mirobo.update
- β³ Wait until it is finished (the vacuum cleaner will restart several times).
Step 3. Check the result.
- π After restarting, connect to the vacuum cleaner via Mi Home.
- π Check the firmware version in the settings.
- π§Ή Test virtual mats β create a new zone and start cleaning.
β οΈ Attention: Firmware through ADB If the vacuum cleaner requires re-authorization after the update, and two-factor authentication is enabled, you may lose access!Be sure to untie the device from the account before the firmware or save access tokens.
If something goes wrong (the vacuum cleaner does not turn on, flashes red or emits sound signals), see the section "What to do if the firmware ended in an error."
List of teams ADB diagnostic
5. firmware through third-party utilities (Valetudo, Docker)
For enthusiasts who want full control of the vacuum cleaner, there are alternative firmware like Valetudo that allows you to control a device without the Xiaomi cloud, add custom zones, and even integrate with Home Assistant, but this method is not warranty and can disrupt some functions (for example, voice control through Alice or Google Assistant).
The Valetudo pros:
- β Full local control (no connection to Xiaomi servers required).
- β Support for custom scripts and automation.
- β Ability to use vacuum cleaner without cloud (relevant for regions with locks).
Valetudo's downsides:
- β Loss of official support and updates.
- β Risk of "bricking" in case of installation error.
- β Not all virtual mat functions work stably.
How to install Valetudo:
- π Download the latest version of Valetudo from the official website.
- π₯οΈ Install Docker (if you are stitching through a container) or prepare Raspberry Pi for proxies.
- π§ Connect to the vacuum cleaner SSH (if supported) or through ADB.
- π¦ Download and run Valetudo according to the instructions for your model.
After installation, you will be able to control the vacuum cleaner through the web interface at the address http://[IP_The virtual mats here are configured through Zones or No-Go Areas.
β οΈ Note: Some Xiaomi models (such as Mi Robot Vacuum-Mop 2 Ultra) have third-party firmware protection. Attempting to install Valetudo on them can lead to hardware locking, which only the service center will remove.
adb pull /systemThis will help restore the device in case of failure.-->
6. Compatibility table of firmware and virtual mats
Not all firmware versions work equally well with virtual mats. Below is the compatibility table for popular Xiaomi models. The data is up to 2026 and may change with the release of new updates.
| Model | Minimum version for virtual mats | Recommended version | Max. Number of mates. | Notes |
|---|---|---|---|---|
| Mi Robot Vacuum-Mop 2 Pro | 3.5.8_0040 | 3.5.8_0070 | 4 | In the versions below 3.5.8_0050 mats are periodically dropped. |
| Mi Robot Vacuum-Mop P | 3.3.9_0020 | 3.3.9_0050 | 2 | Support for mat appeared only in global firmware. |
| Mi Robot Vacuum-Mop 2 Lite | 3.3.6_0010 | 3.3.6_0030 | 2 | Frequent bugs with saving zones - manual firmware is recommended. |
| Mi Robot Vacuum-Mop 2 Ultra | 4.0.1_0010 | 4.0.1_0040 | 10 | The best support for the mat among all models. |
| Mi Robot Vacuum-Mop E10 | 3.5.5_0020 | 3.5.5_0060 | 4 | In Chinese firmware, mat works only with a Chinese server. |
If your model is not in the table, check the information in the forums (for example, 4PDA Also note that some firmware may be βlockedβ to a specific region (e.g., Chinese versions are not compatible with European Mi Home servers).
7 What to do if the firmware ended in an error
Even with strict adherence to instructions, sometimes things go wrong, and here are the typical mistakes and ways to correct them:
π΄ The vacuum cleaner does not turn on after firmware (flashes red).
- π Try hard reset: press the power button for 20 seconds.
- π Connect charging and wait 10 minutes - sometimes power recovery helps.
- π₯οΈ If it doesnβt work, re-write the device through ADB fastboot.
π΄ Update failed error in Mi Home.
- πΆ Check the stability of Wi-Fi β reconnect the vacuum cleaner to the network.
- π Reboot the router and vacuum cleaner.
- π Delete the downloaded firmware file and re-download (possibly the file is corrupted).
π΄ Vacuum cleaner doesn't see virtual mats after update.
- πΊοΈ Remove the old card and let the vacuum cleaner scan the room again.
- π Reset the mat settings in Mi Home and create them again.
- π Check the firmware version β it is possible that the update has βrolled backβ to the old version.
π΄ The vacuum cleaner is blocked and requires authorization.
- π If you have it on. 2FA, Turn it off in your Mi Account and try to re-connect the device.
- π§ Write in support of Xiaomi asking to unlock the device (prepare a purchase check).
- π οΈ In extreme cases, contact the service center - self-resetting the lock can aggravate the problem.
β οΈ Attention: If a vacuum cleaner, after a failed firmware, emits a high-pitched squeak or is constantly reloaded, this is a sign of damage to the loader. UART (requires special equipment and equipment).
If none of these methods worked, please contact the official Xiaomi service. Save the error log (if any) β this will speed up the diagnosis.
π‘
In 90% of cases, the problem after the firmware is solved by resetting to the factory settings, but this will remove all the saved maps and mat settings!