Having tried to connect a new gadget to your home network, you suddenly discover that the Wi-Fi password is forgotten and there is nowhere to enter it.

Starting with the tenth version, Google engineers have introduced a native function that allows you to view saved access keys directly in the system menu. You don't need to download additional software, unlock the bootloader, or use complex console commands. It is enough to have access to the settings of your gadget and go through a few simple steps to recover lost information.

System settings Android 10 and later

The easiest and safest way to recover a forgotten wireless network key is available to users of devices with operating system version Android 10 and higher. The interface may differ slightly depending on the manufacturer of your smartphone, be it Samsung, Xiaomi or Pixel, but the logic of action remains the same for everyone.

You need to go to the main settings menu and select the section responsible for connections. Here you will find a list of all the networks your phone has ever connected to. The system stores this data in encrypted form, but provides the user with a legal way to decrypt it through the visualization of a QR code.

Find the desired access point in the list and click on the gear icon or arrow next to the network name. In the connection details menu that opens, you will see a โ€œShareโ€ button or icon QR code. Clicking on this button will prompt you to confirm your identity.

โš ๏ธ Attention: To view your password, the system will require confirmation of your identity. This could be entering a screen lock PIN code, a pattern, or scanning a fingerprint. Without this authorization, access to sensitive data is impossible.

After successful authentication, a QR code containing an encrypted connection string will appear on the screen. Under this code, as a rule, the password itself is displayed in text form in small print. If the text under the code is unreadable or hidden, you can use a second smartphone with a camera to scan this image.

๐Ÿ’ก

If the password is not displayed in the text under the QR code, simply scan it with the camera of another phone. A connection line will appear in the notification or browser, where your password will be indicated after the P: symbol.

Using a QR code for decryption

The method using a QR code is a universal standard for transferring network settings. This code is generated according to the WPA specification, which includes the encryption type, the network name (SSID) and the security key itself. Understanding the structure of this code helps you understand why it works on any device.

When you press the (Share) button, your smartphone generates a format string WIFI:S:MyNetwork;T:WPA;P:MyPassword;;. The letter P in this sequence just means Password. It is this part of the line that needs to be extracted, if it is not written explicitly under the graph.

You do not need specialized scanners to read the information. The built-in Camera application in most modern smartphones recognizes Wi-Fi codes automatically. Point the lens of the second device at the screen of the first, and the system will offer to connect to the network, displaying its name.

  • ๐Ÿ“ฑ Point the camera of the second phone at the QR code on the screen of the first device.
  • ๐Ÿ” Click on the pop-up notification about connecting to the network.
  • ๐Ÿ“ In some browsers or scanners, when you go to link like wifi://... The password may appear in the address bar or in the connection details.

If the standard camera does not show details, use Google Lens, which is often built right into the camera application or accessible through the search widget. This tool can highlight text from images, allowing you to copy the alphanumeric combination under the code.

๐Ÿ“Š What version of Android is installed on your main phone?
Android 9 and below
Android 10
Android 11
Android 12 and later

Features of different interfaces manufacturers

Despite the single Android base, manufacturing companies are actively modifying the system shell, adding their own visual solutions. This can be confusing for a user accustomed to a โ€œcleanโ€ interface. Let's consider where to look for the treasured button in popular firmware.

In smartphones Xiaomi with the MIUI or HyperOS shell, the path looks like this: Settings โ†’ Wi-Fi โ†’ Click on the network name โ†’ QR code. The password here is almost always duplicated in the text under the image, which makes the process as simple as possible and does not require additional actions.

Devices Samsung with the One UI shell have a slightly different logic. After entering the Wi-Fi settings, you need to click on the gear icon next to the active network, and then select the โ€œQR codeโ€ button at the bottom of the screen or in the top menu. Some versions of the software require you to click the โ€œShareโ€ button to generate an image.

Smartphones Google Pixel and devices with close to stock Android offer the most concise interface. The โ€œShareโ€ button is immediately displayed in the network menu; when clicked, a code and a text password appear below it. The developers here have focused on minimalism and speed of access.

Brand / Shell Path to settings Password display
Xiaomi (MIUI/HyperOS) Settings โ†’ Wi-Fi โ†’ Network name Text under the QR code
Samsung (One UI) Settings โ†’ Connections โ†’ Wi-Fi โ†’ Gear You need to click โ€œShareโ€
Google Pixel (Stock) Settings โ†’ Network and Internet โ†’ Wi-Fi Text under QR code
Huawei (EMUI) Settings โ†’ Wi-Fi โ†’ Network name Show QR code button
๐Ÿ’ก

The location of controls may change after major firmware updates. If you do not find the button right away, use the search in the settings by entering the word โ€œQRโ€ or โ€œShare.โ€

What to do on older versions of Android (up to 10)

Owners of devices with version Android 9 Pie and below are faced with security restrictions introduced by the system developers. In these versions, files with network configurations are stored in the system partition /data/misc/wifi, access to which is prohibited for ordinary users without superuser rights (root).

It is impossible to view the password through the standard menu without obtaining root access. The system simply does not provide such an interface. However, there are workarounds that do not require hacking the system, but require access to the router settings.

If your phone is connected to the network, you can try to find out the IP address of the gateway and go to the router's web interface. To do this, go to the Wi-Fi settings, click on the active network and find the item โ€œManage device settingsโ€ or look at the gateway address (usually 192.168.0.1 or 192.168.1.1).

โš ๏ธ Attention: To enter the router settings, you will need the administrator login and password. If you changed them and forgot, you will have to reset the router to factory settings, which will lead to a temporary turning off the Internet for all devices.

In the router's web interface, in the wireless network section (Wireless or Wi-Fi Settings), the current security key is always displayed. This is the only reliable way for older devices without using third-party software with a dubious reputation.

Why has Google blocked access to configuration files?

Starting with Android 10, security policies have been tightened to prevent data theft by malware. Applications can no longer read Wi-Fi system files without special privileges, which protected users from hidden password leaks.

Checking through the router web interface

This method is the most universal, since it does not depend on the version of Android or the model of your phone. The main condition is that your device must be connected to the Wi-Fi network for which you want to find out the password, or connected to the router via a cable (if you have an OTG adapter).

Open any browser on your smartphone (Chrome, Samsung Internet, Yandex) and enter the IP address of your router in the address bar. Most often this is 192.168.0.1 or 192.168.1.1. The exact address is often written on a sticker on the bottom of the device itself.

Once the login page loads, enter your credentials. By default, this is often admin / admin or admin / passwordif you have not changed them before. Once in the control panel, look for a section called Wireless, Wi-Fi or Wireless mode.

  • ๐ŸŒ Enter the gateway IP address in the browser address bar.
  • ๐Ÿ”‘ Enter the administrator login and password router.
  • ๐Ÿ“ก Go to the wireless network settings section.
  • ๐Ÿ‘๏ธ Find the โ€œPasswordโ€, โ€œPSK Keyโ€ or โ€œSecurity Keyโ€ field and click on the eye icon to display the symbols.

Here you can not only see the current password, but also change it if necessary it to more complex. Don't forget to save the changes by clicking the "Save" or "Apply" button, otherwise the new settings will not take effect.

โ˜‘๏ธ Accessing the router

Done: 0 / 4

Restoring access by resetting the settings

As a last resort, if you do not remember the password either from Wi-Fi or from the admin panel of the router, the only radical method left is to completely reset the router to factory settings. This step will return all settings to their โ€œout of the boxโ€ state, including the standard password indicated on the sticker.

Most routers have a recessed button Reseton the case. To activate the reset, you need to press it with a paperclip or toothpick and hold it for 10-15 seconds until the indicators on the device begin to blink.

After the reboot, the router will broadcast the network with the factory name (SSID) and either not require a password or use the standard combination indicated on the label. You will have to reconfigure your Internet connection (enter your login and password from your provider) if they were not saved in non-volatile memory automatically.

โš ๏ธ Attention: Resetting the router will disconnect all devices in the house from the Internet. Make sure you have an agreement with your provider on hand to quickly restore your WAN connection settings (PPPoE, L2TP or dynamic IP).

This method guarantees access, but requires time to reconfigure the entire home network. Use it only when other methods have been exhausted.

๐Ÿ’ก

Resetting the router is a last resort. Always try to first use the QR code function on a modern smartphone or remember the password from the admin panel.

Frequently asked questions (FAQ)

Can I find out the password if the phone is not currently connected to this network?

Yes, on Android 10 and later all networks are displayed in the list of saved networks access points to which you have previously connected. You can click on any of them, even if you are currently out of range, and generate a QR code with a password.

Why is there no text with a password under the QR code?

Some shell manufacturers (for example, older versions of MIUI or custom firmware) may hide the text display of the key for security purposes. In this case, the password is โ€œhardwiredโ€ inside the code itself, and to retrieve it you need to scan the code with another device through Google Lens or a special scanner.

Is it safe to scan a QR code with someone else's phone?

Yes, it is absolutely safe. The QR code for Wi-Fi contains only service information for connection (SSID and password). It is virus-free and does not share your phone's personal data, such as contacts or photos.

What to do if the Share button is grayed out?

Make sure your phone has a screen lock (PIN, pattern, or fingerprint) enabled. Android requires device security to access sensitive data sharing features. If there is no protection, the function will not be available.

Is it possible to find out the password from someone else's Wi-Fi to which I am connected?

Technically, you can see the password from any network to which your phone has successfully connected and saved data. However, using this password to connect other devices without the permission of the network owner may violate the rules of use of the service or the law.