FORUMS

[KERNEL][TMO][TW 4.4][12/08/2014] KT-NOTE4 - NIH - KTweaker

16,263 posts
Thanks Meter: 43,500
 
By ktoonsez, Inactive Recognized Developer on 12th November 2014, 12:36 AM
Post Reply Email Thread
Ktoonsez presents:


Quote:

KT-NOTE4 kernel features
Must have a Note 4 model N910T or N910P or N910W8
Must have a Touchwiz Rooted ROM
Must have CWM/TWRP based recovery installed
•Samsung open source
•Optimized kernel configuration
•unsecure root adb
•Voltage interface
KTweaker app for kernel control
KTweaker Widgets
•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
•exFAT for Touchwiz


Quote:

Touchwiz Kitkat 4.4 VERSION:
11.11.2014: http://goo.gl/IG2O5Q

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



Post #2 will be reserved for change logs

Post #3 will be reserved for MY Settings, Extras and FAQ's

Sources can be found here:
https://github.com/ktoonsez/KTNOTE4
The Following 62 Users Say Thank You to ktoonsez For This Useful Post: [ View ] Gift ktoonsez Ad-Free
12th November 2014, 12:37 AM |#2  
ktoonsez's Avatar
OP Inactive Recognized Developer
Flag Tempe
Thanks Meter: 43,500
 
Donate to Me
More
Change Log 12.08.2014
1. Added some Profiles to the KTweaker Shop, thanks to @zman2107 for helping out
2. Some tweaks to ktoonservativeq
3. Added Trinity Colors, thanks to @twistedumbrella for porting in the code
4. Added Bluetooth Min Mhz control
5. Added Music/Media Min Mhz control
6. Added bfq scheduler

Change Log 11.13.2014
1. Rebase kernel source on N910F
2. NOW Working on F and G models!!!!!!!!!!!!!!!
3. Make ramdisk universal so its working on all Qualcomm variants
4. Add Fast Charge from my S4/S5 code
5. Increase bandwidth fro OC steps from @twistedumbrella
6. Removed a butt load of dmesg spam

Change Log 11.11.2014
1. Initial release
2. Based on Samsung source from N910T model
3. Added multi compatibility for multiple models
4. Removed root restrictions from kernel
5. Made selinux permissive
6. Added voltage control
7. Added OC to 3072 Mhz
8. Added KThermal
9. Added KT Hotplug
10. Lots more stuff to come!!!!!!!!!!!!!!!!!!!!!!!!
11. Linaro -O3 compiled plus Make file opto's
12. Added bfq scheduler
13. There is lots of stuff in KTweaker not enabled yet so only use the stuff that is listed in this change log!!!
The Following 21 Users Say Thank You to ktoonsez For This Useful Post: [ View ] Gift ktoonsez Ad-Free
12th November 2014, 12:37 AM |#3  
ktoonsez's Avatar
OP Inactive Recognized Developer
Flag Tempe
Thanks Meter: 43,500
 
Donate to Me
More
ktoonservativeq explained:


***** NOTES *****
Any item with the word cycle in it refers to how many sampling_rate's have occurred.
Examples:

A "boost_hold_cycles" of 22 and a sampling_rate of 45000 equates to 1 seconds of holding your Mhz at the boost level.
A block_cycles_offline_screen_on of 11 and a sampling_rate of 45000 equates to a half of a second block before it takes cores offline.

***** NOTES *****


block_cycles_offline_screen_off =1
How many sampling_rate cycles need to occur before a core is allowed to go OFFLINE while the screen is OFF.

block_cycles_offline_screen_on = 11
How many sampling_rate cycles need to occur before a core is allowed to go OFFLINE while the screen is ON.

block_cycles_online_screen_off = 11
How many sampling_rate cycles need to occur before a core is allowed to go ONLINE while the screen is OFF.

block_cycles_online_screen_on = 3
How many sampling_rate cycles need to occur before a core is allowed to go ONLINE while the screen is ON.

block_cycles_raise_screen_off = 11
How many sampling_rate cycles need to occur before the current Mhz is allowed to be raised while the screen is OFF.

block_cycles_raise_screen_on = 3
How many sampling_rate cycles need to occur before the current Mhz is allowed to be raised while the screen is ON.

boost_2nd_core_on_button_screen_off = 1
When this item is a 1, it will turn on the 2nd core when a button any hard button is pressed while the screen is OFF. 0 leaves the core in its current state.

boost_2nd_core_on_button_screen_on = 1
When this item is a 1, it will turn on the 2nd core when a button any hard button is pressed while the screen is ON. 0 leaves the core in its current state.

boost_3rd_core_on_button_screen_off = 0
When this item is a 1, it will turn on the 3nd core when a button any hard button is pressed while the screen is OFF. 0 leaves the core in its current state.

boost_3rd_core_on_button_screen_on = 0
When this item is a 1, it will turn on the 3nd core when a button any hard button is pressed while the screen is ON. 0 leaves the core in its current state.

boost_4th_core_on_button_screen_off = 0
When this item is a 1, it will turn on the 4nd core when a button any hard button is pressed while the screen is OFF. 0 leaves the core in its current state.

boost_4th_core_on_button_screen_on = 0
When this item is a 1, it will turn on the 4nd core when a button any hard button is pressed while the screen is ON. 0 leaves the core in its current state.

boost_hold_cycles = 22
How many sampling_rate cycles need to occur before going out of CPU/GPU boost mode

disable_hotplug = 0
When this item is a 1, it disables hotplugging so all cores stay on full time. 0 lets all cores turn on and off when needed.

disable_hotplug_bt = 0
When this item is a 1, it disables hotplugging so all cores stay on full time while paired to a bluetooth device and doing bluetooth activities like playing music, transfering files.... 0 doesn't do anything extra to the cores when doing bluetooth functions.

disable_hotplug_chrg = 0
When this item is a 1, it disables hotplugging so all cores stay on full time while charging the device. 0 doesn't do anything extra to the cores while charging.

disable_hotplug_media = 0
When this item is a 1, it disables hotplugging so all cores stay on full time while playing music or movies. 0 doesn't do anything extra to the cores while music or movies are playing.

down_threshold_screen_off = 52
A percentage of CPU utilization that needs to occur before the current Mhz begins to lower while screen is OFF.

down_threshold_screen_off_hotplug_1 = 35
A percentage of CPU utilization that needs to occur before the 2nd core is taken offline while screen is OFF.

down_threshold_screen_off_hotplug_2 = 45
A percentage of CPU utilization that needs to occur before the 3rd core is taken offline while screen is OFF.

down_threshold_screen_off_hotplug_3 = 55
A percentage of CPU utilization that needs to occur before the 4th core is taken offline while screen is OFF.

down_threshold_screen_on = 52
A percentage of CPU utilization that needs to occur before the current Mhz begins to lower while screen is ON.

down_threshold_screen_on_hotplug_1 = 35
A percentage of CPU utilization that needs to occur before the 2nd core is taken offline while screen is ON.

down_threshold_screen_on_hotplug_2 = 45
A percentage of CPU utilization that needs to occur before the 3rd core is taken offline while screen is ON.

down_threshold_screen_on_hotplug_3 = 55
A percentage of CPU utilization that needs to occur before the 4th core is taken offline while screen is ON.

freq_step_lower_screen_off = 8
How many steps from the Mhz table (the entire Mhz table can bee seen in the CPU Voltage screen) it skips when lowering the current Mhz while the screen is OFF.

freq_step_lower_screen_on = 2
How many steps from the Mhz table (the entire Mhz table can bee seen in the CPU Voltage screen) it skips when lowering the current Mhz while the screen is ON.

freq_step_raise_screen_off = 1
How many steps from the Mhz table (the entire Mhz table can bee seen in the CPU Voltage screen) it skips when raising the current Mhz while the screen is OFF.

freq_step_raise_screen_on = 5
How many steps from the Mhz table (the entire Mhz table can bee seen in the CPU Voltage screen) it skips when raising the current Mhz while the screen is ON.

ignore_nice_load = 0
If this value is "1," the system will ignore "Nice" processes when deciding to scale up or down. Nice processes are used by the IO scheduler to designate a low-priority process. Ignore nice load basically tells a governor to disregard processes with higher nice values.

lockout_2nd_core_hotplug_screen_off = 0
This is a 3 way option. While the screen is OFF, 0 = Hotplug Normal so the core will go on and off as needed, 1 = Lock this core always ON, 2 = Lock this core always OFF.

lockout_2nd_core_hotplug_screen_on = 0
This is a 3 way option. While the screen is ON, 0 = Hotplug Normal so the core will go on and off as needed, 1 = Lock this core always ON, 2 = Lock this core always OFF.

lockout_3rd_core_hotplug_screen_off = 0
This is a 3 way option. While the screen is OFF, 0 = Hotplug Normal so the core will go on and off as needed, 1 = Lock this core always ON, 2 = Lock this core always OFF.

lockout_3rd_core_hotplug_screen_on = 0
This is a 3 way option. While the screen is ON, 0 = Hotplug Normal so the core will go on and off as needed, 1 = Lock this core always ON, 2 = Lock this core always OFF.

lockout_4th_core_hotplug_screen_off = 0
This is a 3 way option. While the screen is OFF, 0 = Hotplug Normal so the core will go on and off as needed, 1 = Lock this core always ON, 2 = Lock this core always OFF.

lockout_4th_core_hotplug_screen_on = 0
This is a 3 way option. While the screen is ON, 0 = Hotplug Normal so the core will go on and off as needed, 1 = Lock this core always ON, 2 = Lock this core always OFF.

no_extra_cores_screen_off = 1
When set to a 1, this option keeps all extra CPU cores offline while the screen is OFF. 0 lets it hotplug them on and off as needed

sampling_down_factor = 1
NOT USED!

sampling_rate = 45000
The amount of milliseconds that the governor will analyze the CPU usage and adjust for changes in load while the screen is ON.

sampling_rate_min = 10000
READ-ONLY value that specifies the lower value that "sampling_rate" and "sampling_rate_screen_off" will accept.

sampling_rate_screen_off = 45000
The amount of milliseconds that the governor will analyze the CPU usage and adjust for changes in load while the screen is OFF.

super_conservative_screen_off = 0
With the screen OFF: When set to a 1, this option will explicitly obey your block cycles settings to be a super battery saver (Setting a 1 will slow down the UI a little bit). When set to a 0 it uses fuzzy logic on the "block cycle" items.

super_conservative_screen_on = 0
With the screen ON: When set to a 1, this option will explicitly obey your block cycles settings to be a super battery saver (Setting a 1 will slow down the UI a little bit). When set to a 0 it uses fuzzy logic on the "block cycle" items to create a smooooooth UI experience.

sync_extra_cores_screen_off = 0
With the screen OFF: When set to a 1, all online cores will be sync'd to the same speed as core 0. When set to a 0, all cores will operate at speeds independant of each other.

sync_extra_cores_screen_on = 0
With the screen ON: When set to a 1, all online cores will be sync'd to the same speed as core 0. When set to a 0, all cores will operate at speeds independant of each other.

touch_boost_2nd_core = 1
When set to a 1, this option turns on the 2nd core when the screen is touched. When set to a 0 it doesn't do anything extra to the cores.

touch_boost_3rd_core = 0
When set to a 1, this option turns on the 3rd core when the screen is touched. When set to a 0 it doesn't do anything extra to the cores.

touch_boost_4th_core = 0
When set to a 1, this option turns on the 4th core when the screen is touched. When set to a 0 it doesn't do anything extra to the cores.

touch_boost_cpu = 1804800
The Mhz that you want the online CPU's to jump to when the screen is touched.

touch_boost_cpu_all_cores = 0
When set to a 1, this option sets the current Mhz on all online cores to the selected touch_boost_cpu value.

touch_boost_gpu = 462400
This value specifies what Mhz the GPU should jump to when the screen is touched.

up_threshold_screen_off = 57
A percentage of CPU utilization that needs to occur before the current Mhz begins to raise while screen is OFF.

up_threshold_screen_off_hotplug_1 = 58
A percentage of CPU utilization that needs to occur before the 2nd core is put online while screen is OFF.

up_threshold_screen_off_hotplug_2 = 68
A percentage of CPU utilization that needs to occur before the 3rd core is put online while screen is OFF.

up_threshold_screen_off_hotplug_3 = 78
A percentage of CPU utilization that needs to occur before the 4th core is put online while screen is OFF.

up_threshold_screen_on = 57
A percentage of CPU utilization that needs to occur before the current Mhz begins to raise while screen is ON.

up_threshold_screen_on_hotplug_1 = 58
A percentage of CPU utilization that needs to occur before the 2nd core is put online while screen is ON.

up_threshold_screen_on_hotplug_2 = 68
A percentage of CPU utilization that needs to occur before the 3rd core is put online while screen is ON.

up_threshold_screen_on_hotplug_3 = 78
A percentage of CPU utilization that needs to occur before the 4th core is put online while screen is ON.




Other Governors and schedulers explained:
http://forum.xda-developers.com/show....php?t=1687578
http://forum.xda-developers.com/show....php?t=1369817
http://tinzdroid.blogspot.com/2012/0...odules-io.html
http://forum.xda-developers.com/show...2&postcount=56
The Following 11 Users Say Thank You to ktoonsez For This Useful Post: [ View ] Gift ktoonsez Ad-Free
12th November 2014, 12:49 AM |#4  
em0ney14's Avatar
Senior Member
Thanks Meter: 377
 
More
First
The Following 18 Users Say Thank You to em0ney14 For This Useful Post: [ View ] Gift em0ney14 Ad-Free
12th November 2014, 12:52 AM |#5  
ktoonsez's Avatar
OP Inactive Recognized Developer
Flag Tempe
Thanks Meter: 43,500
 
Donate to Me
More
Everybody be sure to give @em0ney14 a big "THANKS" for the countless hours of testing the kernel while I spent countless hours doing the programming
The Following 20 Users Say Thank You to ktoonsez For This Useful Post: [ View ] Gift ktoonsez Ad-Free
12th November 2014, 01:59 AM |#7  
jthrasher47's Avatar
Senior Member
Flag Charleston SC
Thanks Meter: 1,551
 
Donate to Me
More
Man am I glad to see you here I was missing you over on the s4 forum! Love being able to rock your kernels from the s2 all the way here
The Following User Says Thank You to jthrasher47 For This Useful Post: [ View ] Gift jthrasher47 Ad-Free
12th November 2014, 02:10 AM |#8  
Member
Flag Florida
Thanks Meter: 14
 
More
Excellent! Flashing now, thanks for all your hard work throughout the years. I always rock KT whenever possible!
The Following User Says Thank You to error747 For This Useful Post: [ View ] Gift error747 Ad-Free
12th November 2014, 02:10 AM |#9  
BACARDILIMON's Avatar
Senior Member
Flag MASTIC BEACH NY
Thanks Meter: 2,385
 
More
Can you post stock kernel just in case .

BAD ASS NOTE 4
12th November 2014, 02:11 AM |#10  
ktoonsez's Avatar
OP Inactive Recognized Developer
Flag Tempe
Thanks Meter: 43,500
 
Donate to Me
More
Quote:
Originally Posted by BACARDILIMON

Can you post stock kernel just in case .

BAD ASS NOTE 4

I cant but maybe someone else can, but if you are using somones ROM from the forum, all u have to do is flash the ROM again
The Following User Says Thank You to ktoonsez For This Useful Post: [ View ] Gift ktoonsez Ad-Free
12th November 2014, 02:19 AM |#11  
Misterjunky's Avatar
Senior Member
Flag Bakersfield, California
Thanks Meter: 6,728
 
Donate to Me
More
Thumbs up re: official stock N910T Note 4 kernel
Quote:
Originally Posted by BACARDILIMON

Can you post stock kernel just in case .

BAD ASS NOTE 4

Here is a download link for the Tmobile N910T Note 4 stock kernel.
https://app.box.com/s/nj34un45zxdo01ygd1dk

Flash this kernel using Flashify.

Here is the Play Store link for Flashify in case you need it:
https://play.google.com/store/apps/d...llner.flashify

Good luck!
The Following User Says Thank You to Misterjunky For This Useful Post: [ View ] Gift Misterjunky Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes