How to Clean a Map in Xiaomi’s Robot Vacuum Cleaner: The Complete Guide

Smart tech owners often face the need to re-plan their cleaning when furniture is repositioned or the robot gets stuck in the same places because of accumulated navigation errors. Cleaning up the map in Xiaomi’s robot vacuum cleaner is not just about deleting data, but completely rebooting the device’s logical system, allowing it to re-scan the room from scratch. Modern models like the Xiaomi Vacuum Mop 2 Pro or Roborock S5 Max use complex SLAM algorithms to build accurate diagrams, but over time these digital layers can become “junk.”

If your gadget has begun to ignore virtual walls or to build routes through the legs of chairs, then it is time to interfere with the work of its memory. the process of resetting the accumulated data about the layout requires careful attention, because the wrong actions can lead to the fact that the device loses orientation in space. In this article, we will discuss in detail all methods of managing maps, from simple separation of rooms to full formatting of the memory of the navigation module.

Consider that different generations of robots have different software and interfaces to the Mi Home app. Some models allow you to store up to four different cards, while budget versions only work with one current layer. Understanding how your model handles spatial data will help you avoid accidentally losing important zoning settings and virtual constraints.

Why you need a complete reset of the navigation map

The main reason for forced cleaning is to change the geometry of the room or rearrange heavy furniture, which the robot previously perceived as a stationary obstacle. The laser rangefinder (Lidar) remembers static objects, and if you moved the sofa, the robot can continue to "see" it in the old place, trying to get around a non-existent obstacle. Reset the map causes the system to ignore old measurements and build a new, current route.

Another critical cause is a software failure, where the robot starts to hurl around the room or, conversely, gets stuck under the table, considering the space under it to be an impassable dead end. Navigational errors often accumulate gradually: the robot shifts slightly, loses its reference point and begins to build a map with distortions. In such cases, simply removing the current circuit through the application is the only way to return the device to adequacy.

⚠️ Before removing the card completely, make sure to check whether you have stored important exclusion zones or virtual walls that you created manually.

Cleaning is also necessary when selling the device or transferring it to another user so that the new layout does not conflict with the data of the previous owner. Sometimes the robot can “forget” the path to the charging base, in which case a complete reboot of the mapping module helps to recalibrate the docking station as a central reference point.

📊 How often do you change the furniture?
Once a year.
Never.
Once a month
I'm constantly experimenting.

Preparing the robot and the Mi Home app for change

Before you start deleting data, you need to make sure that the robot vacuum cleaner and your smartphone are on the same Wi-Fi network, preferably at 2.4 GHz, as some models do not work well with 5 GHz when transferring large amounts of map data. Check the battery power of the device: it must be at least 20%, otherwise during the reset, the robot can go on charging and interrupt the operation, which will lead to corruption navigation files.

Open the Mi Home app and navigate to your device’s main control screen. Make sure the app version is updated to the latest available in the store, as the map management interface is often changed by developers. If you use third-party clients like VacuumZ or Home Assistant, make sure you have access to the device’s local token in case manual intervention is needed.

It is recommended to pre-start the robot to the charging station and wait for the charging cycle to complete, so that the system goes into standby mode, which ensures that all background log writing processes are completed, and you do not damage the device's file system during memory manipulation.

💡

Before resetting the map, take a screenshot of the current scheme of the room with the zones applied - this will help to quickly restore virtual walls after rebooting.

Step-by-step: Delete the card through Mi Home

The process of deleting the map in the official Xiaomi Home app (or Mi Home) is quite simple, but requires confirmation of actions to avoid accidental data loss. Go to the robot control interface, click on the three dots in the upper right corner of the screen to enter the device settings menu. In the list that opens, find the item related to managing maps or cleaning data.

Depending on the model, this item may be called "Maps Management", "Map" or "Maps Settings". Select "Clear Card" or "Delete Current Card" and the system will issue a warning that all saved rooms, no-go zones and routes will be permanently removed. Confirm the action by pressing the appropriate button and wait for the beep from the reset robot.

☑️ Checklist before deleting the card

Done: 0 / 5

Once successfully removed, the robot will automatically enter exploration mode or search for a base, as it will no longer have data on the location of the walls, the map will become empty or disappear altogether on the smartphone screen until the device begins a new cleaning, at which point it is important not to interfere with the robot’s free movement so that it can correctly scan the perimeter of the room.

Multilayer map management and zone separation

Xiaomi’s flagship models, such as the Xiaomi Robot Vacuum X10+ or Roborock S7, support storing multiple cards at once, which is ideal for multi-storey homes. In the map management menu, you can see a list of saved floors, where each layer represents a separate layout. To clean a particular floor, select the desired map from the list and click the delete or rename button to avoid confusing floors.

The partition and join-up feature allows you to edit a map that you've already made without removing it completely. If the robot mistakenly combined the kitchen and living room into one zone, you can use the "Divide" tool in the map editing menu. Draw a tear line where the doorway should be, and the system will create two separate rooms for which you can set individual cleaning modes and suction power.

Model robot.Number of cardsEditingVirtual walls
Mi Robot Vacuum Mop 21BasicYes.
Roborock S5 Max4ExpandedYes.
Xiaomi S10+43DYes.
Viomi V2 Pro1Limited.Yes.

When working with multi-layer maps, if you move the robot to another floor, it must automatically recognize the new layout or request confirmation to switch. If the automation does not work, switch the map manually through the menu so that the robot begins to build a route based on the correct coordinates.

Resetting settings via voice commands and buttons

Not all operations require a smartphone: some models support card resets via button combinations on the device body. For example, on a number of Xiaomi and Roborock models, prolonged simultaneous pressing of the Home and On/Off buttons (about 5-10 seconds) can initiate a reset or restart of the system, which in some firmwares leads to the clearing of temporary navigation files.

Voice assistants like Alexa or Google Assistant, which are linked to a Mi Home account, can also manage maps, but the functionality is often limited. You can say, "Alexa, ask Robot to remove the card," if the skill supports such a command, but this is unstable and depends on the regional settings of the server.

⚠️ Note: Do not use a hardware reset button on the case unless you are sure of the consequences, as this may untie the device from the account and require re-authorization.

For touchscreen models like the Xiaomi Vacuum X10+, you can control the map directly from the device screen. Tap the settings icons, select Map, and find a cleanup point. This is especially convenient if the phone is discharged or far away and the robot is lost and requires immediate intervention.

ADB Secret Commands for Advanced Users
For models based on Android can be used ADB-commands for forced cleaning of card files in the directory /data/roborock/map, But it requires root rights and can void the warranty.

What to do if the robot does not see the map after cleaning

Once reset, the robot must begin building a new map from the first run, but sometimes the process can take a long time or go wrong. If the robot is chaotic and does not build a circuit, check if the protective cap on the laser rangefinder (Lidar) is closed. Dust or hairs wound around the rotating head of the lidar can block the scan, which makes the robot unable to fix the walls.

Make sure there is enough light in the room, as optical sensors (used in non-lidar models, such as the Mi Robot Vacuum Mop Essential) don't work well in total darkness. Turn on the lights or open the curtains so the camera can read the floor and ceiling textures for navigation. Also make sure that the charging station is mounted against the wall and there is free space of 0.5 meters on each side.

If the robot continues to ignore the changes, try updating the device's firmware through the Mi Home app. Developers often release patches that fix the bugs of mapping algorithms. Go to the device's settings, select Software Update, and follow the instructions on the screen.

💡

The main reason for the map’s errors is physical sensor obstruction (dust on the lidar) or poor lighting for optical cameras.

Frequent errors in working with cards and their solution

One of the most common mistakes is trying to build a map in a room with lots of mirrors or glass surfaces, and the laser beam bounces off the glass, creating phantom walls or doubling the space, which confuses the algorithm, and in such cases, it is recommended to temporarily seal the bottom of the mirrors with paper or use virtual walls to prevent the robot from approaching dangerous areas.

Another problem is that the robot gets lost when it's moved to another place during cleaning. If you lifted the robot to clear the aisle and put it on the other side of the room, it can lose its point of reference. In modern models, this is solved automatically, but older versions can start building a new map on top of the old one or go into error. Always return the robot to the base or the point where it was raised if the map "got."

Senor pollution is a silent killer of navigation. Regularly wipe the collision sensors (bumper), the drop sensor (on the bottom), and the lidar window with soft dry cloth. Even a thin layer of fat from kitchen cleaning can distort the sensors, leading to incorrect route construction.

Can I recover a deleted card if I accidentally clicked "Clear"?
Unfortunately, once the map is confirmed in the Mi Home app, it is impossible to restore it with standard means, the data is erased from the device's memory forever, and the only option is to re-start the robot to clean up the map from scratch.
Why does a robot build a map with gaps or “porridge”?
This is usually due to dark carpets (fall sensors think it's a cliff) or tangled wires on the floor.Take away the wires, lift the curtains and, if possible, temporarily remove the black carpets for the map-building phase.
How long does the robot build a map of an apartment of 50 sq.m?
On average, the initial scanning process takes 15 to 30 minutes, depending on the amount of furniture and the complexity of the layout, and the robot needs to drive around the perimeter and make several visits to the center of the rooms.
Do I need to reset the card when changing the time of year?
No, seasonality doesn't affect the map, unless you change the arrangement of furniture dramatically (e.g., you put a Christmas tree in the middle of the room or clean summer furniture).