Xiaomi vacuum cleaner firmware on the “mat”: how to unlock hidden modes without the risk of “bricking”

The firmware of Xiaomi’s robot vacuum cleaner on the so-called “mat” is an informal software change that allows you to unlock hidden functions, from increasing the suction power to disabling geo-restrictions to adding support for third-party cards. However, this process is fraught with risks, from loss of warranty to complete failure of the device. In this article, we will analyze which models support such modifications, how to prepare for firmware, and what alternatives exist for those who are not willing to take risks.

It’s important to understand that the term “firmware on mat” is the slang name for the process of installing custom firmware (for example, Valetudo, DustBuilder or modified versions of the original software). Such firmware is often created by enthusiasts and distributed on forums like 4PDA or GitHub. But before you start, check whether your model is suitable for modification – not all Xiaomi vacuum cleaners (including the Dreame and Viomi sub-brands) support such changes.

If you've never done a smart firmware thing before, start by learning the basics of what ADB is, how fastboot works, and why it's important to back up your original firmware. Without that knowledge, the chances of turning a vacuum cleaner into a brick are so much greater. Now, let's get to the details.

What models of Xiaomi vacuum cleaners can be sewn on the “mat”?

Not all Xiaomi robot vacuum cleaners support unofficial firmware, and here are some models that have already been developed by enthusiasts (the data is up for 2026):

  • 🔹 Xiaomi Mi Robot Vacuum-Mop 2 Pro (including global and Chinese versions)
  • 🔹 Xiaomi Mi Robot Vacuum-Mop P (modifications with laser rangefinder)
  • 🔹 Dreame D9 dreame Z10 Pro (popular among modifiers)
  • 🔹 Viomi V2 Pro and Viomi V3 (Additional adapters are required for the firmware)
  • 🔹 Xiaomi Mi Robot Vacuum 1S (Older model, but with an active community)

For other models (e.g. Xiaomi Mi Robot Vacuum-Mop 2 Lite or Dreame F9) custom firmware is either missing or in the testing stage.Be sure to check compatibility on profile resources such as:

  • 🌐 Forum 4PDA (section “Robot vacuum cleaners»)
  • 🌐 Valetudo repository on GitHub
  • 🌐 Telegram chats on the modification of smart equipment Xiaomi

⚠️ Note: Firmware models with new chips (e.g. Xiaomi Robot Vacuum-Mop 2 Ultra 2023)+ The manufacturer is actively fighting against unofficial modifications, embedding protection at the bootloader level.

Preparation for firmware: what to do before the start

Firmware vacuum cleaner on the "mat" is not just downloading a file and pressing a button, it depends on the correct preparation of whether your device will remain functional.

Download the original firmware (backup)

Check the battery (minimum 50%)

Connect the vacuum cleaner to Wi-Fi with access to the local network

Install drivers for USB-debugging (if required)

Disable antivirus (can block firmware files)

Prepare a USB-OTG adapter (for some models)

-->

Pay special attention to the backup of the original firmware. Without it, it will be extremely difficult to restore the device in the event of a failure. Use utilities like MiHome Hack or DustBuilder Tool to create a backup. Backup instructions are usually attached to custom firmware.

Also check the current version. Some firmware only works with certain versions of the original software.

  1. In the Mi Home app: go to Device → Settings → About the program.
  2. Through voice assistant: say "firmware version".
  3. On the device body: Some models display the version when turned on (press and hold the power button for 5 seconds).

⚠️ Note: If your vacuum cleaner has been updated through official software in the last 3 months, there is a high probability that the manufacturer has blocked the possibility of downgrade.

Step-by-step: how to sew Xiaomi vacuum cleaner on the “mat”

The firmware process varies depending on the model, but the overall scheme looks like this:

  1. Unlock bootloader (if required) This often requires obtaining an unlock token through special services (e.g., Xiaomi Unlock Tool).
  2. Install drivers to connect the vacuum cleaner to your PC. Use MiFlash or ADB drivers.
  3. USB connection: Most vacuum cleaners require a USB-OTG connection to a service port (usually located under the cover).
  4. Download custom firmware. Popular options: 📁 Valetudo – open source software for full control of the vacuum cleaner. 📁 DustBuilder - modified firmware with advanced settings. 📁 OpenMower – for models with lawn mowing function (if applicable).

Firmware via Fastboot/ADB

Mi Robot Vacuum 1S

adb shell


su




dd if=/sdcard/update.zip of=/dev/block/mmcblk0p1

Reboot and setup

For Dreame models (e.g. Dreame) D9) The process is slightly different – often you need to use the Dreame Hack Tool utility and connect via the UART-For detailed guides, look for specialized forums.

What if the vacuum cleaner does not turn on after the firmware?
If the device does not respond to buttons and does not charge, try: 1. Connect to charging for 24 hours (sometimes helps with soft-brick). 2. Repeat the firmware via Fastboot with the original software. 3. Contact the service center (indicate that there was a “software failure”, but do not mention the firmware). In 80% of cases, the device can be restored, but soldering may be required. JTAG-port.

Risks and consequences of firmware on the “mat”

Firmware is always risky, and these are the main challenges that users face:

Type of riskEffects of consequencesProbability.
Loss of guaranteeManufacturer will refuse repairs if custom software is detected100%
Soft-brick (software failure)The vacuum cleaner is not turned on, but is restored through firmware30%
Hard-brick (hardware failure)Full failure, fee replacement required5%
Unstable workSpontaneous reboots, navigation errors50%
Blocking cloud functionsNo connection to the Mi Home app70%

One of the most common questions is, can you get the original firmware back? Yes, but not always easy. For example, after installing Valetudo, some models require manual recovery via Fastboot, which can be difficult for beginners. In addition, new versions of the original Xiaomi software may contain integrity checks for system files, making rollback impossible.

⚠️ Note: If your vacuum cleaner is connected to the Mi Home with reference to the Xiaomi account, after the firmware is “mat”, it can be blocked by the company’s servers. MI-Account through the Engineering Menu.

Yes, I stitched a smartphone/tablet.

Yeah, I was sewing a vacuum cleaner or some other device.

No, but I want to try.

No, I don't plan on.

-->

Firmware alternatives: how to unlock functions without risk

If the firmware on the “mat” seems too risky, consider legal ways to expand the functionality of the vacuum cleaner:

  • 🔧 Use of alternative applications. For example, Valetudo can be installed without firmware on some models through Root access (you need to unlock the bootloader).
  • 🔧 Update to the latest official firmware.Newer versions of Xiaomi software often add hidden features (such as zoning or increased suction power).
  • 🔧 Connect to Home Assistant. HASS You can control the vacuum cleaner without the limitations of the Mi Home, including the creation of complex automations.
  • 🔧 Buying a modified vacuum cleaner. AliExpress or Taobao sells devices with custom software preinstalled (see "hacked" or "unlocked" tags»).

For Dreame models (like Dreame D9), there is an official developer mode that allows you to adjust suction settings, speed, and even disable some restrictions.

  1. Turn on the vacuum cleaner.
  2. Press and hold the Home + Spot buttons for 10 seconds.
  3. After the sound signal, the vacuum cleaner will go to the engineering menu.

💡

Before buying a vacuum cleaner for modification, check if it supports OTA-Updates without binding to Xiaomi servers. Models with standalone updates (such as some Viomi) are easier to flash and restore.

Frequent Mistakes and How to Avoid Them

Even experienced users make firmware mistakes.-5 Failures and ways to prevent them:

  • 🚫 Incompatible firmware. Always check if the file is suitable for your model and version of the software. 1S This is not a good option for Mi Robot Vacuum-Mop 2 Pro.
  • 🚫 Interrupted firmware. If the vacuum cleaner is out during the upgrade, don't try to repeat the procedure right away. Wait 10 minutes and check the battery power.
  • 🚫 Use of informal sources: download firmware only from verified resources (e.g, 4PDA The torrent trackers may contain malicious code.
  • 🚫 Ignoring backup: Without backup of the original software, device recovery may not be possible.
  • 🚫 Firmware through an unstable connection. Use a wired connection (USB) Instead of Wi-Fi, if possible.

If after firmware vacuum cleaner began to behave strangely (for example, drives in circles or does not respond to commands), try:

  1. Reset the settings to factory (Settings → Reset).
  2. Reflash the device with a clean installation (wipe data).
  3. Check the integrity of firmware files (sometimes the archives are downloaded with errors).

💡

If the vacuum cleaner after the firmware does not see the map of the room, most likely, the problem is incompatibility of the navigation software versions. LDS-sensor.

Conclusion: should Xiaomi sew a vacuum cleaner on the “mat”?

Firmware vacuum cleaner on the "mat" gives access to advanced functions, but the feasibility of such a step depends on your goals:

  • ✅ It’s worth flashing if: you need unique features (for example, integration with Home Assistant or disabling geo-restrictions), and you’re willing to risk the device.
  • ❌ Do not stitch if: vacuum cleaner warranty, you are not sure of your technical skills or the model is not supported by the community.

For most users, alternative methods (alternative apps, Home Assistant, official updates) will be a safer choice, but if you decide to go firmware, follow the instructions carefully and do not skip the steps of backup and compatibility checks.

Important: since 2023, Xiaomi has tightened the protection of the bootloader on new models of vacuum cleaners. If your device is released later than this year, the chance of successfully sewing it to the “mat” is minimal without the use of specialized equipment (for example, a JTAG programmer).

FAQ: Answers to Frequent Questions

Can I use a Xiaomi vacuum cleaner without a computer?
Theoretically, yes, but only for a limited number of models, like some firmware for the Mi Robot Vacuum. 1S can be installed through OTA-Update over the local network (needs a router with support) DNS-Spoofing, however, most devices require a PC connection.
What is Valetudo and how to install it?
Valetudo is open source software with a web interface for managing robot vacuum cleaners, which allows you to do without the cloud services of Xiaomi and configure the device flexibly. Installation is possible in two ways: through firmware (complete software replacement); Root access (you need to unlock the bootloader); For detailed instructions, look at the official website.
How to return the original firmware after an unsuccessful modification?
To restore the original software: Download the official firmware for your model (for example, from the Xiaomi website or forum). 4PDA). Connect the vacuum cleaner to the PC in Fastboot mode (usually by pressing the power buttons) + Home when connected USB). Use the MiFlash utility or Fastboot commands for firmware. If the device is not determined by the computer, you may need to use the software. JTAG-Programming (for advanced users).
What functions become available after the firmware on the “mat”?
The list depends on the firmware, but usually users receive: 🔹 Increased suction power (up to 2500 Pa and higher). 🔹 Disabling zoning restrictions (e.g. cleaning in restricted areas). 🔹 Support for third-party maps (e.g. Google Maps instead of Xiaomi proprietary solutions). 🔹 Manual control of speed and trajectory. 🔹 Integration with Home Assistant, Node-RED and other smart home systems.
Can I use the Dreame Bot W10 vacuum cleaner?
At the moment (2026) there are no stable custom firmware for the Dreame Bot W10 due to the closed architecture and the new processor. Enthusiasts are working on porting Valetudo, but there are no official releases yet.