[AOSP KERNEL] Hybrid 3.0 Nightly Builds [05/APR] - Nexus 5 Original Android Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hybrid Kernel is for all AOSP ROMs powered by Android 5.0 aka Lollipop.
The main objective of this kernel is to maximize end-user experience with advance optimizations from CAF and 3.18 mainline kernel along with device specific features - A TRUE HYBRID.
Linux mainstream (3.4.y or torvald's dev git) offers FIXES and UPDATES for all architectures (like x86 as well as ARM)
We DO need these crucial updates to ensure stability and security. There are many CM kernels which are already updated with 3.4.y branch.
Hybrid kernel will keep up with latest wherever required. Don't fall for garbage talks.
Hybrid Kernel is descendant of CHAOS kernel - Kernel for CM11 with bleeding edge CAF updates, features and fixes.
You can play with all the features using SYNAPSE app.
We have developed support for Synapse in-kernel itself, no need to flash UKM or install any other kernel manager apps.
Feature Highlight:
Latest from Google (kernel_msm source + kernel_common updates)
Complete CAF Sound Experience (audio offloading and auto UHQ - ultra high quality)
Synapse Backend Support. Install Synapse app from Play Store.
Sound Controls and Profiles (including Faux sound app support - though you won't need it)
Gamma Controls and Profiles (including Franco Display control app support - though you won't need it)
Advcanced CPU Boost driver with unified hotplug boot, wake boost and input boost controls (Truly engineered for Project Butter)
In-kernel thermal driver (always enabled) and thermal controls.
CAF updates for WiFi driver.
Backported fastest ZRam from 3.18 kernel. (Fastest ZRam with customizable compression techniques)
Enhanced KSM (Enabled by default)
Enhanced LMK (low memory killer) with profiles and controls (Thanks Moto source and @Dorimanx)
Tuned virtual memory and LMK (Tuning based on our R'n'D, you can change as per your wish using Synapse)
Overclock upto 2.5 GHz (Still boots at stock frequency)
Per CPU Total Control (You can control how each core will behave individually - set min/max/boost freq and governor)
GPU Overclock and lower freq steps. (Still boots at stock max frequency)
GPU driver critical fixes and updates for smoothness.
Additional Interactive governor for GPU (thanks to Franco)
MSM Limiter driver (Does much regulation on CPUFreq driver than you can imagine. Check it out in Synapse app for details.)
Voltage controls (UV upto 675 mV. Please note our hardware have diff PVS category and so voltages and stability over diff voltages will differ user to user. Find your poison yourself with voltage controls in Synapse)
3.4 upstream important updates and fixes (100% stable updates for our 3.4.y kernel)
Power-efficient workqueues (Ported from 3.18 mainstream - PE WQ aims at improving power efficiency.)
Enhanced MSM Hotplug Driver + Controls (Base driver by myfluxi - Enhanced further by me, Dorimanx and alucard)
Enhanced Intelliplug Hotplug Driver + Controls (Base driver by faux- Enhanced further by me, Dorimanx and alucard)
CyanogenMod Hotplug Driver (This driver is disabled by default)
Enhanced Bricked Hotplug Driver + Controls (On mass demand. Base driver by showp1984- Enhanced further by me)
Auto busybox installation (Busybox is required by root apps to perform misc tasks. Please note this wouldn't auto-root device.)
Multiple TCP Congestion methods (HTCP is default - can be changed via Synapse)
Additional FIOPS, VR, ZEN and BFQ Schedulers (ROW scheduler is our default)
Additional Classic Interactive, Intellimm and ZZMoove governors (Bacon governor is our default)
DT2W/S2S/S2W/Wake Timeout/Power Key Suspend (All the wake controls you'll ever need.)
Hardware Encryption (Faster and Powerful) (Removed to fix idle battery drain)
Built with SaberMOD 4.9.3 Toolchain (Performance + Power) The toolchain is rebuilt by me from their sources and has optimized few parameters.
CDROM emulation support (DriveDroid support included)
LCD KCal driver from LG G2 (This provides ability to change RGB values using Synapse)
Tuned LCD Backlight driver to save power
OTG Support for all ROMs (Use StickMount app if your ROM doesn't provide framework support to auto-mount like CM12)
MultiROM Supported (Thanks tasssadar)
init.d support to autorun user defined scripts. (Do not mess with it unless you know the conflicting risks)
Optimized RWSEM, AES and SHA1 routines with NEON mode enabled.
You name it, we will have it.*
*You can request any feature you like to see, we will respond for feasibility.
To know all the fixes and changes done, please refer detailed change log in below post.
Installation Checklist:
Your ROM is rooted. (If any root issue, please flash SuperSu)
Do not flash UKM after flashing this kernel.
Do not install any external busybox.
Install Synapse app from Play Store.
Download Here: (3.0 and above)
Click Here
Download Here: (2.1 and below)
Click Here
No mirrors. If you have trouble downloading, you can request in topic and since we have good user community, you will get mirror from our awesome user community.
The Awesome User Community Pinned Posts!
Typical Battery Stats using Hybrid Kernel
Companion review from one of the awesome devs.
Source:
Click Here
ROM Chefs, feel free to incorporate kernel in your ROMs or use above source for ROM build. Just do provide topic link for resolution of kernel issues/queries, if any.
Very special thanks to some real good devs, I came across while N5 kernels development -
@Dorimanx , @Alucard24 , @ak , @defconoi , @renderbroken , @LaboDJ , @xboxfanj @apb_axel
(I think I am missing some. Apologies.)
Kernel dedicated to your's and awesome user community's support!!
Also, thanks to these devs for contribution and inspiration -
@andreilux (Synapse interface app . This guy is best)
@apb_axel (Synapse backend support. Please thank him HERE.)
@myfluxi (device specific tweaks and fixes)
@franciscofranco (voltage controls and tuned parameters)
@showp1984 (wake controls)
@faux123 (faux sound baseline)
@flar2 (OC table and extended wake controls)
Let the Chaos Begin!
XDA:DevDB Information
Hybrid Kernel, Kernel for the Google Nexus 5
Contributors
neobuddy89
Source Code: https://github.com/neobuddy89/hammerhead/commits/lollipop/
Kernel Special Features: Per CPU Total Control, CAF Sound, Overclock, Gamma Control, Sound Control, Volt control, CPU Boost
Version Information
Status: Nightly
Current Stable Version: 2.1
Stable Release Date: 2015-02-23
Created 2014-10-26
Last Updated 2015-04-05

Change Log
Code:
[B]Hybrid_v3.0-[04-05]-[14-48][/B]
* New build from refreshed lollipop-mr1 base.
---------------------------------------------------------------------------------------------------
[B]Hybrid_v2.0[/B] (23/Feb/2015)
* Stable Release
* Updated KCal driver to latest
* Fixed potential errors in Synapse
* Updated F2FS
* Misc updates
[B]Hybrid_v2.0-[02-18]-[08-59][/B]
* Added KCAL - Advanced Color Control support. Get app [URL="http://forum.xda-developers.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080"]HERE[/URL]. Thanks @[URL="http://forum.xda-developers.com/member.php?u=4316709"]savoca[/URL].
* Impulse governor is new default governor with powersave_bias = 1.
[B]Hybrid_v2.0-[02-15]-[16-32][/B]
* Uninstalled Camera Driver updates
[B]Hybrid_v2.0-[02-15]-[02-02][/B]
* Update for camera driver to avoid possible mem corruption.
* Updated OTG mount for CM based ROMs.
[B]Hybrid_v2.0-[02-14]-[11-03][/B]
* Unified EXT4 and F2FS version.
*** MultiROM users please update multirom binary and recovery using MultiROM manager app.
*** F2FS users please report working of this version as primary ROM or secondary ROM or both.
* Disabled some qualcomm crypto routines
*** Encrypted users please test if encryption still works fine (it should work as before, we have ARM optimized crypto drivers still active)
*** This is a lean approach to reduce battery consumption. Please report if any difference in battery consumption.
* Updated Synapse backend support for profiles.
*** Please report if any issue.
[B]Hybrid_v2.0-[02-12]-[01-06] / Hybrid_v2.0-[02-12]-[01-23]_F2FS[/B]
* Updated Bricked hotplug
* Updated installation script to remove busybox conflicts
* Updated audio codec driver
* Removed GPU OC (doesn't work with Lollipop)
[B]Hybrid_v2.0-[02-06]-[18-18] / Hybrid_v2.0-[02-06]-[18-38]_F2FS[/B]
* Linux 3.4.106 update (lots of bug fixes for file system, updates for generic drivers, memory improvements, NET driver upgrades and fixes)
* CPUFreq & CPU Boost Driver updates and bug fixes
* A new shiny and our in-house CPU governor - [I]Impulse[/I]
** Impulse governor is based on CAF Interactive but with additions to work smoothly with CPU Boost driver and improved freq stabilization.
Testing in progress.
[B]Hybrid_v2.0-[02-01]-[23-40] / Hybrid_v2.0-[02-02]-[00-21]_F2FS[/B]
* Fixed Synapse Backend Support for CM12 built-in superuser. (Needs more testing)
* Updated interactive governor.
* Misc updates
* Adapted Interactive and CPU Boost defaults from Chaos Kernel (theoretically, these should lower power consumption)
[B]Hybrid_v2.0-[01-28]-[09-26] / Hybrid_v2.0-[01-28]-[09-40]_F2FS[/B]
* Updated F2FS to latest. Please test with F2FS build.
* Updated zzmoove governor.
* Added Yankactive governor, some tuning may need to follow later. This is much similar to classic interactive.
* Fixed hispeed freq for interactive governor for smoother transitions.
* WiFi driver update.
* CPUIdle minor update.
* Audio driver updates.
* Updated kernel locking mechanism from 3.14 mainline.
* Improved stability.
[B]Hybrid_v2.0-[01-22]-[01-48] / Hybrid_v2.0-[01-22]-[09-12]_F2FS[/B]
* Added new SmartMax governor, tuned for hammerhead.
* Updated ramdisk from CM12. (Still root issue only with Synapse app, will check later)
* Bacon governor is now default interactive governor. Classic interactive is removed.
* Updates for conservative and intelliminmax governor!
* RBTree algorithm optimizations from 3.18 upstream.
* Merged Camera driver updates (as that in previous preview build)
* Motorola optimizations for better performance and improved suspend routines.
* OOM improvements.
* Updated serial driver and ARM updates.
[B]Hybrid_v2.0-[01-17]-[00-30][/B]
* Lots of bug fixes from Cyanogen team and stable upstream.
* Updated sound codec driver from CAF.
* Optimized crypto mode for ARM with NEON acceleration.
* Mainstream backports for IRQ subsystem.
* RCU updates from CAF.
* ARM updates.
[B]Hybrid_v1.0[/B] - (03/Jan/2015)
* Stable Release
* CPU Global voltage steps change from 25mV to 5mV
* Update bacon governor
* Misc updates
[B]Hybrid_v1.0-[12-28]-[22-58][/B]
* Fix Fast Charge compatibility with other kernel apps.
* Misc fixes from 3.4.y
* Sound codec driver update
[B]Hybrid_v1.0-[12-25]-[23-00][/B]
* Added QCOM Audio Effects (from CAF)
* Ramdisk updates + Improved tuning
* Updated BFQ I/O scheduler to v7r7
* Enabled qcrypto hw interface (This is not hw encryption)
[B]Hybrid_v1.0-[12-22]-[09-08][/B]
* Simplified Fast Charge control in Synapse
* Updated sound codec driver
* Disable qcrypto hw interface (likely to break l2tp protocol)
[B]Hybrid_v1.0-[12-14]-[01-47][/B]
* Improved Suspend Routines. (Better sleep)
* Reverted back to old settings for CPU Boost and Hotplug drivers.
* Fix misc issues.
[B]Hybrid_v1.0-[12-09]-[22-00][/B]
* New settings:
** Hotplug Boost disabled by default.
** Touch Boosted CPUs disabled by default.
** KSM disabled by default.
* Improved headphone detection consistency
* Misc fixes/improvements from 3.4.y.
* KControl app should now show MSM_MPDECISION tunables (Please check)
* Improved CPU Boost control in Synapse. You can disable it per CPU.
[B]Hybrid_v1.0-[12-07]-[14-36][/B]
* Add control under Misc Tab in Synapse to disable Charging LED.
[B]Hybrid_v1.0-[12-07]-[11-28][/B]
* Fix media driver leaks.
* Tune intellimm governor. So far so smooth!!
* Misc updates for MSM specific drivers.
* Set interactive as default GPU governor.
[B]Hybrid_v1.0-[12-05]-[01-20][/B]
* Completed all required sync with 3.4.105 kernel.
[B]Hybrid_v1.0-[12-03]-[00-04][/B]
* Disabled HW Disk encryption (Fixes idle battery drain)
* Lots of fixes from Linux 3.4.105 update
[B]Hybrid_v1.0-[12-02]-[01-09][/B]
* Fix CM12 native root. (No more issue from kernel side, not sure if any issue still persist in userspace for CM12)
* Misc fixes and updates for stability.
[B]Hybrid_v1.0-[12-01]-[09-11][/B]
* Fix soft reboot with voltage below 700mV
* ARM updates
[B]Hybrid_v1.0-[11-30]-[15-11][/B]
* MSM Idle and power mode driver updates from CAF.
* Misc updates for MSM board.
* Zzmoove governor for test drive.
* Modem driver updates.
* Increased max limit for sound controls in Synapse app.
[B]Hybrid_v1.0-[11-29]-[09-50][/B]
* Add intellimm governor by Faux - This may need further tuning. (I still love bacon gov!)
* Tune bacon governor for battery saving!
* Tune hotplug drivers for battery saving. Set max cpus online (suspend) to 1 by default!
* Added and tuned bricked hotplug driver. Experimental and need reviews.
* Misc updates for internal memory.
* Thermal driver update.
* Ramdisk updates.
* Update hotplug monitor in Synapse, looks better now.
[B]Hybrid_v1.0-[11-24]-[02-30][/B]
* Rework MSM Limiter driver and bug fixes.
* Add live monitor for min-max-current frequencies in Synapse.
* USB Driver update from 3.4.y and CAF.
[COLOR=Red]SuperSu version 2.27 or later required.[/COLOR]
[B]Hybrid_v1.0-[11-22]-[21-43][/B]
* HW Encryption support
* SELinux changed to "Enforcing" mode
* Fixed broken QSEEComm driver
* Misc updates
[B]Hybrid_v1.0-[11-21]-[02-32][/B]
* Fix broken root with SuperSu after CM ramdisk updates.
[B]Hybrid_v1.0-[11-20]-[21-52][/B]
* Fixed Sensor regression - Removed optimized bionic libs.
[ If you already flashed prev nightly broke proximity sensor, dirty flash your ROM and then this nightly.]
[B]Hybrid_v1.0-[11-20]-[08-47][/B]
* Added CyanogenMod hotplug mechanism (This is improved mpdecision. It also manipulates max freq)
* Added Qualcomm Power HAL
* Add vivid color preset tunable (under gamma tab)
* Added optimized bionic libraries
* Added always-on charging LED
* Ramdisk updates from CM12
* Add Piereligio_True_RGB_V7 Color Profile
[B]Hybrid_v1.0-[11-17]-[02-23][/B]
* New Feature: Add Per-CPU Input Boost Frequency Control.
* New Feature: Add Per-CPU Governor Control.
* Improved GUI for CPU tab in Synapse
* Add control for tuning vibrator strength when using wake controls
* Tuned CPU Boost driver to use 500 ms input boost. This gives real good smoothness!!
You can change this to value as you like via Synapse.
[AOSP Power HAL gave 3 sec boost which is too much, non-configurable and hard on battery.
We had removed it long back.]
* CAF update and fixes for MSM BUS driver.
* ZRAM minor fix for potential crash. (from 3.18 upstream)
* Fix memory leak in video playback driver.
* Serial driver updates from upsteam. (not CAF)
[B]Hybrid_v1.0-[11-12]-[09-24][/B]
* New feature: MSM Limiter Driver can control min/max freq of ALL cores individually. Under testing. Please share your exp if tested.
* Complete file system sync with 3.4.y kernel. This includes lot of fixes by upstream.
* EXT4 misc fixes cherry-picked from Chaos kernel.
[B]Hybrid_v1.0-[11-09]-[22-47][/B]
* Added wake controls! (S2W/S2S/DT2W/PWR Key Suspend/Wake Timeout) -- Experimental - Let me know does these work good.
* CM12 compatibility. (until CM12 decides to take another turn again)
[B]Hybrid_v1.0-[11-09]-[13-57][/B]
* Awesome audio updates (Thanks to Steve's staging source and chaos source)
* Critical fixes and updates from 3.4.y
* Enabled support for USB serial drivers (3G cards)
* ARM updates and fixes
* Tuning for battery saving and more smoothness
* Lowered default temperature threshold by 5 degree.
* Added SIO, FIOPS, ZEN and VR I/O schedulers.
* Tuned ROW I/O scheduler
[B]Hybrid_v1.0-[11-07]-[01-08][/B]
* Fix Synapse broken controls for some AOSP compiled ROMs (You still need to install Superuser app separately, if you haven't already)
* Complete crypto, qseecom and security update from CAF. (Same as Chaos)
* Updated Bacon governor for performance.
* Minor update for CPU Boost driver.
* Misc missed updates which should be included in previous build.
[B]Hybrid_v1.0-[11-04]-[23-30][/B]
* Misc updates for timers and IRQ.
* CPUIdle complete backport from 3.16.
[B]Hybrid_v1.0-[11-03]-[01-16][/B]
* Minor correction in GPU freq steps. (perfect now)
* Complete MMC update from CAF. (same as Chaos)
* Complete kernel memory management update from CAF and 3.4.y. (virtual, swap, slab, slub, compaction etc)
* More updates for sound driver from CAF.
* Readded tuned LMK and OOM.
* DIAG complete update from CAF.
* Readded nvidia tegra patches for improved power efficiency.
* Fix broken Synapse control for hotplug
[B]Hybrid_v1.0-[10-30]-[03-55][/B]
* Readded CAF sound codec driver (which was removed for a test build)
* Default governor changed to Bacon which is OnePlus one interactive governor.
This governor offers lower timer_rate which helps a lot preventing any gliches in audio.
If we had kept mpdecision binary in place, min freq would have stayed higher most of the times and helped audio glitch BUT that's too much to sacrifice.
Let's give a shot to Bacon magic.
* Clean ups of misc updates.
* Add interactive governor for GPU. Pretty good.
[B]Hybrid_v1.0-[10-28]-[23-11][/B]
* Auto disable mpdecision to stop messing with minfreq.
* Clean sound control driver to improve compatibility with PowerAmp app.
* GPU OC and improvements. (Still it will boot at stock freqs)
* GPU controls for Synapse
* Various fixes from 3.4.y branch
* Misc updates from Chaos
* Add F2FS support (no auto mount due to some limitations in 5.0)
[B]
Hybrid_v1.0-[10-26]-[13-05][/B]
* Initial version with core features and Synapse support!

Reserved
__/\__ Updated 24th Nov, 2014.
F.A.Q.
Q. What ROMs this kernel work?
A. It should work on ALL lollipop ROMs so far. If it doesn't please highlight.
Q. Is this CAF or AOSP kernel?
A. This is AOSP kernel with best updates from CAF and 3.4.y
Q. Root is no longer working. What do I do?
A. Install SuperSu 2.27 or higher. We need Superuser app that is compatible with Enforced SELinux.
Q. How do I change kernel specific settings?
A. We have developed SYNAPSE backend support. Install Synapse from Play Store. Do not install UKM.
Q. XYZ is not working as expected. What to do?
A. Describe what ROM you running, whether this issue exist on stock kernel of your ROM, share dmesg log when issue just occured,
share steps to reproduce the issue.
Q. Can you add ABC feature?
A. We already have most features. If you need new any ABC feature, provide link to it's development if available.
Also let us know how will it be helpful. If same is not feasible for me to add or there is no need to add same, I will reply back.
Q. ???
Click to expand...
Click to collapse

Good to see you back neo
Sounds interesting, will give it a try. Thanks and a great Sunday.

About to flash this right now. Thanks neo. Looking forward to OTG support! Thanks for sharing.

Does this kernel works on @sykopompos rom?

llevo3 said:
Does this kernel works on @sykopompos rom?
Click to expand...
Click to collapse
Link please. It works on last L-preview found in Vomer topic.

neobuddy89 said:
Link please. It works on last L-preview found in Vomer topic.
Click to expand...
Click to collapse
http://forum.xda-developers.com/google-nexus-5/development/l-android-lpv-dev-n5-enhanced-t2856934

llevo3 said:
Does this kernel works on @sykopompos rom?
Click to expand...
Click to collapse
I'll let you know in 5 minutes. About to flash it over B15.
Edit: Sorry for the wait. 1st boot took nearly 20 minutes!
Anyways, works fine over B15. Root works and all.

Indeed good to see you back Neo
Anyways, kernel is running stable for me, any chance to get fiops or sio schedulers in the future?

Good to see this from you neo! Have you set selinux to permissive or enforcing?
Sent from my Android 5.0 Lollipop + ElementalX powered Nexus 5

Can confirm this works on b15! Run amazing so far, good work

Flashed over vomers preview zip and there's something really screwy with hotplugging. All cores are shown as flashing on and off constantly in synapse and frequencies will not go below 1297mhz
Sent from my Android 5.0 Lollipop + ElementalX powered Nexus 5

sjknight413 said:
Flashed over vomers preview zip and there's something really screwy with hotplugging. All cores are shown as flashing on and off constantly in synapse and frequencies will not go below 1297mhz
Sent from my Android 5.0 Lollipop + ElementalX powered Nexus 5
Click to expand...
Click to collapse
What's the min freq? Is it setting itself to 1297 MHz?
I had same prob, so I thought it's something to do with userspace stuff... I flashed eng.stk's kernel and back hybrid one after a boot.
And all settled quite good..
Need to flash entire ROM again to check what may be causing this.
I believe something left from previous kernel?? Were you on other kernel before?

R3Lax1 said:
Indeed good to see you back Neo
Anyways, kernel is running stable for me, any chance to get fiops or sio schedulers in the future?
Click to expand...
Click to collapse
Yes, that can be done.
sjknight413 said:
Good to see this from you neo! Have you set selinux to permissive or enforcing?
Sent from my Android 5.0 Lollipop + ElementalX powered Nexus 5
Click to expand...
Click to collapse
I have just ripped ramdisk from preview ROM which had modified ramdisk to begin with.
Haven't touched anything on selinux in the ramdisk. So, I believe the modified kernel in vomer thread had changed it to permissive.
Anyways, you can change this yourself using Synapse; there is option available to do so under TOOLS tab.

neobuddy89 said:
What's the min freq? Is it setting itself to 1297 MHz?
I had same prob, so I thought it's something to do with userspace stuff... I flashed eng.stk's kernel and back hybrid one after a boot.
And all settled quite good..
Need to flash entire ROM again to check what may be causing this.
I believe something left from previous kernel?? Were you on other kernel before?
Click to expand...
Click to collapse
The min frequency was jumping between 1190, 1297 and 1497 I believe! I was just on sykompopos permissive boot.img before
Sent from my Android 5.0 Lollipop + ElementalX powered Nexus 5

Kernel working well with version 14 of sykopompos 5.0 preview.
Feels quite snappy.
Min frequency is giving me no problems.
Thanks for this gem

sjknight413 said:
The min frequency was jumping between 1190, 1297 and 1497 I believe! I was just on sykompopos permissive boot.img before
Sent from my Android 5.0 Lollipop + ElementalX powered Nexus 5
Click to expand...
Click to collapse
Will check. Thanks.

Welcome back, Neo! I knew that we can't loose you
From my N10

Running syko B15 and installed your hybrid kernel. One problem I can't change gamma profile. It won't apply on synapse.

Related

[Kernel][AOSP/TW] ChronicKernel - (UV/GPU/CPU-OC/dyn fsync/Linaro) [05/07/2014]

ChronicKernel for T-Mobile Samsung Galaxy S4​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include
/*
* Your warranty is now likely void.
*
* I am not responsible for bricked devices, dead SD cards,
* spontaneous combustion, or any other host of cosmic penalties
* which may befall you, your family, or your phone.
*
*/
Here is a initial kernel for AOSP/TW. It has all the features you would expect from a modded kernel, CPU OC, GPU OC, more CPU governors, Undervolted, Underclockable, GPU OC CPU L2 OC, and linaro -o3 optimizations
Click to expand...
Click to collapse
Screenshots
Requirements
* Rooted (obviously)
* I use CyanogenMod as my daily, so i don't test the TW version much..it should be fine though.
Installation
1: Place zip on sdcard
3: Reboot into recovery
3: Clear cache and dalvik cache
4: Flash zip
5: Reboot
6: If desired edit the init script at /system/etc/chronic-config.sh to suit your needs
7: Profit
ChronicKernel
* All-in-One kernel for all qualcomm variants (AOSP/CM only)
* Compiled with linaro
* GPU OC to 627 Mhtz (450Mhtz default - configurable though chronic-config.sh init script)
* CPU OC to 2322 Mhtz (1890 Mhtz default)
* CPU L2 cache overclocked to 1.3Ghtz
* Raised the low/med/high values for GPU governor one step each
* Added many I/O Schedulers
* Some scheduler performance tweaks
* Added CPU Governors intelidemand, wheatley, lagfree, linoheart, smartassH3, badass and smartmax (Default gov = intellidemand)
* Dynamic Fsync
* F2FS Support
* User adjustable CPU uV
* frandom support
* Optimized and compiled with with the "Optimize a lot, or -o3 option)
* USB fast charge (disabled by default - configurable though chronic-config.sh init script
* Patched to Linux 3.4+
May-7
* Added back patch to ramdisk for PACMAN rom.
* Added F2FS support
* Synced ramdisk with CM
April-23
New Release v3.0 All-In-One AOSP_KK4.4 Kernel!
* Sorry for the long delay. Got burnt out on android for awhile and got some new toys as well so was busy
* All the needed updates to kernel and Ramdisk since last release and to comply with CM"s new all-in-one rom build,
because of this we can now use one flashable zip for all qualcomm variants now. I added the auto-loki patching from
CM's rom zips so loki should be done for you. let me know if you have any issues.
* Updated kernel to 3.4.82
* I'm sure there are a few small fixes I forgot since last release but basically you can expect what you did with the last release just up to date.
Dec-24
New Release v2.4 for AOSP Android KitKat 4.4! (TW to follow soon)
Changes since v2.3:
* Got rid o dcvs governor as it never worked
* Updated to offical Android 4.4.2/CM-11 Kernel source, changes include:
* We are now using the msm2 gpu driver not msm.
* Updated WiFi Drivers
* Updated Sensor drivers
* Many changes to the framebuffer and vidc driver
* Linux 3.4.75
And as always the ramdisk is synced with CM as of time of compile
Oct-28
* AOSP-JB4.3: Tagged v2.3.3 (maintenance update)
* AOSP-JB4.3: Fixed issue with latest ROM builds
Oct-26
* AOSP-JB4.3: Tagged v2.3.2 (maintenance update)
* AOSP-JB4.3: Merged all the upstream commits from CM, should help with stability
* NOTE: If your colors are off with the display. Its because your ROM hasn't been updated to latest display drivers, ask your ROM developer to update their ROM.
Oct-20
* Common: Updated to Linux 3.4.66
* Common: Added Faux123's Simple GPU governor
* Common: Fixed compatibility with PAC
* AOSP-JB4.3: Merged upstream changes for compatibility with latest CM nightlies
* TW: Tried to fix issue with LPM mode (charging while off)
Oct-6
* Bumped AOSP to v2.2 and TW to v1.2 respectivly
* Common: Fixed issue across all custom S4 kernels where the Governor is only applied to online cpu cores. They are now set regardless
* Common: More aggressive L2 Overclock, bumped max L2 freq by 100 Mhtz and have a more aggressive scaling of the L2 freqs
* Common: Updated to Linux 3.4.62
* AOSP-JB4.3: a few (minor) upstream changes
Sep-5
* AOSP-JB4.3: Merged over 200 commits from CM to bring in sync, No other changes, although seems performance is a little improved
Aug-24
* General: initial release ot the TW/GE kernel, refered to as TW-JB4.3, this is the same as the TW (now known as TW-JB4.2) just compatible with GE roms
AOSP-JB4.3
* AOSP-JB4.3: Synced Ramdisk with CM, latest nightlies should work now
* AOSP-JB4.3: Fixed a bad merge in the last version related to I/O scheduling
* AOSP-JB4.3: Added official Samsung exFAT support (thanks ktoonsez for original commit)
* AOSP-JB4.3: Updated to Linux 3.4.59
* AOSP-JB4.3: Tagged v2.1
AOSP-JB4.2
* AOSP-JB4.2: Added official Samsung exFAT support (thanks ktoonsez for original commit)
* AOSP-JB4.2: Updated to Linux 3.4.59
* AOSP-JB4.2: Tagged v2.1
TW/TW-JB4.2
* TW: Some cleanup to try and make it more stable
* TW: Added official Samsung exFAT support (thanks ktoonsez for original commit)
* TW: Updated to Linux 3.4.59
* TW: Tagged v1.1 and will be known from this point on as "TW-JB4.2"
TW-JB4.3 - TW/GE
* TW-JB4.3: Initial TW/GE kernel v1.0
Aug-16
* AOSP-JB4.3: Maintenance update - Synced with upstream CM kernel at time of compile - glitches should be gone
* Note: sorry for the delay. i was busy getting 10.2 booting on pyramid/glacier/holiday
* Took the version number out of the OP title as its not the same across all platforms
Aug-4
* AOSP-JB4.3: Added AOSP 4.3 kernel, has all the updates from CM's kernel as of this date
* AOSP-JB4.2: Sync with CM. a little clean up
* TW: TW kernel is now out of RC and v1.0, Merged a few things from the AOSP-JB4.3 kernel
* There were a good amount of updates that are kinda hard to explain. if you want more details check my github
Old Changelogs
July-20
* TW: RC2 release
* TW: tried to fix exFAT support, please let me know
* TW: Fixed an overlook that was causing the GPU to stay at a higher freq then normal
July-18
* Fixed a few little overlooks on my part in the TouchWiz beta1. Here is RC1
July-17
* inital TW build, still beta but should work fine just might have a couple things enabled (I/O schedulers that dont work or shouldnt be)
July-14
* Fixed Color temp settings not showing in Advanced Settings
* Couple tweaks to fastcharge cherry-picked from ktoonsez's kernel
* Merged JFA source
* All CM changes merged
* Added option to configure CPU OC from chronic-config.sh
* Fixed a race condition between chronic-config.sh and init.qcom.post_boot.sh setting governor
* Updated to Linux 3.4.52
* Fixed a type-o in chronic-config.sh that might have prevented dynfsync from being set to the desired setting
* Initial support for the Sprint variant
* General cleanup
July-2
* Reworked the way the config script works. it now sets gov correctly. it was renamed to chronic-config.sh and moved to system/etc/
* A few upstream updates
June-30
* Maintenance update
* Merged all upstream CM changes, should work on latest nightlies now
June-26 Stable Release
* Over 100+ upstream commits, like vidc etc, CHECK HERE for details
* Updated to MFx source/google sources
* small bugfix to screen off max gov
* wakelock fix (upstream)
* Updated to Linux 3.0.50
* Few misc bugfixes
** Honnestly the changelog doesnt do the update justice. CHECK HERE for details
June-18
* Upstream: Kernel source updated to MDL (samsung)
* Bugfix: Synced ramdisk with upstream CM to fix issue with bluetooth
* Fixes to Fast charge
* Bugfix: fix issues with workqueue (ktoonsez)
* Screen off Max freq will be disabled while in call (ktoonsez)
* Bugfix: Two EHCI: HSIC commits from caf to fix a wakelock
* Added CIFS Support
* Switch to intellidemand as default CPU governor
* Set 504Mhtz as boot freq for GPU
* GPU: Changed 544mhz to 545mhz to conform better with the pll table
* reduce some log spam (ktoonsez)
* GPU OC: Add 627mhtz step
* Linux 3.4.49
June-11
* Merged all upstream changes from CM kernel, including things like the MDM kernel source update
* Updated to Linux 3.4.48
* GPU OC now correctly reflects the current gpu freq to sysfs
June-7
* Pretty sure the intellidemand issues are fixed now
* Some bugfixes from caf for cpufreq and cpufreq stats
* GPU OC is fixed now (wasn't working correctly, would reject any freq higher then 450)
* GPU OC steps are now 504 544 and 601mhtz
* Synced with upstream (CM)
June-4
* Added in between steps to OC freqs to try and help people squeeze a little more out of the CPU (ktoonsez)
* GPU OC to 533Mhtz
* Added some missing intelidemand code to try and fix battery drain
* Some upstream changes like control screen color temp by sysfs
* Switched back to interactive as default governor
May-31
* Tweaked the GPU bandwith and governor low/med/high values for better performance
* Some bug fixes from type-o's made by samsung
* Removed CPU governors that don't support hotplugging (ktoonservativeq, dancedance)
* Min cpu freq with start at 378Mhtz for all cores
* Switched to XZ compression when making kernel to reduce size (the only impact on user end is a 1 sec longer boot time on Samsung splash)
May-29
* Reverted some cherry-picks from upstream that was causing bootloops for some
* Fix for GPU governor, it was sometimes getting stuck at 450 mhtz even with screen off (credits: ktoonsez)
* Updated the updater-script in the flashable zip to do some housekeeping before flash like remove old modules
May-28-build2
* Fixed bad zip packages
May-28
* Rebased source off of ktoonsez kernel,
* Fixed all the instability from the last releases
* CPU OC up to 2322 Mhtz (not all devices can handle this!)
* added frandom support
* Added a few Governors and I/O Schedulers
* Disabled a lot of useless debugging options
* Disabled un-needed modules
* More general build optimizations
* Other changes I forgot
May-26-build2
* Fixed all the bootloop issues from the last build
May-26
* Bugfix: cpu freqs on all cores but core0 weren't being set to desired levels
* Bugfix: a lot of block (I/O) fixes from caf and faux123
* CPU is now overclockable to 2268Mhtz but not all devices, including mine can handle this.
* CPU can now be overvolted to 1500 uV
* CPU L2 cache overclock to 1.3Ghtz (this seemed to give the most performance boost out of any overclocking so far)
* full kernel based mpdecision (there is an init.qcom.post_boot.sh script included that will disable userspace mpdecision, DON'T REMOVE IT)
* Added back all the special UID drivers that got disabled
* A lot of cleanup to the defconfig and disabled a lot of useless options and enabled some that weren't there before
* Switched to intellidemand as default governor
* Switched to ROW as default I/O scheduler
* CPU: Boot at default freq of 1890Mhtz for stability
* Probably a lot more small tweaks I'm forgetting
May-18
* Added an init.d script to zip to help control custom kernel settings
* Added CPU OC to 2106 Mhtz (1998 mhtz default)
* Set default GPU OC to 450mhtz to save battery (still overclockable via 89chronic init script)
* Adjusted the GPU Bus bandwith, seems to help with performance and battery life
* Lots of updates for CM kernel (gpu drivers etc)
* Maybe a couple other tweaks I forgot to list
May-14
* initial release
* Please keep all comments in this Discussion Thread. Any comments not in that thread will be ignored. Feel free to use the DevDB Bug reporting option as you see fit. This is critical in keeping the same question from being asked times in 5 different threads all with the same answer. It was really slowing down development.
* ]If you have problems with frequencies sticking use "No frills CPU Control" and go to Settings and prevent other apps from changing CPU settings
* Although this kernel has now reached "stable" status. bugs still could pop up. please if you find a reproducible bug and decide to post please try and provide a last_kmesg or logcat.
* Versions go as follows: AOSP-JB4.3 = CM-10.2 etc, AOSP-JB4.2 = CM-10.1 etc, TW-JB4.2 = Android 4.2 TW based ROMs, TW-JB4.3: Android 4.3/Google Edition based ROMs
AOSP-JB4.2 : ChronicKernel-JB4.2-AOSP-TMO-v2.3.zip
AOSP-JB4.3 : ChronicKernel-JB4.3-AOSP-TMO-v2.3.3.zip
AOSP-KK4.4 : ChronicKernel-KK4.4-AOSP-JFLTE-v3.1.zip
TW-JB4.2 : ChronicKernel-JB4.2-TW-TMO-v1.3.zip
TW-JB4.3 : ChronicKernel-JB4.3-TW-TMO-v1.3.zip
Goo.im Repo : CLICK HERE
* This Kernel can also be downloaded directly with GooManager *
My Github (main): https://github.com/Team-Hydra/android_kernel_samsung_jf
* First off of course cyanogen, the CyanogenMod project and all who contribute.
* A lot of this was taken/based off of flar2's Kernel for the HTC One, so thanks for the source!
* Also grabbed some things from Faux123's kernel
* All the people who have helped me learn more and more over the past 4 months (arco/dastin1018/android1234567) you guys are the best!
I really didn't want to do this but people keep asking so here is a donation link if you want to buy me a coffee or pack of smokes (I go through a lot sitting on the PC messing around lol) go ahead. But not required or expected by any means
Note: The name on the paypal account may say patricia, this is because it's a family paypal account.
Happy Flashing
Albinoman887
XDA:DevDB Information
[AOSP/TW] ChronicKernel, a Kernel for the T-Mobile Samsung Galaxy S 4
Contributors
albinoman887
Kernel Special Features: * Compiled with linaro * GPU OC to 627 Mhtz (450Mhtz default - configurable though chronic-config.sh init script) * CPU OC to 2322 Mhtz (1890 Mhtz default) * CPU L2 cache overclocked to 1.3Ghtz * Raised the low/med/high values for GPU governor one step ea
Version Information
Status: Stable
Created 2013-10-09
Last Updated 2014-05-07
Reserved
Please keep all discussion in the new Q&A thread please. otherwise your comment will most likely be ignored. Check "NOTES" section in OP for details
Nice. GPU OC. Party only getting started. Cant wait fot CPU OC.
Sent from my SGH-M919 using xda app-developers app
yeah i've never overclocked the cpu from scratch before. i have it done but it wont boot. i think i'm missing a couple references in source somewhere
Great to see you on the S4 albino! I really appreciated your work on the Sensation.
Oh, this is sweet. Installing it now.
Is the S4 audio hardware compatible with the Voodoo Sound? (Had this on my S1, and it was needed..)
Looking forward to this. :good:
Getting lower benchmark scores for some reason on this kernel.
Sent from my SGH-M919 using Tapatalk 2
hmmm i get 6800 is quadrant with stock cm kernel and 7600 with mine. what benchmark program. if you want try underclocking the gpu by 50 mhtz you can do this with this command
echo "4500000" > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
i'm considering lowering the GPU to that as it saves battery and might give better performance i'm not sure
albinoman887 said:
yeah i've never overclocked the cpu from scratch before. i have it done but it wont boot. i think i'm missing a couple references in source somewhere
Click to expand...
Click to collapse
I think gs4 uses acpuclock 8064 for its main CPU controll. Check the pll tables and convert the hex to decimals and multiply by 27 if I'm not mistaken.
Sent from my SGH-T999 using Tapatalk 2
This belongs in original Android development?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have many app ideas, but don't have the skill or the time to learn how to make an app. if you would like to know an idea and attempt to make one, just message me.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Phone: Tmobile Samsung Galaxy s4 m919
Rom: Wicked v2
Kernel: Stock
Radio: Stock
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ArianaGrande said:
This belongs in original Android development?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have many app ideas, but don't have the skill or the time to learn how to make an app. if you would like to know an idea and attempt to make one, just message me.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Phone: Tmobile Samsung Galaxy s4 m919
Rom: Wicked v2
Kernel: Stock
Radio: Stock
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Click to expand...
Click to collapse
isint original for the stock fw. i dont really understand the two different types can someone explain that to me?
Stock..
Antutu3d 5200
Quadrant 7200
3dmark 6600-6850
Chronickernal..
Antutu3d 6000
Quadrant 8000
3dmark 6400-6600
Ran multiple tests @ 35f temp stock settings.
Sent from my SGH-M919 using Tapatalk 2
good to know, i got OC working. only issue i'm having is freqs not sticking. once i get that solved i'll release a update
Please make the kernel compatible with international 9505!
Gesendet von meinem GT-I9505 mit Tapatalk 2
this kernel cant brick a phone if i try it on a i9500, only soft brick right?
iamnotkurtcobain said:
Please make the kernel compatible with international 9505!
Gesendet von meinem GT-I9505 mit Tapatalk 2
Click to expand...
Click to collapse
New version today, i'll add the other variants as well
New features:
CPU OC to 2106 Mhtz
Voltages are still stock, will work on that for next release
Tweaked GPU bus bandwith
Lots of upstream changes from CM
Added a few more governors
i'll be posting soon
albinoman887 said:
New version today, i'll add the other variants as well
New features:
CPU OC to 2106 Mhtz
Voltages are still stock, will work on that for next release
Tweaked GPU bus bandwith
Lots of upstream changes from CM
Added a few more governors
i'll be posting soon
Click to expand...
Click to collapse
So it works on cm for 9505?
Is intellidemand/pegasusq and row included?
Waiting for it! Awesome!!
Gesendet von meinem GT-I9505 mit Tapatalk 2
build posted, OP updated
albinoman887 said:
build posted, OP updated
Click to expand...
Click to collapse
Thanks! Will wait for the 9505 version
Btw which governors are available?
Gesendet von meinem GT-I9505 mit Tapatalk 2
iamnotkurtcobain said:
Thanks! Will wait for the 9505 version
Btw which governors are available?
Gesendet von meinem GT-I9505 mit Tapatalk 2
Click to expand...
Click to collapse
Read the original post its all listed there
Sent from my SGH-M919 using Tapatalk 2

KERNEL | Nougat CM / AOSP | 7th Jan | HalogenKernel R31 | UBER | 3.4.42

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
EXPERIENCE HALOGEN | EXPERIENCE AWESOMENESS​
For Changelogs please see POST #2.
For FAQ please see POST #3.
DISCLAIMER :-​
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will simply laugh at you.
*/
NOTE :-​This kernel is ONLY meant for AOSP/CM ROMs.
This IS NOT MEANT for STOCK ROMs.
Upto R14 Kernel supports Lollipop.
From R15 onwards Kernel supports ONLY Marshmallow.
From R18 onwards Kernel supports Doze + Marshmallow.
From R30 onwards Kernel supports ONLY Nougat.
WHAT IS THIS KERNEL ?​This kernel is built especially for these 3 things :- 1. Audio, 2. Performance, 3. Battery Life.
The main aim of halogen is to bring performance without compromising stability & battery. And that is what I intend to do. Go ahead and try this kernel, and it should make your device much better.
FEATURES :-​(features of ONLY the latest version is mentioned)​
Based on Linux Kernel 3.4.42
Updated with the latest CM14.1 sources
Built with UBER Toolchain GCC-4.9
Any Kernel 2 script used
Kexc Hardboot patched
Built with optimization flags for enhanced performance
GPU OC to 533 MHz & UC to 100 MHz
Disabled PowerHal log spam (thanks to @attack11)
Faux Sound Control v3.5
Headset in high performance profile
Slimbus overclocking for superior audio quality
Enabled CPU boost
Add Frandom
Power effecient work queues enabled by default
Reclaim RAM from loggers
Disable gentle_fair_sleepers for increased I/O
Enable advanced unaligned_access
Enable arch_power
Use power efficient workqueues for bam_dmux
Optimize square root algorithm
intelliactive, intellidemand, zzmoove cpu governors
intelliplug v4.0 cpu hotplug
enabled advanced tcp congestions
Ability to use your device as USB Keyboard / Mouse
Stereo call record support
psx2usb
KCAL v2 by Savoca
Dynamic FSync
Added optimized square root algorithm
Added optimized ARM_RWSEM algorithm
NEON kernel mode
Ex-FAT support
LONG TERM SUPPORT :-​
This kernel will be supported for a long time with updates directly streamed from CM kernel sources i . e . as long as CM keeps publishing updates to its base, this kernel will also be updated.
DOWNLOADS :-​(do not mirror my links)​[ Latest Version ]​[ Older Versions ]​
INSTALLATION INSTRUCTIONS :-​
Reboot into recovery.
Make a nandroid BackUp.
Select Install zip from SD Card.
Select the Downloaded zip.
Then Reboot to System.
Leave your phone untouched for 2-3 minutes after first reboot to allow the kernel to spread it's wings.
RECOMMENDED APPS FOR KERNEL TWEAKING :-​
Kernel Adiutor
Faux123 Kernel Enhancement Pro
I do not support any other apps.
CREDITS:-​~~Google
~~Motorola for kernel sources
~~Flashhhh
~~hurtsky
~~Luk & Luca -for various fixes
~~Thecrazyskull, DC07 -for cherry-picks
~~Faux123
~~Savoca
~~YoshiShaPow
~~attack11
~~many more.......
Please don't start a war here if I forgot to mention someone. PM me and I will add him / her.
XDA:DevDB Information
HalogenKernel, Kernel for the Moto G 2014
Contributors
zakee94
Source Code: https://github.com/zakee94/halogen_kernel/
Kernel Special Features: Faux sound, Kexec, KCAL, Intelliplug
Version Information
Status: Stable
Current Stable Version: R31
Stable Release Date: 2017-01-07
Created 2015-06-11
Last Updated 2017-01-07
Changelog
CHANGELOG​(simplified changelog, for full changelog please look at my GitHub commits.)​​​
R31 --> 07/01/2017​
Merged CM Updates
For older changelogs :-​
R30 --> 30/10/2016​
First Nougat release
For changes please see post #670
R29 --> 24/07/2016​
Merged CM Updates
R28 --> 08/06/2016​
Merged CM Updates
AROMA installer
Added tripndroid IO Scheduler
CPU optimizations
ARM tweaks and updates
R27 --> 12/05/2016​
Merged CM Updates
R26 --> 10/04/2016​
Merged CM Updates
R25 --> 16/03/2016​
Merged CM Updates
R24 --> 18/02/2016​
Reverted the following :-
CPU OC/UC - 1593/96 MHz
CPU UV
LMK tweaks + Agressive LMK mode
Following CPU govs --> lionheart, dancedance, bioshock, alucard
Following Hotplugs --> Mako, Auto-smp
Added the following -->
Merged CM Updates
Built with UBER Toolchain GCC-6.0
R23 --> 19/01/2016​
Merged CM Updates
Overhauled boot script
R22 --> 11/01/2016​
Rebased kernel on android 6.0.1_r10
Rebuilt kernel from scratch
Merged a lot of CM updates
Added futex updates
Cpu UV added (hardcoded values)
Added 2 new hotplugs :- Auto-smp & Mako
Removed Alucard Hotplug
Overhauled updater script
R21 --> 30/12/2015​
Add CPU OC/UC - 1593/96 MHz
Adapt cpu_govs for CPU OC/UC
Merged CM Updates
R20 --> 29/12/2015​
Merged CM Updates
R19 --> 23/12/2015​
Added 3 new cpu_govs: Lionheart, DanceDance & Bioshock
Enabled CPU boost
Added optimized ARM RWSEM algorithm
ARM updates merged directly from CAF (See Git)
Mutex updates (See Git)
LMK updates (See Git)
Add agressive LMK
Build using -O3 & -graphite flags for enhanced performance
Cortex-A7 optimizations in Makefile
block: Disable add_random
Implemented LoUIS cache
Made bioshock as default gov. in boot script
Many other optimizations (smp, rcu, vfs, vfp, etc... See Git)
R18 --> 20/12/2015​
Merged latest CM Updates (support for Doze)
R17 --> 17/12/2015​
Merged latest CM Updates
Made interactive as default gov. in boot script
R16 --> 03/12/2015​
Fixed FM Radio not working
Fixed Section Mismatches
Enabled pipe flag
R15 --> 27/11/2015​
Build Kernel from scratch based on cm-13.0 kernel base
Compiled using Hyper-Linaro 5.1 Toolchain
Kernel version brought down to 3.4.42 temporarily
Revert SE Linux force permissive
Revert use Modulo sched & strict alias flags
Enabled Simple GPU Algorithm
R14 --> 11/10/2015​
Merged latest updates
Updated kernel to v3.4.109
Updated bfq to v7r8
R13 --> 6/09/2015​
Brought back the following :-
SE Linux tweaks
msm:kgsl tweaks
Enable unaligned_access
DOLBY dap dependency fix
Removed the following :-
Simple GPU Algorithm
New features :-
Update with latest CM sources
Implement Adreno Idler
R12 --> 26/08/2015​
Removed the following :-
CPU UC to 96MHz
SE Linux tweaks
USB Fast Charge v2
Added optimized ARM_RWSEM algorithm
msm:kgsl & wcnss tweaks
Optimize square root algorithm
Enable unaligned_access
DOLBY dap dependency fix
Ultrasound & ASoC : qdspv2 tweaks
Changed the following :-
Update 'zzmoove' cpu_gov to v1_beta-8
Set 'zzmoove' as the default CPU Gov
R11 --> 22/08/2015​
Merged latest CM updates
R10 --> 13/08/2015​
Once again rebuilt the whole kernel !
Updated with latest CM sources
Possibly fix interactive deep-sleep issues
R9 --> 25/07/2015​
Updated with the latest CM sources
Rebased and built whole kernel from SCRATCH
Removed useless tweaks
Updated cpu_hotplugs & cpu_govs
Optimized zzmoove profiles again
R8 --> 11/07/2015​
Updated with the latest CM sources
Reverted RAM OC to 566MHz
Reverted some power hogging tweaks
Updated hotplugs :- intelliplug, msm-hotplug (neobuddy89 versions)
Added Bricked Hotplug
Optimized zzmoove profiles
R7 --> 30/06/2015​
Disabled msm_limiter
zzmoove : add back zzopt & zzmod, zzopt unstable for now.
Introduce kernel cooker
Bug fixes
R6 --> 24/06/2015​
Updated kernel version to 3.4.108
Enabled kernel_config_neon
zzmoove : remove profiles 'zzopt' & 'zzmod'
Add strict_aliasing & modulo_sched flags
Add msm:kgsl & wcnss tweaks (see GitHub)
Add MSM Frequency Limiter driver v3.6
Add Ultrasound & ASoC : qdspv2 tweaks (see GitHub)
RAM OC to 566 MHz
And many more I can't fit in here, so please checkout GitHub.
R5 --> 20/06/2015​
Added USB Fast Charge v2
Enabled NEON mode
Added Ex-FAT support
SE Linux tweaks (see GitHub)
zzmoove : set default profile to 2
tune up some governors
Enable intelliplug by default
Random / entropy tweaks
R4 --> 17/06/2015​
CPU UC to 96 MHz
GPU OC to 533 MHz & UC to 100 MHz
Disabled PowerHal log spam
Reclaim RAM from loggers, increasing default ram to 883 Mb
Disable gentle_fair_sleepers for increased I/O
Enable unaligned_access
Enable arch_power
Use power efficient workqueues for bam_dmux
Optimize square root algorithm
Many tick, clockevents & timer tweaks (see GitHub)
Lower swappiness from 60 --> 45
Added optimized ARM_RWSEM algorithm
Force SE Linux permissive
Added state notifier driver
Enabled quick wakeup
NOATIME and NODIRATIME as default
R3 --> 14/06/2015​
CPU Govs removed :- wheatley, nightmare, HYPER, darkness, pegasusq, ondemandplus
Added simple GPU Algorithm
3 new CPU Hotplugs added :- intelliplug, alucard, msm-hotplug.
Power effecient Wqs enabled by default
Reclaim RAM from loggers
devfreq:Add conservative governor
devfreq tweaks (see GitHub)
Dynamic FSync added
Intellithermal v2 added
R2 --> 13/06/2015​
New CPU Govs added :-
intelimm, intellidemand, intelliactive, smartmax, pegasusq, alucard, impulse, ondemandplus, wheatley, yankactive, nightmare, HYPER, darkness, zzmoove.
New TCP Congestions enabled :-
westwood, cubic, reno, hstcp, hybla, vegas, veno, scalable, lp, yeah, illinois, hctp, advanced, highspeed.
New I/O Schedulers added :-
fiops, vr, zen, sio, bfq, cfq, deadline, noop, tripndroid, fifo
Added KCAL v2 by Savoca
Optimized slub memory allocation
Increase torch power by 20 mA
Added stereo call recording support
psx2usb
Added NVIDEA Power effecient patches
Changed CFlags = Ofast
Optimize sfck compression
Many sched tweaks and optimizations (see GitHub)
R1 --> 12/06/2015​
Initial Release
FAQ
FAQ​
This kernel does not have X, Y or Z feature. Please add it !
No such requests shall be entertained.
For this device the closer to stock we are, the better it is. Hence no need for "fancy" useless features/tweaks. The main aim of halogen is to bring performance without compromising stability & battery. And that is what I intend to do.
AND if you really want this or that feature which is not there in halogen, please feel free to compile your own builds.
Oh no ! I encountered a BUG !
Upload the file named last_kmsg that located in /proc/last_kmsg. It contains kernel logs. Clearly state the bug / what you experienced along with your current kernel settings. Bug reports without logs will be ignored.
Recommneded settings ?
Halogen is pre-configured for best. For custom settings please google, do some research and you are encouraged to post your own settings in this forum. You can start here.
My battery drained overnight !! Look at these screenshots...
Not a halogen fault. The kernel does not “drain” battery. On Android devices, the kernel provides a mechanism for keeping the phone awake, called a wakelock. Processes running on the device (e.g. apps and services) can ask the kernel for a wakelock, and the kernel will oblige. So yes, the kernel is technically keeping the phone awake, but only because an app or service has asked it to. It is these apps and services that are misbehaving and causing drain, not the kernel. Doze mode, introduced in Android Marshmallow, is designed to limit the time that apps and services can wake up the device.
All thanks to @flar2 for his excellent post.
Wow,
What is better setting for this Kernel ?
legendsbr said:
Wow,
What is better setting for this Kernel ?
Click to expand...
Click to collapse
There is not much to set in this kernel at present. Leave it as it is. Tweak sound to your hearts desire !
What governors & I/O schedulers are already included? Just the "basic" AOSP kernel ones for now?
Yes...
But updates will come soon !!!
You simply did it! Thank you so much!
There is a long way to go but I hope you can add more stuff, not forgetting the DoupleTap to wake up the screen
Testing
NEW BUILD IS UP !!!
[ 12 June, 2015. Version --> R2 ]
New features added :-
** 14 new cpu govs added !!!(check changelog for their names) **
** New I/O schedulers added (added tripndroid) **
** New TCP Congestions added **
** Stereo call recording **
and MUCH, much more......................CHECK CHANGELOG.
Did you know ? :-
With the release of R2, Halogen Kernel becomes the ONLY kernel with maximum number of cpu govs !!! (among all kernels for stock/cm of titan/falcon).
This kernel has around 20 cpu govs !!!
NOTE :-
Try reading this guide by @gsstudios before selecting out among the many CPU Govs.
E _N_J_O_Y !!!
This kernel really works for battery life... Smooth and fast and also improves battery life. Appreciate you're work!
giannis_mathiou said:
This kernel really works for battery life... Smooth and fast and also improves battery life. Appreciate you're work!
Click to expand...
Click to collapse
Thanks for review...
More updates will come soon !
This kernel mainly focuses on audio and battery life.
zakee94 said:
Thanks for review...
More updates will come soon !
This kernel mainly focuses on audio and battery life.
Click to expand...
Click to collapse
Thank you so much for the updates!
Can you make a post with the recommended settings for battery life and the best performance possible?
TiGuy82 said:
Thank you so much for the updates!
Can you make a post with the recommended settings for battery life and the best performance possible?
Click to expand...
Click to collapse
Of course I will....
zakee94 said:
Of course I will....
Click to expand...
Click to collapse
there is something terribly wrong... at boot maximum cpu frequency is set to 384MHz, this give terribly long boot time, stuttery bootanimation and longer time for apps optimization after a rom update
EDIT: temporarily solved with an init.d script, here it is if someone has the same problem https://www.dropbox.com/s/qmcdlljjj0klzaf/cpufreq.zip?dl=0
ktulu84 said:
there is something terribly wrong... at boot maximum cpu frequency is set to 384MHz, this give terribly long boot time, stuttery bootanimation and longer time for apps optimization after a rom update
Click to expand...
Click to collapse
Even I had been facing the bug...BUT I fixed it out and the BUG IS NO MORE !!!
I will be soon releasing the update ! The problem was with some improperly adapted CPU governors which limited the max cpu freq to 384 at boot. I have removed them and now the cpu clocks @ 11190 during boot.
I appreciate your work with the script. Its good, and I hope you will keep supporting my kernel in the future.
 @ktulu84
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Sent from my Moto G 2014 using Tapatalk
Is the kernel stable? i'm using cm12.1 for daily use and some of the kernels i've tried always gave me the problem where the logcat is spammed with something liek "failed to acquire lock" everytime i touched the screen, can someone report?
xeraphael said:
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Sent from my Moto G 2014 using Tapatalk
Click to expand...
Click to collapse
Yes I m aware... It will be improved in future versions.
However it does not matter much, Linux handles memory in a different way and will release appropriate ram when required. What really matters is whether you are getting a smooth experience or not.
xeraphael said:
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Click to expand...
Click to collapse
Yes, there are changes in that. As the OP said, it depends on the kernel. Since our device has 1024MB RAM, the remaining RAM gets allocated to Graphics, audio processing, etc. If you are familiar with it, its very similar to Intel & AMD's allocation of RAM to Graphic memory in computers.

[Kernel][3.10.94]tiltkernel - v1.6

I present tiltkernel!
Code:
#include
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
It's based on @BlueFlame4 super work, with something extra.
Updated to Linux 3.10.94
dt2w and Pocketmod
ThunderQuake Engine 1.0 - Vibration Intensity Controller for MTK vibrators
Secured
init.d support
CFQ and BFQ IOScheduler
CIFS and NFS
Interactiveplus, Pegasusq and stock CPU governors
westwood and cubic TCP congestion control
Removed various debug and logging stuff
Compiled with latest UBERTC 5.3 toolchain and Cortex-A53 optimizations
Dynamic Fsync Control
mmc: disable crc check for 30% extra performance in IO
Ramdisk
MTK: removed HUGE trail of MTK kernel logging
Increased READAHEAD to 1024 for better I/O performance
And lots of other kernel options...
Source: https://github.com/tiltkoko/android_kernel_elephone_p8000.git
Changelog:
Code:
v1.6:
* Linux 3.10.94
* Updated toolchain
* Default to NOATIME and NODIRATIME for FS performance improvement
* 100+ other patches. Look at the source.
* Fixed fingerprint sensor
* Improved wifi
v1.5:
* Fixed touch zoom bug
* Fixed ThunderQuake Engine
* Removed 1.5 GHz step
v1.45:
* updated to 3.10.93
* Dynamic Fsync Control
* mmc: disable crc check for 30% extra performance in IO
* Tweaked IO scheduler for better performance
* NFS
* BFQ default IO scheduler
v1.4:
* Fixed "youtube" bug
* kernel update fixes and some network patches
* Updated with Eragon init.d fix.
* ARM Cortex-A53 compiler optimizations
v1.3:
* Updated to the new Elephone sources
* Increased VM_MAX_READAHEAD to 1024 for better I/O performance
* Changed to UBERTC toolchain and O3 optimization
* Added Pegasusq CPU Governor
* Some other fixes
v1.21:
* Removed multicore scheduler.
* Added interactiveplus cpu governor
* Fixed some really stupid stuff introduced in v1.2
v1.2:
* Huge update to 3.10.92!
* Disabled some more debug stuff.
* Fixed button wake up.
v1:
* Initial version.
Install:
Rashr or fastboot
Props:
@BlueFlame4
@varun.chitre15
skeleton1911 for Eragon
showp for DT2W
and XDA!
Whats next:
Think it's stable now, so expect new version in a while
I am on #elep8k on freenode IRC network if you want to say hello!
FAQ
F.A.Q
Q. How to use the features?
A. Most of the features are controllable via TricksterMod app
Q. How to use ThunderQuake Engine?
A. With ThunderQuake Engine you can control vibration intensity at hardware level. There are 7 levels of intensities supported
Using Terminal Emulator/ADB shell use following command
Code:
echo "your-value-here" > /sys/kernel/thunderquake_engine/level
Valid values: 0-7
Question:
Is it real 1.5Ghz or is it "1.5Ghz", which actually runs at 1.3Ghz but at higher volts (as it happens in most Mediatek devices when one tries to overclock)?
TricksterMod and benchmark scores indicate 1.5Ghz. That's good enough for me.
Stevethegreat said:
Question:
Is it real 1.5Ghz or is it "1.5Ghz", which actually runs at 1.3Ghz but at higher volts (as it happens in most Mediatek devices when one tries to overclock)?
Click to expand...
Click to collapse
This was already discussed in my kernel thread. They're real, because the kernel already supports it and we just unlocked the frequency. Also benchmarks indicate that it's real.
NTFS is not supported.
NTFS formatted SD-card is not mounted in system at all.
Thank you very much for your kernel I'm too happy .
I installed TricksterMod app and set dt2w , BFQ IOScheduler , westwood TCP and ZRAM .
How do I set NTFS and CIFS and Multicore scheduler ?
You may also upgrade your kernel to version 3.10.92 , please ?
BlueFlame4 said:
This was already discussed in my kernel thread. They're real, because the kernel already supports it and we just unlocked the frequency. Also benchmarks indicate that it's real.
Click to expand...
Click to collapse
Sorry, last I remember it was 30% slower than MT6752 (which basically would show no difference than the 1.3ghz clocks).
Maybe I'd have to run Phoronix's Linux workload via chroot if the results are as inconclusive as I remember them. Phoronix's benchs show things like throttling with surgical precision (it only cares about load, not mhz, so when there's sudden gap in performance that would be throttling). Of course I'd have to get the phone in my hands first (my wife rarely let's me to "pet" it anymore ).
OsitKP said:
NTFS is not supported.
NTFS formatted SD-card is not mounted in system at all.
Click to expand...
Click to collapse
The ROM has to support it as well and stock doesn't But a 3rd party app would do it as well, AFAIK.
I do not have a microSD card yet (ordering one soon). What do work with SD-cards, fat32? ext4?
@stefano91av Multicore scheduler is built in, so nothing to do there.
The kernel sources has a lot of backports etc, especially in the arm code. So it's not that easy to get to the latest kernel. I will get there eventually, just give me some time.
I am not an expert at this stuff, learning as I go.
Has someone played with ThunderQuake?
tiltkoko83 said:
What do work with SD-cards, fat32? ext4?
Click to expand...
Click to collapse
FAT32 definetely does.
My p8000 om eragon 5. Freeze just after reboot.
Flashed it with fla****y. Tryid booth versions.
All version of Blues kernel works without problems.
Any suggestion?
wierd micbanand..
I am still on eragon 4. My and Blues kernel is using same source, so should be no difference. Tried with Rashr?
Finished with updating to 3.10.92. Uploading after I have tested it a few hours...
Uploaded new kernel with 3.10.92 added. There are so much debug stuff in the sources it's crazy. Found some hidden stuff when I updated..
Now I am tired. Was a lot of work..
Thanks. But freezes. Reboots frezes. Tryid all 3 kernels. And allso updated to eragon 5,5
This time flashed with Rashr.
Now I'm trying v1.21.
With v1.20 there were jamming in the videos of facebook when I received messages from whatsapp . In addition, the score was AnTuTu 29000
heh that bad. I did some stupid stuff there.
I got almost 35000 with 1.21.
Will try to improve on the wakeup lagg tomorrow.
I too can confirm that flashing this kernel over Eragon 5.6 results in a bootloop. Well, it's not exactly a bootloop, since the phone finishes botting and you can also unlock the screen, but less that a minute it restarts, and this happens over and over again. I tried rebooting the phone into safe mode before it reboots itself, but in safe mode it also reboots suddenly.
wierd. Every kernel I have build has booted fine for me.
New version with updated sources ++ coming later tonight.
Waiting for new kernel

[6.0+]Mimori Kernel [AOSP & Lineage OS Based ROM]

Mimori Kernel | Stability for performance
For Xperia M
Based on Lineage OS 14.1 source​
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Mimori Kernel based on Lineage OS 14.1 source, and included many improvement and optimization on processor, I/O and include some feature for Xperia M / M dual devices that use Marshmallow as base ROM.
Mimori offered kernel performance, stability, smoothness process on cpu and already have full support on NEON, this kernel need kernel configuration app to control this kernel, so try to find kernel configuration app after flash this kernel.
Recommended Kernel Configuration :
- Kernel Adiutor (BETA)
- Device Control
Okay this is several features that i include in this kernel.
This kernel feature is :
Kernel Features
* Linux Kernel Version 3.4.113
* Compatibility with AOSP,CM And LineageOS based ROM [Android 6.0+]
* Added overclock up to 1,4Ghz
* Added Double Tap 2 Wake Feature (Incl. Vibration)
* Added custom CPU Governor : Alucard,Intelliactive,IntelliMM,Lionheart,Adaptive & Blu Active (specially for Blu Active is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
* Added custom I/O Sched Governor : zen,sio,sioplus,tripndroid,fifo,fiops,vr and maple (specially for maple is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
* Added custom TCP Modules : Advanced,Bic,Westwood,Hybla,Vegas,Veno,Yeah and more
* Added CPU Voltage Table Control
* Implement Power Efficient Workqueues
* Dynamic management of dirty page writebacks
* Added Interface of Gentle Fair Sleepers, Software CRC and Arch Power (Option Disable by Default)
* Added Frandom Support
* Added Dynamic Fsync 2.0
* Entropy Tweaks
* NEON VFPv4 Optimized (hard)
* Added Intelli Plug v4.0
* Added Intelli Thermal v1.0
* Added F2FS File System Support (Based on Linux 3.4.y Branch) (Working)
* Added EXFAT File System Support (Driver Version v1.2.9) (Need Test)
* Added USB Keyboard Support
* Optimized I/O Sched
* Compiled using GCC 5.4.X Hyper Toolchains
* Updated CVE Patch From LineageOS Kernel Source 20171106
[/LIST]
[/LIST]
How to install :
1. Download Mimori Kernel and install it from recovery mode, use TWRP recovery (TWRP Link)
2. install kernel adiutor from Playstore for kernel configuration (i don't have myself app to control kernel) (Try to use BETA version to get fix for CPU temperature)
3. Final step, let's configure kernel like what you want it :victory: and enjoy my first custom kernel
For download, look at download tab on top of this thread
Thanks to : 
 @PecanCM [For Kernel Source] 
 @Alex_Gamer [For Kernel Tester & Troubleshoot] 
 @thichthat [For DT2W Source]
XDA:DevDB Information
Mimori Kernel For Xperia M, Kernel for the Sony Xperia M
Contributors
Nicklas Van Dam, PecanCM, Alex_Gamer
Source Code: https://github.com/Nicklas373/Mimori-Kernel_MSM8227_LineageOS_14.1
Kernel Special Features: Overclocked, ARMV7 NEON Optimized
Version Information
Status: Stable
Current Stable Version: Seventh Build
Stable Release Date: 2018-02-11
Created 2016-09-03
Last Updated 2018-02-19
Kernel Adiutor OTA Update Information
Now for CyanogenMod And AOSP Based ROM, Hana Kernel Offered OTA Update feature for kernel update using kernel adiutor app for CyanogenMod Based ROM with "download" feature in kernel adiutor.
You can download new build in that menu included ; introduce, kernel feature and changelog update. Now i'm still try to enable it on LineageOS too, i'm just need to wait confirmation from the admin .
For anyone want to install this kernel, can access too using KA. just like normal download and installation for kernel :laugh:
Have fun
Kernel Adiutor Information
For Kernel Adiutor Usage
During new stable version of Kernel Adiutor have problem with CPU temperature, now we should use BETA build from Kernel Adiutor to get fix for that problem.
And for set on boot configuration, i'm not recommended it again , since that only can make kernel error during boot up process.
So set kernel when system is already boot is best option for stability and performance.
If kernel adiutor to hard for configure, then you can try Device Control app to manage your kernel.
This app is almost same like KA but it's little simple and more friendly for configuration
Changelog :
Seventh Build (20180211):
- Fixed some upstream issue
- Upstream to 3.4.113 (REBASE change)
- Fix issue with OTG problem (Recovery or System)
- Updated F2FS to latest 3.4.y and misc fixes
Sixth Build (20180122):
- Updated Kernel Security Patch to 20171106 (Based on MSM8960T Source)
- Change GCC to GCC 5.4.X Hyper Toolchains
- Misc fixes with intelli thermal
- Applied last patch with 3.4.113
- Applied security patch with "KRACKS attacks"
- Removed sdcardfs drivers (not used by device)
- Misc CPU Optimization
- Set readahed to 512kb
- Added GPU optimizations flags
- Improve Hard Floating Point for neon-vfpv4
Fifth Build (20171002):
- Introduce IMAGINE Codename
- Upstream Linux Kernel to 3.4.113 based on git.kernel.org
- Revert change of F2FS (back to old source)
- Revert some optimization change
- Added Maple I/O Sched (specially for maple is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
- I/O Sched Optimization for SIO and ZEN
- Enable Interface Of Software CRC
- Misc CPU Optimization
- Added some sched optimization
- Disabled USB Fastcharge v1
- Reverting Permissive, Back to Enforcing
- Added Blu Active CPU Governor (specially for Blu Active is thanks to @sudokamikaze for him workaround to make it work for linux 3.4.x based kernel)
- Added Support for Neon VFPv4 With Hard Floating
- Disabled Quick Wake Up Drivers
Fourth Build (20170913):
- Added Optimization on I/O Sched (Improves SSD Speed)
- Misc fixes for conservative governor
- Added F2FS and EXFAT File System Support
- Added Hyper CPU Governor
- Optimized KSM
- Update Intelli Plug to v4.0
- Optimized SLUB
- Set readahed to 256KB
- Added CCACHE for faster kernel building
- Updated CVE Patch (Kernel Security Patch) to 20170826 Based On MSM8960T
- Misc Optimization
- Added Quick Wakeup driver
- BACKPORT F2FS from branch Linux 3.4.y (git.kernel.org)
- Reverting Quick Wakeup Driver
- Added USB Keyboard features
- Updated SDCARDFS Driver
- Misc fixes
Third Build (20170821):
- Little Improvement on CPU Bus Speed
- Added Dynamic Fsync 2.0
- Added Frandom Support
- Added Interface of Gentle Fair Sleepers (Option Disable by Default)
- Misc change on I/O Partitions
- Dynamic management of dirty page writebacks
- Removed "+" Symbol From Kernel Version String
- Implement Power Efficient Workqueues Feature (Enable by Default)
- Revert Alucard CPU Governor to v1.0
- Added Interface of Arch Power Features (Disable by Default)
- Entropy Tweaks
- Build vfp with softfp
- Misc change with cpufreq
- Added Intelli Plug and Intelli Thermal
- Fix Neon VFP
- Upgraded Kernel to 3.4.4
- Change toolchains to Hyper Toolchains GCC 4.9
- Decrease thermal limits to 70c
Second Build (20170817):
- Set kernel as permissive
- Enabling 972Mhz to fix slow response on boot and skipped frequency on system
- Added Custom TCP Congestion
- Added CPU Voltage Control
- Added DT2W Vibration Support
- Added USB Fastcharge v1
- Adapted Some CPU Governor with CPU Freq Table
First Build (20170816):
- INITIAL BUILD
: - Included Custom CPU Governor
- CPU Overclocked to 1.458Mhz
- Using NEON Optimized as VFP
- DT2W Feature
- CPU Optimization Algorithm
- Custom I/O Sched
Kernel Adiutor Configuration
CPU Manager :
CPU Max Frequency : 972Mhz (For Normal Usage) . 1.2Ghz (For Multitasking Usage) & 1.4Ghz (For Hard/Gaming Usage)
CPU Min Frequency : 384Mhz
CPU Governor: Alucard or Interactive (For Normal Usage), Alucard or IntelliMM (For Multitasking Usage) & Lionheart or Intelliactive, Blu Active (For Hard/Gaming Usage)
(Beside that leave it as stock)
Hotplug Manager :
Mpdecision = Disable
Intelli Plug = Enable
Profile = Eco for Performance
(Beside that leave it as stock)
Thermal Manager:
Thermald : Disable
Intelli Thermal : Enable
Core Control : Enable
Frequency Throttle Temperature : 60c
CPU Throttle Temperature : 70c
Thermal Limit Low = 2
(Beside that leave it as stock)
GPU Manager
GPU Max Freq : 400Mhz
GPU Governor : Ondemand or Performance (For Hard Gaming)
I/O Scheduler =
(Leave it as stock)
Misc =
Software CRC Check = Disable
Dynamic Fsync = Disable
Arch Power = Disable (Not really recommended)
Gentle Fair Sleepers = Disable
TCP Congestions = Depends on your need
Option already update during new kernel feature is include
For explanation (cpu hotplug, and i/o sched) check on this thread
CPU Governor : Link- 1 Link-2
I/O Sched : Link
CPU Hotplug :Link - 1 Link - 2
Special Thanks to @gsstudios for guide :laugh:
[INFO] Double Tap 2 Wake & BETA Build
For Double Tap 2 Wake
Try to use kernel adiutor and check in wake tap, after that choose DT2W and enable it using "full'" option and then let's try DT2W features with vibration on mimori kernel
NOTE : BETA Build For Testing (Not Stable)
github/build
For BETA, try to look date for kernel. Find latest one, and anyone can test latest beta if don't want wait for stable update. I can't promise to make fast update for stable source, i don't want to make any problem. so it's better stay at beta and whenever it ready, and it should release on thread :victory:
Thanks.
Garv Maggu said:
Thanks.
Click to expand...
Click to collapse
you're welcome, i'm still working for optimization in armv7 vfpv4 module.
have fun
Updated
New kernel build v1.1 is released with several fix for vfpv4 and neon modules, download link in on download tab.
have try
Great!
Please add dt2w
Niiiice! I was waiting for new release, I'll test it now
Alex_Gamer said:
Niiiice! I was waiting for new release, I'll test it now
Click to expand...
Click to collapse
my laptop is back from service center , and now is time to back :laugh:
romspeed said:
Please add dt2w
Click to expand...
Click to collapse
i will try on next update, it's to hard to add that anyway .
Nicklas Van Dam said:
my laptop is back from service center , and now is time to back :laugh:
Click to expand...
Click to collapse
Good to hear that your laptop its back to rock
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app
Sent from my SM-J700H using Tapatalk
Kb44994 said:
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app
Sent from my SM-J700H using Tapatalk
Click to expand...
Click to collapse
sound is bursting? i think i'm not to modified to sound on this kernel, maybe that's from high cpu usage so that's make sound is distortion. i will try to look at sound option.
[EDIT]
Kb44994 said:
Really good work working like a charm
Just one question on my device sound is bursting any particular reason behind that and is that can be controlled through any setting or app
Sent from my SM-J700H using Tapatalk
Click to expand...
Click to collapse
i'm update kernel with clean build and kernel optimilization, i hope that can fix your problem. i'm already compare sound with stock and my kernel. i'm not hear any particular change on sound volume, maybe very little difference, please to wipe dalvik-cache and cache after install this update
Updated
New kernel build v1.2 is released with several clean build for kernel and optimization on kernel compiler to reduce size, download link in on download tab.
have try
Updated
New kernel build v1.3 is released with first stable build , added auto hotplug drivers and more optimization for armv7 and krait processor
download link in on download tab.
have try

[KERNEL][7.1.X/8.X/9.X/Stock 5.1.1] RZ Kernel for Sony Xperia Z1

Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.*/
Features
I/O Schedulers (these were actually added in upstream kernel source)
BFQ
CFQ
DEADLINE
FIOPS
NOOP
ROW [DEFAULT]
ZEN
CPU hotplugs: intelli_plug (ENABLED BY DEFAULT)
CPU thermal control: intellithermal (ENABLED BY DEFAULT)
Governors
conservative
elementalX
intelliactive
interactive
ondemand
powersave
performance
zzmoove [DEFAULT, profile: 3 (ybatext)]
CPU
Support for Multi-Core Power Saving, reduce CPU usage (available in CPU tab of Kernel Adiutor).
Reduced CPU Average-Load drastically (Less CPU-Load=Cool Device=More Battery-Life).
Support userspace CPU voltage controlling
GPU
Support for Adreno Idler algorithm, reduce high GPU frequencies usage for better battery performance
Support for Simple GPU Algorithm
Memory
Support for Adaptive Low Memory Killer (ALMK) (kill any process that cause thrashing scenario)
Support for Kernel Samepage Merging (KSM).
Support for zRAM compression algorithm (updated to upstream Linux 4.8)
Support for LZ4HC (LZ4 high-compression rate) compression algorithm for zRAM
Other tweaks and optimizations
Init.d support
Support Faux Sound Control (use Faux Sound app to set audio gain profiles)
Optimized Integer SQRT. for upto 3x faster operation.
OVERCLOCKED CPU to 2,5GHz
Westwood TCP congestion algorithm (small boost on network speed)
Hacked swappiness up to 200 by using hacks from Samsung kernel sources (default swappiness is 130)
SELinux Permissive (for V4A and etc...)
Disabled some battery-hogging WAKELOCKS
Support zswap for better memory compression
XDA:DevDB Information
RZ Kernel for Sony Xperia Z1 (honami), Kernel for the Sony Xperia Z1
Contributors
remilia15, SuperLamic
Source Code: https://github.com/remilia15/android_kernel_sony_msm8974
Kernel Special Features:
Version Information
Status: Testing
Created 2018-04-04
Last Updated 2018-09-14
Download link: Drive
CHANGELOG
v1.0: Initial release
v1.5: Post #11
v2.0: Post #17
v2.5:
Post #48
Support for stock 14.6.A.1.368: Post #52
v3.0: Post #97
v4.0 [FINAL]: Post #147
Small notes
The kernel is tested on C6902/C6903/C6906 model. Not sure about other Z1 variants (don't confuse with Z1c). Testers are welcome
As written in the thread name, make sure you're on ROMs mentioned in the thread name. Please report if other ROMs work with this kernel
The kernel is based on @SuperLamic's msm8974 kernel source, and other features were cherry-picked from other sources as well. Original credits goes to them
For dt2w, tap 2 fingers at once on your touchscreen (as mentioned in Modified-kernel thread)
Reserved for future usage
Twrp included ?
Any plans for oreo version?
Is it possible to disable dt2w?
I remember way back it was usually done by modifying a file like
echo "1" > /sys/android_touch/ *some dt2w file*
iga64828 said:
Twrp included ?
Click to expand...
Click to collapse
Well, you have to install it separately through FlashTool
pokepokepoke said:
Any plans for oreo version?
Click to expand...
Click to collapse
Maybe, after Oreo gone stable
SUPERUSER said:
Is it possible to disable dt2w?
I remember way back it was usually done by modifying a file like
echo "1" > /sys/android_touch/ *some dt2w file*
Click to expand...
Click to collapse
You can disable it from Kernel Adiutor -> Wake -> DoubleTap2Wake
Or sysfs way:
Code:
echo 0 > /sys/class/input/input1/wakeup_gesture
Sent from my Xperia Z1 using XDA Labs
nice set of features,,,, gonna give it a test
remilia15 said:
The kernel is tested on C6902/C6903 model. Not sure about other Z1 variants (don't confuse with Z1c). Testers are welcome
As written in the thread name, make sure you're on LineageOS 14.1. I haven't tested other N ROMs yet. Please report if other ROMs work with this kernel
The kernel is based on @SuperLamic's msm8974 kernel source, and other features were cherry-picked from other sources. Original credits goes to them
For dt2w, tap 2 fingers at once on your touchscreen (as mentioned in Modified-kernel thread)
Click to expand...
Click to collapse
Bootloops on RR Nougat 7.1.2 (yeah yeah yeah, read the disclaimer on support for other ROMS, just curious to test this kernel). Strange but offline charging works as expected and even booting into TWRP works. But while in TWRP I notice the device temperature begins to rise rapidly, causing it to reboot,,,,,hope this works in future releases. Device: C6902
RZ v1.5 is up! Changes
Implemented power efficient workqueues (thanks to franciscofranco)
Disabled DT2W by default
Enabled multi-core power saving by default
Reverted GPU OC, obviously because it doesn't do anything
Built with UBERTC 4.9
Disabled battery-hogging wakelocks (thanks to franciscofranco)
Enabled intelli_plug and intellithermal by default (you'll need to disable mpdecision from Kernel Adiutor so intelli_plug will work properly)
RZ v1.5 is available on my Drive folder. Please checkout OP for download link!
Cheers,
Confirmed working with latest Carbon N ?
Sent from my Xperia Z1 using XDA Labs
Good work on my c6903 LOS 14.1 SuperLamic.
Nice work. It's working fine on my C6906 running LOS 14.1 from SuperLamic with Magisk installed and working fine too. My phone was charging too slow but now it's fixed.
Hello, remilia15.
Thank you for your work.
This kernel is flash like update.zip in trwp recovery?
Seand1796 said:
Hello, remilia15.
Thank you for your work.
This kernel is flash like update.zip in trwp recovery?
Click to expand...
Click to collapse
Yes, the kernel is packed inside a flashable ZIP, so just flash it through TWRP
RZ v2.0 is up! Changes
Added support for userspace voltage controller (available in Kernel Adiutor)
Added support for Adreno Idler (reduce high GPU frequencies usage due to msm-adreno-tz overhead), and Simple GPU algorithm
Added governors: zzmoove [DEFAULT], elementalX
Disabled mpdecision and thermanager by default (through my own ramdisk implementation, may support other ROMs for sure, as confirmed with Carbon N and LOS N)
Added support for zswap (ported from Samsung msm8974 kernel source)
Added IO schedulers: zen, fiops (default is still ROW)
Added 100MHz GPU step (should reduce battery consumption on light usage)
Added support for Dynamic Fsync (disabled by default), powersuspend driver (default: HYBRID mode)
Reduced CPU standby voltage
Fixed dt2w deep sleep state (it should function properly now)
RZ v2.0 is available on my Drive folder. Please checkout OP for download link!
remilia15 said:
RZ v2.0 is up! Changes
Added support for userspace voltage controller (available in Kernel Adiutor)
Added support for Adreno Idler (reduce high GPU frequencies usage due to msm-adreno-tz overhead), and Simple GPU algorithm
Added governors: zzmoove [DEFAULT], elementalX
Disabled mpdecision and thermanager by default (through my own ramdisk implementation, may support other ROMs for sure, as confirmed with Carbon N and LOS N)
Added support for zswap (ported from Samsung msm8974 kernel source)
Added IO schedulers: zen, fiops (default is still ROW)
Added 100MHz GPU step (should reduce battery consumption on light usage)
Added support for Dynamic Fsync (disabled by default), powersuspend driver (default: HYBRID mode)
Reduced CPU standby voltage
Fixed dt2w deep sleep state (it should function properly now)
RZ v2.0 is available on my Drive folder. Please checkout OP for download link!
Click to expand...
Click to collapse
Hi
thanks for your works buddy
can u make kernel for other roms like RR too?
u can use anykernel :fingers-crossed:
Luncer said:
Hi
thanks for your works buddy
can u make kernel for other roms like RR too?
u can use anykernel :fingers-crossed:
Click to expand...
Click to collapse
I'm using the very first version of AnyKernel with very minimal patching commands
Somehow it's pretty hard for me to adapt to a newer AK version so I decided to write my own noob-friendly ramdisk patching script instead (compatible with all Z1 AOSP boot.img)
My kernel boots currently on LOS N and Carbon N. For RR, idk why it bootloops. Probably need some other kernel commits maybe?
Sent from my Xperia Z1 using XDA Labs
Runs nice..but I needed to flash the stock kernel from superlamic lineage os and then flash this kernel because the phone went in to a bootloop on the sony logo.
Just a reminder to what to do when your next update is coming
edit: no its magisk thats acting up.. wont't boot when installing this after flashing the kernel
Phone is booting with magisk on stock kernel so something is not right.
I don't have more time atm for this so im gonna let it be

Categories

Resources