yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Android Development] asad007:
You just need to lower all three thresholds and set optimal frequency to higher in order to increase performance (tweak the parameters as per your liking).

Right now it is set as per my liking.

Edit : wait for next version I'll increase intellimm performance.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
OK man thanks it's working great so far though I just switch governors when I need the extra power oh well my old phone doesn't feel so old anymore :)
[Galaxy S 4 i9500 Android Development] asad007:
New Update !!

Just check my github for changes.
[Galaxy S 4 i9500 Android Development] perfect2017:
when:confused:
[Galaxy S 4 i9500 Android Development] asad007:
For changes otherwise it is present on afh.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Thanks man the slow downs are gone and I have been taking a look at the scaling and so far seems great although it does it max frequencies at lot even when not really doing anything, I will keep testing before I start complaining since I'm sure it will take a few hours for battery life to settle after the change is settings.

Great job man screen off and on issue is gone and the lags are also gone.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Intellimm is definitely more aggressive with hitting higher frequencies than ondemand so maybe you should look into that I'm not sure if that's the way it should be.

Edit: ondemand is awesome
[Galaxy S 4 i9500 Android Development] gylee:
After updating to this version, I found out that the clock display in the notification bar and panel do not get updated.
[Galaxy S 4 i9500 Android Development] asad007:
Confirmed ! It gets delayed to update the time.

Will fix in next version.

Thanks for reporting.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Same here.
[Galaxy S 4 i9500 Android Development] tikanorcun:
Now the battery problem was fixed. Thanks for the awesome kernel [MENTION=4296690]asad007[/MENTION] !
[Galaxy S 4 i9500 Android Development] reaperlinkz:
The battery problem does seem to be fixed with ondemand for sure, I am not so sure about intellimm but it does seem to be great so far only the timer isn't updating as mentioned so I am looking forward to that fix.
[Galaxy S 4 i9500 Android Development] asad007:
New Update 070217

* Fix time bug

* Optimise ondemand to save a little more power

* check git hub

Enjoy.....

Feedbacks are welcome.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Thanks man your always so fast with updates keep up the good work, as always :)

Oh and btw did you take a look at intellimm's scaling where how often it hits higher frequencies are concerned?
[Galaxy S 4 i9500 Android Development] asad007:
Nope, forgot.

Maybe in next version.
[Galaxy S 4 i9500 Android Development] eXd4:
Yep, the time synchronization bug seems to be fixed. :good:

Upon installing the LWK-070217-GCM-i9500 update, I ran into the following error at desktop — however, subsequent reboots seem to go fine. Also, my Preferred Network type (2G) did not get enabled — had to toggle to 3G and then back to 2G to get it working.

​
[Galaxy S 4 i9500 Android Development] reaperlinkz:
No worries man the timing issue is fixed, I will keep testing it all including intellimm and I will continue to provide feedback so long as it is needed.

Edit: changes to ondemand won't stick after a reboot if the frequency is higher than 1ghz and intellimm is too aggressive with hitting higher frequencies , although with some changes to the thresholds I fixed that myself.

You may want to look into those issues I also noticed some strange reboots since recently but I am not so sure that has anything to do with the kernel yet.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Yes CM13 is supported just download the one for that ROM from the link in the OP
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Yea wipe dalvik and cache after which you should be fine, good luck and enjoy!
[Galaxy S 4 i9500 Android Development] eXd4:
Hi asad!

I believe the Android's Official Kernel has been updated to 3.4.67 — just a heads-up. ;)
[Galaxy S 4 i9500 Android Development] krasCGQ:
It's GearCM kernel, not OSRC kernel. Btw, this kernel is 3.4.113, so it's pointless enough.

PS: HPI2 sources is available on OSRC.
[Galaxy S 4 i9500 Android Development] eXd4:
Oh, I see — thanks for the clarification. :good: :)
[Galaxy S 4 i9500 Android Development] reaperlinkz:
The current version of the kernel has some minor issues just be patient and wait for a update or install a older version
[Galaxy S 4 i9500 Android Development] asad007:
Use a different governor such as intellimm for performance tweak the governors yourself until you find your preferred combination.

Ondemand is set to my personal battery friendly parameters.
[Galaxy S 4 i9500 Android Development] tikanorcun:
Go to the Kernel Auditor-Mod. Select Cpu Hotplug. Go down and set minimum cpu online to 4
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Can someone direct me to where I can find the information on intellimm CPU tunables so I can modify them to my liking, thanks.
[Galaxy S 4 i9500 Android Development] daogiahieu:
Please make a version for TW rom.
[Galaxy S 4 i9500 Android Development] himuslg123:
Waiting for dev to make a touchwiz kernel..anyways awsome work dev
[Galaxy S 4 i9500 Android Development] LordGarmadon:
Is it correct problems GearCM? ALL Problems or.. What?

---------- Post added at 01:11 PM ---------- Previous post was at 01:06 PM ----------

I am Love Roms Cyanogenmod but all Releases on I9500 Not Stable.

I think the Kerenal solve problems... Ya?
[Galaxy S 4 i9500 Android Development] gylee:
My phone reboots everytime I connect to a VPN service. This does not happen if I switch back to the original GearCM kernel. I have tried to use different governors (ondemand, intellimm, lionheart), but there is no improvement.

It would be great if this issue could be resolved.
[Galaxy S 4 i9500 Android Development] krasCGQ:
Seems like a protocol issue rather than CPU.
[Galaxy S 4 i9500 Android Development] asad007:
VPN is working for me can't say what's your issue try changing your VPN app.
[Galaxy S 4 i9500 Android Development] gylee:
I used the same VPN app in both cases. The only difference was flashing GearCM boot.img and LWK boot.img. So I wonder if the different kernel caused the connection problem.

I will try a different VPN app. Do you mind sharing which app that is working for you?
[Galaxy S 4 i9500 Android Development] asad007:
Psiphon.
[Galaxy S 4 i9500 Android Development] asad007:
Anyone getting a bootloop after using the kernel for a while (like weeks) and once you reboot it gets into bootloop which never fix itself until you wipe /data ?

I've had this problem a couple of times, now I'm testing it without xposed (because I think of it to be xposed related and not kernel related).

PS: after using the phone without xposed I can say that it slows down the system everything is more snappier without it.
[Galaxy S 4 i9500 Android Development] krasCGQ:
Probably your modules or something else...
[Galaxy S 4 i9500 Android Development] MostaphaHida:
Didn't face any bootloop, using Xposed
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Will you be releasing a update to fix the issues with ondemand?
[Galaxy S 4 i9500 Android Development] asad007:
What are the issues ?
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Ondemand is stuck at 1ghz again I thought you knew about that, oh well.

Edit: I was also getting some strange reboots since I updated to the latest kernel but I'm not so sure that's the kernels fault yet since I use xposed, that might also be responsible.
[Galaxy S 4 i9500 Android Development] asad007:
About ondemand, it is expected behaviour because of the parameters I set :p (to save battery)
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Oh OK, could you point me to a tutorial that explains the governer tunables so I can set those to my liking and also have you experienced any random freezes/reboots?
[Galaxy S 4 i9500 Android Development] asad007:
Rarely I get freeze/reboots (especially during intensive tasks)

Parameters attached
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Hmm OK well thanks a lot for the help with the parameters, I would love if you could look into fixing the random reboots since I am pretty sure that is something that started happening recently.

Thanks for all your hard work.

Edit: there is definitely a noob here and it's me [emoji30] forget what I said here, just needed to wait for the settings to load [emoji16]

The settings are saving fine I will continue to look for those bootloops
[Galaxy S 4 i9500 Android Development] reaperlinkz:
I am getting random crashes on a regular now at random times which is strange please look into why this is happening as I have tried everything except changing my kernel which I would rather not do, thanks.

I would like you to make it so ondemand will scale up to whatever max frequency I set when under a lot of load without me messing with the tuneables, crashes seem to happen regardless of governor or CPU speed though.

Edit: my girl has a previous version of your kernel with the exact same setup as mine in terms of apps and she gets zero crashes and I mean zero
[Galaxy S 4 i9500 Android Development] :
After getting Can't connect to camera error, I saw that "exynos5-fimc-is" wakelock holds the phone awake unless I reboot on latest builds of both LWK and GearCM. Actually, it's not new. I started to experience this situation before EOL builds. Any logs needed or could you test it yourself [MENTION=4296690]asad007[/MENTION] ?
[Galaxy S 4 i9500 Android Development] aalxx:
Just installed the kernel and I'm liking it so far except for the screen. I actually like the saturated colors and I don't mind the smearing so would love to have blacks with 0% white. If you could add these options I'd appreciate it, keep up the good work.

Thanks in advance.

Edit: After 12 hours of use — no bugs, no problems. Using smartmax governor OC'd to 1.8GHz (tuned a bit) and it doesn't overheat. I haven't had enough time to test battery life.

I'm using the RR version. Thanks a lot.

Edit 2: Nevermind the screen thing, I fixed it by turning off both options in the screen category in Kernel Adiutor. Keep up the good work.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Am I the only one getting constant reboots while the phone is in use?
[Galaxy S 4 i9500 Android Development] gylee:
No, it happened to me too. The symptom was usually that the device was getting very laggy, and froze, and then rebooted itself. I tried changing governors, but the reboot was still there. I have to switch back to GearCM kernel currently because of that,, so far no reboot happens.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Good to know
[Galaxy S 4 i9500 Android Development] davypacheco:
This kernel isnt compatible with Tw based rom?
[Galaxy S 4 i9500 Android Development] daogiahieu:
Yes it isn't. If you use tw rom you can use nevermore kernel
[Galaxy S 4 i9500 Android Development] :
Mate do you have a link to GCM Kernel only, or do I have to reinstall to recover original kernel?
[Galaxy S 4 i9500 Android Development] eXd4:
Here you go:—

https://xdaforums.com/showpost.php?p=71202898&postcount=2433 :good:​
[Galaxy S 4 i9500 Android Development] jr jimmy:
:good::good::good::good::good:
[Galaxy S 4 i9500 Android Development] aalxx:
Just a heads up, LOS 14.1 beta is released:

https://xdaforums.com/galaxy-s4/i95...m-optimized-cyanogenmod-12-1-t3283820/page268
[Galaxy S 4 i9500 Android Development] tikanorcun:
Hey [MENTION=4296690]asad007[/MENTION] will you support LineageOS?
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Everyone seems to working on support for LineageOS right now so you should see a few kernels start to pop up soon
[Galaxy S 4 i9500 Android Development] $eVe7n:
What ?
[Galaxy S 4 i9500 Android Development] aalxx:
Use Kernel Adiutor: https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor
[Galaxy S 4 i9500 Android Development] $eVe7n:
İm use no frills cpu which one is good ?
[Galaxy S 4 i9500 Android Development] aalxx:
Not sure. I don't use this ROM anymore, felt like it got too hot on anything except the default settings.
[Galaxy S 4 i9500 Android Development] $eVe7n:
Can you suggest me kernel ? And settings ? 0 heating + fast speed + medium battery life or long life
[Galaxy S 4 i9500 Android Development] aalxx:
Well, realistically you only have 2 choices on AOSP ROMs, it's either this kernel or nevermore kernel. Neither are perfect and I tend to switch between the two.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Try nevermore version 9.9 it's the most stable and full featured kernel I have seen so far the rest have random crashing issues
[Galaxy S 4 i9500 Android Development] $eVe7n:
Okey thanx bro and my setting
[Galaxy S 4 i9500 Android Development] $eVe7n:
Yes i know nevermore 9.9 but battery live short :(
[Galaxy S 4 i9500 Android Development] asad007:
Soon.
[Galaxy S 4 i9500 Android Development] Aakrep:
This kernel used to support TW Roms... Last stabil supported version is EOL2... I added it for you.

You have fun ;)
[Galaxy S 4 i9500 Android Development] davypacheco:
Thank you so much

Ps: why do that left the support?
[Galaxy S 4 i9500 Android Development] Aakrep:
I have no idea, bro :rolleyes:
[Galaxy S 4 i9500 Android Development] :
I don't know what's wrong with my device, love LWK because my phone never heats with it, even when playing the temperature tends to keep stable.

But it causes me random app crashes/freezes and reboots here and there. Also when the memory usage gets to 75% the phone gets almost unusable, apps keep closing or doesn't launch at all, keyboard doesn't shows, games lagging, screen blocking itself (this doesn't happen with any other kernel though). Even once my phone randomly did a reset by itself, yes! A factory reset, it pissed me a lot off course, mostly because it was in the worse moment and I didn't have WiFi there lol.

So what I am missing? I'd like to use LWK but makes my device unusable at some point... Any fix or suggestion? I'm using GearCM MM btw.
[Galaxy S 4 i9500 Android Development] jawiietr:
[MENTION=4296690]asad007[/MENTION] man will u support RR-N rom. we need good kernel :D
[Galaxy S 4 i9500 Android Development] zozoz13:
He already answer about it...

Sent from my Galaxy S4
[Galaxy S 4 i9500 Android Development] CHiBLaST:
Really good but i need 1-2 tips

Thanks for this great kernel but i have 2 problems ;

1-I got random boots when device is in idle state. Any tips to solve it? Not a big problem for me.

2-Ondemand is really good in battery but when in games its not really smooth and gave me cancer.I tried using other goverments but they drain battery too much and phone overheats like hell i just cant touch my phone :( Its really big problem for me because i m using my phone for gaming most of time.CPU 53 degrees in ondemand and 91.5 degrees in alucard(i think its too much)
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Is it just me or no one in these threads reply to anything having to do with kernel issues?

Do you guys not haves the random freezing and reboots issues and if so how and why hasn't it been brought up before because this kernel is not stable for daily use at all.
[Galaxy S 4 i9500 Android Development] asad007:
I am not getting free time so probably new version wont come at all.

Edit : today I got free time so new version coming soon ( just need to upload the source ).
[Galaxy S 4 i9500 Android Development] asad007:
New version is up !!!

* For LineageOS , pm me boot.img of RR for support (nougat only).

* Restarted with LineageOS Kernel Source

* Used GCC 5.2

* Tweaked ondemand for battery

* Enabled Hotplugging.

Enjoy.
[Galaxy S 4 i9500 Android Development] kdnmobile:
Boot Image- RR 5.8.3 attached
[Galaxy S 4 i9500 Android Development] asad007:
Done !

Dont forget to give feedback.
[Galaxy S 4 i9500 Android Development] kdnmobile:
Booted successfully. Stable so far. But Max CPU=1200MHZ, why?

---------- Post added at 10:57 AM ---------- Previous post was at 10:02 AM ----------

Booted successfully. Stable so far. But Max CPU=1200MHZ, why?

Booted ok. Stable so far, but Max CPU= 1200MHZ

---------- Post added at 11:20 AM ---------- Previous post was at 10:57 AM ----------

Booted successfully.Stable so far, but Max CPU=1200mhz
[Galaxy S 4 i9500 Android Development] Maxlain:
Maybe to improve battery life?
[Galaxy S 4 i9500 Android Development] asad007:
To prevent heating.
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Latest RR update bootloops why not use the RR 5.7.4 boot image?

Edit I have added the 5.7.4 RR boot image to this post.

http://cloud.tapatalk.com/s/5919a5a314277/RR M v5.7.4 boot.zip
[Galaxy S 4 i9500 Android Development] enisina:
Ale95 note5 port support ?
[Galaxy S 4 i9500 Android Development] reaperlinkz:
Seems like there will be no more updates.
[Galaxy S 4 i9500 Android Development] Dang !!!:
Exodus

Please, asad007 can u make exodus kernel once more?
[Galaxy S 4 i9500 Android Development] Dang !!!:
Anyone has previous exodus lwkernel.. Please share..
[Galaxy S 4 i9500 Android Development] Aakrep:
No... That kernel no longer more supports stock based rom
[Galaxy S 4 i9500 Android Development] alaa96:
so what is new with this build ?
[Galaxy S 4 i9500 Android Development] asad007:
Removed some Tima things
[Galaxy S 4 i9500 Android Development] Dwama:
Hi thanks for the kernel update, how about making changelog for every kernel you have change or updated?
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Just what the he doctor ordered

I've flashed the 5.4 aurora kernel atop of aurora 8.0 and everything is working perfectly. Have undervolted the CPU to - 100mV and it seems stable so far. No freezing or random reboots so far. Kernel and rom is very smooth and this is the first time I've felt a lollipop based rom to be as smooth as the tw kitkat roms like ozcan.

Good job developer and thank you for this much needed kernel for our i9500. Expecting more surprises from you.
[Galaxy S 4 i9500 Android Development] codybank_789:
CM version

[MENTION=4296690]asad007[/MENTION]

The new version is good.

Music playback is ok now. In-call, speaker, headphone sound are good.

RIL is working, so as 3G.

Voltage control is available.

The problems are camera and wifi. Camera is not connected. Wifi does manage to find the networks but cant connect to them.

One small request : plz add vibration control. The phone vibrates ridiculously strong after flashing the kernel.
[Galaxy S 4 i9500 Android Development] rgshah3:
That is some awesome progress!

Keep it up [MENTION=4296690]asad007[/MENTION]

I would love to test too

Just don't like bootloops [emoji14]

---------- Post added at 04:47 PM ---------- Previous post was at 04:46 PM ----------

What build are you running?
[Galaxy S 4 i9500 Android Development] ImjuzCY:
I cant move apps to sd through the settings app. Anyone? SD card works fine, copying files into it is successful.

When I tap on move app to sd, a dialog saying "unable to move app" pops up.

Lwk v5.4

Prism barebone v16
[Galaxy S 4 i9500 Android Development] codybank_789:
The build i used when i was testing it was the one right before the lastest Alberto's build.

It boots perfectly, as quick as stock cm kernel. :good:
[Galaxy S 4 i9500 Android Development] alaa96:
i am on prism v16 qnd using LWK 5.4 and i dont experience this bug
[Galaxy S 4 i9500 Android Development] shiruuu.samad:
Not all apps can be moved to sd card..Anyway fine here with Prism v15.

Have anyone tested LWK5.5?

Keep calm coz IPL belongs to KKR
[Galaxy S 4 i9500 Android Development] ImjuzCY:
I know but the move to sd button is available so it means it should be able to move it right? Moreover I went into the app info from "Settings>Applications>On SD" tab. The move to sd button is available but when I tap on it, it blurred out for about one second (just like when you move your apps to sd) , then a dialog pops out and says unable to move.

---------- Post added at 09:15 PM ---------- Previous post was at 09:02 PM ----------

Okay I found out something. Moving apps into sd is working. It was a misunderstanding. Some apps that are not allowed to move into sd are showing up like it's able to be moved (present in the SD card tab in application manager and move app to sd button available but when pressed, unable to move app pops out). For example: Amazon app (which I downloaded from Amazon and instead of play store), Google+, Dolphin Browser etc.

Other apps that are really able to be moved into sd moved without problems.

It wasn't a kernel problem I think. Sorry for annoying.
[Galaxy S 4 i9500 Android Development] PremiumISM:
I was feeling heating issues with 5.4 on Prism v16 but after updating to 5.5 no issue like that
[Galaxy S 4 i9500 Android Development] asad007:
2nd post updated for more info on battery saving
[Galaxy S 4 i9500 Android Development] zozoz13:
Ah, that's thread you include in OP is really amazing! It will helps a lot on battery life issue. Thank's for include it man :)

Sent from my Galaxy S4
[Galaxy S 4 i9500 Android Development] alaa96:
[MENTION=4296690]asad007[/MENTION] add the uv tip to the list pf battery saving tips , i uv by 100 mv with out a problem :D and it really helps in terms of battery life and overheating
[Galaxy S 4 i9500 Android Development] sathya80:
+1
[Galaxy S 4 i9500 Android Development] Halcyon:
+1
[Galaxy S 4 i9500 Android Development] asad007:
Okay ill start changelog from version 5.5 onwards ( it is really hard to remember the changes )
[Galaxy S 4 i9500 Android Development] khatkhatik:
I'm so confused

Powersave Governor fixed cpu freq on 600MHz all the time so I think it worse for battery and I prefer to use Ondemand and set cpu min 100 and max 600 for battery saving

Could someone explain me How setting CPU Governor to Powersave can help the battery?????
[Galaxy S 4 i9500 Android Development] asad007:
I'm confused myself i noticed that too

Maybe i should remove powersave governor
[Galaxy S 4 i9500 Android Development] coolfx89:
Is it possible to add hotplug or its variants to your kernel?
[Galaxy S 4 i9500 Android Development] asad007:
Ondemand-sec has hotplugging ( that is turning off cores)
[Galaxy S 4 i9500 Android Development] khatkhatik:
Charge current in version 5.5 set on 1600mA(I think!)

it cause heating issue while screen on and chargin

I think V 5.4 charge current is better screen on 1200 and off 1900 (just like stock rom)

I go back to v 5.4
[Galaxy S 4 i9500 Android Development] sak500:
I have chargers everywhere at home many, in office few, in my car so i rather need to overclock my s4. Can we use stweaks to o/c using this kernel?
[Galaxy S 4 i9500 Android Development] alaa96:
no you cant because the kernel doesnt support oveclocking
[Galaxy S 4 i9500 Android Development] asad007:
Op updated with LWK version 5.6

i hope the screen on time is improved

Enjoy :)
[Galaxy S 4 i9500 Android Development] shiruuu.samad:
Will check it soon[emoji2]

Keep calm coz IPL belongs to KKR
[Galaxy S 4 i9500 Android Development] nevinjoseph:
Flashed version 5.6. Everything seems stable on aurora 8.0. Noticed a tad bit smoother performance than Voltaiqe's kernel. Undervolting to - 100mV seems stable. Will see how battery performs and report back
[Galaxy S 4 i9500 Android Development] adhiduzz:
1. pretty fast :D

2. battery performs not yet tested, still charging

3. cannot clear all recent apps but it can be removed one by one, previously fine using other kernel

#haylcion & both alemtro (exclude norma) ROM
[Galaxy S 4 i9500 Android Development] TheSG:
Can someone please provide me a mirror for v5.6?
[Galaxy S 4 i9500 Android Development] tanqueta207:
Here you have: http://www.filedropper.com/lwk-56-i9500
[Galaxy S 4 i9500 Android Development] glennsamuel32:
Thanks asad007 for your work and efforts...

With your kernels and Master Iraqi's rom, it's a match made in heaven :highfive:

Which kernel manager would you advise us to use with v5.6 ?

I'm on Kernel Adiutor, but the option to schedule workqueues is always disabled...

Is there any way to test if that option and the multicore power savings are actually enabled and working ?

Thanks again !!!