How to crack a Wi-Fi network password using your phone: methods for restoring access

Needing to connect to a wireless network but losing or forgetting the access key is a common occurrence. Smartphone owners often wonder if it's possible to somehow "guess" or, more accurately, recover the forgotten password directly from the mobile device's screen. Modern operating systems offer limited but useful functionality for this task, but it depends on the software version and access rights.

It's worth clarifying right away that brute-forcing a password on a modern smartphone is practically impossible due to the highly complex WPA2 and WPA3 encryption algorithms. However, if the device has previously been connected to the network or is rooted, there are legal ways to retrieve stored data. In this article, we'll cover working methods for Android and iOS, as well as ways to restore access through the router's admin panel.

⚠️ Warning: Using specialized software to hack other people's Wi-Fi networks without the owner's permission is illegal. All methods described below are intended solely for restoring access to your own networks or networks whose administrator has given you permission.

Restoring access to Android without root

Starting with Android 10, Google introduced a native QR code sharing feature, which not only allows you to connect to other devices but also view the saved password in plain text. This is the simplest and most secure method, requiring no third-party software or root privileges.

To use this method, go to your wireless settings. Find the active network you're currently connected to, or a previously saved network, in the list of available networks. Click the gear icon or arrow next to the network name to open its details. In the menu that opens, look for the "Share" button or the QR code icon.

After tapping, a QR code will appear on the screen. The password itself is usually written in small print underneath it. If the text doesn't appear immediately, take a screenshot of the code or open a second phone with a camera that supports QR code scanning (or use the Google Lens app). When you point the camera at the code, the system will recognize the data and display a notification with the connection text, including the required key.

  • 📱 Open Settings and go to the section Wi-Fi.
  • 🔍 Click on the name of the current network or select Saved networks in the menu.
  • 📲 Click the button Share or a QR code icon.
  • 👁️ Look at the text below the code or scan it with the camera of another device.
⚠️ Note: On some smartphone models (e.g., Xiaomi, Samsung), the password text may be hidden by asterisks even in the QR code menu. In this case, use the Google Lens image scanning feature to extract the text.
📊 What version of Android are you using?
Less than 9 (Pie)
Android 10
Android 11-12
Android 13 and later

Using root access to view saved networks

If your smartphone is running an older version of Android (below 10) or the manufacturer's interface hides the ability to view the password, the only software method is to obtain superuser rights (root). This gives full access to system files where the configurations of all ever connected networks are stored.

The main data storage in the Linux system (on which Android is built) is a file wpa_supplicant.conf. It is located in the directory /data/misc/wifi/Without root access, access to this folder is denied. Once you have root access, you can use a root-enabled file manager (such as Root Explorer or Solid Explorer) or the terminal.

Once you open the file, you will see a list of all networks in the following format: ssid="Network_Name" And psk="Password"This is the most reliable method for older devices, but it requires caution. Incorrectly modifying system files can lead to unstable Wi-Fi operation.

su

cd /data/misc/wifi

cat wpa_supplicant.conf

This method is only suitable for experienced users who understand the risks. If you don't know how to back up your system or restore your bootloader, it's best to use the alternative methods described below.

What are root rights and why are they dangerous?

Root (Superuser) privileges are the equivalent of administrator privileges in Windows. Obtaining them removes manufacturer-imposed restrictions. The danger lies in the fact that malware can gain complete control of the device, and accidentally deleting a system file can brick the phone.

How to find the Wi-Fi password on an iPhone (iOS)

The Apple ecosystem takes a more stringent approach to security, and for a long time, it was impossible to simply view saved passwords in plain text. However, with the release of iOS 16 and iPadOS 16, Apple added the long-awaited feature for viewing and copying Wi-Fi passwords directly from Settings.

To use this feature, your iPhone must be updated to the latest OS version. If you have an older version, this method won't work, and you'll need to sync with a Mac or use iCloud Keychain on your computer. The process is simple and intuitive, and requires biometric authentication (Face ID or Touch ID).

Go to the Settings menu and select Wi-Fi. Find the network whose password you need. A blue information icon (the letter "i" in a circle) will appear next to the network name. Tap it. In the menu that opens, find the "Password" field. The line will be hidden by dots. Tap the field, and the system will ask for identification. After a successful face or fingerprint scan, the dots will turn into readable text.

  • 🍎 Make sure your iPhone is updated to iOS 16 or newer.
  • 📶 Go to SettingsWi-Fi.
  • ℹ️ Click on the blue icon (i) next to the desired network.
  • 🔓 Tap the hidden password field and complete biometric verification.

Restoring via the router's web interface

If the phone doesn't display the password and a new guest needs to connect, the most secure "old-fashioned" method is to log into the router's control panel. To do this, the phone must be connected to the router's Wi-Fi network (even if there's no internet, local connectivity will still be available).

You will need the default gateway address. Most often, this is 192.168.0.1 or 192.168.1.1, as well as the administrator username and password (often found on a sticker on the bottom of the device, if you haven't changed them). Entering the address in a browser (Chrome, Safari) will take you to the authorization page.

After logging in, the interface may look different depending on the model (Tp-Link, Asus, Keenetic, D-Link). You need to find the section related to the wireless network. It may be called "Wireless," "Wi-Fi," or "Wireless Mode." In the Security subsection, there will be a field PSK Password or "Wireless Network Password." There you can not only view the current key but also set a new one.

Manufacturer Entrance address Path to password Standard login
Tp-Link 192.168.0.1 Wireless → Wireless Security admin
Asus 192.168.1.1 Advanced settings → Wireless network admin
Zyxel 192.168.1.1 Network → Wireless LAN admin
Tenda 192.168.0.1 Wireless Settings admin
⚠️ Note: Router interfaces are frequently updated. If you can't find the section you need, look for the "Status" tab—sometimes the password is displayed directly on the main control panel page.

☑️ Check before logging into the router

Completed: 0 / 4

Applications for network recovery and analysis

In app stores Google Play And App Store There are many utilities that promise to "crack" or "guess" passwords. It's important to understand the difference: legitimate applications analyze configuration vulnerabilities or use databases of common passwords, while illegal ones (which are often deleted) attempt to launch a brute-force attack.

One of the popular legal tools is WiFi MapIt's a social password network: users share access to locations in cafes, airports, and parks. The app doesn't technically guess the password, but downloads it from a shared database if someone has previously saved access to the location. This only works in crowded places.

Another type of program is analyzers like Fing or WiFi AnalyzerThey don't show the password of the saved network (this is prohibited by Android/iOS security policies for non-rooted apps), but they do help diagnose connection issues, see who else is using your network, and test speeds. For the average user who has forgotten their home network password, such apps are useless without root access.

There are also specialized utilities for security testing, such as Kali Nethunter (requires complex installation) that allow network security audits. However, their use requires in-depth knowledge of network protocols and goes beyond the scope of everyday access restoration.

What to do if nothing helps: reset the router

In a situation where the password is lost, there is no root access, the iOS is old, and access to the router control panel is blocked (the administrator password has been changed), there remains a radical but guaranteed method - a complete reset of the router settings to factory defaults (Factory Reset).

On the body of each router there is a small hole with the inscription Reset or DefaultTo activate the function, press it with a thin object (such as a paperclip or toothpick) and hold for about 10-15 seconds until the indicators flash simultaneously. After this, the device will reboot.

After the reset, your Wi-Fi network will work with the factory name and password (indicated on the sticker on the bottom). However, it's important to remember: All provider settings (PPPoE connection type, Internet login/password) will be deletedYou'll have to reconfigure your router using the quick setup wizard, entering your ISP details.

  • 🔄 Find the button Reset on the back panel of the router.
  • ⏱️ Press and hold it for 10-15 seconds until the indicators restart.
  • 🔌 Connect to the network with the factory name (on the sticker).
  • ⚙️ Complete the initial router setup via your browser.
Will this reset my ISP's traffic limits?

No, resetting your router only affects local equipment. Your data plan, remaining gigabytes, and account balance are stored by your provider and will not change after a router reset.

Is it possible to recover a password via the command line on Android?

Without root access, no. The command line (Termux, adb) doesn't have access to the system keystore. keystoreWith root privileges, you can use commands to display the contents of configuration files, as described in the section on root.

Why does the phone say "Saved" but won't connect?

This means the password stored in your phone's memory doesn't match the current router password. The password may have been changed on the router, but the phone is trying to use the old one. Solution: Forget the network in the Wi-Fi settings and re-enter the password.