Android wifi password

Is there a way to recover/get WiFi passwords from an android device?

specific device, nexus 5 with android 5.1 (not rooted) or Motorola xt890 with android 4.1.2 (not rooted)
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Carlos IjalbaIT Systems DirectorCommented:
If your phone is rooted you can install an app to do it, look at the app market.

Otherwise, if you are a developer or have the ADT environment setup, you can try to plug the phone to your PC, and from the android file browser retrieve the file:

/data/misc/wifi/ and look for one of the files:


For ADT info, look here:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ag1iffitAuthor Commented:

Device it's not currently "rooted".  If I root the device now will that maintain the files you mention or would they be lost?
Carlos IjalbaIT Systems DirectorCommented:
Rooting only means gaining complete access to the device for applications, that's why some apps need "root" access to be able to read or modify OS files. This will invalidate your warranty however, and make you more prone to be attacked by a virus and other malware.
But you will keep the files, rooting does not affect the OS files.

You can do it all from a PC with Android Development Toolkit, which is what we use to write android apps, and gain developers access to the mobile phones.

Are you sure, it's not better to get the passwords from their proper places?
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

ag1iffitAuthor Commented:
This page suggests files would be lost if I understand it correctly.  Is that right?
Carlos IjalbaIT Systems DirectorCommented:
There are different methods to gain root access to a phone, some are destructive, and some are not.

Replacing the rom for an unrooted one will obviously format the phone from scratch. The options that the manufacturers give are not always the best, as they are not interested in people rooting their phones.
Maidine FouadEngineerCommented:
Here is a link for the app From Xda Developers Forum, Root Required
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.