The situation of connecting a new gadget to the home network and the password is forgotten is familiar to many smartphone owners. Often you are already logged in on one device, such as Xiaomi Redmi, but you can not remember the combination of characters for login on another gadget. Fortunately, modern versions of the Android operating system and the MIUI shell make it easy to extract this information without third-party software.
Unlike the older versions of the system, where access to system files was closed, today the procedure is as transparent as possible for the user. You do not need to be an expert in network technology to cope with this task in a few minutes, but it is important to understand that the methods may vary slightly depending on the version of MIUI and the model of your smartphone.
In this article, we will go into detail all the available ways to obtain the access key. We will look at the standard tools of the system that work on most devices, and also touch on more complex methods for advanced users. On devices with Android 10 and above, the standard method through the use of the Internet is not used. QR-Code is the most secure and basic way to view data.
Use of the function QR-code-in MIUI
The easiest and fastest way available to owners of Xiaomi smartphones with updated firmware is generation. QR-It stores data about the connected networks and lets you share it in a visual format. You don't have to search for hidden menus or use console commands, everything is on the surface of the interface.
To start, open your settings and go to the Wi-Fi section. Find the network you are currently connected to (it will be marked with a lock icon or a tick). Click on the network name or the arrow to the right of it to reveal additional settings. In the window that opens, you will see the βShareβ button or icon. QR-code.
After clicking, the system will ask you to verify your identity by unlocking your screen, fingerprint or Face. ID. It's a security measure that prevents unauthorized access to your data, and once authenticated successfully, it'll appear on the screen. QR-code.
- π± On some versions MIUI The password is displayed directly under the text QR-code.
- πΈ If there is no text, take a screenshot of the code screen.
- π Open the screenshot via the Scanner app or Google Lens to decrypt.
- π In the search result bar after the prefix P: will indicate your password.
Itβs worth noting that global firmware versions often hide the password text and require a second smartphone to scan, but if you only have one device on hand, using a built-in scanner in the Security app or Google Lens through the gallery solves the problem instantly.
View through the settings menu Android 12 and newer
In the more recent versions of the Android operating system that are already coming to the new Xiaomi Redmi, Google has implemented a native password viewing feature.This eliminates the need to take screenshots and use third-party scanners.
To use this method, go to Settings β Wi-Fi. Click on the gear next to the active network name. An eye icon may appear at the bottom of the screen or in the Share menu. By clicking on it, the system will show the hidden password in text form after confirming the identity.
If you don't have an eye icon, try clicking on the "Share" button. The sharing interface that opens sometimes displays a text bar with the access key above. QR-It depends on the specific assembly. MIUI and regional version of the software.
β οΈ Note: Direct password display may be hidden by the manufacturer in some regions. If you don't see the text value, use the scan method QR-code described above.
It's important to understand that this feature only works for networks that the phone has previously connected to and stored in memory, and if the network has been removed from the known list, password recovery is not possible.
π‘
If the eye icon doesnβt appear immediately, try clicking on the βShareβ button and carefully inspect the area above. QR-code β often the password is hidden there in small print.
Using Google Chrome to sync
If you've ever connected your smartphone to WiFi and used Google Chrome browser with sync enabled, the password could have been saved to your Google account.It's a universal method that works regardless of the MIUI version or the Redmi model.
Open the Chrome browser on your phone or any other device that logs into your Google account. Go to your browser settings, select the Password Manager section, or enter the chrome://passwords path in the address bar.
In the list of sites and applications, find the record that matches your WiFi network, usually called the same as the SSID network, or marked "Android." Click on the eye icon next to the saved password. The system will ask you to confirm the action with a biometric or pin code.
| Parameter | Description | Where to find out. |
|---|---|---|
| Name of the network | SSID of your WiFi network | Settings β Wi-Fi |
| Account. | Your Google account | Settings β Accounts |
| Warehouse | Google Password Manager | Chrome settings |
| Authentication | Confirmation of identity | Fingerprint scanner/FaceID |
This method is especially useful if you have forgotten the password from a network youβve been connecting to for a long time and your phone isnβt connected to it now. Google syncs often save that data for years unless youβve manually cleared your password history.
What to do if your password is not synchronized?
The method using ADB for advanced users
For users who are not afraid of the command line and want to access system files without superuser rights, there is a method through ADB (Android Debug Bridge), which requires connecting the smartphone to the computer and having drivers installed.
First, you need to activate USB debugging mode. Go to Settings β About Phone and quickly click on the build number seven times to become a developer. Then, in advanced settings, turn on USB debugging.
Connect your phone to your PC and execute a command to get a list of saved networks.
adb shell dumpsys wifi | grep "mConfiguredNetworks"However, on modern versions of Android, access to the full password text through ADB without root permissions is often limited by security policies. You can see the Network List (SSID), but the keys themselves can be hidden or replaced with asterisks.
βοΈ Preparation for work with ADB
If a standard output contains no passwords, you can try asking for a configuration file directly, but reading it will likely require superuser rights. Either way, ADB remains a powerful tool in the technicianβs arsenal.
Access through Root Rights
The deepest level of access to the system is provided by the presence of Root rights. If your Xiaomi Redmi is unlocked and superuser rights are set to it (for example, through Magisk), you can get direct access to the system file, where all passwords are stored in plain view.
You'll need a root-enabled file manager, like Root Explorer or MiXplorer. /data/misc/wifi/. Here you're interested in the file. WifiConfigStore.xml (on new Android devices, or wpa_supplicant.conf (older versions).
Open this file with a text editor. Inside, you'll find entries in XML or configuration text. Look for the <SSID> tag for the network name and the <PreSharedKey> or psk tag, where your password will be written in its pure form.
β οΈ Note: Making changes to system files can cause the WiFi module to work unstable. edit the read-only file if you are not sure what you are doing.
Root rights give full control, but also removes security guarantees for some banking applications, and once you get the necessary information, it is recommended to hide root access or use special modules to mask it.
π‘
Root access allows you to read system files directly, but requires unlocking the bootloader, which can cancel the warranty and complicate the work of banking applications.
Frequent problems and their solution
When trying to find out the password, users often encounter various technical nuances, QR-The code may not be generated if the network service is not working properly, in which case a simple restart of the WiFi module or a complete restart of the Redmi device helps.
Another common problem is the inability to unlock the screen to confirm the action. If the touch screen is damaged or unresponsive, use the external mouse connection via the device. OTG-Adapter to enter a pattern lock or pin code.
It is also worth mentioning that on corporate networks or networks with an additional security protocol (for example, on corporate networks, 802.1x) method QR-The code may not work or issue complex certificates instead of a simple password.
- π Reboot your smartphone if the settings menu freezes.
- π Use it. OTG-cable.
- πΆ Make sure the network is not corporate with extended protection.
- π Check if there is a restriction on the user profile to view passwords.
Remember that regular updates to MIUI firmware often fix bugs associated with displaying network settings.