yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] mike216:
I've done some noob testing. Not saying I know what I'm talking about but here's my attempt. I actually notice battery improvement with gentle sleeper enabled. It just seems to drop slower. I haven't seen any lag with it enabled neither!

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] nowy57:
hello

from where I can download "KTweaker app"

I cannot find it anywhere ..
[T-Mobile Samsung Galaxy S 4] waylo:
It's installed automagically when you flash the zip.
[T-Mobile Samsung Galaxy S 4] mike216:
It's hiding in your app drawer ;)

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Come on guys I already explained this on the previous pages, it will more than likely NOT save any battery at all. Ill try to explain it again:

Gentle fair sleepers means that when enabled it keeps all processes (whether they are asleep or currently active) at a "fair" level.

Example situation for jizzer ROM users. You have 237 processes running at the same time, each time you use an app when Gentle Fair Sleepers is enabled it will give "fair" consideration to the ones that are sleeping and not doing anything at the moment in the event that they wake up (I.E. like email app, it only checks for new email every 15 minutes so if that 15 minute timer just expired it gives up some processing for the recently woken up process sharing with the foreground app you are using)
[T-Mobile Samsung Galaxy S 4] NYCHitman1:
I've been using this basic setup w/ KtoonQ + BFQ. Attached is the txt file that you can place in the Ktweaker folder and restore the settings yourself.
[T-Mobile Samsung Galaxy S 4] mike216:
I google searched it and came up with it being a battery saving feature. I know you know what it is but there's a ton of false info out there! Thanks and sorry kt,

I was way off :o

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] Evo4eva:
I went about 60 pages like he said and didn't find it. Can someone please provide me a link
[T-Mobile Samsung Galaxy S 4] NYCHitman1:
Didn't find what?
[T-Mobile Samsung Galaxy S 4] Tunasty:
I would if I could but I'm on mobile. Try to use the search feature to search in this thread.

S4 is poppin!
[T-Mobile Samsung Galaxy S 4] CamFlawless:
Check this post.

http://xdaforums.com/showpost.php?p=42428446&postcount=382
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Thanks, added to the OP. :good:
[T-Mobile Samsung Galaxy S 4] mike216:
Good afternoon kt, do you think its necessary to have a hsic patch in your kernel? I posted some wake locks on the better battery stats op and they said look for a kernel with that patch. I believe the wake lock was msm_hsic_host

Was just wondering what you think?

Is this normal or is this possible something your unaware of

Edit. I did some reading in this. It's from the 3g modem, it's normal but not sure if my count is considered high or not. Never mind kt I will read more on how to reduce it!

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] Evo4eva:
Thanks a lot man. I went all the way back to page 53, so I was close, lol. Thanks again
[T-Mobile Samsung Galaxy S 4] gaww:
Tried 7/11 again on a fresh install of Omega 7.1 and got freezes almost immediately - even after a few reboots. Like earlier on Omega 7.0, went back to 7/2 and it cleared up. Looked at the changelog but still no idea of the changes from 7/2 causing this. I have not messed with the settings, as I assumed the default settings would be the most stable.
[T-Mobile Samsung Galaxy S 4] dclifford:
I had previously been using the 6-10 version of this kernel with wicked v4 and getting great battery life (3-5 hours of screen on time and 12-15 hours overall.)

Lsst week i flashed infamous with the 7-10 version of the kernel and it nearly cut my battery life in half. I reflashed wicked but was still using the new version of the kernel and was still experiencing worse battery life then before. I am now back to my original set up of wicked v4 with the 06-10 kernel, however my battery life has not increased. I should also add that I am using the suggested settings for the kernel and have several apps greenified. Can anyone help me to identify what could be wrong and how to fix it? Im becoming very frustrated with myself because I should have never changed anything. Thanks in advance for any help!
[T-Mobile Samsung Galaxy S 4] gaww:
If you had made a nandroid before you flashed 7-10, you would just have to restore it (mine saved me when I tried 7-11 a few times)..

Absent that, if you had been on Omega, you could just reflash the ROM and 6-10 kernel. However, with Wicked - not so easy, as flashing it even without wiping still wipes many user apps.

I would make a nandroid of the Wicked ROM of

data only

and then reflash the ROM and 6-10 kernel after

wiping system

, and then restore the data backup. I think that might get you back to where you started.
[T-Mobile Samsung Galaxy S 4] TheAnarchist1:
Hey Ktoonsez, just wondering if we can get a refresh of the AOSP kernel synced up with the latest CM? There have been a buttload of commits lately. No rush or anything, and the kernel is great! Just figured I would ask while I was in the neighborhood lol :p
[T-Mobile Samsung Galaxy S 4] ktoonsez:
If I get time in the next 2 days I will, but not sure what you are looking at, there are only 8 commits (6 for interactive gov) you are missing and they are useless really.
[T-Mobile Samsung Galaxy S 4] Kjc99:
Hey guys hope someone can help me... I'm running this kernel on my i337m and although I'm not new to flashing I'm new to custom kernels... How do I undervolt the kernel I'm hoping I can make my device a little cooler while gaming so

1. Is this rom safe for my Canadian i337m

2. How to undervolt and what voltage is safe to prevent reboots and other mishaps Thanx

Galaxy S4
[T-Mobile Samsung Galaxy S 4] CamFlawless:
1.) This is a kernel, not a ROM. But as long as you're running the correct version (TW/AOSP) given your ROM base, it is safe to use.

2.) Use the voltage menu within the ktweaker app, which is installed once the kernel is flashed. As for "safe voltages," they will vary widely from device to device. Just try adjusting yours in small increments and go from there to see how your device responds.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
OP Updated

Change Log 7.15.2013

1. 2 New KTweaker items: "Charging Min Mhz" and "Charging Max Mhz" options (Under "Extras" screen in Ktweaker). Use these to set your Min/Max Mhz while charging

2. Improved CPU sync for ktoonservativeq

3. New ktoonservativeq tunable: Added disable_hotplugging_chrg option. 0 = normal hotplugging while charging, 1 = disable hotplugging while charging so all cores are on full-time.

4. Linux 3.4.53

5. misc: uidstat: avoid create_stat() race and blockage

6. block: row: change hrtimer_cancel to hrtimer_try_to_cancel

7. Many updates to Interactive governor for CM

8. Merged Interactive governor from CM to TW version

9. New KTweaker item: "Force Samsung MTP (requires a reboot to take effect first time)". This will force the Samsung version of MTP. *****USE THIS OPTION ONLY IF YOU ARE RUNNING A TOUCHWIZ ROM. DO NOT USE ON AOSP OR GOOGLE EDITION ROMS

10. cpufreq: RemoveD the 1134 lower ceiling from TW ROMs

ENJOY!!!!! :good:

Going on a long business trip again tomorrow for 18 days, so my access/time will be limited.
[T-Mobile Samsung Galaxy S 4] ktetreault14:
Amazing thanks. Have a good trip
[T-Mobile Samsung Galaxy S 4] mamba720027:
Just when I taught theirs nothing more comeing anytime soon as everything working great lol. Thanks for shareing this great kernel with us. Good luck on the trip.

:D
[T-Mobile Samsung Galaxy S 4] Kjc99:
OK sorry to be a noob but, under voltages menu there are 7 values I am trying to undervolt to lower my phones temperature while gaming I thought there would only be 4 values for the cpu what do they mean? Maybe someone knows a link for me to read up on kernel overclocking/undervolting

Thanks guys

Galaxy S4
[T-Mobile Samsung Galaxy S 4] galaxys3man30:
Which values are you trying to undervolt?

EDIT:if you have underclock enabled in the voltage table you see all the cpu steps just undervolt where your max stops at dont worry about the other steps it wont go higher then what your max is set at
[T-Mobile Samsung Galaxy S 4] CamFlawless:
Try reading up here first. Google and XDA have more information than you would believe. ;)

Lowering the voltages to the CPU at each frequency step can lower the temperature created by the device in intense activities (such as gaming.)

http://xdaforums.com/showthread.php?t=1369817
[T-Mobile Samsung Galaxy S 4] mike216:
This one is crazy fast! Love it

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] blacklabel2020:
More info on Force Samsung MTP? What is it and what does it do?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Not much to say. Its Samsung MTP, which is faster than google MTP, if you are a Touchjizzer use it, if you are on AOSP or Google Edition ROMs DON'T. :good:
[T-Mobile Samsung Galaxy S 4] whytechapel_x:
You love saying touchjizz lmao
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Yes I do :D :good: :highfive:. It cracks me up every time I type or say it. I really like posting the number of running apps/services on the jizzer too, 237 and counting! :p :eek:
[T-Mobile Samsung Galaxy S 4] galaxys3man30:
Thats what he calls touchwiz users
[T-Mobile Samsung Galaxy S 4] trueking7:
I am using the latest and greatest kernel by Ktoonsez (7/15) :good: using recommend settings except 1134 screen off Mhz... I think processes finish quicker and it wakes up for a calls quicker imo

Sent from my Rogers Galaxy S4 (SGH-I337M) running Omega v7 with Ktoonsez TMO kernel...
[T-Mobile Samsung Galaxy S 4] mike216:
+1 it's amazing! I really appreciate it ktoonsez! Especially because you decided to look out for us before you take off for work. Thanks, I promise no more dumb questions. I'll google search for them for now on. Much appreciated

I see the settings have been updated for us also:thumbup: Be safe

SGH-M919_Omega, the end result

---------- Post added at 06:39 AM ---------- Previous post was at 06:16 AM ----------

Hey guys I read some interesting stuff, if you ever wondered why the read ahead buffer is so low and we crank it up on custom roms or kernels. Most manufacturers go with a low fail safe 128kb. Most of us have much better sd cards then cheap crap sold for peanuts. To make a long article short you really will benefit from read and write speeds bumping the read ahead buffer up in kt app to 3072! The default is that low 128 but why not take full advantage of that kick ass class 10 super expensive (for a sd card).

Not that I would ever doubt you kt but was curious why this number was dramatically bumped up from super low stock 128kbps!

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] mamba720027:
@ Ktoonsez

As shown in screenshot below after latest update,when I choose the performance governor not all cores be at max cpu speed.

Can anyone else confirm this?
[T-Mobile Samsung Galaxy S 4] demon28:
Need some help when flashing the latest and greatest my device said to take back to Verizon was I supposed to do something that I missed.. If someone can set me straight.... Running sacs v3 with ktoons 7-11 tw
[T-Mobile Samsung Galaxy S 4] Monkz:
This thread is the T-Mobile page, i think you need the Kernel for the Verizon model.
[T-Mobile Samsung Galaxy S 4] mike216:
This version is sooooooooo amazing! Screen on drain is beautiful and I woke up to see over 99% sleep percentage.

Here's an amazing thread to help anyone who's not getting good idle time. Battery wasn't doing great before getting help from my buddy skip, it mushroomed into its own thread and many have been blown away! So if your having bad battery it's definitely not the kernel! Its most likely google services or some misbehaving app.

http://xdaforums.com/showthread.php?t=2357417

SGH-M919_Omega, the end result

---------- Post added at 06:05 PM ---------- Previous post was at 05:52 PM ----------

Don't know if placebo or not but it seems your getting the jizzer to run cooler with each release.

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] elesbb:
I second the "things running cooler" lol. Great job ktoonsez!
[T-Mobile Samsung Galaxy S 4] Monkz:
Ill be the third to agree. Im getting temps like 5 C lower on average than before on AOSP.
[T-Mobile Samsung Galaxy S 4] elesbb:
I'm on touchJIZZ xD I've been running 100 percent stock stuff as I've been trying to isolate my reboot issue. (Which was ROM related. It's all good now) so I can't wait to undervolt!
[T-Mobile Samsung Galaxy S 4] Tunasty:
I guess i should flash the newest build after reading all these posts. Still running the 07-07 one.
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
I'm still on 6/10 lol
[T-Mobile Samsung Galaxy S 4] prototype.77:
Everytime I try and run Antutu it crashes...maybe the phone is to fast for the app and it cant keep up...
[T-Mobile Samsung Galaxy S 4] nitrogen618:
So.. I think I know why the benchmark doesnt go up really high

Using prefmon, I see that only the first core goto the oc`d frequency. All the other stays stock.

I oc it to 2.1, only the first core goes to 2.1. All other 3 stays at 1.9.

Edit: Also noticed something. Just installed tricstermod, and disabled MPDecision. Two of the cores now go fully to 2.1Ghz, and scales correctly. HOWEVER, this leaves Core #3, and Core #4 offline permanently until I turn off MPDecision again. Once I turn on MPDecision, only Core #1 reaches 2.1Ghz, and Core #2,#3,#4 stays at 1.9Ghz.

Edit2: I know that according to faux, his app suggest to turn off MPDeicsion, and that made all 4 cores able to hit the OC'd Frequency.

I know I'm not a developer or anything.. But if I'm correct...

Turning off MPDecision makes all 4 cores online, HOWEVER, there must be a 'smart governor' to make it work.. Such as intellidemand, auto plug, inteliplug, to act as the core logic..
[T-Mobile Samsung Galaxy S 4] ddizzy81:
Ever since I installed this kernel everything is Fine but every time I reboot it says Android is upgrading starting apps. Is there a way to fix this

Sent From My GSIII
[T-Mobile Samsung Galaxy S 4] ktoonsez:
I still cant run the kernel so I have not figured out a way to spread the love over all 4 cores yet. In next release mpdecision will be completely disabled and using my auto_hotplug module for non-hotplugging governors. You will also have a choice of 3 govs that hotplug on there own (pegasusq, slp, ktoonservatve) eventually. Gonna take some time on ktoonservative again, since I can not run the kernel ever.
[T-Mobile Samsung Galaxy S 4] nitrogen618:
I look forward to the next releae.. :) I think that's whats happening.. (M)ake(P)oorDecisions.. D: Damn qualcomm ;_;
[T-Mobile Samsung Galaxy S 4] elesbb:
All i got out of that was...........

"Fu*king AT&T and Samsung need to tell me how to unlock my bootloader so i can run my damn amazing kernel!! And truly turn on God mode :D

Btw, did you add my Optimus Prime feature yet xD

When are you guys getting your bootloader unlocked anyhow?
[T-Mobile Samsung Galaxy S 4] dragon-son:
I'm running at 2.1 using on demand governor with sio scheduler. Using the defaults for these and all is smooth for me.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
I just had galaxys3man30 test it and it is crossbreader (I think u said u installed crossbreader) that is interfearing with your Max Mhz settings. He uninstalled it and all 4 cores go to his Max Mhz settings which was 2106.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Never apparently, lol. :silly: :( :eek:
[T-Mobile Samsung Galaxy S 4] takethebox:
Any reports on battery life yet? Very interested in this kernel.
[T-Mobile Samsung Galaxy S 4] elesbb:
Never saw any improvements with crossbreeder anyhow.

Have we formed a petition yet?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
There has been a BOUNTY thread for a month now, 1,400 buck in the pot.
[T-Mobile Samsung Galaxy S 4] ddizzy81:
Anyone?

Sent From My GSIII
[T-Mobile Samsung Galaxy S 4] nitrogen618:
What is this crossbreeder? I didnt install anything called 'crossbreader' sorta confused...

Edit: found the problem.

Example: im on 2ghz. And then I move it up to 2.2ghz. Only the first core will get 2.2ghz until I reboot...
[T-Mobile Samsung Galaxy S 4] wavrunrx:
yep; same here. never thought anything of it.

wonder whats going on.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Well something is blocking you, thought u said u installed that. Look 2 posts above your post and u can see that it hits 2106 on all cores.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Nothing to do with the kernel, that is ROM that triggers that.
[T-Mobile Samsung Galaxy S 4] T41NT:
Noob question, but how do I know if I'm using a touchwiz rom? I have axisM rom and i came from the thunderbolt just a few weeks ago. A little behind on the gs3 right now. Sorry ha
[T-Mobile Samsung Galaxy S 4] Greg1964:
How do you get all 4 cores to open up at max o.c. at once instead of just one core. Thanks
[T-Mobile Samsung Galaxy S 4] Monkz:
I couldn't do that :P. For me, the kernel takes priority over any ROM. I always want the latest and greatest release and if my ROMS not 100% compatible i make the switch to one that is lol.
[T-Mobile Samsung Galaxy S 4] Kjc99:
After flashing and opening ktweaker app it says voltages and some other stuff don't match... What do I do to keep the default settings that ktoonez set I am not to familiar with custom kernels and I don't want to mess anything up. And is on demand the stock governor?

Thanks

Galaxy S4
[T-Mobile Samsung Galaxy S 4] elesbb:
Same here. I don't even use smart stay anyhow.
[T-Mobile Samsung Galaxy S 4] mamba720027:
Have anyone tried doing a benchmark in quadrant with performance governor after the latest kernel update on TW rom?

I notice all 4 cores do not stay at max frequency.

---------- Post added at 09:09 PM ---------- Previous post was at 09:07 PM ----------

Just hit apply to reapply the previous settings u had,also make a backup of your configured profile as to restore if something goes wrong.

Edit: to get the default settings,go in rom settings/application manager/All/Ktweaker and clear data then restart. All default settings will take effect their after.
[T-Mobile Samsung Galaxy S 4] Kjc99:
So everything comes with correct settings as long as I don't mess with it?

Galaxy S4
[T-Mobile Samsung Galaxy S 4] mamba720027:
Sometimes you need to clear data for Ktweaker and restart the device as I mention in above post :) which I think u should do because ondemand is not the default governor after installing the kernel.

And yes it comes with optimum settings as default without messing with anything. Also in the OP you could try the settings mention their if you want.

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

Change Log

1. Linux 3.4.51

3. ktoonservativeq: Use dedicated high-priority workqueues

4. ktoonservativeq: Change hotplugging routines to use new dedicated high-priority workqueues

Eversince the changes above its running much cooler. Before that with the touch of a finger all 4 cores would fly online like mad lol. Now it reacts more sensible and stay at 2 to 3 cores doing light/medium tasks. So wastes less battery which amount to cooler device and also the undervolting helps :) .

This one the reason Im useing this kernel above all else who implemented intellidemand as the main governor that just scales like a mad cow to the highest cpu core/frequency and provide no user core control/hotplugging of the governor. So Ktoonservativeq should be one of the best governor available to us that provide subtle battery performance and speed :)
[T-Mobile Samsung Galaxy S 4] Tunasty:
Whats going on bro? Do you mind sharing your new settings of this update? I've been running a mixture of your settings and KT's recommended settings. Its like one of the best settings ever!

If its okay :good:
[T-Mobile Samsung Galaxy S 4] mamba720027:
Not much up and of coarse its kewl to share,its unkewl not to :D:p

I did a few changes based on my day to day usage to work out the negative (s) from my own previous settings and also add some more good settings which im experimenting with to see any more improvement battery wise without speed cost and sluggishness.

The high GPu rate is becsuse I play few games that would benefit from it otherwise I would keep it at 320mhz :)

Any features not mention below is left at default.

CPU MIN/MAX - 189/2052

Cpu UV -75mv

I/O Scheduler - Row

CPU Governor -Ktoonservativeq

Governor Adjustments

Boost 2nd core on button - 0

Touch boost 2nd core - 0

Touch boost cpu all cores - 0

Touch boost cpu - Disable

Sync extra cores - 1

Up threshold - 95

Lockout 4th core hotplug - lock cores always off

Sampling rate - 60000

Sampling rate screen off - 45000

Extras

screen off profile - 1134mhz

screen off GPU max - 200mhz

Bluetooth profile - 810MHZ

Vibration strength - 50

Mdnie scenario - eBook Mode

Mdnie background mode - Natural

SDCARD SECTION

Internal Read Ahead buffer - 2048

External read ahead buffer - 4096

GPU SECTION

GPU Max - 545mhz

Cpu extras

Gentle Fair Sleepers - Enabled

Battery MHz Control

Battery level low - 35%

CPU MHz for Low Level - 1134mhz

And I tone down my screen brightness with lux autobrightness. Rom power saveing turn on except for cpu. And used Greenify app to prevent apps from running with screen off.

Screenshot of current usage.
[T-Mobile Samsung Galaxy S 4] Tunasty:
^^^ I feel like I'm in SPARTA because this is insane!!!!!! Thats awesome bro and thanks a lot for sharing!! :highfive:
[T-Mobile Samsung Galaxy S 4] mamba720027:
This is "MADNESS!!!!" :D:thumbup:
[T-Mobile Samsung Galaxy S 4] Tunasty:
Governor Adjustments:

"Boost 2nd core on button 1 - 0"

Do you mean Boost 2nd core on button - 0 ?

"Touch boost cpu - 0"

Currently is touch boost cpu is 1134. Do you want me to disable that?

"Lockout 4th core hotplug - 2"

When I click on that, I get the following options: Hotplug Normal, Lock core always ON and Lock core always OFF

Dont know where you want me to enter 2?
[T-Mobile Samsung Galaxy S 4] whytechapel_x:
For the last one I figured out that by choosing "Lock core always OFF" gives you a 2.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
LOL, I cant believe you asked that, when you pick one it shows you the number after the dialog closes. I am revoking your awesome picture/avatar, hand it over!!!!!! :p ;) :D
[T-Mobile Samsung Galaxy S 4] Tunasty:
Lmao well I never messed around with hotplugging mods. I always have kept it default. Giving a mixture of his and your settings. It's literally dope. :D

S4 is poppin!
[T-Mobile Samsung Galaxy S 4] mamba720027:
Lolz, yes you right about question 1 and 2 and the 2 posts above are also correct. Ill correct that in previous post,incase future reference :D
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
I cleared data and restarted my phone and on demand is the default govnor
[T-Mobile Samsung Galaxy S 4] mamba720027:
Ok so looks like ondemand is indeed the default. You could try Ktoonservativeq governor instead and see how that works for you. Also read the OP for more info if you want to change anything else and get some examples and idea of what is what.
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
I Uv-75 now the Ktweaker keeps force closing, it could just be my battery at the moment, it's at 2 percent lol

Edit: it was just my battery level
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
Is there any way I can get smart stay to work without going back to version 6/10?

I love the new update, but I also use smart stay :/
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Updating your ROM is the only way to get "stupid stay" (LOL) to work unfortunately :(. There are camera upgrades in my kernel that are not compatible with the ancient firmware originally released with our phones (7 updates behind to be exact). Its crazy how far behind ATT and TMO always are from the rest of the pack.
[T-Mobile Samsung Galaxy S 4] CamFlawless:
http://xdaforums.com/showpost.php?p=43664315&postcount=1703
[T-Mobile Samsung Galaxy S 4] Kjc99:
My phone screen is staying on when I'm on the phone I checked the proximity sensor setting and it's checked..... Is there a setting in ktweaker I missed

Galaxy S4