How to restore the map of the robot vacuum cleaner Xiaomi

Smart device owners from Xiaomi and Roborock often face a situation when their faithful assistant suddenly ceases to navigate in space. Instead of the usual route, an error message or a request to create a new map appears on the smartphone screen, this occurs when the device’s internal memory loses stored data about the layout of the apartment.

The situation is unpleasant, as you don't want to re-enter the whole apartment, put virtual walls and rename rooms. Fortunately, in most cases, the navigation map can be restored without having to completely reset to factory settings. It's important to understand that the process of data return depends on the specific model of your device and the firmware version.

Next, we'll look at the proven methods that will help you get the card back in place, how to use the card saving function correctly, how to avoid common errors in robot maintenance, and what to do if automatic recovery doesn't work, and it's critical that you don't start a full cleanup until the recovery process is complete, otherwise the new card might overwrite the old data.

Why the robot vacuum cleaner loses the map of the room

Before we get into action, we need to understand the cause of the failure. The laser rangefinder (Lidar) and optical sensors create a complex model of the room that is stored in memory. If the battery of the device is discharged to zero while it is on the base, or if you force the vacuum cleaner to turn off with a button during cleaning, the system can consider this as a critical error and clear the buffer.

Another common reason is to move the charging base, and the robot will tie the map coordinates to the dock location, and if you move the base even half a meter and the robot doesn't see it, it won't match the current position with the data it's stored, and it will suggest that you create a new map, and it can also cause problems with strong magnetic fields or taped sensors.

Sometimes a failure occurs after a software update, a new firmware version can change the algorithms for route construction, which will require recalibration of the navigation system, and in rare cases, the Mi Home application software, which incorrectly synchronizes data with the cloud server, is to blame.

  • πŸ”‹ Full discharge of the battery during downtime or operation.
  • 🏠 Moving the dock to a new location without reconfiguring.
  • πŸ“‘ Synchronization failure with Xiaomi Cloud server.
  • 🧹 Pollution of sensors and laser rangefinder.

⚠️ Warning: If you've moved the base, don't try to start cleaning right away. You'd better manually move the robot to the base, put it on charge, and then try to restore the connection.

Check the archive of maps in the application Mi Home

The easiest and safest way to fix the problem is to check if the backup is still in the cloud. Modern models like the Xiaomi Vacuum Mop 2 Pro or Roborock S7 can save up to four different cards. It is common that the active card has been reset, but the previous version has remained in the archive.

To check, open the Mi Home app and go to control your device. The top right corner usually has the settings button (three dots). Inside the menu, you need to find the section related to map management. In different versions of the interface, it can be called Map Settings, Map Management or Multi-floor mapping.

If you see saved profiles with dates on the list, select the one that matches your current layout. Press activation or restore button. The robot may ask for confirmation or suggest you drive around the perimeter of the room to clarify your position. Once activated successfully, the device will update the navigation data.

Hidden maps
Sometimes the card may not appear in the list if it was created in a different user profile. Make sure you are logged in to the same Mi Account from which the robot was originally set up.

It's important to note that the multi-level mapping function only works when the save option is enabled. If you haven't previously activated cloud storage, the local copy may have been lost when you reset. However, even if the main profile is empty, it's worth checking the cleaning history, sometimes the thumbnails of the maps there allow you to restore the structure of the room.

Method of forced remediation through discharge

If the archive is empty or the map is damaged, a more radical approach may be needed, such as resetting the map and then quickly re-creating it, which is effective when the robot gets confused and builds incorrect routes when it stumbles on furniture, and first, completely clearing the device's memory of the old data.

Go to the device settings in the app and find Reset or Reset Map. Confirm the action. The robot will tell you that the card has been deleted and ask you to start cleaning to create a new one. Now the most important thing is to provide the perfect conditions for scanning.

β˜‘οΈ Preparations for map reconstruction

Done: 0 / 4

Run the quick cleaning mode. Don't turn on the floor washing function if you have a combined model to focus the CPU resources on geometry. The robot has to drive through the apartment, preferably in a zigzag. Don't interrupt the process until the device returns to base and reports the end.

Once the cycle is complete, the map will be re-formed, and if you don't like the result (e.g., blind spots), the procedure can be repeated, sometimes taking 2-3 full-cleaning cycles to build an accurate model of SLAM.

Action.Impact on the mapRecommendation
Local cleaning (Spot)Does not update the global mapUse only for stains
Complete cleaning.Corrects and supplements the mapPerfect for recovery.
Manual controlMay cause dissynchronizationDo not use when failure occurs
Charging and pauseMaintains current statusIt's safe to interrupt just like that.

Calibration of sensors and laser rangefinder

Often the problem is not software failure, but physical contamination of the sensors. The laser rangefinder (Lidar) is on top and constantly rotates. Dust, animal hair or sticky droplets can block the beams, causing the robot to lose its landmarks and "forget" where it is.

Carefully inspect the top dome of the device. Gently wipe it with a soft dry cloth. Don't use aggressive chemistry. Also check the side impact sensors and cliff sensors on the bottom panel, and the purity of these elements directly affects the quality of the navigation grid.

πŸ’‘

Rub the laser rangefinder with a dry microfiber once a week, which will prolong the life of the mechanism and improve the accuracy of mapping.

After cleaning, run a sensor test. Some Xiaomi models have a hidden menu or engineering test that you can access through the app. However, more often than not, just launch the robot into an open space and see if the turret is rotating and the laser is lighting up (carefully, don't look directly into the beam). If the laser isn't burning or if it makes a strange sound, you may need to change the module.

If physical cleaning didn't work, try software calibration. To do this, select Editing from the map management menu and use alignment tools. You can rotate the map, merge the torn rooms, or fix the position of the walls. This helps if the robot built the map correctly, but with the wrong orientation to the cardinal points.

Configure zones and virtual walls after restoration

Once the map is restored, the logical constraints must be reconfigured, and the robot will not remember where you previously installed virtual walls or exclusion zones, but this should be done first to avoid the device entering dangerous places (for example, a bowl of water or wires).

In map editing mode, select Virtual Wall or No-Wall tool. Circle the perimeter of the area where the robot is not allowed to enter. For models with floorwashing function, you can configure Carpet Zone so that the device automatically enhances suction or bypasses soft coatings.

  • 🚫 Red lines that the robot will never cross.
  • 🧹 Cleaning areas: Rectangles for spot cleaning on schedule.
  • πŸ›‘ Virtual Walls: Invisible Barriers to Separate Rooms.

Remember to rename the rooms. By default, they will be called "Room 1", "Room 2", and naming (Kitchen, Living Room) will allow you to give voice commands in the future through Alice or Google Assistant, such as "Clean up the kitchen", which greatly improves the comfort of using a smart home.

⚠️ Warning: Don't create too small no-go zones (less than 20x20 cm), the robot can ignore them or get stuck at the border.

πŸ“Š How often do you have your card reset?
Once a month
After each update
Only when the battery is discharged.
Never, everything's stable.

Frequent mistakes and their solution

Even following the instructions, users sometimes make mistakes that negate the effort. One of the most common is trying to recover the map while the robot is away from base. Always start the recovery process by mounting the device on the charging dock.

Another mistake is ignoring firmware updates. If you have an older version of the software, the mapping algorithms may not work properly. Check the version in settings (Settings β†’ About device β†’ Check Updates) and install the current release.

Also worth mentioning is the Wi-Fi problem. An unstable connection can interrupt the synchronization of the card when it is saved. Make sure the robot is connected to a 2.4 GHz network (many models do not support 5 GHz) and the signal at the base parking lot is strong enough.

πŸ’‘

A stable connection to Wi-Fi and up-to-date firmware are the key to ensuring that the restored card will remain in the cloud and will not disappear after the reboot.

If neither method worked, the gyroscope or the Lidar module may have malfunctioned, in which case software recovery is not possible and a service center will need to be contacted to diagnose the hardware.

FAQ: Frequently Asked Questions

Can I recover the card if I sold the phone I was setting up the robot from?
Yes, the card is stored in the robot's memory and in the Mi Account cloud. You just need to log in to the Mi Home app on the new device using the same login and password as before, and once the device is linked, the card must be automatically downloaded.
How many cards can Xiaomi’s robot vacuum cleaner store?
Most modern models support up to 4 different maps, which allows you to use a single robot to clean different apartments or floors, switching between cards automatically if the robot recognizes the environment, or manually through the application.
What if the map is reset by a curve (rooms are inverted)?
You can use the map editing feature in the app. There's an image rotating tool. You can rotate the entire map 90, 180 or 270 degrees to make it fit the actual layout. You can also manually level the walls.
Does replacing the battery affect the safety of the card?
If you replace the battery normally, if the process is fast and the memory is not critically de-energized for a long time, the card is usually saved, but if the replacement was done in a service with a full reset, the card will have to be recreated.