Where and how to sew a robot vacuum cleaner Xiaomi Mi Robot Vacuum: official and alternative ways

The firmware of Xiaomi Mi Robot Vacuum is a challenge that owners face when updating functionality, fixing bugs or recovering from a crash. Official channels (Mi Home, Mi Robot App) offer automatic updates, but not always relevant for all regions. Alternative methods - through ADB-team, USB-Connection or third-party utilities like Valetudo – give more control, but require caution: wrong actions can turn a vacuum cleaner into a β€œbrickΒ».

In this article, we will discuss 4 working methods of firmware (including hidden features for power users), compare them in complexity and risks, and also tell you how to exit recovery mode if something goes wrong. Particular emphasis will be placed on the Mi Robot Vacuum-Mop 2 Lite, Mi Robot Vacuum-Mop P and Mi Robot Vacuum E10 models – their firmware is most often searched for in 2026. If your model is older (for example, Mi Robot Vacuum 1S), check the compatibility of methods at the end of the article.

1. Official Update via Mi Home or Mi Robot

The safest and most recommended way is to use branded apps. Xiaomi regularly releases updates to improve navigation, add new cleaning modes and fix bugs.

  • πŸ“± Requirements: latest version of Mi Home (for the Android/iOS), stable Wi-Fi connection (2.4 GHz), the robot battery charge β‰₯50%.
  • 🌍 Regional restrictions: firmware for Chinese (CN) If your vacuum cleaner is imported from China, you may need to change your region in your Xiaomi account.
  • ⚑ Update time: 10 to 30 minutes. You can't interrupt the process, it will cause a system failure.

Step-by-step:

  1. Open Mi Home, select your robot vacuum cleaner on the home screen.
  2. Go to Settings β†’ About the device β†’ Update firmware.
  3. If a new version is available, click Update and confirm the action.
  4. Wait until it's finished (the robot will beep) Don't turn it off or shut the app down!

πŸ’‘

If the update is β€œhung” by 0% for more than 5 minutes, restart the robot, holding the power button for 10 seconds. Retry after 1 hour – Xiaomi servers may be overloaded.

⚠️ Note: After upgrading to Mi Home, some users lose access to advanced settings (such as adjusting the power of suction), due to Xiaomi's policy of unifying firmware for different regions. If you need β€œadvanced” features, consider alternative firmware methods.

2. firmware through ADB: for experienced users

The method is suitable for those who want to install custom firmware (for example, Valetudo for local management without the Xiaomi cloud) or roll back to the previous version. ADB (Android Debug Bridge and physical access to the vacuum cleaner.

Preparation:

  • πŸ–₯️ Install. ADB and Fastboot on PC.
  • πŸ”Œ Connect the vacuum cleaner to the computer through USB-OTG adapter (connector hidden under the cover, next to the reset button).
  • πŸ“ Download the firmware (.img or.zip) for your model from trusted sources (e.g. Valetudo repository).

Instructions:

1. Open the command line (Windows) or the terminal (macOS/Linux).


2. Check the connection of the device:




adb devices




(Serial number of vacuum cleaner should appear)




3. Go to firmware mode:




adb reboot bootloader




4. Unlock the bootloader (only for the first firmware!):




fastboot oem unlock




5.Sweep the file (example for Valetudo):




fastboot flash system valetudo.img




Reset the device:




fastboot reboot

What if ADB can’t see the vacuum cleaner?
1. Check the drivers: Windows may require manual installation of the Android driver ADB Interface. 2. Try another one. USB-cable (original from Xiaomi). 3. Enable debugging by USB In the hidden menu of the vacuum cleaner: keep home + Power 5 seconds, then select Debug Mode via the buttons on the case.

⚠️ Warning: Fastboot oem unlock resets all vacuum cleaner settings to factory and can void warranty. On Mi Robot Vacuum models E10 Xiaomi is blocking this method – you will need a soldering iron to connect to the UART-port.

3. Firmware through USB-Flu: an alternative for models without ADB

Some versions of vacuum cleaners (such as the Mi Robot Vacuum-Mop 2 Pro) support an external drive upgrade, which is easier than the ADB, but doesn’t work on all devices.

What you need:

  • πŸ’Ύ Empty. USB-flash-drive (FAT32), up to 8 GB.
  • πŸ“„ Firmware in.pkg format (official or modified).
  • πŸ”Œ USB-OTG Adapter (micro-USB or Type-C, depending on the model).

Algorithm of action:

  1. Format the flash drive in FAT32 (the volume name is without spaces, for example XIAOMI).
  2. Copy the firmware file to the root of the flash drive (the file name must match the original, for example, the file name must be the same as the original one). mi_vacuum_20260515.pkg).
  3. Turn off the vacuum cleaner, insert the flash drive through the adapter into the port on the case.
  4. Hold the Home button and turn on the power. Hold the 10-15 second button until the light flashes.
  5. Release the button and the update process will begin (the robot will emit a series of audio signals).

The flash drive is formatted in FAT32|

The firmware file name is the same as the original |

Battery charge β‰₯70%|

USB-OTG Adapter is serviceable and fits to the port of the vacuum cleaner-->

Model vacuum cleanerSupport USB-firmwareType of portNotes
Mi Robot Vacuum 1Sβœ… Yes.Micro-USBFile required vacuum_1s.pkg
Mi Robot Vacuum-Mop 2 Liteβœ… Yes.Type-CIt only works with firmware up to version 3.5.8.
Mi Robot Vacuum E10❌ No.Type-COnly through Mi Home or ADB (with disassembly)
Mi Robot Vacuum-Mop P⚠️ Partially.Type-CRecovery mode activation is required

4. Firmware through third-party utilities: Valetudo and DustBuilder

For those who want to get rid of their dependence on the Xiaomi cloud or get advanced features (for example, zoning without the Internet), there are open firmware.

  • πŸ€– Valetudo: Local management via web interface, map support, integration with Home Assistant.
  • πŸ”§ DustBuilder: a tool for creating custom firmware based on official Xiaomi files.

Valetudo installation process:

  1. Download the latest version from GitHub (valetudo-*.zip file).
  2. Unpack the archives on SD-map (for models with support) or connect to SSH (If the vacuum cleaner has already been sewn before).
  3. For models without SD-cards (e.g. Mi Robot Vacuum-Mop 2) will require soldering to connect to the UART-port and firmware via esptool.

Advantages of custom firmware:

  • βœ… No connection to Xiaomi servers (works without the Internet).
  • βœ… Support for custom scripts (e.g., automatic schedule cleaning without cloud).
  • βœ… Integration with Home Assistant, Node-RED and other smart home systems.

⚠️ Note: Installing Valetudo on a model newer than 2022 release may lead to locking the bootloader.

πŸ“Š Which way of running the slate you prefer?
Official Update via Mi Home
ADB (hand-held firmware)
USB-flash-drive
Castom firmware (Valetudo, etc.)
I haven't tried it yet.

5.Recovery after a failed firmware

If the vacuum cleaner stops turning on, emits a constant beep, or flashes a red light, it's likely that the firmware is damaged, and in 80 percent of cases, the device can be brought back to life.

Recovery methods:

  • πŸ”„ Reset to factory settings: Hold the Power button for 20 seconds. Suitable for soft-brick (robot turns on but doesn't work correctly).
  • πŸ’» Flashing through Mi Flash Tool: Requires disassembly of the case and connection to test contacts (for experienced users).
  • πŸ“ž Calling the service: if the vacuum cleaner doesn't respond to the buttons, the loader may be damaged, in which case only the soldering of flash memory will help.

Instructions for Mi Flash Tool:

1 Download the Mi Flash Tool and the firmware for your model (e.g. mi_vacuum_fastboot_20260301.tgz).


2. Connect the vacuum cleaner to the PC in EDL mode (emergency boot):




Open the case, find test points (usually signed by GND and EDL).




- Lock them with tweezers and connect the USB- cable.




3. In the Mi Flash Tool, select the downloaded firmware and press Flash.

Where to find test points for EDL-regime?
On most models, they are located under the top cover, next to the battery. For the Mi Robot Vacuum, the E10 is two contacts near the Wi-Fi connector of the module (TP1 and TP2). Photos of the circuit can be found on the 4PDA forums in the repair topics.

⚠️ Attention: Firmware through EDL It erases all data, including room maps and settings. If the vacuum cleaner was tied to a Xiaomi account, after recovery, you will need to re-authorize.

6. Frequent mistakes and how to avoid them

Even when following instructions, users face problems. Consider the most common ones:

Mistake.Reason.Decision
Mistake 1001 in Mi HomeIncompatibility of the firmware and device regionChange your Xiaomi account region to China (Mainland) or download your local firmware manually.
Vacuum cleaner not visible in ADBLack of drivers or inactive debuggingInstall the Android ADB Interface driver and activate Debug Mode on the vacuum cleaner
Hanging up to 99% with USB-firmwareDamaged firmware file or lack of memoryCheck the checksum of the file (MD5) and format the flash drive again
Constant red indicatorThe loader or firmware is damaged.Go through EDL or contact the service

Tips for successful firmware:

  • πŸ”‹ Always check the battery before upgrading.If the charge is below 30%, connect the vacuum cleaner to the docking station.
  • πŸ“Ά Use a wired internet connection to download firmware (especially for large Valetudo files).
  • πŸ“ Keep an action log: write down the firmware versions and commands you type, which will help you roll back if you make a mistake.

πŸ’‘

Before any firmware, back up the current version! To do this, go to Settings β†’ About Device β†’ Backup (not available on all models).

Can I sew the Chinese version of the vacuum cleaner with global firmware?
Technically, yes, but it is fraught with problems: some features (such as carpet recognition) may be missing, as well as errors with Xiaomi servers. CN-Valetudo is universal and not tied to the region.
How do I find out the current version of the firmware?
Open Mi Home, select a vacuum cleaner, and go to Settings β†’ About Device. The firmware version is listed in the Firmver or Version bar. Alternatively, press and hold the Home + Power buttons for 5 seconds: the robot will voice the version.
What if the vacuum cleaner does not connect to Wi-Fi after the firmware?
Reset your network settings: hold Wi-Fi and Power for 10 seconds, then re-tether your network via Mi Home. If the problem persists, go to the previous version (the new firmware may contain a Wi-Fi bug).
Can I roll back the firmware to the previous version?
Yes, but not on all models. For official firmware via Mi Home, rollback is usually blocked. To get a hold of it, you will need to download the old firmware version (for example, with Xiaomi Firmware), flash it through ADB or USB (instructions above). On models with a locked bootloader (for example, E10), rollback is possible only through EDL.
Where to download the official firmware for Xiaomi Mi Robot Vacuum?
Official firmware is distributed only through Mi Home, but they can be extracted from the application or found on trusted resources: Xiaomi Firmware Updater (firmware archive for all Xiaomi devices). 4PDA (topics on specific vacuum cleaner models. GitHub repositories with modified firmware. ⚠️ Download files only from verified sources – fake firmware may contain malicious code!