How to update the firmware of the Xiaomi router: safe ways and problem solving

Updating the firmware of the Xiaomi router is a critical procedure that not only adds new features (for example, Wi-Fi support). 6E It's called Mesh, but it also closes security vulnerabilities, and it regularly releases patches for Mi Router models. 4A, AX3600, AX6000 And some of them, but many users neglect updates for fear of "breaking" the device, and outdated software can cause slow Internet, spontaneous reboots, or even data leaks.

In this article, we will discuss all the current methods of updating (automatic, through the web interface and manually through the Internet). SSH), We will explain how to check the current firmware version, and warn against common errors. Particular attention will be paid to models with a locked bootloader (for example, Xiaomi Router). 4C For the Chinese market) and routers that β€œhang” during the download phase of new software. If your router after a failed update turned into a β€œbrick” – at the end of the article there is a section with instructions for restoring the software.

Before you start, make sure you have:

  • πŸ”Œ Stable power (it is better to connect the router to the UPS if there is a risk of a power outage).
  • πŸ“Ά Backup Internet connection (e.g. mobile) 4G/5G-modem) if the main connection is running through an updated router.
  • πŸ–₯️ Computer or smartphone with access to the MiWiFi web interface (address: 192.168.31.1 or miwifi.com).
πŸ“Š What kind of Xiaomi router do you have?
Mi Router 4A/4C
AX3600
AX6000
Another Xiaomi
Another brand's router

1. How to check the current firmware version

Before you upgrade, you need to know which firmware is installed on your router, which will help you avoid re-installing the same version or rolling back to an older version (which is fraught with errors), and you can do this in two ways:

Method 1: Through the Web Interface

  1. Connect to the router network (via Wi-Fi or LAN-cable).
  2. Open your browser and go to 192.168.31.1 or miwifi.com.
  3. Enter the login and password (by default – admin and password from the sticker on the bottom of the router).
  4. In the main menu, find the Status or About Device section, where the firmware version bar will be located (e.g. 1.0.45 or 3.0.27).

Method 2: Using the Mi Wi-Fi mobile app

  • πŸ“± Open the application and select your router from the list of devices.
  • πŸ” Go to the Settings section β†’ About the device.
  • πŸ“‹ The firmware version will be listed next to the model name.

If the web interface or application does not open, try:

  • 🌐 Check if the access is blocked by antivirus or firewall.

πŸ’‘

If you have a Xiaomi router for the Chinese market (with a suffix) CN In the model, the firmware version may be displayed in hieroglyphics, in which case copy it to the translator or search by number on the forums (for example, 2.0.18). β†’ This is a firmware from 2021).

2. Automatic update via the Internet

The easiest and safest way is to let the router download and install the new firmware itself, a method that works for most models (Mi Router). 4A, AX3600, AX1800 etc.) if they were not modified (for example, there was no custom OpenWRT).

Step-by-step:

  1. Go to the router's web interface (192.168.31.1).
  2. Go to the Software Update (or System Tools) section β†’ Update for older versions).
  3. Click Check Updates. The router will contact Xiaomi's servers and show you the available version.
  4. If an update is found, click Update and wait until it is completed (usually 5-10 minutes).

What to do if the update is not available?

  • 🌍 Check the router region: Chinese models (CN) Updated via servers other than global servers (Global).
  • πŸ”„ Try changing. DNS-server at 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare).
  • ⏳ Wait 1-2 days – sometimes Xiaomi servers are temporarily unavailable.

Make a backup of settings (Section Backup)

Connect the router to the UPS or network filter

Close all programs that consume the Internet (torrents, online games)

Do not turn off the router until the update is complete (the indicator should be green)

-->

⚠️ Note: If the Xiaomi router AX6000 or AX3600 After clicking "Update" freezes in the "Download...0%" stage, do not try to interrupt the process for 20 minutes. >The interruption will damage the bootloader and require recovery through TFTP.

3. Manual update via web interface

If the automatic update doesn’t work (for example, because of the locking of Xiaomi servers in your country) or you want to install a specific version of the firmware, you can download the file manually. This method is also useful if the router β€œdoes not see” the new firmware even though it is already out.

Where to download the official firmware?

  • 🌐 Xiaomi official website: support.xiaomi.com (select router model) β†’ fermware).
  • πŸ“ Forum 4PDA: In topics on specific models often put firmware with translation into Russian.
  • πŸ”— Unofficial sources (e.g. OpenWRT): only for power users!

Installation instructions:

  1. Download the firmware file (usually with the.bin or.pak extension).
  2. Log in to the router's web interface (192.168.31.1) β†’ Update of the PO.
  3. Click Select the file and specify the path to the downloaded firmware.
  4. Confirm the update and wait for the reboot (the router will flash orange, then light up blue).
Model routerFirmware file typeMax. File size.Time to update
Mi Router 4A.bin~30MB3-5 minutes
AX3600.pak~120MB8-12 minutes
AX6000.bin (for global version)~150MB10-15 minutes
Mini Router.img~15MB2-3 minutes

⚠️ Note: Never install firmware from another router model (e.g., file for AX3600 on AX1800)! This will cause permanent memory damage and the router will turn into a brick. Always check the model name in the firmware file (for example, check the name of the model, miwifi_r3g_firmware_*.bin is for Mi Router 3G).

4. Update through SSH (power-user)

This method is suitable if the web interface is not available, but the router is enabled SSH-Access (default disabled on most models) is most commonly used to install custom firmware (such as OpenWRT or Padavan) or roll back to a previous version.

Preparation:

  • πŸ–₯️ Install PuTTY (Windows) or use the terminal (Linux/macOS).
  • πŸ”‘ Turn it on. SSH in the router settings: Additional β†’ SSH (You may need a password from your Xiaomi account).
  • πŸ“‘ Connect to the router via cable (Wi-Fi may shut down during the upgrade).

Commands for renewal:

Connection to the router (login: root, password: admin or your current)


ssh root@192.168.31.1




Check the current version of the firmware



cat /etc/miwifi/version




Downloading a new firmware (example for AX3600)



cd /tmp




wget http://bigota.miwifi.com/xiaoqiuang/rom/ra75/miwifi_ra75_firmware_*.bin




Installation of firmware



mtd write /tmp/miwifi_ra75_firmware_*.bin firmware




reboot

If the router does not respond after the reboot:

  • πŸ”„ Try resetting with the Reset button (hold 30 seconds).
  • πŸ”§ If the indicator is lit orange - the firmware is damaged, you will need to restore through the TFTP (see section 6).
What to do if SSH Disabled and the web interface is not available?
If the router does not respond to 192.168.31.1 and SSH turned off, you can try "emergency" access: 1. Turn off the router power. 2. Press the Reset button and, without letting go, turn on the power. 3. After 10-15 seconds, release the button - the router should boot in recovery mode (the indicator will flash yellow). 4. Connect to 192.168.1.1 and download the firmware through TFTP (see section 6).

5. Typical errors and their solution

Even if you follow the instructions, the update may not go according to plan, but let's look at the most common problems and how to fix them.

Error 1: β€œFailure to download firmware” (code 404 or 500)

  • 🌍 The problem: Xiaomi servers are not available in your region.
  • πŸ”§ Solution: Use VPN (ProtonVPN, for example, with a connection to servers in China or Singapore.

Error 2: The router is stuck in the β€œFirmware Check” phase.

  • πŸ•’ Problem: The firmware file is corrupted or not suitable for your model.
  • πŸ”§ Solution: Download the firmware again (check it out) MD5-hash file or try another version.

Error 3: After the update, there is no Internet

  • πŸ“‘ Problem: PPPoE settings have been reset or DHCP.
  • πŸ”§ Solution: log into the web interface and reconfigure the connection to the provider (Internet section).

Error 4: The router is constantly restarting

  • πŸ”„ Problem: conflict of new firmware with current settings.
  • πŸ”§ Solution: Reset the router completely (30 seconds Reset button) and reset the router.

πŸ’‘

If the Xiaomi router AX6000 After the update, it gives an error "Invalid firmware", most likely you are trying to install firmware from the Chinese version (CN) Global or vice versa. Check the marking on the router sticker!

6.Router Restore after Failed Update

If the router stops turning on, flashes orange or does not respond to 192.168.31.1, do not panic - in 90% of cases it can be restored. TFTP-client, Tftpd64).

Step-by-step:

  1. Download the emergency firmware for your model (look for files marked recovery or emergency).
  2. Connect the router to the computer with a network cable (to the port) LAN1).
  3. Launch it. Tftpd64 and point the path to the firmware file.
  4. Turn off the router power, press the Reset button and, without letting go, turn on the power.
  5. After 10 seconds, release Reset – the router should start loading the firmware (in logs) Tftpd64 A file transfer record will appear).
  6. Wait until the end (the indicator will light up in blue) and restart the router.

If recovery does not help:

  • πŸ”§ Check if the network port has burned (try another cable or port).
  • πŸ”Œ Try another power supply (sometimes the problem is unstable voltage).
  • πŸ“‘ Contact Xiaomi Service Center – Flash memory may be damaged.

⚠️ Note: On Xiaomi routers with a chip MT7621 (Like Mi Router. 4A Gigabit) in case of unsuccessful recovery through TFTP If the router doesn't come alive after 3 attempts, don't continue to do so as not to aggravate the damage.

7. How to roll back firmware to the previous version

Sometimes the new firmware is worse than the old one: it has lags, 5GHz Wi-Fi is lost, or the router starts to overheat, in which case you can return the previous version, but there are nuances:

It's important to know:

  • πŸ”™ Recoil is possible only within one firmware branch (for example, from 3.0.27 to 3.0.20, but not to 1.0.45).
  • πŸ”’ In some models (for example, AX3600) rollback is blocked by the loader protection.
  • ⚠️ After the rollback, you may need to reset the settings.

Instructions:

  1. Download the desired firmware version (see Section 3).
  2. Go to the web interface and try to install it through the Software Update.
  3. If the web interface refuses to install the old firmware, use SSH (see section 4).

For models with blocked rollback (e.g, AX6000):

  • πŸ”§ You will have to use unofficial firmware (for example, OpenWRT), but this will void the warranty.
  • πŸ“‘ Or contact the service center for reflashing through JTAG.

8.Safety Tips After Update

Updated firmware is not only about new features, it's also about potential vulnerabilities if you don't configure your router correctly.

Safety checklist:

  • πŸ” Change the password from the web interface (admin default). Use a combination of 12+ symbolism.
  • 🌐 Disable Remote Access (Settings section) β†’ Remote control).
  • πŸ“‘ Set up a guest network for devices that don’t need access to local resources.
  • πŸ”„ Enable automatic updates (if disabled).
  • πŸ›‘οΈ Install. VPN on a router (such as WireGuard) if you use public networks.

Additional measures for advanced users:

  • πŸ”§ Disable UPnP (Vulnerable to Attacks).
  • πŸ“Š Set up bandwidth limit for individual devices.
  • πŸ” Enable traffic logging (System Tools section) β†’ Magazines).

If after the update the router began to slow down, check:

  • πŸ“Ά Is Qos on (may limit speed).
  • πŸ”Œ Do you have a hot air (put it in a ventilated place).
  • πŸ“‘ Whether Wi-Fi links conflict with neighboring networks (use Wi-Fi Analyzer app for analysis).

πŸ’‘

After updating the firmware on Xiaomi AX3600 or AX6000 It is recommended to manually switch Wi-Fi to 149-165 (if your router supports 5GHz.

FAQ: Frequent questions

Can I upgrade the Xiaomi router via my phone?
Yes, but only if you have an official Mi Wi-Fi app installed. β†’ Software updates. However, manual firmware or crash recovery will still require a computer.
What to do if Wi-Fi is lost after the update?
First, check if Wi-Fi is turned off in the settings (Wireless mode). β†’ If the grid doesn't appear even after you reboot, reset the settings with the Reset button and reset the router. AX3600 and AX6000 The change of Wi-Fi region to Europe (if China is the only one).
How do I know which is the last one for my model?
Official firmware is available on the website support.xiaomi.com. Also up-to-date information can be found in the topics on the website. 4PDA Or Xiaomi Community. For Chinese models (CN) updates are issued more often, but may contain functions unnecessary for other regions (for example, censorship).
Can I put custom firmware (OpenWRT) on Xiaomi?
Technically yes, but there are limitations: πŸ”“ On most models (Mi Router) 4A, 3G) Requires unlocking the bootloader (risk of turning the router into a brick"). πŸ”§ AX3600 and AX6000 They have protection that can only be circumvented through JTAG. ⚠️ Custom firmware is not warranty and may not support some features (e.g. Mesh). Beginners should stay on the official software.
How long does the update take?
Depends on the model and size of the firmware: πŸ•’ Mi Router 4A: 3–5 minute. ⏳ AX3600/AX6000: 10–15 minutes (due to the large file size). ⚑ If the process is more than 20 Something went wrong (see section below). 5). Do not turn off the router during the upgrade, even if it seems to freeze!