yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] AkaMod:
O.o different kernels? Of course you wiped cache and dalvik, right?

If you don't, I suggest you to use some "Kernel Cleaning Tool" before flashing the new kernel. Btw, here's a good thread about the custom kernels available for ICS.
[Galaxy S II General] awojtas:
Guys, instead of taking out the battery on the S2 you can just hold the power button for about 25 seconds. It force-reboots and works whether the phone is on or not responding at all.
[Galaxy S II General] Nubche:
Murata here, just happened to me right now, rushed to here and found this post +1.
[Galaxy S II General] Flash05:
this doesnt happen to me on GB 2.3.3 or 2.3.6. i dont think this is hardware coz if it is, the bug should be present on GB (2.3.x)

factory reset - doesnt work.

set the band/freq. to 2.5Ghz - it doesnt work BUT the bug rarely happens. i cant reproduce it easily. unlike if it is in "auto" i can easily redo it by on/off/on/off the wifi.

yes holding the power button (while sleep of death) for about 10 seconds and release it will reboot. so no need to remove the battery.
[Galaxy S II General] kohiiou:
If it helps, I had the same problem on LPE. The problem disappeared with LPF and LPG. An easy way to test is to install LPF, and use the drop down widgets to turn off and on the Wifi. On my i9100, this reproduces the problem. After, flash LPF or LPG and repeat disabling and reenabling the Wifi to see if the issue reoccurs. On my i9100, the issue is resolved with the newer firmwares.
[Galaxy S II General] ras123ras2003:
problem sovled

I had this problem. but I recived a small update (11MB) seems like the problem is gone. And scrolling in most apps are very smooth now.
[Galaxy S II General] mix1987:
I used to have this problem. But what I did was to assign a new ip address for my GSII on the router side. So far this works like a charm for me and I've never experience the wifi sleep again. Haven gotten chance to use test it on other wifi networks other than my house's.
[Galaxy S II General] titillo:
I swich to plane mode on and return plane mode off and wifi work again

Enviado desde mi SGS2_GT-I9100
[Galaxy S II General] Tiodelospiojos:
hi can you give me more info about that update?

where I can get it?

thx
[Galaxy S II General] ras123ras2003:
First I had LPQ firmware then I received a new update from OTA I installed it from the phone it self now I have LPS firmware.
[Galaxy S II General] compuguy1088:
That has worked for me sometimes but not always...
[Galaxy S II General] PetoG:
turn on airplane mode, wait a few seconds, then turn off airplane mode... wifi starts to work
[Galaxy S II General] kamikaze_in:
WiFi Issue

have installed wififix also still it doesnt connect, shows poor connection when signal strength is excellent

btw mine is SAMSUNG ELECTRO-MECHANICS
[Galaxy S II General] DEVLIN7:
i have similar issue but mine hasnt totally stopped working. its like it freezes then randomly starts working again adn when its connected it downloads quick:confused:..??
[Galaxy S II General] Mr Anderson:
I had the wifi bug when I upgraded to LPQ firmware. I then got the small OTA update to LPS but the wifi bug remained. The LPQ to LPS update also introduced another bug where the "Android is upgrading" message was appearing every time I rebooted.

Last weekend I gave up, took a full backup, did a factory restore and internal SD card wipe, then for good measure did a fresh flash of the stock LPS firmware. I rooted using the CWM.zip and SU busybox installer method described here to avoid flashing a non-stock kernel.

After restoring apps and data, and a bit of tidying up, I'm up and running again as I was, and I have not seen the wifi bug reappear yet. I'm not saying it is definitely fixed, but the signs are good.

If a clean wipe and ROM flash is what it takes to clear the wifi bug, this tends to suggest that there is some sort of conflict going on with legacy GB data left on the device after the ICS upgrade.
[Galaxy S II General] Flash05:
this happened to me. all apps went F*ed up. no choice but do factory reset. this happened when i rebooted the stucked wifi.

tsk tsk. :(

---------- Post added at 07:53 AM ---------- Previous post was at 07:51 AM ----------

and my wifi chip is Samsung Electro Mechanics
[Galaxy S II General] Isadora:
Was having wifi connection issues since flashing XWLP7 (connects fine the first time after boot, but gets stuck on subsequent connections) even after a full wipe, however since did the following, it's been working flawlessly - it may or may not work for anyone else and could well be just one of those random things :p

When I turned wifi on from the pull down and nothing happened, I long-pressed the off button, deactivated data network, then the wifi connected, I reactivated data network via long press with the wifi still on and since then I've been able to connect to wifi at will without having to reboot once.

EDIT: Scrap the above, wifi decided not to connect today, had to reboot.. Going to go with another full wipe, reflash and re-root and see how things go
[Galaxy S II General] mohsan87:
Murata wifi hardware

Wifi freeze problem :(
[Galaxy S II General] MartyHulskemper:
I'd wager this is NOT the (underlying) issue. I have the WiFi bug as well, although I am on a Samsung chipset...

Somewhere, I'm glad it is not the ROM I am currently using, since I love it; I'd have to go back to GB, as far as I understand, no?
[Galaxy S II General] jr866gooner:
When either turning mine off or setting wifi to sleep when screen off it does reconnect but takes a good 4-5 seconds. Think this has occurred for me since upgrading.

Im on LPS btw.
[Galaxy S II General] jonny_ftm:
XWLP7 + CF:Root

Chipset is Samsung Electro Mechanics

And I also have this wifi reboot issue, random, and annoying, really

Hard reset, wipe, flash of ROM won't fix it at all

Samsung really missed the ICS on S2. GB was much more stable and mature. But would miss some of ICS features...
[Galaxy S II General] Karpfenhai:
Hey there, it seems there is a fix for this available:

- min_free_kbytes increased to fix wifi toggling issue

Ask your kernel Dev for implementation!

Source are on hardcores github .

Swyped from my GT-I9100 using XDA App.
[Galaxy S II General] Flash05:
is this on kernel or available in plain text? coz if its then root and can easily change the value.
[Galaxy S II General] francys-t:
I have problem whit WiFi,latest firmware ICS..Solution?
[Galaxy S II General] zhenius:
clearing ram before turning wifi on seems to fix it for me. I don't know how these are connected.
[Galaxy S II General] Isadora:
Thanks for that, seems to do the trick :)
[Galaxy S II General] d3l1:
Isn't this value adjustable in some script file? Its a system value and not a custom value thus it should be adjustable with the stock kernel or the stock kernel should understand a different value in the respective script file.
[Galaxy S II General] jonny_ftm:
If it's that, then it could be really related to an app/widget. But was also reported to happen without wifi widgets :-(
[Galaxy S II General] Flash05:
how do you clear RAM? from the task manager?
[Galaxy S II General] xinfinityoO:
i was having the same problem before.. but with recent roms and kernel ..all is good.. what i did is used the sgs2wipe.zip file.. it als formats ur system partition. when we fatory reset the system partition doesnt get formatted.. but if u want to test that ..be carful. u need to have a rom in ur internal sd card. coz when u format system u wont be able to boot ..so just after formating u need to flash the rom
[Galaxy S II General] jr866gooner:
I have found that since switching network over to wcdpa only the wifi reconnects reasonably quicker! Don't know the difference between that and gsm tho! :confused:

sent via this forum to your face
[Galaxy S II General] obiwan77:
Here you are:

The command less or cat /proc/sys/vm/min_free_kbytes" shows 3606,so I add a script in /system/etc/init.d/:

#!/system/bin/sh

echo 8192 > /proc/sys/vm/min_free_kbytes

If you have stock kernel check this to add startup scripts:

http://xdaforums.com/showthread.php?t=1431134
[Galaxy S II General] Flash05:
is it possible to just edit the min_free_kbytes insted of this script? from the command it seems you're just replacing the values.
[Galaxy S II General] zhenius:
Yeah, I thought so, too. But I don't have any widget aside from the switcher from touchwiz. I'll try removing it for now. If it's an app, I don't have any installed which controls wifi connections.

Yes, from the task manager.:)
[Galaxy S II General] obiwan77:
Yes, but after reboot you lost this value.
[Galaxy S II General] machina2:
OverHeat

Same Problem, Murata chip, today the wifi was frozen, restart solved it, but I notice that that phone went to overheat at night when charging the battery while I had desactivated the communications (plane mode)
[Galaxy S II General] raf2k:
It cant be widget releated, because Ive got this problem to and I dont have any wifi widgets.

Sent from my GT-I9100
[Galaxy S II General] zhenius:
I guess not. I removed the touchwiz toggles widget and still had the problem just now. Although clearing ram still kind of fixes it.
[Galaxy S II General] jr866gooner:
I've noticed on my home router its fine and connects very quick. At my in laws it takes up to 30 seconds-they have a Belkin mine is a netgear.

sent via this forum to your face
[Galaxy S II General] jonny_ftm:
Don't know, but

I removed most old widgets not updated and replaced with new ones updated after ICS

I freezed most Samsung useless processes

Since then, the wifi issue no longer happens and also no more FC despite intensive use

Could be something related to memory. I would recommend uninstall of most widgets, remove useless memory processes and freeze sammy apps.

If I notice anymore FC/wifi issue, I'll post back here, but in all cases, things improved a lot (by the way, Wifi is still on Auto 2.4 / 5 GHz)
[Galaxy S II General] ritawb:
I have this issue when i try to connect at saved network sometimes dont connect, without reason.. What is?
[Galaxy S II General] xenover:
Well. I updated my phone to ICS last weekend. I have had the "stuck on activating" quite a few times since the update. Twice have I had to restart my phone. Once it just started working all of a sudden. I hope it's a software issue and it'll be fixed in a future update :) Other than that, LOVING MY SGS2 :D
[Galaxy S II General] jonny_ftm:
I think more and more it is some software issues

Now, I didn't have again this issue or any FC for a week, while was having it every day.

Nothing changed since my last FC and wifi SOD except freeze of most samsung ****, uninstall of most useless widgets that are not updated after ICS launch and Kaspersky

Even back to apex launcher and rather happy, no FC
[Galaxy S II General] kenar2:
Hi, have somebody link for sgs2wipe.zip Tested it somebody with success?. Before THX.
[Galaxy S II General] RokrGraves:
I can't turn Wifi ON. I can see the message "Turning Wi-Fi on..." but its stucked. :(

I'm using CM9.

Any solutions?
[Galaxy S II General] homp:
For me, clearing cache from 3e recovery resolved all problems with wifi.
[Galaxy S II General] hristoS2:
Im using aokp ressurection rom and no wifi problems at all
[Galaxy S II General] mightyillidan:
for all the wifi errors including wifi battery drain just flash lp7 modem and enjoy :D
[Galaxy S II General] jonny_ftm:
Hope people post a solution instead of already proven not working solutions.

What we know:

- hard reset / wipe / flash rom... won't fix it for people having the issue

- Please keep in mind that modem file has nothing, nothing and nothing to do with wifi

- issue happens on stock not modified/rooted too

- upgrading / changing router won't fix it

- setting Wifi to fixed 2.4 Ghz will reduce it, not fix it completely

- last LPD rom still has the bug

- apps, widgets... don't seem causing it

- some custom kernels won't have the issue, others still have it

For the feedback, after a few weeks now, the issue still pops up, even if less frequent, despite all I did (like most of people having it)

A workaround that often works, but sometimes needs to be repeated many times:

- when you toggle wifi through notifications and it stays greyed, you have to switch to flight mode and back to normal mode: this will unblock the wifi. Repeat it until done. If you go around other settings or your phone sleeps, it's dead for a reboot or so long wait
[Galaxy S II General] mandraghen:
I am turning off the notification in wifi advanced settings I solved the problem
[Galaxy S II General] Flash05:
this doesn't work sometimes. there is a post about changing something about a file. increasing the timeout. i just can't find it. i requires root to edit the system (text) file making the value higher.
[Galaxy S II General] raphamfc:
I have the Murata Chip and i also have wifi problems , they just dont get on. and sometimes my phone reboot if i persist to enable it. only in ICS, i never get hardware fault on 2.3.5.

so maybe its a driver bug ?
[Galaxy S II General] Flash05:
kernel-related. its not hardware as it doesnt appear when we were in GB.
[Galaxy S II General] TassaDarK:
I have Murata chip and having problems too. My Wifi is not working at all. I was in ICS when issues started to occur.

I have reinstalled ICS, factory reset, changed kernel, reinstalled Gingebread, factory reset, and same problem.

Simply wifi doesn't "start". It's off at rom's start and when you try to activate it via toogle in the notification bar or in menu settings it doesn't work.

I think it's a hardware related issue, in my terminal at least.
[Galaxy S II General] hyibin:
unfortunately, my is from Murata. I have been having wifi connection issue from day 1, the best solution I found was to turn wifi off, and on again.
[Galaxy S II General] borolo222:
I have Samsung Eletro mechanics and have the wifi issue. Using CF-Root LPD kernel. It always happens when I'm in my car ... perhaps it hangs looking for wifi spots while I drive around..

Another side effect is that it gets really warm and when i reboot it (taking the battery off) the battery status bar drops suddenly. I've had drops from 70% to 12% when turning the phone on. Anyone having this issue aswell?

thks
[Galaxy S II General] dudi1986:
mine is from Samsung Electro Mechanics and i have this problem. it happens almost every third time turning Wifi on. and if i didn't restart the phone would do it by it self after few mins
[Galaxy S II General] Phil3759:
Under LPD and LP7, wifi was SOD every other day.

Since LPF is out, I installed, no wifi SOD

Maybe it can help you
[Galaxy S II General] tj_ayson:
Hi to all!

I've done the same as TassaDarK.

Upgraded automatically by Samsung Kies to LP7 from GB. Worked for sometime then wifi is stuck to "Turning Wi-Fi On".

Tried downloading and flashing to LP9 using Odin. Wifi problem persists.

Downloaded and flashed to GB KL3 2.3.6. Wifi problem persists. Slight improvement. It doesn't get stuck on dark green in the notification bar. Wifi turns on fully but can't find any wifi networks even if there are several present. Wifi subsequently turns off after a couple of seconds automatically.

I am about to tear out my hair in agony over this injustice of not having a fully functional phone, which worked perfectly during GB.
[Galaxy S II General] Phil3759:
LPD and LP7 are FC and wifi sleep of death

LPF: not one FC or wifi bug in 8 days intensive use but bad battery

LPG: no wifi bugs, no FC, more smooth in launcher (really visible), better battery compared to LPF
[Galaxy S II General] brezzo:
I have the Murata chip and I experience WiFi issues on CM9.
[Galaxy S II General] tj_ayson:
Hi!

Tried LPG but still wifi not ok :(

I don't want to root but I'm this close to doing so to fix this.

But thanks to Phil.
[Galaxy S II General] Thime:
Lpw is working a bit better for me. And I avoid using the widget, as it seems to happen more often when I turn wifi thru it. Guess it will get better when Samsung releases 4.0.4.
[Galaxy S II General] Thime:
FYI mine is murata.
[Galaxy S II General] Phil3759:
Sad for you

I never had it back since lpf...

I no longer use widgets to toggle also
[Galaxy S II General] Silent522:
Got the same problem, but I think mine is harware related.

When I try t switch Wi-Fi on it always gets stuck

*#526# wlan test fails.

*#232339# wlan test - Status never shows up, only says Testmode Driver loaded [OK]

tried every custom and stock kernel available none of them solved the problem

- Siyah

-NEAK

-Fluxi

-CF Root

"Fxr wifi fix and rescue" app is also not helping.

also wiped cache and everything else.

I'm now back on stock XXLPW and its not getting completely stuck anymore, but still does not turn on either.

Anyone got some tips or ideas? I really think my WiFi chip is fried or something like that.
[Galaxy S II General] ndnesh:
Hi,

I have the exact same problem as you.

I have even gone back to gingerbread and even on gingerbread the wifi does not turn on. I also feel that it is a hardware problem and ICS caused it. I a. The not sure about what to do as the warranty just expired. :-(
[Galaxy S II General] Silent522:
@ndnesh

did you also run the Wlan tests unsuccesfully?

I was not even upgrading or rooting my phone, this Wifi problem just suddenly popped up last week.

So ICS is not causing the problem, or it did but then again I was already running ICS succesfully for more than two months and then suddenly this happens.

And it's not like I dropped my phone or caused any other physical damage to it.

I'm trying to install MIUI as a last resort, but my internet (I'm currently in the Philippines, but got a Dutch SGS2 ) is sooo slow.
[Galaxy S II General] ndnesh:
Hi

Yes even I ran all tests unsuccessfully.

None of the tests worked. Even for me there were no issues for about 2 months but now all of a sudden this wifi issue started. I have been facing this since two weeks now.

Edit : just saw the change log for 3.3.2 Siyah kernel. I will try that and see if it fixes the issue. Can you also try and let me know.?

Thanks
[Galaxy S II General] Flash05:
i hope siyah is the answer. so aside from the fix you get to have extra features!
[Galaxy S II General] Silent522:
interesting that we both goth the same diagnostics.

Siyah 3.3.2 does unfortunately not resolve the problem for me :(
[Galaxy S II General] schmuel:
torynthi

I have the Murata chip and I *do* have this WiFi problem.
[Galaxy S II General] ndnesh:
Does not fix the issue for me as well :-( I don't understand what happened at all.

If you haven't heard till now, check out issue 28036 in google. Many are facing the same issue that we are.
[Galaxy S II General] Silent522:
Yes, I checked that Google thread already.

I think the Wifi mobile is really broken in our devices.

Mine doesn't even show a MAc address. it say's unavailable

Did you made any progress?
[Galaxy S II General] ndnesh:
NO, same as ever. even for me the MAC address is unavailable.

I think i have to give my phone to samsung now. and see how much they will charge to fix this problem or if they will do it for free as its their software which caused this issue....

Will go to the service centre tomorrow. Wish me luck :)
[Galaxy S II General] Silent522:
Good luck with that!

I contacted my Dutch provider (KPN), They say I have 24 months manufacturing warranty. But I cannot send it away for repair right away as I'm in the Philippines at the moment.

If you send it in, you should revert everything back to stock and clear your custom rom flashing history, but I guess you are aware of that.
[Galaxy S II General] ndnesh:
Yup I am :) But thank you for pointing it out anyhow :) I glad to hear that you have a 24 month warranty! I only have a years warranty here in India. Lets see what happens! i will contact samsung :)
[Galaxy S II General] tomhalo:
I have murata chip, and after trying almost everything the problem was solved with siyah's kernel 3.2.7.2.

I only had problem with wifi draining the battery, but after I saw that this kernel including S3 wifi drivers I gave it a try.. and it works.

anyone else would like to give it a try and report here ?
[Galaxy S II General] anthonypiccolo:
When going from Gingerbread to ICS should I do a format or can I just update the firmware? I'm on XXXKH3 right now and I want to update to XWLPF Frankenstein. I'm scared that if I do this without formatting my phone I will have these wifi issues. Can anyone confirm?
[Galaxy S II General] jr866gooner:
This may be completely unrelated but i removed both 3g watchdog and watchdog app manager and since then its been ok and wifi connects really fast!
[Galaxy S II General] dj_m:
i have that wifi problem i may have a fix

reboot the phone by holding the power button not just a normal reboot or a battery pull

my wifi works like a charm after that
[Galaxy S II General] sandeep10:
Same worked for me too. Resulted in fewer wakelocks as well. I also switched to airplane mode for 5-10 minutes and switched back. Since quite some time I am having no problems with wi-fi. Only issue is that wi-fi drains battery faster than on GB.
[Galaxy S II General] gorgorven:
a Dif Prob!

Hi Guys,

This is my first post here and like any newbie i have questions.

I am using a sansung s2 GT - I9100 with ICS 4.0.3

I updated it over the air from GB and i wish i had not.

everytime i turn on the Wifi and my 3G is already connected, it hangs. turning to flight mode does not help, reboot is required..... I am going to try all the above solutions and hope it works out.

What is really bothering me is .... Google Play does nothing over my Data network, It only updates over the Wifi.... I tried clearing the cache and reboot several times and in several ways. Does anyone know of similar issues? No apps are messing with it and factory reset has already been tried. Oh and i of course checked the google play setting, the network settings and my Data network downloads eveything other than google Play updates and gmail attachments.
[Galaxy S II General] Phil3759:
XWLPG Fixed this since weeks
[Galaxy S II General] gorgorven:
hmm

I have the xwlp7 i think. My phone isnt rooted .... but i dont want to wait any longer .... will just root it!
[Galaxy S II General] Phil3759:
Why root if you do not need it?

You only have to update to LPG, it is more stable
[Galaxy S II General] Red_Vex:
Sorry to say that but my friend with lpg have wifi big :-(

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II General] mrsimmy:
Sigh... I've this problem.... and I can't solve it.... :crying:

How can I do?

I try flashing others rom (even stocks)... but nothing... wifi is dead.

Any Ideas?
[Galaxy S II General] dj_m:
do this trick at least you get your internet back
[Galaxy S II General] mrsimmy:
It doesn't work!!!! :crying:
[Galaxy S II General] nuwanmw1988:
mine is an i777(i know this is thread is for i9100)

at&t version of gs 2

same problem occurred to me after ICS update.wifi stucks in between on and off and never turns on.Flashing back to stock,changing kernals,replacing wpa_supplicant,test codes,wifi rescue market app..nothing worked for me.(but in i777 section seemingly its only me who is affected)..:(
[Galaxy S II General] Phil3759:
Hard reset and format data, cache and system. If it did not fix, your wifi hardware is maybe broken.
[Galaxy S II General] User X:
Temporary fix?

I started to experience this annoying wifi problem right after updating to ICS until a couple of weeks ago. Just installing the MiHome launcher and using the wifi widget that comes with it seems to have fixed this problem. At least I haven't experienced the wifi freeze since installing the new launcher. Give it a try. Hope this will help somebody. ;)

Wifi chip make - Murata Manufacturing
[Galaxy S II General] kmaximax:
this issue was resolved in LPF firmware afaik ..im using it and not had a problem with Wi-Fi at all :-)
[Galaxy S II General] nuwanmw1988:
You mean you had the issue with previous versions and flashing this fixed it?
[Galaxy S II General] Phil3759:
Update to LPG, fixed it

It is a very known problem now fixed on new firmwares
[Galaxy S II General] nuwanmw1988:
Ok now i wanna figure out that is it same for i777
[Galaxy S II General] nuwanmw1988:
No luck for me in LPG as well

:(