As has been documented, the replacement WPA_Supplicant file to allow Ad Hoc WiFi support also has an issue of not reconnecting after sleep. Although many solutions have been offered with profiles and task programs, I just went back to the original WPA_Supplicant file so it would work as it should as I rarely need Ad Hoc support.
What I am looking for is a quick way to swap the appropriate WPA_Supplicant files in the /system/bin folder so that I could just quickly swap files when needed (which is rarely). I found a script file that would run in Gscript but the commands broke my WiFi and I had to reload the original WPA_Supplicant file with ADB to get it going again.
Does anyone have a script or suggestion for swapping files? Does Root Explorer have the ability to copy a file over an existing file in the /system/bin folder?
Any help would be greatly appreciated.
I believe it does but I'd save the original with a different name first, just in case you need it later. If you rename the original and just copy your new WPA_Supplicant into the \system\bin folder you won't need to over write it.
Did going back to the original solve the wifi reconnect issue? How could I do the same?
I don't need ad hoc support at all.
I'm on nookie froyo.
Please take a look at http://nookdevs.com/NookColor_Keep_wifi_alive_by_preventing_sleep_mode
funcrusher said:
Did going back to the original solve the wifi reconnect issue? How could I do the same?
I don't need ad hoc support at all.
I'm on nookie froyo.
Click to expand...
Click to collapse
Yes, returning to the stock WPA_Supplicant file gave me back the WiFi without Ad Hoc capability. If you need the stock WPA_Supplicant file please see the link that I have provided below.
After my original post, I found this post that had everything that I was looking for:
http://forum.xda-developers.com/showthread.php?t=872521
I need the stock sprint WPA_supplicant.conf file from the system/bin folder. I need it from someone who has the sprint tab updated to EB28. My friend used a old hacked WPA file and can't get the wifi to work now and has no copy of the file.
The other day after switching between an adhoc & infrastructure wpa supplicants files (for android tethering), I somehow seem to deleted my original.
Can some provide me with a copy of their original wpa_supplicant file?
Be careful your file does not include any of your wifi logins, it will if you have stored passwords.
Found it! In a different thread
Hello Im running stock froyo 2.2 atnt. Always had a problem with wifi not working sometimes. I was always able to fix this by replacing the dhcpcd under system/bin with root explorer.
Well this time I accidentally tried to paste the replacement dhcpcd file under system/etc and now my wifi wont work at all.
I was wondering if anyone is running stock/rooted could please give me a copy of the original dhcpcd file located under system/etc.
Ahh well nvm. Odin'd back to 2.1 then im in the process of reinstalling 2.2. A simple factory reset wont restore any files changed within the os.
Hi,
I hope this is the write location for my post.
I have a HTC ONE rooted, android 4.3
I have a problem with my GPS: it doesn't lock any satellite. Reading on forum, I found that the problem may be the setting of gps.conf file in /system/etc.
In fact, checking it, I found that the NTP_SERVER set was for north.america, while I'm in Europe.
I would like to modify or replace it, but I'm experiencing some problem. Using Root Browser it seems to be able to modify it, but after rebooting the device it is exactly the same before the editing. I tried using other editors as ES File Explorer, but when I try to modify the file, it says "read only file system".
It makes me thing that also the other editor is not able to modify the file, since after reboot it is actually un-edited.
What do you think? how can I actually write in file system and actually modify gps.conf?
Thank you in advance
Let me add another detail: I tried to create a new empty file in the same folder with Root Browser. It seems to be able to create it, but after rebooting the device it desappears..so I guess I actually can't modify/write in the file system..
aerosmike said:
Hi,
I hope this is the write location for my post.
I have a HTC ONE rooted, android 4.3
I have a problem with my GPS: it doesn't lock any satellite. Reading on forum, I found that the problem may be the setting of gps.conf file in /system/etc.
In fact, checking it, I found that the NTP_SERVER set was for north.america, while I'm in Europe.
I would like to modify or replace it, but I'm experiencing some problem. Using Root Browser it seems to be able to modify it, but after rebooting the device it is exactly the same before the editing. I tried using other editors as ES File Explorer, but when I try to modify the file, it says "read only file system".
It makes me thing that also the other editor is not able to modify the file, since after reboot it is actually un-edited.
What do you think? how can I actually write in file system and actually modify gps.conf?
Thank you in advance
Let me add another detail: I tried to create a new empty file in the same folder with Root Browser. It seems to be able to create it, but after rebooting the device it desappears..so I guess I actually can't modify/write in the file system..
Click to expand...
Click to collapse
You need an unsecured kernel (/system writable) to write to /system partition of the htc one, not only root.. Otherwise, all changes will be reverted at reboot like you are experiencing.
Kernels for htc one here
And note that modifying/deleting files in /system will probably prevent you to install future ota unless you revert the change you have made. There is a md5 checksum of many files in /system before the ota installs. If the md5 cheksum doesn't match then the ota will not install. This might not apply to the .conf file you want to edit but just in case, make a backup of that file before. So if the next ota fail, you'll know why.
alray said:
You need an unsecured kernel (/system writable) to write to /system partition of the htc one, not only root.. Otherwise, all changes will be reverted at reboot like you are experiencing.
Kernels for htc one here
And note that modifying/deleting files in /system will probably prevent you to install future ota unless you revert the change you have made. There is a md5 checksum of many files in /system before the ota installs. If the md5 cheksum doesn't match then the ota will not install. This might not apply to the .conf file you want to edit but just in case, make a backup of that file before. So if the next ota fail, you'll know why.
Click to expand...
Click to collapse
Thank you very much