How to show wifi password?

  • I have a rooted Samsung s3 mini, android version 4.1.2

    How to show the saved wifi password of the router I am connected to?

  • Correct answer

    7 years ago

    From any file manager that allows root access to system files you can go into /data/misc/wifi/wpa_supplicant.conf file or directly search for wpa_supplicant.conf file.

    You can open it with any text editor.

    If you have Terminal Emulator you can also do this:

    cat /data/misc/wifi/wpa_supplicant.conf

    You will find all your saved passwords inside that file. Password will be stored as:


    One more thing do I need to root my device in order to do that or it do works with unrooted device too ? as I can't find anything inside /data folder.

    You would get permission denied of you would need root access and not have it. I can't answer your question direcy, but it might be that you are using different version of android which keeps the file in a different place. If you provide more details on your device and OS I might help you.

    I am currently running Samsung Stock 4.1.2 Jellybean ROM over tab2. I have tried looking over the /data folder but the specified misc/wifi/wpa_supplicant.conf file isn't there !

    are the directories there? You can try to run this command to find it: `find /data -name "wpa_supplicant.conf"` or even `find / -name "wpa_supplicant.conf"` Anyway, I am pretty sure now that you need a rooted device.

    Well, I have tried searching for -name"wpa_supplicant.conf" under data file but can't find it in the data folder instead of it has something else like log.txt and com.onelou....oneweather . I guess device needs to be rooted any way thanks though !

    It's easily to view your password, use this awesome app: Now you can: - View your connected wifi passwords - Backup/restore easily - Share passwords with your friends - This is FREE APP.

License under CC-BY-SA with attribution

Content dated before 6/26/2020 9:53 AM