jensstein / oandbackup

backup manager for android
Other
543 stars 193 forks source link

Possibly oandbackup garbles wifi config in Android 9 #250

Closed trettach closed 5 years ago

trettach commented 5 years ago

I did a clean install of custom ROM and used Oandbackup.

Oandbackup gave me an error message concerning wpa_supplicant during backup. Error in oandlogviewer: "error getting owner ids for "/data/misc/wifi/wpa_supplicant.conf": permission denied [oab-utils]

I backed up some apk and application data before updating my recent Android Pie Resurrection Remix. I restored only apk's afterwards, apart from firefox where I restored also app data.

I did not restore wlan config data, at least if I did not willingly or knowingly.

The storage of Wifi connections seems have beeing changed since Android 8 from /data/misc/wifi/wpa_supplicant.conf to /data/misc/wifi/WifiConfigStore.xml

Maybe this is some context?

/data/misc/wifi/WifiConfigStore.xml was garbled contanig only a single line to another random backed up app. The xml file containing just one line with some path below /data/app/com.orux.oruxmaps-dlym87qSGHfJVeOFlnaqdg==/lib/ and then a lot of @@@@@@@

Thus leaving wlan unusable. Deleting the garbled /data/misc/wifi/WifiConfigStore.xml recovered wlan usability.

I have Oandbackup 0.3.4-universal

I had not started Oruxmaps on the fresh install, so I cannot think of why another app might have caused this error. Only maybe Resurrection remix itself? But why would they copy app related data into a wireless config location?

trettach commented 5 years ago

Is not an Oandbackup issue. Please close. Problem is persistent after clean install without install of oandbackup!