yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] PENKO956:
thats why your cores go to idle instead of offline. change the governor to pegasusq with "vr" sheduler. i had good batt with stock setting of pegasusq but if you like to get into things follow the guide in the early post posted by mamba720027 edit the freq so cores don't go online until you really need them.

http://xdaforums.com/showthread.php?p=24233103 post#3 explains it all!
[T-Mobile Samsung Galaxy S 4] mike216:
Thanks a lot! Why wouldn't stock Ondemand do this? That's a little too much for my small brain but thanks I really appreciate it

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] atagilbert:
What about stock TW ? anybody?
[T-Mobile Samsung Galaxy S 4] RMXO:
[MENTION=4325945]ktoonsez[/MENTION]

Do I still say "NO" for the two questions that pop up when you first start the app? I read that you do on your utility thread.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Open up this file using ES File Explorer or root explorer. After you set it and make sure it is the same value you set.

/sys/devices/virtual/timed_output/vibrator/vibe_strength
[T-Mobile Samsung Galaxy S 4] TheAtheistOtaku:
wooo epic.

question though, does it support custom boot animations??
[T-Mobile Samsung Galaxy S 4] dragon-son:
Found the file, and it's value is set the same as what I change the value too. Changed to 120 verified changed in the file, but no increase in vibration. Set back to 50, verified file changed, still same vibration. Permissions also seem to be 777 is that right?
[T-Mobile Samsung Galaxy S 4] Greg1964:
So Im curious are you all running your cpu at 2.3?If yes how does perform.the max o.c. you could do is what 2.5 with the right kernel. Thanks

Sent from my SGH-M919
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Permission is fine as long as R and W are active. Not sure what it could be then, its the same code Ive using for years. Have u tried CM 10.1, they have it built in too just to see if that is working?
[T-Mobile Samsung Galaxy S 4] Greg1964:
Hey where do I get the ktweaker profile app at?

Sent from my SGH-M919
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Its just called KTweaker and its in your app drawer.
[T-Mobile Samsung Galaxy S 4] dragon-son:
I'm running at 2.1 for now and it's smooth. I'd assume if the kernel was tweaked it could go higher. On the G2/Vision with one of the ROMS I could reliably use 1.9 and that was with 3 year old hardware.

Haven't tried CM out yet, though I've downloaded the nightly a few times just got too busy before I could install.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Try the lowest value just to see what happens.
[T-Mobile Samsung Galaxy S 4] bgaccord:
Hey guys I ran antutu benchmark n score 19000. Stock kernel I was getting 25000.got same lag going out off dialer. Do u guys think bis bad flash? This is at 1998 mhz
[T-Mobile Samsung Galaxy S 4] ktoonsez:
You just had to much heat before and during the Benchmark so thermal throttle kicked in. All my testers are getting 25-26.5k every time when phone is nice an cool before starting it.
[T-Mobile Samsung Galaxy S 4] bgaccord:
Actually phone was cold. No heat when I ran test

.phone was left next to ac for 1 hr

Let me re flash. Ill get back with update
[T-Mobile Samsung Galaxy S 4] dragon-son:
Lowest appears to be 15 and vibration is still the same. Verified the file changed to show 15 as well, even rebooted. Even tried rebooting to recovery and fixing permissions.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Then 1998 is making your phone to hot then. You can always add 10 to the KThermal start and stop settings under Extras.
[T-Mobile Samsung Galaxy S 4] Texus915:
Hey ktoonez, finally a kernel I can use. Dl now.
[T-Mobile Samsung Galaxy S 4] nitrogen618:
Hm how much do u think I can raise the thermal start by? I know for galaxy nexus the device shuts down at 110C. And this devic3 starts to throttle at 68c..

I also get lower benchmark if I oc compared to stock speed.. Can you turn thermql thrttle off?
[T-Mobile Samsung Galaxy S 4] whytechapel_x:
Sorry lol never looked in my drawer it was already there.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
The thing you are looking at is the status of the kthermal module, when it says "Not currently throttling" it means its below temp and is not doing anything. U cant disable completely but raising the values up high would accomplish that.
[T-Mobile Samsung Galaxy S 4] PENKO956:
no worries some of the more custamization is not for everyone. you should be good using pegasusq with defualt settings.

also want to mention the governor ktoonservative is also a hotplugging one, tweaked by the man himself. props to the dev for a great kernel like always. :good:

*love the fact we are able to use omega on my m919. :D
[T-Mobile Samsung Galaxy S 4] mike216:
When you say hotpluging you mean when the screen goes off or we should see cores go offline when the screen is on. I use this app called system tuner and I'm able to see in real time how the cpu behaves. I tried both governors but with the screen on there in idle but not going offline? I wish I had paid attention to see how it behaves when I was using stock kernel and rom :rolleyes:

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] PENKO956:
my system tuner app says:

cpu0 378mhz

cpu1 offline

cpu2 offline

cpu3 offline

when screen is off.
[T-Mobile Samsung Galaxy S 4] mamba720027:
Use system tuner app.

If you mean "auto hotplug" then no cause ktoonservativeq controls hotplugging by itself.
[T-Mobile Samsung Galaxy S 4] PENKO956:
yeah i kind of figured it out after mike mention it. but thanks anyways.
[T-Mobile Samsung Galaxy S 4] gaww:
I was using ktoonservativeq one time and interactive the other time and when I simply switched to pegasusq, it rebooted. The first time, after the reboot, I tried to get into the settings but it rebooted again, so I immediately went back to ktoonservativeq.
[T-Mobile Samsung Galaxy S 4] mamba720027:
I experienced few of those sometimes only with pegasusq when screen off and after trying my own settings and quadcore settings posted online from other user with quadcoreqI think this pegasusq governor is not optomized for our quadcore and more for dual core because no matter how I adjusted it only 2 cores always works or its missing something,I don't know. Hopefully ktoonsez may take a closer look at it to verify this. Im not gonna use it untill.

Also the link I posted with explinations and examples by droidphile,those examples are aimed at a dual core cpu not quadcore ,also the cpu frequency he used are not the same as what we are useing.for example hotplug freq 400000mhz for us is 486000mhz. So if anyone copied those exact values to try it will be invalid. The default pegasusq frequency values are also not right. Just a heads up for anyone following this.
[T-Mobile Samsung Galaxy S 4] Tunasty:
Any thoughts to my problem that I mentioned on last page?

S4 is poppin!
[T-Mobile Samsung Galaxy S 4] PENKO956:
ok after you mention it i saw ktweaker says 4cpus online and on system tuner only 2 online using pegasusq. so i switched to ktoonservativeq and now systems tuner is in sync with ktweaker on how many cpus are online. i still dont get the hotplug freq mhz since that only tells the cpu to be online after that threshold is met. does it matter what mhz it is? does it need a specific scale mhz?I haven't gotten any reboots or any weirdness. been using for the past 3 days. phone is very responsive on both governor accept ktoonservativeq uses all cpus as i'm now finding out.
[T-Mobile Samsung Galaxy S 4] elesbb:
Got busy sorry bud.

5xx MHz should be more than enough.. Mine has a delay as well but doesnt take more than 1 second to show the screen on incoming call.. Try a different governor.
[T-Mobile Samsung Galaxy S 4] mamba720027:
It matters if you're setting a profile for performance,battery or a balance of both. Haveing all 4 cores online at same time for light tasks uses more battery so if can tweak it to be less aggressive then u can conserve on battery,not alot but different usage can prove otherwise.

And yea it matters to put the exact frequency that your cpu scales,like if you got 594000mhz you wont wanna put 500000mhz.

Higher frequency range the core will take longer to meet that threshold to go online,smaller frequency it will meet faster. Then theirs the scaleing down frequency threshold for the core to meet to go offline. Its complicated but wance u start doing it will make more sense.:p
[T-Mobile Samsung Galaxy S 4] Tunasty:
All good man. Try a different governor for the screen off profile?

S4 is poppin!
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
I'm also experiencing this problem, if you get it fixed please tell me!
[T-Mobile Samsung Galaxy S 4] elesbb:
You can try that, i have mine set to conservative and my regular governor set to ktoonservative.
[T-Mobile Samsung Galaxy S 4] PENKO956:
i had issues when i messed around with the screen off settings. sometimes your phone needs to do some stuff in the background and might need more mhz (sync gmail, phone call, text, etc all at the same time might cause some hiccups if you have set a min mhz for screen off.just load defaults and start from scratch. just like a computer its all trial and error. hope your s4 starts poppin again cause mine is!
[T-Mobile Samsung Galaxy S 4] Tunasty:
Yah that's what I'm doing right now, starting from scratch. But I did notice that when I had my screen off profile at 594 mhz, I was down 1-2 secs delay, which is not that bad. Didn't really help by changing governors though, which I'm kinda of surprised because I thought changing to like asswax or interactive, I will see a change but I didn't. Only thing that took it down to 1-2 secs delay was the screen off profile mhz.

S4 is poppin!

EDIT: Re-flashed the kernel, wiped caches but that still didn't fix the issue. After following all the settings and setting the screen off profile at 594 mhz, it still has a delay for 3-4 secs. Its random, sometimes its 3-5 secs delay and other times it will be 1-2 secs.

Hopefully KT can resolve this issue in his next update or something.
[T-Mobile Samsung Galaxy S 4] vcysion:
I have noticed that the governor placed only affects the first CPU. The other CPUs when online use the default of the ROM which in my case is interactive. You can see what I mean in the picture. It doesn't show the last two CPUs because they were offline but when they come up it says interactive also. I was using a different ROM and it said ondemand instead of interactive. I'm currently on the PAC ROM.
[T-Mobile Samsung Galaxy S 4] BlackGURU:
do you get LTE with this kernel?
[T-Mobile Samsung Galaxy S 4] Tunasty:
Off course.
[T-Mobile Samsung Galaxy S 4] elesbb:
Have you tried a different kernel? Just making sure its not ROM related as Samsung naturally has a SoC wakeup delay.
[T-Mobile Samsung Galaxy S 4] Tunasty:
No I haven't tried a different kernel yet but I do know that its not related to the rom because I'm the only who's having issue with it. I've already asked in the rom thread.
[T-Mobile Samsung Galaxy S 4] BlackGURU:
I Know nothing about kernels,so can someone who does, post their settings for Performance, as well as Saving Battery. ..Please and Thanks
[T-Mobile Samsung Galaxy S 4] Tunasty:
http://xdaforums.com/showpost.php?p=41756874&postcount=3
[T-Mobile Samsung Galaxy S 4] androidsoccer:
Your profile picture needs to be changed
[T-Mobile Samsung Galaxy S 4] Tunasty:
Why? Whats wrong with it?
[T-Mobile Samsung Galaxy S 4] PENKO956:
its to nasty
[T-Mobile Samsung Galaxy S 4] androidsoccer:
It is too exposing. This is xda, not a porn hub
[T-Mobile Samsung Galaxy S 4] Tunasty:
Well this isn't a Q&A thread either so if you have problem, feel free to PM and stay on the topic.

Ps if this was a Porn hub, it wouldn't be covered then.

S4 is poppin!
[T-Mobile Samsung Galaxy S 4] mamba720027:
I taught that was a face with a scary scar at first untill everyone comment :D
[T-Mobile Samsung Galaxy S 4] mike216:
I thought I replied but couldn't find it when reading through so please forgive me if I'm wrong. Just wanted to say I'm finally getting great battery life using ktoonservative! Sleeps great now. This LTE modem is a huge battery hog if in a bad signal area! Not that modems have anything to do with this kernel but maybe someone will benefit from reading this.

On another of topic issue, that is the nicest most round booty I've seen in a long time. If you don't like it cover your eyes :D

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] ktoonsez:
U did and I replied :D
[T-Mobile Samsung Galaxy S 4] mike216:
I'm sorry kt but I swear I looked at least 3 different times! Amazing governor. I usually just stay in what you have it boot at but glad I went for it. My new go to governor!

Edit. This app is buggy. I just went back 5 pages and don't see it? I'm sure it's there but I'm going to have to see in Web view?

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] sarni84:
Ktoon! Whats up baby! Cant wait to try this awesome kernel .....flashing soon! :)
[T-Mobile Samsung Galaxy S 4] vcysion:
I'm having a problem. I am running the PAC ROM. I'm unable to use the mic for anything other than talking on the phone. Every other app that uses the mic (voice search, sound recorder, speech to text, Google sound search, etc) instantly force closes when I attempt to use it. I've found out that flashing the kt kernel caused the problem. I did a clean/wipe all install of the ROM and didn't use the kt kernel and the problem was not present. I flashed the kernel again and the problem came back.
[T-Mobile Samsung Galaxy S 4] KingVeto:
Same MIC issues as above with PAC rom. Would flashing an earlier version fix this problem?

Edit: Flashed the 6-10 version and didn't fix the issue.
[T-Mobile Samsung Galaxy S 4] vcysion:
Yeah I tried flashing an older kernel but I think it's the new change commits in the ROM that's making the kernel incompatible now
[T-Mobile Samsung Galaxy S 4] KingVeto:
I think our issue is ROM specific.. I just flashed the rom again and even with the stock kernel that is baked in I'm still having issues with the mic.
[T-Mobile Samsung Galaxy S 4] ceroglu:
After installing a custom kernel, I get 'detection error' where it wants to reboot the device. Does anyone know what might be causing this?
[T-Mobile Samsung Galaxy S 4] mike216:
Yes it's Knox security on it. Hold on and I'll send you a screen shot of what to delete

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Its also right in the OP in BIG HUGE GREEN LETTERS :good:
[T-Mobile Samsung Galaxy S 4] mike216:
No one reads here we just flash stuff on a 700$ device:D

I'm kind of joking so please don't be offended ceroglu

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] ceroglu:
Sorry boss, my bad I hate the blue or green fonts on tapatalk for some odd reason! Btw great job on the kernel. It feels very smooth on ktoonzservitive. My device idles about mid 40s while on regular use on Wifi and at room temperature. I increased the thresholds by 20 and UVed by 50 on each frequency. The idle temps went down by couple. Would you recommend anything else?
[T-Mobile Samsung Galaxy S 4] vcysion:
Is not ROM specific per say. It's apparently a new cm10.1 commit that got added. Chronickernal is having the same issue.
[T-Mobile Samsung Galaxy S 4] PENKO956:
My setting dont stick. Is it just me?
[T-Mobile Samsung Galaxy S 4] Tunasty:
Working fine here man.

S4 is poppin!
[T-Mobile Samsung Galaxy S 4] PENKO956:
It only happens when I adjust givernors setting. Is it that ktweakr doesnt like what I set it to? Im getting amazing batt either way.
[T-Mobile Samsung Galaxy S 4] elesbb:
Clear data for ktweaker app
[T-Mobile Samsung Galaxy S 4] PENKO956:
yep that did the trick. thanks :)
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
Does smart pause and smart scroll work for you guys? Doesn't work for me :confused: I'm on the Infamous ROM running the latest update of this kernel
[T-Mobile Samsung Galaxy S 4] elesbb:
You might be right.. doesn't wanna work for me either
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
At first I thought it was the rom, but other people had it working but they weren't on this kernel, so I think it's this kernel that causes the problem
[T-Mobile Samsung Galaxy S 4] ktoonsez:
I would say the ROM is too old or too new, kernel is at ME4 if that helps. :good:
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
So go back to and older kernel? I'm running the Infamous rom!
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Give it a try, Id download all of them and flash until you find one compatible with your ROM if its that important to u, lol.
[T-Mobile Samsung Galaxy S 4] mike216:
Making another donation KT. Hope your weekend is going well

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Thanks buddy, you are awesome :D :highfive: :good:
[T-Mobile Samsung Galaxy S 4] TheAnarchist1:
Hey, Ktoonsez, can we get a refresh of the AOSP kernel with the latest CM10.1 commits? I have noticed that the current version of the kernel breaks a few things after that mountain of commits the other day
[T-Mobile Samsung Galaxy S 4] lyrical1278:
Battery life with this kernel and ktweaker has been BEYOND my best expectations... Screenshots to prove it...

During the time my phone was charging, I had the flip cover closed with the phone face down since I was playing music through the speaker. So all screen on time we while NOT charging...

Good stuff I say...
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Ill try to find some time tonight, currently testing with it right now.
[T-Mobile Samsung Galaxy S 4] 141park:
Hi, does this kernel support exFat 64gb sd card?

Thanks so much.
[T-Mobile Samsung Galaxy S 4] CamFlawless:
ExFat support is for TW only for now. It's in the linked change log.
[T-Mobile Samsung Galaxy S 4] mike216:
Holy ****. I use to be envious of others scores. Thinking why couldn't I get a beast mode CPU.. with the help of KT I'm now getting big boy scores

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] ktoonsez:
OP Updated

Change Log 6.23.2013

1. Linux 3.4.49 and 3.4.50

2. MF4 Samsung Source update

3. [PATCH] Squash of two EHCI: HSIC commits from caf

4. More dmesg log spam removal

5. Made fast charge completely ignore PC no (no more unrecognized device thing)

6. Fixed OTG issue co-existing with Fast Charge

7. Change GPU step 544 to 545

8. Added 627 GPU step in conjuction with Team-Hydra

9. Completely synced with CM as of right now

10. Fixed KTweaker issue with saying Fast Charge was disabled when it really was

11. Fixed message saying "CPU Max Mhz" does not match when user set no "Screen OFF Profile Mhz"

12. Ktoonservative: New tunable: touch_boost_cpu_all_cores. This item allows you to enable/disable the setting of 2nd, 3rd and 4th cores to the same speed as CPU0 on boost operations, default is 1 (on) and this is the way it has behaved sense day 1, just giving people the option to disable it and maybe what is causing issue with reboots on AOSP, but doubt it.

13. More attempts to help stop AOSP reboots that occurs on some phones

*** IMPORTANT: The AOSP version is very up to date and the nightly is NOT even out yet for some of the merges so just be aware, you might need to update to latest nightlies. Also, the TW version is crazy up to date, so again you may need to update your ROM if you have issues

ENJOY!!!!!!!!!!!! :highfive: :good:
[T-Mobile Samsung Galaxy S 4] Tunasty:
Thanks for the update bro! Not sure if this will work with Wicked v4 that just came out yesterday. Going to find out soon ;)
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Depends on the ROM, you will have to try.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
MALO, like the new picture :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D
[T-Mobile Samsung Galaxy S 4] tweezit:
Works great on the unofficial build I posted in the CM nighlties thread in general chat as it is fully up to date with working IR Sensor :)

Thanks Ktoonsez :)
[T-Mobile Samsung Galaxy S 4] Tunasty:
:highfive: ;)

Does this update need any new settings or post #3 is still good to go bro?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Post #3 is still good.
[T-Mobile Samsung Galaxy S 4] Tunasty:
Cool. Btw do you see any delay on the screen to turn on when you get a phone call? I have my screen off profile at 5XX mhz and there's still like 2-4 secs delay for the screen to turn on.

p s What do you run on your S4? TW or your secret AOKP? lol
[T-Mobile Samsung Galaxy S 4] ktoonsez:
I always see the delay with any kernel and any ROM. AOKP always :D :good:
[T-Mobile Samsung Galaxy S 4] mike216:
Going to try your settings in post 3. Correct me if I'm wrong but wouldn't having a low clock use more battery because the ramping up to finish the task? I know, I know nothing just a guess on what I think the CPU does? Sorry KT I read so many different theories I'm just a bit confused at times, thanks the kernel feels amazing

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] ktoonsez:
After testing for the past year I have come to this conclusion:

ALL governors overreact to load by nature to provide a smooth UI experience while using the phone so I dont let it overreact by setting that low MAX Mhz and it has always saved me battery :good:
[T-Mobile Samsung Galaxy S 4] mike216:
That's all I need to know! Thanks for custom settings. I would have had no idea where to start:thumbup:

SGH-M919_Omega, the end result

---------- Post added at 05:44 AM ---------- Previous post was at 05:25 AM ----------

Hey guys I'm using KT personal settings. What can I change back to help the wake up time. I thought it needed a battery pull it took so long to wake. My phone can't handle some of these settings. I really just want to change the lock screen delay. Thanks community

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] mike216:
I'm a bit premature but I'm noticing better battery life already. Your settings are great. Get some lock screen delay but I'll deal with it. Thanks KT

So you work in the technology field?

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] ChadBFlores:
Ya im definitely one of those people lol :P

OCFD- obsessive compulsive flashing disorder
[T-Mobile Samsung Galaxy S 4] mamba720027:
The new update is working smooth as ever and pegasusq governor hotpluging working great at default setting :)
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Thanks man. I'm in automation. Realtime conveyor control using PLC's and software that I write
[T-Mobile Samsung Galaxy S 4] pezlomd:
I set my gov to.ktoonz but it always goes back to on demand.. I've cleared data in ktweaker and tried few other things w no luck.. how do I get ktoonzservstive to stick?
[T-Mobile Samsung Galaxy S 4] Tunasty:
Are you saving your settings?

I would just re-flash it, wipe cache and dalvik after flashing the kernel and then try it again.

S4 is poppin!
[T-Mobile Samsung Galaxy S 4] 141park:
Hey Tunasty!, how is this kernal working on Wicked v4? I know there was some glitches but have you notice any change with this new update? Thanks
[T-Mobile Samsung Galaxy S 4] PENKO956:
Only two cores go online on pegasusq. Or all four cpus working for you on heavy load?
[T-Mobile Samsung Galaxy S 4] gaww:
On the TW version - up to what what date?

Using ROM based on last TMo May 7 update (9505 is ahead of TMo US) - what is the base of this one now?
[T-Mobile Samsung Galaxy S 4] mamba720027:
Before only 2 would go online for me but with the new update I have all 4 goes online and offline quickly on light or heavy loads without touching the governor parameters.

In systemtuner next to Cpu where it says "time", look in their and look at each core along with the frequencys to see if the other rest of cores went online at any time. Sometimes its just for a few seconds and you will see at what frequencys they went online and duration of time :)
[T-Mobile Samsung Galaxy S 4] Tunasty:
It's dope man! No glitches so far. Testing out the battery life today so I will report back in couple days. But yah go ahead and flash this baby and enjoy the awesomeness

S4 is poppin!
[T-Mobile Samsung Galaxy S 4] PENKO956:
U sure? My Cpu tuner times says only cpu0 and cpu3 only on. Im on update 6/23 aswell