How to enable connection QR-Wi-Fi code on Xiaomi devices: from smartphone to router

Tired of typing complex Wi-Fi passwords into every new device? Xiaomiโ€™s QR-code connection solves this problem in seconds โ€” just scan the code with a smartphone camera or a special app. But not everyone knows how to activate this option on different devices of the brand, from the flagship Xiaomi 14 Ultra to the budget Redmi Note 12 and Mi Router AX6000 routers.

In this article, we will discuss all ways to include QR-code for Wi-Fi on the Xiaomi ecosystem, including hidden HyperOS settings, features of working with Mi Home and nuances of compatibility with Android devices 13/14. You will learn why code is sometimes not read, how to get around the restrictions on older models and what to do if the function is Suddenly disappeared after an update.

1. how the connection works by QR-Xiaomi code: technical details

Technology QR-Xiaomi's Wi-Fi code is based on the Wi-Fi Easy Connect standard (formerly known as Wi-Fi Device Provisioning Protocol), which allows network data to be transmitted encrypted:

  • ๐Ÿ”น Dynamic encryption: code is regenerated with each request, which eliminates the possibility of interception;
  • ๐Ÿ”น Bilateral Authentication: Scanner Device and Access Point mutually authenticate;
  • ๐Ÿ”น Support WPA3: on new models (Xiaomi) 13T Pro, POCO F5) The code automatically configures the most secure protocol.

It's important: QR-The code does not contain the password itself, but an encrypted access token that is valid for a limited time (usually 2-5 minutes), which makes the method safer than sending a password through messengers or notes. MIUI 12.5 and older there is a bug: if you disable the access point immediately after the code is generated, the token may become invalid.

๐Ÿ’ก

If you often connect guests, create a separate guest network in the settings of the Xiaomi router and generate for it. QR-This will keep the main password secret, and guests will only have access to limited traffic.

2. Turn it on. QR-Wi-Fi code on Xiaomi smartphones (HyperOS/MIUI)

On most Xiaomi smartphones, the feature is activated via the standard settings menu, but the path may differ depending on the firmware version. Here is a universal guide for HyperOS (2026) and MIUI 14:

  1. Open the Settings. โ†’ Wi-Fi.
  2. Tap the name of your network (connected or saved).
  3. Choose to share or QR-code (in some models, the item is hidden under the additional).
  4. Enter. PIN-code or scan the fingerprint for confirmation.

If the paragraph QR-code:

  • ๐Ÿ“ฑ On the Redmi. 10C/11A: upgrade the firmware to MIUI 13.0.5+ โ€” The function only appeared in these versions;
  • ๐Ÿ”ง Nana POCO X3 Pro: Activate Developer Mode and enable the Wi-Fi Direct Share option in Settings โ†’ Additionally;
  • ๐Ÿ”„ Xiaomi 12 Lite: Reset your network settings (Settings) โ†’ System system โ†’ Reset โ†’ Wi-Fi reset).

The device is connected to the desired Wi-Fi network|The firmware version is not lower. MIUI 12.5|Disabled. VPN proxy|The camera of the smartphone scanner works properly-->

On HyperOS (for example, Xiaomi 14), the algorithm is simplified: just hold your finger on the network name in the Wi-Fi list, and a context menu will appear with the item Share via QR. Also supported dynamic QR, which is updated every 30 seconds for increased security.

3. Features on Xiaomi routers (Mi Router, AX-series)

On Xiaomi routers QR-The code for the connection is generated via a web interface or the Mi Wi-Fi app:

Model routerMethod of generating QRFeatures
Mi Router 4AMi Wi-Fi app โ†’ Home โ†’ QR icon next to network nameRequires the latest version of the software (4.4.25+)
AX3600Web interface (192.168.31.1) โ†’ Wi-Fi โ†’ Settings โ†’ QR-codeSupports guest networks
AX6000Xiaomi Home โ†’ Devices โ†’ Router โ†’ Share iconQR is 10 minutes in effect.
Mi Router MiniOnly via Mi Wi-Fi (old version)No support for WPA3

โš ๏ธ Note: On routers with Developer firmware ROM function QR-The code can be disabled by default. To activate it, go to Advanced Settings. โ†’ System Tools โ†’ QR Code Share and turn on the switch.

The AX9000 and later have a "Disposable QR" option, which automatically deactivates after the first successful connection, which is useful for public areas where access is restricted.

Mi Router 4A/4C|AX1800/AX3000|AX3600/AX6000|AX9000/BE7000|Another brand |No router-->

4.Problems with QR-Code: Why it doesnโ€™t work and how to fix it

If QR-The code is not read or gives an error "I failed to connect", check the following points:

  • ๐Ÿ”„ Reboot devices: Turn off Wi-Fi on your smartphone and router for 30 seconds, then try again;
  • ๐Ÿ“ถ Network signal: If the signal level is below 2 divisions, some devices (e.g. Redmi Watch 3) will not be able to connect;
  • ๐Ÿ”’ Type of encryption: QR-The code does not work with the networks where it is used. WEP or the Open Network;
  • ๐Ÿ“ฑ Compatibility: iOS devices (iPhone) cannot read QR From Xiaomi directly โ€“ you need an intermediary (Android-smartphone).

A common error on the POCO M4 Pro and Redmi Note 11: after scanning the QR, the message "Incorrect format" appears. This is due to a bug in MIUI 13.0.3-13.0.7.

  1. Update the firmware to MIUI 13.0.9+
  2. Or retrace to MIUI 12.5.7 via Fastboot.
  3. Or use a third-party scanning app (e.g. QR & Barcode Scanner).
What to do if QR-The code is generated but not scanned?
The problem may be in the camera of the smartphone scanner. Try: 1. Wipe the camera lens from dirt. 2. Enable Macro mode (if any). 3. Use another device to scan. 4. Increase the brightness of the screen on the device that generates QR (sometimes the code is poorly read at low contrast). If nothing helps, generate the code again - it may have expired.

On Xiaomi routers with dual-band Wi-Fi (2.4 GHz) + 5 GHz) QR-The default code is only created for the 2.4 GHz network. To connect to 5 GHz, you need to:

  1. log into the router's web interface;
  2. Go to Wi-Fi โ†’ 5G settings;
  3. Activate the option Enable QR-code 5G.

5. Alternative ways of connecting without QR-code

If the QR function is not available or works, use alternative methods:

  • ๐Ÿ”‘ WPS (Wi-Fi Protected Setup: Press the button WPS on the router, then select this option in the Wi-Fi settings on your smartphone. 3/4 most AX-model;
  • ๐Ÿ“Ž Mi Share: HyperOS allows you to transfer Wi-Fi data via Settings โ†’ Connections โ†’ Mi Share (required) MIUI 14+);
  • ๐Ÿ“‹ Export configuration: On Xiaomi router, export your Wi-Fi settings to a.conf file, then import it on another device via Mi Wi-Fi;
  • ๐Ÿค– Voice assistant: on smartphones with Google Assistant say: โ€œConnect to my Wi-Fiโ€ โ€“ the system will offer options.

For non-screen devices (such as Xiaomi Smart Band 8), use the Mi Fitness app:

  1. Open Mi Fitness and go to Profile โ†’ Settings โ†’ Devices;
  2. Select your bracelet and tap Connect to Wi-Fi;
  3. Generate. QR-code on your smartphone and bring the bracelet to the screen (the camera bracelet considers the code automatically).

๐Ÿ’ก

On HyperOS devices (such as Xiaomi 14 Pro), you can create a โ€œdevice groupโ€ in the Mi Home and automatically synchronize Wi-Fi settings between them without any need to be used. QR-code.

6.Security: risks and how to avoid them

Despite the convenience of connecting to QR-The code has potential vulnerabilities:

  • ๐Ÿ•ต๏ธ Code Interception: If someone can scan QR Before you, it will have access to the network. Always generate code in a safe place;
  • ๐Ÿ“ก Switching the access point: attackers can create a fake network with a similar name and offer their own QR-code;
  • ๐Ÿ”„ Caching: on some devices (Redmi) 9A) QR-The code is saved in the gallery - delete it after use.

To minimize the risks:

  1. Use QR only for trusted devices.
  2. On Xiaomi routers, activate DNS Switch Protection in Settings โ†’ Security;
  3. Check the list of connected devices in Mi Wi-Fi regularly.
  4. For guest access, set up a separate network with a speed limit.

โš ๏ธ Note: On devices with root rights (root) or custom firmware (LineageOS) QR-The code may contain unencrypted network data. ADB-Debug and verify system integrity through Security App.

7 Hidden chips: what else can be done with QR-wi-fi

Function QR-Xiaomi has a few unobvious features:

  • ๐Ÿ“ฒ Quick Mesh Network Configuration: on Routers AX6000 and AX9000 You can connect additional nodes by scanning QR main-route;
  • ๐ŸŽฎ Connecting game consoles: Nintendo Switch and PS5 support scanning QR via camera (save the code as an image);
  • ๐Ÿ–จ๏ธ Seal. QR For guests: generate code in Mi Wi-Fi, save as PDF And print it out - guests can connect without you;
  • ๐Ÿ”„ Settings transfer: when replacing the Xiaomi router, you can export QR-code the old network and import it to the new router for automatic setup.

On smartphones with HyperOS, a function is available "QR-IoT code":

  1. Open Settings โ†’ Connections โ†’ Smart Home;
  2. Select Add the device โ†’ Through QR;
  3. Scan the code from a smart light bulb (Yeelight), robot vacuum cleaner (Mi Robot Vacuum) or another Xiaomi gadget โ€“ it will automatically connect to your Wi-Fi.

For developers: Xiaomi has an undocumented API generational QR-So, for example, a command:

am start -a android.settings.WIFI_QRCODE_MODE -n com.android.settings/.wifi.WifiQrCodeActivity

triggers a hidden menu QR-It's even on devices where it's disabled in the interface. MIUI 14 and HyperOS 1.0.

FAQ: Frequent questions

Can I use it? QR-Wi-Fi code on Xiaomi to connect devices from other brands?
Yes, but with reservations. Android 10 devices+ (Samsung, Google Pixel and others will be able to count QR-code from Xiaomi if it is generated in the Wi-Fi Easy Connect standard. However, on the iPhone (iOS) you will need a third-party application (for example, QR Scanner), as the full-time camera doesn't support this format. QR-The code is universal and should work with any device that supports Wi-Fi scanning. QR (including Windows 11 laptops).
Why did the HyperOS update disappear "QR-code in the Wi-Fi settings?
In HyperOS, the path to function has changed. Now you need: Click the network name in the Wi-Fi list; In the menu that appears, select Share; Confirm the action by fingerprint or PIN-If you don't have a point even after that, reset your network settings (Settings) โ†’ System system โ†’ Reset โ†’ Resetting Wi-Fi, Bluetooth and Mobile Data).
How to generate QR-Wi-Fi code on Xiaomi if you donโ€™t have access to the router?
If you are connected to the network but cannot access the router settings (for example, in a hotel or cafe), use your smartphone: Open Settings โ†’ Wi-Fi; tap on the current network name; choose Share or QR-Confirm the action (you need to unlock the screen) The code generated will only work for the current network, even if it is not yours.
Can we do this? QR-code to connect to Wi-Fi smart watch or fitness bracelet Xiaomi?
Yes, but the method depends on the model: Xiaomi Watch S3 and Watch 2 Pro: support direct scanning of QR through the watch camera (you need to open Settings โ†’ Wi-Fi on the watch and hover over the code); Mi Band 7/8: require an intermediary โ€“ first generate a QR on the smartphone, then scan it through the Mi Fitness app; Redmi Watch 3: connect only via Bluetooth, Wi-Fi on them works only for updates (QR is not supported).
How to Disable the Possibility of Connecting QR-code on the Xiaomi router?
To disable QR connection: Go to the router's web interface (192.168.31.1); Go to Wi-Fi โ†’ Security settings; Uncheck the tick from Allow QR Connection; Save settings and restart the router. On some models (AX3600), this option can only be disabled via the Mi Wi-Fi app in the Additional โ†’ Access Control section.