How to update the firmware of the robot vacuum cleaner Xiaomi: official and informal ways

Xiaomi’s robot vacuum cleaners are some of the most popular smart cleaning devices, but their functionality is directly dependent on the relevance of the software. Updating the firmware can add new cleaning modes, improve navigation, fix bugs or even unlock hidden features. However, the firmware process often raises questions: how not to turn the device into a β€œbrick”, which versions are compatible with your model, and whether to risk unofficial builds?

In this article, we will discuss all the current ways to update the firmware for Xiaomi robot vacuum cleaners (including Mi Robot Vacuum, Viomi, Dreame and others), from official methods through the Mi Home app to manual stitching through the mobile phone. ADB or SSH. Special attention will be paid to the critical nuances that the manufacturer is silent: how to check the integrity of the firmware file, what to do if the update failed error, and why some models lose support for the Russian language after the update.

1.Why update the firmware of Xiaomi robot vacuum cleaner?

The firmware (or firmware) is your vacuum cleaner's brain, which is responsible for sensor logic, navigation algorithms, and interaction with the application. The manufacturer regularly releases updates, but not all users install them.

  • πŸ”„ Fix bugs: for example, fix vacuum cleaner getting stuck in corners or mapping errors.
  • πŸ—ΊοΈ Improve navigation: new algorithms help the device better navigate complex interiors (many rooms, mirrors, carpets with high pile).
  • πŸ”‹ Optimize energy consumption: increase battery life by 10-15%.
  • πŸ”“ Add new features: support for cleaning areas, voice control via Alice or Google Assistant, integration with Apple HomeKit.

However, not all updates are equally useful, such as after an update to the version. 3.5.8_003024 Many users of the Xiaomi Mi Robot Vacuum-Mop 2 Lite faced the problem of constantly restarting the device. In such cases, you have to roll back on the previous firmware or wait for a patch.

⚠️ Note: Updating the firmware on a modified software model (such as one with Valetudo installed) may result in the device being blocked.Before updating, check compatibility in the Valetudo community on GitHub.

πŸ“Š What model of Xiaomi robot vacuum cleaner you use?
Mi Robot Vacuum-Mop 2 Pro
Viomi V3
Dreame D9
Xiaomi Mi Robot Vacuum 1S
Another model

2. Official ways to update firmware

The safest method is to upgrade through the Mi Home app (or Xiaomi Home for new models), which is automated and the risk of bricking is minimal, but it has limitations:

  • πŸ“± Requires a stable connection to Wi-Fi (vacuum cleaner and smartphone must be on the same network).
  • πŸ”„ Update can take 10 to 40 minutes – you can not interrupt the process.
  • 🚫 Some regions receive updates later (for example, European firmware often comes 1-2 months later than Chinese ones).

Step-by-step:

  1. Open the Mi Home app and select your vacuum cleaner.
  2. Go to Settings β†’ General β†’ Update firmware.
  3. If a new version is available, click Update and confirm the action.
  4. Wait for the process to be completed (the vacuum cleaner will emit an audible signal).

If the update button is inactive, check:

  • πŸ”Œ Battery charge (must be at least 50%)
  • πŸ“Ά Wi-Fi signal quality (vacuum cleaner should not lose communication with router).
  • πŸ“± Mi Home version (update it to the App Store or Google Play).

β˜‘οΈ Preparations for formal renewal

Done: 0 / 4
Model vacuum cleanerThe last official firmware (as of May 2026)Features of the update
Xiaomi Mi Robot Vacuum-Mop 2 Pro3.6.1_004128Support for multi-card saves, improved work with carpets
Viomi V32.7.5_002011Laser sensor errors fixed, Quiet Night mode added
Dreame D94.2.3_003345Improved navigation in dark rooms
Xiaomi Mi Robot Vacuum 1S3.3.9_001230Latest firmware for this model (no further updates planned)

3. Manual update via firmware file

If the official update is not available (for example, for regional versions of the vacuum cleaner) or you want to install a beta version, you can manually flash the device, which requires more effort, but gives access to unreleased features or fixes.

Important: Manual update resets all vacuum cleaner settings (room maps, cleaning schedules). Before you start, export the maps through Mi Home or take screenshots.

Instructions:

  1. Download the firmware file (.pkg) for your model from the official Xiaomi website or a trusted source (e.g., a source, XDA Developers).
  2. Rename the file to miio_Update.pkg (register!).
  3. Copy the file to the root directory of the empty microSD card (FAT32).
  4. Insert the card into the vacuum cleaner (the connector is usually under the cover next to the power button).
  5. Press the Reset (or Home) button for 5-10 seconds until you hear the beep.
  6. The update will start automatically (the indicator will flash yellow).

⚠️ Note: Firmware files for Xiaomi and Viomi models are not interchangeable. Installing the wrong firmware will cause the bootloader to break and require repair at the service center.

Where to download the firmware for rare models?
For models not officially supported in your region (e.g. Xiaomi) STYJ02YM For China, firmware files can be found on forums: - 4PDA (section "Robot vacuum cleaners") - GitHub repository mirobo - Telegram chat Xiaomi Robot Vacuum Pay attention to the release date of the file - outdated firmware may contain vulnerabilities.

If the vacuum cleaner does not turn on after the update or emits an Error 12 error, try:

  • πŸ”„ Restart the device (click the power button for 20 seconds).
  • πŸ“ Reflash from another microSD card (sometimes a problem in the card file system).
  • πŸ”§ Reset the settings to factory (Reset button) + feeding).

4. Alternative firmware: Valetudo and others

For advanced users who lack standard functionality, there are custom firmware, the most popular is Valetudo, which allows:

  • 🌐 Manage a vacuum cleaner without Xiaomi cloud (local control).
  • πŸ—ΊοΈ Export room maps in.svg or.png format.
  • πŸ”§ Configure hidden parameters (fan speed, sensor sensitivity).
  • 🚫 Block data from China (for forced cloud-based models).

Installation Valetudo requires unlocking the bootloader and access to the SSH. The process is more complex than an official update, and is only suitable for chip-based models. MT7688 (For example, Xiaomi Mi Robot Vacuum 1S viomi V2).

Instructions:

  1. Get root access through a vulnerability in the firmware (instructions are available on valetudo.cloud).
  2. Connect to the vacuum cleaner SSH (IP-address can be found on the router).
  3. Run the command to install Valetudo: wget -O - https://install.valetudo.cloud | bash
  4. After rebooting, the vacuum cleaner will be available at the address http://[IP-vacuumer].

⚠️ Note: Valetudo installation violates Xiaomi warranty terms, and after updating the official firmware custom build will be erased.

dd if=/dev/mtdblock0 of=/tmp/full_backup.bin

This file will help to restore the vacuum cleaner in case of failure.-->

5 Frequent firmware errors and their solutions

Even when following the instructions, users face problems, and let's look at the most common mistakes and how to fix them:

Mistake.Reason.Decision
Update failed (Error 1)Inappropriate firmware for the modelDownload the correct version from the official website
Error 12 (Bootloop)Interrupted update or corrupted fileRepeat the firmware from another microSD card
The vacuum cleaner doesn't respond to the buttonsFailure of the loader after unofficial firmwareRestore through UART (soldering iron)
Wi-Fi Disconnected During UpdateWeak router signalConnect the vacuum cleaner to the 5 GHz network or close to the router

If the vacuum cleaner after a failed firmware does not turn on or is constantly rebooted, try emergency recovery:

  1. Download the full firmware package (not an incremental update).
  2. Rename him in miio_Update.pkg And put it on a microSD.
  3. Press the Reset button and connect the vacuum cleaner to the charging.
  4. Hold the button for 15-20 seconds until the recovery process begins (the indicator flashes red).

If nothing helps, contact the Xiaomi service center. In some cases (for example, if the bootloader is damaged), you need to solder the memory chip.

πŸ’‘

Before contacting the service center, remove any trace of unofficial firmware (for example, Valetudo). Otherwise, warranty repairs will be denied.

6. How to check firmware version and compatibility

Before you update your firmware, make sure the new version is suitable for your model. You can check the current firmware in several ways:

  • πŸ“± Through the Mi Home app: Open the vacuum cleaner card. Go to Settings β†’ About the device. Find the firmware version string (e.g, 3.5.8_003024).
  • πŸ–₯️ Through the web interface (for Valetudo): Connect to the vacuum cleaner IP-In the System section, find the Firmware version.
  • πŸ”§ Through voice assistant: Say, "Alice, ask the vacuum cleaner for the firmware version." The vacuum cleaner will voice the current version (not working on all models).

To check the compatibility of the new firmware:

  1. Compare the model number of your vacuum cleaner (written on the sticker under the lid) with those supported in the release.
  2. Check the region of the device (Chinese, European and global versions may have different firmware).
  3. Check out the reviews on the forums (for example, on the 4PDA) β€” Sometimes new firmware contains critical bugs.

Example of decryption of the firmware version 3.5.8_003024:

  • 3.5.8 - The main version of the software.
  • 003024 is a building number (the higher the newer).

7 Risks and Consequences of Informal Firmware

Custom firmware like Valetudo or modified versions from third-party developers open up new possibilities, but have serious drawbacks:

  • ⚠️ Loss of warranty: Xiaomi refuses repairs when traces of hacking are detected.
  • πŸ”’ Security vulnerabilities: Some firmware contains backdoors or data leaks.
  • πŸ”„ Unstable operation: Accidental reboots, navigation errors, or loss of communication with the application are possible.
  • πŸ“΅ Absence OTA-Updates: You will have to manually monitor the release of new versions.

If you still decide to install custom firmware, follow the safety rules:

  • πŸ” Download files only from trusted sources (official repositories, forums with good reputations).
  • πŸ” Check check the checksums (MD5 or SHA-256) downloaded.
  • πŸ“‘ Use a separate network for the devices you are using (to avoid data leakage).
  • πŸ“‘ Keep a log of actions (which commands were executed, which files were installed) – this will help to roll back when the failure occurs.

After installing an informal firmware, some functions may not work correctly. For example, on Xiaomi Mi Robot Vacuum-Mop P with Valetudo, the humidity sensor sometimes fails, which causes the floor washing mode to turn on chaoticly.

8. rolling back firmware to the previous version

If the new firmware is unstable, it can be rolled back, but not all models support the downgrade, like the vacuum cleaners on the Realtek chip. RTL8197 (For example, Xiaomi Mi Robot Vacuum 1 allows you to roll back, and the devices on the device MT7688 (for example, Viomi V3) β€” no.

Instructions for rollback:

  1. Download the desired firmware version (for example, with GitHub).
  2. Rename the file to miio_Downgrade.pkg.
  3. Place it on a microSD and insert it into the vacuum cleaner.
  4. Press the Reset button for 10 seconds and the rollback process will begin.

⚠️ Warning: A rollback to a version older than 3.3.9 on Xiaomi Mi Robot Vacuum-Mop 2 models could result in loss of support for multi-card saves.Before downgrad export maps!

If you fail to pull back, try:

  • πŸ”„ Use full firmware (not an incremental update).
  • πŸ“ Formatting a microSD in FAT32 cluster size of 4096 bytes.
  • πŸ”§ Squeeze through UART (soldering).

πŸ’‘

For example, after a downgrade from 3.6.1 to 3.5.8, the calibration of the sensors may reset, so the vacuum cleaner will be less able to navigate in space.

FAQ: Frequent questions about the firmware of robot vacuum cleaners Xiaomi

Can I sew the Chinese version of the vacuum cleaner on a global firmware?
Technically yes, but there are nuances: Some Chinese models (e.g. Xiaomi) STYTJ01ZHM) They have hardware limitations and do not support global firmware, and once they are firmware, support for Chinese servers (such as voice control in Chinese) may disappear, and the bootloader must be unlocked to change the region, which cancels the warranty. We recommend checking compatibility on forums before experimenting.
The vacuum cleaner doesn't see the firmware file on the microSD. What do you do?
The problem is usually related to: The wrong file name (should be the file name) miio_Update.pkg Inappropriate file system of the card (only FAT32). A damaged microSD connector in the vacuum cleaner (try another card) and make sure the file is completely downloaded (compare the size with the one listed on the site).
How to bring a vacuum cleaner back to life after a failed firmware?
If the vacuum cleaner doesn't turn on or flashes red, try: Hard reset: press the power button for 30 seconds. UART: Get in touch. TX, RX, GND Use Tera Term or Putty to download the firmware. Call the service: if you can not restore yourself, you will need to flash it through the programr. The cost of repair in Xiaomi service is from 3,000 to 8,000 rubles (depending on the model).
Can I use a vacuum cleaner without the Mi Home app?
Yes, there are several alternative ways: through microSD (described above). ADB (for debugging-enabled models. Telnet/SSH (But without Mi Home, you can't: Get OTA-Update: Control the vacuum cleaner through the cloud (locally only).
What Xiaomi models can not be stitched independently?
Be wary: Xiaomi Mi Robot Vacuum-Mop 2 Ultra - has downgrade protection.Viomi V3 Max -- locks down the unofficial firmware at the hardware level. All models with a Realtek chip. RTL8710BN β€” High risk of damage to the bootloader. For these devices, we recommend using only official updates via Mi Home.