[Nexus 4 Android Development] eng.stk:
Hi guys!

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

Now, this project got bigger and has a life of it's own. My nightlies are called Blue Panda and I'm going to share them with you.

All I want is full smoothness, performance and battery on my mako, so I build always with latest Linaro.

Code is based of android-msm-mako-3.4-jb-mr2 plus franco commits and other useful and powerful picks.

Kernel features:

Build on Lubuntu 13.04 x86_64

Build with Linaro 13.09 (arm-gnueabi- by [MENTION=4825437]Christopher83[/MENTION])

Full -O3 support (SLAB Allocation), with cpu and target flags enhanced, linaro build improvements, etc

Based on android-msm-mako-3.4-jb-mr2 + franco commits, cherry-picks on demand

Merged Linux 3.4.61+

Enhanced performance and battery patches

Several TCP methods (westwoood default)

Several I/O control (deadline default, better with 1024 buffer, 512 is safe)

CPU OC with several governors(interactive default, from 192~1836MHz: 348~1512MHz default, 192MHz step on StandBy to save battery)

MP decision off and thermald custom (use amazing hotplug routines and thermald by [MENTION=3292224]franciscofranco[/MENTION])

Vibrator Strength tunable (70% default)

FSYNC on/off and temp limit tunable

GPU OC up to 533 MHz (128, 200, 320, 400, 487 and 533 MHz max frequency tunable) and BW tweaks

GPU simple governor by [MENTION=3332811]faux123[/MENTION]

Hotplug and Touch Filter tunable controls (thanks [MENTION=3292224]franciscofranco[/MENTION])

UV tables (thanks [MENTION=2677519]mathkid95[/MENTION]), minimum 650mV (faster chips say thanks)

Gama Control by [MENTION=3332811]faux123[/MENTION] My own tweaked values based on PA Halfbreed)

Sweep2wake enabled, unlock/lock screen with gestures (thanks to [MENTION=4195844]show-p1984[/MENTION] and [MENTION=3332811]faux123[/MENTION])

Faux Sound Control, with In-call and headphone volume controls

Fast Charge toggle (thanks to [MENTION=943078]motley[/MENTION])

Tweaked Ramdisk for AOSP, CM and derivatives

BLX tunable (thanks to [MENTION=2677519]mathkid95[/MENTION])

FOR JB 4.2.2: Download Purified.Kernel_r77_mako.zip, flash and profit :highfive:

FOR JB 4.3 [JSS]: Download Purified.Kernel_r153_mako_*.zip, flash and profit :highfive:

FOR JB 4.3 [JWR]: Download Purified.Kernel_r172_mako_*.zip, flash and profit :highfive:

Note: _* stable is GCC 4.7.4 and test is GCC 4.8.2

Download mako_JWRtoJSS_screen_tearing_v1.0_modded_by_eng.stk.zip, make JWR kernel to be JSS ROM compatible :highfive: (hacky and to test)

Download CM10.2 Unofficial Linaro build with Purified Kernel inside :highfive:

CHANGELOG:

[B][COLOR="Red"]Blue Panda r175 (removed):[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Build with Linaro 13.09 (arm-gnueabi- by [MENTION=4825437]Christopher83[/MENTION])
[*]Latest franco r183 commits
[*]Merged Linux 3.4.61+
[*]GPU and OC/UV tweaks and fixes, BW optimizations
[*]Performance and battery tweaks
[*]s2w improvements part II (could be better, could be worse - thanks to [MENTION=2064683]ramgear[/MENTION])
[*]Disabled some debug options and enabled wakelock stats
[*]SOund fixes by [MENTION=3332811]faux123[/MENTION] and [MENTION=3750240]stratosk[/MENTION]
[*]Fixes from codeaurora, allocators optimizations and bugfixes, other nice stuff (see git - thanks to [MENTION=3685904]anarkia1976[/MENTION] and [MENTION=702102]LaboDJ[/MENTION])
[*]Other smal stuff see git
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r172:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Totally rebased native JWR, all the features of JSS version but much more streamlined
[*]GPU and OC/UV tweaks and fixes, BW optimizations
[*]GPU simple governor performance and battery tweaks
[*]s2w improvements (could be better, could be worse lol)
[*]Latest franco great commits
[*]Probably a zip will be made to make this JWR kernel compatible with JSS ROMs :fingers-crossed:
[*]And yes, it's blazing fast but be aware, 1836MHz CPU OC is not stable in Antutu (don't know about latest update), can crash or brick your device. You have been warned.
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r153:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Merged Latest franco r178 commits
[*]Enabled faux sound 3.x
[*]Small fixes
[/LIST][/COLOR]
[B][COLOR="Red"]Blue Panda r152:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Added CPU OC from 192~1836 MHz
[*]Added aggressive UV tables (thanks [MENTION=2677519]mathkid95[/MENTION]), 192MHz step on standby to save battery
[*]GPU OC and BW tweaks and fixes
[*]Small fixes
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r145:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Builded stable and test with latest snapshot Linaro 13.08 arm-gnueabi- by [MENTION=4825437]Christopher83[/MENTION]
[*]Latest CM10.2 mako kernel commits
[*]GPU OC up to 533 MHz (128, 200, 325, 400, 487 and 533 MHz max frequency tunable)
[*]GPU BW tweaks (thanks to [MENTION=2064683]ramgear[/MENTION])
[*]Small fixes
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r139:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Builded stable and test with latest snapshot Linaro 13.08 arm-gnueabi- by [MENTION=4825437]Christopher83[/MENTION]
[*]Merged Linux 3.4.59
[*]Latest CM10.2 mako kernel commits
[*]Latest faux commits on fauxsound
[*]sweep2wake: disable on boot
[*]Ramdisk tweak
[*]Small fixes
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r133:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]sweep2wake: sleep the data thread for 40ms to allow i2c to wake up
[*]JWR GPU drivers are available as a separated download, to make my JSS kernel JWR compatible ;)
Be aware this is a hack though, could be tricky
[*]Added as a separated download CM10.2 Unofficial Linaro build with Purified kernel r133 inside :highfive:
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r132:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Remerged CM10.2 mako kernel commits, found some derps
[*]Enabled more kernel governors (the ones that matter :silly:)
[*]Small fixes
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r130:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Merged Linux 3.4.58
[*]Merged CM10.2 mako kernel commits
[*]Compilation tweaks, test kernel fixes
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r127:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Trying to fix kernel panics on test build. Actually both versions are smoother IMO :fingers-crossed:
[*]Latest franco r176 commits
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r121:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Latest franco commits
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r120:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Hopefully Ramdisk hack is finshed for crossrom compatibility, Superuser and SuperSU full on
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r117:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Merged Linux 3.4.57
[*]Enable modules support
[*]Reverted CM and PA changes to Ramdisk (CM is unstable yet, PA went JWR)
[*]test build went -O3 again :fingers-crossed:
[*]Small tweaks and fixes
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r116:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Latest franco commits
[*]Added BLX
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r114:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Small fixes
[*]GCC 4.8.2 test build with -O2 to check stability
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r113:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Tweaked Ramdisk for AOSP, CM10.2 and PA (didn't test this last one, just try)
[*]Superuser and SuperSU problems are apst, full support now
[*]Small Ramdisk performance changes
[/LIST][/COLOR]
[B][COLOR="Red"]Blue Panda r107:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]AnyKernel solution by Koush and motley (thanks [MENTION=584916]ziddey[/MENTION] to bring that up) for su support across all ROMs.
[*]Your ROM original kernel must be installed first (cleanflash advised)
[*]Release has 2 version: stable with GCC 4.7.4 and test with GCC 4.8.2
[/LIST][/COLOR]
[B][COLOR="Red"]Blue Panda r104:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Linaro 13.07 GCC 4.8.2 build
[*]Merged Linux 3.4.56
[*]Small Ramdisk changes
[/LIST][/COLOR]
[B][COLOR="Red"]Blue Panda r103:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Linaro 13.07 GCC 4.8.2 build (hard work with my friend [MENTION=3685904]anarkia1976[/MENTION], glad he nailed it first :) )
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r102:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Merged franco r174
[*]Performance improvements to CPU and GPU
[*]Small fixes and improvements
[*]Linaro compiler optimizations tweak
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r99:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Fixed Superuser and SuperSU compatibility, works with CM10.2 integrated SU
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r98:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Merged Linux 3.4.55
[*]Merged franco r173
[*]CPU UV and performance patches
[*]FSYNC control
[*]Fast charge control
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r92:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Build with Linaro 13.07 gcc 4.7.4 (arm-eabi official), still very unstable to do a GCC 4.8.2 build
[*]Based from franco r171
[*]Merge branch android-msm-mako-3.4-jb-mr2 for latest JSS15J ROMS (Purity!)
[*]Most of JB 4.2.2 build features, cleaned and margin to improve.
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r77:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Build with Linaro 13.07 gcc 4.8.2 (arm-eabi official)
[*]Switch to Sound Control by [MENTION=3332811]faux123[/MENTION, deprecated franco sound control
[*]Some small improvements to compilation and fixes
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r73:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Build with Linaro 13.07 gcc 4.8.2 (arm-gnueabi by [MENTION=4825437]Christopher83[/MENTION])
[*]Merged Linux 3.4.54 changes
[*]Switch to Gama Control by [MENTION=3332811]faux123[/MENTION] (PA Halfbreed values default), deprecated franco colors control
[*]Some small improvements to compilation and fixes
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r70:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Build with Linaro 13.07 gcc 4.8.2 (arm-gnueabi by [MENTION=4825437]Christopher83[/MENTION])
[*]Merged Linux 3.4.53 changes
[*]Franco nightly r163 merges plus latest commits
[*]Some small improvements to compilation and fixes
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r66:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Latest franco commits (CPU management)
[*]Some small improvements and fixes
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r65:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Merged Linux 3.4.52
[*]Latest franco r162 and later commits
[*]Some improvements and fixes
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r64:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Linaro 13.06 gcc 4.8.2 builded
[*]Merged Linux 3.4.52+ changes
[*]Merged from latest franco r162
[*]Re-enabled GPU OC 487.5MHz (not go to max, trying just a little step up, without sacrificing battery and UV. 90% of the time GPU stays @ 128~200MHz with simple governor)
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r55:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Build with arm-eabi Linaro 13.06 GCC 4.8.2
[*]Merged Linux 3.4.51
[*]Latest franco M3 commits (awesome smoothness and bat life)
[*]Tweak configs and compiler settings
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r52:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Build with Linaro 13.06 GCC 4.8.2
[*]Merged Linux 3.4.50
[*]Latest franco r666 commits (hello simple GPU governor :) )
[*]Sweep2wake fixes and improvements
[*]Tweak configs and compiler settings
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r41:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Merged Linux 3.4.47 changes
[*]Fixed Linaro 4.8.1 test build bugs.
[*]Merged some tweaks from [MENTION=702102]LaboDJ[/MENTION] and [MENTION=3685904]anarkia1976[/MENTION]
[*]Optimizations to makefile, defconfigs and compiler
[/LIST][/COLOR]

[B][COLOR="Red"]Blue Panda r38:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Reverted 3.4.47 changes (instable in some situations)
[*]Tried Linaro 4.8.1 test build (not totally stable yet), don't see improvements over gcc 4.7 build
[*]Merged franco to nightly r151
[*]Using turbo charged hotplug and tweaks on Interactive and Deadline from franco
[/LIST][/COLOR]

Thanks to [MENTION=3292224]franciscofranco[/MENTION], [MENTION=3332811]faux123[/MENTION], [MENTION=702102]LaboDJ[/MENTION] [MENTION=4195844]show-p1984[/MENTION], [MENTION=2687601]Metallice[/MENTION], [MENTION=3685904]anarkia1976[/MENTION], [MENTION=2064683]ramgear[/MENTION], [MENTION=3750240]stratosk[/MENTION]

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

Kernel files hosted @ nexus4.longren.org, kindly provided by [MENTION=4187607]tlongren[/MENTION]. Powered by vpsstat.us

Extra: Awesome signature and wallpaper by [MENTION=4545027]ciprianruse88[/MENTION]

source github