mnalis / android-wifi-upgrade

convert WiFi passwords from old Android wpa_supplicant.conf to newer (post-Oreo) WifiConfigStore.xml
Apache License 2.0
17 stars 8 forks source link

Permission denied when pushing #1

Closed eloyesp closed 4 years ago

eloyesp commented 4 years ago

I get an error when pushing the generated file.

(I've enabled root access on ADB with no luck.)

adb push WifiConfigStore.xml /data/misc/wifi/WifiConfigStore.xml
adb: error: stat failed when trying to push to /data/misc/wifi/WifiConfigStore.xml: Permission denied
mnalis commented 4 years ago

Can you send me an output of following commands (you may need to run them one by one, not copy/pasting whole block):

adb root
adb shell id
adb shell getenforce
adb shell ls -ldZ / /data /data/misc /data/misc/wifi /data/misc/wifi/WifiConfigStore.xml
adb shell cat /proc/mounts

Also, what android version is that?

eloyesp commented 4 years ago

It seems that I've forgot the adb root part, I've tried again and it is working now. Thank you (I've collected +100 networks that I have available now :smile: ).

Here is the output anyway