[Nexus 5 Original Android Development] eng.stk:
Hi guys! Here comes the first custom kernel in xda for L-preview :)

I'm presenting my personal kernel Code_Blue, that started as an addon for Purity ROM, called Purified Kernel.

Some of you that know me from other Nexus devices asked me to bring back the project, so I (finally) did.

My releases are Dragon_Shield powered and I'm going to share them with you.

All I want is full smoothness, performance and battery on my hammerhead, so I build always with Linaro optimized Cortex A15 toolchains.

This time I aim for a "stockish" feel lean build and for stability purposes I will stay with GCC 4.9.2 for now.

Code is based of android-msm-hammerhead-3.4-l-preview, forked from android/kernel_msm.

Useful and powerful picks are mandatory :cool:

Be sure to join Code_Blue users G+ community

You keep the spirit alive!

Kernel features:

Build on Ubuntu 14.04.1 x86_64 (Dragon_Shield VPS @ www.servercore.com.br - thanks [MENTION=5870543]ChristianLetti[/MENTION])

Build with toolchains 2014.09 Linaro Cortex-A15 GCC 4.9.2 by [MENTION=4825437]Christopher83[/MENTION]

Full -Ofast+graphite support with device and target flags enhanced, linaro build improvements, etc

Based on android-msm-hammerhead-3.4-l-preview + own commits & cherry-picks on demand from several top devs, code aurora, linaro...

Kernel compressed with LZ4-r123, custom tweaked RAMdisk with GZIP (faster boot times)

Removed some debug and logging options

Enhanced performance and battery patches

Several CPU Governors (blu_active own governor is default)

Voltage Control UV_mV_table by [MENTION=3292224]franciscofranco[/MENTION] (UV down to 700mV possible)

Enhanced TCP methods (westwood is default)

Network and Wifi tweaks

Several I/O control (FIOPS is default)

Removed stock mpdecision and thermald

blu_plug: Dynamic hotplug for hammerhead (based in dyn_hotplug from [MENTION=3750240]stratosk[/MENTION]), with screenoff battery saving (max_freq 1190400 @ max dual core)

powersaver_mode available (switch usefull on light tasks, set max_freq 1728 MHz @ single core)

L msm_thermal by [MENTION=3292224]franciscofranco[/MENTION]

Optimized RWSEM, AES and SHA1 routines

Vibrator Strength tunable (60% default)

KGSL fixes and reworked GPU driver (removed doubled freqs, goes to idle @ 27MHz)

Gamma Control by [MENTION=4152171]myfluxi[/MENTION], Piereligio_TrueRGBv7 profile by default)

LCD_KCAL driver added (RGB calibration by [MENTION=4316709]savoca[/MENTION])

Tuned min manual brightness

OTG USB flash drives support FAT32, ExFAT and NTFS: use stickmount

CDROM emulation added to mass_storage (Drive Droid compatible)

Kexec (multirom) full support by [MENTION=3418703]Tasssadar[/MENTION]

Faux Sound Control, with In-call and headphone volume controls by [MENTION=3332811]faux123[/MENTION] (must use FauxSound beta app v1.2.3 and up)

doubletap2wake available (0:disabled, 1:enabled, 2:enabled fullscreen), option to disable with power button or after wake_timeout (based on [MENTION=4684315]flar2[/MENTION] and [MENTION=358990]show[/MENTION]p1984 work)

USB Fast Charge (USB mode up to 900mA with MTP, by [MENTION=4684315]flar2[/MENTION]), Increase battery charging current to use higher input current (on AC mode by [MENTION=3332811]faux123[/MENTION]), proprietary charger detection

init.d support (busybox run-parts required)

Kernel cleaner script by [MENTION=3795148]neobuddy89[/MENTION]

Compatible with Kernel Manager, Kernel Tweaker, TricksterMOD, Franco Display Control and FauxSound Control

Featured on Rom Directory by [MENTION=3138090]tFrost[/MENTION]

Download latest Code_Blue Kernel zip on Test folder, flash in recovery and profit :highfive:

No mirrors allowed. Don't post hardlinks, use original links.

Changelog is available @ website also.

Builds are coded as follows:

test only for now on tests folder, no changelog, build with Linaro Cortex-A15 4.9.2 to minimize issues in troubleshoot.

Warning: If you come from other kernel, you should dirty flash your ROM before flashing Code_Blue zip to avoid problems.

Reflash ROM -> flash SuperSU -> Boot device -> flash Code_Blue.

Also uninstall or clean data of any kernel control app you're using.

If you like my work and wish to donate, just hit one of the buttons:

In €

In $

Thanks to [MENTION=3292224]franciscofranco[/MENTION], [MENTION=3332811]faux123[/MENTION], [MENTION=702102]LaboDJ[/MENTION] [MENTION=4195844]show-p1984[/MENTION], [MENTION=4684315]flar2[/MENTION], [MENTION=3685904]anarkia1976[/MENTION], [MENTION=3750240]stratosk[/MENTION], [MENTION=3795148]neobuddy89[/MENTION], [MENTION=4152171]myfluxi[/MENTION], [MENTION=4825437]Christopher83[/MENTION], [MENTION=5105835]Cl3Kener[/MENTION]

Special thanks to [MENTION=1982207]DariosF[/MENTION] and [MENTION=4545027]ciprianruse88[/MENTION], for the friendship, initial push, knowledge and art.

Awesome graphics and design by [MENTION=4545027]ciprianruse88[/MENTION]

git source