How to reflash the robot vacuum cleaner Xiaomi Mi Robot Vacuum Mop Cleaner

Modern cleaning systems require not only regular filter replacement and brush cleaning, but also timely software updates.Firmware is the device’s operating system that manages all navigation algorithms, suction strength and interaction with the application. Owners of Xiaomi Mi Robot Vacuum Mop Cleaner models often face situations where standard Wi-Fi upgrade methods stop working or require deeper changes to the system.

The need to interfere with the code can arise for various reasons, from the banal hanging of the robot to the desire to install a modified version of the software to expand the functionality. It is important to understand that any manipulation of firmware carries risks. Wrong actions can turn a smart device into a useless piece of plastic, so the process should be approached with maximum responsibility and attention to detail.

In this guide, we will take you through all the preparation steps, how to enter recovery mode, and the step-by-step algorithm for successful system reinstallation. You will learn how to distinguish a software failure from a hardware breakdown and what tools you will need to complete the task. The main thing is to take your time and follow the instructions clearly so that your robot vacuum cleaner will work again as new.

Diagnosis and preparation for reflashing

Before you start taking action, you need to make sure that the problem is really software. Often users try to reflash the device when it is enough just to clean the sensors or restart the system. If your Xiaomi stopped building maps, loses communication with the router or cyclically restarts, there is a high probability of damage to the firmware files.

The preparation process requires a stable power supply and a computer or smartphone with Internet access. Make sure that the robot battery is at least 60% charged, as a sudden disconnection during data recording can lead to irreversible consequences. You will also need to make sure that the Wi-Fi router operates at 2.4 GHz, since most Mi Robot Vacuum models do not support the 5 GHz standard.

⚠️ Warning: Before starting any work, be sure to disconnect the robot from the docking station and remove the battery if the design of your model allows this to be done easily.

It's often a cold reset method that is used to diagnose it. 10-15 If the robot emitted a characteristic beep and rebooted, the problem could be temporary. If the device is silent or makes intermittent errors, a deeper intervention will be required. Resetting the settings through a hidden menu can help if the system is still responding to commands.

πŸ“Š What problem are you facing?
The robot does not connect to Wi-Fi
Persistent card errors
The device is getting stuck.
I want to expand the functionality

Necessary tools and software

To do this successfully, you need a specific set of tools, without which the flashing process is impossible or extremely difficult, and first of all, it is the original charger and cable, because third-party power supplies may not produce enough current, which will lead to a failure at a critical moment.

As for the software, the main tool will be the official Mi Home app or its modified versions, such as Home Assistant for advanced users. FTP-It's a robot server that only opens in debugging mode, and it often uses scripts or utilities to work with network protocols.

  • πŸ“± Smartphone with Mi Home app installed (China version or Global, depending on the region).
  • πŸ’» Computer or laptop for downloading firmware files and monitoring logs.
  • πŸ”§ Thin screwdriver or plastic blade for neat opening of the case (if physical access is required).
  • πŸ“Ά Stable Internet connection for downloading current versions of the software.

It is important to download the current firmware file from trusted sources in advance. Using corrupted or modified files from unverified sources can lead to a device "bricking." Official files usually have the.pkg or.bin extension and weigh between 30 and 100 MB depending on the model.

πŸ’‘

Use a separate Wi-Fi router or guest network to avoid conflicts IP-Provide a stable connection throughout the process.

How to enter the recovery mode (Recovery Mode)

Most Xiaomi Robot Vacuum models have a hidden recovery mode similar to Recovery on smartphones, which allows you to bypass the standard boot and start the update process manually. There are several button combinations depending on the specific revision of the board and the version of the device.

The first and most common method is to hold the Home and Local Clean buttons simultaneously until the Wi-Fi light flashes orange and the voice module utters a phrase in English or Chinese indicating the entry to the Update mode, and some models, such as the Mi Robot Vacuum Mop Essential, require only one switch to be turned on for a long time (more than 20 seconds).

If the button combinations don't work, you can try the power interrupt method. Turn on the robot, wait for the boot to start, and abruptly turn it off with the power button. Repeat the procedure 3-4 times in a row. After that, the system can automatically go into diagnostic mode. This does not work on all versions, but often helps to activate debugging mode.

⚠️ Warning: Do not leave the robot unattended in recovery mode for a long time. The battery may run out, which will interrupt the recording process and damage the boot sector.

For models with a screen or complex display, entering mode may be accompanied by a special logo (for example, an android with a gear or a flashing Mi logo), in which the device creates its own Wi-Fi network, which you need to connect to from your phone to transfer files.

Step-by-step instructions for installing firmware

Once you've entered recovery mode and prepared all the files, the main step begins. The process may differ depending on whether you're using an official cloud update or manually installing a local file. Consider the manual installation option, as it's most often required for problems.

First, you need to put the firmware file in the root directory of the robot's internal memory, and then connect to a Wi-Fi network created by a vacuum cleaner (usually called "roborock-vacuum-xxxx" or). FTP-client on your computer or use the file manager on Android. Copy the file miio.pkg (or similar name) in a folder /data/ota/.

adb push miio.pkg /data/ota/


adb shell reboot_ota

Once you copy the file, you need to initiate the update process, and you can do this through console commands, if you have access to ADB, or through a special menu in the application. If you use the button method, after you put the file in memory and reboot, the robot will find the new file and start the process. The status indicator will start flashing, showing the progress.

β˜‘οΈ Checklist before the start of the firmware

Done: 0 / 4

It's important to keep the process going. At this time, the robot can make noise, move its brushes, or make strange noises -- that's okay, it's calibrating components to the new version of the software. Once the installation is complete, the device will automatically restart. The first boot can take up to 5-10 minutes.

What if the progress is 99% frozen?
If the light is constantly on and does not blink for more than 30 minutes, there may be a recording failure. Try to force the robot to turn off (press the power button for 15 seconds) and repeat the procedure again. If the problem recurs, it may be that the firmware file is damaged or incompatible with the iron version.

Comparison of Upgrade Methods: OTA and Manual Installation

Users often wonder which way to choose. Automatic Over The Air (OTA) is preferred for most cases, as it is secure and verified by the manufacturer's servers. However, manual installation gives more control and allows you to roll back on the previous version or install custom software.

Below is a table comparing the main characteristics of both methods to help you make the right choice depending on your situation and level of technical training.

ParameterOTA (Automatically)Hand-mounted
Risk of failureLow.Medium/High
DifficultyMinimumRequires skills
Possibility of rollbackImpossible.Maybe.
Network requirementsStable InternetLocal area network/FTP

In the case of OTA-If the server is overloaded or there are problems connecting to Chinese servers in your region, the upgrade may not start.

The manual method also allows for the installation of modified firmware, such as Valetudo, which allows you to control a robot without cloud services and China, which increases data security and device independence, but deprives of warranty and requires deep knowledge of Linux.

Possible errors and ways to eliminate them

Even with strict adherence to the instructions, there can be unexpected situations. One of the most common problems is the Update failed error or endless reboot. This often indicates that the firmware file does not match the hardware revision of the board. Different batches of the same model may have different Wi-Fi modules or sensors.

If the robot writes an error and does not boot, try to perform a full reset (Hard Reset). for this purpose, there are special contacts on the device board (opening is required), which you need to close when you turn on, or use a button combination specific to your model (for example, pressing all buttons simultaneously for 30 seconds).

  • πŸ”„ Mistake 4: Problem with the main brush - check if the hair is wound on the shaft.
  • πŸ“‘ Error 11: Failure of the drop sensor - wipe the sensors on the bottom.
  • πŸ”‹ Error 13: Battery problem – battery replacement may be required.

In case the robot has turned into a β€œbrick” and does not respond to any commands, a programmer may be required to solder the memory chip or connect via a computer. UART-This is a level of professional repair, requiring soldering equipment and knowledge of electronics.

⚠️ Warning: Opening the case and breaking the seals automatically voids the manufacturer's warranty. If the device is warranty, it is better to contact an authorized service center.

πŸ’‘

The success of a firmware flash is 90% dependent on the quality of the firmware file and the power stability of the upgrade process.

Frequently Asked Questions (FAQ)

Can you reflash the global version to the Chinese version and vice versa?
Technically, it's possible, but it's not recommended. Regional versions have different Wi-Fi frequencies and voice packet settings. Changing the region can cause the communication module to fail or the device to be locked by the server. To change the region, you'd better use a change of account in the Mi Home app rather than flashing it.
How long does the reflashing process take?
It usually takes 5 to 15 minutes, but if the robot does sensor calibration or memory defragmentation after the upgrade, the total time to complete readiness can be up to 30 minutes.
Will the saved cards disappear after flashing?
In most cases, yes, the room map will be removed. The system perceives the new firmware as a clean installation. In advance, take screenshots of zoning or virtual walls if they are complex, so that you can recreate them manually.
What if the robot writes "Please install MI Home app" after the firmware?
This means that the anchor region has reset or the app version is incompatible. Try removing the device from the list in the Mi Home app ("Remove" or "Unbind" button), then reset the Wi-Fi on the robot itself (press two buttons) and add it again as a new device.