Ho bisogno di vedere un file in /data/misc/wifi/ su Android, ma non ho quelle cartelle, che cartella devo cercare?

Immagino che tu stia cercando il file wpa_supplicant.conf, in modo da poter visualizzare le password salvate delle reti WiFi collegate in precedenza.

Prima di tutto devi avere l'accesso root sul dispositivo.

Alcune posizioni note comuni sono

/etc/wifi/wpa_supplicant.conf

/system/etc/wifi/wpa_supplicant.conf (questo è il symlink della posizione di cui sopra)

Se stai cercando specificamente il file menzionato sopra, puoi anche farlo usando l'emulatore di terminale su Android. You can fetch the file & store it on your external storage by a specific name.

“su” command to gain root access on the Terminal Emulator.

  1. u0_a125@android:/ $ su -c "cat /data/misc/wifi/wpa_supplicant.conf > /storage/sdcard1/wifi.txt" 

You can then view the contents of the saved “wifi.txt” file using a note editor app.

And later on if you want to restore it, then you can use

  1. u0_a125@android:/ $ su -c "cp /storage/sdcard1/wifi.txt /data/misc/wifi/wpa_supplicant.conf" 

.

.

The locations to the wpa_supplicant.conf file sometimes vary on particular devices, based on the OS version being currently installed on the device.

Or you can just go to the root directory “/” and make use of the search option to find the specific file you are looking for. It may take sometime depending upon the volume of files in the root directory. But it does return appropriate results.

.

.

Thanks for reading 🙂