KT-SGS4 [Kernel] Builds [Discussion] ◆ALL VARIANTS◆ [AOSP/TW/GE] ★KTWEAKER SHOP★

Search This thread

LuigiBull23

Senior Member
Jan 22, 2013
6,666
6,307
33
Holyoke
I wanted to try this out, as I've been having lag issues with the keyboard. I don't see "boost_block_cycles" under keyboard options, do you mean "boost_hold_cycles"? Also, any other parameters you might think would be useful to change here? Even if it would be a little overkill, I'd rather that than have the issues I've been having with my keyboard :p.

Yes, it should be " boost_hold_cycles". Here's a few more you can set that should help with performance.

block_cycles_offline_screen_on = 22
block_cycles_raise_screen_on = 1
lockout_2nd_core_hotplug_screen_on = 1
sampling_rate = 15000
 
  • Like
Reactions: vadyr56

EuEra

Senior Member
Jan 5, 2015
197
42
OK so on all profiles i have used the auio playback is very glitchy, some worse than others. I'm guessing this is because when the screen is off the processor is limited to save power. Now i know there is a setting in KTweaker that you change from a 0 to a 1 and it completely elimantes the problem, i think this basically stops it from limiting the cpu when audio is playing. This however makes my battery drain how it always has, is there a way of fixing this while still make good battery gains.
 

LuigiBull23

Senior Member
Jan 22, 2013
6,666
6,307
33
Holyoke
OK so on all profiles i have used the auio playback is very glitchy, some worse than others. I'm guessing this is because when the screen is off the processor is limited to save power. Now i know there is a setting in KTweaker that you change from a 0 to a 1 and it completely elimantes the problem, i think this basically stops it from limiting the cpu when audio is playing. This however makes my battery drain how it always has, is there a way of fixing this while still make good battery gains.

Maybe try locking 2 to 3 cores online when the screen is off and see if that helps.
 
  • Like
Reactions: mamba720027

ssgferrell

Member
Feb 16, 2012
13
0
I really feel like a dweeb

Post #8 is dedicated to Scripts that will be used with some profiles. I also added a section for current test profiles and old test/experimental profiles.

[[Quick information]]
These scripts will either control CPU Cores 2,3,4 or all 3 and are only intended to work with the Ktoonservativeq governor. They may bring performance improvements or battery improvements based on the script governor parameters and how well they function for each user's daily activities.



[[#Ktweaker Script Guide#]]

First I want to thank KT aka Ktoonsez for provideing us with his kernel and all the wonderfull features and options at our disposal to tweak and make all these profiles and script possible. Also for implementing the Ktweaker Shop into his Ktweaker app so that it would be more convenient and easy for users to utilize these custom profiles and script as to maximize users experience.

I also want to thank Luigi for letting me join his band of misfits and being part of the Shop community. This opportunity have help me to use my potential to provide profiles and scripts that users have come to enjoy and help further in the thread.

Also thanks to everyone else that is actively supporting in the thread, some that are working behind the scene to help provide improvements and better experience for everyone. Big thanks.


::#Beginning of Guide#::


[[ Script Download Section]]

Dead by April V2.2 Script


Dead by April V3 Script


Balanced Bull Reloaded Script


Smooth Operator V3 Scripts


Smooth Operator Infinity


Hydra script


Stardust Script


Undisputed 3 Script


Crimson Dragon V2 Script


Sleeping Dragon Quad- Core Script


Day Break V2 Script


Day Light V2 Script


Lateralus Script


SRV V2 Script



3hands Script


●Ragnarok Script ●


[[Experimental Profiles]]
This section all old or new test and experimental profiles will be deposited and accessed by anyone to try or test and provide feedback by PM to the respective profile creators.

New Test and Experimental

Old Test and Experimental


This section covers preset scripts geared to help save battery and deliver performance on almost any available profile with or without an available script. These scripts also give users the ability to mix and match profiles with a wider variety of scripts of their own choosing which in-turn delivers the result they desire.
It is very important to read the description of each scripts before trying one as they contain important information to help have a successful experience.

Profiles not mention in the recommended list of each scripts are still ok to be used with any of the scripts providing you read the description before proceeding . Scripts marked with a ES (Energy Saveing) symbol means dureing my test run doing medium/heavy usage i was able to achieve screen usage times of 5 hours and higher. This does not guarantee same results for users but a guideline to follow and try.


General Battery Saveing Scripts Presets


*Conservative Preset 1


*Conservative Preset 2


*Conservative Preset 3


Conservative Preset 3 V2



*Conservative Preset 4


*Conservative Preset 5


*Conservative Preset 6



General Performance Scripts Presets

*Performance Preset 1


*Performance Preset 2


*Performance Preset 3


*Performance Preset 4


*Performance Preset 5


Performance Preset 6

~~Screen Brightness Adjustments To Save Power~~

=[[Lux Autobrightness]]=

I use the app Lux Autobrightness to set the screen brightness of my device. I find it helps to miminize power consumption used by the screen and taught of shareing my profile.

To use this profile just download it from the provided link below. Be sure to backup your current LUX profile settings. Useing a file manager,navigate to the "Lux" folder on your internal storage and rename your current profile to "lux_profiles.bak". Then move the downloaded profile to your "Lux Folder" and restore it from within the Lux app.

You may want to set your method of backlight adjustment to "ON WAKE" as i have or leave it to your own desire preference as their are 4 to choose from which can be found by running the Lux App settings wizard or by going into settings/brightness and chooseing one of the 4 prefered method of backlight adjustment.

Lux Autobrightness Profile 1 Download


Lux Autobrightness Profile 2 Download
.

Lux Autobrightness Profile 3 Download


TIP
To help lower the screen power consumption along with the lux profile,leave the "Screen Power Saveing" mode feature turned on in your Rom power saveing mode section.

ok, I have the verizon s4 running Hyerdrive RLS19. I followed the steps that are listed here for first choosing a script (Balanced Bull Reloaded) . It came up green to show that it will load on the next boot. I then chose Balanced Bull Reloaded profile. Rebooted my phone and allowed it to charge to 100%. I am still getting crappy battery life. I do have Greenify on my phone and damn near everything is under "Hibernate".

What could be the culprit to the crappy battery life?

Thanks,

ssgferrell
 

mamba720027

Senior Member
Sep 24, 2010
1,825
2,884
ok, I have the verizon s4 running Hyerdrive RLS19. I followed the steps that are listed here for first choosing a script (Balanced Bull Reloaded) . It came up green to show that it will load on the next boot. I then chose Balanced Bull Reloaded profile. Rebooted my phone and allowed it to charge to 100%. I am still getting crappy battery life. I do have Greenify on my phone and damn near everything is under "Hibernate".

What could be the culprit to the crappy battery life?

Thanks,

ssgferrell

Ok, I can't say 100% what is causing it but some of the things could be relating to the quality of chip in your device, some better than others meaning better heat management due to being able to handle Undervolting in that department.

Also a big factor would be apps consuming battery in the background unnecessary and the existence of long or frequent wakelocks. For this I recommend have a look with "betterbatterystats" . I'm using a module "Amplify" it takes care of all unnecessary wakelocks and turns off services that are safe to do so and help extend battery usage especially when not using the device. Also cuts the manual workarounds of guides posted allowing you to do the same thing with ease. Recommend getting the pro version.

Alas, to conserve that battery dispite my first paragraph. I recommend underclocking or find a profile thats underclocked the cpu like 3 bumps lower. If you not a powerhouse user then try profile "green" with script.

Profile
https://www.dropbox.com/s/likzllhl7pngo5n/Green Quad-Core.xml?dl=0

Script
https://www.dropbox.com/s/bgkoy9mcw7a4gai/Green Conservative Script Quad Core?dl=0
 

Attachments

  • 1422584202996.jpg
    1422584202996.jpg
    44.4 KB · Views: 580
Last edited:

ssgferrell

Member
Feb 16, 2012
13
0
Ok, I can't say 100% what is causing it but some of the things could be relating to the quality of chip in your device, some better than others meaning better heat management due to being able to handle Undervolting in that department.

Also a big factor would be apps consuming battery in the background unnecessary and the existence of long or frequent wakelocks. For this I recommend have a look with "betterbatterystats" . I'm using a module "Amplify" it takes care of all unnecessary wakelocks and turns off services that are safe to do so and help extend battery usage especially when not using the device. Also cuts the manual workarounds of guides posted allowing you to do the same thing with ease. Recommend getting the pro version.

Alas, to conserve that battery dispite my first paragraph. I recommend underclocking or find a profile thats underclocked the cpu like 3 bumps lower. If you not a powerhouse user then try profile "green" with script.

Profile
https://www.dropbox.com/s/likzllhl7...4gai/Green Conservative Script Quad Core?dl=0

Thx mamba720027!!! I downloaded amplify. I also downloaded the profile and the script you recommended. what specific settings should I use with amplify?
 

tanay97

Member
Jan 24, 2015
13
1
I was looking for Double Tap lock and unlock of screen like G2/G3, i installed the international version of this kernel as i have S4 I9500 (TW 4.4.2).
But it couldn't helped me :( , Can anyonehelp me?
 

mikecantreed

Senior Member
Nov 10, 2012
571
452
Back to Toonz' kernel after a long time away. Can anyone recommend a good profile/script setup for AOSP 5.0. I'm flying through my battery with ktoonsified v6 with no real significant wakelocks. Thanks!
 

3mel

Senior Member
Aug 23, 2012
1,973
647
London
I'm looking for help in getting the ktgaming profile to produce less heat. I'm hooked on shadowgun deadzone and ktgaming is the only profile that really delivers the smoothness I want, but it also gets so hot that you don't want to hold the phone at the camera end.
this can't be good for the battery so I want any help or suggestions that stand a chance of running cooler while not taking too much away from the performance. by myself I have next to no clue about any of this stuff...

shadowgun dZ really should be a benchmark for Android performance...
 
Last edited:

mamba720027

Senior Member
Sep 24, 2010
1,825
2,884
I'm looking for help in getting the ktgaming profile to produce less heat. I'm hooked on shadowgun deadzone and ktgaming is the only profile that really delivers the smoothness I want, but it also gets so hot that you don't want to hold the phone at the camera end.
this can't be good for the battery so I want any help or suggestions that stand a chance of running cooler while not taking too much away from the performance. by myself I have next to no clue about any of this stuff...

shadowgun dZ really should be a benchmark for Android performance...

A few things you can try. Before you proceed know that with any device over-clocking will generate more heat. Ambient temperature will affect how cool your device stays. Needless to say if you are in a hot vs cold room or a room above comfort temperature of 72 degrees Fahrenheit expect slower heat reduction. The profile is set to maintain thermal throttling which reduces cpu max speed when temperature too high for safety and stability but can only do as much in the describe environment.

On to recommendations.
Alright first i know performance is a must but remember your CPU was design to operate at* a max clock speed of 1890mhz while its bumped up too 1998mhz which is not bad but not all device is the same.

>>

I advice reducing the max clock speed to 1782 or one step lower and reducing the min cpu speed to 486mhz. This may affect performance slightly but may also help with the heat dispension.

Also disable "sync extra cores screen On". This feature helps in performance with the tweaking KT made in regulating the other 3 cores operating at same clock speeds speeding up tasks. In your case turning it off may allow those cores to operate at lower speed when not needed which will help reduce heat because of less power consumption.

I think those two things are your best bet on adjusting while staying on KT-Gaming profile without swaying too much from its purpose as a gaming profile.

Their are other performance profiles in the K-Tweaker Shop and in OP that you can also experiment with using for a few days and see how well they compare if nothing else works. Keep in mind the heat will not damage your camera or components in phone. Just don't have it plugged in on the charger while doing gaming cause then that's not good.
 

PhrostB

Senior Member
Nov 22, 2011
541
87
Baltimore, MD
Hi guys. I could use some advice.. I've always been a CM user.. currently on CM12.1 with standard kernel, however, I have a problem and I'm looking for a solution. I get decent battery time most of the time.. unless I'm running the Uber Partner app. My battery dies even while charging in the car.. today I drove for 8 hours then had to head home cuz my battery died. So, I started thinking about changing the kernel and trying again (maybe something with fast charge? although I'm not sure how that works honestly).

So I figured I'd try the KT kernel. I downloaded the latest build KT-SGS4-LPS5.1-AOSP-INTL-04.06.2015.zip from here http://xdaforums.com/showthread.php?t=2289140&page=324 then I did wipe dalvik/cache and fix permissions and got a System UI crash immediately. Now, I'm going back to stock CM12.1 kernel... anyone have any advice?
 
Last edited:

mamba720027

Senior Member
Sep 24, 2010
1,825
2,884
Hi guys. I could use some advice.. I've always been a CM user.. currently on CM12.1 with standard kernel, however, I have a problem and I'm looking for a solution. I get decent battery time most of the time.. unless I'm running the Uber Partner app. My battery dies even while charging in the car.. today I drove for 8 hours then had to head home cuz my battery died. So, I started thinking about changing the kernel and trying again (maybe something with fast charge? although I'm not sure how that works honestly).

So I figured I'd try the KT kernel. I downloaded the latest build KT-SGS4-LPS5.1-AOSP-INTL-04.06.2015.zip from here http://xdaforums.com/showthread.php?t=2289140&page=324 then I did wipe dalvik/cache and fix permissions and got a System UI crash immediately. Now, I'm going back to stock CM12.1 kernel... anyone have any advice?

Ok seems you're looking to pro-long your battery life where you already have decent battery performance but due to the high power demand of "uber partner app" you can't get threw your daily routine even while charging.

Having it plug in while using the app won't help it charge faster nor using fast charge because the principle involving battery cells won't allow it. If anything your battery will go from warm to hot damaging the battery overtime because some of the cells will simply loose its charge or potential to hold a charge.

I recommend trying Franco "Per-App Modes" app which is found in the playstore. It will allow you to control how the CPU performs such as setting CPU clock speeds for the app you mention among controlling other things which may reduce power consumption and pro-long battery further.
Last resort you can get a second battery or if you want to avoid the hassle of swapping and don't mind the bulge go for an extended battery. It will get you threw the day.
 
Last edited:
  • Like
Reactions: 1Raiders

PhrostB

Senior Member
Nov 22, 2011
541
87
Baltimore, MD
Ok seems you're looking to pro-long your battery life where you already have decent battery performance but due to the high power demand of "uber partner app" you can't get threw your daily routine even while charging.

Having it plug in while using the app won't help it charge faster nor using fast charge because the principle involving battery cells won't allow it. If anything your battery will go from warm to hot damaging the battery overtime because some of the cells will simply loose its charge or potential to hold a charge.

I recommend trying Franco "Per-App Modes" app which is found in the playstore. It will allow you to control how the CPU performs such as setting CPU clock speeds for the app you mention among controlling other things which may reduce power consumption and pro-long battery further.
Last resort you can get a second battery or if you want to avoid the hassle of swapping and don't mind the bulge go for an extended battery. It will get you threw the day.

thanks for the advice. I think i found a reasonable work-around. see I drive a minivan that has a power outlet in the back, so today I decided to rig up an extension cord that runs under my carpet to the front of the car where i have a regular charger (not microusb -> usb) plugged in. I still lose battery but much less than with the old usb -> power charger.
 

mamba720027

Senior Member
Sep 24, 2010
1,825
2,884
thanks for the advice. I think i found a reasonable work-around. see I drive a minivan that has a power outlet in the back, so today I decided to rig up an extension cord that runs under my carpet to the front of the car where i have a regular charger (not microusb -> usb) plugged in. I still lose battery but much less than with the old usb -> power charger.

Great!!:thumbup: glad you had that sorted out :)
 

3mel

Senior Member
Aug 23, 2012
1,973
647
London
I'm looking for help in getting the ktgaming profile to produce less heat. I'm hooked on shadowgun deadzone and ktgaming is the only profile that really delivers the smoothness I want, but it also gets so hot that you don't want to hold the phone at the camera end.
this can't be good for the battery so I want any help or suggestions that stand a chance of running cooler while not taking too much away from the performance. by myself I have next to no clue about any of this stuff...

shadowgun dZ really should be a benchmark for Android performance...

been tinkering with regard to getting the performance needed not to suck at SGDZ without the heat of ktgaming, I came up with an edited version of feed the machine v2 with just the main settings changed and a switch to userspace governor. so far it's been like butter so I thought I'd share it
 
I got the stuttering audio problem fixed on the Galaxy S4 M919 TMobile. It should work on the other ones too.

It would stutter with the screen off unless you go to the settings and re-tap on the governor you were using. This fix would last only until reboot which is a fix i found out how to do personally.

What I did was increased the "screen off mHz" to somewhere around 1,000 , set the "screen off governor" to a different one with higher performance (mine is "ondemand" with screen off set to "performance").
This also might help it to do the "re-tapping on the default governor being used after you reboot it" fix that I mentioned above. Not sure. It just sets the governor to a different one while the screen is off then sets it back again when you turn the screen on.
Also I read that changing the read-ahead values might help.
It all seems to be working now.
It was bugging me like crazy and I just had to post this. I know there are alot of people out there with a Galaxy S4 still and that love this kernel.
My IP/TCP congestion control is also set at "highspeed" .
 

Top Liked Posts

  • There are no posts matching your filters.
  • 82
    KT-SGS4 [Kernel] Builds [Discussion] ◆ALL VARIANTS◆ [AOSP/TW/GE] ★KTWEAKER SHOP★

    ALL CREDITS GO TO THE ONE AND ONLY KTOONSEZ FOR THIS AWESOME KERNEL AND GIVING ME THE OPPORTUNITY TO PROVIDE THESE BUILDS.​



    Welcome!

    Some of you may know me from the S3 forums but to clarify, I had offered a number of kernel builds for users to easily obtain all within a single thread. I am proud to say it has gained a significant amount of feedback. So I come to YOU today with the same purpose in mind. I am in no way affiliated with Ktoonsez or his work. I’m just a simple member of the XDA community who happens to be a huge supporter of this kernel and its creator. This is just my way of giving back. I am aware of some of the issues that may occur on updated builds for some users as well as the difficulties faced when fine tuning the kernel and this is my response to that:


    This is by no means intended to replace any of the original KT-SGS4 kernel threads. The purpose of this thread is simply to work in conjunction with them by providing a variety of builds for users to experiment with and see which versions function properly on each of their respective phone models. I'm also bringing to you my Ktweaker Shop filled with tons of pre-configured settings compiled by myself and others in attempt to further assist S4 users with improving their overall experiences on this device or to simply use as a baseline to work upon tweaking further. So I’ve gathered just about all of the current and previous kernel builds I had hidden within my pc as well as all the various Ktweaker settings and am sharing them with the public. I hope this makes a difference for all you guys. ENJOY!! :good:




    POST #2: Reserved for T-MOBILE users

    POST #3: Reserved for AT&T users

    POST #4: Reserved for SPRINT users

    POST #5: Reserved for VERIZON users

    POST #6: Reserved for INTERNATIONAL users

    POST #7: Reserved for the KTWEAKER SHOP

    POST #8: Reserved for SCRIPTS & TEST PROFILES




    No need for flashing previous builds to receive OTA's as all posts will be updated regularly upon future releases. So please be sure to refer back here for all builds from this point moving forward! :)



    Please make absolutely sure you are downloading from the post intended for your phone. Nor I or Ktoonsez will be held liable for anything that may occur to your device. So please...


    ***FLASH AT YOUR OWN RISK***



    "Smart stay and smart scroll on pre-MF4 TouchWiz ROMs require the 2013-06-10 TW build."



    Always do the following AFTER installing the kernel:
    1. Clear cache
    2. Clear dalvik
    3. Fix Permissions




    If you are manually UPDATING the kernel, follow my recommended procedure for best possible results:

    1) Backup current Ktweaker settings
    2) Navigate to Settengs > Apps > Ktweaker
    3) Clear cache and data then force stop
    4) {Optional} Open any root browser, mount as r/w, then navigate to /system/app/ and delete Ktweaker apk
    5) {Optional} Clear all Superuser logs
    6) Reboot Recovery
    7) Flash kernel
    8) Wipe cache/dalvik
    9) Fix permissions
    10) Reboot
    11) Restore Ktweaker settings
    12) Profit?



    If you get this message after booting up the kernel:
    "The device has detected an application attempting ..."
    Go to the "/system/app/" folder and delete the files that begin with "knox"












    NOTE: If at any point Ktoonsez no longer wants this thread open it will be closed without question.




    Please visit original kernel thread for change logs, extras, etc...
    If you like and support his work, donate with this link:
    http://xdaforums.com/donatetome.php?u=4325945
    55
    lNPPLuUEsF82


    Welcome to the Ktweaker Shop!

    Here you will find all of the pre-configured settings provided by myself and some of our fellow users. As a proud member of Team Kernelizers, I am offering a variety of profiles specifically for S4 users with their personal needs in mind as it's pretty clear no one favors the same governor, scheduler, etc.. Any suggestions are always welcome. All future settings will be added here for sharing and discussing our settings as well as gaining approval on a profile to be added into the built-in Shop in Ktweaker. Keep in mind that results will always vary per device regardless on the settings being used.

    All profiles have been grouped into 3 sub-categories; "Conservative", "Balanced", and "Performance", which are used to classify each profile based on their overall performance and what they are expected to deliver to your device. The 4th sub-group is where you can find some of our best "Projects" in which offers 2 or more profiles for each. Make your selections based on your usage and apply what works best for you and your phone. We're here to help eachother out and with more options comes better experiences for everyone running this kernel. Big thanks to ALL who have contributed!


    So shop around.. pick and choose.. load and go!!



    Installation

    Download links will include the specified profile(s) as well as an "Adjustments" and an "About" file. The "Adjustments" file is just for easy view of all the changes made to a profile compared to stock settings.

    1. Download the file(s) to your phone.
    2. Copy ONLY the XML(s) (DO NOT copy the "Adjustments" or "About" file) to /sdcard/KTweaker/Profiles folder using a file Manager of your choice.
    3. Open Ktweaker app and click on "Profiles & Scripts" then click "Restore Prefs from sdcard".
    4. The file you just copied should be listed there. Select the one you want to apply.
    5. After applying, make sure the "Set options on boot" setting on the main menu of KTweaker has a little green text bellow confirming that the settings will be applied upon reboot.
    6. Profit!




    Conservative


    Asking Alexandria

    This is a battery driven profile in which focuses on saving as much juice as possible while also maintaining stability and providing an extremely snappy feel to your phone. It is quite possibly one of the smoothest and snappiest battery saving profiles available.

    Why Asking Alexandria?
    It's named after yet another one of my top favorite metalcore bands and I chose this because Alexander The Great basically ruled the world at one point and "Alexandria" is the female equivalent to that name, which has become known to mean the "one who comes to save warriors".
    "Asking" was an addition to the title name as an indication in the sense that we are all asking Alexandria what she can really do to our phone.


    https://copy.com/kqIXuJ1N8LLh



    Bless The Child v3 (updated: 10~25~13)

    Based on Ktoonservateq and aimed towards battery. This is specifically for all the battery hungry users out there wanting to conserve as much power as possible. So don't expect the BEST but rather decent performance out of this one.

    https://copy.com/K1bNhNx6nFYd



    Dead By April v2.2 (updated: 11~15~13)

    This profile attempts to bring some of the best battery life possible to your device. It is similar to Bless The Child but takes things a step further . It now focuses more on snappiness but still maintains it's well known battery conservation. It manages to maintain a smooth ui for your average daily use.

    https://copy.com/J8lnimxbvwpF



    Infamous 1.0 by @PiggySmalls502

    Infamous is a work of pure and utter boredom, and a desire to use the SLP governor. Profile uses very low CPU frequencies, yet still runs very smooth, while still seeing great battery life.

    https://copy.com/qqCrRDZiZBNh



    Moonlight v3 by @Tunasty (updated: 2~12~14)

    This profile is based on Ktoonservateq and Mamba's Daylight profile. This profile is aimed towards battery and be able to use your phone without any lags. Performance has not been sacrificed either. Max Mhz is 1890 which works out pretty awesome. KT's AWESOMEEE kernel and Moonlight profile will make you fall in love with your phone ;)

    https://copy.com/yoLhPpe1QY0Q



    Smooth Criminal by @ORT14

    Why Smooth Criminal you ask? Simple, this profile will keep your phone running as Smooth as ever, so smooth that it is Criminal to still get this type of battery life. Last test my phone went over two days with six plus hours of screen time without a charge (see below) while still running super smooth. This profile will change your life (well maybe not). Give it a try and let me know what you think.

    https://copy.com/yQyI4ejR7uPE



    Super Battery Saver 3.0 by @MavereXx (updated: 10~7~13)

    This profile is not about performance, even though its surprisingly smooth. Gentle Undervolting.. your s4 now has only a 1.1ghz processor. .. but remember: This is when battery life is all you care about!

    https://copy.com/GKQ0OqDVociy



    What Lies Beneath

    This is an extreme battery performance setup in which essentially transforms your quad-core device into a dual core device.

    Why "What Lies Beneath"?
    You'll find that during light to moderate operations the cpu remains at lower frequencies for an extended period of time and will only jump to max when needed. Although it's clocked at a max of 1.3ghz it maintains a surprisingly smooth and snappy feel to your device at such low frequencies. This is where battery life is also expected to come in to play as well.


    https://copy.com/m0EnRGUpkEMp



    Balanced


    3hands by @sew3521

    This profile is a combination of my 3 favorite profiles; Ktoonsified v2, Project Icarus-Kamikaze, and Balanced Bull: Reloaded. Each of these 3 different profiles has great aspects however I thought I could combine them to make one super efficient profile and this is what I came up with. There is an extreme amount of undervolting going on here however my S4 runs extrmely stable (Sprint S4 purchased on release day) and thanks to the Balanced Bull and Ktoonsified portions of this the interface is very snappy.

    https://copy.com/wEHQOssGuSVw



    Balanced Bull: Reloaded v2 (updated: 4~17~14)

    These settings are very special to me as they were my very first, dating back to the Galaxy S3, and has gained an incredible amount of feedback. It has become notable for it's fairly smooth interface and amazing battery life. If this stacks up to your standards then I encourage you to use it!

    https://copy.com/4XbEpD6HRYx6Qzw



    Day Of Reckoning

    Very similar to Nightmare To Remember but is aimed slightly more towards battery without deteriorating much of the performance. It is based off the Pegasusq governor.

    https://copy.com/NkNqyUKjaudY



    ECLIPSE v2 (updated: 10~25~13)

    This is a performance oriented option where great battery life is also expected to intervene. This not only will bring an incredibly stable, smooth, and snappy feel to your device but will also benefit towards longer lasting battery so you can love and enjoy your phone the way you were meant to. :)

    https://copy.com/BDIln0KrVplK



    Hydra

    Eclipse and Kamikaze clash with one another in this hybrid profile (BIG thanks to @mamba720027 for the amazing work done on Kamikaze!). This is perfect for those who favor one or both of these profiles. With the merging of some of the essential performance and battery elements of each profile as well as a few minor adjustments, this one also stands as it's own profile and it flies!.

    https://copy.com/GuQZmkARaHKI



    Ktoonsified v6 (updated: 4~17~14)

    This profile was put together by none other than the BOSS himself, @ktoonsez! This is a performance oriented option in which also offers a great deal of battery life. Haven't tried these settings yet? then what are you waiting for!! Load em up and be prepared for one of the smoothest and snappiest experiences ever!

    https://copy.com/yJJgpIi40Ddp



    Lateralus v2 by @CamFlawless (updated: 1~15~14)

    This profile was designed in an attempt to strike a balance between battery and performance with a focus on conservative CPU scaling to maximize battery life while maintaining a smooth, fluid, and stable UI. I tested it with the Hydra script, but your personal favorite will work all the same.

    https://copy.com/H6bXpcr0bEJr



    Misanthrope by @CamFlawless

    The misanthrope profile seeks to optimize the balance between battery life and a smooth, lag-free UI by following the sampling logic laid out by LuigiBull23. By allowing frequent sampling and increased polling, the profile will result in the CPU being at the optimal frequency more often and quickly. Additionally, the hotplugging parameters should allow the secondary cores to come online when needed and quickly turned off following the boost. Misanthrope is named as such, because this profile hates lag and battery drain.

    https://copy.com/LljHyKj384rk



    Nightmare To Remember

    This will likely become your beautiful, never ending nightmare.. It offers a unique balance between battery and performance but unlike Balanced Bull, it is slightly more performance oriented due to the more aggressive scale up to max CPU. However, only 2 cores will be used for the majority of the time so you can still enjoy a nice buttery smooth interface with just enough juice to last you through the day. :)

    https://copy.com/VMFboPCy2CwU



    Ragnarok v2 by @mamba720027

    This profile is tweak with 2 things in mind. Normal usage and gameing.
    when doing normal tasks the governor would scale the frequency less aggressive and use minimum cores but would also climb to higher frequencys as required to complete a task depending on what apps you are useing.

    Gameing or other high intensity tasks will have all cores active and cpu will utalize max cpu frequency.This will provide smooth gameplay for games such as Asphalt 8 and of course other similar games that requires a powerfull processor to justify its awesomeness. So if you want a low profile setup for regular usage to conserve battery and high profile setup for gameing and other high performance demanding tasks and dont want to swap between two profiles then this profile configuration should work nicely in such a scenario.

    https://copy.com/rM3YflojYz9k



    SRV v3.1 by @s3icc0 (updated: 2~14~14)

    This profile focuses on excelent battery life with no restraints to performance but still keeping pretty conservative settings to allow all users to be able to use this profile (and script) without any problems. The Core 0 is driven by heavily tuned ktoonservativeq governor, ROW scheduler is used to maximize the read performance. The frequency used is 189Mhz - 1890MHz for CPU and max 450 for GPU, the voltages are -35mV for CPU and -50mV for GPU. There is no Screen Off profile. Vibrator strength is set to 50. Read Ahead is set to 1024. LED fade mode is set to slow blinking once a time.

    https://copy.com/77TRXloQfKRm



    Smooth Operator v5 by @mamba720027 (updated: 4~17~13)

    This profile utalize all 4 cores on demand and serves as being a balance between battery and performance. Its as smooth as possible and utalize the full cpu power while operateing sensibly in governor scaleing.

    https://copy.com/vmLLvFKhwwqV



    *Stardust v2* by @mamba720027 (updated: 12~7~13)

    This Profile I put together is based on the "AbyssplugV2" governor.
    Everything is tweaked and the profile can run by itself or either use the "smooth operator V2" Script or Luigi's "Hydra" Script.
    Both are found in Post#8 of the OP. The choice is yours.

    https://copy.com/EalqZpGb4Gnh



    Super Bull 2.1 by @MavereXx (updated: 9~24~13)

    A derivative of Balanced Bull but aiming towards more extreme polarity of performance and battery life. Stable Undervolting for i337, i337m, m919, and i9505 CPU and GPUs. Overclocks up to 1998mhz going all the way down to 81mhz without causing severe lag or stuttering or slow wake ups. Tries to find the right balance between ultimate performance and battery life.

    https://copy.com/Opsu7y1FLJx9



    Undisputed 3 (updated: 12~11~13)

    This is a universal performance setup in which combines the essential elements of other profiles by providing equal battery life, speed, performance, and stability to bring the ultimate experience to your device.

    https://copy.com/UFreCzB1Wcpt



    Performance


    Crimson Dragon v2.1 by @mamba720027 (updated: 1~8~14)

    This is a profile that i put together from a lost in the thread Dual Core profile "Lazy Dragon". What was suppose to be a V2 Update of it turned into a 4 Core profile and something totally new, Crimson Dragon. This profile is a variable of Performace and keeping things balance. Its very smooth on TW and produce great results on AOSP as well threw testing and feedback. Please enjoy this new addition :good:

    https://copy.com/QjuMNNyyucBD



    Feed The Machine

    The exact opposite of Bless the Child. This is a performance oriented option for all hardcore users. If battery isn't a priority for you then this is a great option.

    https://copy.com/oKLPQmmgzc1C



    Ghost Rider by @galaxys3man30

    this setup can benchmark on 1890,1944 and 1998 and its been really good on battery even thou its a performance setup think im going to call it ghost rider cuz its a sleeper yea it shows good battery life but behind that is the raw performance that is on demand when needed.

    https://copy.com/pKAMrciYgUFo



    KTGaming

    This profile was put together by none other than the BOSS himself, @ktoonsez! This is a super performance oriented option which allows me to play any game with ZERO LAG!!!!!!!

    https://copy.com/iJzItwZxSYlp



    Lightning Blade v2.2 by @mamba720027

    This profile is aimed at performance and efficiently uses the 4 cores somewhat better than my first performance base profile.Â
    Although it's aimed at performance it could conserve on battery as well because of the way cores are handled. If you play lots of games that require speed and processor power then this profile provides both.

    https://copy.com/zs89qlw4CQr2



    Notorious by @PiggySmalls502

    This is a derivative of Feed The Machine. Hotplugging was turned back on and I/O scheduler was switched to ZEN along with a few other minor changes to the profile. It's aimed towards slightly better battery life but doesn't deviate too much from the performance aspect of things found in the original profile.

    https://copy.com/Ip1PJtY7LCdI



    Overactive Imagination by @CamFlawless

    The profile aims to be as smoooooth as possible and draws inspiration from @LuigiBull23's Rebirthing profile.

    https://copy.com/YyyJat03RZMtH7o



    Projects


    Comatose

    This project was inspired by the album of the same name by my #1 favorite rock band of all time, Skillet. It consists of 3 profiles of which are also named after 3 of my favorite tracks from this album (included in the "Extras" folder) and all focus on one key element; VARIETY.

    As the name suggests, "Comatose" is geared towards battery conservation. It focuses on keeping CPU low for a prolonged period but utilizes 3 of the 4 cores on touch and the 4th on demand for fluidity. Sample rates have been decreased heavily as to increase polling and allow the other cores to quickly spike towards higher frequencies for a given task then immediately drop back down as if the component had been knocked unconscious.

    The second profile is "Rebirthing". This profile will counteract the affects of Comatose by heavily boosting performance as a means to bring life and energy back into this profile that remains unconscious. Rebirthing is intended for those seeking a performance-based version of Comatose but who knows... For such a power hungry profile you may just be surprised by the great battery life it also delivers.

    Some of you may not favor the heavy battery conservation that "Comatose" offers or the overall power consumption of "Rebirthing" and much prefer a mashup of elements delivered between the 2 and that is the purpose of "Whispers In the Dark". This profile is directed towards finding the right balance between these 2 profiles while still acting as a it's own profile. It utilizes most of the performance aspects from "Rebirthing". The only major differences from that are touch_boost_cpu_all_cores has been disabled and touch_boost_cpu is set at 1134Mhz instead of 1458Mhz.

    Like "Comatose" it uses super_conservative_screen_on as well as a high up_threshold for that extra boost in battery performance. The profile also idles at the same minimum cpu and gpu frequencies as "Comatose" but ALL profiles run at stock 1890Mhz.

    All profiles maintain the same concept of rapid cpu polling. So yes, cpu will be working consistently but my theory here is that more polling will allow the kernel to rapidly check CPU usage, thus allowing CPU to change more frequently according to the load, which in turn will prevent persistent pegging of even higher frequencies and instead consume various amounts of power in various scenarios depending on your usage and consume even less when a specific task has completed and immediately drops the load.

    This also applies to screen off states but that goes back to what was explained in this post regarding high vs low sampling rates and how they can greatly increase idle times depending on your screen off max.


    https://copy.com/VMuyGiGJbxIc



    Lucretia by @CamFlawless

    The name draws inspiration from a Megadeath song with the same title. Great tune.


    Balanced
    This profile is based on my V1 of Lucretia and seeks to strike a balance in terms of performance and battery life. Offering exceptional performance and a fluid experience, Lucretia Balanced is a great profile for all your needs.

    Performance
    This profile is based on my V2 of Lucretia and is intended for those seeking high performance from their devices for the likes of gaming and such. Lag should be non-existent and your experience should be smooooooth. :fingers-crossed:

    https://copy.com/sjCgexEGB1jo



    Project Daylight v2 by @mamba720027 (updated: 12~23~13)

    Day Light is focused mainly on battery conservation. I felt that its useless if its not smooth and lags alot so I add performance into the mix createing a profile that offers both while its first and foremost goal "battery performance" is still preserved and not diminish. This profile is yet unique and on a different level from my early release of "Icarus" :)

    The contents are 3 profiles unique in their own way, "Daylight", "Daybreak" and "Experimental" along with a "Extra" folder containing wallpapers I created on our S4 for fun while testing :D:p . Kind of gives me some inspiration and sense of feel of what my objective is.

    Daybreak is a crossbread profile of my Icarus Performance profile and Daylight. Its simply utilizing the performance power behind Icarus Performance profile while useing Daylight profile governor settings as its core to boost battery performance :)

    The experimental profile is heavily undervolted/Underclocked with tweaked scheduler and governor. I taught if some of you could run it stable then it may produce great or mix results ;)

    https://copy.com/2vBCFVZP68gV



    Project Icarus by @mamba720027

    So some may wonder why the name "Icarus",why not Hyper Performance or Deadly Good Battery.
    Well the reason and to begin explination,short history.
    Icarus is a greek mythology who is seen today as a mythical pioneer that tried to conquer the skies.
    I like that mythology cause it kinda corresponds to my own saying "fly high or fall hard" which means to aim high or fail trying. So their you have it folks and thus the profile name "Icarus".

    And onto explination of each profiles.

    The first is "Performance" which is catered for straight out performance with also good battery performance.
    This one is for when u dont give a rats flying balls about battery really and just want everything super fast and smooth. But you maybe surprise of battery performance. I recommend everyone try this profile first. My current favorite :D

    The second is "Conservative" this is for those seeking performance but also better battery performance than the first.
    This one is the middle man or lady as u may want to refer to it. It gives the best of both worlds,performance and battery. So if the first leave you stranded then fear not, this is the one to turn too :cool:

    The third is "Kamikaze" which means "god wind". It either knocks the daylight out of your Galaxy S4 due to its high undervolteing and mean intent on Battery Performance but still snappy.
    This one the undervolting is of my personal voltage table that runs stable for me with other tweaks. If it runs successfully for anyone else then battery performance may be great.
    This one is for those that likes the thrill of trying something new and unsure if it will work :p

    https://copy.com/87kzjPQShn3Z



    Sleeping Dragon by @mamba720027 (updated: 12~23~13)

    Sleeping Dragon V2.1 Single Core
    This is a single core profile aimed at consumeing the least battery for a time when you will be away from home or at work and away from the charger. It was a profile i played with at first as i did not expect it to mount as much with apps and system UI needing a right amount of performance from a CPU to meet todays tasks in performance. In the end i was able to tame the dragon and make it work as best as possible to achieve its goal

    Sleeping Dragon V1.2 Quad-Core
    This is the counter part of Sleeping Dragon Single Core but with many tweaked parameters to make it a fully functional 4 Core base profile in hopes to achieve close or same battery performace as its single core entity. Unfortunately i still am not sure if it measures up but what i know from previous test with settings @Stock it hold its own in battery department. I am pleased with the results although i would wish to see some light usage results from users. I am pleased to present users with this 4 Core or Quadcore profile :)

    https://copy.com/vkDfMNiu2Sbs










    If you'd like to contribute to the Ktweaker Shop all you need to do is post a profile/script you want to share and include a brief description of it's purpose. It will then be tested thoroughly by the community and based on feedback will be submitted here in the Shop for approval and sent out to the dev for confirmation on adding to the Shop in Ktweaker! :)








    Useful Links


    Information about our scripts/profiles can be found HERE

    Interested in learning how to fine tune the kernel but not sure of where to start?
    Please refer to this Ktweaker User Guide (thanks to @Perseus71) and you'll be tweaking in no time!


    What in the world are CPU block cycles? Please check HERE

    HERE is a great app by @elesbb that will allow the end user to set individual governor options for Ktoonservativeq when turning on the screen, charging, keyboard typing, or playing media.

    Link to downloadable zip for all available ktweaker Profiles (Thanks to @CamFlawless)
    https://www.copy.com/s/EhjYpSmACIyz
    36
    HOLY CRAP AM I ON FIRE!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Sneak peak at what I did today:
    1. Moved all "Prefs" options and Shop into "Profiles & Scripts" item
    2. Added "Delete Profile from SDcard" option
    3. Added "Load Script on Boot" to set a script you create or load from the Shop to load on boot.
    4. Added "Delete Script from SDCard"
    5. Added "KTweaker Shop (Scripts)

    a966d7e858b34.png


    bbb6af83627d4.png



    WHO'S THE MAN!!!!!!!!!!!!!!!!!!!!!!!!!
    33
    KTweaker shop inside KTweaker is coming soon guys, you are gonna LOVE IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    31
    **********T-MOBILE**********​


    KT-SGS4 Jellybean kernel features
    •Must have a Touchwiz Rooted ROM
    •Must have CWM or other custom recovery installed

    •Linux kernel 3.4.86
    •Samsung open source
    •Optimized kernel configuration
    •Updated USB driver
    •unsecure root adb
    •Voltage interface
    •CPU Overclocking
    •CPU Underclocking
    •Boots on stock table (USE KTweaker app to enable OC steps all the way to 2322 Mhz. BE AWARE THAT I WAS VERY CONSERVATIVE ON THE LOW SIDE OF THE OC STEPS, SO THEY WILL NEED SOME TWEAKING!)
    •KTweaker app for kernel control
    •KTweaker Widget

    •Schedulers (CFQ, BFQ, VR, SIO, NOOP, DEADLINE, ROW, FIFO, FIOPS)
    •GOVERNORS (ktoonservativeq, intellidemand, msm-dcvs, wheatley, userspace, smartassh3, slp, powersave, pegasuq, nightmare, interactive, dancedance, conservative, badass, asswax, adaptive, abyssplug, performance, ondemand
    •Thanks to Talustus we now have exFAT for Touchwiz and AOSP


    Downloads

    AOSP KitKat 4.4 VERSIONS:
    https://copy.com/k9ryAE0dwLHs

    Google Edition KitKat 4.4 VERSIONS:
    https://copy.com/hsciC7dkz66V

    Touchwiz KitKat 4.4 VERSIONS:
    https://copy.com/9Gtgf0GUJkS4IU8


    AOSP JELLYBEAN 4.3 VERSIONS:
    https://copy.com/4ZzqCaMCwfDx

    Touchwiz JELLYBEAN 4.3 VERSIONS:
    https://copy.com/kEWuwwaGj8j2

    Google Edition JELLYBEAN 4.3 VERSIONS:
    https://copy.com/EGHYzNqxuLGd


    Touchwiz JELLYBEAN 4.2.2 VERSIONS:
    https://copy.com/P0SYiTNnxfIj

    AOSP JELLYBEAN 4.2.2 VERSIONS:
    https://copy.com/doRqwyyJgbNz








    Original kernel thread: http://xdaforums.com/showthread.php?t=2289140