KERNEL | Nougat CM / AOSP | 7th Jan | HalogenKernel R31 | UBER | 3.4.42

Search This thread

zakee94

Senior Member
Apr 4, 2015
322
1,043
NEW BUILD IS UP !!!:)
[ 14 June, 2015. Version --> R3 ]
New features added :-
** 6 cpu govs removed (check changelog for their names) **
This was done to prevent cpu clock @ 384 MHz during boot. Will add them later after some tuning.
** Simple GPU Algorithm added **
** Intellithermal v2 added **
** Added msm hotplug, alucard hotplug & intelliplug **
and many more............
CHECK CHANGELOG for full details
E _N_J_O_Y !!!;)
 
Last edited:

Lynse

Senior Member
Dec 18, 2014
281
144
Calgary
Thanks for the new build, its always good to be updated with CM's kernel source. I don't like requesting features but can you add GPU OC/UC and CPU UC? its present on Optimus Kernel and attacked kernel and its really handy when you need battery, the GPU OC helps on some games too. Thanks.
 

zakee94

Senior Member
Apr 4, 2015
322
1,043
NEW BUILD IS UP . ( R4 ) .;)
Major changes :-
  • CPU UC to 96 MHz
  • GPU OC to 533 MHz & UC to 100 MHz
  • Disabled PowerHal log spam
  • Reclaimed much more RAM, increasing default ram to 883 Mb
  • Force SE Linux permissive
    and a hell lot of tweaks and optimizations.......see changelog.
RECOMMENDED SETTINGS has been ADDED in post #3.
A WARNING has been added in OP (post #1). READ THIS WARNING CAREFULLY !!!

EXPERIENCE HALOGEN | EXPERIENCE AWESOMENESS
 
Last edited:

djport1973

Senior Member
Dec 1, 2012
312
97
uploadfromtaptalk1434556338881.png

Enviado desde mi Moto G 2014 mediante Tapatalk
 

djport1973

Senior Member
Dec 1, 2012
312
97
The kernel works, so far, fine.
Thank you for your work

Enviado desde mi Moto G 2014 mediante Tapatalk
 

TiGuy82

Senior Member
Jun 11, 2008
523
86
Thank you so much! I installed it for the very first time!

I am using latest beta version of Adiutor and I don't see any options for Battery on it, I can't enable Fast Charge. Is a software issue or Kernel?
 

ktulu84

Senior Member
Jan 2, 2013
1,325
1,259
Pescara
Thank you so much! I installed it for the very first time!

I am using latest beta version of Adiutor and I don't see any options for Battery on it, I can't enable Fast Charge. Is a software issue or Kernel?
Ehm... I don't see fast charge in kernel feature list

EDIT: if you are talking about what is written in recommended settings read carefully... It is copied from stellar kernel thread
 
Last edited:

SuperSimian

Senior Member
Aug 22, 2012
807
1,077
@zakee94 Hi, I have some things to report.

1. Incorrect frequency set to the following governors: yankactive, smartmax, intellimm, impulse, zzmoove
2. zzmoove CPU governor has no default profile selected
3. No default hotplug driver selected.

And last, deleting any previous kernel script in root directory will not keep it from being re-created on next boot., you must wipe system partition (experienced this). Hope this info helps to improving the kernel. Cheers :highfive:.
 
  • Like
Reactions: zakee94

ramrastus

Senior Member
Jun 22, 2013
818
157
facebook.com
First Thank you for this wonderful kernel !! [emoji16] working good n ma moto g 2014 (Titan).
I'm veryyyyyyy yappiiiiiii wid tis kernel [emoji119] [emoji119] [emoji119] specially sound quality are osomeeeeeee [emoji8] [emoji8] [emoji8]
Halogen kernel + viper4androidfx = blasttttttt effects [emoji95] [emoji95] [emoji95] [emoji442] [emoji445] [emoji444] [emoji442] [emoji442] [emoji442] [emoji442]
Once again thank you for this wonderful kernel & advanced [emoji106] [emoji108] [emoji111] [emoji119]

---------- Post added at 12:05 PM ---------- Previous post was at 11:59 AM ----------

Sorry for *selected op full quotes* [emoji115][emoji4]
 
Last edited by a moderator:
  • Like
Reactions: zakee94

zakee94

Senior Member
Apr 4, 2015
322
1,043
Hi, I have some things to report.

1. Incorrect frequency set to the following governors: yankactive, smartmax, intellimm, impulse, zzmoove
2. zzmoove CPU governor has no default profile selected
3. No default hotplug driver selected.

And last, deleting any previous kernel script in root directory will not keep it from being re-created on next boot., you must wipe system partition (experienced this). Hope this info helps to improving the kernel. Cheers :highfive:.
Thanks for pointing out the errors...I'll surely look into them and fix them in my next update.
As about the script, even I found out that they re-create on boot, leaving wiping the system as the only option. I've updated the OP regarding this.

First Thank you for this wonderful kernel !! [emoji16] working good n ma moto g 2014 (Titan).
I'm veryyyyyyy yappiiiiiii wid tis kernel [emoji119] [emoji119] [emoji119] specially sound quality are osomeeeeeee [emoji8] [emoji8] [emoji8]
Halogen kernel + viper4androidfx = blasttttttt effects [emoji95] [emoji95] [emoji95] [emoji442] [emoji445] [emoji444] [emoji442] [emoji442] [emoji442] [emoji442]
Once again thank you for this wonderful kernel & advanced [emoji106] [emoji108] [emoji111] [emoji119]

---------- Post added at 12:05 PM ---------- Previous post was at 11:59 AM ----------

Sorry for *selected op full quotes* [emoji115][emoji4]
Thanks a LOT for such a statement...:D:good:
However I must tell you (and you seem to know very well) :- NEVER EVER QUOTE THE WHOLE OP.
p.s :- even i use viper fx and the audio simply blows me away...;)
 
Last edited:

kiran kumar k

Senior Member
Aug 1, 2014
55
9
First up all thanks for the kernel...really awesome...but tdy I faced some issuse with r4 regarding the phone call...I couldn't hear the others talking(but its OK in loudspeaker approach)I'm currently using cmpurity rom...pls help me with this issue,as I'm happy with the flamboyant work so far...thanks in advance
 

zakee94

Senior Member
Apr 4, 2015
322
1,043
First up all thanks for the kernel...really awesome...but tdy I faced some issuse with r4 regarding the phone call...I couldn't hear the others talking(but its OK in loudspeaker approach)I'm currently using cmpurity rom...pls help me with this issue,as I'm happy with the flamboyant work so far...thanks in advance
You are facing this issue on all calls or some calls ??
However flash the attached zip, it should fix all issues.
 

Attachments

  • Fix.zip
    164.5 KB · Views: 68

zakee94

Senior Member
Apr 4, 2015
322
1,043
Thank you so much! I installed it for the very first time!

I am using latest beta version of Adiutor and I don't see any options for Battery on it, I can't enable Fast Charge. Is a software issue or Kernel?
Yes fast-charge is not there...I'll add it later though.;)
 

ramrastus

Senior Member
Jun 22, 2013
818
157
facebook.com
Thank you so much! I installed it for the very first time!

I am using latest beta version of Adiutor and I don't see any options for Battery on it, I can't enable Fast Charge. Is a software issue or Kernel?
Download & install faux123 kernel enhancement pro app from here ->
Mod Edit – Some content removed
dey have battery control option/settings. Try it. . . [emoji6]
 
Last edited by a moderator:

zakee94

Senior Member
Apr 4, 2015
322
1,043
Download & install faux123 kernel enhancement pro app from here ->
Mod Edit – Some content removed
dey have battery control option/settings. Try it. . . [emoji6]
First --> It is very wrong to publish links of sites on XDA from where pirated/cracked/modded apps can be downloaded. PLEASE DONT DO THAT EVER AGAIN.
Second --> I mentioned a few posts ago that fast charge is NOT there in kernel and I'll add it later. So no app can enable that unless its there in the kernel.
 
Last edited by a moderator:

Top Liked Posts

  • There are no posts matching your filters.
  • 102
    picture.php


    EXPERIENCE HALOGEN | EXPERIENCE AWESOMENESS

    For Changelogs please see POST #2.
    For FAQ please see POST #3.

    DISCLAIMER :-
    Code:
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this KERNEL
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will  simply laugh at you.
     */

    NOTE :-
    This kernel is ONLY meant for AOSP/CM ROMs.
    This IS NOT MEANT for STOCK ROMs.

    Upto R14 Kernel supports Lollipop.
    From R15 onwards Kernel supports ONLY Marshmallow.
    From R18 onwards Kernel supports Doze + Marshmallow.
    From R30 onwards Kernel supports ONLY Nougat.


    WHAT IS THIS KERNEL ?
    This kernel is built especially for these 3 things :- 1. Audio, 2. Performance, 3. Battery Life.
    The main aim of halogen is to bring performance without compromising stability & battery. And that is what I intend to do. Go ahead and try this kernel, and it should make your device much better.

    FEATURES :-
    (features of ONLY the latest version is mentioned)

    • Based on Linux Kernel 3.4.42
    • Updated with the latest CM14.1 sources
    • Built with UBER Toolchain GCC-4.9
    • Any Kernel 2 script used
    • Kexc Hardboot patched
    • Built with optimization flags for enhanced performance
    • GPU OC to 533 MHz & UC to 100 MHz
    • Disabled PowerHal log spam (thanks to @attack11)
    • Faux Sound Control v3.5
    • Headset in high performance profile
    • Slimbus overclocking for superior audio quality
    • Enabled CPU boost
    • Add Frandom
    • Power effecient work queues enabled by default
    • Reclaim RAM from loggers
    • Disable gentle_fair_sleepers for increased I/O
    • Enable advanced unaligned_access
    • Enable arch_power
    • Use power efficient workqueues for bam_dmux
    • Optimize square root algorithm
    • intelliactive, intellidemand, zzmoove cpu governors
    • intelliplug v4.0 cpu hotplug
    • enabled advanced tcp congestions
    • Ability to use your device as USB Keyboard / Mouse
    • Stereo call record support
    • psx2usb
    • KCAL v2 by Savoca
    • Dynamic FSync
    • Added optimized square root algorithm
    • Added optimized ARM_RWSEM algorithm
    • NEON kernel mode
    • Ex-FAT support

    LONG TERM SUPPORT :-

    This kernel will be supported for a long time with updates directly streamed from CM kernel sources i . e . as long as CM keeps publishing updates to its base, this kernel will also be updated.

    DOWNLOADS :-
    (do not mirror my links)
    [ Latest Version ]
    [ Older Versions ]


    INSTALLATION INSTRUCTIONS :-
    1. Reboot into recovery.
    2. Make a nandroid BackUp.
    3. Select Install zip from SD Card.
    4. Select the Downloaded zip.
    5. Then Reboot to System.
    6. Leave your phone untouched for 2-3 minutes after first reboot to allow the kernel to spread it's wings.

    RECOMMENDED APPS FOR KERNEL TWEAKING :-
    • Kernel Adiutor
    • Faux123 Kernel Enhancement Pro
    I do not support any other apps.

    CREDITS:-
    ~~Google
    ~~Motorola for kernel sources
    ~~Flashhhh
    ~~hurtsky
    ~~Luk & Luca -for various fixes
    ~~Thecrazyskull, DC07 -for cherry-picks
    ~~Faux123
    ~~Savoca
    ~~YoshiShaPow
    ~~attack11
    ~~many more.......
    Please don't start a war here if I forgot to mention someone. PM me and I will add him / her.

    XDA:DevDB Information
    HalogenKernel, Kernel for the Moto G 2014

    Contributors
    zakee94
    Source Code: https://github.com/zakee94/halogen_kernel/

    Kernel Special Features: Faux sound, Kexec, KCAL, Intelliplug

    Version Information
    Status: Stable
    Current Stable Version: R31
    Stable Release Date: 2017-01-07

    Created 2015-06-11
    Last Updated 2017-01-07
    35
    Changelog

    CHANGELOG​
    (simplified changelog, for full changelog please look at my GitHub commits.)

    R31 --> 07/01/2017

    • Merged CM Updates
    For older changelogs :-

    R30 --> 30/10/2016

    • First Nougat release
    • For changes please see post #670
    R29 --> 24/07/2016

    • Merged CM Updates
    R28 --> 08/06/2016

    • Merged CM Updates
    • AROMA installer
    • Added tripndroid IO Scheduler
    • CPU optimizations
    • ARM tweaks and updates
    R27 --> 12/05/2016

    • Merged CM Updates
    R26 --> 10/04/2016

    • Merged CM Updates
    R25 --> 16/03/2016

    • Merged CM Updates
    R24 --> 18/02/2016


    Reverted the following :-
    • CPU OC/UC - 1593/96 MHz
    • CPU UV
    • LMK tweaks + Agressive LMK mode
    • Following CPU govs --> lionheart, dancedance, bioshock, alucard
    • Following Hotplugs --> Mako, Auto-smp
    Added the following -->
    • Merged CM Updates
    • Built with UBER Toolchain GCC-6.0
    R23 --> 19/01/2016

    • Merged CM Updates
    • Overhauled boot script
    R22 --> 11/01/2016

    • Rebased kernel on android 6.0.1_r10
    • Rebuilt kernel from scratch
    • Merged a lot of CM updates
    • Added futex updates
    • Cpu UV added (hardcoded values)
    • Added 2 new hotplugs :- Auto-smp & Mako
    • Removed Alucard Hotplug
    • Overhauled updater script
    R21 --> 30/12/2015

    • Add CPU OC/UC - 1593/96 MHz
    • Adapt cpu_govs for CPU OC/UC
    • Merged CM Updates
    R20 --> 29/12/2015

    • Merged CM Updates
    R19 --> 23/12/2015

    • Added 3 new cpu_govs: Lionheart, DanceDance & Bioshock
    • Enabled CPU boost
    • Added optimized ARM RWSEM algorithm
    • ARM updates merged directly from CAF (See Git)
    • Mutex updates (See Git)
    • LMK updates (See Git)
    • Add agressive LMK
    • Build using -O3 & -graphite flags for enhanced performance
    • Cortex-A7 optimizations in Makefile
    • block: Disable add_random
    • Implemented LoUIS cache
    • Made bioshock as default gov. in boot script
    • Many other optimizations (smp, rcu, vfs, vfp, etc... See Git)
    R18 --> 20/12/2015

    • Merged latest CM Updates (support for Doze)
    R17 --> 17/12/2015

    • Merged latest CM Updates
    • Made interactive as default gov. in boot script
    R16 --> 03/12/2015

    • Fixed FM Radio not working
    • Fixed Section Mismatches
    • Enabled pipe flag
    R15 --> 27/11/2015

    • Build Kernel from scratch based on cm-13.0 kernel base
    • Compiled using Hyper-Linaro 5.1 Toolchain
    • Kernel version brought down to 3.4.42 temporarily
    • Revert SE Linux force permissive
    • Revert use Modulo sched & strict alias flags
    • Enabled Simple GPU Algorithm
    R14 --> 11/10/2015

    • Merged latest updates
    • Updated kernel to v3.4.109
    • Updated bfq to v7r8
    R13 --> 6/09/2015


    Brought back the following :-
    • SE Linux tweaks
    • msm:kgsl tweaks
    • Enable unaligned_access
    • DOLBY dap dependency fix
    Removed the following :-
    • Simple GPU Algorithm
    New features :-
    • Update with latest CM sources
    • Implement Adreno Idler
    R12 --> 26/08/2015


    Removed the following :-
    • CPU UC to 96MHz
    • SE Linux tweaks
    • USB Fast Charge v2
    • Added optimized ARM_RWSEM algorithm
    • msm:kgsl & wcnss tweaks
    • Optimize square root algorithm
    • Enable unaligned_access
    • DOLBY dap dependency fix
    • Ultrasound & ASoC : qdspv2 tweaks
    Changed the following :-
    • Update 'zzmoove' cpu_gov to v1_beta-8
    • Set 'zzmoove' as the default CPU Gov
    R11 --> 22/08/2015

    • Merged latest CM updates
    R10 --> 13/08/2015

    • Once again rebuilt the whole kernel ! ;)
    • Updated with latest CM sources
    • Possibly fix interactive deep-sleep issues
    R9 --> 25/07/2015

    • Updated with the latest CM sources
    • Rebased and built whole kernel from SCRATCH
    • Removed useless tweaks
    • Updated cpu_hotplugs & cpu_govs
    • Optimized zzmoove profiles again
    R8 --> 11/07/2015

    • Updated with the latest CM sources
    • Reverted RAM OC to 566MHz
    • Reverted some power hogging tweaks
    • Updated hotplugs :- intelliplug, msm-hotplug (neobuddy89 versions)
    • Added Bricked Hotplug
    • Optimized zzmoove profiles
    R7 --> 30/06/2015

    • Disabled msm_limiter
    • zzmoove : add back zzopt & zzmod, zzopt unstable for now.
    • Introduce kernel cooker
    • Bug fixes
    R6 --> 24/06/2015

    • Updated kernel version to 3.4.108
    • Enabled kernel_config_neon
    • zzmoove : remove profiles 'zzopt' & 'zzmod'
    • Add strict_aliasing & modulo_sched flags
    • Add msm:kgsl & wcnss tweaks (see GitHub)
    • Add MSM Frequency Limiter driver v3.6
    • Add Ultrasound & ASoC : qdspv2 tweaks (see GitHub)
    • RAM OC to 566 MHz
    • And many more I can't fit in here, so please checkout GitHub.
    R5 --> 20/06/2015

    • Added USB Fast Charge v2
    • Enabled NEON mode
    • Added Ex-FAT support
    • SE Linux tweaks (see GitHub)
    • zzmoove : set default profile to 2
    • tune up some governors
    • Enable intelliplug by default
    • Random / entropy tweaks
    R4 --> 17/06/2015

    • CPU UC to 96 MHz
    • GPU OC to 533 MHz & UC to 100 MHz
    • Disabled PowerHal log spam
    • Reclaim RAM from loggers, increasing default ram to 883 Mb
    • Disable gentle_fair_sleepers for increased I/O
    • Enable unaligned_access
    • Enable arch_power
    • Use power efficient workqueues for bam_dmux
    • Optimize square root algorithm
    • Many tick, clockevents & timer tweaks (see GitHub)
    • Lower swappiness from 60 --> 45
    • Added optimized ARM_RWSEM algorithm
    • Force SE Linux permissive
    • Added state notifier driver
    • Enabled quick wakeup
    • NOATIME and NODIRATIME as default
    R3 --> 14/06/2015

    • CPU Govs removed :- wheatley, nightmare, HYPER, darkness, pegasusq, ondemandplus
    • Added simple GPU Algorithm
    • 3 new CPU Hotplugs added :- intelliplug, alucard, msm-hotplug.
    • Power effecient Wqs enabled by default
    • Reclaim RAM from loggers
    • devfreq:Add conservative governor
    • devfreq tweaks (see GitHub)
    • Dynamic FSync added
    • Intellithermal v2 added
    R2 --> 13/06/2015

    • New CPU Govs added :-
      intelimm, intellidemand, intelliactive, smartmax, pegasusq, alucard, impulse, ondemandplus, wheatley, yankactive, nightmare, HYPER, darkness, zzmoove.
    • New TCP Congestions enabled :-
      westwood, cubic, reno, hstcp, hybla, vegas, veno, scalable, lp, yeah, illinois, hctp, advanced, highspeed.
    • New I/O Schedulers added :-
      fiops, vr, zen, sio, bfq, cfq, deadline, noop, tripndroid, fifo
    • Added KCAL v2 by Savoca
    • Optimized slub memory allocation
    • Increase torch power by 20 mA
    • Added stereo call recording support
    • psx2usb
    • Added NVIDEA Power effecient patches
    • Changed CFlags = Ofast
    • Optimize sfck compression
    • Many sched tweaks and optimizations (see GitHub)

    R1 --> 12/06/2015

    • Initial Release
    32
    FAQ

    FAQ

    This kernel does not have X, Y or Z feature. Please add it !
    No such requests shall be entertained.
    For this device the closer to stock we are, the better it is. Hence no need for "fancy" useless features/tweaks. The main aim of halogen is to bring performance without compromising stability & battery. And that is what I intend to do.
    AND if you really want this or that feature which is not there in halogen, please feel free to compile your own builds.

    Oh no ! I encountered a BUG !
    Upload the file named last_kmsg that located in /proc/last_kmsg. It contains kernel logs. Clearly state the bug / what you experienced along with your current kernel settings. Bug reports without logs will be ignored.

    Recommneded settings ?
    Halogen is pre-configured for best. For custom settings please google, do some research and you are encouraged to post your own settings in this forum. You can start here.

    My battery drained overnight !! Look at these screenshots...
    Not a halogen fault. The kernel does not “drain” battery. On Android devices, the kernel provides a mechanism for keeping the phone awake, called a wakelock. Processes running on the device (e.g. apps and services) can ask the kernel for a wakelock, and the kernel will oblige. So yes, the kernel is technically keeping the phone awake, but only because an app or service has asked it to. It is these apps and services that are misbehaving and causing drain, not the kernel. Doze mode, introduced in Android Marshmallow, is designed to limit the time that apps and services can wake up the device.
    All thanks to @flar2 for his excellent post.
    18
    Updates !!!

    R28 --> 08/06/2016

    • Merged CM Updates
    • AROMA installer
    • tripndroid iosched
    • CPU optimizations
    • ARM tweaks and updates
    [ DOWNLOAD ]


    NOTE :-
    With this update there will be no separate downloads for OC builds. They are included as an option in the aroma zip. Just select the type of kernel you want to install.
    16
    KERNEL UPDATE !

    Changes -->
    • Merged CM Updates
    • Updated bfq io-sched
    • Updated kernel to v3.4.109

    NEWS !!!
    As you all might be knowing that CM has started working on CM 13.0, work is also going on msm8226 kernel ( i.e kernel for moto devices). See GitHub.
    As soon as cm-13 gets officialy released, I will also release an update to this kernel and make it 'Marshmellow' compatible !