Friday, April 27, 2018

wi fi - recover WiFi password file Android Pie


I know that Android (at least Pie) uses a file WifiConfigStore.xml to store WiFi access points and passwords. It is located in /data/misc/wifi/.


I saved it before wipe and reinstall everything. The idea was to copy it back to this location. While the phone is on/powered it seems not to uses the information from this new file. But after reboot it is gone and overwritten.



So my question: is there a special trick? Or is this not the proper location? Is there some backup file stored somewhere else?


(I have a rooted LineageOS 16 device with Magisk. I even tried to change the file in TWRP with not better result.)


Edit: Found that this file is also located in /data/misc_ce/0/wifi, /sbin/.magisk/mirror/data/misc/wifi and /sbin/.magisk/mirror/data/misc_ce/wifi


And there are also files WifiConfigStore.xml.encrypted-checksum. From naming it sounds like there it is including a checksum to avoid errors in xml? This file I have not saved. Am I lost now? Can I delete this and it will be created than?


What is function of this misc_ce folders?


Thanks!




No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...