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:
- Open Mi Home, select your robot vacuum cleaner on the home screen.
- Go to Settings β About the device β Update firmware.
- If a new version is available, click Update and confirm the action.
- 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 rebootWhat if ADB canβt see the vacuum cleaner?
β οΈ 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:
- Format the flash drive in FAT32 (the volume name is without spaces, for example XIAOMI).
- 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).
- Turn off the vacuum cleaner, insert the flash drive through the adapter into the port on the case.
- Hold the Home button and turn on the power. Hold the 10-15 second button until the light flashes.
- 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 cleaner | Support USB-firmware | Type of port | Notes |
|---|---|---|---|
| Mi Robot Vacuum 1S | β Yes. | Micro-USB | File required vacuum_1s.pkg |
| Mi Robot Vacuum-Mop 2 Lite | β Yes. | Type-C | It only works with firmware up to version 3.5.8. |
| Mi Robot Vacuum E10 | β No. | Type-C | Only through Mi Home or ADB (with disassembly) |
| Mi Robot Vacuum-Mop P | β οΈ Partially. | Type-C | Recovery 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:
- Download the latest version from GitHub (valetudo-*.zip file).
- Unpack the archives on SD-map (for models with support) or connect to SSH (If the vacuum cleaner has already been sewn before).
- 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.
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?
β οΈ 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 Home | Incompatibility of the firmware and device region | Change your Xiaomi account region to China (Mainland) or download your local firmware manually. |
| Vacuum cleaner not visible in ADB | Lack of drivers or inactive debugging | Install the Android ADB Interface driver and activate Debug Mode on the vacuum cleaner |
| Hanging up to 99% with USB-firmware | Damaged firmware file or lack of memory | Check the checksum of the file (MD5) and format the flash drive again |
| Constant red indicator | The 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).