It's quite common for smartphone owners to need to connect a new device to their home network but lose or forget the password. Xiaomi And Redmi are in a more advantageous position, since the shell MIUI And HyperOS provides built-in tools to solve this problem. You don't need to find the router box or call your provider if you're already connected to the network from your phone.
Modern versions of the operating system Android (starting with version 10) allow you to not only share access but also visualize connection data. This eliminates the need for complex computer utilities or superuser rights. However, there are some nuances depending on the firmware version and model of your device.
In this article, we'll cover all available methods for restoring network access in detail. You'll learn how to scan a QR code, where to find saved data in the system, and what to do if standard methods don't work. This information will be useful for both beginners and experienced users looking for a refresher.
Using the QR Code Feature in MIUI and HyperOS
The easiest and fastest way to find out your WiFi password Xiaomi — this is the use of the standard QR code generation function. This method works on most modern models, including the Redmi Note, Xiaomi Mi And PocoYou don't need to install third-party software, as the functionality is built into the wireless network management system.
To get started, open Settings your smartphone and go to the section Wi-FiHere you'll see a list of available networks, with the currently connected network marked with an icon or color. Click the arrow or the name of the active network to expand additional connection options.
A card with a QR code will appear on the screen. Below it, the password itself is often (but not always) displayed in plain text. If the text is hidden by asterisks, you'll need a second phone with a camera or a QR code scanning app. Point the camera at the code, and in the notification or via the link, you'll see a connection string, followed by the parameter P: The security key you are looking for will be indicated.
⚠️ Attention: On some firmware versions MIUI The password may not be displayed in plain text below the code. In this case, scanning the code with another device is the only built-in way to obtain it without root access.
View saved networks via Android 12 and higher settings
In newer versions of the operating system Android, which are based on MIUI 13/14 And HyperOSGoogle has changed the way it handles saved networks. Now users can see a list of all networks their smartphone has ever connected to and view their passwords, even if the connection is not currently active.
To use this feature, go to Settings, then select the item Wi-FiFind the menu Saved networks (Sometimes it's hidden in an additional menu of three dots or located at the bottom of the screen.) From the list that opens, select the desired network.
After confirming your identity with your fingerprint, Face ID If you use a QR code or a pattern lock, the system will display information about the network. A QR code will be available, along with, in most cases, a text field with a password that can be copied. This is especially convenient if you need to connect a device that doesn't have a screen for scanning codes.
☑️ Check access to settings
Login to the router's web interface to view the key
If for some reason your phone doesn't display the password, there's always the "golden" method: logging into the router's control panel. To do this, use your smartphone. Xiaomi must be connected to this router's network (via WiFi or cable via OTG). The login address is usually indicated on a sticker on the bottom of the device.
Open your browser and enter the gateway IP address. Most often, this is 192.168.0.1, 192.168.1.1 or 192.168.31.1 for devices XiaomiEnter your administrator login and password. If you haven't changed them, they'll be on the sticker (often admin/admin).
In the router interface, look for a section related to wireless mode. It may be called Wireless, Wi-Fi Settings or Wireless networkIn the field Wireless Password, PSK Key or Password The current key will be displayed. You can see it by unchecking the "Hide" box or simply copying the contents of the field.
| Router brand | Typical IP address | Standard login | Standard password |
|---|---|---|---|
| Xiaomi / Mi | 192.168.31.1 | - (No) | Set at first login |
| TP-Link | 192.168.0.1 | admin | admin |
| ASUS | 192.168.1.1 | admin | admin |
| Keenetic | 192.168.1.1 | admin | 1234 |
| D-Link | 192.168.0.1 | admin | (empty) or admin |
Router interfaces are constantly being updated, and the layout of menu items may change. If you can't find the tab you need, check the official instructions for your model on the manufacturer's website.
Using the Mi WiFi app for Xiaomi routers
To the owners of the ecosystem Xiaomi luckier than others, as the company developed a special application Mi WiFi (or Mi Home (Depending on region and model). This tool allows you to manage the brand's routers directly from your phone, bypassing the browser.
Download the app from Google Play or GetAppsAfter installation, launch it and log in to your account. Mi AccountThe app will automatically find your router on the network if your phone is connected to it. Select your router in the main menu.
In the router control menu, find the section Wi-Fi settingsThe network name and password will be displayed there. You can not only view it but also change it to a more complex one, after which the phone will prompt you to reconnect to the network with the new key.
What should I do if the app doesn't see the router?
Make sure your phone is connected to this router's network, not your mobile data. Also, check that the app has permission to access the local network in your Android settings. Sometimes you need to link the router to your Mi Account in advance via the web interface.
System Files and Root Access: An Advanced Method
For older versions Android (below 10), where there is no QR code function, or in specific cases, access to system files may be required. This method requires root rights (superuser rights) on your Xiaomi or RedmiWithout them, the system will not allow reading the configuration file.
Once you have the rights, you will need a file manager with access to root directories, for example, Root Explorer or RE Manager. Follow the path /data/misc/wifi/. This folder contains a file wpa_supplicant.conf.
Open this file with a text editor. Inside, you'll find entries in the following format:
network={ssid="Network_Name"
psk="WiFi_Password"
key_mgmt=WPA-PSK
}
Here psk — this is your password in cleartext. Be extremely careful when working with system files. Any incorrect configuration changes may result in unstable WiFi operation.
⚠️ Attention: Rooting your device will void your warranty. Xiaomi and may disrupt the operation of banking applications. Use this method only if you fully understand the risks.
Resetting your router as a last resort
If none of the software methods help and the physical sticker with the data is lost, there's a radical but effective solution: resetting the router to factory settings. This will return the username and password to those on the factory label.
Find the button on the router body Reset (often recessed into the case). Press it with a paperclip and hold for about 10-15 seconds until the lights blink. After rebooting, the network name will be the same as on the sticker, and the password will also match the factory setting.
After connecting, you'll likely need to reconfigure your internet connection type (PPPoE, L2TP, or dynamic IP) if your ISP doesn't use automatic configuration. Make sure you have your ISP contract handy to enter the necessary information.
Frequently Asked Questions (FAQ)
Is it possible to find out the WiFi password on a Xiaomi device without rooting on Android 9?
On Android 9 and below, it's impossible to view the saved password in plain text using native tools without root access. The only options are to use a QR code, if the manufacturer has added this feature, or to access the router settings via a browser.
Where is the password file physically located on Android?
System file wpa_supplicant.conf, which stores data about networks, is located along the path /data/misc/wifi/Access to this directory is restricted to regular applications and requires superuser privileges.
Why doesn't the QR code display the password in text?
In some versions MIUI or HyperOS For security reasons, developers hide the text password, leaving only the graphical code. In this case, copy the code or scan it with another device to view the connection details.
Is it safe to use third-party password viewer apps?
Most apps on the Play Market that promise to reveal passwords either require root access or simply duplicate the functionality of a QR code. Be careful: apps that request excessive permissions can collect your personal data.
What should I do if I forgot my router admin panel password?
If you changed your router's administrator password and forgot it, you can't recover it without resetting it. The only way out is to press the button Reset on the router body, which will restore the factory credentials, but will delete all your internet settings.