Reflashing of the robot vacuum cleaner Xiaomi Vacuum Mop (including models) STYJ02YM, SDJQR02RR And others, a procedure that can solve navigation problems, add new features, or even unlock hidden features of the device, but the wrong actions lead to a "brick" gadget when it stops responding to commands. In this article, we will analyze all the current ways to update firmware - from official to custom, and also tell you how to restore the vacuum cleaner if something goes wrong.
It is important to understand: firmware for Xiaomi Vacuum Mop is different from firmware for the Mi Robot Vacuum line (for example, the companyware for the Xiaomi Vacuum Mop line, S50 or S6). Using incompatible software is guaranteed to bring the device down. We will focus on models that support hybrid cleaning. + If your model is older, check compatibility at the end of the article.
Before you start, answer two questions: why do you need firmware (bug fix, new features, localization) and whether you are ready for the potential risks. Official updates through Mi Home are usually safe, but manual intervention requires experience. If in doubt, you should contact Xiaomi service center.
1. When you need flashing: signs and causes
Not every problem with a robot vacuum cleaner is solved by software updates, but here are specific cases where firmware can help:
- π The vacuum cleaner gets stuck in the charging cycle (charged for 5 minutes, then discharged immediately) β this is often due to power errors fixed in newer versions of firmware.
- πΊοΈ Does not build a map of the room or lose orientation - it is important for models with LiDAR sensor (for example, Xiaomi Vacuum-Mop 2 Pro).
- π± Mi Home app shows Device offline error, though vacuum cleaner is on and connected to Wi-Fi.
- π Continuously beeping with error 12 (problem with sensors) or other codes not described in the documentation.
- π Localization of voice prompts in Russian is necessary (in some firmware they are only in Chinese / English).
On the other hand, firmware will not help if:
- π The battery is swelling or does not hold the charge (physical wear and tear).
- π οΈ Broken mechanical parts (brushes, wheels, pump).
- π‘ Problems with Wi-Fi module (for example, does not catch a 5 GHz network).
β οΈ Note: If your vacuum cleaner is purchased on AliExpress or other sites as a "global version", but has Chinese firmware (CN in the model number), refashioning on EU/RU version can block access to Xiaomi servers. Check regional binding in Settings β About the device.
Before you start, make sure to write down the current firmware version.
- Open the Mi Home app.
- Go to the Device Profile β Settings β On software.
- Find the firmware version string (for example, 3.5.8_0042).
2. Official Update via Mi Home: The Safest Way
If your goal is to just upgrade to the latest version, start with the official method, which is non-manual and minimally risky.
- Connect the vacuum cleaner to Wi-Fi (only 2.4 GHz!) Make sure the signal is stable - a connection break during the upgrade will cause a failure.
- Open Mi Home, select your Vacuum Mop and go to Settings β Firmware update.
- If the update is available, click Update.The vacuum cleaner will restart and install the new version automatically.
The process takes 5-15 minutes.
- π« Don't turn the vacuum cleaner off the socket.
- πΆ Donβt reconnect it to another Wi-Fi network.
- π Do not press the buttons on the body.
If the update is not available, the following reasons are possible:
| Problem. | Decision |
|---|---|
| The device is tied to the Chinese region (CN) | Change the region in Mi Home to Russia or Europe (requires device re-tethering). |
| Old version of the Mi Home app | Update the app on Google Play/App Store. |
| The vacuum cleaner is not connected to the Internet | Check the router settings: disable the device lock, check DHCP. |
| Xiaomi servers are temporarily unavailable | Wait a few hours and try again. |
β οΈ Note: After the official update, some custom settings (for example, modified suction rates via Valetudo) may reset. If you used alternative software, make a backup configuration.
π‘
Official updates through Mi Home are tested by Xiaomi, but may lag behind the current versions by 1-3 months.
Manual update via USB: for power users
If the official method doesnβt work or you need a specific firmware version (e.g. rollback to stable build), you can update manually via the USB-This method is suitable for models Xiaomi Vacuum Mop 2 Pro, Xiaomi Mijia 1C Others with Local Update Support.
What you need:
- πΎ USB-flash-drive FAT32 (maximum 32 GB, preferably 8-16 GB).
- π Firmware file with.pkg extension (download only from verified sources!).
- π Charging device (vacuum cleaner must be 100% charged).
Step-by-step:
- Download the firmware for your model from the official Xiaomi website or forums like XDA The file name must contain the model number (e.g, vacuum_mop_2_pro_3.5.9_0045.pkg).
- Format the flash drive into FAT32 (use SD Formatter for reliability).
- Copy the.pkg file to the root of the flash drive (not to the folder!). You can't rename the file.
- Turn off the vacuum cleaner, insert the flash drive into the USB-Type A port (usually hidden under the lid next to the power button).
- Press the Energize button for 5 seconds until you hear the beep. Release it, the update will start.
- Wait until the indicator is finished (the indicator will flash orange, then light up green).
Download the firmware for your model|Check the format of the flash drive (FAT32)|Charge the vacuum cleaner to 100%|Find the port USB case|Prepare for a 15-minute wait-->
If the process is stalled:
- π Wait 20 minutes β sometimes the update takes longer than usual.
- π If the indicator does not change, remove the flash drive, turn off the vacuum cleaner and try again.
- π₯ If the error repeats, download the firmware again (possibly the file is corrupted).
β οΈ Note: Some firmware for Xiaomi Vacuum Mop contains regional restrictions (CN) They can block access to servers when installed on "global" devices.
Where to find firmware for Xiaomi Vacuum Mop?
4. Alternative firmware: Valetudo and other custom solutions
For advanced users who want full control of the vacuum cleaner, there are alternative firmware like Valetudo or Dustcloud that allow you to:
- π Manage a vacuum cleaner without Xiaomi cloud (locally via Wi-Fi).
- π§ Adjust suction speed, water supply, cleaning areas with greater flexibility.
- π‘οΈ Disable telemetry collection (if you are concerned about privacy).
- π Integrate vacuum cleaner with Home Assistant, Node-RED and other smart home systems.
There are, however, downsides:
- β οΈ Loss of warranty (Xiaomi does not support custom firmware).
- π§ You need to have Linux skills and SSH.
- π‘ Some functions (such as voice assistant) may stop working.
How to install Valetudo:
- Get root-access to the vacuum cleaner through the exploit (instructions are available on the [GitHub Valetudo](https://github.com/Hypfer/Valetudo)).
- Connect to the vacuum cleaner SSH (usually IP-address can be found on the router).
- Run the command to install: wget -qO- https://install.valetudo.cloud | sh
- After installation, open the Valetudo web interface at the address http://[IP_vacuumer].
Example configuration for Xiaomi Vacuum Mop 2 Pro in Valetudo:
{
"embedded": true,
"map": {
"drawPath": true,
"drawCharger": true
},
"mqtt": {
"enabled": true,
"identifier": "xiaomi_vacuum_mop",
"broker_url": "mqtt://192.168.1.100"
}
}β οΈ Warning: After Valetudo is installed, the Mi Home app will stop working with the vacuum cleaner! USB-Recoil (instructions in the next section).
π‘
Before installing Valetudo, make a dump of the original firmware command dd if=/dev/mtdblockX of=/tmp/firmware_backup.bin (Replace the X with an actual unit, which will help restore the vacuum cleaner if something goes wrong.
5.Recovery after a failed firmware: what to do if the vacuum cleaner "bricked"
If the vacuum cleaner doesn't turn on after the upgrade, flashes red constantly, or squeaks continuously, it's likely that the firmware has failed. Here's a step-by-step recovery plan:
Symptom 1: The vacuum cleaner does not respond to buttons, the indicator does not burn.
- π Connect the vacuum cleaner to charging for 30 minutes - sometimes a problem in a discharged battery.
- π Press the power button for 10-15 seconds (hard reset).
- πΎ Repeat the firmware through USB Guaranteed working file (download from the official website).
Symptom 2: The orange indicator is constantly flashing.
- This means a bootloader error. Try flashing a special restored version (look for files marked recovery or unbrick).
- If it does not help, you will need to solder the flash memory (only in the service center).
Symptom 3: The vacuum cleaner is turned on but not connected to Wi-Fi.
- Reset the network settings: Click the Include + Home for 5 seconds.
- If it doesnβt work, run the Wi-Fi module separately (instructions are available on the Wi-Fi module). 4PDA).
In the extreme case, you can take advantage of JTAG-It's a software programr, but it requires soldering skills. It's cheaper for most users to go to the service.
π‘
If the vacuum cleaner does not respond to the discharge, do not try to disassemble it yourself - there is a high risk of damaging the LiDAR sensor or control board.
6. firmware compatibility: how not to go wrong with the version
One of the biggest risks of flashing is installing incompatible software, and here's how to avoid errors:
| Model vacuum cleaner | Suitable firmware | Incompatible firmware |
|---|---|---|
| Xiaomi Vacuum Mop 2 Pro (STYJ02YM) | 3.5.8_XXXX, 3.5.9_XXXX | 1.XX.XX_XXXX (For the Mi Robot Vacuum 1S) |
| Xiaomi Mijia 1C (SDJQR02RR) | 2.1.5_XXXX, 2.2.0_XXXX | 3.5.X_XXXX (for models with LiDAR) |
| Xiaomi Vacuum Mop Essential (STYJ01ZHM) | 1.8.5_XXXX, 1.9.0_XXXX | 2.X.X_XXXX (pro-version) |
How to check compatibility:
- Find the exact model name on the sticker under the vacuum cleaner (for example, STYJ02YM).
- Check the table above or on the manufacturerβs website.
- If the firmware is marked as CN (China, and your model EU/RU, It might not fit.
Critical information: LiDAR (laser sensor) vacuum cleaner firmware is incompatible with camera or gyroscope models, even if they look the same on the outside!
7. Frequent mistakes and how to avoid them
User experience shows that most of the problems with flashing arise from negligence or ignorance of nuances.-5 Mistakes and ways to prevent them:
- π Interrupt power during upgrades. Always use the original charger and do not pull the cord out, even if the process takes longer than 20 minutes.
- πΎ The format of the flash drive is wrong. FAT32, partitionless. NTFS or exFAT won't work.
- π A damaged firmware file. Always check check the checksums (MD5) downloaded.
- π The region's inconsistency (CN) Can block access to servers on global devices.
- π§ No backup. Save your current settings before any manipulations (especially if you use Valetudo).
If you do encounter an error, here are the fault codes and their meaning:
- Error 1 is a problem with the collision sensor.
- Error 2 is the sliding of the main brush.
- Error 12: LiDAR sensor failure (often solved by flashing).
- Error 15: Battery malfunction.