Forgot your home Wi-Fi password and the router doesn't have a sticker with the data to connect to? Or you need to share a network with a friend, but you're too lazy to look for a box from the router? On Xiaomi Redmi Note 8, there are several ways to extract the saved password, both through standard MIUI settings and with additional tools. The main thing is that you should have physical access to the phone and administrator rights (if we are talking about system files).
In this article, we will discuss 5 current methods, including little-known tricks with the file wpa_supplicant.conf use ADB. Note that some methods require unlocking the bootloader or root rights, but we will show you where it is necessary and where you can do without them. MIUI View passwords in the latest firmware versions (relevant for Android devices) 10+).
1. Method: via MIUI settings (without root)
The easiest method is to use built-in MIUI tools, which works if the phone is already connected to the right Wi-Fi network, and the firmware version is not newer than MIUI 12.5. In the more recent versions, Xiaomi has removed the ability to view passwords through the GUI, but there are workarounds.
Instructions:
- π± Open the Settings. β Wi-Fi.
- π Find the network you want in the list and tap it by its name.
- π In the network information window, click Share Password (or Share in English firmware).
- π Confirm the action with a fingerprint, pattern lock or PIN-code.
If you don't have a Share Password button, your version of MIUI has blocked this function.
β οΈ Note: Some firmwares display after clicking Share password QR-It's a code, not a text password. To see the characters, scan them. QR any scanner (for example, through Google Lens) β the results will be a line with WPA-password.
2. Method: through file wpa_supplicant.conf (need root or ADB)
All saved Wi-Fi passwords on Android are stored in the system file /data/misc/wifi/WifiConfigStore.xml (on new versions) or /data/misc/wifi/wpa_supplicant.conf (You need root access to read them, or ADB If you have a bootloader unlocked but no root, you can do with a temporary one. ADB-access.
Step-by-step instructions for ADB:
- Turn on USB Debugging in Settings β About Phone β MIUI version (shap 7 times, then go back to Additional Settings β For Developers).
- Connect your phone to your PC and execute in the terminal: adb shell su cat /data/misc/wifi/wpa_supplicant.conf
- Find the block with your network name (ssid=..) and next to it will be the psk="your password".
If the file wpa_supplicant.conf Whether it is empty or not, try an alternative path:
adb shell
su
cat /data/misc/wifi/WifiConfigStore.xml | grep -A 10 "your name network"Install Xiaomi drivers on PC| Enable debugging over USB on your phone | Download ADB platform (e.g. from Google) | Connect your phone with the original cable-->
β οΈ Attention: MIUI 13/14 The path to the file may be different. If the above commands did not work, check for the file at the address. /data/vendor/wifi/wpa_supplicant/wpa_supplicant.conf. Also note that after restarting the phone, su rights through ADB They will be reset, and the process will have to be repeated.
3. Method: Using password viewing applications
If you don't want to mess with ADB or root, you can use third-party utilities, and they work on the same principle, reading data from system files, but doing it through a user-friendly interface.
| Annex | Need root? | Features | Reference |
|---|---|---|---|
| WiFi Password Viewer | β No. | Shows passwords only for networks that your phone is currently connected to | Google Play |
| WiFi Key Recovery | β Yes. | Works with all saved networks, export to file | XDA Developers |
| Root Browser | β Yes. | Allows you to open manually wpa_supplicant.conf | Google Play |
| MiXplorer | β No* | File Manager with access to system folders (you need an unlocked bootloader) | XDA Developers |
*MiXplorer can work without root if you have the bootloader unlocked and Mount system as RW option enabled in the application settings.
Examples of WiFi Password Viewer:
- π₯ Install the app from Google Play.
- π Provide all the permissions requested.
- π‘ In the main window, a list of networks with passwords will appear (tap over the network to copy the password).
π‘
If the app doesn't show passwords, try turning off the Wi-Fi on your phone, then turn it back on. Sometimes this resets the cache and allows the utilities to re-read the data.
Method: through MIUI backup (without root)
Little-known life hack: MIUI when you back up through Settings β Additional β Backup saves your Wi-Fi passwords unencrypted. If you have an old backup, you can extract data from it.
How to do this:
- Create a backup (select System Settings and Wi-Fi).
- Connect your phone to your PC and copy the backup file from the MIUI/backup/AllBackup folder.
- Rename the file extension from.bak to.zip and unpack the archive.
- Open the file. system_app_wifi.xml In any text editor, there will be SSID and passwords in format: <string name="NetworkList">{"ssid": "your network", "psk": "your password"}</string>
β οΈ Note: In the latest versions MIUI 14 The passwords in the backups can be encrypted. system_app_wifi.xml Instead of a password, random characters are displayed, this method will not work.
5. Method: Reset the router (if other methods did not help)
If none of these methods worked, the radical solution is to reset the router to factory settings, which would return the standard password that is usually on the device sticker, and the downside is that all personal router settings (including network name, guest access, and device priorities) would be reset.
How to reset your router:
- π Find the Reset button on the back of the router (usually recessed in the case).
- π Take a paper clip or toothpick, press and hold the button for 10-15 seconds.
- π Wait for the reboot (all indicators will light up).
- π The password will be reset to a standard one (for example, admin or a combination from the model number).
Standard passwords for popular routers:
| Manufacturer | Standard login | Standard password |
|---|---|---|
| TP-Link | admin | admin |
| Xiaomi | admin | sticker |
| ASUS | admin | admin |
| Keenetic | admin | 12345678 |
π‘
Resetting the router is the last option, if other methods have not worked, and after resetting, you have to reconfigure the network, so try all the software methods first.
Frequent Mistakes and How to Avoid Them
When trying to find out the Wi-Fi password on the Xiaomi Redmi Note 8, users often face typical problems.
- π« Error "No access rights" when reading wpa_supplicant.conf: Solution: Get root rights through Magisk or use it ADB with the command su (needs an unlocked bootloader).
- π File. wpa_supplicant.conf The solution: Check alternative paths (/data/vendor/wifi/...) Use MiXplorer with Mount System as RW.
- π± Apps don't show passwords: Solution: Update your firmware to the latest version or try another application (e.g. WiFi Key Recovery instead of WiFi Password Viewer).
- π MIUI Asks to unlock Xiaomi account when trying to share password: Solution: Unlock account in Settings β Xiaomi account or use it ADB.
If you see a message βThis network requires web authenticationβ it means that the network uses port authorization (for example, at hotels or airports), and the password is not stored in the phone.