Forgot your home Wi-Fi password and it's not on your router's box? Or you need to connect a new device, but you're too lazy to look for a piece of code? On Xiaomi Redmi smartphones (including the Redmi Note 12 Pro, Redmi 10, Redmi 9A and others), there are several ways to extract the saved password from the Wi-Fi - both through standard settings and using third-party tools.
In this article, we will discuss 5 working methods, including hidden functions. MIUI, work with system files (no root!) and use of specialized applications. Please note: on some firmware (for example, the global version) MIUI 14) some of the methods may be limited β we will specify alternatives for such cases, and you will also learn how to bypass the blocking of password viewing on the latest versions. MIUI, Xiaomi has removed direct access to this feature.
1. Standard way through Wi-Fi settings (not working on all versions of MIUI)
The easiest way to do this is to look at the password right in the menu of the connected networks. Unfortunately, in the latest versions of MIUI 13/14, Xiaomi removed this option from the interface, but on older firmware (MIUI 12 and below) or on some regional versions, it is still available.
Open the Settings. β Wi-Fi and tap the name of the current network (not the switch!) If you see Show Password or Share (on firmware in English) - you're in luck! PIN-The lock screen code or fingerprint, and then it shows the password. If there's no lock, read on.
- π± It works on: Redmi Note 8/9/10 s MIUI 12 And below, some global firmware.
- π Required: PIN-phone-code.
- β Not working: MIUI 13/14 (Chinese and European versions, unless there is a Share clause.
β οΈ Note: If you see the Share button, but after entering PIN-code appears QR-code instead of a text password, that's not going to work.
2. Viewing the password through QR-code (alternative to MIUI 13/14)
Starting with MIUI 13, Xiaomi has replaced the display of text password to generation QR-code to connect other devices quickly. QR-You can extract the original password:
- Open Settings β Wi-Fi and tap on the connected network.
- Select Share (or Share on Russian-language firmware).
- Enter. PIN-phone lock.
- Take a picture of the one that appears. QR-code or copy its image.
- Use any QR scanning application (such as Gamma Play's QR & Barcode Scanner) and scan the code. The results will show a line of the form: WIFI:S:MyWiFi;T:WPA;P:your password; where P:your password is the key you want.
If you do not want to install third-party scanners, you can decrypt QR-code online through services like ZXing Decoder, which works on all versions. MIUI, including recent updates.
π‘
If QR-The code is not scanned, try to brighten the screen or take a photo from another angle, sometimes helping to convert the image to black and white before scanning.
3. Extract password from system files (without root)
Android Stores Wi-Fi Passwords in an Encrypted File wpa_supplicant.conf, But on Xiaomi's stock firmware, access to it is limited, but there is a workaround through backup settings, which works on most Redmi models, including the Redmi Note. 11 Pro, Redmi A1 others.
Instructions:
- Install a Explorer with access to root folders, such as FX File Explorer or Solid Explorer (enable the option to Show Hidden Files in the application settings).
- Go to /data/misc/wifi/WifiConfigStore/ This should be the WifiConfigStore.xml file.
- Copy this file to your computer or to the cloud (e.g. Google Drive).
- Open the file with any text editor (e.g. Notepad++) and find the line: <string name="ConfigKey">your network</string> <string name="PreSharedKey">"your password"</string> The password will be specified between PreSharedKey tags in encrypted form (e.g. "12345678" this is the password 12345678).
| Model phone | The path to the file | Need root? |
|---|---|---|
| Redmi Note 10/11/12 | /data/misc/wifi/WifiConfigStore.xml | No. |
| Redmi 9/9A/9C | /data/misc/wifi/WifiConfigStore/ | No. |
| Redmi 8/8A (MIUI 11) | /data/misc/wifi/WPA_SUPPLICANT/ | Yes. |
| Redmi K40/K50 | /data/vendor/wifi/... (different) | Yes. |
β οΈ Attention: MIUI 14 Xiaomi has added additional encryption to the WifiConfigStore.xml. If the password is displayed as a set of characters PSK="a1b2c3..." β It needs to be decoded through online services like Hex to. ASCII (select encoding UTF-8).
4.Use of ADB (for advanced users)
If previous methods failed, you can extract the password through Android Debug Bridge (ADB), a tool for debugging Android, which requires connecting the phone to a computer, but does not need root rights.
Step-by-step:
Install ADB on your computer (download from [the official Android site](https://developer.android.com/studio/releases/platform-tools)) |Enable Developer Mode on your phone (7 times tap on the MIUI version in Settings β About phone) |Activate USB Debugging in Settings β Additional β For developers |Puter phone to PC over USB (select File Transfer Mode)
-->
- Open the command line (Windows) or terminal (macOS/Linux) in the adb folder.
- Enter the command to check the connection: Adb devices must appear serial number of your Redmi.
- Run the command to get a list of saved networks: adb shell su -c "cat /data/misc/wifi/WifiConfigStore.xml" If the error appears permission denied, try the alternative command: adb shell "cmd wifi list-networks"
- Find your network in the output and copy it to networkId.
- Get the password command (replace X on networkId): adb shell "cmd wifi get-network-info X" Look for the line preSharedKey=your password.
If CMD Wifi commands donβt work, try this alternative method (requires MIUI 12 and below):
adb pull /data/misc/wifi/WifiConfigStore.xml C:\temp\The file is copied to the C:\ drive, and then it can be opened and the password found as described in Section 3.
What if ADB issues a "device unauthorized" error?
5. Third-party applications for viewing Wi-Fi passwords
If you don't want to mess with files and commands, you can use specialized applications, and it's important that most of them require root rights, but we've picked up those that work without them (with limitations).
- π² WiFi Password Viewer (from Simone Dev) - shows passwords for networks the phone has previously connected to. MIUI 14 may require additional permissions through ADB: adb shell pm grant com.simone.wifipasswordviewer android.permission.READ_WIFI_CREDENTIAL
- π WiFi Key Recovery β works on some Redmi models without root, but requires backup via Titanium Backup (paid).
- π‘οΈ Root Browser β If you have root, the app will give you access /data/misc/wifi/ manually.
β οΈ Note: Apps like the WiFi Password Show or the WiFi Password from Google Play often contain malicious code or display ads. APK only from verified sources (e.g. APKMirror). MIUI 14 Many utilities stopped working due to the tightening of security policy Xiaomi.
π‘
On the phones with MIUI 14 and later, the only reliable way without root is the method with QR-code (section 2), or ADB (Third-party applications are most often blocked by the system.
Frequent problems and solutions
Not all methods work equally well on different Xiaomi Redmi models, and here are the typical errors and their solutions:
| Problem. | Possible cause | Decision |
|---|---|---|
| No Share item in Wi-Fi settings | MIUI 13/14 with limited interface | Use the method with QR-code (section 2), or ADB (section) |
| WifiConfigStore.xml file is empty or encrypted | Xiaomi has changed the structure of password storage in new firmware | Try scanning. QR-code ADB |
| ADB issues permission denied | No rights to read system files | Run the adb root command in front of the main teams |
| The app doesn't show passwords | MIUI blocks access to Wi-Fi API | Give permissions through ADB (see section 5) or use QR-code |
If neither method works, there are two options:
- Reset your router settings (click the Reset button on the back for 10 seconds) and set a new password.
- Connect to the router via cable (via Ethernet port) and go to the web interface at the address 192.168.1.1 or 192.168.0.1 (Default logins/passwords are usually admin/admin).