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

ChronicKernel for Verizon 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-VZW-v2.3.zip
AOSP-JB4.3 : ChronicKernel-JB4.3-AOSP-VZW-v2.3.3.zip
AOSP-KK4.4 : ChronicKernel-KK4.4-AOSP-JFLTE-v3.1.zip
TW-JB4.2 : ChronicKernel-JB4.2-TW-VZW-v1.3.zip
TW-JB4.3 : ChronicKernel-JB4.3-TW-VZW-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 Verizon 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

Flashed this into PACman, ktoonz kernel never played nice for me. I will report back on my thoughts.
First impressions? Well it boots, strong performance, too early to tell on battery.
Sent from my Galaxy S4

Wake up delay/lag is completely gone for me since flashing this kernel. I'm on the latest CM nightly.
Sent from my SCH-I545 using Tapatalk 4 Beta

So I have been running all day on this kernel. Governor = smartassH3 1998/189 and row scheduler. All set with the native PACman performance settings. No other mods enabled. Not quite the performance I was hoping but not bad considering my slight overclock. Also I have had quite good service today.
Sent from my Galaxy S4

To offer a different perspective, intellidemand, row, 189/1890, no undervolt, CM. Insane so far.
Sent from my SCH-I545 using Tapatalk 4 Beta

might have to try this out

Working very well on pac. Too early to tell battery but based on the change log its going to vary on your set up.
Sent from my SCH-I545 using xda premium

I'm enjoying this kernel and can't wait for future updates! So far I'm getting really good battery life with this. I've noticed a couple of issues which I didn't experience when running the KT kernel. I'm not 100% sure it's kernel related, but I never experienced these with KT. 1) Sometimes wifi won't connect and when I try to access wifi settings in the settings menu it freezes and springs a settings is not responding. 2) On occasion I'll get a real system slowdown where I get a bunch of lag. Both of those issues seem to be resolved with just a regular reboot. 3) I use face unlock as my lockscreen and sometimes the camera doesn't work (including after a reboot). So I see like the white "burst" in the box like it usually does when it's opening the camera, but then the camera doesn't initialize and it just shows a black screen.
My settings:
Kernel:
189/1890
Intellidemand
Row
Haven't made any other changes to settings
Rom:
Fitsnugly's (Euroskank) CM10 from 06/07
Otherwise I think this has huge potential to be my go to kernel for battery life.

Albinoman887, just an FYI, flashed the latest kernel build on the 6/12 CM nightly and BT doesn't turn on. Behavior is consistent with what you typically see when a module is missing. Was on the go and couldn't grab a logcat, but will do so if the solution is non-obvious.
Sent from my SCH-I545 using Tapatalk 4 Beta

Might be some updates to the ramdisk cm made. I'll check it out
Sent from my SGH-M919 using Tapatalk 2

yep looks like its something to do with a CM update. i rolled back to 6/8 and BT works again. they probably changed some permissions or something in the ramdisk. (the lame thing about samsung kernel developing) i'll re-sync the ramdisk code with upstream and see what that does. it should fix it. then i'll release a revised build. until then the June 8 CM build works fine with BT and my kernel, as a temp fix

someone have the older kernel from the 8th

revolt1 said:
someone have the older kernel from the 8th
Click to expand...
Click to collapse
Not the older kernel. Older cm build with current kernel
Sent from my SGH-M919 using Tapatalk 2

albinoman887 said:
Not the older kernel. Older cm build with current kernel
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
ahh

revolt1 said:
ahh
Click to expand...
Click to collapse
I have it working now with latest builds let me try and explain it again.
With samsung phones when you flash a kernel you arent JUST flashing the kernel like on HTC. due to limitations in recovery on samsung you have to flash the full boot.img. this img file contains the zImage (kernel) plus a the ramdisk, which is things like init.rc init.cm init.qcom. these are scripts that run at boot to set permissions for radio, wifi, mount points etc.
Since we are limited to flashing the full boot.img these init scripts get flashed during kernel fash as well.
So say you have a kernel build from the 10th. but on the 15th CM changed some paths in the init scripts (which is what they did this time) and you download that update from the 15th, flash it, then the kernel. you lose all the updates to the ramdisk from the 10th on. So if there are some big changes in there it will cause issues like this BT one. usually the ramdisk doesnt get updated much. its just because the device is so new. i predict in a month or so this wont be an issue as all the scripts will be final.
Enjoying some coffee, then i'll post the new build with the updated ramdisk (fixed BT)

Biggest cup of coffee ever! Lol
Sent from my SCH-I545 using Tapatalk 4 Beta

lol sorry. got busy with life, and had to reinstall my os for various reasons. back in business now

No complaints, just seemed like a good joke
Sent from my SCH-I545 using Tapatalk 4 Beta

Just wondering is anybody knows oz this kernel had CIFS support.
Sent from my SCH-I545 using Tapatalk 2

Related

[Kernel][Sense 4] crpalmer | August 25, 2013

The goal of this kernel is above all stability with the secondary goals of increased performance and increased battery life. I use this phone for several hours a day for work and therefore it must be reliable. I am not focusing on providing a million options for governors, etc. In addition to those main goals of the kernel, I have an additional secondary goal of removing as much HTC code as possible from the kernel.
This is based on the 2.04 kernel source release from HTC with a huge number of modifications. Thanks to faux123, showp, harsh, mdeejay, zarboz and dsb9938 whose kernels I have pulled some commits from.
The unique features of this kernel are:
New init.d scripts to allow some tweaking without needing any 3rd party apps
* See the next post for details.
Replaced HTC's mpdecision with a new custom hot-plug driver that I created:
* This hot-plug driver is more aggressive about bring cores on and off-line to match the load on the system.
* Bringing cores online earlier makes your phone more responsive / smooth.
* Taking cores offline earlier improves battery life.
* It ramps up very quickly on resume to avoid lag.
Replace HTC's thermald with a new custom thermal driver that I created:
* Unlike all other thermal drivers, it uses "trip-points" to let the phone tell the kernel when it is overheating. The other thermal drivers poll every X ms and read the temperature instead.
* By using trip-points, there is 0 battery consumption unless the phone is overheating.
* By using trip-points, there is an instant reaction to temperature changes.
* It's probably nearly impossible to cause thermal shutdown without being in a desert!
Replaced HTC's bluetooth drivers with Code Aurora Forums (CAF) version.
Replaced HTC's lightsensor table with one that is more sensible and that matches what other devices use. If you have custom auto-brightness settings, you'll probably need to tweak them after installing this kernel.
There are many additional changes to boost performance and battery life:
* Linaro -O3 compiled (Linaro 4.8).
* Overclocking from mdeejay's kernel.
* Underclocking to 192MHz.
* I disable tons of HTC debugging crap left enabled and needlessly consuming battery.
* Improvements to the core locking code of the kernel.
* Patches that transform traditional locks into RCU backed data structures.
* CAF version of the ondemand and conservative governors.
* hsic wakelock changes from dsb9938's kernel.
* CAF changes to power management to sleep faster and waste less CPU during suspend.
* Improved code for moving data to/from user-space and manipulating strings within the kernel.
Other features:
* Include all mainline Linux changes to keep up-to-date on bug fixes.
* Voltage control (faux123) to allow user-space under-volting.
* BFQ I/O scheduler.
* CAF lowmemorykiller.
* Force fast charge.
Links
A link to each version is included in the changelog entry. Scroll down to the changelog to download the latest version.
Source (GitHub):
* Kernel source
* Merging of upstream into the stock kernel
* Build tools
Installation Instructions:
If you are S-OFF you can flash the update.zip in recovery.
If you are S-ON, then after you flash the update.zip in recovery then, while still in recovery, you must run
Code:
adb pull /tmp/boot.img
<reboot into bootloader>
fastboot flash boot boot.img
Changelog:
Version 2.0.41: August 25, 2013: Linux 3.4.58, HTC colour "enhancement"
* Merged Linux versions 3.4.53 - 3.4.58
* Added the ability to enable / disable the HTC colour enhancement (this lets you see if you like it or not)
Version 2.0.38: July 7, 2013: Linux 3.4.52
* Linux version 3.4.51 / 52 merged in
* Reverted a small change to the PWM values used for the display (it wasn't giving any value so why change ti)
Version 2.0.34: June 24, 2013: colour enhancement, fixes, debug messages
* Toned done yet more HTC debugging messages
* Enable UTF-8 codepage support for Windows file-systems
* Fix error in HTC's light-sensor calibration table (overflows the 16-bit number they are using)
* Avoid buffer overflow in acdb driver
* Remove HTC's colour enhancement gamma correction (beaups)
Version 2.0.32: June 15, 2013: linux 3.4.49, scheduler & mutex improvements
* Linux 3.4.49
* Three scheduler performance improvements
* Move to more standard and slightly faster mutex implementation
Version 2.0.30: June 8, 2013: linux 3.4.48, small fixes
* Linux 3.4.48
* Fix CVE-2013-2595
* Decrease latency in cpufreq frequency changes
Version 2.0.27: May 26, 2013: init.d governor, 3.4.47
* Ability to specify the cpufreq governor at boot time (see second post).
* Linux 3.4.47
* Remove an annoying HTC debugging message
Version 2.0.26: May 23, 2013: init.d tweaks, 3.4.46, no default undervolting
* Added PVS information to /proc/cpuinfo in case you wanted to knoiw what it is for your phone.
* Linux upstream version 3.4.46
* Improve how I set the CPU frequences to safe levels for boot without having to reset them every time a core is hot-plugged in.
* New init.d scripts for some common tweaks (see post #2).
Version 2.0.23: May 13, 2013: Lightsensor fix, 3.4.45, faster freq. changes:
* Fix an error transcribing the lightsensor ranges into the source.
* Update to Linux 3.4.45
* cpufreq: use a high priority to target new frequencies to allow faster changes under load
Version 2.0.20: May 12, 2013: Lightsensor, 3.4.44, undervolt for "fast":
* Use a new lightsensor table to get a more granular light reading If you have custom auto-brightness settings, you'll probably need to tweak them after installing this kernel.
* Update to Linux 3.4.44
* Undervolted for devices binned "fast" by -100mV.
* CAF fix for cpufreq driver.
Version 2.0.17: May 7, 2013: Linaro 4.8.0 build, minor CAF fixes:
* Moved to updated Linaro 4.8.0 based toolchain (theoretically faster, less battery likely it's unnoticeable)
* CAF: change boot-up order for cpufreq
* CAF BT: recover from a hardware error by resetting the device
Version 2.0.15: May 2, 2013: boot hang fix, 3.4.43, CPU frequencies, brightness, misc fixes:
* Linux 3.4.43
* Small fixes from CAF (bluetooth, usb)
* Restore the CPU frequences/voltages from 1.x.y kernels (previously I was using HTC's new tables)
* simple_plug: keep cores online during boot
* use the correct brightness ranges for our display (HTC cut off the lowest brightnesses).
* fix a race condition on boot with the binder kernel services
Version 2.0.9: April 23, 2013: 3.4.41 and small fixes:
* Linux 3.4.41
* Small fixes from CAF
* Clean up some more HTC crap in the kernel
Version 2.0.6: April 17, 2013: boot changes, linux 3.4.40:
* Linux 3.4.40 (upstream).
* Limit CPU speeds during boot to stock speeds.
* Enable the thermal driver 5 seconds into the boot (previously was 30 seconds).
* Small changes to the ramdisk from the 2.04 update (I forgot these before).
Version 2.0.3: April 15, 2013: on_demand, battery, HTC spew:
* HTC insists on adding more and more debugging messages to the kernel log. Clean these up.
* OnDemand: revert a CAF change I made and disable io_is_busy.
* Remove HTC's over-volting for CPUs binned anything other than nominal.
* defconfig changes to ease building the kernel for CM10.1 (no you can't use this one for CM10.1!).
Version 2.0.0: April 11, 2013: 2.04 (OTA) source drop:
* Updated to Linux 3.4.39
* Updated to HTC's release of 2.04 source
* cgroup permissions fix
* Otherwise the same as 1.2.6
* Note: After running this for a day, I feel like the battery is draining faster and the phone is hotter than it should be. I'm looking into that.
Changelog from 1.2.x
Version 1.2.6: April 4, 2013: ramdisk fix, lowmemorykiller, hsic wakelocks:
* Fix a problem where the ramdisk was no longer disabling mpdecision and thermald. This issue causes a very minor additional battery drain that has now be fixed (Thanks t1gartist!).
* CAF updates to lowmemorykiller.
* Reapply elkay's HSIC fixes by pulling the real commits from CAF (instead of his hand copied commits) which fixes two problems in his commits.
1.2.2: April 1, 2013: linux 3.4.38, lag fixes, bluetooth drivers, cleanup:
* Undo some dubious commits (or extra code included in unrelated commits, what I meant by "early mistakes"). I reexamined every commit in the kernel to decide whether to keep it or remove it.
* Bluetooth drivers are the current CAF msm-3.4 drivers.
* Additional CPU speed and governor information added in /proc/cpuinfo.
* Cleaner patching to upstream linux (see my github repo for the clean upstream patching).
* Linaro -O3 compilation was redone from scratch because there were some problems found by kern3l in the original patches I pulled, I wanted to ensure that there were no other problems so I redid the work myself.
Changelog from the 1.0.x series:
1.0.27: Mar 25, 2013: thermald, simple_plug
* Make the previous changes to simple_plug less aggressive about turning cores back off when applications force them online. We now detect that this has occurred and give the application 2 minutes to be in charge before we force the state back to what we want.
* Change thermald default throttling to be slightly less strict.
1.0.25: Mar 21, 2013: Linux 3.4.37, simple_plug, performance
* Linux 3.4.37
* simple_plug: add a verify mode (every 5 seconds => almost 0 cost) that fixes the state when apps bring cores on/off-line (e.g. kernel tuner).
* rwsem performance improvements
* CAF improvements (correctness, performance) of the power management layer
1.0.21: Mar 16, 2013: Linux 3.4.36
* Linux 3.4.36
* Small bug fixes from CAF
1.0.18: Mar 7, 2013: Linux 3.4.35
* Linux 3.4.35
1.0.17: Mar 4, 2013: Linux 3.4.34, Linaro 4.7-2013.02, thermald fix
* Linux 3.4.34.
* Linaro 4.7: stopped using 4.8 beta builds due to stability fears and lack of apparent benefit from it. The latest 4.7 drop back-ports some optimizations anyway.
* lowmemorykiller: switch to the CAF version of the low memory killer.
* Fixed several bugs in HTC's thermal driver that could cause the termal driver to miss thermal events.
1.0.15: Feb 26, 2013: Battery optimization, performance, thermal & hotplug improvements
* governor: make ondemand the default governor
* GPU: Very minor GPU overclock to 487MHz (from mdeejay).
* msm_thermal: react better when temperature decreases.
* simple_plug: be slightly less aggressive about bringing cores online.
* New suspend mode PM_SUSPEND_FREEZE
* Oprimization for RWSEM lock handoffs.
* RCU locking in cpufreq!
* Disable more HTC debugging code.
1.0.11: Feb 22, 2013: Battery optimizations, Linaro 4.8 build, update.zip format
* Disable HTC's PNP power manager and adaptive policy services (used for thermald / mpdecision which are already disabled).
* Turn off all the kernel code that was polling to compute the state needed for thermald / mpdecision.
* Turn off a bunch of HTC statistic collection and debugging that isn't needed and wastes battery.
* Linux 3.4.33: fixes a kernel memory corruption/hang in all 3.0 and 3.4 kernels
* Sparkco's 4.8 Linaro build is now being used to compile the kernel
* Moved to update.zip format with less commonly used modules moved to loadable modules.
1.0.8: Feb 19, 2013: Switch to different OC values
* Now using mdeejay's over/unclocking (hopefully solving the L2 cache corruption panic).
* thermal driver is less aggressive about throttling the phone with an additional early step down to stock speed
(50C => 1.5GHz, 75C => 1.3GHz, 83C => 918MHz, 90C => 384MHz).
* Linux 3.4.32 (although no changes that would affect our phone).
1.0.7: Feb 15, 2013: thermal driver no longer polls for state
* Linux 3.4.31.
* Now using the 2013-01 build of the Linaro toolchain.
* Major rewrite of the thermal driver to remove polling (now uses essentially no power).
* Tweaks to the hot-plug driver to reduce CPU consumed to reduce power consumed.
1.0.5: miscellaneous optimizations
* Optimization: use optimized memcpy for user-space copies
* Update to linux 3.4.30
* Tons more cleansing of excessive debugging output
* Use RCU_FAST_NO_HZ as caf claims to have found that this improves battery life
* More linaro -O3 fixes from kern3l via dsb
1.0.2
* cm3629 driver, removed power button pocket check (sounds like a good idea, doesn't work and is a likely candidate for an infrequent sensor drain coming from the proximity sensor not turning off).
* cm3629 remove some unused functionality.
* Two small fixes from kern3l via dsb9938's kernel.
* clean some log messages.
1.0.0
* Merge linux 3.4.29
* simple_plug: a new CPU hot-plug driver (default)
* msm_thermal: a new thermal throttling driver (default)
* faux123's intelli_plug (disabled by default)
* faux123's intellidemand governor (default)
* disable mpdecision and thermald in initrd
* dsb9938's overclocking tables, GPU fix and more -O3 changes
* optimizations/fixes from faux123's mako kernel
* Based on elkay's LK kernel which is based on dsb9938's kernel.
* Includes all elkay's HSIC fixes, but nothing beyond that.
* Linaro -O3 compilation (zarboz) and other compiler flags (dsb9938).
* Disabled remote assistance because that just creeps me out.
* NTFS and CIFS.
* Various optimizations and improvements (faux123's mako kernel, similar to dsb9938's pulls from there).
* Force fast-charge (dsb9938).
* Voltage control (faux123).
* Latest OnDemand and Interactive governors from faux123's mako kernel.
* Large set of scheduler fixes / improvements (faux123).
* Underclocking (but not overclocking right now) to 192 MHz.
* BFQ I/O scheduler (default).
* Cleaned up debugging to make the kmsg more useful.
FAQ
sweep2wake: I have no plans to add that to this kernel at this time.
FAQs
init.d tweaks
I really like Zarboz's goal of trying to get rid of the need for 3rd party apps to make the common changes that we want to make to some of the configurable parameters of the kernel. I created some scripts that run on boot (init.d) because I install my kernel so many times that I would go insane if I had to use an installer. By using these scripts and configuration files on the sdcard, I can just configure it once and keep installing away to my heart's content.
After installing this kernel, there will be:
/system/etc/init.d/99crpalmer
run at boot, even if you switch to another kernel. It is safe to leave this file there and to let it run as it only makes changes if the kernel contains "crpalmer" in the version.
The tweaks are:
CPU Frequencies
* Frequencies loaded from /sdcard/crpalmer-cpufreq-min and /sdcard/crpalmer-cpufreq-max
* Governor loaded from /sdcard/crpalmer-cpufreq-governor
* If you specify either or both of these frequencies, it will lock down all of the CPU frequency controls. I had to do this because HTC overrides them in a script that is run very late in the boot process (thanks HTC!).
* E.g. adb shell su -c "echo 192000 > /sdcard/crpalmer-cpufreq-min"
* E.g. adb shell su -c "echo 1728000 > /sdcard/crpalmer-cpufreq-max"
* E.g. adb shell su -c "echo interactive > /sdcard/crpalmer-cpufreq-governor"
Undervolting
* + or - value loaded from /sdcard/crplamer-uv
* The undervolting in 2.0.23 for FAST binned CPUs would be specified as:
* E.g. adb shell su -c "echo -100 > /sdcard/crpalmer-uv"
Lightsensor
* My light sensor changes didn't sound like they worked well for everyone. If you don't like them you can disable them by:
* E.g. adb shell touch /sdcard/crpalmer-stock-lightsensor
HTC Colour "Enhancement"
* If this file is present then the stock colour "enhancement" will be used, otherwise it will be disabled.
* Introduced in kernel 2.0.41.
** E.g. adb shell touch /sdcard/crpalmer-color-enhancement
My WIFI Won't Turn On
If your WIFI won't turn on then the most likely cause is that either you didn't flash the boot.img (e.g. not S-OFF) or your modules don't match the kernel. To figure out what's wrong, first boot the ROM after having installed my kernel. Second, verify that you are running my kernel by running
adb shell cat /proc/version
and seeing that it says crpalmer in (it should match the version that you think you installed, but at least saying crpalmer is a good start). Then do:
adb shell dmesg -c
(turn on wifi)
adb shell dmesg
and look for an error that says crpalmer in it (something like a module version mismatch error). If you see that, it should tell you the version number of the modules that are installed and the version of the kernel.
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
Thanks for this. Looks good. :thumbup:
Sent from my ViperDNA
nice, moar kernel development :highfive:
welcome aboard
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
So no modules to flash?
Sent from my HTC6435LVW using Tapatalk HD
idkwhothatis123 said:
So no modules to flash?
Click to expand...
Click to collapse
That's right. No need to flash the return-to-stock modules either.
Thank you for this! I also find it hilarious that you including instructions for benchmarking. To this day I still wonder why people actually care about benchmarks as they have little to no impact on real world performance.
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
azndan2 said:
Thank you for this! I also find it hilarious that you including instructions for benchmarking. To this day I still wonder why people actually care about benchmarks as they have little to no impact on real world performance.
Click to expand...
Click to collapse
Self defense... I didn't want to deal with people getting 8K scores and blaming me.
Antutu is actually really useful for testing the thermal driver.
Very nice, does this have the latest changes that were just removed from elkays kernel? Also, could you add the lionheart gov?
Nice to see another kernel to choose from, I will give it a shot this weekend. Will you eventually put any you tweaks? Also, can this be flashed with FlashGui?
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
orangechoochoo said:
Nice to see another kernel to choose from, I will give it a shot this weekend. Will you eventually put any you tweaks? Also, can this be flashed with FlashGui?
Click to expand...
Click to collapse
just tried, flashgui won't even let you flash it. Gotta wait till I get home I guess!
Sent from my HTC6435LVW using Tapatalk 2
Thanks for giving it a shot.
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
codezzie said:
Very nice, does this have the latest changes that were just removed from elkays kernel? Also, could you add the lionheart gov?
Click to expand...
Click to collapse
I looked at elkays changes and it removes a background task that encourages a USB device to power down. This may or may not be a good thing. I'll see how elkay's testing goes before I pull in the change. If it goes well, I'll give it a try.
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
orangechoochoo said:
Nice to see another kernel to choose from, I will give it a shot this weekend. Will you eventually put any you tweaks? Also, can this be flashed with FlashGui?
Click to expand...
Click to collapse
What tweaks? It.already has a lot of improvements...
Any idea what flashgui accepts as input?
I didn't see any mention of gpu tweaks so I didn't want to make assumptions, hence my question.
EDIT: I just noticed my autocorrect changed "gpu" to "you" in my post you responded to.
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
crpalmer said:
Any idea what flashgui accepts as input?
Click to expand...
Click to collapse
Flashgui worked for me. Renamed file to "boot.img" and ignored the warnings. I like living on the edge. Booted up and shows this kernel version. Thanks for this.
Stay thirsty, my friends
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
Had a glitch with it already, phone was sleeping, got a message on gtalk and it locked full on vibration, blinking the led, wouldn't wake up and eventually rebooted after maybe 10 seconds. I've had this happen on one of the dsb kernels too, I think. Wiped caches again, hasn't occurred again so far.
Happened not 10 minutes after flashing it so I'm chalking it up to kernel making itself at home, just a note that it happened.
Edit: just rebooted again getting an email notification, UKB 1.3. Seems I can't receive a notification while the phone is sleeping or it jams up and reboots.
Sent from my HTC DNA
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
matteebee said:
Flashgui worked for me. Renamed file to "boot.img" and ignored the warnings. I like living on the edge. Booted up and shows this kernel version. Thanks for this.
Stay thirsty, my friends
Click to expand...
Click to collapse
Just did the same thing, was coming back to edit my last post lol
Sent from my HTC6435LVW using Tapatalk 2
pio_masaki said:
Had a glitch with it already, phone was sleeping, got a message on gtalk and it locked full on vibration, blinking the led, wouldn't wake up and eventually rebooted after maybe 10 seconds. I've had this happen on one of the dsb kernels too, I think. Wiped caches again, hasn't occurred again so far.
Happened not 10 minutes after flashing it so I'm chalking it up to kernel making itself at home, just a note that it happened.
Edit: just rebooted again getting an email notification, UKB 1.3. Seems I can't receive a notification while the phone is sleeping or it jams up and reboots.
Sent from my HTC DNA
Click to expand...
Click to collapse
After it reboots, can you try to get a log with
adb shell cat /proc/last_kmsg > last_kmsg.txt
and send a link to the last_kmsg.txt file?
orangechoochoo said:
I didn't see any mention of gpu tweaks so I didn't want to make assumptions, hence my question.
EDIT: I just noticed my autocorrect changed "gpu" to "you" in my post you responded to.
Click to expand...
Click to collapse
Ah, that makes more sense... I'm planning on including dsb's changes to any overclocking, etc. but I don't have the knowledge to tweak these settings myself.

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

ChronicKernel for Sprint 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-SPR-v2.3.zip
AOSP-JB4.3 : ChronicKernel-JB4.3-AOSP-SPR-v2.3.3.zip
AOSP-KK4.4 : ChronicKernel-KK4.4-AOSP-JFLTE-v3.1.zip
TW-JB4.2 : ChronicKernel-JB4.2-TW-SPR-v1.3.zip
TW-JB4.3 : ChronicKernel-JB4.3-TW-SPR-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 Sprint 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-09-05
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
reserved
Interesting! Ill defintely check this out!
Sent from my SPH-L720 using xda app-developers app
Nice to see another kernel developer
Sent from my SPH-L720 using Tapatalk 2
any chance of u cooking up a TW kernel??
Anyone running this thing yet? Thoughts? I may have to flash this layer.
Sent from my SPH-L720 using Tapatalk 4 Beta
mjs2011 said:
Anyone running this thing yet? Thoughts? I may have to flash this layer.
Sent from my SPH-L720 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Im getting ready too
Sent from my SPH-L720 using Tapatalk 2
---------- Post added at 09:11 PM ---------- Previous post was at 08:23 PM ----------
mjs2011 said:
Anyone running this thing yet? Thoughts? I may have to flash this layer.
Sent from my SPH-L720 using Tapatalk 4 Beta
Click to expand...
Click to collapse
OK so far so good
Sent from my SPH-L720 using Tapatalk 2
lol guys just try the kernel....its really stable. ive had it on all the other variants for about 2 months i just forgot about sprint lol. its loosely based off of Ktoonsez's kernel. (we trade fixes back and forth) bot mainly based off of CM with all the additions mentioned plus a few more little ones like frandom support i think its the only kernel with L2 cache overclocked though, which gives a nice boost i think. and battery life is great, and no reboots or anything i'm aware of
albinoman887 said:
lol guys just try the kernel....its really stable. ive had it on all the other variants for about 2 months i just forgot about sprint lol. its loosely based off of Ktoonsez's kernel. (we trade fixes back and forth) bot mainly based off of CM with all the additions mentioned plus a few more little ones like frandom support i think its the only kernel with L2 cache overclocked though, which gives a nice boost i think. and battery life is great, and no reboots or anything i'm aware of
Click to expand...
Click to collapse
Do u plan to cook up a TW kernel or just AOSP/CM??
eh maybe...never messed with TW i flashed CM right when i got my phone so not sure
Been running this since last night. So far so good. Haven't changed any settings because I usually use intellidemand. Are there any settings you suggest changing?
Sent from my SPH-L720 using Tapatalk 4 Beta
albinoman887 said:
eh maybe...never messed with TW i flashed CM right when i got my phone so not sure
Click to expand...
Click to collapse
maybe is good!! yea i never liked CM/AOSP much i think the longest i ever ran a AOSP rom was a few hours tops.. When i was with HTC i ran just sense roms.and .now that im with Samsung I run TW
does camera work with this kernel? i cant seem to use my camera using kt
edit: answered my own Q it does work well with Liquid Smooth Rom
mjs2011 said:
Been running this since last night. So far so good. Haven't changed any settings because I usually use intellidemand. Are there any settings you suggest changing?
Sent from my SPH-L720 using Tapatalk 4 Beta
Click to expand...
Click to collapse
I overclock the cpu to 1998 or 2106 depending on battery and particular phone
rhyme187 said:
does camera work with this kernel? i cant seem to use my camera using kt
edit: answered my own Q it does work well with Liquid Smooth Rom
Click to expand...
Click to collapse
it should work. i think the above poster would have mentioned that if it ididnt. i use the t mobile variant but they are all the same. i can flash your kernel and it works just fine just no radio
heres a test touchwiz version of my kernel. i dont have touchwiz installed so i havent tested it but it should work
http://tinyw.in/8WaA
rhyme187 said:
does camera work with this kernel? i cant seem to use my camera using kt
edit: answered my own Q it does work well with Liquid Smooth Rom
Click to expand...
Click to collapse
Yes camera works fine for me.
Ps: Been running great today on PAC nightly. I'll get some stats up once I have more time on it. Tks op!:thumbup:
Edit, added:
Is it possible to set gpu to stock using root explorer? I could be wrong but any feedback would be very appreciated. Tks!
Sent from my GS4 (PAC 7-15)
anyone test the TW kernel?
and to set GPU clock open /system/etc/chronic-config.sh and look for the GPU section. it has a list of values you can pick from. then just save and reboot
added tw beta
albinoman887 said:
added tw beta
Click to expand...
Click to collapse
sweet!!! flashing now boss.. thanks!!

[Kernel][KK/LP]Zombie[CM][06.03.15]

Zombie-Kernel
Here's my Zombie-Kernel for the Xperia Z Ultra.
I will frequently update the Kernel with useful features and backports from Linux
Mainline. If you have any feature requests please use the devdb tab above. Thanks.
The first post contains all Lollipop stuff, the second one everything KitKat related.
Code:
#include <std_disclaimer.h>
/*
* 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.
Lollipop Releases:
Source:
https://github.com/Tommy-Geenexus/android_kernel_sony_msm8974
Downloads:
https://www.androidfilehost.com/?fid=95916177934537940
Features:
* Compiled with the latest Linaro GCC 4.9.2 and -02
* GZIP Compression/ Decompression
* Many Backports from Linux 3.6+
* MPDecision & Optimized Intelliplug
* In-Kernel Thermal Solution
* Display Color Control (saturation, rgb, greyscale, inverted, hue, value)
* Powersuspend
* FauxSound
* CPULimiter for full core control
* F2FS support
* Power-Efficient-Workqueues
* Reduced ghost touches to a minimum
* Voltage Control
* Headset Wakeup
* Kexec support
* ZRAM & ZSMALLOC
* Kernel Samepage Merging (KSM)
* NTFS r/w support
* Use your device as USB-keyboard/mouse
* Updated Interactive, Ondemand and Conservative Governor
* Updated cpuboost, kgsl, devfreq and other drivers from CAF
* Added NEON mode, NEON Crypto and enabled more digests
* More TCP Congestion Algorythms
* BFQ, FIOPS I/O Scheduler and Impulse Governor
Changelog:
17.01.15
* Initial release
21.01.15
* Added and updated kernel code
* Intelliplug and thermal
* Tweaked ramdisk
* Made ramdisk TWRP compatible
28.01.15
* Tons of backports
* Optimized Intelliplug
* hopefully fixed ghost touches
* Source sync'ed with latest CM
06.02.15
* Tons of backports
* Tuned Intellli_plug and removed MPdecision
* More touchscreen driver tweaks
* Sync'ed with CM
08.02.15
* New thermal driver, much cleaner
* Optimized Intelli_Plug
* Merged a patch for the ipv4 subsystem from upstream which fixes a problem that could make the system go out of memory in some cases (quoted from franciscofranco)
14.02.15
* Updated Intelli_Plug
* Switched to GZIP Compression
* Merged all feature requests
* Added Impulse Governor
* Other misc updates
18.02.15
* Updated Intelli_Plug
* Upstream updates to sched
* Other fixes from Linux Mainline
* Sync'ed with CM
20.02.15
* Updated Color Control Driver
* CAF fixes
* Brought back MPDecison as default hotplug
27.02.15
* Ramdisk sync'ed with CM for compability
06.03.15
* Switched to more reliable CAF-Thermal
* Updated Color driver
* Updated Impulse Governor - it now works as it was designed to
* Random Code fully updated to Linux 3.10
* Sound Codec fixes from CAF
* Sync'ed with CM
XDA:DevDB Information
Zombie, Kernel for the Sony Xperia Z Ultra
Contributors
Tommy-Geenexus
Kernel Special Features:
Version Information
Status: Beta
Created 2014-11-02
Last Updated 2015-03-07
Reserved
KitKat Releases:
Kernel Source:
https://github.com/Tommy-Geenexus/kernel_sony_msm8974-old
Downloads:
https://www.androidfilehost.com/?fid=95832962473394893
Reserved
Kernel Control:
UKM and Synapse:
http://forum.xda-developers.com/xperia-z-ultra/general/zip-synapse-script-universal-kernel-t2994224
Hint: Synapse may not be 100% stable on Lollipop yet.
USB-Keyboard-App:
https://play.google.com/store/apps/details?id=remote.hid.keyboard.client
Thanks:
I would like to thank all devs involved (credits in the repo) , Christopher83 for his toolchain builds and osm0sis for AnyKernel2.
Also i'd like to thank Sony for beeing such helpful towards devs and users on xda.
Tommy-Geenexus said:
- Zombie Kernel, this time for the Xperia Z Ultra.
Click to expand...
Click to collapse
Hi.Thanks for the provided kernel. Tell it only on the basis of CM? On SLimKat it is possible to set?
Feodorus 4PDA said:
Hi.Thanks for the provided kernel. Tell it only on the basis of CM? On SLimKat it is possible to set?
Click to expand...
Click to collapse
All cm based roms will work: pa, slim, etc..
I'm currently running it on slim.
Sent from my Xperia Z C6603
Tommy-Geenexus said:
All cm based roms will work: pa, slim, etc..
I'm currently running it on slim.
Sent from my Xperia Z C6603
Click to expand...
Click to collapse
I'm taking it is based on CM11's kernel - too lazy to look
blueether said:
I'm taking it is based on CM11's kernel - too lazy to look
Click to expand...
Click to collapse
Yeah, based on cm, all other roms use stock cm or cm based kernels.
Sent from my Xperia Z C6603
Hi guys,
a new kernel is up.
Changelog is attached @ the second post.
More features will come soon.
runnin smooth with the latest slimkat weekly on my c6806
New Kernel is up.
Grab it from the OP and profit!
add dt2w in new release!
madsponge26 said:
add dt2w in new release!
Click to expand...
Click to collapse
the upcoming release will feature backports from caf and linux and a rewritten anykernel, but i'll look for dt2w for sure.
New update out!
AnyKernel2 is rewritten, now removes scheduler/readahead overrides present in cm ramdisk.
Kernel is updated with backports and other stuff.
I've added logger control via sysfs:
path: sys/module/logger/parameters/log_mode
// 0: Enabled, 2isabled
Flash and enjoy.
Last KK update
Hi folks, here is my last kk update.
I've rebased the kernel on slimkat-kernel, and added my optimisations on top of it.
I've removed over 40k lines of unused deprecated code!
It will run best with slim.
See here for the changes i made.
Download: https://www.androidfilehost.com/?fid=95784891001611475
Flashing now. CM11 M12
Edit: wow! Very smooth
48 hours reporting for battery juice.
Sent from my Bacon Machine
madsponge26 said:
Flashing now. CM11 M12
Edit: wow! Very smooth
48 hours reporting for battery juice.
Sent from my Bacon Machine
Click to expand...
Click to collapse
Thats the purpose, more smoothness and (hopefully ) some juice saving
Tommy-Geenexus said:
Thats the purpose, more smoothness and (hopefully ) some juice saving
Click to expand...
Click to collapse
Mate, why dont you include pegasusq gov?
Sent from my Bacon Machine
madsponge26 said:
Mate, why dont you include pegasusq gov?
Sent from my Bacon Machine
Click to expand...
Click to collapse
Well, this is simple to answer.
I won't include any other than the already included governors.
For a fact all these govs like lionheart, etc.. were designed years ago and deliver subpar performance compared to the included governors, as they are designed with old single or dualcore devices in mind ( and pegasusq uses its own hotplug logic).
Only difference are faux intelli governors which are quite actual codewise, and a few more others which are optimized for modern devices.
But the best performance and battery life will be achieved using a frequently updated interactive or ondemand governor.
@madsponge26
i'm working on bringing dt2w.
I'll see if i can fix a few things such as >2taps mostly and implement a wakeout time like flar2.
It's already working quite good, thanks @blueether for the base.
I can't do much on lollipop as my knowledge is very limited and c only, so i'll let the others who have more knowledge doing their job and supporting them if it's in my range.

[KERNEL][Marshmallow] Hydra Kernel v5.0 Nightly Builds [23/Jan]

✯ ✯ ✯ HYDRA KERNEL ✯ ✯ ✯
Advanced Hybrid Kernel
Synapse Support Included ​
Description:
Hydra Kernel is specially developed to enhance user experience over stock kernel.
Hydra kernel aims to provide non-minimalistic, organized, stable, feature-packed, smooth and performance-driven kernel for daily use.
More and more enhancements and improvements will be added based on reviews and requirements.
Daily updates from 4.0 Kernel upstream and CAF, as and when feasible. (That's why HYBRID)
Follow github source to know more in detail.
Features:
Upstream stable updates to 3.10.94
Synapse Backend Support INSTALL FROM PLAY STORE.
Kexec-hardboot enabled for MultiROM support
CAF's Adaptive LMK (kills sluggishness and helps launching apps faster)
MSM Limiter Driver - Per CPU Total Control
MSM Hotplug Driver - Default - Based on myfluxi's initial hotplug driver for hammerhead. Enhanced by me and @dorimanx
Intelli Hotplug Driver - Based on faux hotplug driver. Enhanced by me and @dorimanx
Bricked Hotplug Driver - Conservative hotplug driver by @showp1984. Improved and enhanced by me.
Disabled stock touch boost and replaced with enhanced CPU Boost Driver
Wakeup boost, Input Boost and Hotplug Boost for CPU Boost Driver
Added BFQ and FIOPS I/O Scheduler
Added KCal Driver Support by @savoca. Colors calibrated for Nexus 6 by default.
Improved suspend routines by Motorola
Sound Control Driver
Wake Gesture driver by @flar2
Latest CAF Interactive governor with tuned defaults
Impulse governor - Tweaked CAF interactive governor - Friendly and power efficient frequency scaling.
Awesome CAF sound experience. Up-to-date sound codecs with Ultra-High-Quality auto enabled with high quality music
Fixed entropy depletion
SELinux improvements
Neon-enabled ARM crypto routines
LED Control
PM QoS updates
Disabled Forced Encryption
Massive driver updates
Tunable wakelocks via Synapse
ZRam support
Memory tweaks
Lots of bug fixes
And much much more....
Links:
▷ Download Link:
Nightly Builds are HERE.
Stable Builds are HERE
CHECK UPLOAD DATE BEFORE DOWNLOADING.
▷ Kernel Source: Click Here
How do we roll out? Well, nightly builds will be out updated most of the times.
Stable RC build will be released once a month.
Test builds if published, will be specified.
Installation Method:
Reboot in Recovery
REFLASH YOUR ROM IF YOU WERE USING ANOTHER CUSTOM KERNEL
Flash downloaded Zip File
Reboot and profit!
Credits:
{
"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"
}
myfluxi (msm_hotpluf / msm specific fixes)
faux123 (sound control base/ intelli_hotplug / thermal tweaks / msm specific tweaks)
showp (bricked_hotplug)
flar (wake_controls)
franciscofranco (tweaks)
imoseyon (device specific fixes)
The user community (reviews and feedback)
If I have forgotten credit to your contribution, please send me a PM. Thank you.
You may post anything related kernel. Make sure to mention ROM name, Governor name, IO Scheduler name.
Feature request is served if feasible.
XDA:DevDB Information
Hydra Kernel, Kernel for the Nexus 6
Contributors
neobuddy89
Source Code: https://github.com/neobuddy89/Shamu/commits/marshmallow
Kernel Special Features:
Version Information
Status: Nightly
Current Stable Version: 4.1
Created 2015-02-26
Last Updated 2016-01-22
Changelog
Marshmallow:
Code:
[B]
Hydra_v5.0-[01-23]-[00-08][/B]
* Restored marshmallow wifi driver.
* Fixed GPU error - reported in last log.
* Patched latest security update from CM.
* Performance improvement.
[B]
Hydra_v5.0-[01-20]-[02-19]
[/B]* Updates and fixes for GPU.
* Misc library updates from mainstream.
* Fix few warnings on boot.
[B]Hydra_v5.0-[01-18]-[20-03][/B]
* Disable net skb cache. This should prevent OOM reboot issue due to memory pressure of network traffic.
* Optimized for gcc.
* Revamped interface for Gamma controls in Synapse.
* Added new CRON tab in Synapse. Schedule jobs for auto-maintenance.
* Added new control for optimization of IPv6 networks. Synapse > Network.
* Reduced default vfs_cache_pressure to 80 for better performance.
* Reverted couple device memory allocation commits to test stability.
[B]Hydra_v5.0-[01-17]-[01-10][/B]
* Address errors in submitted logs.
* Improved power efficiency.
* Fixes and optimizations from mainstream.
[B]Hydra_v5.0-[01-15]-[15-45][/B]
* Backported fixes from 3.12 and CAF for robust net and bluetooth connect.
* Improved suspend latency.
* USB driver updates.
[B]Hydra_v5.0-[01-12]-[05-46][/B]
* More bug fixes from CAF and mainstream.
* Optimizations from mainstream and ChromeOS.
* Added new tunable wakeup sources (bluesleep and wlan). You can disable from Synapse > Misc.
* Newer WiFi driver with lots of fixes from Nexus 6P and Google. It may be a placebo but I have observed reduced power consumption with wifi. Please test.
[B]Hydra_v5.0-[01-10]-[03-08][/B]
* New nightly series. This build needs to be tested thoroughly. Reviews & logs welcome.
* Built with self-compiled Linaro 5.3 toolchain.
* Massive SCHED updates - boosts overall performance. SCHED is now ahead of that of younger brother Nexus 6P.
* Updated interactive and impulse governor with CAF updates.
* Enabled State Notifier by default.
* Massive CAF sync - Fixes and Updates (drivers, ARM, mm, and more - 280+ commits)
* Cherry-picks from 4.4 mainstream for improved performance and stability.
* Cherry-picks from Motorola kernel 6.0 release.
* Updated KSM
[B]Hydra_v4.1 [/B][COLOR=DarkGreen][COLOR=Black][B][COLOR=Red](Stable Release for 6.0.1)[/COLOR][/B][/COLOR][/COLOR]
* Fix time reset on boot issue.
* Stable Release.
[B]Hydra_v4.1-[01-02]-[01-17][/B]
* Bump version to 4.1
* Critical bug fixes from CAF.
* Performance improvements (Mainstream sched updates and more)
[B]Hydra_v4.0-[12-28]-[01-21][/B]
* Turned off State Notifier driver - possible suspect for SOD on few devices/roms. Read and enable via Synapse > Misc.
* Updated WiFi driver from Google to fix potential hang and panics.
* Updates for Audio driver from CAF.
* Misc updates and fixes from Google and mainstream.
* KSM can be now enabled via Synapse
* Enabled new TCP congestion methods.
[B]Hydra_v4.0-[12-22]-[21-14][/B]
* Sync up 6.0.1 updates
* Audio driver/codecs updates from CAF
* Linux 3.10.94 stable update
* Sched updates from CAF and mainstream
* Impulse governor updates for more butter
* Add back battery empty learning feature from google (says useful for old batteries)
[B]Hydra_v4.0-[11-13]-[02-08][/B]
* Support CM13
* Linux 3.10.93 update
* Updated Audio codecs and slimbus drivers
* Added ZRAM support from Linux 4.2 (configurable under Synapse)
* Tuned new CAF memory tunables.
* Misc driver updates (mdss, modem, gpu, cpuidle and few more)
* Performance improvements.
[B]Hydra_v4.0-[10-25]-[12-39][/B]
* Linux 3.10.91 update.
* Fixes and updates for audio driver.
* Improved video playback driver - lower latency - updates from CAF.
* Improved state notifier and limiter drivers.
[B]Hydra_v4.0-[10-19]-[14-14][/B]
* Revert Moto Codec update for now.
[B]Hydra_v4.0-[10-19]-[02-46][/B]
* Critical Bugfix: Apps like Play Music failing to play gapless music.
* Updated motorola sound codec driver from its latest sources.
* Improved memory management - auto compact memory nodes when device suspends.
* Misc CAF updates.
[B]Hydra_v4.0-[10-16]-[22-01][/B]
* SELinux Permissive boot (not forceful) - Till CM13.0 irons out root issues on marshmallow.
* Resolved battery calibration issue.
* Misc driver updates and fixes from google and CAF msm-3.10
Lollipop:
Code:
[B]Hydra_v3.2-[01-10]-[03-45][/B]
* Sync eligible updates upto Hydra_v4.1 stable release.
[B]Hydra_v3.1-[11-13]-[03-05][/B]
* Linux 3.10.93 update
* Updated Audio codecs and slimbus drivers
* Added ZRAM support from Linux 4.2 (configurable under Synapse)
* Tuned new CAF memory tunables.
* Misc driver updates (mdss, modem, gpu, cpuidle and few more)
* Performance improvements.
[B]Hydra_v3.1-[10-28]-[13-09][/B]
* Stable updates upto Linux 3.10.92
* Filesystem updates - Fixed potential random reboot issue reported earlier.
* Fixes and updates for audio driver.
* Improved video playback driver - lower latency - updates from CAF.
* Improved state notifier and limiter drivers.
* Improved memory management - auto compact memory nodes when device suspends.
* Misc driver updates and fixes from google and CAF msm-3.10
[B]Hydra_v3.0-[10-10]-[05-26] / [/B][B][B]Hydra_v3.0[/B] [/B][COLOR=DarkGreen][COLOR=Black][B][COLOR=Red](Stable Release for 5.1.1)[/COLOR][/B][/COLOR][/COLOR]
* Restore lollipop wifi driver.
* Music stutter fix. (Please confirm)
* CAF misc updates and fixes.
* CFQ iosched updates
* Improved FS throughput
[B]Hydra_v3.0-[10-06]-[15-27][/B]
* Linux 3.10.90 update
* Misc CAF drivers update
* Marshmallow Wifi Driver (from latest source - hopefully, they have fixed issues successfully.)
[B]Hydra_v3.0-[10-04]-[00-51][/B]
* Preserve charger service of base ROM. (Fixes battery issue.)
(If you are having incorrect battery percentage display - dirty flash your ROM first and then Hydra kernel.)
* Linux 3.10.89 update
* CAF misc updates
* TCP optimization from 4.0 upstream.
[B]Hydra_v3.0-[09-20]-[01-28][/B]
* Lots of optimizations & fixes from [I]Motorola[/I].
* Fix potential filesystem crash via ROM.
[B]Hydra_v3.0-[09-16]-[00-44][/B]
* Linux 3.10.88 update.
* SCHED optimizations.
* Restored stable WiFi Driver. (lollipop only)
[B]Hydra_v3.0-[09-09]-[22-53][/B]
* Fix LMK regression on some ROMs.
* Updated KCAL post-processing (display control) driver.
* Improved performance for MMC and PM drivers.
* Misc kernel updates from CAF and mainline.
[B][B]Hydra_v3.0-[09-03]-[22-56][/B]
[/B]* Synced ramdisk with CM.
* Updated kernel flash method - ramdisk will be build dynamically while flashing. This eliminates need of separate boot images for CM and AOSP.
* Minor fixes and clean up.[B]
Hydra_v3.0-[08-22]-[18-13][/B]
* Updates from m-preview-3 (WiFi, GPU and Sound driver updates)
[B]Hydra_v3.0-[08-19]-[22-45][/B]
* Linux 3.10.87 update
* Fixed QoS crashes with new MSM cpuidle driver. Much better now.
* Misc updates and fixes.
[B]Hydra_v3.0-[08-18]-[09-17][/B]
* Complete CAF Scheduler updates.
* Updated LPM (low power mode) - CAF CPUIdle driver.
* Added Scheduler Boost toggle and Adaptive LMK toggle to Synapse.
* Misc updates[B]
Hydra_v3.0-[08-15]-[14-40][/B]
* Linux 3.10.86 update
* Enabled support for [URL="http://forum.xda-developers.com/android/software-hacking/script-iotop-android-t2910428"]iotop script[/URL].
* LMK changes - dropped LMK profiling via synapse (obsolute maybe). Enabled and tuned CAF Adaptive LMK
(Prevents sluggishness and provides very low app launch latency.)
* Complete CAF updates for memory structure.
* RCU driver updates from CAF
* Misc updates and fixes from CAF
* Upstream updates for i/o scheduler throttler.
[B]
Hydra_v2.2-[08-05]-[01-30][/B]
* Linux 3.10.85 update
* Updates from M-preview-2 (wifi, panel, power, etc updates)
* Complete memory structure updates from CAF
* GPU driver updates from CAF
* MMC driver updates from CAF
* CFQ I/O sched improved performance
[COLOR=DarkGreen][COLOR=Black][B]Hydra_v2.1 (16-July-2015) [/B][/COLOR][/COLOR][COLOR=DarkGreen][COLOR=Black][B][COLOR=Red](Stable Release for 5.1.x)[/COLOR][/B][/COLOR][/COLOR]
* Stable Release for AOSP/CM based 5.1 ROMs.
* Linux 3.10.84 update.
* Fixed Synapse UCI detection.
* Updated log collection in Synapse and fixed last_kmsg not being retained after reboot.
* Lowmemorykiller (LMK) updates from motorola.
[B]Hydra_v2.1-[07-05]-[20-05][/B]
* Fixed broken root on CM-based ROMs. (not sure how this will affect wifi-calling, but CM should update for wifi-calling first)
* Fixed broken charging animation when device is off.
* Misc update for crypto drivers.
[B]Hydra_v2.1-[07-04]-[03-49][/B]
* Fixed broken adbd, root *hopefully* after unified AOSP-CM build.
* Stability improvement. (memory management update, mdss/panel update)
[B]Hydra_v2.1-[07-01]-[20-54][/B]
* Unified build for AOSP and CM ROMs (that's why double size download)
* Enabled Partial Resume
* T-Mobile WiFi Calling support (please test)
* Linux 3.10.81 update
* Misc CAF updates
[B]Hydra_v2.1-[06-24]-[19-40]-CM / Hydra_v2.1-[06-24]-[19-48]-AOSP[/B]
* Linux 3.10.81 update
* Added Adreno Idler. Enable via Synapse under Misc tab.
[B]Hydra_v2.1-[06-23]-[23-30]-CM / Hydra_v2.1-[06-24]-[00-50]-AOSP[/B]
* Improved Stability
* Separate AOSP - CM builds.
* Updated Ramdisk
* Misc CAF updates.
[B]Hydra_v2.1-[06-09]-[09-48][/B]
* Attempt systemui crash fix (crash experienced by some users)
* Linux 3.10.80 update
* F2FS update
* BFQ I/O scheduler update to v7r8
* Misc CAF drivers updates
* CPU Idle driver update from 4.0 upstream
[B]Hydra_v2.1-[06-02]-[02-35]
[/B]* Massive updates of multiple drivers - WiFi, MDSS panel, SELinux, Crypto, Audio, Power - straight from M-source.
* Couple of fixes.
[COLOR=DarkGreen][COLOR=Black][B]Hydra_v2.0 (31-May-2015) [/B][/COLOR][/COLOR][COLOR=DarkGreen][COLOR=Black][B][COLOR=Red](Stable Release for 5.1.1)[/COLOR][/B]
* Merged google 5.1.1 Shamu updates.
* Switched to new custom-tailored linaro-based 4.9 toolchain.
* FB notifiers are on by default once again.
* Updated ramdisk to improve compatibility with both CM and Stock ROMs.
* Misc driver updates from CAF
[/COLOR]
[/COLOR] [B]Hydra_v2.0-[05-23]-[04-05][/B]
* Linux 3.10.79 update
* Ramdisk updates from CM12.1
* Misc Drivers updates from CAF
* WiFi Driver updates
* Updated Impulse governor
* FB notifiers disabled by default for stability test purposes.
[B]Hydra_v2.0-[04-17]-[19-56][/B]
* Fix freezing issue due to ARM64 update in last build.
[B]Hydra_v2.0-[04-16]-[13-33][/B]
* Linux 3.10.74 update
* Updated Motorola specific kernel drivers.
* Fixed thermal system crash after using MultiROM app
* Enabled FB notifiers by default to reduce battery consumption with Ambient mode
* Improved CPU Boost driver and Impulse governor to reduce battery consumption when screen off
(like for GPS tracking apps and music player running in background)
* Misc CAF updates
[B]Hydra_v2.0-[04-13]-[15-51][/B]
* CAF updated CPU bandwidth management. Improves performance.
* Enabled sensor_ind wakeup source by default.
* Enabled thermal-engine and removed controls from Synapse. This fixes sudden shutdown below 20% battery at high temperature.
* Tweaked thermal subsystem to prevent mitigation i.e. changing max frequency unless board is at high temperature.
If board is at high temperature (at below 40% battery), max freq will be mitigated to lower frequency. However, once board is cooled down, limiter driver will bring back max freq to normal state.
[B]Hydra_v2.0-[04-09]-[00-19][/B]
* Updated GPU, Panel and Audio drivers
* Crypto optimization for AES using Neon instructions
[B]Hydra_v2.0-[04-04]-[04-29][/B]
* Fix potential error causing panic. Improved stability.
* Misc updates from CAF.
[strike]* Improved thermal routine.[/strike]
[B]Hydra_v2.0-[04-02]-[02-21][/B]
* Updated F2FS
* Massive update for multiple drivers from CAF (panel-mdss, audio, SSR, etc)
* Improved stability
[B]Hydra_v2.0-[03-30]-[00-18][/B]
* Added MultiROM. (Get compatible recovery, installing zip and app from [URL="https://plus.google.com/106544733723469872647/posts/FZ2cSzTQwBH"]HERE [/URL]first.)
* 'Cyanogenmod' hotplug within Synapse is now 'Stock'. It will bring all CPUs online (as in stock. Reinstall ROM and then this kernel build if you are on previous build of this kernel.)
[B]Hydra_v2.0-[03-28]-[20-17][/B]
* Linux 3.10.73 update.
* LMK fixes.
* Misc fixes and driver updates.
[B]Hydra_v2.0-[03-22]-[17-35][/B]
* Remove system audio blob modification (Reflash ROM + gapps + this build)
* Updated kernel audio driver
* SELinux tweaks for SuperSu.
[B]Hydra_v2.0-[03-20]-[03-26][/B]
* Fix kernel issue with compressed audio streams on 5.1 ROMs.
* Linux 3.10.72 update.
* Misc performance and stability updates.
* Added toggle under Misc tab in Synapse to switch between FB notifiers and State notifiers.
[B]Hydra_v2.0-[03-17]-[00-30][/B]
* Support for theme-supported and CM superuser ROMs.
* Init.d support for 5.1 based ROMs.
[B]Hydra_v2.0-[03-16]-[02-30][/B] (nightly build for 5.1 ROMs)
* Complete update from lollipop-mr1 release
* MMC driver updates and performance optimizations from CAF
* Added SIO I/O Scheduler
* Updated Intelli Hotplug
* KCal driver update
* Fixed preview build issue with Synapse
* Added underclock/overclock frequencies. Still device will boot and operate within stock frequencies range unless you change from Synapse!
* Misc updates for performance
[B]Hydra_v1.0-[03-14]-[00-21][/B] [COLOR=Red](Stable Release for 5.0.2)[/COLOR]
* Updates from lollipop-mr1 release. (which are compatible with 5.0.2)
* Bring back state notifiers.
[B]Hydra_v1.0-[03-12]-[23-08][/B]
* Improve suspend routine.
* Optimized LMK - much snappy and better now.
* Updated Impulse governor.
* Tuned MSM Hotplug.
[B]Hydra_v1.0-[03-11]-[01-39][/B]
* Fixed WiFi regression on stock-based ROMs.
* Disabled state notifier driver since FB notifiers are stable now and should theoretically contribute better battery for ambient mode users as explained before.
* Misc drivers update from CAF.
[B]Hydra_v1.0-[03-10]-[01-23][/B]
* Try fixing CM12 mess.
[B]Hydra_v1.0-[03-09]-[23-16][/B]
* Linux 3.10.71 update
* Crypto driver massive CAF updates
* Updated Cyanogenmod hotplug.
* NET driver updates from CAF
* Sync with CM12 changes
[B]Hydra_v1.0-[03-07]-[13-34][/B]
* Added FIOPS I/O scheduler
* CAF update for fixing doze mode transitions
* New Synapse backend implementation - faster and proper
* Memory allocation updates from CAF
[B]Hydra_v1.0-[03-06]-[00-28][/B]
* Add back PM QoS CAF update
* Sched updates from 3.18 mainline
* NET driver fixes from Google
* Added LED Control to Synapse. (It will work properly only if there is no ROM interference)
* Added Gentle Fair Sleepers toggle to Synapse. (not tested)
* Added Preferred N/W mode switch to Synapse.
* Misc CAF updates
[B]Hydra_v1.0-[03-05]-[01-34][/B]
* Added State notifier driver for proper suspend-resume routines of multiple drivers.
[B]Hydra_v1.0-[03-04]-[20-33][/B]
* Restored ramdisk configuration.
* Removed PM QoS CAF update temporarily.
[B]Hydra_v1.0-[03-04]-[01-12][/B]
* FIXED CPU governor change via Synapse
* FIXED regression of hotplug and CPU boost drivers with suspend routines
* Added new Impulse governor - Tweaked CAF interactive governor - Friendly and power efficient frequency scaling.
* Updated Conservative governor
* Added smb135x charger wakeup source toggle in Synapse
* Improved SELinux switching. If you select Permissive via Synapse, next boot will always honor selection.
* Added KCal controls to Synapse
* Backported kernel locking mechanisms from 3.18 kernel
* Improved PM QOS - CAF update
* Improved suspend routine - motorola tweaks
[B]Hydra_v1.0-[03-01]-[01-54][/B]
* Linux 3.10.70 update
* F2FS update
* Added Fast charge control to Synapse
* Thermal driver update
* ARM optimizations
* Added power-efficient workqueues (enabled by default; controllable via Synapse)
* Improved scheduler routines
* Massive driver updates (video, panel, usb, GPU, memory allocator)
[B]Hydra_v1.0-[02-27]-[10-23][/B]
* Disabled forced encryption. Not tested.
* Added toggles to synapse to tweak wakeup sources / wakelocks.
* Improved wake controls in Synapse
* Added vibration control in Synapse
* Added Software CRC toggle control in Synapse
* Misc CAF updates
[B]Hydra_v1.0-[02-27]-[01-26][/B]
* Initial Version
Welcome !
Question : is encryption enforced or not enforced ?
old_fart said:
Welcome !
Question : is encryption enforced or not enforced ?
Click to expand...
Click to collapse
Same as CM12. Untouched.
Need to revisit that bit.
SWEET! Thanks for this
I have to try this, thanks a lot and welcome!
old_fart said:
Welcome !
Question : is encryption enforced or not enforced ?
Click to expand...
Click to collapse
it is enforced
Are any go the wakelocks such as sensor_ind and others disable ?
Damon13 said:
Are any go the wakelocks such as sensor_ind and others disable ?
Click to expand...
Click to collapse
What?
Circaflex said:
What?
Click to expand...
Click to collapse
Lk and Franco's kernel have some of the wakelocks disable, so thats what I am referring to.
Circaflex said:
it is enforced
Click to expand...
Click to collapse
Well, some upload issue with AFH. Next build is ready with no-force-encrypt. Will be posted in sometime.
neobuddy89 said:
Well, some upload issue with AFH. Next build is ready with no-force-encrypt. Will be posted in sometime.
Click to expand...
Click to collapse
wait are you saying not to flash what is uploaded? I know CM12 defaults to encryption, doesn't bother me im encrypted already.
neobuddy89 said:
Well, some upload issue with AFH. Next build is ready with no-force-encrypt. Will be posted in sometime.
Click to expand...
Click to collapse
Thank you @neobuddy89, choice is very cool and appreciated !
Damon13 said:
Are any go the wakelocks such as sensor_ind and others disable ?
Click to expand...
Click to collapse
Came in to see the same - guessing from the question going unanswered that there is no sensor_ind fix in this kernel, at least as of now. I'm really, really hoping 5.1 fixes that horrible wakelock.
Sweet.ran your kernel on my nexus 5
Sent from my Nexus 6 using Tapatalk
Faux Sound Support?
Circaflex said:
wait are you saying not to flash what is uploaded? I know CM12 defaults to encryption, doesn't bother me im encrypted already.
Click to expand...
Click to collapse
Bothers the rest of us buddy, who do not wanna be encrypted in case we decide to try the kernel. You can always decide to encrypt yourself, no need to be forced to do so.
Awhh snap. He's here . woot !!
New nightly build!
Hydra_v1.0-[02-27]-[10-23]
* Disabled forced encryption. Not tested.
* Added toggles to synapse to tweak wakeup sources / wakelocks.
* Added vibration control in Synapse
* Added Software CRC toggle control in Synapse
* Improved wake controls in Synapse
* Misc CAF updates
Cheers!!
neobuddy89 said:
New nightly build!
Hydra_v1.0-[02-27]-[10-23]
* Disabled forced encryption. Not tested.
* Added toggles to synapse to tweak wakeup sources / wakelocks.
* Added vibration control in Synapse
* Added Software CRC toggle control in Synapse
* Improved wake controls in Synapse
* Misc CAF updates
Cheers!!
Click to expand...
Click to collapse
Synapse gives me the No UCI Error on boot and it persists until I clear app cache. On Dirty Unicorns and latest nightly with set on boot applied - if you need dmesg/kmesg/logcat let me know which.

[KERNEL][N5] Criterion_20230115 for Android 10/11 (12/13 experimental)

Code:
#include <std_disclaimer.h>
/*
* 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.
*
*/
Criterion is a highly customizable fork of @z3DD3r's LineageOS kernel. It features various popular cpu governors, hotplugs, I/O schedulers, kcal color control, doubletap2wake, sweep2wake etc and is built with Linaro GCC 7.5.0 (O3 and hard-float optimizations enabled). Make sure the latest version of Magisk is installed.
Download:
https://github.com/Slmnj/hammerhead/releases
Source:
https://github.com/Slmnj/hammerhead
Contributors:
@z3DD3r, @franciscofranco, @flar2, @osm0sis, @topjohnwu, @eng.stk ...
Reserved
Boot fine on crdroid 10 ,seems working fine.

			
				
Congratulations
$lmnj said:
Criterion-pr1
The kernel works completely fine on LOS 17.1. But I couldn't find time to try it on other Android 10 based ROMs. This is a pre-release for anyone interested in testing the kernel. Give it a shot and share your experience.
Click to expand...
Click to collapse
Congratulations, you have done such a wonderful incredible job :good: :victory:.
If you don’t mind, could you please sent the final file "FKE_v2.1.0.zip" to me ? I am trying to install Magisk v20.3, but the attached file "FKE_v2.0.0.zip" does not work pretty well. It's just useful for my phone within Pie rom. Thanks so much :highfive:
Criterion-r1
Pushed the first stable release with a couple of changes. Stay tuned for more updates with added features and improvements.
Changelog:
- Initial release
- Removed Ondemand governor
- Wakelocks aren't blocked by default
- Few fixes for devices that are not rooted
- Merged latest AnyKernel3 patches
Download
$lmnj said:
Criterion-r1
Pushed the first stable release with a couple of changes. Stay tuned for more updates with added features and improvements.
Changelog:
- Initial release
- Removed Ondemand governor
- Wakelocks aren't blocked by default
- Few fixes for devices that are not rooted
- Merged latest AnyKernel3 patches
----------------------------------------------------------------------------------------------------------------------------------------------
I just need it within two main functions, such as “doubletap2wake” and “USB Fast Charge”.
Could you please add in it
Click to expand...
Click to collapse
Fast Charge,please
Criterion-r2
Added USB Fast Charge up to 900mA. This feature is disabled by default. If you have root access, you can enable this feature using a Kernel Manager.
Download
Single-Core Score:1014
Multi-Core Score:2783
Geekbench 4.4.2
Criterion-r3
This is an important release even though there aren't any new features added. I've updated the toolchain to Linaro GCC 4.9.4 and also merged the latest AnyKernel3 patches.
Download
Criterion-r4
The Interactive governor underwent a major overhaul. It is now based on the interactive governor from Franco Kernel. I've made some slight improvements to the other CPU governors as well.
Download
Terrific Job
$lmnj said:
Criterion-r4
The Interactive governor underwent a major overhaul. It is now based on the interactive governor from Franco Kernel. I've made some slight improvements to the other CPU governors as well.
Click to expand...
Click to collapse
Good :good:
Thank you :highfive:
Not bad!
Criterion-r5
Added Franco's sound control interface
Disabled thermal-engine service (thanks to @z3DD3r)
Updated to latest AnyKernel3
Download
Criterion-r6
Added Alucard governor
Upgraded SIO scheduler to SIOPlus
Download
Finally a new kernel for Nexus 5 with Android (even 10). I will test it as soon as I get home. Nexus 5 is a test bench for me now There are very few kernels out there with proper features (if none). Please continue working on it.
Criterion-r7
Added Electroactive and Lionheart governors
Added Simple GPU governor by Faux
Changed default governor to Alucard
Updated to latest AnyKernel3
Download
Criterion-r8
Added Power-efficient workqueues (enabled by default)
Download
Can you please keep previous versions as well? I did not get a chance to download the previous ones.

Categories

Resources