Sony Xperia Z3 Lollipop Framework Ported to CM12

Android 5.0 for Xperia has a unique look and feel. You don’t have to get a Sony … more

Do You Use Recents as a Task Switcher?

Google introduced a revamped Recents interface with Lollipop in the hopes of making it easier for … more

YU Yureka All-in-One ToolBox (CM12S Only)

This packed toolbox by XDA Senior Member gohel.vishal makes many useful tweaks … more

Sony Xperia Z4 Forum Now Available

Sony’s Xperia line has seen plenty of development on XDA, and now that the Xperia Z4 has been … more
Thread Closed Subscribe to Thread Email Thread

[KERNEL] [Code_Blue r923] [Lollipop 5.1 / 5.0.* & CM12 (deprecated)]

View First Unread
28th March 2014, 06:44 PM |#1  
eng.stk's Avatar
OP Recognized Contributor
Thanks Meter: 13,289
 
2,693 posts
Join Date:Joined: Mar 2011
Donate to Me
More


Hi guys!

I'm presenting my kernel Code_Blue, that started as an addon for Purity ROM, called Purified Kernel.
Some of you know me from other Nexus devices asked me to bring back the project, so I 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.
I aim for a "stockish feel" lean build and for stability purposes I will stay with GCC 4.9.3 for now.
Code is based of android-msm-hammerhead-3.4-lollipop-mr1, forked from android/kernel_msm.
Useful and powerful picks are mandatory

Be sure to join Code_Blue users G+ community
You keep the spirit alive!


Kernel features:
  • Build on Ubuntu 14.04.2 x86_64 (Dragon_Shield VPS @ www.servercore.com.br - thanks @ChristianLetti)
  • Build with toolchain Linaro 2015.03 Cortex-A15 GCC 4.9.3 by @Christopher83
  • Full -O3 & graphite support with device and target flags enhanced, linaro build improvements, etc
  • Based on android-msm-hammerhead-3.4-lollipop-mr1 + own commits & cherry-picks on demand from code aurora, linaro, etc.
  • Kernel compressed with LZ4-r127, 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 (UV down to 700mV possible)
  • Enhanced TCP methods (westwood is default), Network and Wifi tweaks
  • Several I/O control (FIOPS is default), tweaked filesystems (F2FS, ExFAT, NTFS & CIFS available)
  • Removed stock mpdecision and thermald
  • blu_plug: Dynamic hotplug for hammerhead, with screenoff battery saving (max dual core @ max_freq 1190400)
  • Lollipop Battery save ready (Enable Battery saver, turn screen off/on to enable dualcore @ 729MHz. To resume normal operation, Disable Battery saver, turn screen off/on again)
  • Lollipop franco msm_thermal (default 70º C threshold)
  • Optimized RWSEM, AES and SHA1 routines (with neon support)
  • Vibrator Strength tunable (60% default)
  • KGSL fixes and reworked GPU driver (removed doubled freqs, goes to idle @ 27MHz), Simple GPU Governor by default
  • Gamma Control and KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
  • Backlight dimmer ready (disabled by default, tuned min manual brightness - level 3)
  • OTG USB flash drives automount support FAT32 (use stick mount if you have issues with other FS)
  • CDROM emulation added to mass_storage (Drive Droid compatible)
  • Kexec (multirom) full support
  • Faux Sound Control, with In-call and headphone volume controls (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
  • USB Fast Charge (USB mode up to 900mA with MTP, Increase battery charging current to use higher input current on AC mode, proprietary charger detection
  • init.d support (busybox run-parts required), Kernel cleaner script
  • Compatible with Kernel Adiutor, Universal Kernel Manager (do this if you have trouble in Lollipop), TricksterMOD, Device Control, Kernel Tweaker, Franco Display Control and FauxSound Control
  • Featured on Rom Directory by @tFrost

Download latest Code_Blue Kernel zip, flash in recovery and profit
No mirrors allowed. Don't post hardlinks, use original links.
Changelog is available @ website on github link.


Builds are coded as follows:
  • Releases build with latest Linaro Cortex-A15 GCC 4.9.3 (probably weekly).
    For KK the last build is r450
    For Lollipop 5.0.* last build is r884


Warning: If you come from other kernel, you must dirty flash your ROM before flashing Code_Blue zip to avoid problems.
Reflash ROM -> flash SuperSU -> Boot device and install busybox -> flash Code_Blue.
Also uninstall or clean data of any kernel control app you're using.

In case you want to use F2FS you need to know this:
  • fstab uses multi mount points in primary ROMs
  • In case you want to use f2fs, I recommend using just for RW partitions (data & cache), because system needs selinux permissive and Code_Blue will be always enforcing by default
  • Keep in mind that converting from ext4 to f2fs or vice versa in data partition, it will delete all your sdcard data! Backup before you do it!
  • Using ext4 or f2fs in system is pretty much the same, prefer ext4 in RO partitions because has nice performance and it is compatible with new update_block ROMs
  • If you have issues with Code_Blue in secondary ROMs on F2FS Data partitions (or want a F2FS-all setup in primary), just flash this zip after the kernel Code_Blue-F2FS_patch_hammerhead

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

In $



Thanks to @franciscofranco, @faux123, @LaboDJ @show-p1984, @flar2, @anarkia1976, @stratosk, @neobuddy89, @myfluxi, @Christopher83, @Cl3Kener, @hellsgod
Special thanks to @DariosF and @ciprianruse88, for the friendship, initial push, knowledge and art.

Awesome graphics and design by @ciprianruse88

git source
Attached Thumbnails
Click image for larger version

Name:	CB_Final_3_wp.jpg
Views:	81344
Size:	155.8 KB
ID:	2738194   Click image for larger version

Name:	CB_signature.png
Views:	135828
Size:	64.6 KB
ID:	2739433   Click image for larger version

Name:	CB_signature_2.jpg
Views:	81022
Size:	92.8 KB
ID:	2739853   Click image for larger version

Name:	14 - 1.jpg
Views:	40968
Size:	72.0 KB
ID:	3058788  
Last edited by eng.stk; 4th April 2015 at 03:07 PM.
The Following 505 Users Say Thank You to eng.stk For This Useful Post: [ View ]
 
 
28th March 2014, 06:48 PM |#2  
absoluterebirth's Avatar
Senior Member
Flag Atlanta
Thanks Meter: 96
 
318 posts
Join Date:Joined: Sep 2013
More
Nice! New kernels to play around with

Quick question: Can I flash this over ElementalX without having to dirty flash my ROM?
The Following User Says Thank You to absoluterebirth For This Useful Post: [ View ]
28th March 2014, 07:19 PM |#3  
Tommy-Geenexus's Avatar
Senior Member
Flag Stone Hill
Thanks Meter: 1,368
 
2,168 posts
Join Date:Joined: Apr 2013
More
Great kernel remember you from my N7 days


Gesendet von meinem Nexus 5 mit Tapatalk
The Following User Says Thank You to Tommy-Geenexus For This Useful Post: [ View ]
28th March 2014, 07:19 PM |#4  
eng.stk's Avatar
OP Recognized Contributor
Thanks Meter: 13,289
 
2,693 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Quote:
Originally Posted by absoluterebirth

Nice! New kernels to play around with

Quick question: Can I flash this over ElementalX without having to dirty flash my ROM?

You should, it cleans other stuff from other kernels, just try
The Following 14 Users Say Thank You to eng.stk For This Useful Post: [ View ]
28th March 2014, 07:20 PM |#5  
eng.stk's Avatar
OP Recognized Contributor
Thanks Meter: 13,289
 
2,693 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Quote:
Originally Posted by Tommy-Geenexus

Great kernel remember you from my N7 days

Gesendet von meinem Nexus 5 mit Tapatalk

Great to see you here mate
The Following 11 Users Say Thank You to eng.stk For This Useful Post: [ View ]
28th March 2014, 07:23 PM |#6  
Member
Flag Bowie
Thanks Meter: 20
 
51 posts
Join Date:Joined: Apr 2011
More
Just flashed it over PA. So far so good! Will be reporting back in a few days on the kernel's overall performance and battery life.

Sent from my Nexus 5 using Tapatalk
The Following User Says Thank You to Crackdroid For This Useful Post: [ View ]
28th March 2014, 07:58 PM |#7  
Stylez Ray.'s Avatar
Senior Member
Thanks Meter: 488
 
925 posts
Join Date:Joined: Jan 2008
Donate to Me
More
Woot! Nexus 4 memories! Flashed right away, awesome!!
The Following User Says Thank You to Stylez Ray. For This Useful Post: [ View ]
28th March 2014, 08:15 PM |#8  
MöCkY's Avatar
Member
Flag Leipzig
Thanks Meter: 45
 
67 posts
Join Date:Joined: Mar 2013
More
Thanks so much! Nexus 4 and 7 memories

Gesendet von meinem Nexus 7 mit Tapatalk
The Following User Says Thank You to MöCkY For This Useful Post: [ View ]
28th March 2014, 09:16 PM |#9  
eng.stk's Avatar
OP Recognized Contributor
Thanks Meter: 13,289
 
2,693 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Quote:
Originally Posted by Stylez Ray.

Woot! Nexus 4 memories! Flashed right away, awesome!!

Quote:
Originally Posted by MöCkY

Thanks so much! Nexus 4 and 7 memories

Gesendet von meinem Nexus 7 mit Tapatalk

Good to see ya mates
The Following 11 Users Say Thank You to eng.stk For This Useful Post: [ View ]
28th March 2014, 09:18 PM |#10  
absoluterebirth's Avatar
Senior Member
Flag Atlanta
Thanks Meter: 96
 
318 posts
Join Date:Joined: Sep 2013
More
Quote:
Originally Posted by eng.stk

You should, it cleans other stuff from other kernels, just try

The reason I ask this is because the ROM I use comes with ElementalX. So, I'm not sure what I'm really suppose to do
Thread Closed Subscribe to Thread

Tags
code_blue, kernel, linaro, purified, purity
Previous Thread Next Thread