The situation when you need to connect a new device to a wireless network, but the password is forgotten or lost, is familiar to many users. It often happens that a smartphone that is already connected to the router “remembers” access, but it is impossible to enter this data on a tablet or laptop. Fortunately, the operating system Android in recent versions has become more user-friendly, allowing you to view saved security keys directly in the settings.

Previously, obtaining such information required complex manipulation of superuser rights or installation of specialized applications, which could pose a threat. data security. Now the standard interface offers built-in tools for restoring access. In this article, we will analyze all the current and legal ways to find out the Wi-Fi password on an Android phone, using only standard system functions.

It is important to understand that the methods may differ slightly depending on the manufacturer of your gadget. Shells MIUI, OneUI or OxygenOS have their own menu features, but the general principle of operation remains the same for the entire ecosystem. We will look at universal ways to solve the problem that are suitable for most modern devices.

Standard capabilities of Android 10 and later

Starting with the tenth version of the operating system, Google has introduced a QR code generation function to quickly connect guests. The same mechanism allows the device owner to see the text version of the password. This is the simplest and safest method that does not require the installation of third-party software.

First, you need to go to the settings menu and select the section responsible for wireless connections. The path may look like Settings → Network and Internet → Wi-Fi or Connections → Wi-Fi depending on the model of your smartphone. Find the network to which you are already connected and click on the gear icon next to its name.

In the network details menu that opens, there is often a “Share” or “QR code” button. By clicking on it, the system will ask you to confirm your identity using biometrics (fingerprint or Face ID) or screen unlock PIN code. This is a necessary security measure to ensure that third parties cannot access your network data.

After successful authentication, a QR code will appear on the screen. Below it, as a rule, the password itself is displayed in small font. If the text is not immediately visible, take a screenshot and open the image in the Google Lens application or any similar QR code scanner that recognizes the text in the picture.

⚠️ Attention: On some smartphone models (for example, older versions of Xiaomi or Huawei shells), the password may be hidden by asterisks even in the QR code menu. In this case, you will need to use the method with a screenshot and text recognition, since the system does not allow you to simply copy numbers.

📊 What version of Android do you have installed?
Android 10
Android 11
Android 12 and above
I don’t know

Using Google Lens and screenshots

If the password is not displayed in the text under the QR code, the built-in image recognition function will come to the rescue. This method works on almost all devices that have access to the camera and gallery. It allows you to “extract” text information from a graphic image.

Take a screenshot of the QR code screen as described in the previous section. Then open the default Gallery or Google Photos app. Find the photo you just took. In the action menu (usually the “More” button or the eye/camera icon), select the “Search by image” or “Lens” option.

The system will analyze the image and highlight text areas. If the password has been encoded into a QR code, the algorithm can often decrypt it and display it as a plain-text string. In some cases, you need to click on the QR code itself in the image to see hidden data.

💡

Make sure that in the screenshot the QR code is completely visible and not cut off by the edges of the screen - this is critical for successful recognition by Google Lens algorithms.

This method is especially effective when you need to transfer the password to a device without a screen, such as a smart speaker or printer, but First you need to find out the combination of symbols itself. This is a universal solution that works regardless of the phone brand.

View through the router settings

If the phone does not show the password directly, you can always turn to the source of Internet distribution - your router. To do this, you need to go to the device admin panel. This requires that your phone be connected to the Wi-Fi network for which you want to find out the password, or to the LAN port of the router.

Open any browser on your smartphone (Chrome, Firefox, Samsung Internet). In the address bar, enter the router's IP address. Most often this is 192.168.0.1 or 192.168.1.1. The exact address is usually written on a sticker on the bottom of the router along with the username and password for logging into the admin panel.

After entering the administrator credentials (often admin/admin), the web interface will open. You need to find the section related to wireless network. It may be called "Wireless", "Wi-Fi", "Wireless Mode" or "WLAN". Inside, look for the “Security” subsection.

The current combination will be indicated in the “Password/PSK” field. Often it is hidden by dots. There may be a “Show” button or a checkbox nearby. If there is no such button, you can temporarily change the password to a new one, save the settings, and then, if necessary, return the old one (if you suddenly remember it) or leave the new one.

Router brand Standard IP Default login Default password
TP-Link 192.168.0.1 admin admin
ASUS 192.168.1.1 admin admin
D-Link 192.168.0.1 admin (blank)
Keenetic 192.168.1.1 admin 1234

⚠️ Attention: If you changed the password to enter the router settings earlier and forgot it, the standard login will not work. In this case, you will have to reset the router to factory settings (Reset button), which will lead to the need to reconfigure the Internet from the provider.

What to do if the router’s IP address does not open?

Make sure that you are connected to the network of this router. If you are using mobile data, the page will not load. Also check if your antivirus is blocking access to local addresses.

ADB commands for advanced users

For those who are not afraid of the command line and want to access system files without obtaining root access, there is a USB debugging method. This method requires a computer and an installed driver ADB (Android Debug Bridge).

First you need to activate developer mode on your phone. Go to Settings → About phone and quickly click 7 times on the "Build number" item. After this, a new section “For Developers” will appear in the settings menu. Enable the "USB Debugging" item there.

Connect the phone to the PC with a cable. On your computer, in the command line (terminal), enter the command to check the connection: adb devices. A request for debugging permission will appear on your phone screen - confirm it. Next, use the command to output the contents of the Wi-Fi configuration file:

adb shell dumpsys wifi | grep"mConfigKey"

Or, depending on the Android version and firmware, a more complex storage request may be required:

adb backup -f wifi.ab -noapk com.android.providers.settings

This method is less universal, since in modern versions of Android (11+) access to Wi-Fi configuration files via ADB without root access is severely limited by security policies. However, on devices with Android 9 or 10, this method often works flawlessly, allowing you to pull keys from the system storage.

☑️ Preparing to use ADB

Done: 0 / 4

Third-party applications and their limitations

B There are many applications in the Google Play store that promise to show passwords. However, it is important to understand how they work. Applications without root access cannot directly read the system file wpa_supplicant.confwhere the keys are stored. Therefore, they often show QR codes of already connected networks or use databases of shared passwords.

Rooted applications such as WiFi Password Viewergain full access to the system. They can instantly show all saved networks. But getting superuser rights (Root) is a complex procedure that will void the device's warranty and can lead to system instability.

Be careful with applications that require strange permissions. Many of them simply collect data about your location and lists of networks around you to supplement their databases, without giving you anything in return. Using such tools carries the risk of leaking personal information.

If you have root access, you can use a file manager with access to system folders (for example, Root Explorer). Follow the path /data/misc/wifi/ and open the file WifiConfigStore.xml or wpa_supplicant.conf. Inside you will find tags <passphrase> or psk="", where the required password is stored in clear text.

💡

The use of third-party applications is justified only if you have root access; otherwise, they are ineffective and may be unsafe for your data.

Restoring access without a password

If none of the methods helped, or you are not the owner of the network and cannot ask the administrator for the password, the option to reset the router remains. This is an extreme measure, applicable only if you have physical access to the device and are ready to reconfigure the Internet.

Locate the recessed button on the router body Reset. Press it with a paper clip and hold it for about 10-15 seconds until the lights blink. The router will return to factory settings. The Wi-Fi password will become as indicated on the sticker below (or disappear if the network was open by default).

After this, you will need to go to the router settings (as described above) and re-enter the data from the provider (PPPoE/L2TP login and password), if required. This data is usually specified in the contract with the provider or in your personal account on the telecom operator’s website.

⚠️ Attention: Resetting the router will disconnect all users. Make sure that you have an agreement with your provider at hand, since without authorization data (PPPoE, VLAN, etc.) the Internet may not work even after a reset.

In conclusion, it is worth noting that modern smartphones provide enough tools for managing network connections. Most often, it’s enough just to look at the QR code in the settings to solve the problem of a forgotten password, without resorting to complex technical tricks.

Is it possible to find out the password for your neighbor’s Wi-Fi through your phone?

No, there are no legal ways to hack someone else’s Wi-Fi from a phone. Applications that promise this are either viruses or use vulnerability databases that have long been closed. Connecting to someone else's network without the owner's permission is illegal.

Why is there no password under the QR code on Android 12?

In some shells (for example, pure Android or older versions of MIUI), the password text may be hidden for security purposes. In this case, only a screenshot and recognition through Google Lens or entering the router settings helps.

Do you need the Internet to view the saved password?

No, the password is stored in the phone's memory. To view it through settings or files, you do not need the Internet, you just need the phone to be turned on and unlocked.

Where is the file with Wi-Fi passwords on Android stored?

The system file is located along the path /data/misc/wifi/. However, access to this folder is only possible with superuser rights (Root). Without them, the system will block read access to this file.