How to get back accidentally deleted `wpa_supplicant` file? I was trying to get Ad-Hoc working on my Konka i127 Android Jelly Bean 4.2.2 phone, and I accidentally deleted my wpa_supplicant file. Now, I cannot turn on my Wi-Fi connection anymore. 

How do I get my wpa_supplicant file back?
The wpa_supplicant.conf resides at the location /data/misc/wifi/wpa_supplicant.conf. Since it is inside /data/, rest assured that it is not lost for eternity. It would take factory reset to bring it back from scratch. 

Also, that file contains device specific and your once connected Wi-Fi's specific information. So, there is no point for us to upload it for you.