yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Android Development] rakesh.aggarwal:
[MENTION=4296690]asad007[/MENTION] I am using the latest version.

Problems or mag be fixable queries:

1. Backlight has increased by almost 150%

2. Vibration is almost gone. I increased the intwnsity to maximum but still can be felt at very low wave.

Will report more problems as aoon as I get them.
[Galaxy S 4 i9500 Android Development] gio_b:
Inverted camera colours ,still remain.

Giovanni.
[Galaxy S 4 i9500 Android Development] robsonsilva:
This error actually remained . One solution is to disable hw . Or also use another camera application ( the camera google was also inverted ) . And the battery compared to the stock is discharging too fast.
[Galaxy S 4 i9500 Android Development] asad007:
Tw test : https://www.dropbox.com/s/ce5t5mnlqjx3xl7/LWK-TEST-11-OCT-15-TW.zip?dl=0

Cm test : https://www.dropbox.com/s/ffa2t20qet6z4u8/LWK-TEST-11-OCT-15-CM.zip?dl=0
[Galaxy S 4 i9500 Android Development] robsonsilva:
What changes?
[Galaxy S 4 i9500 Android Development] asad007:
Disable swap and some minor config changes

Battery life should be improved
[Galaxy S 4 i9500 Android Development] robsonsilva:
I am testing ;D

I think that would add the zzmoove would be better than ondemand. If compiled with the uber or sabermod also improve slightly.

https://github.com/zanezam/cpufreq-governor-zzmoove/tree/exynos

http://sabermod.com/Toolchains (DEV ONLY)/arm/arm-linux-androideabi/
[Galaxy S 4 i9500 Android Development] galaxydroid_19:
Still not got a chance to test the battery life, but there are 2 bugs that i found: (CM version)

1. it seems like the screen brightness is very low and even when its on the max its still hard to see when outside of the house.

2. Inverted colors in youtube (can be fixed by enabling "HW Overlays" in developers options)

Edit: forget about the brightness, it was on auto mode :P
[Galaxy S 4 i9500 Android Development] ivkos:
Things I don't like about this kernel:

* Camera has wrong colors

* accelerometer doesn't work

* proximity sensor doesn't work

* barometer doesn't work

* lights sensor doesn't work

* gyroscope doesn't work

* magnetic sensor doesn't work

* vibration doesn't work

* SELinux is Enforcing.

Build: LRX22C.I9500UBUHOI1
[Galaxy S 4 i9500 Android Development] adnanschat:
Test builds links not working

Sent from my GT-I9500
[Galaxy S 4 i9500 Android Development] galaxydroid_19:
Nothing new for the near future?
[Galaxy S 4 i9500 Android Development] asad007:
Not in the near future
[Galaxy S 4 i9500 Android Development] asad007:
CM 12.1 version

https://www.dropbox.com/s/3tws3yo1hdyqsbx/LWK-20.3-CM-i9500.zip?dl=0

Added to OP

*zzmoove added

*some little changes here and there
[Galaxy S 4 i9500 Android Development] asad007:
https://www.dropbox.com/s/762jl2z4pytcgzz/LWK-20.4-CM-i9500.zip?dl=0

Version 20.4 CM

Tweaks tweaks and tweaks
[Galaxy S 4 i9500 Android Development] galaxydroid_19:
Testing

Happy to see the BEST kernel for our device updated again :)

Edit: do i must wipe preload after flashing? because im using f2fs and i cant use TWRP

right now im stuck on bootloop..
[Galaxy S 4 i9500 Android Development] robsonsilva:
I think the kernel does not support f2fs.

Thanks for the update. It will still work with tw or cm only now?
[Galaxy S 4 i9500 Android Development] asad007:
F2fs not supported right now

Only CM ( most stable with GearCM as i used its ramdisk )

If TW request arise I'll compile for it but mostly we use CM , TW is outdated and laggy
[Galaxy S 4 i9500 Android Development] shingz96:
But CM rom has more bug compare to stock based tw rom ~
[Galaxy S 4 i9500 Android Development] asad007:
Added link of 20.4 to OP

Stable so far :p

CM is best for daily driver [MENTION=6810703]shingz96[/MENTION]
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Touchwiz user here.. Currently running on voltaqe 11.8 but must say the battery life isn't the best as compared with your kernel especially the v12.1 lwk. So I'd like to request you to compile a tw variant for us tw users.
[Galaxy S 4 i9500 Android Development] robsonsilva:
[MENTION=4296690]asad007[/MENTION] You are not required to compile a tw version. We have several kernels tw. But few cm. And there will come a day when the tw will be very old and everyone will use cm. I hope everyone tw users understand his decision.
[Galaxy S 4 i9500 Android Development] asad007:
I'll compile TW version when i have time but i wont test it I'll just add the link to OP
[Galaxy S 4 i9500 Android Development] asad007:
Both versions updated , enjoy!
[Galaxy S 4 i9500 Android Development] thierryhenry1886:
Hey guys anyone tried 20.5 touchwiz??

Any feedbacks i will be persuade thanks...
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Just tired it on Halcyon quantum rom. Overall it is stable and smooth. But the annoying blue tint bug still persists.
[Galaxy S 4 i9500 Android Development] asad007:
Updated to 20.6 , enjoy
[Galaxy S 4 i9500 Android Development] asad007:
Update : 20.7

Compiled with sabermod , TW users please check the camera bug with this version
[Galaxy S 4 i9500 Android Development] robsonsilva:
Now missing only have support f2fs. Good job.
[Galaxy S 4 i9500 Android Development] thierryhenry1886:
when ı tried to open phone. ı got encyription unsucessful (whatever how it writes) i had to install stock rom. what should i done?
[Galaxy S 4 i9500 Android Development] asad007:
Is the bug gone ?

I did not get you ?
[Galaxy S 4 i9500 Android Development] robsonsilva:
I do not test on tw.
[Galaxy S 4 i9500 Android Development] codybank_789:
Im on touchwiz core 2. After flashing 20.7 i have no synapse support and no vibration at all even though i used kernel control to change vibration.

EDIT : reflash and synapse support is available now. But still no vibration at all.
[Galaxy S 4 i9500 Android Development] asad007:
Try changing the vibration values in kernel adiutor
[Galaxy S 4 i9500 Android Development] galaxydroid_19:
Im on 20.7 with RR5.5.8 and it seems very stable by far.

The only thing im missing is the good battery life (right now its ok but not as good as it was in older versions)

EDIT: the battery life is actually realy nice :P

I think i need more time to test it.
[Galaxy S 4 i9500 Android Development] asad007:
I have an idea which could make the battery even better
[Galaxy S 4 i9500 Android Development] galaxydroid_19:
waiting eagerly :)
[Galaxy S 4 i9500 Android Development] asad007:
Is the camera bug fixed? Can you check and tell
[Galaxy S 4 i9500 Android Development] sengab1991:
Not fixed and sound and vibration is bugged
[Galaxy S 4 i9500 Android Development] galaxydroid_19:
Yes.

but there are inverted colors when playing videos in Chrome. (fixed by enabling HW in developers options)

(Using CM)

to fix the sound you can use the following settings in Synapse (in SP Equalizer settings):

band 1 gain: -5

band 2 gain: 1

band 3 gain: 0

band 4 gain: 4

band 5 gain: 3

Asad, it would be nice if you'll add these settings to the next version :)
[Galaxy S 4 i9500 Android Development] asad007:
No next version , this one is very stable :D
[Galaxy S 4 i9500 Android Development] galaxydroid_19:
Just add these settings to the version in the OP

and what about the idea you had on the battery life?
[Galaxy S 4 i9500 Android Development] asad007:
I'll work on it when i get time
[Galaxy S 4 i9500 Android Development] robsonsilva:
I am carrying some condor settings for the i9500. Depending on the result you notice.
[Galaxy S 4 i9500 Android Development] kapazo:
just a note on cm version screen britness adjustment doenst work

and for some reason i get connection failure when i connect on my wifi.

I really like this kernel but i want to be able to use link2sd so i need selinux in permisive mode

IF you can make the tw version selinux permisive i would be gratefull.
[Galaxy S 4 i9500 Android Development] asad007:
Screen brightness is fine here on cm

I'll try to make the kernel permissive
[Galaxy S 4 i9500 Android Development] asad007:
Test these :

Cm : https://www.dropbox.com/s/8s6m4url8tba1yp/LWK-21-CM-i9500.zip?dl=0

Tw : https://www.dropbox.com/s/d3snqm3ou0xwcmn/LWK-21-TW-i9500.zip?dl=0

Changes :

* make tw version permissive ( hopefully )

* compiled with linaro

* reduce qos frequency

* the kernel is a lot smoother now but battery life might be affected ( need testing )

Clear dalvik and cache

Also clear app data of your kernel app before flash
[Galaxy S 4 i9500 Android Development] robsonsilva:
Amazing. Why you do not use GearCM as a source? In addition to the Kernel is in 3.4.5 supports the F2FS and several optimizations. I had problems with my source and trust you to keep AOSP users.

Tip: Try another Toolchain as Uber. Linaro consumes a lot of battery.

GearCM Source:

https://github.com/GearCM/android_kernel_samsung_exynos5410

Uber Toolchain:

http://uber.oceighty.co/TOOLCHAIN/
[Galaxy S 4 i9500 Android Development] asad007:
No need

The kernel is fine as it is :p

Final update guys !

And you're welcome

Last but not the least my synapse display values to make the most of our display
[Galaxy S 4 i9500 Android Development] kapazo:
Thx for update but tw version selinux is still enforcing.

and a small bug autobrightness doesnt work only manual
[Galaxy S 4 i9500 Android Development] rgshah3:
Do we need to enable register hook or master sequence?
[Galaxy S 4 i9500 Android Development] asad007:
Isn't that obvious ?

I have no idea about brightness one , and i did made the change for selinux , I'll see what did i missed
[Galaxy S 4 i9500 Android Development] rgshah3:
I asked it because after enabling register hook and master sequence and setting the values as per your image, the whole screen feels washed out, with no saturation or sharpness

Looks like a dummy display
[Galaxy S 4 i9500 Android Development] asad007:
Strange for you , increase the saturation then play with it a little

Maybe cause of different rom
[Galaxy S 4 i9500 Android Development] zozoz13:
Try to disable Edge Enchancement. For me, this feature make the screen really bad.

Sent from my Galaxy S4
[Galaxy S 4 i9500 Android Development] asad007:
Some icing on the cake
[Galaxy S 4 i9500 Android Development] NonXtreme:
Cause your eye get used to high saturate display, you feel the calibrated setting washed out. You can always increase the saturation in synapse though. (Currently mine is 14)
[Galaxy S 4 i9500 Android Development] asad007:
I'll compile the last version again with a different toolchain soon as even in deep sleep some amount of battery is being lost
[Galaxy S 4 i9500 Android Development] rotor113:
"No UCI support detected." - Synapse say me...
[Galaxy S 4 i9500 Android Development] asad007:
I don't think that's possible

Check whether the kernel flashed or not
[Galaxy S 4 i9500 Android Development] asad007:
Try with the latest and tell

OP updated with latest version !!!!
[Galaxy S 4 i9500 Android Development] kapazo:
nice THANKS its permisive now good work!

testing battery performance.

there are two minor bugs such as autobrightnes and vibration but i can leave without them.

Also my battery drain 10% overnight but im not sure if it's kernels' problem.

and tilt sensor not working
[Galaxy S 4 i9500 Android Development] asad007:
update
[Galaxy S 4 i9500 Android Development] CAVODDJ:
vibrate no work.

any sensor works

Reversing camera blue and red
[Galaxy S 4 i9500 Android Development] :
Battery drain when idle. Stock lollipop rom
[Galaxy S 4 i9500 Android Development] rotor113:
+1 . Deep Sleep not work! Test - Cpy Spy app ,battery drain. And Audio in synapse app "Headphone Amplification" not work ,volume does not change
[Galaxy S 4 i9500 Android Development] asad007:
added link of version 20.7 for the time being I need to start from here again
[Galaxy S 4 i9500 Android Development] asad007:
INTRODUCED VERSION X ( Needs Testing )
[Galaxy S 4 i9500 Android Development] robsonsilva:
It is now ok . But the automatic brightness is not decreasing .

---------- Post added at 04:56 PM ---------- Previous post was at 04:41 PM ----------

The selinux is disabled. this prevents some small things .
[Galaxy S 4 i9500 Android Development] kapazo:
selinux is permisive

vibration,tilt sensor and autobrightness not working
[Galaxy S 4 i9500 Android Development] rotor113:
vibration starts to work ,if you change the value of vibration strength in kernel aduktor

---------- Post added at 06:01 PM ---------- Previous post was at 05:59 PM ----------

but not work deep sleep (X version)
[Galaxy S 4 i9500 Android Development] asad007:
Test X1 Version

tw : https://www.dropbox.com/s/fd5g5udnpobxmmj/LWK-X1-TW-i9500.zip?dl=0

cm : https://www.dropbox.com/s/980h58h21xvr78u/LWK-X1.1-CM-i9500.zip?dl=0

Changes :

* add fiops io scheduler

* Removed a lot of Samsung debug stuff

* some more tweaks added

* disabled some wakelocks
[Galaxy S 4 i9500 Android Development] rotor113:
Test X1 Version - not work deep sleep (TW)
[Galaxy S 4 i9500 Android Development] asad007:
it's working here (GearCM) and the source is same
[Galaxy S 4 i9500 Android Development] kapazo:
Wil it be another version with vibration,tilt sensor and auto screen brightness working?
[Galaxy S 4 i9500 Android Development] asad007:
Try latest
[Galaxy S 4 i9500 Android Development] hakfur5328:
I flashed LWK ULTRA but screen rotation not work :(
[Galaxy S 4 i9500 Android Development] thierryhenry1886:
With cm or tw send logs to dev.
[Galaxy S 4 i9500 Android Development] asad007:
Offcourse it is tw

Does the rotation work in version 20.7 ??
[Galaxy S 4 i9500 Android Development] asad007:
New update is Up
[Galaxy S 4 i9500 Android Development] asad007:
Idk whether you guys use this kernel anymore or not but still for does who still do Enjoy the Final version :)

Thanks for All
[Galaxy S 4 i9500 Android Development] FalchionLover:
Thank you bro for all of your great work :fingers-crossed:.
[Galaxy S 4 i9500 Android Development] rotor113:
Whats about add full boeffla sound ??
[Galaxy S 4 i9500 Android Development] alaa96:
mate do you have plans to update your kernel to cm13 ? :) never the less you did a really good job maintaining this kernel and good luck
[Galaxy S 4 i9500 Android Development] gio_b:
Not supported.

Giovanni.
[Galaxy S 4 i9500 Android Development] asad007:
Nope
[Galaxy S 4 i9500 Android Development] asad007:
Op updated

I'll update this thread occasionally when i get time , I'm not completely abandoning the thread
[Galaxy S 4 i9500 Android Development] codybank_789:
i was really surprised when use this kernel on CM12.1. All animation is now smooth and battery life so far is good. It would be great if u still update this kernel.
[Galaxy S 4 i9500 Android Development] asad007:
Right now I'm experimenting with different hotplug values to find the balance between battery and power
[Galaxy S 4 i9500 Android Development] codybank_789:
Yeah hotplug is much needed to improve battery. If possible plz try to implement d2w things like that. Tks :)
[Galaxy S 4 i9500 Android Development] AzizbekN1:
Asad thanks for amazing kernel

plz try to fix IR
[Galaxy S 4 i9500 Android Development] roysky007:
My vibrations dobt seem to work with this kernel. Will try again on next update.

Battery screen and sound options in synapse are perfect tho.
[Galaxy S 4 i9500 Android Development] asad007:
OP Updated
[Galaxy S 4 i9500 Android Development] asad007:
Any TW Users ?

Test this : https://www.dropbox.com/s/x4b5av08igyqy4y/LWK-STABLE-V2-TW-i9500.zip?dl=0

Dont go on the word stable :p

Good luck
[Galaxy S 4 i9500 Android Development] AzizbekN1:
something wrong with synapse
[Galaxy S 4 i9500 Android Development] alaa96:
i will test it and report back tomorrow hopefully

---------- Post added at 07:01 PM ---------- Previous post was at 07:00 PM ----------

try to wipe synapse data and reboot
[Galaxy S 4 i9500 Android Development] BenDroid1:
Hey [MENTION=4296690]asad007[/MENTION] . i am one of the first users to discover your work and watch you build from scratch and i must say. I am pretty impressed with how awesome your kernel is. I havent flashed the linaro kernel yet( i use RR 5.5.8) but what i hope to find is a long list of governor's to choose from. I beg u too please try to incorporate as much governors as you can :) Thank you and keep up the good work!
[Galaxy S 4 i9500 Android Development] asad007:
Version 3x :

CM only

https://www.dropbox.com/s/h4nbqkk51j10taj/LWK-STABLE-v3x-CM-i9500.zip?dl=0

* compiled with linaro optimised for cortex a7

* some changes under the hood

Even in previous versions For some users the sensors dont work ( idk why exactly )

It's working for me on GearCM
[Galaxy S 4 i9500 Android Development] thierryhenry1886:
Dude will you do 6.0 mm version of this kernel?
[Galaxy S 4 i9500 Android Development] asad007:
I can try but don't expect a 100 % thing
[Galaxy S 4 i9500 Android Development] asad007:
Enjoy the new update !!

Have a nice day
[Galaxy S 4 i9500 Android Development] BenDroid1:
Merry Christmas!
[Galaxy S 4 i9500 Android Development] asad007:
Op updated
[Galaxy S 4 i9500 Android Development] BenDroid1:
Thanks man! So what's our new kernel manager now.
[Galaxy S 4 i9500 Android Development] asad007:
Kernel adiutor
[Galaxy S 4 i9500 Android Development] rotor113:
reboot after some minuts...Offical CM
[Galaxy S 4 i9500 Android Development] krasCGQ:
This kernel uses GearCM ramdisk.

Btw [MENTION=4296690]asad007[/MENTION]

Could you next time provide two versions for CM (with GearCM and Official CM ramdisk)?

Sent from my GT-I9500
[Galaxy S 4 i9500 Android Development] asad007:
I would need the boot.img of official cm
[Galaxy S 4 i9500 Android Development] irvinehooi:
Hi may I know which version of the Persues kernel work best with kitkat ??

Thanks in advance.
[Galaxy S 4 i9500 Android Development] gp545:
Newest version of Perseus available on Perseus download page..
[Galaxy S 4 i9500 Android Development] krasCGQ:
Here you want. I extracted it from latest Nightly.

Sent from my GT-I9500
[Galaxy S 4 i9500 Android Development] asad007:
Op Updated With V6.6 ( Seems very stable )

Flashable zips for official cm and exodus ROM added to OP.
[Galaxy S 4 i9500 Android Development] zozoz13:
[MENTION=4296690]asad007[/MENTION] hey mate, why did you downgrade your kernel linux version to 3.4.0 instead of 3.4.5 like Stock kernel? Doesn't this will reduce performance?

And can you make the screen profile like AndreiLux has stated here: http://xdaforums.com/showpost.php?p=56111445&postcount=732

Sent from my Galaxy S4
[Galaxy S 4 i9500 Android Development] asad007:
I never update to 3.4.5 some patch might have messed up with the makefile

Anyways i just improved the stock sources updating the kernel version takes A LOT of effort .

On a better note,

Enjoy version 6.7 (added to OP)

Main thing is that the IR is fixed, it was broken in the LL kernel sources

Also added CPU boost driver for a smoother ui

Enjoy
[Galaxy S 4 i9500 Android Development] robsonsilva:
You are working too fast! Keep it up. This is certainly the best kernel cm. But should upgrade to 3.4.5 or use the Gearcm source. The stock and cm use 3.4.5.
[Galaxy S 4 i9500 Android Development] asad007:
If I use any other source I would need to add all the changes again (most of which I may don't remember )

Its better to improve this only.

And also the kernel is near perfection already
[Galaxy S 4 i9500 Android Development] robsonsilva:
It really it is quite complicated . Try to make a backup of the kernel and apply the patch updates to come in version 3.4.5 or later.
[Galaxy S 4 i9500 Android Development] asad007:
Just showboating !
[Galaxy S 4 i9500 Android Development] VoLTaqe:
No need change source, follow the kernel.org patches from 3.4.0 to .110.

Yours easy job compare to mine because you have nearly all arm compiler but mine samsung source dont have so i have to add arms to my source first. Download 3.4.0 and 3.4.110 kernel sources look for diff and add your source.

Actually you are wrong. Stock too have 3.4.0 with only a few commit added to samsung source from 3.4.5 and changed only makefile to 3.4.5 this mean samsung source too didnt have 3.4.5 patches.
[Galaxy S 4 i9500 Android Development] robsonsilva:
I thought Alberto had applied the patches. The Samsung was smart about it. But with the mm is necessary to apply the patches?
[Galaxy S 4 i9500 Android Development] VoLTaqe:
No need to play kernel source for compatible any android version. Sources specific for every phones and only ramdisk changes enough for improve android version but it wont improve overall system so you have to play with kernel source but it is difficult jobs and need some experimental. About alberto he already using 3.4.0 sources and merge with samsung source drop so he has too nearly samsung source with much more arm files.

Sorry for off topic asad

Have a nice day
[Galaxy S 4 i9500 Android Development] asad007:
I don't mind off topic lol
[Galaxy S 4 i9500 Android Development] Rohi09:
i cannot get the wifi working. on exodus, flashed kernel using gear recovery, and wifi says connection failure
[Galaxy S 4 i9500 Android Development] gp545:
Since this Kernel use GearCM RamDisk and Latest GearCM, Alberto used some hacks for WiFi, even I had WiFi issues, then Alberto96 said not to use WiFi Channel 11,12,13 http://xdaforums.com/showthread.php?p=64293483

Changed channel number on WiFi Router settings and problem solved..
[Galaxy S 4 i9500 Android Development] Rohi09:
I'm using the one for exodus ROM. see OP, dev has 3 different versions. this one has exodus ramdisk.

and i already have changed the channel to 11 and 7, not working
[Galaxy S 4 i9500 Android Development] zozoz13:
I just test in GearCM and find a few bug/issue in your kernel (latest version).

- Video color inverted in social media apps. Fixed with enabling "Disable HW overlays" in Developer options.

- Audio lost after reboot. Fixed with reboot again (Sometimes need reboot twice to bring the audio back).

- Device always warm (Not hot) while using it. Even with light usage (Maybe because of the hotplug). But it acceptable.

Will find out more and thanks for the kernel :). It's quetly stable and smooth with good battery life.

Oh here is the log for Audio lost bug. Hope it useful: https://drive.google.com/file/d/0B9Z_ZeHhBG4YTVpLSHRuWm9Nb0E/view?usp=docslist_api

EDIT: Now the audio lost bug can't be fixed by reboot. I've tried rebooting several times, but still no audio.

Sent from my Galaxy S4
[Galaxy S 4 i9500 Android Development] asad007:
Try calling someone ( just hear something from earpiece ) to see whether audio comes back or not
[Galaxy S 4 i9500 Android Development] zozoz13:
I've tried that. But Earpiece audio lost too. In v6.6, it happen, but can finely fixed by reboot.

Sent from my Galaxy S4
[Galaxy S 4 i9500 Android Development] asad007:
New Update
[Galaxy S 4 i9500 Android Development] masterlo3:
son no more synapse support, what other app can fully tune this kernel..? kernel auditor doesn't tweak battery charge value like synapse... or Audio... is there another app like synapse? i have to say this is the best kernel so far as am using it on GearCM
[Galaxy S 4 i9500 Android Development] vishal thakar:
thank you sir.

its work fine in v7

now all sensor working and also IR ?

good job
[Galaxy S 4 i9500 Android Development] asad007:
Enjoy the new update !!
[Galaxy S 4 i9500 Android Development] robsonsilva:
@asad007 is not human is a machine to compile kernel.
[Galaxy S 4 i9500 Android Development] asad007:
That's how I pass time during holidays
[Galaxy S 4 i9500 Android Development] robsonsilva:
Me either. Rather than be enjoying am trying to update my rom.
[Galaxy S 4 i9500 Android Development] AzizbekN1:
Asad thank you for IR fix

You are the best
[Galaxy S 4 i9500 Android Development] asad007:
Anyone using v8.1 or v8

Are they facing hangs?

I added back v7 to OP because of hangs I faced
[Galaxy S 4 i9500 Android Development] vishal thakar:
Sir I face one problem last night

I can't connect wpa2 WiFi in LWk kernel. its showing saved ?

Its working in stock kernel

Is there any way to work in this kernel?

ROM:-pac_i9500_LP-MR1.Beta-3.Unofficial_20151008-131746
[Galaxy S 4 i9500 Android Development] Rohi09:
i posted this wifi bug before, i'm on exodus latest nightly. found no solution
[Galaxy S 4 i9500 Android Development] asad007:
Try changing WiFi channel (avoid 11 ,12 and 13)