Forgot your home Wi-Fi password and no data sticker on your router? If you have a Xiaomi smartphone (including Redmi, POCO or Black Shark models), you can easily recover your password directly from your phone without resetting your router or calling your provider. In this article, weβll look at all the working methods from standard Android settings to hidden system files and third-party applications.
Important: the methods only work if the phone is already connected to the right Wi-Fi network. If the network is saved but the connection is severed (for example, due to a change in the password on the router), some methods may not work. Also note that on some MIUI firmware (especially global versions), password access is limited by default.
Before you start, check:
- πΆ The phone is connected to the target Wi-Fi network (network icon is active in the notification panel).
- π There is no guest mode or limited profile on the device.
- π± Version. MIUI not older than 12-14 (on very old firmware, the paths in the menu may differ).
1. Standard method: via Wi-Fi settings (MIUI 12β14)
The easiest method is to use the built-in MIUI menu.It works on most modern Xiaomi smartphones, including the Redmi Note 10/11/12, POCO X3/X4/X5, Mi 11/12/13 and other models with current updates.
Instructions:
- Open the Settings app (cog icon).
- Go to the Wi-Fi section.
- Tap the name of the current network (under the word "Connected").
- In the window that opens, click Share your password (or Share on English firmware).
- Confirm the action with a fingerprint, PIN-code-key.
After that, it will appear on the screen. QR-If there is no Share Password, it is disabled on your firmware (see alternative methods).
π‘
If QR-The code is not scanned, so try to take a screenshot of the password screen and zoom in on the gallery, and sometimes the password text is cut off at the edges, but it remains readable.
2. Alternative method: via Wi-Fi configuration file
For firmware without the function "Share password"
If there is no option to display the password in the settings, you can extract it from the system file. wpa_supplicant.conf. This file stores all stored networks and their passwords in encrypted form, but on devices with root rights or through the Internet. ADB It's readable.
Warning: the method requires an unlocked bootloader or superuser right. On unlocked phones, it won't work!
Steps for root devices:
- Install any file manager with root support (such as Solid Explorer or FX File Explorer).
- Open the path: /data/misc/wifi/WifiConfigStore/
- Find the file. wpa_supplicant.conf Open it with a text editor.
- Inside the file, look for blocks of the form: network={ ssid="Name network" psk="password" key_mgmt=WPA-PSK }
If root-rights are not available, but USB debugging is enabled, you can use ADB:
adb pull /data/misc/wifi/WifiConfigStore/wpa_supplicant.conf
adb shell cat /data/misc/wifi/WifiConfigStore/wpa_supplicant.confInstall Xiaomi drivers on PC|Enable debugging on USB developer-setting|Connect your phone to your PC via cable|Run the command line in the folder with ADB-->
What to do if the file wpa_supplicant.conf hollow?
3. Use of third-party applications
If the system methods donβt work, Google Play apps will come to the rescue, reading passwords from system files and displaying them in a convenient way. Importantly, many of these programs require root rights, but some do not (on devices up to Android 10).
Top.-3 tested applications:
- π WiFi Password Viewer - shows passwords for all saved networks. Works without root on Android 9 and below.
- π‘ WiFi Key Recovery β Supports WiFi Key Recovery MIUI And other firmware. It requires root.
- π Root Browser β file manager with access to system folders (needed for manual search) wpa_supplicant.conf).
Warning: apps without root may not show passwords on newer versions of Android (11+) due to security restrictions, and avoid programs with suspicious permissions (such as accessing SMS or contacts).
Official global MIUI| Official Chinese MIUI|Castom (LineageOS, Pixel Experience, etc.)|I don't know-->
4. Viewing the password through the router (if you have access to its settings)
If your phone is not connected to the network, but you have access to the router (for example, via a cable or other gadget), the password can be found through the router's web interface. This method is universal and works independently of the smartphone model.
Instructions:
- Find out. IP-router address: usually 192.168.0.1 or 192.168.1.1 (indicated on the device sticker).
- Open your browser on any device connected to this Wi-Fi and enter the IP in the address bar.
- Enter the login and password (often admin/admin or admin/password by default).
- Go to Wireless (or Wi-Fi, Wireless Network) section.
- Find the Password, PSK, or Network Key field, and the current password will be there.
On Xiaomi routers (Mi Router), the password can be seen in the Mi WiFi mobile application without logging in to the web interface. Go to the "My Network" section β "Wi-Fi settings".
| Mark the router | Address for entry | Default login/password |
|---|---|---|
| Xiaomi Mi Router | 192.168.31.1 | Specified on the sticker (or password from Xiaomi account) |
| TP-Link | 192.168.0.1 or tplinkwifi.net | admin/admin |
| ASUS | 192.168.1.1 or router.asus.com | admin/admin |
| Keenetic | 192.168.1.1 or my.keenetic.net | admin/1234 |
5. Password recovery via MIUI backup
If youβve ever backed up your settings through Settings β About Phone β Backup, the Wi-Fi password could be saved in the archive. This method is suitable for devices with MIUI 10β14.
How to extract the password:
- Connect your phone to your PC and copy the backup file (usually in the MIUI/backup/AllBackup folder).
- Rename the file by replacing the extension from.bak to.zip.
- Unclose the file and find the wifi folder.
- Inside, youβll have a WifiConfigStore.xml file β open it with a notebook and look for the <string name="PreSharedKey">Password</string> line.
β οΈ Attention: Backup copies MIUI If you've given a password when you're creating a backup, you can't extract it without it, and it doesn't work for copies created through Google Drive or third-party apps.
6. Password reset on the router (extreme case)
If none of these methods worked, you just have to reset the router to the factory, and that will delete the current Wi-Fi password, and you can set a new one, and the only way to do that is to reconnect all the connected devices.
How to reset your router:
- Find the Reset button on the back of the router (usually recessed in the case).
- Press and hold it for 10-15 seconds (until the lights start flashing).
- After restarting the router, connect to the network with the name Xiaomi_XXXX (Or similarly, it will be without a password.
- Open the routerβs web interface (see section 4) and set a new password in the Wi-Fi section.
β οΈ Note: Resetting the router will also reset all personal settings β IP-Linking, port forwarding, guest networking, and parental controls. If you don't remember these parameters, you better try other ways first.