[Nexus 4 Android Development] defconoi:
This is bleeding edge and may result in breakage, flash at your own risk.

Scroll down for updates, read everything.

This Kernel Takes the Best of Hellscore, Hellsdr, furnace, inception, mirage and Faux Kernel's for the ultimate performance on android L, this kernel is also compatible with Kitkat 4.4.4.

For all the features, use Synapse, and you must install UKM to see all the settings.

Grab UKM here

Grab Synapse here

Flash Busybox to enable /system/etc/init.d grab a flashable zip here

Faux Clock, Kernel Tweaker and other apps work, Synapse will show the most options

Older Kernels:

Features:

Intellidemand

Intelliactive

Intelli-Thermal

Intelli-Plug

Undervolting

FIOPS & ROW i/o Schedulers

Gamma Controls

Faux Sound

CM Gamma Controls

Double Tap to Wake

Init.d Support

Compiled with Linaro toolchain for speed

Only for Beta 4, flash in recovery

http://www.mediafire.com/download/he0fr6jl1liqehi/L-Kernel-Mako-Beta4.zip

New Kernel Beta 5 uploaded:

https://mega.co.nz/#!ikg11B5T!q71jC4pQL5sYK-rIVMn6dPHYiAOUq4sAMuN4zz4JWmY

New Features: Faux Sound, CM Gamma Control Interface

Beta 6: Internal Release to debug dt2w

Beta 7 Released with Double Tap 2 Wake:

https://mega.co.nz/#!jlwjQQSL!2Qh2_hSrw0nGdxZmo9hWTtCkkqsfCB_091gkw2nPixA

http://www.mediafire.com/download/5856max427q9t59/L-Kernel-Mako-Beta7.zip

Beta 8 Released with Faux Speaker:

http://www.mediafire.com/download/0j52si5500d3a7w/L-Kernel-Mako-Beta8.zip

L-Kernel Beta 9 Uploaded

http://www.mediafire.com/download/bv1fnffm66cwfg1/L-Kernel-Mako-Beta9.zip

*warning* if your CPU cannot handle -100 undervolt flash beta 8, I'll be reverting this change when I'm back home on Sunday.

Changes:

Lower 81Mhz CPU freq, and lowered voltages to -100mv by default and reduced CPU steps, you guys must reset Synapse, and redo your voltages. This should increase battery even further.

Beta 10:

Added kexec hardboot, UV -100 still default.

https://mega.co.nz/#!29gVBKaT!uYpRdT5_hGtPUEehSM2pLLc4gtN97J6LA5cjfiS1qeA

New Ultra Kernel Build is up:

New Features:

Ultra Kernel Same Page Merging

Customized Lower backlight LUT for power Saving

Enabled TCP_westwood, vegas, veno, and cubic, set Westwood as default.

Added CK Patches for Speed and battery.

Added simple GPU Governor

Enabled 450Mhz GPU Overclock

Removed Undervolt -100 by default by request.

Now has default Faux CPU Voltage Table

Overclocked to 1.84Ghz

Notes:

You must reset Synape App data or Reinstall after reboot, also voltages will need to be adjusted.

You'll Need UKM, grab it Here

You'll Need Synapse, grab it Here

Kernel 15u:

https://mega.co.nz/#!zxAVyLiS!pkk1LycxUgNFs2sd31cM5FYhHW4Pf4M8lx1x1t3TRGA

Kernel 16u Fixes wifi:

https://mega.co.nz/#!SkAXVZIL!HFce8qB2k11MdjsQe5pgZBdS2MlIZhEed-TQKLFuNSk

New Kernel Build 18

https://mega.co.nz/#!e0pzgLYZ!L-L7YCB0Eia4oCtv16ZyQAMqVeKtIsQWbkC3LKUXtig

Fixed Wifi

Max Clock set to 1.5Ghz

Underclocked down to 94mhz

For those that like the OC, stick with 16u, with this you should get better battery life and great performance.

You need busybox installed for init.d support.

Synapse does not remount the system rw before setting an init.d script in WAKE, so first go to terminal or ADB Shell and type:

mount -o rw,remount /dev/block/platform/msm_sdcc.1/by-name/system /system then open Synapse and click Set Init.d script with sweep to wake.

In /etc/init.d/ you should now have a file named UKM_WAKE:

#!/system/bin/sh

#This file was generated automaticaly from Synapse/UKM.
#It contains wake options to be applied from init.d script.

echo 1 > /sys/devices/virtual/input/lge_touch/dt_wake_enabled

New Ulltimate Kernel Series Features:

Compiled with Linaro 4.7.4

New 3.4.99 Kernel

LZ4 Compression

Min Freq: 94500

Max Freq: 1512000

TCP: HTCP/HSTCP/HYBLA/VEGAS/SCALABLE/LP/VENO/YEAH/ILLINOIS/WESTWOOD(default)

FS: exFAT/F2FS

IO: ROW/BFQ/SIO/FIOPS/ZEN/VR/NOOP/CFQ/DEADLINE(default) / (default readahead - 512)

GOV: intellidemand/intelliactive/ondemandplus/wheatley/ondemand(default)/userspace/powersave/performance/interactive/SmartMax/Stockdemand

HotPlug: MPDecision/IntelliPlug(default)

Voltage Control

TouchWake

Semaphore DoubleTap2Wake

Bidirectional Sweep2Sleep

Sweep2Dim

Gamma Control

Battery Life eXtender

Force Fast Charge

FSync system call control

Faux123's Sound Control

FRandom

VFP Hardfloat

CPU-Boost via sysfs

Linaro's Power-Efficient Workqueue

Intelli-Thermal

Intelli-Battery

Ultra Kernel Same Page Merging

OTG

Fixed Wifi & More stuff I forgot lol

Older Ultimate Kernel Series Kernels: (depreciated) use Ultimate 2

Kernel 23u

https://mega.co.nz/#!a9RBlYqB!FPp1Cm...LGq8v_t_LGSS8M

Kernel 24u:

Added Simple GPU Governor & GPU Overclocking to 450

Added missed PowerHal lib so Input_boost works with intellidemand, intelliactive & intelli_plug

Added missed USB Host permissions file

https://mega.co.nz/#!zkxylbTB!XAsd-7SLaks2ho2sXxa1pS90u7HAgOxO5hehcF9uVeA

Kernel 25u:

Fixed Faux Speaker Amp controls

Misc Lowmemory Killer tweaks

https://mega.co.nz/#!m9AiWA6K!UPI5E0rlNJ0lwng7Azs7_zPpjUbvgl2HENdW4wwhC5o

Kernel 26u:

Fixed power.msm8960.so permission for boostpulse

http://www.mediafire.com/download/89n59fcqey8n3s9/defcon-26u-Preview_mako.zip

New Ultimate Series 2 Kernel: Based off of inception, hellsdr, furnace, ak, faux, codeaurora forum upstream code.

Updated to Kernel 3.4.101

Underclock down to 81mhz

overclock to 1.94Ghz

Fixed Prima drivers

completely removed MP_Decision and old hotplug code

MSM_hotplug improvements

Added lots of CPU Governors

Absolutely a ton of updates.

Updated LZO Compression to current upstream version

Brought Back Faux Gamma/Display Colors by request.

added Slimrom Governor with optimizations

Lots of misc optimizations

Updated Linao

Optimized Intelliactive

Updated oom killer to support for_each_thread

Updated lowmemorykiller

Thermal Improvements

Futex Optimizations

Entropy Tweaks

Add & enable MSM_SHAREDMEM

Backported 3.16 scheduler updates to reduce IPI storm

Optimized Ondemand

TCP optimizations

AES Crypto Speed boost & Optimizations

Fixed HDR Camera crashes

Fixed some security issues in previous kernels

Added Network Speed Tweaks

Disable Prima debug crap code

Lots of bug fixes and so much more that I forgot to mention, be sure to follow my github for a more in-depth changelog here

Added AutoSmp Hotplug by [MENTION=4203114]mrg666[/MENTION]

Added msm_hotplug by MyFluxi

Added Latest Intelli-Plug by [MENTION=3332811]faux123[/MENTION]

AutoSMP hotplug to default starting at 34u

Added Faux zRam & Latest Optimizations

Updated Kexec Hardboot Patch

Updated Faux Sound Control

Updated Intelli-plug to 3.8

Updated SLUB memory optimizations

Updated frontswap, zcache, zmalloc

Tons of old code removed like PMEM and Drivers that are not necessary

Added Motorola Memutils

ion Updates

ext4 speedups & tweaks

cpufreq updates

acpuclock updates

Implemented Codel packet scheduler

tcp autocorking & tcp small queues

Brought back faux color instead of franco's by request

Intelli-Active and Intellidemand Latest updates

Mass Memory optimizations

Mass Futex Optimizations

LCD Linear & Exponential Settings added

Slim Governor Added

mpdecision removed

Updated Crypto

Crypto Optimizations for encrypted tunnels

Network Performance tweaks

Added userspace io adjustments

Added Ultra Kernel Same Page Merging, because it kicks KSM's ass

Intelli-Thermal set on boot

KGSL updates

Older Ultimate 2 Kernels:

Download:

http://www.mediafire.com/download/mxqgh4yl1nx77ok/defcon-31u-L-Preview_mako.zip

Test this thouroughtly, be sure to clear synapse before install, update your voltages

New Ultimate 2 Series Kernel 34u:

Download:

https://mega.co.nz/#!C5BC3YZY!ySNsZ6wZWn0mk5OwOO-iZWpmX6FDgsq7YhAbA8rAQSg

http://www.mediafire.com/download/1rb617jyx7in2yd/defcon-34u-L-Preview_mako.zip

Autosmp as default hotplug:

https://mega.co.nz/#!KowEQIDJ!XkvTAR_I7UVNd6EdzOwCCm7bz16slKoyTvHg1WbZjOk

Note: clear synapse and uncheck all governors to use autosmp ;)

To disable autosmp for other hotplugs use an init.d script because enabling an other hotplug will not disable autosmp unless you include this in init.d:

echo 0 > /sys/module/autosmp/parameters/enabled

[MENTION=5658634]apb_axel[/MENTION] said he is adding support for autosmp in next UKM release, stay tuned

Faux zram has been added :)

34u-zram

https://mega.co.nz/#!HxYEXbSa!H_zckE2cTCTrkrwbX1giHzkCfYYuzOvxW-iDJ-kdKyg

As requested here is a 4.4.4 Kitkat Kernel that is in anykernel format and should work with all Kitkat rom's

Version bump to 35u:

autosmp set to default hotplug(disable all hotplugs in synapse before reboot)

Faux zRam Added.

Repatched in kexec, because of problem reports

Kitkat Users Flash: (fixed)(fixed again lol)

https://mega.co.nz/#!q4oXVK7T!R8Na54rIUwQm19af1odmxCTQcoq0vIJWJsfaZ9D45W8

Android L Users Flash:

https://mega.co.nz/#!zsokUTRY!kefScnsSFicCjIDCao1Agdpr8QdkZ8mY-1rn1O0tYmI

Alternatively L users can flash Kitkat version, but init scripts depend on busybox installed.

Enjoy ;)

Kernel 37u-r2:

Updated AutoSmp Hotplug

Updated Intelliactive

Updated Faux Sound Control

Updated Intelli-plug to 3.8

Added KSM/zram optimizations

http://www.mediafire.com/download/mq6v4y193p15rtw/defcon-37u-r2-AnyKernel_mako.zip

http://www.mediafire.com/download/mq6v4y193p15rtw/defcon-37u-r2-AnyKernel_mako.zip

Kernel 38u-r999:(fixed otg)

http://www.mediafire.com/download/a629kr04bbaii5f/defcon-38u-r999-AnyKernel_mako.zip

Ultimate Kernel 2 Updated to 41u:

Added savoca's newer msm_hotplug

lowmemory killer optimizations

added lcd_notify for msm_hotplug

max suspend cpu's set to 1 for battery savings

Download:

msm_hotplug by default version:

http://www.mediafire.com/download/v7dy1481edsjjdx/defcon-41u-AnyKernel_msmhp_mako_.zip

Kernel 43u-r2:

More script optimizations and further tweaked autosmp

Added autosmp hotplug tunables to 99defcon

Added GPU max freq to 400 on boot

I dont see the point in uploading two zips one, msm_hotplug and another autosmp

default set back to autosmp because its just better ;)

Added misc ondemand updates

Added intelliactive as default cpu governor to 99defcon

Added Intelliactive BOOST to 99defcon init script

Added Minfreq down to 81mhz on boot

Added Power savings modes to be enabled at boot to 99defcon

https://mega.co.nz/#!ztw1xAyQ!iJkDyRdwUEqi0Tpw94G-W3u90UjHd-9_vFg_VkxNbQc

http://www.mediafire.com/download/o69e6ifnn93m79e/defcon-43u-r2-AnyKernel_mako.zip

New Unleashed Kernel Series 61u(ultimate)

New Kernel base based off bleeding edge Code Aurora Code(tons more things than I could list)

Fully Compatible with Android L

Fully Compatible with Kitkat

Fully Synced with mainline Linux 3.4.103-r1

Fully Removed mpdecision, & thermald, now using faux's latest intelli-thermal

Disabled MSM_Thermal because it was not keeping the temps down and lacks configurable options.(faux's is based on msm_thermal anyways and is much better.

Added F2FS Filesystem support

Added Faux Gamma by request to replace franco's

Added LoUIS API Cache maintenance ops to improve cpu hotplug efficiency/latency

Added Kernel Mode NEON acceleration

Disabled Prima debug for performance

added word-at-a-time ARM API Patches

enabled BPF JIT packet filter

disabled gentle fair sleepers in scheduler

Optimized and Secured AES/SHA1 routines

Updated Hardware Accelerated Random Number Generation from Qualcomm

backported Codel net scheduler from Mainline Linux and set it as default

Updated all CPU Governors with Latest Code Aurora Forum Code

Added Backported 3.8 Slub memory allocator from Linux 3.8

Added backported RWSEM from Linux 3.11 including lock stealing improvements

Added Backported mutex and rcu locking from Linux 3.10 & 3.8

Added Backported prandom & random updates from Linux 3.13

Built with Latest Linaro Toolchain available with -Ofast optimization

Removed unecessary Kernel debugging that slow down performance

Removed Tons of unneeded modules taking up memory and slowing down Android

Enabled Autogroup scheduler and applied per-uid task grouping for android

Removed PMEM completely, this is a Pure ION Kernel

Added glibc patch to imrpve performance of memcpy and memmove

Added Latest Memory optimizations from Motorola

Added Ultra Low 81mhz cpufreq

Added Ultra High Overclocking ability to 1.94GHz Per core

Added Ultra Kernel Same Page Merging for increased memory performance.

Added Latest OTG code available

Added GPU underclocking down to 27mhz

Added Latest Fast Charge code available

Synced Ramdisk with L-Preview (master) for improved compatibility with SELinux on android LPV81C

Added missing SE-Linux security options in defconfig

Westwood is set to default governor in Unleashed

Faux zram was removed because of its outdated code.

Added GPU Overclocking to 487mhz(400 is default)

Added Latest Franco Interactive GPU governor that replaced Simple GPU Governor

Added Latest Faux Speaker updates.

Added and Enabled Sweep to dim (Sweep over nav buttons left to reduce brightness(even past factory defaults) swipe right to increase.

Added BLX Battery Life extender(does anyone use this?) If so, here ya go ;)

Added Latest double tap 2 wake code

Added Latest AutoSMP Hotplug, (default)

Added Latest Intelli-plug from faux(must disable autosmp in init or Synapse(when [MENTION=5658634]apb_axel[/MENTION] fixes it)

Added Latest CPU Voltage control

Added LZ4 ramdisk compression for increased boot speed

Added and enabled KEXEC Hardboot Patch

Synced to Latest linux 3.4.103-r1

And tons more stuff I forgot, check Synapse for the most options available ;)

All future versions of this kernel are at the Ultimate Unleashed kernel thread:

http://xdaforums.com/showthread.php?t=2845768

[KERNEL] [4.4.4/CM/(L)] [Bleeding Edge] Ultimate Unleashed Kernel Series