[Moto G 4G Android Development] DC07:
Spirit Kernel

This kernel is ONLY for AOSP based ROMs. This will NOT work on the stock Moto roms.

I will update this regularly as I have time and will add new features and fixes as well.

If you have any feature requests or ideas that haven't been seen before, don't hesitate to post it here!!​

PLEASE READ

How to report a bug?

Include the following in your bug report:

The ROM you are currently using + a link to the ROM's thread

A log, preferably dmesgs or kmsgs (use Google to find out how to pull these from your device)

The version of SpiritKernel you use (=rx, e.g.r3)

Bug reports not meeting these requirements will be ignored.

NO BUG REPORTS ON EXPERIMENTAL BUILDS!
​

Features

This Hybrid kernel contains features from great kernel devs with like faux,franco and neobuddy,optimized for titan to make it work.Initially there are less features but I will add much more soon :)

[*]Based on the Latest CyanogenMod sources

[*]Patched 3.4.107 kernel

[*]Governors: ondemand/userspace/powersave/performance/interactive/IntelliMM/inteliidemand/intelliactive/smartmax/pegasusQ

[*]Hotplug: MPDecision/MSM Hotplug/Intelliplug(default)

[*]Intellithermal v2

[*]DT2W/S2W/S2S Wake controls

[*]CPU Underclocking 192Mhz

[*]GPU OC 533Mhz | UC 100Mhz

[*]Add MSM Hotplug Driver

[*]Asynchronous Fsync extracted from HTC

[*]Sweep2Sleep driver

[*]Dynamic management of timer slack

[*]Slimbus OC thanks to neeobuddy89 and poondog

[*]increase Torch power 20mA

[*]Dynamic management of dirty page writebacks

[*]IO: BFQv7r7/FIFO/SIO/FIOPS/ZEN/VR IO Schedulers

[*]Faux Sound Control 3.2

[*]KCAL v2 by [MENTION=4316709]savoca[/MENTION]

[*]USB forced fast charge

[*]Stereo call recording support by skvalex

[*]Powersuspend from Faux and yank555-lu *updated to 1.8 after r8*

[*]Kernel Compression: XZ

[*]psx2usb controller

[*]Use Android device as USB keyboard/mouse

[*]optimized ARM RWSEM algorithm.

[*]Ultra Kernel Samepage Merging {UKSM}

[*]FRandom

[*]Dynamic FSync Control

[*]Added Simple GPU Algorithm

[*]WQ_POWER_EFFICIENT for bettery battery life. Hello Battery!!

[*]ANY Kernel

[*]Kexec hardboot patch for Multirom support

[*]TCP: HTCP/HSTCP/HYBLA/VEGAS/SCALABLE/LP/VENO/YEAH/ILLINOIS/WESTWOOD

Optimizations

[*]Compiled Using UBER 5.0 GCC

[*]Added optimized ARM RWSEM algorithm.

[*]Disable add_random

[*]Pocketmode and deepsleep for dt2w/s2w

[*]Optimized VFP Module

[*]FIx integer-overflow in veno,vegas

[*]Add sysinterface for GENTLE_FAIR_SLEEPERS

[*]NOATIME and NODIRATIME as default

[*]New 99LMK script by [MENTION=4725371]Pizza_Dox[/MENTION]

[*]Nvidia Patches to enhance power efficiency.

[*]Sched optimizations

[*]Increase battery level check interval

[*]writeback: increase bdi_min_ratio to 5

[*]block: cfq: merge tweaked tunables.

[*]Wait just 1 second for other CPU to halt

[*]net: combat buffer bloat

[*]PM: Introduce suspend state PM_SUSPEND_FREEZE

[*]Disable -fconserve-stack on ARM v2

[*]Enable power efficient workqueues by default

[*]do not use msm_run_queue_stats

[*]enable/disable cpu-boost via sysfs

[*]softirq: reduce latencies

[*]Built with Ofast flags

[*]Force SELinux permissive

[*]LowMemoryKiller management of non killable processes

[*]Headset High Performance Mode

[*]Allow CPU-supported unaligned accesses

[*]Enable UNALIGNED_ACCESS

[*]enable ARCH_POWER

[*]lower swappiness

[*]vfp: remove double entries

[*]Disable disable crc check for 30% extra performance in IO

[*]Optimized SLUB memory allocator

[*]Optimize Sfck Compression

[*]set sched_mc_power_savings to 2 (moar powarrrrrrr! saving)

[*]readahead to 256

[*]Built with Graphite flags

[*] Enabled Pipe Flag

TO-Do List

IntelliMM-intelliminmax

New Govs and I/Os

Intelliplug 4.0

GPU OC and UC

* Recommended app for tweaking the kernel: FauxControl,Kernel Auditor or TricksterMod

Recommended settings :

Governor: Intelliactive

I/O Scheduler: Fiops or row

TCP Congestion : Westwood

GPU Governor : Simple Ondemand Or Msm-adreno-tz

Hotplug : Intelliplug ( Keep screen off frequency to 787 MHz )

Powersuspend : Hybrid

Simple GPU Algorithm : On
​

How DO I flash this?

Reboot to recovery.

Install zip from SD Card.

Choose the SpiritKernel-Rx-titan.zip

Insatll and Reboot.

Changelog:

Click Me

Downloads:

Basketbuild

Source:

Github(branch:spirit)

Wiki containing changelogs,settings and more

Antutu Score: http://xdaforums.com/showpost.php?p=59736983&postcount=136

Credits goes to these SUPERHUMAN for Inspiration and support

(In no specific order)

faux123

Cl3Kener

slukk

luca020400

savoca

Anas Karbila

hurtsky

pinkflozd

YoshiShaPow

Flashhhh

flar2

And more

XDA:DevDB Information

Spirit kernel for peregrine, Kernel for the Moto G

Contributors

DC07

Source Code: https://github.com/DC07/spirit_msm8226

Kernel Special Features: DT2W/S2S+S2W/FRandom/Powersuspend/Hotplugs/GPU OC/UC/CPU Underclock/GCC 5.0 Compiled and More

Version Information

Status: Stable

Current Stable Version: r3

Created 2015-03-13

Last Updated 2015-04-21