How to View Saved Wi-Fi Passwords on Android Phone

When you connect your Android phone to a Wi-Fi network, it saves the password (just like Windows). So, next time you connect to the same network, you won’t have to enter the password again. But it’s not easy to find and view saved Wi-Fi passwords on your android phone as they are protected by root permissions.

Android smartphones, by default, don’t support viewing saved or stored Wi-Fi passwords on them. So, you can use this terminal trick to find wifi passwords saved on your Android phone. To follow this tutorial, you would need to install a terminal emulator app (preferably Termux) on your Android phone. And your phone must have root access.

TUTORIAL: How to Root your android phone using KingRoot app without PC?

Check this video tutorial before we move to detailed steps on how to find stored Wifi passwords.


View Saved Wi-Fi Passwords on Android Phone using Terminal (or Termux)

In this tutorial, we will be installing a ‘Terminal Emulator‘ app on the Android smartphone. We will use that Terminal app to run Linux commands on the Android smartphone. You can install any terminal app, but we recommend the Termux app.

Step 1: Install Terminal Emulator on Android Phone

First of all, we have to install a Terminal Emulator app on the Android smartphone. Open Play Store on your phone and search for terminal emulator.

Select and install any terminal app. In this tutorial, we have used the “Terminal Emulator for Android” app. You may use another app if you wish.

Install Terminal Emulator Termux App From Play Store
Install Terminal Emulator (Termux) app from the Play Store

Terminal Emulator for Android will be downloaded and installed on your phone.


SEE ALSO: How to View Live Cameras Around the World?

Step 2: Launch Terminal App and get Root Access

Tap on OPEN to launch the Terminal or Termux app after installation. Now, you will see a command line window opened on your Android smartphone. We will find and view saved Wi-Fi passwords on your Android phone using this terminal.

Launch Terminal or Termux on your Android Phone
Launch Terminal or Termux on your Android Phone

We are going to need Root Level Access to view system files. So first, we will switch to the “Super User” via terminal. Remember, you must have the “Super User (SU)” installed on your phone. Type the following command to get root access and press ENTER.

su root
Get Root Access using su root Command
Get Root Access using su root Command

You will see a popup asking to grant terminal emulator superuser permissions. Tap on GRANT to continue.

Grant Root Access to Terminal App to View Saved Wi-Fi Passwords in Android
Grant Root Access to Terminal App

You will see a toast message saying, “Terminal Emulator has been granted superuser permissions for an interactive shell“. Now we have Root Level Access. Now, we can view saved Wi-Fi passwords on your Android phone.


Step 3: Find the Network Configuration file in Android

After getting superuser permissions, it’s time to find the Network Configuration file in Android. So, go to the “/data/misc/wifi” path in the terminal and list directory content using the following commands.

cd /data/misc/wifi
ls
Go to Wi-Fi Config directory and List Content
Go to the Wi-Fi Config directory and List Content

The “wpa_supplicant.conf” file contains all the Wi-Fi networks, saved passwords, and other information. WPA in the name means encryption used is WPA. It may be WEP in some cases. So, the filename will be “wep_supplicant.conf” in those cases.


Step 4: View Saved Wi-Fi Passwords in Android using Terminal App

We need to open the “wpa_supplicant.conf” file to find and view saved Wi-Fi passwords in your android smartphone using terminal or Termux.

So, to view the content of the wpa_supplicant.conf file, type the following command and press ENTER.

cat wpa_supplicant.conf
View Saved Wi-Fi passwords in wpa_supplicant.conf File
View Saved Wi-Fi passwords in wpa_supplicant.conf File

Terminal emulator (or Termux) will display the content of the “wpa_supplicant.conf” file. You can view all your saved Wi-Fi network passwords here. Just look for a specific SSID (Wi-Fi Network name) and you will see the password next to PSK.

Find Wi-Fi password from the Saved Passwords List
Find the Wi-Fi password from the Saved Passwords List

Note down your password and close the terminal app.

Close the Terminal App
Close the Terminal App

SEE ALSO: How to Set up Minecraft Server on Android Phone?

Find Wi-Fi Passwords Stored on Android Phone using Terminal

Using the above tutorial, you can easily find Wi-Fi passwords stored on your Android smartphone. But you need to Root your phone before trying this. Please note that rooting your phone may void your device’s warranty. Check the following linked tutorial on rooting the android phone using the KingRoot app.

Hope you liked the tutorial. Feel free to share your thoughts and suggestions in the comment section down below. You can also visit our Facebook Page for more updates.

Editorial Staff

Hi there, we are the editorial staff at WINDOSPC (former HELLPC). We are a team of funny and technical people. Feel free to get in touch with us via Contact-Us page.

One Comment

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button