Reputation: 16788
Can't find the databases with the system settings on my device. Where are they located?
Upvotes: 6
Views: 22834
Reputation: 21
On my Samsung (One UI 2.5), this is the location:
File:
/data/misc/wifi/WifiConfigStore.xml
SSID:
<string name="SSID">"*"</string>
Password:
<string name="PreSharedKey">"*"</string>
Both are in plain text.
There's a wpa_supplicant
folder (/data/misc/wifi/wpa_supplicant
) but it's empty; there is a wpa_supplicant.conf
file, under (/data/vendor/wifi/wpa/wpa_supplicant.conf
and /vendor/etc/wifi/wpa_supplicant.conf
), but it's just a 25 bytes file.
Upvotes: 2
Reputation: 83
You can modify /data/misc/apexdata/com.android.wifi/WifiConfigStore.xml
More information here: https://stackoverflow.com/a/20875807
Upvotes: 3
Reputation: 11
If you're trying to pull all your system configuration through root access, then I guess you should look up into
/data/system/users/0
As everything will be saved there as xml preferences.
Upvotes: 1
Reputation: 99
The SSIDs and passwords of the wifi networks are stored to /data/misc/wifi/wpa_supplicant.conf
Upvotes: 9
Reputation: 82563
The settings database is located at /data/data/com.android.providers.settings/databases/settings.db
. You cannot access it unless you have root.
Upvotes: 6