Wifi mobile AP keeps resetting? - Galaxy S II Q&A, Help & Troubleshooting

Every time I try to use it, it always renames the access point back to "Android AP" and wipes the password as well - anyone come across a fix?
I'm running the official 2.3.5 firmware.

superdx said:
Every time I try to use it, it always renames the access point back to "Android AP" and wipes the password as well - anyone come across a fix?
I'm running the official 2.3.5 firmware.
Click to expand...
Click to collapse
I am not quite sure what your problem is.
Do you mean tethering?
And your phone does not keep the AP name and password for its own WLAN hotspot?
I am sure that there are some tethering apps on the Market.
Maybe one of them can help you to configure a customized AP name and password and saves it for later use.

Yep that's it exactly, tethering. The AP name and password keep resetting!

http://forum.xda-developers.com/showpost.php?p=18711488&postcount=128

clefster said:
This is because the permissions for the wifi settings got messed up so it can't write out your new permissions. The error handling isn't too good so it doesn't tell you about it
To fix, in a rooted terminal run this command:
chmod 770 /data/misc/wifi
Click to expand...
Click to collapse
After struggling with root, I tried your command and it doesn't work, says Operation not permitted

Related

[Q] WiFi issue (unable to scan networks)

Hello every body...
when I turn on the WI-FI the massage appear Unable to Scan Networks Then the wi-fi turns itself off.
Help me please guys...
i would suggest reflashing the stock firmware with ODIN. I had an issue like this on my Nexus One. Nothing helped. I had to fully wipe the phone and start over.
I found it :
since you're rooted, go to /data/wifi/ and delete bcm_supp.conf (back it up first just in case). Then reboot your phone.
alsatea said:
I found it :
since you're rooted, go to /data/wifi/ and delete bcm_supp.conf (back it up first just in case). Then reboot your phone.
Click to expand...
Click to collapse
Awesome! Many thanks for the tip! You've made my day! That file's gotta be deleted from time to time, as it can get quite clogged. (And when you think I could've re-flashed my phone as per the previous post...!)
I having the same problem as this. after i removed and re entered my wifi login. also i had been on holiday and logged into a few other wifi routers.
when i re entered my home wifi it just kept turning off and saying "unable to scan networks"
its a vodafone UK contract Galaxy S (if that makes any difference)
I tried to root my phone using
[PROGRAM] One Click Root/UnRoot I9000 (Eclair and Froyo) Mac and PC
it seemed to work . i had an extra app for changing a few settings. but i still couldn't find the wifi file i need to delete? Had it not been rooted properly?
I'd really like to fix this without having to do a master reset every time?
What are my options?
Could i take an image of the mobile and remove the file from the image? then restore the image. A bit crazy if routing is not a possibility?
Can anyone help?
Thank you, unable to scan networks solved
How did you solve it?
with master reset?
Latest update to DI07 fixed this issue for me
The update was DI07 for the Samsung Epic 4G, not the Vibrant.
llamaunix said:
This weekend's update to DI07 from DG27 has fixed my "Unable to scan" Wifi issues. Since a few days ago when I would turn on Wifi it would turn itself off after about 10-20 seconds. It would also show a message saying "unable to scan for networks".. Previously I read that a factory reset would fix this problem but I held out for the new update to be pushed to my phone today (9/19) and indeed it fixed my problem. After the update rebooted, my Wifi turned on with no problem and it showed my previously added networks as well.
Good luck!
Click to expand...
Click to collapse
Is this update for the galaxy S?
or is there going to be a similar update?
I haven't logged onto another WIFI since I had to reset the phone (apart from my home WIFI). so i don't have to go through setting it up again.
cheers for the extra info
quick update
I am backing up with titanium backup manger now (free)
so hopefully it will restore the wifi it goes wrong again
(the phone needs to be ROOTED for the Titanium backup to work)
I rooted my phone with
http://forum.xda-developers.com/showthread.php?t=742403
one click rooter ( i couldn't run the "Galaxy S I9000 One-Click Root" file. i ran "rootme" file for 2.1 android, the rootme2.2 is for 2.2 it says dont run both)
And have 'astro file manager'(Free) and can explore more of my phone by pressing the up button a few times.
in astro file manger I searched for the word 'wifi' and got about 3 results. So its probably one of these.
We'll it working for the moment but I'm posting the more info for anyone else.
(I still don't know which file to delete to reset the wifi though.) but the titanium backup should be able to restore the wifi settings
alsatea said:
I found it :
since you're rooted, go to /data/wifi/ and delete bcm_supp.conf (back it up first just in case). Then reboot your phone.
Click to expand...
Click to collapse
hello alsatea,
I have the wifi problem as well, and my galaxy s is rooted by running rootme but I can't find the bcm_supp.conf file. How do I fix the problem without applying factory reset?
thanks
chanXda said:
hello alsatea,
I have the wifi problem as well, and my galaxy s is rooted by running rootme but I can't find the bcm_supp.conf file. How do I fix the problem without applying factory reset?
thanks
Click to expand...
Click to collapse
Hi,
You have first to open 'adb shell' and in the shell enter 'su' (you must allow superuser access on your phone).
Next execute 'rm /data/wifi/bcm_supp.conf' and finaly 'reboot'
Good luck,
Mark
CommanderTux said:
Hi,
You have first to open 'adb shell' and in the shell enter 'su' (you must allow superuser access on your phone).
Next execute 'rm /data/wifi/bcm_supp.conf' and finaly 'reboot'
Good luck,
Mark
Click to expand...
Click to collapse
THANK YOU SO MUCH.
I spent over an hour on the phone with AT&T and then with Samsung trying to resolve the "unable to scan networks" issue. Absolutely worthless.
I rooted my phone just to try this and avoid doing the factory reset, and it worked!
Now if only I knew how to avoid this in the future...
thanks this actually worked for my fascinate as well.. saved me some hassle!
I had the unable to scan networks problem on my Bell Canada Samsung Galaxy S Vibrant.
Have been attaching to static IP in my house using Wifi Static app. (great app, by the way. stores configurations for multiple static ips and then configures wifi and connects automatically when you're in range of one of them. no more manual fiddling with settings for every static IP)
But I guess this precipitated whatever happens to the "conf" file mentioned above.
Initially installed ES Strong file manager to see if I could see the contents of the /data folder. Showed up as empty. (apparently not a high enough level of access to see if there's anything in there)
So needed to go for "root" access.
Rooted my phone with One Click Root:
http://forum.xda-developers.com/showthread.php?t=742403
then installed the "Terminal Emulator" app from Android marketplace.
Ran the terminal emulator to get a command prompt. your soft keyboard should pop up. if not, hit the menu button on your phone and hit "toggle soft keyboard". Then typed in:
'su' and hit 'enter' (do not type quote marks)
to gain superuser access.
The superuser app will pop up to ask you if you want to grant superuser access to the terminal. hit 'yes' or 'ok' or whatever the right button is.
terminal responds with a '#' prompt.
Then I typed in:
'mv /data/wifi/bcm_supp.conf /data/wifi/bcm_supp.bak' and hit 'enter'
to rename the file.
I then typed 'exit' and hit 'enter' to get out of superuser and then I hit the phone's 'back' button to shut down the terminal.
And now my wifi works again!!
The terminal procedure could probably be put into a script.
Next time it happens, I'll just do the same.
Once Bell releases Froyo in Mid-dec, maybe this will be solved. But I'll probably hold off and watch the forums for a while before jumping to Froyo just in case it buggers up something else.
Good luck!
dietrite said:
Now if only I knew how to avoid this in the future...
Click to expand...
Click to collapse
android market
titanium backup
free version
paid is very fast
titanium backup
phone menu button
batch
backup all apps and user data (look for the highest number on the right)
it backs up everything
maybe set a schedule to back up
--
if wifi goes wrong
select backup restore tab
and restore wifi settings
--
xdacalfun said:
I had the unable to scan networks problem on my Bell Canada Samsung Galaxy S Vibrant.
Have been attaching to static IP in my house using Wifi Static app. (great app, by the way. stores configurations for multiple static ips and then configures wifi and connects automatically when you're in range of one of them. no more manual fiddling with settings for every static IP)
But I guess this precipitated whatever happens to the "conf" file mentioned above.
Initially installed ES Strong file manager to see if I could see the contents of the /data folder. Showed up as empty. (apparently not a high enough level of access to see if there's anything in there)
So needed to go for "root" access.
Rooted my phone with One Click Root:
http://forum.xda-developers.com/showthread.php?t=742403
then installed the "Terminal Emulator" app from Android marketplace.
Ran the terminal emulator to get a command prompt. your soft keyboard should pop up. if not, hit the menu button on your phone and hit "toggle soft keyboard". Then typed in:
'su' and hit 'enter' (do not type quote marks)
to gain superuser access.
The superuser app will pop up to ask you if you want to grant superuser access to the terminal. hit 'yes' or 'ok' or whatever the right button is.
terminal responds with a '#' prompt.
Then I typed in:
'mv /data/wifi/bcm_supp.conf /data/wifi/bcm_supp.bak' and hit 'enter'
to rename the file.
I then typed 'exit' and hit 'enter' to get out of superuser and then I hit the phone's 'back' button to shut down the terminal.
And now my wifi works again!!
The terminal procedure could probably be put into a script.
Next time it happens, I'll just do the same.
Once Bell releases Froyo in Mid-dec, maybe this will be solved. But I'll probably hold off and watch the forums for a while before jumping to Froyo just in case it buggers up something else.
Good luck!
Click to expand...
Click to collapse
Had the same problem. Then I was having problems getting Superuser to allow my ADB shell, so I followed the steps above with a terminal emulator and got my Wi-fi on my Captivate back. thx
xdacalfun said:
then installed the "Terminal Emulator" app from Android marketplace.
Ran the terminal emulator to get a command prompt. your soft keyboard should pop up. if not, hit the menu button on your phone and hit "toggle soft keyboard". Then typed in:
'su' and hit 'enter' (do not type quote marks)
to gain superuser access.
The superuser app will pop up to ask you if you want to grant superuser access to the terminal. hit 'yes' or 'ok' or whatever the right button is.
terminal responds with a '#' prompt.
Then I typed in:
'mv /data/wifi/bcm_supp.conf /data/wifi/bcm_supp.bak' and hit 'enter'
to rename the file.
I then typed 'exit' and hit 'enter' to get out of superuser and then I hit the phone's 'back' button to shut down the terminal.
And now my wifi works again!!
Click to expand...
Click to collapse
Beautiful, works great, and I can do this with out a PC, and much more simple. Very nice when you are traveling. Thanks for the tip.
alsatea said:
I found it :
since you're rooted, go to /data/wifi/ and delete bcm_supp.conf (back it up first just in case). Then reboot your phone.
Click to expand...
Click to collapse
Thanks a lot alsatea. Deleting /data/wifi/bcm_supp.conf and rebooting resolved the problem and I got back wi-fi. All the networks remembered previously came back. Thanks mate.
Just in case anyone is reading this topic but is unable to find the bcm_supp.conf file, try this instead:
> adb shell
$ su
# cd /data/misc
# chown wifi.wifi wifi
Then try enabling the wifi again. It should work.

Error “Can’t establish a reliable data connection to the server”

I recently got my Samsung captivate and whenever i try to open market, gmail etc i need to sign in with my google account. This is fine, however it doesnt let me. I enter all my details correctly and i get "Error Can’t establish a reliable data connection to the server".
Im doing it over wifi and ive tried with my SIM in and out. Ive also tried the youtube workaround but i get "There was a network error while trying to sign in". My phone is parallel imported and has Android 2.2 with lidroid.
I have factory reset 3 times now but nothing has helped, each time i am presented with a chinease setup screen which i cannot understand.
Could someone please help me
- Doc
anyone know what to do?
I read this...
1. adb remount
2. adb shell
3. su
4. rm /data/data/com.android.providers.settings/databases/settings.db
Not good with android, could someone explain if the above would work?
doctorwhobbc said:
anyone know what to do?
I read this...
1. adb remount
2. adb shell
3. su
4. rm /data/data/com.android.providers.settings/databases/settings.db
Not good with android, could someone explain if the above would work?
Click to expand...
Click to collapse
I went to /data/data/com.android.providers.settings/ and there was only a folder called lib and nothing was in it. would this be the problem? does anyone know what the correct files should be in /data/data/com.android.providers.settings/
thanks
call your cellular provider. i had this issue before. it is server issue in my cellular provider

[Q] How to find my WPA passphrase

Is there a file in the files structure that houses the WPA passphrase. I have looked around in \system\etc\wifi but none of those files seem to be what I am looking for. I have a feeling it is encrypted in some file but I thought I would ask if anyone knows. Most of the devices tell me that the passphrase is unchanged when i go into the settings of already configured networks. This does not help me if i forget what the passphrase is. Thanks in advance.
jschauf said:
Is there a file in the files structure that houses the WPA passphrase. I have looked around in \system\etc\wifi but none of those files seem to be what I am looking for. I have a feeling it is encrypted in some file but I thought I would ask if anyone knows. Most of the devices tell me that the passphrase is unchanged when i go into the settings of already configured networks. This does not help me if i forget what the passphrase is. Thanks in advance.
Click to expand...
Click to collapse
If you are rooted you can use WiFi key recovery from the market to recover your passphrase. I have no idea where it gets this information though, you could always ask the dev I imagine.
you will need root to read /data or adb.
the wpa psk is clear text in
/data/misc/wifi/wpa_supplicant.conf
polobunny said:
If you are rooted you can use WiFi key recovery from the market to recover your passphrase. I have no idea where it gets this information though, you could always ask the dev I imagine.
Click to expand...
Click to collapse
That helps for my rooted phone but not for the stupid Kindle Fire one of my co-workers has. That is the device I am really trying to extract the passphrase from. I will look at that app for my phone though.
jschauf said:
That helps for my rooted phone but not for the stupid Kindle Fire one of my co-workers has. That is the device I am really trying to extract the passphrase from. I will look at that app for my phone though.
Click to expand...
Click to collapse
Well you need root either way. :/
polobunny said:
Well you need root either way. :/
Click to expand...
Click to collapse
Figures, guess I will have to figure something else out.
you MIGHT be able to do it with adb without root
if you have adb on a computer somewhere try
adb pull /data/misc/wifi/wpa_supplicant.conf

[Q] VPN on Tablet S 4.0.3 r5

Hi,
Just done a factory reset and upgraded to r5 , this is a UK tablet, region changed to US and flashed. I then rooted using Root_with_Restore_by_Bin4ry_v13 . After several try I got it working, but I had to use a signed VPNfaker to accomplish this.
So now I want to use a VPN, before I used OpenVPN, this worked perfectly, now it fails to connect. I get the error - Running on Sony Tablet S (nbx03) Sony, Android API 15. Your image does not support the VPNService API, Sorry
I tried to use OpenVPN Connect , getting the error due to a know bug in this version of android it is not possible to gain permission to open a VPN Tunnel.
So last attempt using the built in L2tp/IPSec option, with this I just get a timeout error. No Connection.
So was it the rooting method damaged or changed something with VPN or is it this version US R5 ?
Anyone got VPN working on US R5 ?
OpenVPN is working fine on my tablet S with release 5. I use the apps 'OpenVPN Installer' and 'OpenVPN Settings' from Google Play...
Sent from my Sony Tablet S using xda app-developers app
walsera said:
OpenVPN is working fine on my tablet S with release 5. I use the apps 'OpenVPN Installer' and 'OpenVPN Settings' from Google Play...
Sent from my Sony Tablet S using xda app-developers app
Click to expand...
Click to collapse
That was the second option I tried. I enabled the VPN service, then selected the VPN I want to connect. It initiates the connection then stops after a second with no results in the log file. Did you try any of the other VPN apps that don't require root, OpenVPN Connect (I think US Market only) or OpenVPN for Android, this work really well on my Xperia S .
How did you root your Tablet ?
Did you do the incremental update or full install ?
I flashed the full update and basically used the same method like you. I also had to sign VpnFaker.apk for my Swiss tablet... I don't remember any issuses installing OpenVPN (OpenVPN Installerhttps://play.google.com/store/apps/details?id=de.schaeuffelhut.android.openvpn.installer, OpenVPN Settingshttps://play.google.com/store/apps/details?id=de.schaeuffelhut.android.openvpn). Interestingly, no tun.ko module is required.
I quickly tried the apps you suggested and which don't require root. But they didn't work for me in a quick test.
walsera said:
I flashed the full update and basically used the same method like you. I also had to sign VpnFaker.apk for my Swiss tablet... I don't remember any issuses installing OpenVPN (OpenVPN Installerhttps://play.google.com/store/apps/details?id=de.schaeuffelhut.android.openvpn.installer, OpenVPN Settingshttps://play.google.com/store/apps/details?id=de.schaeuffelhut.android.openvpn). Interestingly, no tun.ko module is required.
I quickly tried the apps you suggested and which don't require root. But they didn't work for me in a quick test.
Click to expand...
Click to collapse
Thanks for trying that. I will retry loading my VPN Profiles again in OpenVPN
defsix said:
Thanks for trying that. I will retry loading my VPN Profiles again in OpenVPN
Click to expand...
Click to collapse
Ok, so tried re-installing busybox, tun.ko, OpenVPN settings and OpenVPN installer however still it's not working. I am thinking the problem is deeper than this though. The built in VPN options L2TP/IPSec and PPTP are both failing to work. I just get a time out error. I have uploaded a section of the catlog if someone could have a look at it.
I am still stuck with this problem. I used AIO tool to setup boot loop protection and then re installed the full R5 on top of the old installation. I didn't do a factory reset though, I don't have the time to re install everything.
And still the problem persists.
I am unable to create any VPN
Anyone any ideas ?
ok. Factory Reset.
Factory Reset, reinstalled R5. Titanium Backup restore and still no VPN. I give up.
Sorry to hear that... for more information about the initiation process of your VPN, you could try to start the openvpn binary in a terminal as root with an increased verbosity level... just to see at which step the process actually fails
walsera said:
Sorry to hear that... for more information about the initiation process of your VPN, you could try to start the openvpn binary in a terminal as root with an increased verbosity level... just to see at which step the process actually fails
Click to expand...
Click to collapse
would that give me more or the same as a logcat ?
Could you give me a quick idea how to do this in terminal ?
Well, I am not an expert, but your logfile was just little use for me...
Steps for running openvpn in terminal:
Open terminal
Type 'su' to get root
Change to the directory with your profiles using 'cd PROFILEDIR'
Type 'openvpn' for getting all command line options
To start a connection type something like 'openvpn --config PROFILE.ovpn --verb 3 '
I couldn't test this with my connection because I haven't figured out how to pass my key for my certificate. But I think this is the way to go.
walsera said:
Well, I am not an expert, but your logfile was just little use for me...
Steps for running openvpn in terminal:
Open terminal
Type 'su' to get root
Change to the directory with your profiles using 'cd PROFILEDIR'
Type 'openvpn' for getting all command line options
To start a connection type something like 'openvpn --config PROFILE.ovpn --verb 3 '
I couldn't test this with my connection because I haven't figured out how to pass my key for my certificate. But I think this is the way to go.
Click to expand...
Click to collapse
ok, will give this a try.

[Q] Wifi password always forgotten

I was trying to unlock the possiblity to connect my android device (droid 4, JB) to a wifi hotspot.
To do this I modified the wifi_supplicant.conf file. Since it didn't work I restored the original.
I also put a command in the terminal but now I cannot recall what, I'll look for that guide again to post it.
Now anyway each time I turn off the wifi (or the phone) I loose all the saved network, and I have to put all the password again.
How can I fix it?
Thank you!
I'm having the issue after updating my ROM, from older stock rooted to newer stock rooted.
I notice the AP entries with passwords inside the wifi_supplicant.conf file keeps getting erased, once you turn OFF and ON the WiFi
Why is this?
SOLUTION:
kevg77 said:
I have seen that others are having the same issue that I am having where my phone forgets WiFi settings after every reboot since MJ4 update. What is the fix for this?
Thanks
Click to expand...
Click to collapse
kevg77 said:
WiFi problems?
Try this:
Due to "securestorage" being set to true in build.prop, changes to the ROM or kernel that aren't reflected in the ss_id file in /system/etc/secure_storage/.system.bin.wpa_supplicant/ can cause issues with WiFi among other things. You can set this to false yourself, or simply flash the zip file below.
Download: Set Secure Storage to False
For those that prefer to do it manually, simply change this line ro.securestorage.support=true to false in /system/build.prop.
Click to expand...
Click to collapse
YOU'RE A LIFE SAVER!!!!!!!!!!!!!!!!!!!
:good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good:
Why was [ ro.securestorage.support=true] set to true? --Is this by ROM's default?
What functionality do we lose once it's set to "false"?
klau1 said:
SOLUTION:
YOU'RE A LIFE SAVER!!!!!!!!!!!!!!!!!!!
:good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good:
Why was [ ro.securestorage.support=true] set to true? --Is this by ROM's default?
What functionality do we lose once it's set to "false"?
Click to expand...
Click to collapse
Done, rebooted, but still not working.. I have the same issue when turing off/on WiFi...
AFAIK, it's a bug introduced in MJ4.

Categories

Resources