Forgot the password from your home Wi-Fi, and the connected smartphone Xiaomi refuses to show it? This situation is familiar to many: the router is set up years ago, the password is written on a piece of paper that has long been lost, and guests or a new device need to connect to the network. Fortunately, owners of Redmi, POCO or Mi phones can restore access in several ways, from official MIUI functions to hidden Android features.
In this article, we will discuss 5 working methods for finding a Wi-Fi password that your Xiaomi already has, without hacking, root rights, or security threats. Importantly, all of these methods only work for networks that your phone is already connected to (stored in your device memory). If you're trying to get a password from someone else's network, it's illegal and technically impossible without physically accessing the router.
Method 1: Viewing passwords through MIUI settings (official method)
The easiest and most secure way to do this is to use the built-in MIUI feature, which allows you to view passwords on saved networks, but it doesn't work on all firmware versions and models. Here's how to do this:
- Open βSettingsβ on your Xiaomi (the gear icon on your desktop).
- Go to the Wi-Fi section.
- Find the network in the list, the password from which you need to know, and tap on its name.
- In the window that opens, select Share or Share (in English firmware).
- The system will request confirmation by fingerprint, PIN-code-key.
- After the authorization will be displayed QR-code and text password underneath.
β οΈ Note: On some models (for example, Redmi Note 10 Pro with the MIUI (13) the password may be replaced by a display only QR-In this case, use the second method.
βοΈ What to do if the βShareβ button is inactive
This method works on most modern Xiaomi devices, but may not be available on older models (such as the Redmi 4X) or custom firmware. If you canβt, move on to the next method.
Method 2: Use of the QR-password-extract
If in the settings MIUI display QR-And the code, and there's no text password, don't despair. QR-And this is how you do it with any scanner:
- Generate. QR-Code for the network through Settings β Wi-Fi β [name] β Share.
- Take a screenshot. QR-code (press the power buttons) + Turning down the volume).
- Open any scanner. QR-codes (e.g. Google Lens or app) QR & Barcode Scanner).
- Scan the saved screenshot.
As a result, you will get the text of the form:
WIFI:T:WPA;S:MyWiFi;P:my_password_123;;Where P:my_password_123 β That's your Wi-Fi password.
π‘
If you donβt have a scanner, you can download it. QR-code to a decryptor site (e.g. ZXing Decoder), but donβt use questionable services β they can store your data.
Method 3: Viewing passwords through configuration file (for power users)
Android Stores All Saved Wi-Fi Passwords in an Encrypted File wpa_supplicant.conf. To read it, you will need root access or ADB-Let's look at both options.
Method A: Through ADB (without root)
This method works on most Xiaomi devices with MIUI 12+, but requires a computer connection:
- Turn on USB Debugging in Settings β About Phone β MIUI version (tap 7 times, then go back to Additional β For Developers).
- Connect the phone to the PC and confirm the debugging permission.
- Open the Command Prompt (Windows) or Terminal (macOS/Linux) and type:
adb pull /data/misc/wifi/WifiConfigStore.xmlThe WifiConfigStore.xml file will be copied to your computer, open it with any text editor (e.g. Notepad++) and find the line:
<string name="PreSharedKey">12345678</string>Here, 123 are Unicode characters corresponding to 123. Use the Unicode converter to decrypt the password.
Method B: Through root conductor
If your Xiaomi has root access, use a root Explorer (such as Root Explorer or Solid Explorer):
- Open the explorer and follow the path /data/misc/wifi/.
- Find the file. wpa_supplicant.conf Open it with a text editor.
- Look for blocks of the view:
network={
ssid="MyWiFi"
psk="my_password_123"
key_mgmt=WPA-PSK
}The password is given in the line psk="
β οΈ Note: Modifying files in /data/misc/wifi/ without root access can cause you to lose all your saved networks!
Method 4: Use of third-party applications (without root)
If the previous methods didn't work, you can use specialized applications, and it's important that many programs on Google Play require root access, but there are also some that work through ADB or backup settings.
One of the apps we tested is WiFi Password Viewer (from Simone Dev), which doesn't require root, but you have to do a few steps:
- Install the app from Google Play.
- Connect your phone to your PC and execute the command:
adb backup -f wifi_backup.ab com.android.providers.settings- In the application, select Restore and specify the path to the file. wifi_backup.ab.
- The passwords of the saved networks will appear in the list.
β οΈ Note: Some antiviruses (e.g. Avast) may block applications that are βpotentially dangerous.β This is a false positive β the application does not steal data, but only reads local settings.
| Annex | Need root? | Works for MIUI? | Reference |
|---|---|---|---|
| WiFi Password Viewer | No (ADB needed) | Yes (MIUI 12+) | Google Play |
| WiFi Key Recovery | Yes. | Yes (all versions) | XDA Developers |
| WIFI WPS WPA TESTER | No. | No (only for testing vulnerabilities) | Google Play |
Method 5: Reset router settings (extreme case)
If none of these methods worked, and Wi-Fi access is critical, you just have to reset your router to the factory settings, which will delete all user settings, including your password, but allow you to reconfigure your network.
Here's how to do it:
- Find the Reset button on the router (usually it is recessed in the case and requires a paper clip).
- Press the button for 10-15 seconds before the lights flash.
- Connect to the router network by default (the name is usually indicated on the sticker, for example, TP-Link_1234).
- Open your browser and enter the address 192.168.0.1 or 192.168.1.1.
- Sign in with the default login/password (usually admin/admin).
- Go to Wireless β Wireless Security and set a new password.
β οΈ Warning: Resetting the router will disconnect all users from the network, including smart devices (cameras, light bulbs, TVs), and after resetting them will have to reconfigure them!
What if the router does not open 192.168.0.1 after resetting?
Security: Why you can't hack someone else's Wi-Fi
The Internet is full of instructions on how to "learn the password from any Wi-Fi" with applications like WIFI WPS WPA TESTER or Aircrack-ng. It's illegal and technically almost impossible on modern routers.
- π WPA3 (New encryption standard, resistant to brute force attacks, can take thousands of years to break even on a supercomputer.
- π« WPS (Vulnerable protocol) disabled by default on most routers after 2018.
- βοΈ In Russia and most countries, unauthorized access to the network is punishable under article 272 of the criminal code (βIllegal access to computer informationΒ»).
- π‘οΈ Modern routers (for example, Xiaomi Mi Router) 4A) Automatically block suspicious connections.
If you need the Internet urgently, you should use the mobile hotspot on your phone or ask for a password from the network owner. Hacking someone else's Wi-Fi is not only illegal, but can lead to a leak of your data (if the hacker software turns out to be a virus).
π‘
The only legal way to get a password from someone else's network is to ask the owner for it, and all other methods violate the law and can damage your device.
Frequent Mistakes and How to Avoid Them
When trying to find out the Wi-Fi password on Xiaomi, users often face typical problems, and here are the most common ones and ways to solve them:
- π The βShareβ button is inactive β Update. MIUI before the latest version or use it QR-code.
- π± ADB can't see the device β Install Mi drivers PC Suite and check the included debugging USB.
- π The app asks for root β Try WiFi Password Viewer with WiFi Password Viewer ADB-backup (method 4).
- π‘ Router doesn't reset β Hold the Reset button for longer (up to 30 seconds) or turn off power for 10 seconds before resetting.
If you use Xiaomi with custom firmware (like LineageOS or Pixel Experience), standard methods may not work.
- Install official MIUI via Fastboot.
- Use it. TWRP file-extract wpa_supplicant.conf.