How to flash a robot vacuum cleaner Xiaomi with the help of iPhone: all ways and life hacks

Firmware of the robot vacuum cleaner Xiaomi through the iPhone β€” a task that at first glance seems impossible due to the limitations of iOS. APK-file ADB, Apple owners have to find workarounds, but there are ways to do it, and they work for both official updates through the Mi Home app and manual firmware through alternative tools.

In this article, we will discuss all the current methods of firmware, including bypassing the limitations of iOS, choosing the right version of software for your model (Mi Robot Vacuum-Mop 2 Pro, S7, P10, etc.), as well as solving typical errors such as β€œinvisibility” of a vacuum cleaner in the network or failures when downloading a file.

Why is iPhone firmware more difficult than Android?

The main problem lies in the iOS architecture: Apple blocks the installation of third-party applications outside the App Store, and also restricts access to the file system and network protocols.

  • πŸ”Œ No direct access to ADB β€” The standard tool for firmware Android devices through the command line on the iPhone just doesn’t work.
  • πŸ“± Limited Mi Home functionality – iOS version of the app is often devoid of the capabilities available on Android (e.g. manually downloading firmware through a local file).
  • πŸ–₯️ No Python script support – many alternative firmware methods (like mirobo.py) require scripts to run, which is only possible with jailbreak on an iPhone.

But you can get around these limitations, and we'll show you how, first, we'll go through the official Mi Home method, and then we'll go to alternative solutions for power users.

πŸ“Š What kind of robot vacuum cleaner Xiaomi you have?
Mi Robot Vacuum-Mop 2 Pro
Xiaomi S7/S7 MaxV
Xiaomi P10
Another model
I haven't bought it yet.

Official way: Update via Mi Home app

The safest and most recommended method is to use the Mi Home app, which is suitable for most models (Mi Robot Vacuum 1S, S5, S6, S7 and later) and does not require technical skills.

  1. Update Mi Home – check in the App Store that you have the latest version of the app installed (at the time of 2026 – 6.5.4+).
  2. Connect the vacuum cleaner to Wi-Fi – the robot should be on the same network as your iPhone (only use 2.4GHz networks, as 5GHz is not supported).
  3. Open the device section – in Mi Home, find your vacuum cleaner, go to Settings β†’ Firmware Update.
  4. Run Update Check – If a new version is available, click Update and wait until it is completed (usually 10-20 minutes).

⚠️ Note: If the vacuum cleaner does not find an update, check the region of the account in Mi Home. Some firmware is available only for specific countries (for example, China or Europe:

  1. Go to Profile β†’ Settings β†’ Country / Region.
  2. Choose China (maximum functionality) or Russia (localized firmware).
  3. Reconnect the vacuum cleaner to your account.

Make sure the battery charge is >50%|

Connect the vacuum cleaner to the 2.4 GHz network |

Update Mi Home to the latest version|

Check the region of the account in the application-->

Alternative Firmware Methods for iPhone

If the official update is not available, or if you want to install custom firmware (for example, to unlock additional features), you will have to use workarounds.

1. Firmware via web interface (for models with open API)

Some Xiaomi models (such as Mi Robot Vacuum 1S or S5) support firmware via a local web server.

  1. Connect your iPhone and vacuum cleaner to a single Wi-Fi network.
  2. Find out locally. IP-vacuum cleaner address (can be found on the router in the list of connected devices or through the Fing app).
  3. Enter the view address in Safari: http://[IP-ADRESS DUST]/miIO/upgrade For example: http://192.168.1.100/miIO/upgrade.
  4. Download the firmware file (.pkg) through the form on the page.

πŸ”Ή Where to get firmware files? Official versions can be downloaded from the Xiaomi Home site (Support section). For custom firmware (for example, Valetudo), use repositories on GitHub.

2. firmware via Windows/Mac using iPhone as an intermediary

If you have access to your computer (even temporarily), you can use your iPhone to transfer files:

  1. Download firmware on your iPhone via Safari (.pkg file).
  2. Send the file to your computer by mail, via AirDrop or cloud storage (iCloud, Google Drive).
  3. On your computer, use tools like MiHomeTool or Python scripts for firmware.

⚠️ Note: When using custom firmware (for example, to remove cloud binding), the vacuum cleaner may lose its warranty. S7 MaxV) have downgrade protection - an attempt to install the old version of the software will lead to blocking.

What if the vacuum cleaner stopped turning on after the firmware?
If the robot does not respond to the power button, try to reset it to the factory settings: 1. Press the Reset button (usually under the lid) for 10-15 seconds. 2. Connect the vacuum cleaner to the charging station and wait for the indication (can take up to 30 minutes). 3. If it does not help, contact the service center with the version of the firmware you tried to install.

Compatibility table of firmware methods with Xiaomi models

Model vacuum cleanerOfficial Update (Mi Home)Web interfaceCastom firmware (Valetudo)Computer required
Mi Robot Vacuum 1Sβœ… Yes.βœ… Yes.βœ… Yes.❌ No.
Xiaomi S5/S5 Maxβœ… Yes.βœ… Yes.βœ… Yes.❌ No.
Xiaomi S6βœ… Yes.❌ No.⚠️ Partially.βœ… Yes.
Xiaomi S7/S7 MaxVβœ… Yes.❌ No.❌ No (Castom firmware protection)βœ… Yes.
Xiaomi P10βœ… Yes.❌ No.⚠️ Only for experienced usersβœ… Yes.

πŸ’‘ Tip: Before firmware check the version of the current software in Settings β†’ If the version is newer than the one you're trying to install, the vacuum cleaner can block the downgrade.

πŸ’‘

If the vacuum cleaner is not visible in Mi Home after firmware, try resetting it: press the Home and Power buttons for 5 seconds, then reconnect to Wi-Fi.

Typical errors and their solutions

The firmware process rarely goes smoothly, and here are the most common problems and ways to fix them:

  • πŸ”„ "Update hung at 0%" - check the Wi-Fi connection (vacuum cleaner must be on the 2.4 GHz network).If it doesn't help, restart the router.
  • πŸ“± "Failed to connect to the device" - reset the vacuum cleaner settings (Reset button) and try again.
  • πŸ”Œ "The vacuum cleaner does not turn on after the firmware is "plugged" - connect it to the charging station for 30 minutes. If the indicators do not burn, the controller may fail (repair is required).
  • πŸ“ "Firmware file is not loaded" - check the file extension (should be.pkg) and its integrity (MD5-The hash can be checked on the Xiaomi website).

If the error doesn’t resolve, try to flash the vacuum cleaner through a Windows computer (using MiHomeTool) or contact the Xiaomi service center.

πŸ’‘

Always back up your vacuum cleaner settings in Mi Home before you run it (Settings β†’ Backup) to quickly restore your room maps and schedules after you upgrade.

How to check the success of the firmware?

Once the update is complete, you need to make sure everything goes right.

  1. Go to Mi Home β†’ Device Settings β†’ About the program.
  2. Compare the version of the software to the one you installed. It should match.
  3. Check the basic functions: 🧹 Cleaning on schedule. πŸ—ΊοΈ Building a room map. πŸ”‹ Connection to the charging station.

If the vacuum cleaner is unstable (for example, loses communication with Wi-Fi or builds a map incorrectly), try:

  • Reset the settings to factory.
  • Re-install the firmware.
  • Contact Xiaomi with error logs (you can export them to Mi Home).

FAQ: Frequent questions about Xiaomi’s iPhone firmware

Can you flash a Xiaomi vacuum cleaner without a computer, only with an iPhone?
The official update via Mi Home works without a computer, custom firmware will require at least temporary access to a PC or Mac, as iOS blocks the download and execution of scripts.
Why is Mi Home not finding an update for my vacuum cleaner?
The reasons may be: You have the latest version of the software installed. The region of your Mi Home account does not match the firmware region (for example, a vacuum cleaner for China and an account for Russia), Xiaomi has suspended the distribution of updates for your model. Solution: try changing the account region or check for updates manually on the official website.
How to roll back the firmware if the new version is not working well?
Downgrade is not possible on all models. For the Mi Robot Vacuum 1S and S5, you can use a web interface or MiHomeTool. For the S7 and later downgrade, the downgrade is usually blocked. Risks: loss of functionality or locking the device.
What custom firmware supports Xiaomi vacuum cleaners?
The most popular is Valetudo (an open alternative to cloud management), which removes dependence on Xiaomi servers, but requires technical skills to install. Supported models: Mi Robot Vacuum 1S, S5, S6 (partially). For the S7 and P10 custom firmware are unstable.
What if the vacuum cleaner does not connect to Wi-Fi after the firmware?
Try the following steps: Reset the vacuum cleaner settings (Reset button). Make sure the router is running 2.4 GHz (turn off 5 GHz); reinstall the Mi Home app and repeat the connection procedure; if it doesn't work, re-sweep the device or contact the service.