5,814,981 Members 40,955 Now Online
XDA Developers Android and Mobile Development Forum

★ ☆ [Kernel] NuK3RN3L | s2w+s2s | 01-21-14 | 1,900MHz | 3.0.84 | Sense/AOSP | ☆ ★

Tip us?
 
santod040
Old
(Last edited by santod040; 22nd January 2014 at 06:01 AM.) Reason: Added Nuk3rn3l mecha Final-linaro 3.0.84 with s2w/s2s + 16 governors
#1  
santod040's Avatar
Recognized Developer / Recognized Contributor - OP
Thanks Meter 8,423
Posts: 6,248
Join Date: Nov 2008
Location: NorCal

 
DONATE TO ME
Prompt ★ ☆ [Kernel] NuK3RN3L | s2w+s2s | 01-21-14 | 1,900MHz | 3.0.84 | Sense/AOSP | ☆ ★

-NuK3RN3L-

OVERCLOCKED
Edition

Now added!


Santod's Mecha ICS Sense/AOSP Kernel






DOWNLOAD:


NuK3rn3l mecha Final

sweep2wake
sweep2sleep
16 Governors
TCP Controls
Zram/Swap
Linaro
OTG
01-20-14

Use Trickster Mod to enable Wake options

You need an updated version of Busybox from the Play Store to use Trickster Mod.
Once that's installed, open it and run the installer.
Then you can install Trickster Mod, grant it su permissions, and use it to enable s2w+s2s and adjust all other kernel settings and tweaks.
Trickster Mod can be found here.





-NuK3RN3L-
stock frequencies
current build

~ or ~


NuK3RN3L-
Overclocked Edition
1,516MHz Default/Max
current build 6-25-13

+ LagFree


-NuK3RN3L-
Aosp NuK3RN3L, with working wifi on Aosp ICS and Jelly Bean.
Only use this for this one on Aosp roms. (CM9/CM10)

NuK3RN3L ICS/JB Aosp OC Edition


These have been well tested, but use at your own risk!
I am not responsible for you or your device or anything that you do to it!






Included Governors:
  • SavagedZen
    lulzactive
    adaptive
    hyper
    scary
    skywalker
    brazilianwax
    fantasy
    SmartassV2
    interactive
    conservative
    userspace
    powersave
    lionheart
    ondemand
    performance

Quote:
How to install:

Flash zip in Recovery
Wipe cache and Dalvik cache
Reboot

This can be flashed to any current ICS roms!
Sense and AOSP!

NuK3RN3L was initially built for Sense roms, it has been confirmed to be working on Joe Black's latest CM9 build, though it needs a little camera patching...
Looks like we may have an AOSP/Sense ICS Hybrid Kernel.
On Aosp, Data and Netflix do work, camcorder not yet.
Will work on things with Joe to improve this.





I will try and update my git repo every 7-90 days until I automate it into my buildbox process...

Compiled using the 4.4.3 gcc toolchain.
Big thanks to my buddy Ziggy for his help and inspiration.
XXPachaXX for his work on msm7x30
Flemmard for his work on msm7x30
Also to HTC for finally releasing the source code...
HTCDEV Source files: my copy

Current Devices: HTC Thunderbolt | HTC Droid DNA | HTC One - m7 | HTC One - m8


Follow me on Twitter
ULTIMATE WALLS WVGA Wallpaper Collection
Donations always appreciated! Never required!


The Following 10 Users Say Thank You to santod040 For This Useful Post: [ Click to Expand ]
 
santod040
Old
(Last edited by santod040; 25th June 2013 at 11:00 AM.)
#2  
santod040's Avatar
Recognized Developer / Recognized Contributor - OP
Thanks Meter 8,423
Posts: 6,248
Join Date: Nov 2008
Location: NorCal

 
DONATE TO ME
FAQ:

Hopefully this answers some common questions.
I will add to this as kernel changes are made.




On UnSenseROM Jelato, there is a script in /system/etc/init.d called 00_vdd_levels if I recall the name exactly.
It's essentially a text file that should be either deleted, or remove the ## from the name of it so it doesn't run at boot.

Then whatever app is used to control governors and clock speeds will not get reset upon rebooting, whether you use the built in CPU Controls or No Frills, etc,..
On my other roms, the same rule applies, if there is a script in /system/etc/init.d with vdd levels in the name, remove it or rename it.

On NuSenseX ROM you should be careful touching anything in init.d, or you could break your wifi connection.
Soon, I intend to have kernels that will be baked into each rom, and there will be no need to concern oneself with any of this, and it's really nothing of much concern anyhow.
But I think that about covers most cases...


____

GOVERNORS

1) Ondemand:
Default governor in almost all stock kernels.
One main goal of the ondemand governor is to switch to max frequency as soon as there is a CPU activity detected to ensure the responsiveness of the system.
Effectively, it uses the CPU busy time as the answer to "how critical is performance right now" question.
So Ondemand jumps to maximum frequency when CPU is busy and decreases the frequency gradually when CPU is less loaded/apporaching idle.
Even though many of us consider this a reliable governor, it falls short on battery saving and performance on default settings.
One potential reason for ondemand governor being not very power efficient is that the governor decide the next target frequency by instant requirement during sampling interval.
The instant requirement can respond quickly to workload change, but it does not usually reflect workloads real CPU usage requirement in a short enough time and it may cause it to frequently change between highest and lowest frequency.


2) Conservative:
A slower Ondemand which scales up slowly to save battery.
The conservative governor is based on the ondemand governor.
It functions like the Ondemand governor by dynamically adjusting frequencies based on processor utilization.
However, the conservative governor increases and decreases CPU speed more gradually.
Simply put, this governor increases the frequency step by step on CPU load and jumps to lowest frequency on CPU idle.
Conservative governor aims to dynamically adjust the CPU frequency to current utilization, without jumping to max frequency.
The sampling_down_factor value acts as a negative multiplier of sampling_rate to reduce the frequency that the scheduler samples the CPU utilization.
For example, if sampling_rate equal to 20,000 and sampling_down_factor is 2, the governor samples the CPU utilization every 40,000 microseconds.


3) Interactive:
(currently my recommended governor for best overall battery and performance)
Can be considered a faster ondemand. So - more snappier, less battery!
Interactive is designed for latency-sensitive, interactive workloads.
Instead of sampling at every interval like ondemand, it determines how to scale up when CPU comes out of idle.
The governor has the following advantages:
1) More consistent ramping, because existing governors do their CPU load sampling in a workqueue context, but interactive governor does this in a timer context, which gives more consistent CPU load sampling.
2) Higher priority for CPU frequency increase, thus giving the remaining tasks the CPU performance benefit, unlike existing governors which schedule ramp-up work to occur after your performance starved tasks have completed.
Interactive - It's an intelligent Ondemand because of stability optimizations. Why??
Sampling the CPU load every X ms (like Ondemand) can lead to under-powering the CPU for X ms, leading to dropped frames, stuttering UI, etc.
Instead of sampling the CPU at a specified rate, the interactive governor will check whether to scale the CPU frequency up soon after coming out of idle.
When the CPU comes out of idle, a timer is configured to fire within 1-2 ticks.
If the CPU is very busy between exiting idle and when the timer fires, then we assume the CPU is underpowered and ramp to max frequency.


4) Userspace:
Instead of automatically determining frequencies, lets user set frequencies.


5) Powersave:
Locks max frequency to min frequency.
Can not be used as a screen-on or even screen-off (if scaling min frequency is too low).


6) Performance:
Sets min frequency to max frequency.
Use this while benchmarking!

7)
SmartassV2:

Version 2 of the original smartass governor from Erasmux. Another favorite for many a people.
The governor aim for an "ideal frequency", and ramp up more aggressively towards this freq and less aggressive after.
It uses different ideal frequencies for screen on and screen off, namely awake_ideal_freq and sleep_ideal_freq.
This governor scales down CPU very fast (to hit sleep_ideal_freq soon) while screen is off and scales up rapidly to awake_ideal_freq (500 mhz for GS2 by default) when screen is on.
There's no upper limit for frequency while screen is off (unlike Smartass).
So the entire frequency range is available for the governor to use during screen-on and screen-off state.
The motto of this governor is another option for balance between performance and battery.


8) Lulzactive:
Basically interactive governor with added smartass bits and variable (as opposed to fixed amout) frequency scaling, based on currently occuring cpu loads.
Like smartass, it has a sleep profile built-in.



9) Lagfree:
Lagfree is similar to ondemand. Main difference is it's optimization to become more battery friendly. Frequency is gracefully decreased and increased, unlike ondemand which jumps to 100% too often. Lagfree does not skip any frequency step while scaling up or down. Remember that if there's a requirement for sudden burst of power, lagfree can not satisfy that since it has to raise cpu through each higher frequency step from current. Some users report that video playback using lagfree stutters a little.


____





So, Governors can be categorized into 3/4 on a high level:
Quote:
1.a) Ondemand Based:

Works on "ramp-up on high load" principle. CPU busy-time is taken into consideration for scaling decisions.
Members: Ondemand, OndemandX, Intellidemand, Lazy, Lagfree.

1.b) Conservative Based:

Members: Conservative, Lionheart, LionheartX

2) Interactive Based:

Works on "make scaling decision when CPU comes out of idle-loop" principle.
Members: Interactive, InteractiveX, Lulzactive, Luzactiveq, Smartass, SmartassV2, Brazilianwax, SavagedZen.

3) Weird Category:
Members: Userspace, Powersave, Performance.


___

Changelog:

__

062513

Updated 1,516 OC'd Edition!
Added Governors:
LagFree
Lulzactive
SmartassV2
7 more modules built in


062213

Added 1,516 OC'd Edition!
Adjusted cpu frequency tables
Adjusted voltages
Enabled 1,516 MHz Overclock as Default


062113

Powersave governor added for those of you trying to squeeze more out of the battery, or only using the device on wifi.

062013

Interactive governor added for better response time, keyboard reaction, etc,..


Current Devices: HTC Thunderbolt | HTC Droid DNA | HTC One - m7 | HTC One - m8


Follow me on Twitter
ULTIMATE WALLS WVGA Wallpaper Collection
Donations always appreciated! Never required!


The Following User Says Thank You to santod040 For This Useful Post: [ Click to Expand ]
 
santod040
Old
(Last edited by santod040; 23rd June 2013 at 01:44 AM.)
#3  
santod040's Avatar
Recognized Developer / Recognized Contributor - OP
Thanks Meter 8,423
Posts: 6,248
Join Date: Nov 2008
Location: NorCal

 
DONATE TO ME
Reserved...



Current Devices: HTC Thunderbolt | HTC Droid DNA | HTC One - m7 | HTC One - m8


Follow me on Twitter
ULTIMATE WALLS WVGA Wallpaper Collection
Donations always appreciated! Never required!


 
santod040
Old
(Last edited by santod040; 23rd June 2013 at 03:20 AM.)
#4  
santod040's Avatar
Recognized Developer / Recognized Contributor - OP
Thanks Meter 8,423
Posts: 6,248
Join Date: Nov 2008
Location: NorCal

 
DONATE TO ME
NuK3RN3L is also now booting with AOSP JellyBean.
Stay Tuned!!!!


Current Devices: HTC Thunderbolt | HTC Droid DNA | HTC One - m7 | HTC One - m8


Follow me on Twitter
ULTIMATE WALLS WVGA Wallpaper Collection
Donations always appreciated! Never required!


The Following 7 Users Say Thank You to santod040 For This Useful Post: [ Click to Expand ]
 
Milimbar
Old
#5  
Senior Member
Thanks Meter 88
Posts: 254
Join Date: Jul 2011
Quote:
Originally Posted by santod040 View Post
NuK3RN3L is also now booting with AOSP JellyBean.
Stay Tuned!!!!
Any chance of a dual boot setup?
Check out the Devil kernel and recovery for the note 2......
Would be nice to have a slimmed down AOSP ROM and a Sense one for when you wanted it.
 
disconnecktie
Old
#6  
disconnecktie's Avatar
Senior Member
Thanks Meter 1,169
Posts: 5,007
Join Date: Oct 2011
I'm not trying to be rude to anyone but let's keep the feature requests to a minimum until he gets the more important aspects worked out. There is a lot of testing going on with just what this kernel can do as we speak. I'm sure once things calm down the other features can be implemented.

Sent from my ADR6400L using Tapatalk 2
The Following User Says Thank You to disconnecktie For This Useful Post: [ Click to Expand ]
 
arizonaomnia
Old
#7  
Senior Member
Thanks Meter 56
Posts: 300
Join Date: May 2009
Says AOSP in the title. Can this be used with the CM9 in this thread?

Sent from my NusenseX Bolt using Tapatalk 2
 
santod040
Old
#8  
santod040's Avatar
Recognized Developer / Recognized Contributor - OP
Thanks Meter 8,423
Posts: 6,248
Join Date: Nov 2008
Location: NorCal

 
DONATE TO ME
Quote:
Originally Posted by arizonaomnia View Post
Says AOSP in the title. Can this be used with the CM9 in this thread?

Sent from my NusenseX Bolt using Tapatalk 2


This can be flashed to any current ICS roms!
Sense and AOSP!

NuK3RN3L was initially built for Sense roms, it has been confirmed to be working on Joe Black's latest CM9 build, though it needs a little camera patching...
Looks like we may have an AOSP/Sense ICS Hybrid Kernel.
On Aosp, Data and Netflix BOTH work, camcorder not yet.
Will work on things with Joe to improve this.
Current Devices: HTC Thunderbolt | HTC Droid DNA | HTC One - m7 | HTC One - m8


Follow me on Twitter
ULTIMATE WALLS WVGA Wallpaper Collection
Donations always appreciated! Never required!


The Following 2 Users Say Thank You to santod040 For This Useful Post: [ Click to Expand ]
 
Virus
Old
#9  
Virus's Avatar
Senior Recognized Developer
Thanks Meter 9,301
Posts: 3,938
Join Date: Oct 2009
Location: COLUMBIA

 
DONATE TO ME
Congrats on RLS brosif these guys are lucky you are still carrying the infected flame for this phone !!!!

The Following 5 Users Say Thank You to Virus For This Useful Post: [ Click to Expand ]
 
arizonaomnia
Old
#10  
Senior Member
Thanks Meter 56
Posts: 300
Join Date: May 2009
Quote:
Originally Posted by santod040 View Post
This can be flashed to any current ICS roms!
Sense and AOSP!

NuK3RN3L was initially built for Sense roms, it has been confirmed to be working on Joe Black's latest CM9 build, though it needs a little camera patching...
Looks like we may have an AOSP/Sense ICS Hybrid Kernel.
On Aosp, Data and Netflix BOTH work, camcorder not yet.
Will work on things with Joe to improve this.
Anyone know if it fixes the Gmail whiteout? I can live without the camcorder but the Gmail thing was too much.

Sent from my NusenseX Bolt using Tapatalk 2

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes