How to Sweeper Xiaomi Robot Vacuum on MAT: A Complete Guide with Risks and Nuances

Why sew a robot vacuum cleaner Xiaomi on MAT and what does it give?

The Mi Home Alternative Tools (MAT) firmware for Xiaomi, Viomi and Dreame is modified software that extends the device beyond standard capabilities. Unlike official updates, MAT allows you to remove regional restrictions, add hidden features (such as zoning or fan speed control), and integrate the vacuum cleaner into third-party smart home systems without being tied to Xiaomi servers.

But MAT firmware is not just an update installation; it's an interference with the system software of the device that can lead to loss of warranty, instability, or even a vacuum cleaner build, and in this article, we'll look at how to minimize risks, what models are supported, and what to do if something goes wrong.

Before you start, answer two questions:

  1. Are you ready to lose your warranty (if it is still valid)?
  2. Do you have a backup way to control the vacuum cleaner (such as a remote or physical buttons) in case of a crash?

If the answer is no to at least one of them, it is better to stop at this stage.

πŸ“Š What kind of robot vacuum cleaner model do you use?
Xiaomi Mi Robot (any series)
Viomi V2/V3
Dreame D9/Z10
Another Xiaomi model
Not Xiaomi.

What Xiaomi models support MAT firmware?

MAT firmware is developed by enthusiasts and does not cover all devices, and as of 2026, the following models are officially supported:

BrandModelMAT firmware versionFeatures
XiaomiMi Robot Vacuum-Mop 2 ProMAT 2.4.1Zoning support, suction power adjustment
XiaomiMi Robot Vacuum-Mop PMAT 2.3.5Work without the cloud Xiaomi, integration with Home Assistant
ViomiV2 Pro / V3 MaxMAT 2.5.0Added support LDS-high-resolution
DreameD9 / Z10 ProMAT 2.4.2 (beta)Limited functionality, possible navigation bugs

Before you run your firmware, be sure to check your model’s compatibility on the official MAT repository on GitHub or in thematic chats (e.g., @xiaoflasher on Telegram).Some devices require a prior downgrade of the official firmware to a specific version.

⚠️ Attention: Firmware MAT Unsupported models (e.g. Xiaomi Mi Robot) 1S or dreame D10 Plus) may cause loss of communication with the device or damage to the bootloader, in which case recovery is possible only through JTAG, which requires soldering skills.

Preparation for firmware: what to do before the start

The MAT firmware process consists of several steps, and skipping any of them increases the risk of error.

  • πŸ”‹ Charge the vacuum cleaner to 100 percent, interrupting the process due to battery discharge is almost guaranteed to lead to a "brick".
  • πŸ“‘ Connect the vacuum cleaner to Wi-Fi at 2.4 GHz. MAT It does not work with 5 GHz networks.
  • πŸ–₯️ Install the necessary tools: Python 3.8+ (firmware) ADB Tools (if manual intervention is required) Mi Home App (Not newer than 6.4.5 to circumvent restrictions)
  • πŸ“ Download the firmware. MAT for your model from an official source (links are usually published in the @xiaoflasher or 4PDA).

It is also recommended to back up the original firmware. dump_firmware.py repository MAT. Dump crews:

python dump_firmware.py --ip [IP_ vacuum cleaner] --token [TOKEN_ devices]

Token

Mi Home App

MiHome Token Extractor

Make a backup copy of the original firmware|Check the version. MAT forecast|Disable Two-Factor Authentication in Mi Account|Connect the vacuum cleaner to the 2.4 GHz network|Charge the device to 100%-->

Step-by-step: how to flash Xiaomi on MAT

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

  1. Activate Developer Mode: Press the Power + Home button for 5 seconds until you hear the beep. Some models (Viomi V3) need to use a combination of the Power button + Spot Cleaning button.
  2. Connect to the vacuum cleaner SSH: Use the command: ssh root@[IP_vacuumer] -p 22 Password default for most models β€” 1234567890 empty.
  3. Download the firmware. MAT: Copy the firmware file (.pak or.bin) to the root directory of the vacuum cleaner through SCP: scp mat_firmware.pak root@[IP_vacuumer]:/tmp/
  4. Run the firmware script: In SSH-session, do: cd /tmp/./flash_mat.sh The process will take 5–15 Don't turn the vacuum cleaner off!

After successful firmware, the vacuum cleaner will restart. The first turn on can take up to 10 minutes, which is normal. If the device does not respond for more than 20 minutes, see the "Problem Solving" section.

πŸ’‘

If the vacuum cleaner doesn’t connect to Wi-Fi after firmware, try resetting the network settings via the physical Reset button (hold 10 seconds).

Frequent problems after MAT firmware and how to fix them

Even with the right firmware, you can have failures, and here are the most common ways to fix them:

  • πŸ”„ Vacuum was stuck on the boot: Cause: damaged loader or incompatible version MAT. Solution: Turn the vacuum cleaner off the grid for 30 seconds. Hold the power button. + Spot Cleaning 15 seconds for forced reboot, if it doesn't work, run the original firmware through fastboot.

Not connected to Wi-Fi.

Reason: Network reset or router conflict.

  • Reboot the router.
  • In the router settings, turn off WPA3 (use WPA2 only).
  • If the vacuum cleaner is visible on the network, but does not connect, reset the settings through the Mi Home App (section "Devices β†’ Settings β†’ Network Reset").

Does not build a map or drive chaoticly

Reason: Incompatibility of firmware MAT version LDS-sensor, solution:

  • Check out the LDS version in Mi Home App β†’ Device settings β†’ Info.
  • Download a dedicated version of the MAT for your LDS (e.g., MAT-LDS6.0).
  • If the problem remains, go back to the official firmware.