User Tools

Site Tools


doc:appunti:android:android_wificonfigstore

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

doc:appunti:android:android_wificonfigstore [2024/06/14 14:52] – created niccolodoc:appunti:android:android_wificonfigstore [2024/06/14 15:11] (current) niccolo
Line 1: Line 1:
-====== How to migrate Android WiFi connections to another device ======+====== Migrate Android WiFi connections to another device ======
  
 +Whenever you connect to a WiFi network, your Android device will save the credentials so that you can connect to the same network again in the future.
  
-WifiConfigStore.xml+This data is sent to Google's servers, but you have no way to retrieve it from the phone. If you do not activate phone backup on Google, the information will be lost if you change the device. 
 + 
 +The WiFi settings (practically the SSID and the password for each connected network) are saved into a file. Depending on the Android version and the vendor, the file may have different name and location, here are some examples: 
 + 
 +  * **/data/misc/apexdata/com.android.wifi/WifiConfigStore.xml** 
 +  * **/data/misc/wifi/WifiConfigStore.xml** 
 +  * **/data/misc/wifi/wpa.conf** 
 +  * **/data/wifi/bcm_supp.conf** 
 +  * **/data/misc/wifi/wpa_supplicant.conf** 
 + 
 +Passwords can be stored in encrypted form or in plain text. To replace the file **you need root privileges**. 
 + 
 +Here it is the procedure to replace the existing file with your backup:
  
   * **Turn off the WiFi** on the device.   * **Turn off the WiFi** on the device.
doc/appunti/android/android_wificonfigstore.1718369556.txt.gz · Last modified: 2024/06/14 14:52 by niccolo