[Moto G 4G Android Development] Kayant:
This is a port of Hurtsky's Kernel by Hurtsky for Peregrine​

Must sure to thank him - Here​

Attention

/*

I'm not a developer, im taking effort to put more choices of kernel for our community.

This kernel is tweaked for my own taste.

Please do not request for more features because i want to ensure the stability of the kernel first.

And thank you for using this kernel.

*/

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 ROM
* 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 laugh at you.
*/

WARNING !! Please read before proceeding to download section as to avoid any confusion happen !

This thread contain 2 kind of kernel which is SIMPLER and EXPERIMENTAL-HYBRID Version

EXPERIMENTAL-HYBRID Version (click here for EXPERIMENTAL version)

​

CODE NAME: SIMPLER VERSION

"this kernel using stock CM kernel and only add few features without touching others driver configuration – known to be most stable one – updates only be done if CM updates their kernel only "

Features

Optimization Flags

- Compiled with latest Built with latest custom Gcc 5.1 ArchiToolchain optimized for Cortex-A7

- -O3 Optimization (optimize for more performance! )

- Graphite optimizations

- Optimized ARM RWSEM algorithm

Hotplug Drivers

- mpdecision hotplug

Governors

- zzmoove Governors with tweaked profile for moto G - please read #4 post for more information

- yanactive governor

- impluse governor

- disabled CPU-Boost - we already boosted enough with interactive !

IO schedulers

- ZEN (tweaked for mobile usage)

- SIO

- FIOPS

- VR

- noop

Audio and Sound Tweaks

- Faux Sound Control

- add high performance mode audio (enabled by default)

Extra Users Change-able Features (please refer to #4 post for more explanation in how you can adjust this below features)

- Dynamic management of dirty page writebacks

- implement s2w dt2w with pocket mode

- filter WAKEUP from francisco

- implement doubletap2wake, sweep2wake and sweep2sleep

- KCAL support for post processing control [v2]

- selinux in permissive - not in force, you can change it to enforcing if you want

- Enabled all kind Advance TCP

Quote:

Extra Driver Modification differ from stock/CM kernel

- GPU driver aligned with CAF latest update

- Enabled ULPS(Ultra Low Power) for panel ! - save more power !

- Enabled Dynamic FPS for panel ! - save more power !

- add lcd notifier for dt2w/s2w and akm8963 usage

- AKM8963 driver used lcd notifier (keep phone sensor suspend during LCD off to save more power usage)

- powersuspend - USERS cant configure it (no sys support) - all hotplug driver in this kernel use powersuspend – powersuspend is hooking panel on/off state.

- silenced various kernel logs

DOWNLOADS

:

AndroidFileHost

or

XDA check the downloads tab

Installation Guide :

Using TWRP

1. Download the kernel and place it into your phone storage

2. Reboot into recovery

3. Reinstall(Dirty flash) Rom + the kernel

4. Reboot and enjoy!

or

2. Flash it using Flashify

[I]Credit to :-[/I]
- hurtsky for being awesome and sharing his work
- CyanogenMod Developer team for providing the source
- developers that contributed in my github changes - all credit goes to them
- xda-developers.com
- and to all my kernel users, thanks.

XDA:DevDB Information

HurtSky Kernel, Kernel for the Moto G

Contributors

Kayant, hurtsky

Source Code: https://github.com/Kayant/android_kernel_motorola_msm8226

Kernel Special Features:

Version Information

Status: Stable

Created 2016-01-17

Last Updated 2016-09-06