How to find out the password from Wi-Fi on a Xiaomi smartphone: all working methods

Introduction: Why you need a Wi-Fi password and when you need to know it

The password from your home Wi-Fi network is one of those little things that you can easily forget. You type it in once when you connect a new device, and then your Xiaomi smartphone automatically stores it in memory. But what if you want to connect a guest, set up a smart Mi Home device, or reconfigure your router? In this situation, the logical question is how to view a saved Wi-Fi password on Xiaomi without resetting your router.

Owners of Redmi, POCO or Black Shark smartphones face this problem more often than others because of the features of the MIUI shell. Unlike β€œpure” Android, where passwords can be viewed through settings, in MIUI this functionality is hidden. However, there are at least 5 working ways to access saved passwords, from standard tools to advanced methods for power users. In this article, we will analyze each of them, indicating the pros, cons and possible risks.

It's important to understand that some methods require superuser rights (root), and others only work on certain versions of MIUI. If you're not sure about your technical skills, start with the simplest ways - they will work for 90% of users. For the rest, we have prepared detailed instructions with explanations and warnings.

Method 1: Viewing password through router settings (universal method)

The most reliable and secure way is to go to the router’s web interface, which works independently of the Xiaomi smartphone model and the MIUI version, since the password is not stored in the phone, but in the router itself, and for this you will need any device already connected to this network (even not necessarily Xiaomi).

Instructions:

  • 🌐 Open the browser and type in the address bar 192.168.1.1 or 192.168.0.1 (less commonly 192.168.100.1). IP-address.
  • πŸ”‘ Enter the administrator login and password. admin/admin or admin/1234. If not, look at the sticker on the back of the router.
  • πŸ“‘ Go to Wi-Fi (or Wireless) and the name may vary depending on the router model (TP-Link, Xiaomi Mi Router, Keenetic, etc.).
  • πŸ” In the Security or Security Settings sub-menu, you will see the Password field PSK (You can have a password hidden by dots, click on the eye icon (πŸ‘οΈ), see.

If you are using the Xiaomi Mi Router router, the path will be: miwifi.com β†’ Devices β†’ Wi-Fi settings β†’ Show password. Some firmware will require you to confirm the action via SMS or the Mi Wi-Fi application.

⚠️ Note: If you haven't changed the standard router administrator password, anyone connected to your network can just as easily recognize it. β†’ Post-view management.

πŸ“Š What router are you using?
Xiaomi Mi Router
TP-Link
Keenetic
ASUS
D-Link
Other

Method 2: Use a Wi-Fi configuration file (without root)

In Android, including MIUI) Wi-Fi passwords are stored in a system file wpa_supplicant.conf. It can be accessed without superuser rights, but only if you have a file manager installed with access to system folders (for example, MiXplorer or the likes of the file manager). FX File Explorer).

Step-by-step:

  1. Download and install MiXplorer (free version).
  2. Open the app and follow the path: /data/misc/wifi/WifiConfigStore/ If you don’t have a folder, try the alternative path: /data/misc/wifi/
  3. Find the file. wpa_supplicant.conf Open it with any text editor.
  4. Inside the file will be blocks of the form: network={ ssid="Name of your network" psk="password" key_mgmt=WPA-PSK } Copy the value of the psk parameter – this is the password.

This method works on MIUI 12-14, but in MIUI 15 (and later) the path may differ due to changes in the structure of the system files.

Install MiXplorer from the official website|Enable the display of hidden files|Check the way /data/misc/wifi/|Use root access if the file is not opened-->

Method 3: Password Viewing Apps (root required)

If your Xiaomi has root access, the task is simplified. There are dozens of apps on Google Play that can show all the passwords saved from Wi-Fi.

  • πŸ“± WiFi Password Viewer is a simple application with a minimalist interface. SSID and list-type passwords.
  • πŸ” WiFi Key Recovery supports exporting passwords to a file, useful if you need to move settings to another phone.
  • πŸ› οΈ Root Browser is a file manager with access to system folders. wpa_supplicant.conf.

How to use:

  1. Install one of the applications (e.g. WiFi Password Viewer).
  2. Run it and provide root access when requested.
  3. In the main window, a list of all saved networks with passwords will appear.
  4. Click on the desired network to copy the password to the clipboard.

⚠️ Note: Google Play apps may contain ads or collect data. Only download programs with a rating above 4.5 and downloads above 1 million.

If root access is not available but is only needed to view your password, consider temporarily obtaining rights through Magisk.However, remember that this voids the warranty and may cause problems with MIUI updates.

What is root access?
Root access (or β€œsuperuser rights”) is the ability to manage Android system files at a low level, allowing you to remove pre-installed applications, change system settings and access hidden features. However, root deprives the device of warranty, increases the risk of virus attacks and can lead to a β€œbrick” (breakdown) of the phone if you do not act correctly.

Method 4: ADB commands (for power users)

If you don't have enough file manager and you can't get root, you can use Android Debug Bridge (ADB), a method that requires you to connect your phone to your computer, but doesn't violate the warranty.

What you need:

  • πŸ’» Computer with Windows, macOS or Linux.
  • πŸ”Œ USB-cable (preferably original).
  • πŸ“¦ Installed Xiaomi drivers and package ADB Tools.

Instructions:

  1. Download Platform Tools from the official Android website and unpack the archive.
  2. On the phone, turn on Developer Mode (go to Settings β†’ About Phone β†’ MIUI version and press 7 times on the build number).
  3. Return to Settings β†’ Additional β†’ For developers and activate Debugging over USB.
  4. Connect the phone to your computer and execute: adb shell su cat /data/misc/wifi/WifiConfigStore/wpa_supplicant.conf If the folder is missing, try: cat /data/misc/wifi/wpa_supplicant.conf
  5. In the output, find the block with ssid="your network" and copy the psk value.

If the su command doesn't work, there's no root access on the phone, and in that case, ADB won't help, move on to the next way.

πŸ’‘

If ADB does not recognize the device, try reinstalling drivers via the Mi Flash Tool or using an alternative device. USB-Sometimes it helps to switch the connection mode in the notification curtain (file transfer) β†’ Image transmission).

Method 5: Reset router settings (extreme case)

If none of these methods work, you just have to reset the router to factory settings, which will delete all user settings, including the Wi-Fi password, but allow you to set a new one. Use this method only as a last resort!

How to reset your router:

  1. Find the Reset button on the back of the router (usually recessed in the case).
  2. Take a paperclip or toothpick, press and hold the button for 10-15 seconds until the indicators start flashing.
  3. After restarting, the router will create a network with a factory name (for example, Xiaomi_XXXX) and password (indicated on the sticker).
  4. Connect to this network and reconfigure the router via 192.168.1.1.

⚠️ Note: Resetting the router will disable all connected users, remove guest networks, port port port rules and Parent Control settings. If the router is provided by a provider (for example, Rostelecom or Beeline), after the reset, you may need to re-authorize in your personal account.

MethodRoot is required.DifficultyRisks.It's good for MIUI.
Router settings❌ No.⭐⭐ (simple)No.Any version
File. wpa_supplicant.conf❌ No (but you need a file manager)⭐⭐⭐ (middle-of-the-road)No.MIUI 12–14
Password applicationsβœ… Yes.⭐ (simple)Loss of guaranteeAny version
ADB teams❌ No, but I need a PC)⭐⭐⭐⭐ (difficult)No.Any version
Router reset❌ No.⭐⭐ (simple)Losing all settingsIt doesn't depend on MIUI.

πŸ’‘

The most versatile and secure method is to view your password through your router settings, which requires no changes to your phone, runs on any version of MIUI, and carries no security risks.

Frequent Mistakes and How to Avoid Them

When trying to find out the password from Wi-Fi on Xiaomi, users often face typical problems, and here are the most common ones and ways to solve them:

  • πŸ”„ File. wpa_supplicant.conf No one found. MIUI 15 The path to the file has changed. Try alternative paths: /data/vendor/wifi/WifiConfigStore/ /data/misc_ce/10/wifi/ If there is no file, use it. ADB router.
  • πŸ”’ ADB It gives you a "permission denied" error. Solution: Make sure that the debugging is done. USB Repeat the command with su. If there is no root, this method will not work.
  • πŸ“΅ I can't get into the router's settings: IP-router address (may be 192.168.31.1 for Xiaomi Mi Router) Cable connection (sometimes Wi-Fi blocks access to the panel). VPN or a proxy on the phone/PC.
  • πŸ”„ After the router is reset, the Internet does not work. Possible reason: the provider's settings are not saved (PPPoE, VLAN Contact support or manually set up according to instructions from the ISP.

If none of the methods worked, check if the password is hidden in Mi Cloud.

  1. Open the Mi Cloud and log in.
  2. Go to Devices β†’ [your smartphone] β†’ Backups.
  3. Check if the backup has Wi-Fi data, restore it if necessary.
Can I get a Wi-Fi password on Xiaomi without rooting?
Yes, there are three ways to do it without root: through router settings (the most reliable method). wpa_supplicant.conf (You need a file manager with access to system folders. ADB (requires a computer and enabled debugging USB). Root is only needed for specialized applications such as WiFi Password Viewer.
Why is MIUI not a β€œShow Password” feature like pure Android?
Xiaomi has removed this option for security reasons: MIUI encrypts passwords more than standard Android to make them difficult to access through third-party utilities, and this is done to protect users from data theft when a phone is lost.
Does this work on POCO and Black Shark?
Yes, POCO and Black Shark use the same MIUI shell (or modifications thereof), so all of the methods described are applicable. Except for some POCO models on Android One (e.g., POCO X3 NFC), where standard password browsing can work through Settings β†’ Network β†’ Wi-Fi β†’ Save Networks.
Can I find out the password from the network the phone was connected to?
Technically, yes, if the phone saved this password, but: This violates the law on personal data (Article 272 of the Criminal Code of the Russian Federation - improper access to computer information). MAC-Address and lock device. Modern routers often use WPA3, We don't recommend using these methods to access other people's networks.
What if none of the methods worked?
If all methods are useless: Try connecting to the router via cable and resetting the password through the web interface. Contact the provider - some operators (for example, MTS or Beeline) can reset the password remotely. If the router is rented, replace it with a new one from the provider (usually free).