Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[KERNEL] [Code_Blue r755] [Lollipop 5.0.1 & CM12 / KK 4.4.4 & CM11 CAF]

OP eng.stk

28th March 2014, 07:44 PM   |  #1  
eng.stk's Avatar
OP Recognized Contributor
Thanks Meter: 10,432
 
2,466 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-release, 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.1 x86_64 (Dragon_Shield VPS @ www.servercore.com.br - thanks @ChristianLetti)
  • Build with toolchains 2014.11 Linaro 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-release + own commits & cherry-picks on demand from code aurora, linaro, etc.
  • 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 (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 available)
  • Removed stock mpdecision and thermald
  • blu_plug: Dynamic hotplug for hammerhead (based in dyn_hotplug from @stratosk), with screenoff battery saving (max single 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
  • 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 with Piereligio_TrueRGB v7 profile by default
  • LCD_KCAL driver added (RGB calibration)
  • Backlight dimmer ready (disabled by default, tuned min manual brightness (level 3)
  • OTG USB flash drives automount support FAT32 (for ExFAT and NTFS use stickmount)
  • 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 Universal Kernel Manager (do this if you have trouble in Lollipop), Kernel Manager, Kernel Tweaker, TricksterMOD, 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 also.


Builds are coded as follows:
  • Releases on stable folder, build with Linaro Cortex-A15 GCC 4.9.* (probably weekly).
    For KK the last build is r450
  • CM11 on tests folder, same changelog as KK stable, build with Linaro Cortex-A15 GCC 4.7.4


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 and install busybox -> flash Code_Blue.
Also uninstall or clean data of any kernel control app you're using.

In case you wnat to use F2FS you need to know this:
  • fstab uses multi mount points (thanks to @Cl3Kener), so you can use ext4 or f2fs 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
  • New multi mount doesn't play well with MultiROM on secondary ROMs, I asked @Tasssadar if it can be fixed.
  • In the meanwhile, if you want to use Code_Blue in secondary ROMs, just flash this zips after the kernel according to your data partition type: EXT4 or F2FS

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
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:	44762
Size:	155.8 KB
ID:	2738194   Click image for larger version

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

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

Name:	14 - 1.jpg
Views:	3882
Size:	72.0 KB
ID:	3058788  
Last edited by eng.stk; 14th December 2014 at 04:39 PM.
The Following 387 Users Say Thank You to eng.stk For This Useful Post: [ View ]
28th March 2014, 07: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, 08:19 PM   |  #3  
Tommy-Geenexus's Avatar
Senior Member
Flag Stone Hill
Thanks Meter: 932
 
1,910 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, 08:19 PM   |  #4  
eng.stk's Avatar
OP Recognized Contributor
Thanks Meter: 10,432
 
2,466 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 11 Users Say Thank You to eng.stk For This Useful Post: [ View ]
28th March 2014, 08:20 PM   |  #5  
eng.stk's Avatar
OP Recognized Contributor
Thanks Meter: 10,432
 
2,466 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 9 Users Say Thank You to eng.stk For This Useful Post: [ View ]
28th March 2014, 08:23 PM   |  #6  
Member
Flag Bowie
Thanks Meter: 12
 
40 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, 08:58 PM   |  #7  
Stylez Ray.'s Avatar
Senior Member
Thanks Meter: 454
 
894 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, 09: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, 10:16 PM   |  #9  
eng.stk's Avatar
OP Recognized Contributor
Thanks Meter: 10,432
 
2,466 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 8 Users Say Thank You to eng.stk For This Useful Post: [ View ]
28th March 2014, 10: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

Post Reply Subscribe to Thread

Tags
code_blue, kernel, linaro, purified, purity
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes