Forgot your home Wi-Fi password, and it's saved on your Xiaomi smartphone? Don't rush to reset your router or call your ISP. MIUI There are several ways to extract a saved password β from simple (via phone settings) to advanced (using the use of the password). ADB In this article, we will discuss all the current methods for Redmi devices, POCO and Mi lineups, including Android models 12/13/14.
Itβs important to understand that access to saved passwords depends on the version of MIUI and user rights. On new firmware (e.g. MIUI 14+), some methods may be blocked for security reasons. If you canβt find a password through standard settings, donβt despair β there are alternative solutions in the article, including root access and computer connection.
Before proceeding, make sure that:
- π± Your Xiaomi smartphone is connected to the right Wi-Fi network (or previously connected).
- π You have administrator rights if you plan to use them. ADB file manager.
- π» Xiaomi drivers are installed on the computer (for methods with the ADB).
1. How to view Wi-Fi password through Xiaomi settings (MIUI 12 and later)
The easiest way is to use the built-in MIUI tools. Since MIUI 12, developers have added the ability to view passwords directly from the Wi-Fi menu, but with reservations:
β οΈ Note: Some models (e.g. Redmi Note 10 Pro) POCO X3 Pro) this method only works if the phone is not locked by a pattern lock or PIN-If the screen is locked, the system can request unlocking.
Instructions:
- Open the Settings. β Wi-Fi.
- Find the network you want in the list and tap it by its name.
- In the window that opens, click Share your password (or Show it) QR-code).
- The system will request confirmation by fingerprint, PIN-code-key.
- After confirmation, the password will be displayed under QR-code or separate window.
If you don't have a Share Password, your version of MIUI doesn't support that functionality. Go to the next method.
2. Extract the password through QR-code (without root)
If the settings do not display the password directly, but there is an option to Show QR-This is a method that works on 90% of Xiaomi devices with a third-party scanner. MIUI 11β14.
Step-by-step:
- Open Settings β Wi-Fi and tap on the desired network.
- Choose to Show QR-code (or share) β QR-code).
- Take a picture. QR-code by another device (or save a screenshot).
- Use any QR reading app (e.g. Google Lens or QR & Barcode Scanner).
- In the decrypted data, find the WPA line:... - after the colon, there will be a password.
An example of decryption QR-code:
WIFI:S:MyWiFiName;T:WPA;P:my_password_123;;Here. P:my_password_123 β That's the password.
π‘
If QR-code is not scanned, try to increase the brightness of the screen or use Black background mode in the display settings QR.
3. Viewing password through file system (root or ADB required)
On devices with root rights or enabled USB debugging, you can extract passwords from system files, a method that is suitable for advanced users, as it requires working with ADB or a file manager like Root Explorer.
β οΈ Attention: Wrong commands ADB If you are not sure about your actions, use other methods. Also note that on some models (for example, Xiaomi) 13T) Password files are encrypted, and this method will not work.
Instructions for ADB:
- Connect your phone to your PC and enable USB Debugging (Settings β About Phone β MIUI Version β 7 times tap on version β return to Additional β For developers).
- Open the command line on the PC and type:
adb shell
su
cat /data/misc/wifi/WifiConfigStore.xml | grep "PreSharedKey"In the conclusion, find a line of type:
<string name="PreSharedKey">your_password</string>For the file manager with root:
- π Open the way. /data/misc/wifi/.
- π Find the file. WifiConfigStore.xml.
- π Open it with a text editor and find the tag <PreSharedKey>.
What to do if there is no WifiConfigStore.xml file?
4. Use of third-party applications (without root)
If previous methods didn't work, you can use Google Play apps that can extract saved passwords, and it's important that most of these programs require root rights, but there are exceptions.
Top.-3 apps:
| Annex | Need root? | Reference | Features |
|---|---|---|---|
| WiFi Password Viewer | β No. | Google Play | It runs MIUI 12-14, but it doesn't show all networks. |
| WiFi Key Recovery | β Yes. | Google Play | Shows all saved passwords, including hidden networks |
| Network Info II | β No. | Google Play | Displays the current password of the connected network |
How to use:
- π₯ Install the application from the table.
- π Provide the necessary permissions (e.g. Wi-Fi and Warehouse access).
- π Run the scan β the password will appear in the list of networks.
βοΈ Preparation for the use of applications
5. How to find out the password through the router (universal method)
If none of the methods on the phone worked, you can view the password directly in the router settings, which is suitable for any device, including Xiaomi, TP-Link, ASUS and others.
Instructions:
- Connect to the router via cable or Wi-Fi (if the phone is already connected to the network).
- Open the browser and enter in the address bar 192.168.1.1 or 192.168.0.1 (the address is indicated on the sticker of the router).
- Enter the login and password (usually admin/admin or see sticker).
- Go to Wireless Network (or Wi-Fi β Security settings)
- Find the password (or pre-shared key) field and the current key will be displayed here.
If you canβt log in to the router:
- π Try resetting it to factory settings (reset button on the back panel).
- π Contact the provider β they may have remote access to settings.
π‘
Changing your router password will automatically update it on all connected devices, including your Xiaomi.
6. Alternative methods (for advanced users)
If standard methods do not help, you can try:
- π₯οΈ Use of the TWRP: Install custom recovery and copy the file through it /data/misc/wifi/WifiConfigStore.xml You're gonna need an unlocked bootloader.
- π‘ Traffic interception: Wireshark or tcpdump can intercept a Wi-Fi handshake and decrypt a password (requires network security knowledge).
- π§ Network reset: On some Xiaomi models, network reset (Settings) β System system β Reset β Resetting Wi-Fi settings can temporarily show password in logs.
On devices with a Qualcomm chip (such as the Redmi Note 9 Pro or POCO F3), Wi-Fi passwords are stored in the /persist section, which is not available without special tools, in which case only a router reset or contacting the provider will help.