Hi.. Im looking for a way to permanently disable wifi from my device, either by deleting the drivers, or changeing inner settings to turn off immidiatly when turned on.. I also want it as a permanent solution, not by installing an app that can be uninstalled...
I found a few other solution but none is good for s2, there is no /systems/lib/modules folder, and theres nothing about wifi in the Build.prop file...
Phone is rooted, stock 4.1.2
Thanks
Try looking these two files at /system/etc/permissions/ folder:
com.android.hardware.wifi.xml
com.android.hardware.wifi.direct.xml
Rename these both files (in the case you'll need them back later), for example:
com.android.hardware.wifi.xml.bak
com.android.hardware.wifi.direct.xml.bak
(When rename them, just make sure they don't ended with .xml extension)
Now reboot the phone. The system shouldn't detect the WiFi presence now. You can check it from Android settings, WiFi parts should be gone.
The drawback is, if you upgrade your ROM or install a new one, you need to repeat this procedure again. Also, I don't know if WiFi still can be detected someway from Android system.
A bit off topic:
I also have similar problem with my S2 regarding to defected WiFi. I've been thinking of pulling off WiFi chip near leaked clock battery (which is causing phone's date time always reset every time I remove the main battery). The only thing to prevent me doing that is because the bluetooth still good— well, sometimes it won't turned on before I switch the WiFi on (in that case, bluetooth goes on and WiFi still remain off).
Hope this help.
Is this - theoretically - possible with any process on any android phone? Would be the solution for a problem i'm doing research now for hours...
Sent from my SM-P605 using XDA Free mobile app
Related
wtf?? I flashed to 2.1 global generic today, and everything has been fine, then suddenly all my market downloads started hanging on "starting download" (for free downloads) or "authorizing purchase" (for something I bought, before noticing the problem).
So I done some looking around for solutions and one of the solutions on devices that have had this in the past was to enable wifi, try downloading from the market, disable wifi, should be fine.
But when I tried enabling wifi it failed, and come up with a message "unable to scan for networks". the wifi setting then defaulted back to dissabled, automatically. wtf, i know there are wifi networks around, im in my room, on my PC, USING my wifi network which my phone was connected to previously.
Im stumped and need help
oh also worth noting, wifi has worked since updating to 2.1, and i have barely touched the device, done nothing major anyway (i.e. all I have done is stuff like adding widgets to desktop, nothing root based) since it was working.
Exactly the same for me mate. It initially worked, but now just displays the same message as you get.
Rebooted, removed battery, nothing has helped.
Happened to me too, after updating to 2.1.
I did a factory reset, that seemed to have solved the issue.
But it is really weird and hope it doesn't happen again.
yeah.... in the end after a lot of looking around I just recided to use SEUS to "repair" (reset) it, and so far that has worked a treat, plus the market is a lot more responsive now,
but it's quite a serious issue on google's part, as it's not just X10s that are getting this. Anyhoo, just out of curiosity if you've received this message, what version of the 2.1 firmware are you running, nordic, global, etc?
Check out this thread:
http://forum.xda-developers.com/showthread.php?t=826027
I also found that restoring WiFi access points from 1.6 using Titanium can give you this exact problem, so be careful people!
*sent from my X10i
I fixed mine by removing stored wifi settings. I assume titanium backup did it.
"Unable to scan networks"
I too have the same issue, idk when it exactly stopped working but I do know that I flashed it earlier that day with the 2.1.1 f/w. I am not sure but could the config. file be edited or the extension for it be renamed to fix the issue?
I ran across this post, and found the fix posted on this page. I had to change the wpa_supplicant.conf file extension to .bak
ronniecross said:
So I done some looking around for solutions and one of the solutions on devices that have had this in the past was to enable wifi, try downloading from the market, disable wifi, should be fine.
But when I tried enabling wifi it failed, and come up with a message "unable to scan for networks". the wifi setting then defaulted back to dissabled, automatically. wtf, i know there are wifi networks around, im in my room, on my PC, USING my wifi network which my phone was connected to previously.
Im stumped and need help
Click to expand...
Click to collapse
I had the same problem. I installed the software from the sony erikcon website to my computer, and then followed the process for updating the phone software. That did not work, since I had the latest software already. So then, I tried to REPAIR my phone software, and after that was done, my phone was functional again, and the wifi works without any problems.
Requirements:
* A PC connected to the Internet (preferably broadband)
* USB phone-to-PC connection. Please see the accessories compatibility list for your phone.
1.Run the software on the computer after it is installed.
2. Follow the procedure for UPDATE or REPAIR (if you already have the latest version).
I'm running Uruk 0.7 on Archos 101 and it seems that my WIFI suddenly stopped working. When i go to Settings -> Wireless and enable WIFI it will begin to scan for networks, but it never finds anything. I've reinstalled Uruk and it doesn't help. On another android device I can scan and find two available AP's. If I go to Advanced, it reports the MAC address of the device.
I'm about ready to open this sucker up and make sure the antenna cable hasn't come loose.
If I'm right that the antenna is actually the black wire, then it seems that the physical solder points are good. It's a very flimsy wire. Photo is attached.
I have removed Developers edition and now went back to stock. WIFI is still not working. Any ideas?
Did you format and install the latest firmware?
I don't think the SDE or Uruk change the wifi layer of the OS. There are files that you can manually edit with SDE and root, wifisupplicant and twilan, that configure your wireless settings. If those files were changed or corrupted, then you'd need to format and install the latest archos firmware or use the SDE+Uruk to copy over new, correctly configured, files.
Of course it could be hardware related, but without a format, it is tough to say.
Did you try "forgetting" then reconnecting the network? Mine periodically does the same thing. The network is available and configured, but the tablet will scan and never connect. Forgetting and reconfiguring will fix it. I have one network that uses leap authentication, and it's a bit of a pain to set up. Last time I had to reset everything I made a backup copy of the wpa_supplicant file. Now when it quits working I just copy over the backup and it starts working again.
I have tried the forget network method, but I did reformat at reinstall the stock AOS file of 2.1.08. So now back to fully stock I would think that would have reset everything, including the wifi layer. Right?
butlerm1977 said:
I have tried the forget network method, but I did reformat at reinstall the stock AOS file of 2.1.08. So now back to fully stock I would think that would have reset everything, including the wifi layer. Right?
Click to expand...
Click to collapse
As long as you did the full wipe and not just a reset, I would say so.
butlerm1977 said:
If I'm right that the antenna is actually the black wire, then it seems that the physical solder points are good. It's a very flimsy wire. Photo is attached.
Click to expand...
Click to collapse
For me this black wire does not look like a wifi antenna.
as you reformatted your dev. did u ever uses the 10sec. power button reset funktion. maybe your hardware hangs. a resett may be helpfull. or just unplug the accu from mainboard and try to start. then replug the accu.
BUT DO IT AT YOUR OWN RISK!!! usually this does not harm your dev.
i cant guarantee...
Good luck!!!
The black wire probably works as neutral and grounding wire. I'm pretty sure that you won't find a loose cable, I guess your wifi-card died. If a format and (hard-)reset didn't help what else would?
Since you watermarked your device by installing SDE and Uruk you can't send it back to Archos. Good luck fixing it yourself
I Flashed CM 9 A13, and experiencing random freeze and reboot, I'm suspecting something wrong with the wifi, because everytime I got freezed up and rebooted my wifi data counter increased a bit by bit, though I didn't turn on the wifi nor using it.
Here's the other thing I've had as problems with wifi:
- If I connects to Wifi for some period, and turn it off my gsm data won't come back
- After freezes and reboots, my data won't come back either, I need to reboot it again to regain the data back
that's what makes my suspicions regarding the wifi become stronger, so I did tampered some system, starting from setting the wifi sleep policy, which didn't work, reflashing, and changing the wpa_supplicant.conf but none of them work (yes its stupid, i know )
but then I read about changing the sleep policy through changing the settings.db in /data/data/com.android.providers.settings/databases/
I read those, and compare it with my D2G's (using miui with ICS framework I think ? ) then added the line that don't exist or updated it with the value
- apn_auto_switch = 1
- network_preferrence = 1
- preferred_network_mode = 2
- location_provide_allowed = network
Then, "bam" i lost my lockscreen, but the good news is, all the problem mention above is gone. I don't have any random freezes and reboots, my gsm data will come back after switching the wifi off, everything works fine, well except the "lockscreen" so any idea how to bring it back ?
You might want to go to the thread and post this question as this is still in alpha and rom specific.
The apn auto switch is interesting
El-Nath said:
I Flashed CM 9 A13, and experiencing random freeze and reboot, I'm suspecting something wrong with the wifi, because everytime I got freezed up and rebooted my wifi data counter increased a bit by bit, though I didn't turn on the wifi nor using it.
Here's the other thing I've had as problems with wifi:
- If I connects to Wifi for some period, and turn it off my gsm data won't come back
- After freezes and reboots, my data won't come back either, I need to reboot it again to regain the data back
that's what makes my suspicions regarding the wifi become stronger, so I did tampered some system, starting from setting the wifi sleep policy, which didn't work, reflashing, and changing the wpa_supplicant.conf but none of them work (yes its stupid, i know )
but then I read about changing the sleep policy through changing the settings.db in /data/data/com.android.providers.settings/databases/
I read those, and compare it with my D2G's (using miui with ICS framework I think ? ) then added the line that don't exist or updated it with the value
- apn_auto_switch = 1
- network_preferrence = 1
- preferred_network_mode = 2
- location_provide_allowed = network
Then, "bam" i lost my lockscreen, but the good news is, all the problem mention above is gone. I don't have any random freezes and reboots, my gsm data will come back after switching the wifi off, everything works fine, well except the "lockscreen" so any idea how to bring it back ?
Click to expand...
Click to collapse
Sent from my MB855 using XDA App
lbcoach3347 said:
You might want to go to the thread and post this question as this is still in alpha and rom specific.
Click to expand...
Click to collapse
Well, I think the problem I have now is not part of CM9 bug, it's my own fault
the random reboots,freezes,gsm won't connect after set to wifi is already been reported by several peoples there, so I believe Joker has already know that and try his hard to fix it.
But guess what, I fixed my own problem along with the random reboots,freezes,gsm won't connect after set to wifi
My fault is after changing the settings.db, I immediately closed the software and copied the settings.db only and not including -shm and -wal files
Reflashing Cm9, took out settings.db, edit needed value, copy back settings.db along with the two files I didn't includes in the 1st attempt , and voila I got my lockscreen, home button back not to mention no more random reboot and can get my gsm data again after switching back from wifi
jokersax11 said:
The apn auto switch is interesting
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
Alpha 14 ? Thanks mate, for making this CM9 available
I just have to find their source. To make it easier
El-Nath said:
Well, I think the problem I have now is not part of CM9 bug, it's my own fault
the random reboots,freezes,gsm won't connect after set to wifi is already been reported by several peoples there, so I believe Joker has already know that and try his hard to fix it.
But guess what, I fixed my own problem along with the random reboots,freezes,gsm won't connect after set to wifi
My fault is after changing the settings.db, I immediately closed the software and copied the settings.db only and not including -shm and -wal files
Reflashing Cm9, took out settings.db, edit needed value, copy back settings.db along with the two files I didn't includes in the 1st attempt , and voila I got my lockscreen, home button back not to mention no more random reboot and can get my gsm data again after switching back from wifi
Alpha 14 ? Thanks mate, for making this CM9 available
Click to expand...
Click to collapse
Sent from my MB855 using XDA App
In summary (due to limited/slow internet access via wifi)
* Phone is a stock Samsung Galaxy S2 - v4.1.2 (UK Three network stock ROM)
* I'm from the UK and GPS works fine over there.
* I'm in Europe for holiday and GPS does not work at all.
Changes so far:
- Changed SIM card
- Added new APN, which includes this line for APN Type, which is default,supl,mms,agps and while Roaming Data works fine, GPS is not connecting at all (e.g. Google Maps, Co-Pilot, etc).
Using an app called GPS Test - it CAN find sats (up to 5 or 6 different sats) but NEVER get a fix at all.
Used an app called Fasterfix and set the server to Europe (I have root) - still no luck.
It CAN find a fix (well sort of, location is incorrect but is close by) if I enabled WiFi from our hotel. But useless when I'm out and about.
What else can I try to resolve this as I will need to use GPS in the next few days time (driving using satnav on my phone)
I have tried to do a search here but the hotel's wifi is pretty crappy/slow. :/
I'd be grateful if anyone could help me to resolve this.
Many thanks!
tsutton said:
In summary (due to limited/slow internet access via wifi)
* Phone is a stock Samsung Galaxy S2 - v4.1.2 (UK Three network stock ROM)
* I'm from the UK and GPS works fine over there.
* I'm in Europe for holiday and GPS does not work at all.
Changes so far:
- Changed SIM card
- Added new APN, which includes this line for APN Type, which is default,supl,mms,agps and while Roaming Data works fine, GPS is not connecting at all (e.g. Google Maps, Co-Pilot, etc).
Using an app called GPS Test - it CAN find sats (up to 5 or 6 different sats) but NEVER get a fix at all.
Used an app called Fasterfix and set the server to Europe (I have root) - still no luck.
It CAN find a fix (well sort of, location is incorrect but is close by) if I enabled WiFi from our hotel. But useless when I'm out and about.
What else can I try to resolve this as I will need to use GPS in the next few days time (driving using satnav on my phone)
I have tried to do a search here but the hotel's wifi is pretty crappy/slow. :/
I'd be grateful if anyone could help me to resolve this.
Many thanks!
Click to expand...
Click to collapse
Flash a new rom!
-Root the phone via CF-Root or the App "Framaroot" from XDA , then install CWM through ROM Manager.
-Then download the ROM.zip you want and install it in CWM.
kevinrus123 said:
Flash a new rom!
-Root the phone via CF-Root or the App "Framaroot" from XDA , then install CWM through ROM Manager.
-Then download the ROM.zip you want and install it in CWM.
Click to expand...
Click to collapse
Thanks for the reply, but in case you've missed it, I am in Europe... I cannot risk doing it in case I brick my ONLY phone that I will need for the rest of my holiday. And I got sucky wifi access to download anything anyway.
BTW, seems overkill to do this... does it REALLY work? If so, why does it work when my stock ROM does not work? I'm just curious...
tsutton said:
Thanks for the reply, but in case you've missed it, I am in Europe... I cannot risk doing it in case I brick my ONLY phone that I will need for the rest of my holiday. And I got sucky wifi access to download anything anyway.
BTW, seems overkill to do this... does it REALLY work? If so, why does it work when my stock ROM does not work? I'm just curious...
Click to expand...
Click to collapse
Oh , sorry.
Try to make a backup via GO Backup (best backup without root acess).
Then make a factory reset and restore the backup.
me too past two day.
I tried many rom: CM 10.1, 10.2, stock 4.1.2...but get same problem.
OK. Here's what's always worked for me so far as GPS is concerned, obviously YMMV & there's no flashing/risk of bricking your phone involved.
If you don't already have GPS Status, get it from Google Play. Go outside to a place that has good line of sight in all directions. Turn mobile data & GPS on & fire up GPS Status. Go into tools/manage A-GPS state & reset A-GPS XTRA Data. Then go back into the same setting & download new ephemeris data (which is essentially tables of satellite positions/where they'll be & when), then close GPS Status. Turn off mobile data & put the phone into flight mode (leave GPS on), then fire up GPS Status again. Wait for as long as it takes (normally not more than 5 minutes) for it to get a good/accurate fix (down to a few mtrs/with plenty of satellites).
Once I do this, it's always enabled me to get accurate/fast fixes for anything up to a couple of weeks until the ephemeris data gets old, in which case you repeat. Obviously if you have network connectivity this will help getting a fix, particularly in 'crowded' urban areas (cities/lots of buildings/poor LOS).
Edit - Also, if the above doesn't work, try this. I understand your reluctance so far as flashing anything goes, but you either want your GPS to work or you don't. Yes, it should 'just work', but there's lots of things in the world that should 'just happen' & they don't for whatever reason. This is how it goes with smartphones. The GPS on the SGS2 is particularly notorious for issues that simply can't be resolved easily for some people.
Flashing another rom or kernel may/may not work, if the GPS drivers are messed up, doing so will give you fresh drivers & may fix the problem if that's what's causing it.
HULLO there senior people,first i am new to android world... I have bought a used htc first at&t , which is rooted as per superuser app inside, its also pre unlocked(using local network).running jelly bean the problem is wifi, when i turn off its wifi, i cant be able to on again, it showed on(slider turns blue on) but it shows all networks not in range, its not access point issue(i am pretty familier with networking stuff)...... i have to reset(turn off and on again) my phone to be able to turn on wifi, means before reboot i have to keep it at on position and than reboot than its working again, if i leaves it at off position before reboot its not gonna work like before. thanks in advance, i have bought it in 125 US$.....every thing is perfect except WIFI... and gps also doesn't work, which doesn't matter to me
Hmm. That's an odd one. Can you check to see if there is a custom rom and / or kernel installed? Let us know the system / build version of the software and the kernel version it is using. Should be able to find this in Settings > About Phone > Software Information or something along those lines.