update method to find wifi password (#77)

master
Fan 4 years ago committed by GitHub
parent de4aea2737
commit e6e00bbb2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 19
      README.en.md
  2. 17
      README.md

@ -2124,6 +2124,25 @@ network={
`Ssid` we shall see in the WLAN settings in the name,` psk` the password, `key_mgmt` security encryption.
If android version is above O, the path of config file should be in `WifiConfigStore.xml`.
```sh
adb shell
su
cat /data/misc/wifi/WifiConfigStore.xml
```
Example output:
> because of too many items in the file, it can be focused on `ConfigKey`-- WiFi name and `PreSharedKey` -- WiFi password.
```xml
<string name="ConfigKey">&quot;Wi-Fi&quot;WPA_PSK</string>
<string name="PreSharedKey">&quot;931907334&quot;</string>
```
### To set the system date and time
** Note: You need root privileges. **

@ -2154,6 +2154,23 @@ network={
`ssid` 即为我们在 WLAN 设置里看到的名称,`psk` 为密码,`key_mgmt` 为安全加密方式。
如果Android O 或以后,WiFi密码保存的地址有变化,是在`WifiConfigStore.xml`里面
```sh
adb shell
su
cat /data/misc/wifi/WifiConfigStore.xml
```
输出格式:
数据项较多,只需关注`ConfigKey`(WiFi名字)和`PreSharedKey`(WiFi密码)即可
```xml
<string name="ConfigKey">&quot;Wi-Fi&quot;WPA_PSK</string>
<string name="PreSharedKey">&quot;931907334&quot;</string>
```
### 设置系统日期和时间
**注:需要 root 权限。**

Loading…
Cancel
Save