Sujet : Back up and restore Wi-Fi settings from one phone to another
De : andrews (at) *nospam* spam.net (Andrews)
Groupes : comp.mobile.androidDate : 04. Nov 2024, 20:46:40
Autres entêtes
Organisation : BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID : <vgb8b0$1v0v$1@nnrp.usenet.blueworldhosting.com>
User-Agent : XanaNews/1.19.1.372 (x86; Portable ISpell)
How can we back up & restore our Wi-Fi settings from one phone to another?
<
https://i.postimg.cc/2jxYYsmM/adb-pull-wifi.jpg>
I can copy the hosts file but not the WifiConfigStore.xml file.
Why not?
C:\> type hosts.txt
The system cannot find the file specified.
C:\> adb pull /system/etc/hosts .\hosts.txt
/system/etc/hosts: 1 file pulled, 0 skipped. 0.0 MB/s (56 bytes in 0.003s)
C:\> type hosts.txt
127.0.0.1 localhost
::1 ip6-localhost
C:\> adb root
adbd cannot run as root in production builds
C:\> adb pull /data/misc/apexdata/com.android.wifi/WifiConfigStore.xml
adb: error: failed to stat remote object '/data/misc/apexdata/com.android.wifi/WifiConfigStore.xml': Permission denied