[Moto G 2014 LTE Android Development] zakee94:
EXPERIENCE HALOGEN | EXPERIENCE AWESOMENESS​

For Changelogs please see POST #2.

For Recommended Settings please SEE HERE.

DISCLAIMER :-

​

/*
* 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.

If you don't know what Doze is, google it.

WHAT IS THIS KERNEL ?

​

This kernel is built especially for these 3 things :- 1. Audio, 2. Performance, 3. Battery Life.

I will try to bring in as many features as possible, and at the same time ensure that there are no conflicts / incompatibility issues.

FEATURES :-

​

(features of ONLY the

latest version

is mentioned)​

Based on Linux Kernel 3.4.42

AROMA installer v3.0

Updated with the latest CM13 sources

Built with UBER Toolchain GCC-6.0

Any Kernel script used

Kexc Hardboot patched

Built with -O3 & -graphite flags for enhanced performance

GPU OC to 533 MHz & UC to 100 MHz

Disabled PowerHal log spam (thanks to @attack11)

Implemented LoUIS cache

Audio :-

Faux Sound Control v3.2

Headset in high performance profile

24 bit audio support

Low latency audio playback

Slimbus overclocking for superior audio quality

DOLBY dap dependency fix

Ultrasound & ASoC : qdspv2 tweaks

Battery Saving/ Performance :-

Readahead set to 512

Set sched_mc_power_savings to 2

Enabled CPU boost

NVIDEA Power efficient patches

Optimized slub memory allocator

Optimize Sfck Compression

Sched Tweaks (see GitHub)

Add Frandom

Power effecient work queues enabled by default

Reclaim RAM from loggers, increasing default ram to 886 Mb

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

Many tick, clockevents & timer tweaks (see GitHub)

Lower swappiness

msm:kgsl tweaks(see GitHub)

CPU Governors :-

intelimm, intellidemand, intelliactive, smartmax, conservative, ondemand, userspace, powersave, performance, interactive, impulse, yankactive, zzmoove

CPU Hotplugs :-

Intelliplug, MSM Hotplug, mp-decision, Bricked Hotplug

GPU Governors :-

msm-cpuferq, msm-adreno-tz, userspace, powersave, performance, simple_ondemand, conservative.

I/O Schedulers :-

fiops, vr, zen, sio, bfq, cfq, row, deadline, noop, fifo, tripndroid

TCP Congestions :-

westwood, cubic, reno, hstcp, hybla, vegas, veno, scalable, lp, yeah, illinois, hctp, advanced, highspeed.

Others :-

Ability to use your device as USB Keyboard / Mouse (use

this apphttps://play.google.com/store/apps/details?id=remote.hid.keyboard.client&hl=en

)

Stereo call record support

Increase torch power by 20mA

psx2usb

KCAL v2 by Savoca

Added Adreno Idler

GPU tweaks (see GitHub)

Dynamic FSync

Intellithermal v2

Added optimized square root algorithm

Added optimized ARM_RWSEM algorithm

Added state notifier driver

Enabled quick wakeup

NOATIME and NODIRATIME as default

NEON kernel mode

Ex-FAT support

SE Linux tweaks

SE Linux set to permissive

Random / Frandom / Prandom tweaks

Entropy tweaks

Mutex & futex tweaks

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 Motrola's Kernel, this kernel will also be updated.

Further, I will also be personally adding features to this kernel along with tweaks and optimizations as and when needed.

DOWNLOADS :-

​

(do not mirror my links)​

[ Latest Version ]​

[ Older Versions ]​

TEST BUILDS with OC & UV :-

​

These builds contain the following extra features ( when compared to normal /stable builds ) :-

CPU OC to 1593.6 MHz

CPU UC to 96 MHz

CPU UV hardcoded and can't be changed

Associated RamDisk changes

Since OC will not work without associated ramdisk changes, hence test builds are available as boot images rather than anykernel zips.

Now there had been reports of bootloop with blisspop & rr roms and certain other roms. I looked into this and found out that even though they are based on cm kernel,

their ramdisk sizes are different

, hence bootloop on using boot.img but no bootloop on using anykernel zip ( since, anykernel works irrespective of ramdisk size).

Now it is highly unfeasible to build a boot.img for every different rom and upload them separately. Hence, I have decided NOT to include OC/UC in the stable builds.

Hence these images will only work on aosp and cm13 roms.[/I] Any rom having ramdisk size different than that of official cm13 or official slim(aosp), will not be supported. Hence no support for OC in rr/bliss.

INSTALLATION INSTRUCTIONS :-

​

Reboot into recovery.

Make a nandroid BackUp.

Select Install zip from SD Card.

Select the Downloaded zip (different builds are present as an option in AROMA).

Then Reboot to System.

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.

XDA:DevDB Information

HalogenKernel, Kernel for the Moto G 2014 LTE

Contributors

zakee94

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

Kernel Special Features: Ultra High SOUND, Kexec, KCAL, Intellithermal, MSM Hotplug

Version Information

Status: Alpha

Current Stable Version: R29

Stable Release Date: 2016-07-24

Created 2016-02-02

Last Updated 2016-07-24