How to View Saved Wi-Fi Passwords in Android Phone

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

Android smartphones, by default, don’t support viewing of saved or stored Wi-Fi passwords on them. So, you can use this terminal trick to find wifi passwords saved on your Android phone. For following this tutorial, you would need to install any 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 Android smartphone. We will use that Terminal app to run Linux commands on Android smartphone. You can install any terminal app, but we recommend Termux app.

Step 1: Install Terminal Emulator on Android Phone

First of all, we have to install a Terminal Emulator app on 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 “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 Play Store

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


SEE ALSO: How to Import Saved Passwords from other Browsers to Google Chrome?


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. Using this terminal we will find and view saved Wi-Fi passwords on your Android phone.

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 super user via terminal. Remember, you must have Super User (SU) installed in your phone. Type 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 in your Android phone.


Step 3: Find Network Configuration file in Android

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

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

The “wpa_supplicant.conf” file contains all Wi-Fi network 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 “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 wpa_supplicant.conf file, type 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 “wpa_supplicant.conf” file. You can view all your saved Wi-Fi network passwords here. Just look for 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 Wi-Fi password from the Saved Passwords List

Note down your password and close 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 in Android Phone using Terminal

Using 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 following linked tutorial on rooting android phone using 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 HELLPC Tutorials. 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. Required fields are marked *

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

Back to top button