How to scan. QR-Wi-Fi connection code on Xiaomi phone: all ways

Why use it QR-code for connecting Wi-Fi to Xiaomi?

Connecting to a wireless network through QR-The code is not just a convenient, and sometimes the only way to quickly connect your smartphone to the Internet without entering complex passwords. This is especially true for Xiaomi owners, where Wi-Fi passwords often contain random combinations of letters, numbers, and characters that are difficult to remember or manually type correctly.

QR-Wi-Fi codes have become the de facto standard: they are printed on router stickers, placed in public places (cafes, airports, hotels), and even generated in the settings of the phones themselves. MIUI (Xiaomi’s branded shell, this feature is supported out of the box starting with the version MIUI 10 (Android 9+), But many users still don't know how to use it, and in this article, we'll look at all the ways we can do it, from standard tools to third-party applications.

Important: If your Redmi, Poco or Mi doesn't recognize QR-The problem may not be in the phone, but in the code itself. QR With an outdated data format (without specifying the type of encryption), and the smartphone simply does not know what to do with it.

Method 1: Standard scanning through the "Camera"

The easiest method is to use Xiaomi's built-in camera.Recognition feature QR-The code is activated by default on all modern models (starting with the Redmi Note 8 and Mi 9:

  1. Open the Camera app on your smartphone.
  2. Point the lens at QR-Wi-Fi code: The distance must be 10–30 cm – too close or far away and the code is not recognized.
  3. Wait for the notification at the bottom of the screen with a suggestion to connect to the network.
  4. Slip on the notification and confirm the connection.

If no notice appears:

  • 🔍 Check if the camera settings are enabled recognition QR (Camera settings → Additionally. → Scanner. QR-code).
  • 📱 Restart your phone – sometimes the feature gets glitchy after updates.
  • 🔄 Try another one. QR-code (e.g., generated through the Wi-Fi Analyzer application»).

⚠️ Note: On some models (e.g. Poco) X3 NFC) recognition QR It only works in photo mode, not video. If the camera doesn't respond, switch to photography.

Wi-Fi on your phone is enabled

QR-code clear, no blurring

Camera in photo mode (not video)

Recognition QR included-->

Method 2: Xiaomi’s Scanner App

If the camera refuses to scan the code, use the proprietary Scanner app (previously called Scanner «QR Scanner.It is pre-installed on all Xiaomi smartphones and supports not only Wi-Fi, but also other types of Wi-Fi. QR-codes (links, contacts, geolocation).

Instructions:

  1. Open the Scanner app (an icon with a magnifying glass on a blue background).
  2. Allow access to the camera if a request appears.
  3. Put the camera on QR-If you recognize it successfully, you'll see a window with the network data.
  4. Click “Connect” – the phone will automatically join Wi-Fi.

Advantages of this method:

  • 🎯 It works even on older models (Redmi 5, Mi). A1).
  • 🔒 Supports networks with hidden SSID (if QR contains this information).
  • 📊 Shows additional network information (type of encryption, MAC-router).
Xiaomi modelSupport for QR scanning in the cameraSupport through the Scanner
Redmi Note 10/11/12✅ Yes.✅ Yes.
Poco F3/F4/F5✅ Yes.✅ Yes.
Mi 11/12/13✅ Yes.✅ Yes.
Redmi 9A/9C❌ No (only through the scanner»)✅ Yes.
Mi A2/A3 (Android One)❌ No.✅ Yes.
📊 What kind of Xiaomi smartphone do you have?
Redmi Note
Poco
Mi
Other

Method 3: Generation QR-code on another device

If you don't have a physical QR-It's code (like a router), but if you have another phone or computer connected to the same network, you can generate the code yourself. This is useful when you need to connect guests or multiple devices at the same time.

At Xiaomi, it's like this:

  1. Open the Settings. → Wi-Fi.
  2. Tap the name of your network (already connected).
  3. Click "Share" (or «QR-code on new versions MIUI).
  4. Enter. PIN-code or use your fingerprint to confirm.
  5. Show me the generated QR-code.

Android 10.+ (including Xiaomi) QR-network code:

  • 📡 SSID (name)
  • 🔐 Type of encryption (WPA2/WPA3)
  • 🔑 Password (encrypted)
  • 📶 Hidden network (if applicable)

⚠️ Attention: On some firmware MIUI (For example, the global version for the Redmi Note 9 Pro, the Share option may not be available «QR Code Generator».

What to do if there is no “share” option?
If there is no “share” button in the Wi-Fi settings or "QR-code, which means that your firmware MIUI Solutions: 1. Upgrade your phone to the latest version MIUI (Check in the settings → The phone. → System Update. 2. Install an alternative launcher (like Nova Launcher) – sometimes this restores hidden features. 3. Use a third-party generation app QR, manually.

Method 4: Third-Party Apps for Scanning

If standard methods don’t work (for example, on custom firmware or very old models), use third-party scanners.

  • 📱 QR & Barcode Scanner (from Gamma Play) – supports all Wi-Fi formats QR, including obsolete.
  • 🔍 Kaspersky QR Scanner – Checks security codes before connecting.
  • 🌐 WiFi QR Connect – specializes only in Wi-Fi networks, shows details of the connection.

How to use:

  1. Download the app from Google Play.
  2. Open it and allow access to the camera and Wi-Fi.
  3. Put the camera on QR-code.
  4. Confirm the connection in the window that appears.

Important: Some applications (like QR Droid) may ask for unnecessary permissions (access to contacts, location).

💡

Before installing a third-party scanner, check reviews – some apps show ads on top of the camera, which interferes with scanning.

The solution to the problems: why Xiaomi does not scan QR-wifi

If the phone does not recognize the code, the reasons may be as follows:

Problem.Reason.Decision
QR is not recognized at all.Camera contaminated or damagedWipe the lens with a soft cloth. If it doesn't work, check the camera in other applications.
There is an error "wrong format"QR-Older code type (without encryption)Generate new code through 192.168.1.1 (router web interface) or the WiFi QR app.
The phone vibrates but does not connectIn the Wi-Fi settings enabled “Smart connection” (auto-switch to mobile data)Turn off the option in Settings → Wi-Fi → Additional → Smart connection.
QR scanned, but password is not suitableCode generated for another network or password changedCheck the relevance of the code through a network administrator or router.

Another common problem is the conflict with energy-saving modes, where on Xiaomi, aggressive battery optimization can block the scanner.

  1. Go to Settings → Battery and Performance → Battery Consumption Management.
  2. Find the Camera or Scanner app and select No Limits.
  3. Reboot the phone.

💡

If QR-code generated by the router but not scanned, try updating the router firmware - some models (e.g. Xiaomi Mi Router) 4A) Incorrect codes are given on older versions of the software.

Security: Risks of Connecting Through QR-code

Thought QR-codes are convenient, they are not without risks, fraudsters can place fake codes in public places to make sure that they are safe:

  • 🕵️ Track your traffic (man in the middle attack»).
  • 📲 Redirect you to a phishing site.
  • 🔓 Set a malicious profile VPN.

How to defend yourself:

  • 🛡️ Use only. QR-codes from trusted sources (routers, official establishments).
  • 🔍 Before connecting, check the network name (SSID) — It must match what is indicated on the router or check (for example, in a hotel).
  • 🚫 Disable Autoconnection to Open Networks in Settings → Wi-Fi → Additionally. → Auto-connection to open networks.

On Xiaomi MIUI 12+ There is a built-in protection: if QR-The code contains suspicious data (e.g. redirection to the HTTP-The system will show a warning, but don't rely on it alone, always check the details of the connection manually.

FAQ: Frequent questions about QR-Wi-Fi codes on Xiaomi

Can I connect to Wi-Fi via QR-code if the network is hidden (does not broadcast) SSID)?
Yes, but only if QR-The code contains information about the hidden network. QR Wi-Fi supports the H:true parameter, which indicates hidden SSID. If you generate code without that parameter, you can't connect. QR: Use a generator that supports hidden networks (e.g., a generator, «QR Code Generator by Unitag «SSID» Enter the network name and in additional settings, mark “Hidden network».
Why does Xiaomi ask you to enter your password manually after scanning the QR phone?
It happens in three cases: QR-The code is corrupted or incomplete (no password block) and the phone does not support the type of network encryption (e.g., no password block, WPA3 On older models. Wi-Fi settings have enabled the option "Always request password" (disables in Settings). → Wi-Fi → Solution: Check the code with another scanner (e.g., through the ZXing Barcode Scanner) or generate a new one.
How to Connect to Wi-Fi via QR-Xiaomi code with custom firmware (for example, LineageOS)?
On informal firmware, standard camera scanning may not work. Options: Use third-party scanners (recommended "Binary Eye" - it doesn't require the internet to recognize); Install the "MIUI Camera" module via Magisk (if the firmware supports modules); Generate QR in WIFI:T:WPA;S:mynetwork;P:mypassword; and scan it through any application.
Can I scan it? QR-Xiaomi Wi-Fi code if your phone is not connected to the internet?
Yes, you don't need to scan and connect to the Internet. QR-The code leads to the authorization page (like in hotels), you'll need to open your browser to access the network. QR Scanner") check the security of the code over the Internet - without communication, they will issue warnings. For offline scanning, use the built-in "Scanner" from Xiaomi or «QR Code Reader by TWMobile.
Where to find out. QR-Wi-Fi code on Xiaomi Mi Router routers?
On Xiaomi Mi Router routers (including models) 4A, 4C, AX3000) QR-code located: On the lower sticker of the router (near the MAC-In the web interface: open 192.168.31.1, go to “Wi-Fi settings” and click «QR-In the Mi Wi-Fi app: select your network → «If the sticker is erased, generate new code through a web interface or app.