Have you ever forgotten your home Wi-Fi password, but it's already saved on your phone? Android 10 (and newer versions) the system hides passwords from networks by default—but they can be extracted in several ways. In this article, we'll look at where exactly is this data stored, how to read them without root-right, and what to do if standard methods don’t work.
It is important to understand: Android 10 has changed its approach to security compared to earlier versions. Passwords are no longer stored in plaintext in system files, but are encrypted and linked to the device. This makes them more difficult to extract, but not impossible. We'll cover both legal methods (using settings and backups) and technical ones—using ADB and third-party utilities.
If you're unsure of your command line skills, start with the first three methods—they don't require any special knowledge. For advanced users, here's a quick guide. Unique ADB commands that work specifically on Android 10 and are not documented in official sources.
1. Standard method: viewing the password through settings (only for some devices)
On clean Android 10 (for example, on Pixel or Android One) there is a built-in password viewing function - but it is not available on all firmware. Manufacturers like Samsung, Xiaomi or Huawei This option is often removed from the menu.
To check its availability:
- Open
Settings → Network & Internet → Wi-Fi. - Tap on the name of the connected network (or select a saved one from the list).
- Click
Share(orShare(on English firmware). - The system will ask PIN code, pattern or fingerprint - this is protection against accidental access.
- After confirmation it will appear
QR codeand a text password underneath it.
If the point Share No—your manufacturer has removed this feature. Proceed to the next method.
⚠️ Attention: On devices with MIUI (Xiaomi/Redmi/Poco) and EMUI (Huawei/Honor) This method only works on firmware versions older than 2021. Newer versions requirerootorADB.
2. Export passwords via backup (without root)
Android allows you to back up your Wi-Fi settings, including passwords, but with one caveat: the backup file will be encrypted. However, you can transfer it to another phone or extract the data using a PC.
Instructions:
- 📱 Go to
Settings → Google → Backup. - 🔄 Turn on
Backing up to Google Drive(if disabled). - 📤 Click
Create a copy nowand wait for it to complete. - 🖥️ On your computer, open Google Drive, find the folder
Backupand download the latest archive.
There will be a file in the archive wifi.config (or similar), but it's in binary format. You'll need a utility to decrypt it. Android Backup Extractor (available at GitHub). After extraction, you'll receive an XML file with network data, including encrypted passwords. To read them, you'll need the encryption key, which can only be obtained from root-access or through ADB (more on this below).
3. Using ADB to Extract Passwords (Without Root)
ADB (Android Debug Bridge) is a debugging tool that allows you to execute commands on your phone from your computer. Android 10 It can be used to extract Wi-Fi passwords even if you don't have superuser rights.
Preparation:
- 🖥️ Install Android SDK Platform-Tools on PC.
- 📱 Turn on
USB debuggingVSettings → About phone → Build number(tap 7 times, then return toSettings → System → Developer Options). - 🔌 Connect your phone to your PC via USB and trust the computer.
Commands for extracting passwords:
adb shell
su -c "cat /data/misc/wifi/WifiConfigStore.xml"
If the first command produces an error permission denied, try an alternative method:
adb backup -f wifi_backup.ab -noapk com.android.providers.settings
This command will create a file wifi_backup.ab on your PC. It can be opened using Android Backup Extractor (as in the previous method). There will be a file inside apps/com.android.providers.settings/sp/settings.xml, where in the tags <string name="wifi_ssid"> And <string name="wifi_password"> network names and passwords are stored (possibly in encrypted form).
What to do if ADB doesn't see the device?
Check your drivers (install the Google USB Driver), try a different USB cable (the original one) and the port on your PC. Some phones require you to select file transfer mode (MTP) when connecting.
⚠️ Attention: On devices with Samsung Knox (For example, Galaxy S10 and newer) commandsADBmay be limited by security policies. In this case, onlyroot.
4. Where are passwords physically stored in the Android 10 system?
On a technical level, Wi-Fi passwords are Android 10 are stored in three places:
| Location | Format | Access without root | Notes |
|---|---|---|---|
/data/misc/wifi/WifiConfigStore.xml |
XML | ❌ No | The main configuration file is encrypted. |
/data/misc/wpa_supplicant/wpa_supplicant.conf |
Text | ❌ No | Old format, usually empty on Android 10 |
Database Settings Provider |
SQLite | ⚠️ Partially (via ADB) | Stores SSID and password hashes |
Cache WifiManager |
Binary | ❌ No | Temporary data, cleared on reboot |
| Google Backup | Encrypted archive | ✅ Yes | Requires unzipping on a PC |
The most promising way is to work with Settings Provider. Through ADB You can run a query to the database:
adb shell content query --uri content://settings/secure --where "name='wifi_password'"
However, in practice, this method is unstable: manufacturers modify the database structure. For example, Samsung passwords can be stored in a table wifi_additional_settings, and on Xiaomi — in a separate file /data/vendor/wifi/....
☑️ Getting Started with ADB
5. Third-party applications: risks and limitations
IN Google Play There are dozens of apps that promise to reveal Wi-Fi passwords (for example, WiFi Password Viewer, WiFi Key Recovery). However, on Android 10 and newer ones, they only work if two conditions are met:
- 🔓 The device has
root-access. - 📱 The firmware is not modified by the manufacturer (for example, on Samsung or Huawei Even with root, many utilities don't see passwords.
Examples of applications and their features:
- 🛠️ WiFi Password Viewer - shows passwords in clear text, but requires
rootand often doesn't work on MIUI. - 🔍 WiFi Key Recovery — attempts to extract data from backups, but does not guarantee results on Android 10+.
- 📡 WiFi Map — does not show saved passwords, but can store its own networks (if you added them manually).
The main risk of such applications is data leakMany of them request access to contacts, location, and storage, which is unrelated to the app's functionality. Before installing, check:
- 🌐 Reviews on 4PDA or XDA Developers.
- 🔗 Availability of open source code (for example, on GitHub).
- 📋 Permissions in Google Play (there should be no unnecessary requests).
⚠️ Warning: Apps like ES File Explorer Previously, it was possible to view system files without root, but after updates Android 10 And Google Play Policy This functionality has been removed. They are now useless for extracting passwords.
6. Alternative methods: if nothing works
If none of the methods work, there are radical measures left:
- 🔄 Resetting the router: Click the button
Reseton the back of the router (hold for 10 seconds). This will reset the password to the factory default (indicated on the sticker). - 📞 Call the providerIf your router was provided by your internet service provider, its password may be linked to your contract. Call support with your passport information.
- 🖥️ View on another device: If a laptop is connected to the same network, iPhone or tablet, extract the password from there (on Windows - through
Network and Sharing Center, on Mac - VKeychain).
For owners of routers with a web interface:
- Connect to the router via cable or Wi-Fi.
- Open in browser
192.168.0.1or192.168.1.1(the address is indicated on the router sticker). - Enter login/password (usually
admin/adminoradmin/password). - Go to the section
Wireless → Security(names may differ). - The password will be in the field
PSK PasswordorWPA Key.
If you forgot your router login details, try:
- 🔍 Search for router model + "default password" in Google.
- 📄 Look at the instructions (often found in the box).
- 🔄 Reset the router to factory settings (as in the first point).
FAQ: Frequently asked questions about Wi-Fi passwords on Android 10
Is it possible to see the Wi-Fi password without rooting a Samsung Galaxy with Android 10?
On most devices Samsung With Android 10 And One UI 2.x There is no "Share" menu with a password. The only working methods are:
- Use
ADB(commands are given above). - Make a backup via
adb backupand decipher it. - Install
root(but it will reset Knox and will void the warranty).
On new versions One UI 3.0+ (Android 11+) even ADB may not work due to additional restrictions.
Why did my Wi-Fi passwords disappear after resetting my phone?
At full reset (Factory Reset) deletes all data, including:
- Saved Wi-Fi networks (
/data/misc/wifi/...). - Cache
WifiManager. - Settings
Settings Provider.
If it was turned on before the reset Google backup, the networks will be restored automatically the first time you connect to the internet (via mobile data or a new Wi-Fi network).
Is it possible to extract passwords from a phone if it is locked?
If the phone is locked (forgotten) PIN/graphic key), standard methods will not work. Options:
- 🔧 ADB: If USB debugging was previously enabled and the computer is authorized, you can try to extract data via
adb pull /data/misc/wifi/. - 📱 Recovery mode: On some firmware (for example, LineageOS) can be mounted
/dataand copy files throughTWRP. - 🚫 ResetIf the data is critical and there are no other options, the only option is a full reset (but this will delete everything, including passwords).
On devices with Samsung Knox or Pixel With FBE (File-Based Encryption) data extraction without unlocking is almost impossible.
How to protect your Wi-Fi passwords from being stolen?
To minimize risks:
- 🔒 Disable Wi-Fi backup V
Settings → Google → Backup, if you don't use it. - 📱 Don't install third-party password viewers - Many of them spy.
- 🔄 Change your router password regularly (once every 3-6 months).
- 🛡️ Use WPA3 instead of
WPA2in the router settings. - 🚫 Don't connect to public networks Without a VPN, they can intercept traffic.
Do these methods work on Android 11/12/13?
On newer versions of Android, security has become more stringent:
- Android 11: Teams
ADBpassword extraction tools stopped working withoutrootThe "Share" menu remains, but manufacturers often remove it. - Android 12+: Even
ADB backupdoesn't back up Wi-Fi passwords. The only reliable way isroot. - Android 13: Added password binding to
Keystoredevices, making their removal without physical access almost impossible.
If you have a newer version of Android, try XDA Developers — they often publish current workarounds for specific models.