Forgot your home Wi-Fi password, and the Xiaomi Redmi 9T does? Don't rush to reset your router or call your ISP. In this article, 5 working ways to extract your password directly from your phone, including hidden MIUI features and super-user circumvention. We tested each method on Redmi 9T with MIUI 12.5-14 firmware, so the instructions are relevant to your version.
Important: Not all methods are equally secure. For example, using a file manager with access to system folders can cause a Wi-Fi module to fail if configuration files are not edited correctly. And third-party applications from unverified sources often contain malicious code. We will detail the risks of each method and give a checklist for safe execution.
If youβre looking for a way for another Xiaomi model (like the Redmi Note 10 or POCO X3), the principles will be similar, but the paths in the menu may differ. For precise instructions, check the MIUI version in the phone settings: Settings β About Phone β MIUI version.
1. Standard method: via Wi-Fi settings (MIUI 12.5 and later)
The easiest method is to use the built-in password display function in MIUI, which has been available since version 12.5 and works on all Redmi 9T with the updated software, the main condition is that the phone must be connected to the target network at the time of viewing.
Instructions:
- π± Open Settings and go to the Wi-Fi section.
- π Find your network in the list and tap it by its name (not by switch!).
- ποΈ In the window that opens, click on the icon βShow passwordβ (eye or gear, depending on the version).
- π Confirm the action with a fingerprint, pattern lock or PIN-code.
If you don't have a Show Password button, your version of MIUI is outdated. Update your firmware through Settings β About Phone β Update your system, or use alternative methods in the following sections.
β οΈ Note: If the phone is connected to the network through QR-The standard way, the code (Wi-Fi Share function), will not work, in which case the password is not stored in the system in a readable form, you will need to use the method with the file. wpa_supplicant.conf (section 3).
2. via "Modem Modem": if the phone gives away Wi-Fi
If your Redmi 9T has ever worked as an access point (the Internet), the password from the network you are handing out can be found through the modem settings, which is suitable even if the mobile hotspot is now off.
How to check:
- Open Settings β Access Point and modem β Wi-Fi Access Point.
- Look at the Password field, and if it's filled, that's the key to the network you're handing out.
- If the field is empty, tap it and enter any character β the system will show the current password (sometimes it is hidden by stars).
Note that this password doesn't always match the key to your home router, but if you've manually set up the handout and copied the password from the router, the odds are high, and it's also helpful if you've forgotten the password from the phone's mobile hotspot.
π‘
If the password field is inactive, turn on the access point (the switch at the top of the screen), then turn off again - the field will become editable.
3. Reading the file wpa_supplicant.conf (rootless)
All stored Wi-Fi networks on Xiaomi (as well as on other Android devices) are stored in a system file. wpa_supplicant.conf. Access to it is limited, but it can be read through a file manager with system application rights (for example, MiXplorer or the file manager). FX File Explorer).
Step-by-step:
βοΈ Preparation for reading wpa_supplicant.conf
- Download and install MiXplorer (requires permission to install from unknown sources).
- Open the app, go to /data/misc/wifi/ (or /data/misc/wifi/WifiConfigStore/ on newer versions of MIUI).
- Find the file. wpa_supplicant.conf Open it with any text editor.
- Look for blocks of the type: network={ ssid="NAZVANIE_VASHET_SETI" psk="VASh_PAROL" key_mgmt=WPA-PSK } where psk is the password.
β οΈ Warning: Do not edit or delete this file! Changes can result in the loss of all saved networks or failure of the Wi-Fi module. If the file is corrupted, the phone will not be able to connect to networks until the settings are reset.
If the /data/misc/wifi/ folder is empty or the file is not, try an alternative path:
- π /data/vendor/wifi/wpa/ (for MIUI 13/14)
- π /data/misc/apexdata/com.android.wifi/ (firmware)
4.Use of ADB-Teams (for advanced users)
If you have a computer and a USB-Type C cable, you can extract the password through Android Debug Bridge (ADB), which does not require root rights, but you need basic command-line skills.
Instructions:
- Download ADB Tools and unpack the archive.
- On your phone, enable USB debugging: Settings β About Phone β MIUI version (stick 7 times until you say βYouβre a developerβ). Then go back to Settings β Additional β Developers β Debugging on USB.
- Connect your phone to your PC, open the command line in the folder with ADB and perform: adb shell su -c "cat /data/misc/wifi/wpa_supplicant.conf" (If you ask for root, use Adb pull. /data/misc/wifi/wpa_supplicant.conf)
If the command returns a Permission denied error, try an alternative path:
adb shell
su -c "cat /data/vendor/wifi/wpa/wpa_supplicant.conf"| ADB error | Reason. | Decision |
|---|---|---|
| device unauthorized | Unconfirmed access to debugging | There will be a request on the phone - allow debugging |
| no such file or directory | The file moved to another directory | Try the paths from Section 3 |
| permission denied | Not enough rights. | Use Adb Backup (Section 5) |
5. Backup of Wi-Fi settings (without root)
If previous methods didn't work, you can back up your Wi-Fi settings through ADB and extract the password from it, which is safer than accessing system files directly.
How to do this:
- Connect your phone to your PC and execute the command: adb backup -f wifi_backup.ab -shared On the phone will be a request for backup β confirm by entering the lock password.
- Download the Android Backup Extractor archive and unpack wifi_backup.ab: java -jar abe.jar unpack wifi_backup.ab wifi.tar
- In the archive, find the file apps/com.android.providers.settings/d/wifi/WifiConfigStore.xml β it will contain SSID and passwords in encrypted form.
- Use this script to decrypt (Python knowledge is required).
β οΈ Note: Backup copies created through MIUI Backup, which does not contain Wi-Fi passwords in readable form. Use only adb backup.
π‘
The ADB backup method is the only officially supported Google method for extracting passwords without root, but it requires additional decryption actions.
Third-party applications: risks and alternatives
There are dozens of apps on Google Play that promise to show Wi-Fi passwords (like WiFi Password Viewer or WiFi Key Recovery).
- π« Require root rights (on Redmi) 9T It is difficult to get them without unlocking the loader).
- π΅οΈββοΈ Collect data about your networks and send it to developersβ servers.
- π£ May contain malicious code (especially apps outside of Google Play).
If you still decide to use third-party software, follow the security rules:
βοΈ Safe use of applications for Wi-Fi
The only relatively secure solution is SimoneDevβs WiFi Password Recovery. It doesnβt require root, but only works on Android 9 and lower devices (Redmi 9T with Android 10/11 wonβt work).
Frequent mistakes and their solutions
If none of these methods worked, check out these points:
| Problem. | Possible cause | Decision |
|---|---|---|
| No file. wpa_supplicant.conf | The new version of MIUI uses a different storage format | Try the path /data/vendor/wifi/wpa/ or update your firmware |
| ADB does not see the device | Not installed drivers or not included debugging | Install Mi PC Suite or Google USB Drivers |
| The password is displayed as | Limitation of MIUI on older versions | Use the ADB backup method or update the system |
| The app asks for root | Without superuser rights, access is blocked | Use standard methods (sections 1β3) |
If you get an error βI couldnβt read the fileβ when working with the wpa_supplicant.conf, Maybe your version. MIUI It's using encryption on this file, and in this case, it's only going to help:
- π Updating the firmware to the latest version (sometimes the encryption is removed).
- π Unlocking the bootloader and obtaining root rights (risky for beginners).
- π‘ Reset router to factory settings (last option).