How to reflash the robot vacuum cleaner Xiaomi Vacuum Mop: official and informal ways

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.

  1. Open the Mi Home app.
  2. Go to the Device Profile β†’ Settings β†’ On software.
  3. Find the firmware version string (for example, 3.5.8_0042).
πŸ“Š Why you want to re-flash Xiaomi Vacuum Mop?
Correcting errors in work
Add new functions
Localize the interface
Recovery after failure
Experiment

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.

  1. 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.
  2. Open Mi Home, select your Vacuum Mop and go to Settings β†’ Firmware update.
  3. 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 appUpdate the app on Google Play/App Store.
The vacuum cleaner is not connected to the InternetCheck the router settings: disable the device lock, check DHCP.
Xiaomi servers are temporarily unavailableWait 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:

  1. 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).
  2. Format the flash drive into FAT32 (use SD Formatter for reliability).
  3. Copy the.pkg file to the root of the flash drive (not to the folder!). You can't rename the file.
  4. 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).
  5. Press the Energize button for 5 seconds until you hear the beep. Release it, the update will start.
  6. 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?
Official Firmware: [Xiaomi Home Website](https://home.mi.com/) (Support" section. - Mi Home app (Updates tab) - Unofficial sources (at your own risk and risk!): - [XDA Developers](https://forum.xda-developers.com/) (Look for themes by model). - [4PDA](https://4pda.to/) (section β€œRobot vacuum cleaners"). - [GitHub](https://github.com/) (Repositories with modified firmware, for example, for Valetudo). ⚠️ Check before downloading: 1. Match of model (e.g, STYJ02YM β‰  SDJQR02RR). 2. Firmware version (new ones are not always more stable than old ones!). 3. Reviews of other users about a particular build.

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:

  1. Get root-access to the vacuum cleaner through the exploit (instructions are available on the [GitHub Valetudo](https://github.com/Hypfer/Valetudo)).
  2. Connect to the vacuum cleaner SSH (usually IP-address can be found on the router).
  3. Run the command to install: wget -qO- https://install.valetudo.cloud | sh
  4. 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 cleanerSuitable firmwareIncompatible firmware
Xiaomi Vacuum Mop 2 Pro (STYJ02YM)3.5.8_XXXX, 3.5.9_XXXX1.XX.XX_XXXX (For the Mi Robot Vacuum 1S)
Xiaomi Mijia 1C (SDJQR02RR)2.1.5_XXXX, 2.2.0_XXXX3.5.X_XXXX (for models with LiDAR)
Xiaomi Vacuum Mop Essential (STYJ01ZHM)1.8.5_XXXX, 1.9.0_XXXX2.X.X_XXXX (pro-version)

How to check compatibility:

  1. Find the exact model name on the sticker under the vacuum cleaner (for example, STYJ02YM).
  2. Check the table above or on the manufacturer’s website.
  3. 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.

FAQ: Answers to Frequent Questions

Can I roll back the firmware to the old version?
Yes, but only if you have a backup of the original firmware or download the official version from Xiaomi. USB. Please note that after a rollback, some settings may reset.
A vacuum cleaner after firmware doesn't build a map.
This is a typical problem after the update. Try: Reset the map settings in the Mi Home app. Reboot the vacuum cleaner (hold the power button). 10 Wash the LiDAR sensor with a soft cloth (dust interferes with scanning). If it doesn't work, run a special version of the software for your model with a note. fix_map.
Can I use Xiaomi Vacuum Mop without a computer?
Yes, for official updates, the Mi Home app is enough. USB You don’t need a computer, just a flash drive and a.pkg file. However, custom firmware (such as Valetudo) may need to be installed. SSH-access, and this already requires a PC or smartphone with a terminal.
How do I know which firmware is installed now?
There are three ways: Through Mi Home: Device Profile β†’ Settings β†’ On the software, through the voice menu: press the buttons Enable + Home and wait for the version to be voiced. SSH (If Valetudo is installed: run the command cat /etc/version.
Where to download firmware for Xiaomi Vacuum Mop, if it is not on the official website?
Official firmware can be found on the Xiaomi Home website (support section). 4PDA (Look for your model theme. For custom firmware: GitHub Valetudo. XDA Warning: When downloading firmware from third resources, check for viruses and check checksums!