[KERNEL] [16.03.2014] [KK4.4][CM11/AOKP/CM_BASED/AOSP][HH] n3oHammer_v44 (CM) n3oHammer_v20 (AOSP) [CPUQUIET|S2W|DT2W]

Search This thread

n3ocort3x

Senior Member
May 10, 2012
5,862
10,822
Vienna
[KERNEL] [16.03.2014] [KK4.4][CM11/AOKP/CM_BASED/AOSP][HH] n3oHammer_v44 (CM) n3oHammer_v20 (AOSP) [CPUQUIET|S2W|DT2W]

banner_clean_final5wajq.png

banner by jonas2295​

==[n3oHammer]==

How to adjust it right, see post #2

FEATURES:


- USERSPACE VOLTAGE CONTROL
- FAST CHARGE
- CPUQUIET HOTPLUG
- KERNEL BASED THERMAL CONTROL
- SMARTMAX GOVERNOR FOR BALANCE BETWEEN BATTERY AND POWER
- XZ COMPRESSED
- SWEEP2WAKE
- DOUBLETAP2WAKE


USE TRICKSTER MOD FOR CONTROLING ALL FEATURES


HOWTO REPORT ERRORS -> THE RIGHT WAY

-) YOU need to provide me the following information, otherwise I´m not able to help:
-) On wich ROM you are
-) Wich Kernel and wich modules did you flash
-) ALWAYS provide a last_kmsg AND a logcat (you dont know how to do that ? Use google or search here in this forum, its posted nearly everywhere)
-) posts like "XYZ feature on ROM XYZ does not work" will be ignored (what should i do with that information ???)


CHANGELOG (old versions) & KERNEL FEATURES

Code:
[B]n3oHammer_v1[/B]

-initial release
-backported earlysuspend
-fast charge
-voltage control
-stock freqs
-cpuquiet hotplug

[B]n3oHammer_v2-v7[/B]
-internal testing

[B]n3oHammer_v8[/B]
-added s2w, s2s, dt2w (thanks showp1984)
-added francos sound control
-removed mpdec so its off by default and should stay off
-new lowest freq: 96 MHz thanks showp1984
-OC upt to 2,53 GHz thanks showp1984
- slightly cooler colors, whites are more white (thanks franciscofranco)

[B]n3oHammer_v9[/B]
- fixed flashing issue, everythings working now

[B]n3oHammer_v9_fix[/B]
-fix Wifi

[B]n3oHammer_v10[/B]
-ditch out mpdecision, u cant turn it on anymore so cpuquiet can do its job as it should
-should fix reboots

n3oHammer_v11
-hopefully fixed L1 cache error
-ditched out earlysuspend and keep in line with google
-better battery life

n3oHammer_v13
-reboots are gone (for those who had one)
-ondemand and interactive governor from hammerhead baseline + fixes and improovements from showp-1984
-adjusted regulator voltages higher min and max
-removed OC just to be 100% sure the reboots are gone
-UC is still there
-Bootup with stock freq 300Mhz - 2,2GHz
-adjusted smartmax to act a bit more aggressive
-implemented support for faux FREE gamma adjustment APP (great job btw, and for FREE)

n3oHammer_v14
- synced with latest stuff from @myfluxi for fauxs free gamma app control app :) thanks to both

n3oHammer_v15
- synced with latest stuff from @myfluxi for fauxs free gamma app control app :) thanks to both
- new installer from @show-p1984 (many thanks, ur scripts are awesome) to be compatioble with CM and AOSP ROMS

n3oHammer_v16
- patches from 4.4.1 kernel source
- patches for kgsl/adreno
- merged interactive gpu governor
- fastcharge fix from flar2
-soundcrontrol from faux123

n3oHammer_v17
- added last missing patches from 4.4.1 (sound, etc..check git)
- drivers/input/touchscreen/sweep2wake: if s2s_only is true, opt out early
- dts: lm3630: lower min brightness to 1
- dts: lm3630: lower blmap for lower brightness levels
- Implement kexec-hardboot by. All work done by @Tasssadar

n3oHammer_v18
-fix video recording
-fix multirom support (hopefully, untested)
-reverted "whites are whiter" patch as we dont know what it really does, use fauxś free gamma app to control colors

n3oHammer_v19
-please see github for full changelog
- added bfq shed
- stability fixes
- ION updates

n3ohammer_v38 for CM11, CM_based, AOKP

-fastcharge
-cpuquiet hotplug
-gamma interface (many thanks @myfluxi)
-TRUELY CM based (no replacement of libs, files, modules).
-input mediator (cpu boost on touch)
-smartmax governor for balance between perfromance and battery life (people who know it, know what im talking about)
-Voltage control
-very long testing phase to provide stability
-whites are whiter patch from franciscofranco
-pobalby more i forgot

n3ohammer_v39 for CM11, CM_based, AOKP
-synced with cm (check mit github)
-multirom support (but i doubt its working) please test and report

n3ohammer_v40 for CM11, CM_based, AOKP
-synced with CM per today
-too much differences to last update, please check github (stabilty, fixes, updates and so on)

n3ohammer_v20 for AOSP
-compiled new to be absolute sure no one uses the wrong kernel

n3ohammer_v44 for CM based, AOKP, etc...
-synced with CM sources
-Display gamma control now finally available
-LED patch from CM (charging, always on)

KERNEL Battery infos:

v11: s2w,dt2w disabled, cpuquiet load stats, smartmax governor, mobile data
lost 3 % in 7 hours. Think thats ok

8a7ymyna.jpg


sanu5ude.jpg


HUGE THANKS TO @maxwen who always support and teaches me

Download Kernel & Modules

===========================================

FOR NEXUS 5 2013

FOR AOSP

n3oHammer_AOSP_v20_cpuquiet INSTALLER

FOR CM / AOKP / CM BASE

n3oHammer_v44_cpuquiet INSTALLER
===========================================

Howto install:

No AROMA, just good old recovery flash (better then hundrets of freezes in AROMA).

Github

Link


Disclaimer

-) I am not responsible for bricked devices
-) you do this on your own will
-) If you flash this, your warranty will be void


CREDITS

MAXWEN: FOR ENDLESS SUPORT AND TEACHING STUFF
FRANCISCOFRANCO:mako_hotplug control
SHOWP1984: sweep2wake, doubletap2wake, and always be friendly guy that helps

XDA:DevDB Information
n3oHammer Kernel , a Kernel for the Google Nexus 5

Contributors
n3ocort3x, maxwen, LorD ClockaN, maxwen
Kernel Special Features:

Version Information
Status: Stable
Stable Release Date: 2014-02-05

Created 2013-11-13
Last Updated 2014-03-16
 

n3ocort3x

Senior Member
May 10, 2012
5,862
10,822
Vienna
I'm trying to study and here you are, with your kernel not letting me :(

Was just looking back on the HTC One forums and saw you incorporated flick2wake in your kernel there.. and I think that's awesome! Hope you can bring it to us :)

first of all, it wasnt my work, it was the work of flar2, which also has a kernel here in this section. I dont have the device on my own, but i decided to make it public as a few users in our community allready use it. I dunno if I can realise a s2w without device :) I know atm only where it has to go in source, have to play around with it and try to hit my testers with some beta stuff.

If there will be one implementation from other devs, i will integrate it of course, thats the good stuff of open source :)

Why use XZ compression? Doesn't our boot partition have plenty of space? :confused:

I use it on all of my kernels, why using more space then necessary ?? :)

4.4 is not JB, is KK in your title

corrected, thanks
 

lbroksle

Senior Member
Apr 15, 2011
121
24
Awesome n3o is on the Nexus 5. Thanks for all your hard work on the htc one man. Just sold mine and waiting for my Nexus 5. Can't wait to try your kernel on this!

Sent from my Nexus 7 using XDA Premium 4 mobile app
 

Sultanxda

Recognized Developer
I use it on all of my kernels, why using more space then necessary ?? :)

It's okay to use more space than necessary because we (should) have plenty of space on the boot partition. The kernel is decompressed on boot so the compression algorithm used to pack the image does not influence userspace performance; however, changing the compression algorithm can either increase or decrease boot time. In this case, XZ compressed files take the longest to decompress, so by using XZ compression you are increasing the boot time (because it takes longer for the phone to decompress the kernel. Also, I don't know how much slower XZ makes the Nexus 5 boot, but on my older devices it increases the boot time greatly). XZ compression does make the zImage itself smaller but a compression algorithm that trades off performance for greater compression should only be used if there is limited space on the boot partition. If there is limited space on the boot partition then XZ should be used in order to make the kernel image fit into the boot partition.

But we should have plenty of space on the boot partition, so there is no need to use XZ :)
 
Last edited:

n3ocort3x

Senior Member
May 10, 2012
5,862
10,822
Vienna
It's okay to use more space than necessary because we (should) have plenty of space on the boot partition. The kernel is decompressed on boot so the compression algorithm used to pack the image does not influence userspace performance; however, changing the compression algorithm can either increase or decrease boot time. In this case, XZ compressed files take the longest to decompress, so by using XZ compression you are increasing the boot time (because it takes longer for the phone to decompress the kernel. Also, I don't know how much slower XZ makes the Nexus 5 boot, but on my older devices it increases the boot time greatly). XZ compression does make the zImage itself smaller but a compression algorithm that trades off performance for greater compression should only be used if there is limited space on the boot partition. If there is limited space on the boot partition then XZ should be used in order to make the kernel image fit into the boot partition.

But we should have plenty of space on the boot partition, so there is no need to use XZ :)

Thanks for this nice explanation :) wasnt aware of that and will look for an alternative then (there are a few as u already know for sure) :highfive: As said dont own the device and havent even looked at how much space there is available (just remember the trouble on oneX times :p)
 
  • Like
Reactions: szucsgf

benkxda

Senior Member
Jan 28, 2012
1,157
3,604
Thank you for joining the N5 development. Hope to see your double tap switch on function as well :)
 
  • Like
Reactions: szucsgf

Sultanxda

Recognized Developer
Thanks for this nice explanation :) wasnt aware of that and will look for an alternative then (there are a few as u already know for sure) :highfive: As said dont own the device and havent even looked at how much space there is available (just remember the trouble on oneX times :p)

It's probably best to just stick to GZIP compression. :) An LZO-compressed zImage did not make my phone boot noticeably faster than GZIP, and an LZ4-compressed zImage didn't boot at all.
 
  • Like
Reactions: n3ocort3x

aamitabh28

Senior Member
Oct 9, 2012
1,025
410
Sup neo! Finally took the leap as well my friend!
Looking forward!

Sent from my HTC One using Tapatalk 2
 

n3ocort3x

Senior Member
May 10, 2012
5,862
10,822
Vienna
OP updated:

n3oHammer_v8
-added s2w, s2s, dt2w (thanks showp1984)
-added francos sound control
-removed mpdec so its off by default and should stay off
-new lowest freq: 86 MHz
-OC upt to 2,53 GHz
- slightly cooler colors, whites are more white (thanks franciscofranco)

I have to thank here @franciscofranco for his soundcontrol and of course @show-p1984 for his aweseome Touchscreen magic, and always have an open ear for me and my questions, i really appreciate his helping :) I have to admit here, im still in learning process, and i take no credits for soundcontrol, touchscreen stuff as its not my work. I just merged it and share it along the different hotplug stuff.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 69
    [KERNEL] [16.03.2014] [KK4.4][CM11/AOKP/CM_BASED/AOSP][HH] n3oHammer_v44 (CM) n3oHammer_v20 (AOSP) [CPUQUIET|S2W|DT2W]

    banner_clean_final5wajq.png

    banner by jonas2295​

    ==[n3oHammer]==

    How to adjust it right, see post #2

    FEATURES:


    - USERSPACE VOLTAGE CONTROL
    - FAST CHARGE
    - CPUQUIET HOTPLUG
    - KERNEL BASED THERMAL CONTROL
    - SMARTMAX GOVERNOR FOR BALANCE BETWEEN BATTERY AND POWER
    - XZ COMPRESSED
    - SWEEP2WAKE
    - DOUBLETAP2WAKE


    USE TRICKSTER MOD FOR CONTROLING ALL FEATURES


    HOWTO REPORT ERRORS -> THE RIGHT WAY

    -) YOU need to provide me the following information, otherwise I´m not able to help:
    -) On wich ROM you are
    -) Wich Kernel and wich modules did you flash
    -) ALWAYS provide a last_kmsg AND a logcat (you dont know how to do that ? Use google or search here in this forum, its posted nearly everywhere)
    -) posts like "XYZ feature on ROM XYZ does not work" will be ignored (what should i do with that information ???)


    CHANGELOG (old versions) & KERNEL FEATURES

    Code:
    [B]n3oHammer_v1[/B]
    
    -initial release
    -backported earlysuspend
    -fast charge
    -voltage control
    -stock freqs
    -cpuquiet hotplug
    
    [B]n3oHammer_v2-v7[/B]
    -internal testing
    
    [B]n3oHammer_v8[/B]
    -added s2w, s2s, dt2w (thanks showp1984)
    -added francos sound control
    -removed mpdec so its off by default and should stay off
    -new lowest freq: 96 MHz thanks showp1984
    -OC upt to 2,53 GHz thanks showp1984
    - slightly cooler colors, whites are more white (thanks franciscofranco)
    
    [B]n3oHammer_v9[/B]
    - fixed flashing issue, everythings working now
    
    [B]n3oHammer_v9_fix[/B]
    -fix Wifi
    
    [B]n3oHammer_v10[/B]
    -ditch out mpdecision, u cant turn it on anymore so cpuquiet can do its job as it should
    -should fix reboots

    n3oHammer_v11
    -hopefully fixed L1 cache error
    -ditched out earlysuspend and keep in line with google
    -better battery life

    n3oHammer_v13
    -reboots are gone (for those who had one)
    -ondemand and interactive governor from hammerhead baseline + fixes and improovements from showp-1984
    -adjusted regulator voltages higher min and max
    -removed OC just to be 100% sure the reboots are gone
    -UC is still there
    -Bootup with stock freq 300Mhz - 2,2GHz
    -adjusted smartmax to act a bit more aggressive
    -implemented support for faux FREE gamma adjustment APP (great job btw, and for FREE)

    n3oHammer_v14
    - synced with latest stuff from @myfluxi for fauxs free gamma app control app :) thanks to both

    n3oHammer_v15
    - synced with latest stuff from @myfluxi for fauxs free gamma app control app :) thanks to both
    - new installer from @show-p1984 (many thanks, ur scripts are awesome) to be compatioble with CM and AOSP ROMS

    n3oHammer_v16
    - patches from 4.4.1 kernel source
    - patches for kgsl/adreno
    - merged interactive gpu governor
    - fastcharge fix from flar2
    -soundcrontrol from faux123

    n3oHammer_v17
    - added last missing patches from 4.4.1 (sound, etc..check git)
    - drivers/input/touchscreen/sweep2wake: if s2s_only is true, opt out early
    - dts: lm3630: lower min brightness to 1
    - dts: lm3630: lower blmap for lower brightness levels
    - Implement kexec-hardboot by. All work done by @Tasssadar

    n3oHammer_v18
    -fix video recording
    -fix multirom support (hopefully, untested)
    -reverted "whites are whiter" patch as we dont know what it really does, use fauxś free gamma app to control colors

    n3oHammer_v19
    -please see github for full changelog
    - added bfq shed
    - stability fixes
    - ION updates

    n3ohammer_v38 for CM11, CM_based, AOKP

    -fastcharge
    -cpuquiet hotplug
    -gamma interface (many thanks @myfluxi)
    -TRUELY CM based (no replacement of libs, files, modules).
    -input mediator (cpu boost on touch)
    -smartmax governor for balance between perfromance and battery life (people who know it, know what im talking about)
    -Voltage control
    -very long testing phase to provide stability
    -whites are whiter patch from franciscofranco
    -pobalby more i forgot

    n3ohammer_v39 for CM11, CM_based, AOKP
    -synced with cm (check mit github)
    -multirom support (but i doubt its working) please test and report

    n3ohammer_v40 for CM11, CM_based, AOKP
    -synced with CM per today
    -too much differences to last update, please check github (stabilty, fixes, updates and so on)

    n3ohammer_v20 for AOSP
    -compiled new to be absolute sure no one uses the wrong kernel

    n3ohammer_v44 for CM based, AOKP, etc...
    -synced with CM sources
    -Display gamma control now finally available
    -LED patch from CM (charging, always on)

    KERNEL Battery infos:

    v11: s2w,dt2w disabled, cpuquiet load stats, smartmax governor, mobile data
    lost 3 % in 7 hours. Think thats ok

    8a7ymyna.jpg


    sanu5ude.jpg


    HUGE THANKS TO @maxwen who always support and teaches me

    Download Kernel & Modules

    ===========================================

    FOR NEXUS 5 2013

    FOR AOSP

    n3oHammer_AOSP_v20_cpuquiet INSTALLER

    FOR CM / AOKP / CM BASE

    n3oHammer_v44_cpuquiet INSTALLER
    ===========================================

    Howto install:

    No AROMA, just good old recovery flash (better then hundrets of freezes in AROMA).

    Github

    Link


    Disclaimer

    -) I am not responsible for bricked devices
    -) you do this on your own will
    -) If you flash this, your warranty will be void


    CREDITS

    MAXWEN: FOR ENDLESS SUPORT AND TEACHING STUFF
    FRANCISCOFRANCO:mako_hotplug control
    SHOWP1984: sweep2wake, doubletap2wake, and always be friendly guy that helps

    XDA:DevDB Information
    n3oHammer Kernel , a Kernel for the Google Nexus 5

    Contributors
    n3ocort3x, maxwen, LorD ClockaN, maxwen
    Kernel Special Features:

    Version Information
    Status: Stable
    Stable Release Date: 2014-02-05

    Created 2013-11-13
    Last Updated 2014-03-16
    21
    Reserved

    ADJUSTMENT FOR BATTERY LIFE:


    ADJUSTMENT FOR PERFROMANCE:

    20
    Finally stable, fully featured and working :)

    n3ohammer_v38 for CM11, CM_based, AOKP

    -fastcharge
    -cpuquiet hotplug
    -gamma interface (many thanks @myfluxi)
    -TRUELY CM based (no replacement of libs, files, modules).
    -input mediator (cpu boost on touch)
    -smartmax governor for balance between perfromance and battery life (people who know it, know what im talking about)
    -Voltage control
    -very long testing phase to provide stability
    -whites are whiter patch from franciscofranco
    -pobalby more i forgot

    DOWNLOAD: LINK (already added to OP too)
    11
    OK I draw a line here because I can't hear it anymore. Don't get me wrong but that's tie last time I mention it and the last time I say something about it.

    RAM:
    U won't run out of ram... Have no fear... I tried mow several times (and won't try again) to open ALL my apps... I can't go lower then 300mb of free ram.. No matter how often I do it or how much apps are open (25 to 30).in the moment I touch that point.. It frees up 200 mb. Why in gods name is it bad that ram is used? Free ram is wasted ram... U have enough of it.

    That's the cm way to use ram. I can't do anything as I don't see a problem. It's a highly patched caf kernel where every single **** is patched from qualcom itself. U can't compare this rom or kernel with any other device or kernel. There are world's between it.

    WHY DOESENT THAT HAPPEN ON OTHER CM KERNEL?

    If that doesn't happen u have an aosp kernel that patches necessary stuff for cm too boot. I can't recommend those kernel as they are not really made for cm. I experienced a weired drain for example and had audio and video problems. So cm base or better nothing (my opinion)

    MULTIROM:
    WE are aware that it doesn't work except as secondary rom. We have no clue why atm as we use the same patch that works ON AOSP. we are still investigating. For me it's low priority as a simple nandroid backup does its job. I run 4 roms parallel Sometimes without multirom. Just to mention it. Wipe - restore - done

    Sent from my Nexus 5 using Tapatalk
    10
    OP UPDATED :)

    n3ohammer_v40 for CM11, CM_based, AOKP
    -synced with CM per today
    -too much differences to last update, please check github (stabilty, fixes, updates and so on)

    n3ohammer_v20 for AOSP
    -compiled new to be absolute sure no one uses the wrong kernel

    Download Kernel & Modules

    ===========================================

    FOR NEXUS 5 2013

    FOR AOSP

    n3oHammer_AOSP_v20_cpuquiet INSTALLER

    FOR CM / AOKP / CM BASE

    n3oHammer_v40_cpuquiet INSTALLER