yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] ktoonsez:
OP Updated

Change Log 7.7.2013

1. Linux 3.4.52

2. Sync up with CM's latest commits

3. ktoonservativeq: touch_boost_cpu_all_cores is now defaulted to 0

3. ktoonservativeq: Total re-write of the code for touch_boost_cpu_all_cores option (for people that had issues with this being set to a 1, you may be able to reset it to a 1 again)

4. ktoonservativeq: NEW TUNABLE: "sync_extra_cores", this item will spawn its CPU frequency calculation to all online cores to keep all 4 cores more under control of ktoonservativeq

5. ktoonservativeq: 3 NEW TUNABLE: "lockout_2nd_core_hotplug", "lockout_3rd_core_hotplug" and "lockout_4th_core_hotplug", these items give you the ablility to lock specific core to be always ON (set to a 1)

6. ktoonservativeq: Add missing cancel_work_sync()

7. exFAT for AOSP kernel (using same files from Talustus but making necessary script and ramdisks adjustments)

8. exFAT adjustments for TW users to try and auto mount all different partition configurations

9. Remove some more log spam

10. Trying some new build flags

ENJOY
[T-Mobile Samsung Galaxy S 4] tikay00:
Freaking awesome. Flashing this asap.

We still have to apply your recommended settings though right?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Only if you clear app data for ktweaker, if you dont all your settings will remain.

I updated my settings from post 3:

http://xdaforums.com/showpost.php?p=41756874&postcount=3

This is what changed:

sync_extra_cores=1

touch_boost_cpu_all_cores=1
[T-Mobile Samsung Galaxy S 4] PENKO956:
If I want to be bias on battery do I leave

Sync extra cores at 0?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
A 1 should save more battery.
[T-Mobile Samsung Galaxy S 4] Skipjacks:
Is there a way to boost the vibration strength past 125?

Its still pretty weak. I know this is a hardware fault, but if more power could be applied to it it might compensate for the weak hardware.

As long as its not going to physically vibrate the motor off the circuit board it should be safe

Sent from your phone. You should be careful where you leave that thing.
[T-Mobile Samsung Galaxy S 4] micky14x360:
Every time I try to bring the voltage down and hit apply my phone always freezes then resets. And doesn't stay at the voltage I want it to. ?¿?????
[T-Mobile Samsung Galaxy S 4] tikay00:
Awesome thanks.
[T-Mobile Samsung Galaxy S 4] stevessvt:
Mine wont complete an antutu benchmark anymore, even stock voltage and mhz. A few times causing the phone to lock up and making me do a battery pull. I installed 7.7 over 7.2 and cleared cache/dalvik. So I used titanium back up to uninstall ktweaker and used mobile odin to install stock kernel, but now stuck at galaxy s4 splash screen. Right now using regular odin to install back stock.
[T-Mobile Samsung Galaxy S 4] ivesdotkom:
Awesome, I just wanted to some kinda guide to go off of. Thanks for the start! Do you have an antutu score?

---------- Post added at 01:59 AM ---------- Previous post was at 01:18 AM ----------

So im definately getting overall speed throughout the whole phone. I love it.
[T-Mobile Samsung Galaxy S 4] Greg1964:
What should I set my min and max kernel speed at?this is like a high tech kernel buddy pretty damn awesome.

Sent from my SGH-M919
[T-Mobile Samsung Galaxy S 4] MrHomebrew:
Report back as soon as you can.

Not being able to use my 64gb SD card has prevented me from using a new kernel. If I have not installed due to no exfat compatibility there are thousands more out there waiting for the same things
[T-Mobile Samsung Galaxy S 4] joemagistro:
Correct me if im wrong, but due to the kthermal throttle, you can run full oc at 2.3 ghz with no issues because once it hits the temp of the throttle, itll kick the speed back down so it doesn't overheat.

This will give you lower benchmarks then stock because it will drop the cpu speed, which really means nothing because it will make your phone lightning at fast tasks and with really cpu hungry tasks it will throttle you down to a safe range.. This isn't good for benchmark junkies, but awesome for USING your phones.

Does that sound right?

KT im glad you got the bugs out and you're doing a fantastic job for somebody who can't even use the kernel on his own device! Btw wtf is the deal?! Verizons is out, there's a big cash pot for unlocking the bootloader, and yet the exploit isn't out yet? Kinda doesn't make sense
[T-Mobile Samsung Galaxy S 4] nitrogen618:
On other kernel they have a option to turn off thermal throttle. Is there a way to implament this? How hot do you think these chip could go?
[T-Mobile Samsung Galaxy S 4] joemagistro:
I guess my assumption was wrong... 2.3 just hotbooted me
[T-Mobile Samsung Galaxy S 4] nitrogen618:
I upped the thermal limit to 100c. However when benchmarking I only hit like 80c.. but its still throttling..?
[T-Mobile Samsung Galaxy S 4] elesbb:
Hot boots are more caused my the ROM. Usually a system service does something that doesn't make sense to it. Hard reboots are usually kernel related.

You really wanna destroy your device don't you? Stick it in the refrigerator for 5 minutes then run your benchmark if you're really that concerned about scored. -.-
[T-Mobile Samsung Galaxy S 4] hurtz777:
Hey Ktoonez are you able to whip up ballz ass AOSP kernel and does Trinity colors actually work with the S4? I ran your TW kernel on Wicked V2 and it was badass like always! I can't wait until you add your Ktoonservative governor. I am an AOSP freak and Slim Bean v5.4 is rock solid and feels faster then Touchgiz and of course has no bloat and it would kick ass to throw your AOSP Ktoonez kernel on top of it! Thanks for all your hard work hacker dude!
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Not yet, been getting everything in to TW and then I will merge it into AOSP version since all my testers are TJ'rs.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Just turn up the "start" and "stop" in "Kthermal" screen under "Extras" will disable it.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Thanks man, and your statement is correct. Yes thousands of people have there Verizon phone and still no release. Only thing left really is is that maybe he is trying to get rid of that Samsung Custom Splash screen or is not gonna release it.
[T-Mobile Samsung Galaxy S 4] nitrogen618:
The thing is that.. I set thermal throttle at 110c.. but when benchmarking my device never reaches there..
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Make sure you set the "Start" value first, then do the "Stop". Have u install PerfMon app so you can see if it is throttling?
[T-Mobile Samsung Galaxy S 4] dannyyyyy:
Ktoonz what governor do you recommend that I use for ui smoothness?
[T-Mobile Samsung Galaxy S 4] dragon-son:
Just tried out CM and found the setting for vibration, and was able to change it up and down. Was able to feel the change. Restored nandroid back to wicked v2 with your kernel, and not able to feel the vibration changes. Still willing to keep trying.
[T-Mobile Samsung Galaxy S 4] ccoop769:
Send me a pm if u want aosp tester. Been running aosp for years and ran your kernel on my s3's. Been testing chronic kernel but just can't get the feel for it on my phone
[T-Mobile Samsung Galaxy S 4] ktoonsez:
I guess Touchjizz is blocking and overriding it with its own setting. Ill see if I can figure it out, gonna be hard though since I cant use the kernel.
[T-Mobile Samsung Galaxy S 4] RonDigital828:
I cant download it toonz. But ill wait till u get the kinks out
[T-Mobile Samsung Galaxy S 4] Greg1964:
Whats a good speed to set ghis kernel at.and what are good settings to get thr governors, etc at. Thanks
[T-Mobile Samsung Galaxy S 4] mamba720027:
Thanks for adding the new features to lock the cores online :) . But how do we disable each of the cores mention above to stay offline?
[T-Mobile Samsung Galaxy S 4] PENKO956:
aren't they offline by default. isn't this just if you want to have cores stay online when hotplugging
[T-Mobile Samsung Galaxy S 4] ktoonsez:
It was meant to lock them on not lock them off. I would have to add a bunch more code to do that
[T-Mobile Samsung Galaxy S 4] mamba720027:
Ok kewl, looking forward to try it and see how it does on battery after being able to lock them offline :)
[T-Mobile Samsung Galaxy S 4] ktoonsez:
What I'll probably do is this:

0 will be for normal hot plugging

1 will be lock them ON full time

2 will be lock them OFF full time
[T-Mobile Samsung Galaxy S 4] mamba720027:
Sounds simple enough instead of adding 3 more options to lock off.
[T-Mobile Samsung Galaxy S 4] Linkmeup82:
Smart Screen Not Working WICKEDv4 Stock Settings

I noticed Smart Screen is still not working. Gestures are working however. I attached the last kmsg for your viewing in case it helps. Thanks!

http://db.tt/HMdQG5SP
[T-Mobile Samsung Galaxy S 4] ktoonsez:
It will never work on that old firmware, this has been covered many times in all my threads.
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
Go back to version 6/10
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Just added this to the code, it will be in next release :good:
[T-Mobile Samsung Galaxy S 4] Linkmeup82:
May I please have a link to your thread that covers this? I have been searching for awhile and your FAQ page just has your settings listed. I went to your AT&T page and couldn't find it anywhere. I read the whole OP and when I search this thread, only my original post shows up. Is Smart Screen not the correct terminology? Thanks for your help.
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
It's in this thread! We have old firmware compared to the newer versions of this kernel and compared to the other models. Ours is below MF4, so download the 6/10 version since MF4 was introduced in version 6/17
[T-Mobile Samsung Galaxy S 4] gr33nzpoint:
The latest TW kernel does not let me mount my phone to my computer. The previous 7-2-2013 build did. I've tested this 3 times.
[T-Mobile Samsung Galaxy S 4] Tunasty:
Really? Did you really search the thread? It took me a minute to find these quotes.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Here is a few links from this thread, just from the first search page from oldest to newest:

http://xdaforums.com/showthread.php?p=42721043&highlight=smart+stay#post42721043

http://xdaforums.com/showthread.php?p=42721445&highlight=smart+stay#post42721445

http://xdaforums.com/showthread.php?p=43218020&highlight=smart+stay#post43218020

http://xdaforums.com/showthread.php?p=43218517&highlight=smart+stay#post43218517

http://xdaforums.com/showthread.php?p=43219025&highlight=smart+stay#post43219025

http://xdaforums.com/showthread.php?p=43221832&highlight=smart+stay#post43221832

http://xdaforums.com/showthread.php?p=43222457&highlight=smart+stay#post43222457

http://xdaforums.com/showthread.php?p=43283045&highlight=smart+stay#post43283045

http://xdaforums.com/showthread.php?p=43283595&highlight=smart+stay#post43283595

http://xdaforums.com/showthread.php?p=43283996&highlight=smart+stay#post43283996

EDIT:

Someone beat me too it, so look up one post too :good:
[T-Mobile Samsung Galaxy S 4] Linkmeup82:
Lol. Wow. Thanks for your help. I was searching for "Smart Screen" (without the quotations) and couldn't get anything. I even searched Google, the FAQ, and the OP. I guess I should have tried "Smart Stay" or "Smart Scroll" or better yet, read every single page in the thread until I found it. Thanks again.
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
A few lol
[T-Mobile Samsung Galaxy S 4] Linkmeup82:
I wasn't trying to troll. Just trying to get some help. I figured this would be in your OP or in your FAQ. I was searching for Smart Screen and not smart stay or smart scroll since these options are located under Smart Screen. I guess I should have read the whole thread since it never dawned on me to search smart stay or smart scroll. Thanks again for the info.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Think Im gonna have to put in the OP (unfortunately 95% of the other people out there dont read the OP anyway, they just find the first download link and click and flash, lol), I just figured the title gave it away on the firmware revision.

Can anybody out there give me a good sentence that says what minimum firmware people must have to have those 2 features work?
[T-Mobile Samsung Galaxy S 4] stevessvt:
Also consider a link in the op to the last version that does support those features, for those who would like to chose that option.....
[T-Mobile Samsung Galaxy S 4] chenxiaolong:
How about "Smart stay and smart scroll on pre-MF4 TouchWiz ROMs require the 2013-06-10 TW build."
[T-Mobile Samsung Galaxy S 4] gaww:
I want to try Omega 1 4.3 base and am wondering which (TW or AOSP) I should try. I was thinking AOSP but was wondering if anyone had gotten it working and with which one.
[T-Mobile Samsung Galaxy S 4] Tankrat:
According to what I read in the op of the omega 4.2.2 thread it is a TW rom.

http://xdaforums.com/showthread.php?p=40243561
[T-Mobile Samsung Galaxy S 4] chenxiaolong:
Actually, it's this ROM: http://xdaforums.com/showthread.php?t=2253528

Since it's built from the Android 4.3 leak,

custom kernels will not work.
[T-Mobile Samsung Galaxy S 4] gaww:
If that is the case, will it work on US TMO at all ?
[T-Mobile Samsung Galaxy S 4] trueking7:
7/2 TMO Ktoonez to I9505 Audism v4 back to 7/7 Ktoonez with updated settings : GOOD

... ACTUALLY GREAT AS IN BETTER THAN MY WILDEST DREAMS

Sent from my Rogers Galaxy S4 (SGH-I337M) running Omega v7 with Ktoonez TMO kernel
[T-Mobile Samsung Galaxy S 4] Miami8906:
Yes it works on tmo s4
[T-Mobile Samsung Galaxy S 4] gaww:
I thought it was necessary to use a specific TMo kernel for WiFi to work - that is why I used 7/2 KT TW on Omega 7.0.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Thanks man, added to the OP.
[T-Mobile Samsung Galaxy S 4] tikay00:
Wow. Same exact sequence as me. Lol. Audism might have good antutu numbers, but man, it lags and stutters like crazy.
[T-Mobile Samsung Galaxy S 4] chenxiaolong:
Yes, I've personally tested it :)
[T-Mobile Samsung Galaxy S 4] mike216:
Sorry guys I did try and find but couldn't find what touch boost means?

Edit. Never mind I found it

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] mamba720027:
Its the cpu frequency that is used when you touch the screen,like swipeing etc. Supposed to help make things more responsive and smooth.

extra,

it also uses a minor or could be noticeable amout of battery power to do this,higher the frequency the more it uses. I think its best to leave on as it is :)
[T-Mobile Samsung Galaxy S 4] mike216:
I see 0 is for normal hot plugging, 1 locks them on all the time (probably better for performance but a hit on battery), 2 locks them off (better on battery but performance takes a hit)

Is that correct? Is there a problem with the way the CPU behaves or is this just giving me user control over there device?

Thanks Kt!

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] mamba720027:
The option "2" is not available yet to lock the selected cores of choise offline. Probably in next update. Yes this is to give users the ability to control the cpu hotplugging in various circumstances. Such as u can turn off cores 3 and 4 when doing regular activities like reading,listening music etc. While for gameing and depends on what game or other high intensity cpu app,you may wanna use 3 or 4 cores. So this option to manually turn cores on and off should somewhat help conserve on battery :)

And yes youre right about the other questions.
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
What are other settings that decrease the battery?
[T-Mobile Samsung Galaxy S 4] mike216:
The kernel is great on boot without adjusting anything if your worried about having bad battery :)

SGH-M919_Omega, the end result

---------- Post added at 07:13 AM ---------- Previous post was at 06:59 AM ----------

This one is running cool on touchwizzer KT. Played some intense gaming and in the very low 41C! Your amazing champ!

Thanks and goodnight

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] mamba720027:
The settings are good,the only thing else you can do to prolong the battery performance is useing lower brightness for the screen. I use an app "lux autobrightness" to configure how bright the screen should be on auto. Another thing is to turn off syncing of unnecessary app when screen off. The only thing I have sync enable for is Google contacts and calender cause that is important for me and I use alot. Another thing is to use the "greenify" app found in the market place to control apps from wakeingup when screen is off.

I find Ktoonservativeq is the best governor with this kernel to use at the moment especially wance the abilty to turn off cores is added. That will be a big plus to anyone trying to conserve on battery performance. Then You can create 2 profiles in Ktweaker,one for performance and other aim to conserve on battery and save them to quickly switch and use depending on your usage pattern for that day :)

Yes and with the configuration in the OP its also good.
[T-Mobile Samsung Galaxy S 4] Orical:
Have you tried Battery Guru from the playstore it's made by Qualcomm, it takes a couple of days to learn how you use your phone then it makes the adjustments to control apps and CPU functionality without a lot of headache.
[T-Mobile Samsung Galaxy S 4] mamba720027:
Have not tried that and thanks for the suggestion :)
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
Thanks :) can you help me with making profiles to conserve battery and for performance?
[T-Mobile Samsung Galaxy S 4] mike216:
Please read this thread if your not blowing away 4+ hours of screen on time! It was my problem

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

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
I barley blow 3+ hours of screen on time :confused:
[T-Mobile Samsung Galaxy S 4] mamba720027:
hummm, well the default Ktoonservativeq plus row scheduler is best on battery as it is with cpu min 189mhz or lower if voltage difference is great and max 1890 plus -75 volt across cpu, GPU 320. Also have screen off GPU 200mhz, screen off freq and Bluetooth to 702mhz. In rom turn power saver on except for cpu. If ability to turn off cores was available I would had 2 cores online. The configuration in the OP is good too on battery.

For performance I just set cpu max speed to 2052mhz min 189mhz,GPU 504mhz. Disable rom power save features and everything mentioned above I leave as is with all 4 cores available to switch online.

This the most I ever got but this was on cm 10.1 and im never going back to that since I need most the features in TW rom and what's the point haveing such a great device minus its core features :)
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
:laugh::) thanks I'll try these settings tomorrow! See if I see improvements
[T-Mobile Samsung Galaxy S 4] mike216:
Hey mambo you think row is better on battery? From some of the reading I did it seems that noop is the best for battery?

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] mamba720027:
It could vary with usage and other things, like on my galaxy s3 sio was good on battery but on the galaxy s4 I find Row combine with my settings to work great on battery.
[T-Mobile Samsung Galaxy S 4] mike216:
So you can say with confidence that you actually see better idle time with screen off profiles? Thanks

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] mamba720027:
Yes with screen off profiles on I would get better idle time.
[T-Mobile Samsung Galaxy S 4] blakeslee14:
Finally got this kernel working with wicked v4. And it flies! Best kernel I have used so far. Keep up the good work.
[T-Mobile Samsung Galaxy S 4] mamba720027:
This my run to and from work with the new updated kernel doing light and heavy tasks. Not sure if that new feature mentioned in change log made a difference or if its cause I readjust how bright the screen should be useing lux auto brightness and other screen tweak in ktweaker but this is first time im getting such battery performance on touch wiz rom. Usually I would barely make it around 5 hours screen :)
[T-Mobile Samsung Galaxy S 4] blacklabel2020:
Can you please post the settings you are using for the kernel
[T-Mobile Samsung Galaxy S 4] mike216:
I know bro. It's to early for me to tell but so far battery life seems better. I got slightly better idle time last night and screen on drain is crazy good. Don't know if it's the updated kernel or KT suggested settings I also tried last night. All in all its pretty amazing. I was extremely happy where I was at before. Now it seems to be even better when I thought it wasn't going to be possible.

KT is a beast :thumbup:

SGH-M919_Omega, the end result

---------- Post added at 06:22 PM ---------- Previous post was at 06:18 PM ----------

There posted one page back ;)

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] mamba720027:
I quoted myself from prrvious page of settings I use below. I was on the performance configuration and had power saveing feature for screen and heptic feedback turned on within rom. Also in "ktweaker/extras/mdnie section" for mdnie scenario I use "ebook mode".

And I used the free lux auto brightness app to tone down the min auto brightness because im in places with not very bright light as outside and it saves screen power. You may also wanna get the "greenify app" from playstore to prevent apps from wakeing and running in background while the screen is off which helps save in standby time.

Thats true,it does seem to drain less than before :)
[T-Mobile Samsung Galaxy S 4] KERKEDAGAIN:
Gotta agree!! I use gsam battery monitor to track %/min on most kernels and the last kernel would be around 4% in 20 minutes idle. The latest kernel has me at 2% in 30 minutes. Continually great stuff!!
[T-Mobile Samsung Galaxy S 4] Romcrazguy:
i downloaded the 6/10 kernel however i noticed when i am charging the phone isn;t going into deepsleep , when i take it off the charge it goes to deep sleep ..is this normal ?
[T-Mobile Samsung Galaxy S 4] mamba720027:
Make sure in "settings/developer options" you dont have "stay awake" enable. Also the phone wont enter deep sleep while charging,it enters idle mode and throttles the cpu to the lowest frequency.

Deep sleep is when the device is totally hybernated and goes into one of its C-States rangeing from 0-3 the higher the number the deeper the sleep state and less power in the circuit. The device may take a few seconds to reawake when turn on as it goes into deeper sleep. So for some of you wondering why your screen takes slightly longer to turn on at times,this should explain.
[T-Mobile Samsung Galaxy S 4] Romcrazguy:
While using wifi the connection drops every couple ot minutes then immediately reconnects so I devided to try another kernel for testing purposes and it did not do it ...anyone having this issue
[T-Mobile Samsung Galaxy S 4] mamba720027:
You could try doing the following:

Open dialer

Enter *#0011#

Press touchpad menu button

Choose wifi

toggle the wifi power save from on to off.
[T-Mobile Samsung Galaxy S 4] Romcrazguy:
No dice... just disconnected :mad:

Are people using 6/10 on the w habing the same problem
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
Nope, not for me
[T-Mobile Samsung Galaxy S 4] mamba720027:
Ok ,make sure u forget the wifi giveing the problem then reconnect after u try the above steps. So far I haven't had wifi issues on the older version or new update and im usually connect to it for the most part at home.

If nothing works, try get a Dmesg log for ktoosez to check whats causeing it.

Use terminal emulator app and enter without quotation " dmesg > /sdcard/dmesg.txt" to generate a log saved in the above location to sd card.
[T-Mobile Samsung Galaxy S 4] force70:
Stock kernel has.pretty much no.thermal throttling,kts is way better which would explain your benchmark scores. You can adjust this, can't remmeber exactly how..do.a quick.search and you should ha e your answer.
[T-Mobile Samsung Galaxy S 4] Romcrazguy:
Mamba you rock dude ...It worked !!! I just had to reconnect
[T-Mobile Samsung Galaxy S 4] mamba720027:
:D Glad to hear you got it working :thumbup: