The Xiaomi Mi Robot Vacuum Mop (including the 1C, 1T, 2 Lite and Pro models) requires regular firmware updates to fix bugs, improve navigation and add new features. However, the standard update through the Mi Home app is not always available β especially for devices with regional restrictions or after rooting. In this article, we will discuss all the current ways of flashing, from official to alternative, including recovery from unsuccessful updates.
It is important to understand that firmware robot vacuum cleaner is not the same as updating a smartphone. there is no Recovery Mode, and an error can lead to a complete loss of operation of the device without the possibility of recovery through standard methods. So before starting the procedure, check the compatibility of the firmware file with your model (the number is indicated on the sticker under the cover) and prepare backup tools.
1. Preparation for flashing: what you need to know before you start
Before you start the upgrade, make sure your Xiaomi Mi Robot Vacuum Mop complies with the following requirements:
- π Battery charge at least 50%. Better connect the device to the docking station while the firmware is running.
- πΆ Stable Wi-Fi connection (for official update) File download speed from 5 Mbps.
- π± Up-to-date version of the Mi Home app (not below) 6.5.4 for Android/iOS).
- π οΈ Backup of settings (if you plan to custom firmware) Save cleaning cards and schedules.
Pay special attention to the firmware version. You can find out about it:
- In the Mi Home app: Device profile β Settings β Device information.
- Voice Assistant: Say, βWhat is my version number?β
- On the case: Under the cover is the Model No. (e.g., STYJ02YM for Mi Robot Vacuum-Mop 2 Lite).
β οΈ Note: Mi Robot Vacuum-Mop models 1T 2 Pros are incompatible, and installing an inappropriate file will cause an error. ERROR 12 (impossibility of system loading).
2. Official Update via Mi Home: The Safest Method
If your vacuum cleaner is connected to the Mi Home app and has no regional restrictions, use the built-in update mechanism, which is recommended by Xiaomi and minimizes risks.
Instructions:
- Open Mi Home and select your robot vacuum cleaner.
- Go to Settings β Update firmware.
- If a new version is available, click Update and confirm the action.
- Wait for the process to be completed (10-20 minutes) and the robot will restart automatically.
What to do if the Update button is inactive?
- π Check your account region in Mi Home. for Russia, for Europe, choose Europe".
- π Reconnect the device: Settings β Remove the device, then add again.
- π‘ Switch to another Wi-Fi network (e.g., from 5 GHz to 2.4 GHz).
π‘
If the update is stuck in Preparation, restart the robot vacuum cleaner, holding the power button for 10 seconds.
Manual update via USB: for power users
If the official method does not work (for example, due to regional restrictions), you can install the firmware manually through the USB-This is a suitable method for Mi Robot Vacuum-Mop models. 1C/1T/2 Lite, but requires strict adherence to the instructions.
Required files and tools:
- πΎ Firmware file in.pkg format (download only from official sources, for example, miuirom.org).
- π½ USB-flash-drive FAT32 (32 GB maximum, no other files).
- π adapter OTG (plug-in).
Step-by-step:
- Download the firmware and rename the file to mirobo.pkg.
- Copy it on an empty flash drive (in the root catalog).
- Connect the flash drive to the robot through OTG-adapter (connector is under the cover, next to the reset button).
- Hold the power button for 5 seconds until you hear the beep.
- The update will start automatically (the indicator will flash yellow).
β οΈ Note: If the robot makes a mistake ERROR 4, so the firmware file is corrupted or not suitable for your model (MD5) file.
βοΈ Preparation USB-flash-drive
4. Alternative methods: Token-hacking and custom firmware
For users who want advanced features (such as integration with Home Assistant or removing regional restrictions), there are informal ways to firmware: they require a Token device and use third-party tools.
The most popular tools are:
- π§ Valetudo β open firmware for robot vacuum cleaners Xiaomi, allowing you to control the device without the cloud Xiaomi.
- π§ DustBuilder β utility for creating custom firmware with support for new maps and cleaning zones.
- π§ MiHome Hack β a script to get Token without physical hacking.
How do you get a Token?
- Install Packet Capture on your smartphone (Android).
- Start capturing traffic and connect to the robot via Mi Home.
- Find a request with token= (32-digit code) in the logs.
Risks of custom firmware
Example of a firmware command via Valetudo (required) SSH-access):
ssh root@192.168.x.x
cd /tmp
wget https://example.com/valetudo.zip
unzip valetudo.zip
./install.sh5.Recovery after a failed firmware
If the Xiaomi Mi Robot Vacuum Mop has stopped turning on after the update (a red indicator is on or emits repeated beeps), try the following recovery methods:
| Symptoms. | Possible cause | Decision |
|---|---|---|
| Red indicator, no response to buttons | Loader damaged. | Swipe through UART (sweatering required) |
| Yellow indicator flashes 3 times | File checksum error | Repeat the firmware from another flash drive |
| A beeping "dee-li" every 5 seconds | Incompatible version of the firmware | Return the original firmware via USB |
| The robot is switched on but not connected to Wi-Fi | Resetting network settings | Hold Wi-Fi + Spot for 10 seconds |
To recover through UART, you will need:
- π¬ soldering iron and solder (to connect to contacts on the board).
- π₯οΈ USB-TTL adapter (e.g, CP2102).
- π» Tera Term or Putty for sending commands.
Commands for loader recovery:
setenv bootcmd "run boot_mi"
saveenv
resetβ οΈ Attention: Pike UART If you're not sure, you can get the motherboard damaged if you're not sure, you can call the service center.
π‘
If the robot does not respond to the buttons, but the indicator is on, try resetting to the factory settings: hold the power button and the Spot button at the same time for 15 seconds.
6. Frequent errors and their solutions
Even if you follow the instructions correctly, you can get errors.
- π΄ Error 12 is incompatible firmware. Check the device model and download the correct file.
- π‘ Error 4: corrupted file. Upload the firmware and check. MD5-sum.
- π΅ Error 7: Low battery power. Connect the robot to the docking station for 1 hour.
- βͺ Error 1 - Failure of communication with the Xiaomi server. Check the Internet connection.
If the robot produces a 12 error after firmware, but switches on:
- Reset settings: Settings β Reset to factory.
- Fly the device through USB with the correct file.
- If the error persists, return the original firmware.
For Error 4 (damaged file):
- Format the flash drive in FAT32 (not exFAT!).
- Use another one. USB-drive (some models do not read flash drives larger than 16 GB).
- Check the file name: it should be mirobo.pkg (no spaces!).
7. Where to download firmware and how to verify their authenticity
The official firmware for Xiaomi Mi Robot Vacuum Mop can be downloaded from the following sources:
- π Xiaomi official website (support section for your model).
- π¦ Forum 4PDA (Specific topics for specific models, for example, here).
- π GitHub (Valetudo or DustBuilder repositories).
How to verify the authenticity of the file?
- Compare the MD5-sum of the downloaded file with the original (as indicated on the source website).
- Use antivirus to check for malware.
- Check the extension: the correct file should be.pkg, not.exe or.zip.
Example of MD5 check in Windows:
certutil -hashfile mirobo.pkg MD5For Linux/Mac:
md5 mirobo.pkgβ οΈ Warning: Never download firmware from torrent trackers or unknown sites! in 2023, cases of infection of Xiaomi robot vacuum cleaners with viruses through fake firmware files were recorded.