HYPER kernel for SAMSUNG GT-S5310/12 - Samsung Galaxy Pocket Neo S5310

Hyper Kernel 3.0.101 upstreamed kernel
KEY FEATURES:
added many new governors including HYPER,asswax
swap support
enabled cpu idle
overclocked
unsecured
enabled opportunity sleep
added ARM CPU driver
added underclock upto 125MHZ
added powersuspend driver
tweaked graphic driver for smooth scrolling and gaming activities
enabed loopback for installing virtual OS
enabled cache cleaner
removed some frequencies that we dont need and caused to several heat problems
enabled opensource sound driver
enabled high memory support
Added CPU topology
Added (BLX)- BatteryLiFe ExTenDer
Added autosleep driver
tweaked SWAPPINESS
Added Extra free kbytes
Added SElinux Support
Added Improved 3x Faster integer sqrt
Use -mcpu=cortex-a15 when targeting MSM Krait CPUs
Removed PAGE_ALLOC_COSTLY_ORDER
Increased VM_MAX_READAHEAD to 2048
Disabled Gentle Fair Sleeper
//////////Disclaimer:this is as far as stock rom support goes,as of now\\\\\\\\\\
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Now for the sweetest part (only for custom rom enthusiasts)
avail new GOVERNORS-->
* alucard
* nightmare
* darkness
added SCBS-super cooling battery software
added cpu-boost driver
added cpupower driver #thanks to k2wl
tweaked network speed
added TCP Congestion Algorithms #thanks to noel macwan
added Frandom + Script
Sched Tweaks to improve performance
patched POWERTOP learn about POWERTOP here ---> https://01.org/powertop
added NVS hibernate driver
added cpufreq_limit driver
support mutiple cpuidle drivers
added wakelock counts + power efficiency lines
patched cond-resched-lock-rt-tweak
patched clocksource-tclib-allow-higher-clockrates
patched cpumask-disable-offstack-on-rt
using powersuspend driver on quickwakeup for more battery life
Enabled hardfloat and Neon kernel support for armV7 for hard performance
tweaked boot.IMG
tweaked zram
Set Block Size to Optimize Transfer Speeds
enabled CIFS
enabled netfilter firewall
ported hybrid governor for single core processor
enabled KSM by default
added 'intelliactive' governor
Improved 3x Faster integer sqrt
tweaked 'HYPER' and 'nightmare' governor
fixed MTP bug in CM10.1
optimized for battery saving
adaptive tuning
HTC power manager
Swap speed optimized
SQRT values predefined
Enabled .config support
Kernel support MISC binaries
increased OC upto 1.7GHZ
Added double tap to wake -----> #thanks to corphish
Upstreamed to 3.0.101 most patched from kernel.org & 3.0.30 onwards, i9082's upgrade cherry picked
SOURCES:
https://github.com/karthick111/Hyper_CM11
DOWNLOAD(Stock): Link
DOWNLOAD(Custom ROMS):
CM-10.1 based Link
CM-11.0 basedLink
CM-12.1 based Link
WIFI FIX_2k16 builds: Link (flash it via cwm)PS:this is mandatory for custom roms

where is the source ?

I'm unable to push source bcoz I don't have data to do!!

@karthick mostwanted Where is the source code and credits ??!!
development of this kernel still continue but the source code is still not distributed. So, share the source code before u release your next kernel.

Links Removed and thread closed...OP, please let us know when you can get source for these and we can reopen..
check these links for reference...http://forum.xda-developers.com/showthread.php?t=2645321
http://forum.xda-developers.com/showthread.php?t=2731538
cheers!
Edit - thread reopened for OP repair... For a bit...

moderators please move this threat here---------> http://forum.xda-developers.com/pocket-neo/development

Great Kernel :good::good::good:

no more update ???

please add selinux permisive on cm12.1 kernel
---------- Post added at 01:39 AM ---------- Previous post was at 01:20 AM ----------
Most of the resources not work on cm12.1

Thanks
Very good kernel,bro

Many features specified on the thread aren't on the kernel itself (or are only available on some versions; I haven't haven't tested them all) so it'd be wise to specify which versions of the kernel have which features to avoid misunderstandings(I really hoped there was 1.7Ghz oc for CM12.1, I got SO disappointed)
Enviado do meu GT-S5310B

holy **** this is so much faster than stock. running with maxicm rom
many thanks

add another download link pls. I can't download from the link above.

The link for stock based kernel doesn't work

Not working....
Can u please help me bcoz its not working for me i tried to flash but the installation aborted .

Related

[KERNEL][ALL ROMS][SEP 14] Glitch for Flo/Deb - r574

These kernels are provided as-is without warranty. I'm not responsible for any problem you may encounter with your phone or tablet or if your cat suddenly dies.
Although, don't expect support even if I will eventually help because I love cats.
{
"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"
}
​
Overview & features :
"With great power comes great responsibility". Don't go crazy with overclocking, only the best devices will be able to get 2.3 GHz stable or even bootable, though heat will be your main issue.
- Based on Google AOSP 3.4.0 and LineageOS's kernel sources for MSM devices
- CPU OC up to 2.3Ghz with OV/UV support / minimum frequency down to 81 MHz (configurable)
- L2/bus speed OC up to 1.49GHz / 4.8GBPS
- GPU OC up to 627 MHz with OV/UV support
- CPU governors : Faux's intellidemand, interactive, ondemand, smartmax, intelliactive, conservative, elementalx
- I/O schedulers: noop, deadline, cfq, fiops, sio, BFQ, zen
- Kernel based intelli-thermal driver by Faux123
- Kernel based msm hotplug driver by Fluxi
- tni.andro's battery life extender support
- Magnetic on/off setting
- USB fast charge support
- USB OTG charge hack support by flar2
- FauxSound support
- LineageOS's PCC color tweaking
- Fsync switch on/off
- Touchscreen patches by Showp1984
- Touchscreen wake/sleep gestures by flar2
- Kali Pwn Pad experimental support
- Optimized algorithms and libraries
- Various performance and power saving tweaks
- NTFS, NFS and exFAT support
- F2FS support up to all-F2FS with automatic ramdisk patching at flash time (reflash if you change partition format !)
- Kexec-hardboot support for Multirom compatibility
- Full package comes with Aroma installer to set core features at flash time (L2 OC level, CPU OC, etc.)
- Pure package will restore Aroma settings backup if present, or else will offer you a balanced preset for day to day usage
- Custom Synapse support with various settings and core features tweaks
- Compiled with Linaro 6.1.3 toolchain with various optimizations
- SELinux Permissive patch (Disabled by default, can be enabled in Aroma)
- Wifi firmware overrider to fix wifi on 4.4.3 & lower or on roms using old wifi firmware (up to r226 - Kitkat only)
CHANGELOGS IN #2 POST
You can tweak multiple options of this kernel with TricksterMod, FauxClock, Kernel Adiutor, Synapse(r500 and up, definitely recommended to get the most available options) or similar apps. (They are all available on the PlayStore)
Note to MultiROM users : don't use the kernel sharing feature. Flash the kernel on each rom instead. Also, it may take more time booting on secondary roms when using F2FS. Don't worry and wait for a bit ​
Downloads (all kernels are compatible with both flo and deb)
Grab your build from here :
Glitch kernel r574 download - For AOSP 6.0.1/7.x.x and LineageOS 14.1​
Mirror + older builds : Mediafire​
FAQ :
What are the differences between "Full" and "Pure" builds ?
The "Full" builds are using Aroma Installer so you can tweak various options at flash time. At the end of the process, a file containing your settings will be created (/sdcard/glitch-settings.conf). The "full" builds are also able to restore your settings from Aroma after a rom flash or wipe for example.
On the other hand, "Pure" builds aren't coming with Aroma and will try to restore your settings from your SDcard, or use a default profile if none is found. Both Full and Pure builds are coming with a custom Synapse support to let you tweak all the core options on the fly once booted.
If you flash a "Pure" build without a profile, the default preset will be applied. It's been tweaked for a good balance between performance, power consumption, stability and functionality for day to day usage. The default settings applied are as follow :
- 1.7GHz max CPU freq (from 1.5GHz stock) / 1GHz max CPU freq when the screen is off / "Balanced" L2 OC
- msm_hotplug driver in place of msm_mpdecision
- 450MHz max GPU freq (inline with other Snapdragon 600 devices - from 400MHz stock)
- Safe CPU and GPU undervolting for lower heat and power consumption
- Deadline I/O sched / Interactive CPU governor
- Doubletap to wake and fastcharge enabled (Doubletap to wake will slowly drain power during suspend, so disable it if not used)
- Everything else is kept stock
What do I have to do to use F2FS on one (or more) of my partitions ?
First, BACKUP your data if needed, especially if you're planning to use F2FS on DATA partition, as changing filesystem will wipe the partition. Change partition formats as needed in your recovery. It is NOT recommended to convert system partition as F2FS as it'll be slower than EXT4 to begin with (as the partition is mostly read only) and will alter compatibility with many roms (especially CM/LineageOS based). The last thing to do is to flash any Glitch kernel with a revision number past r150. You can restore your settings from SDcard if any, the install process will detect the partitions and modify the ramdisk accordingly so you can finally boot and use your fresh FS.
What L2/cache OC setting should I use ?
This setting will overclock bus speed and RAM so it's a bit delicate to tweak, yet it can give a nice "free" global performance boost. A simple test to check for stability is to run the camera app 3 or 4 times in a row while waiting for 10 seconds between each launch. If your device freezes, it's unstable ! It's also the only setting you can't change on the fly once booted, either from Synapse or sysfs, and requiring a reflash (using Aroma or changing the value in /sdcard/glitch-settings.conf).
Let me give you some details about the available settings so you can choose wisely :
Stock (1.13GHz-4.26GBps) is the regular, out of the box, non OC setting.
Improved (1.19GHz-4.26GBps) is the same as "ElementalX" setting in Flar2's kernel.
Balanced (1.22GHz-4.66GBps) is the same as "Ultra" setting in Flar2's kernel.
Fast (1.35GHz-4.66GBps) is a nice jump over "Balanced", yet stable for most devices. A kind of sweet spot.
Extreme (1.43GHz-4.80GBps) is were most users will start to get issues. Provides a great boost if stable.
Glitchy (1.49GHz-4.80GBps) pushes your hardware to the limits. Will be unstable for most devices.​
Thanks to everyone helping me to debug and find new useful things to integrate !
Without all of you, this kernel wouldn't be !​
XDA:DevDB Information
Glitch kernel for Flo, Kernel for the Nexus 7 (2013)
Contributors
Tk-Glitch, Google, animania260, CyanogenMod, TeamDouche, flar2, Faux123, franciscofranco, Showp1984, Team-Hydra, sixstringsg, Poondog, ZeroInfinity, Fluxi, arter97, neobuddy89, alesaiko, 228aye, AndreiLux, amarullz ,followmsi, and all my community
Source Code: https://github.com/Tk-Glitch/Flo_AOSP
Kernel Special Features: CPU OC/UV 2.3 GHz, GPU OC/UV 627MHz, FauxSound, S2W/S2S/DT2W, Bus speed OC
Version Information
Status: Stable
Created 2013-09-19
Last Updated 2017-09-13
logs
Git commits for nerdz & lolcats​
Latest release's changelog with words for humans :
14/09/2017 - r574 :
- Synced with latest LineageOS 14.1;
- Updated toolchain to Linaro GCC 7.1.1-2017.08;
- Added touchscreen-calibration fix patch by parrotgeek1;
Previous changes below :
17/07/2017 - r572 :
- Synced with latest LineageOS 14.1;
11/07/2017 - r571 :
- Synced with latest LineageOS 14.1;
29/06/2017 - r570 :
- Synced with latest LineageOS 14.1;
- Updated toolchain to Linaro GCC 7.1.1-2017.05.
03/06/2017 - r566 :
- Synced with latest LineageOS 14.1;
- Changed the behaviour of the permissive/not permissive switch to either force permissive or keep rom default (instead of forcing enforcing before) to prevent issues with some implementations;
- Added a service that restarts GMS (Google Mobile Services) post boot to fix memory leak/battery drain linked to them - Curently working in permissive mode only (like init.d and some advanced Synapse settings);
- Updated toolchain to Linaro GCC 6.3.1-2017.05.
07/05/2017 - r565 :
- Synced with latest LineageOS 14.1;
- Added a simple check for the MPDecision service starting mechanism used by your rom : If it's using the same trigger as LineageOS (init.flo.power.rc), you'll be able to enable/disable the service at will after boot. If it's using a different trigger, the binary will be nuked the old way (renamed to mpdecision_bck) if you're using the in-kernel msm_hotplug driver (effectively preventing you to play with it after boot). It's not a solution that pleases me, but it will fix cases of both hotplug drivers loaded at the same time on non-LOS-based roms, and that's all that counts for now.
14/04/2017 - r564 :
- Synced with latest LineageOS 14.1;
- Corrected HZ reference in touchscreen driver.
30/03/2017 - r563 :
- Fix potential touchscreen inconsistencies on some panel revisions
- Fix gesture switch (S2S/S2W/timeout)
27/03/2017 - r561 :
- Synced with latest LineageOS 14.1;
- Backported high-resolution support for sched-clock;
- Fixed CPU detection on subsystem_restart;
- Make rpm clocks sleeping clocks;
- Pushed updates from franco kernel regarding GPU, CPU freq and video;
- Added Zen I/O scheduler (pretty nice sched to say the least);
- Enabled I/O is busy flag for msm_hotplug driver by default (boosts CPU freq during heavy I/O load -> big smoothness gains in many apps and games);
- Added compiler fixes and optimizations from alesaiko (breakfast kernel);
- Moved to latest Linaro GCC 6.3.1 compiler (as the changes above fixed high power consumption issues on GCC5+);
- Consolidated Synapse support. The path of the generated config file is now /data/synapse instead of ramdisk to keep it safe during rom upgrades and reboots. If you get a "No UCI support" message on first Synapse launch, just kill the app and relaunch it. It'll not happen again after that unless you wipe data or I'm forcing a regen in a future update.
- Fixed init.d injection not using the correct path for busybox since a few releases and updated the execution process to N standards;
- Changed the way we get rid of mpdecision to prevent the service from starting in the init process instead of renaming the binary. This enables the possibility to enable or disable mpdecision on the fly after boot, even if using msm_hotplug as default hotplug driver.
- Fixed missing options in Synapse;
- Added various smaller performance patches and optimizations as well as a few more variables to play with for nerdz and lolcats (see github commits);
- Tweaked debugging config;
12/03/2017 - r544 :
- Sync with latest LineageOS 14.1
- Disabled backlight dimmer by default - Added a note to Aroma installer about potential issues with some panel revisions
23/12/2016 - r543 :
- Sync with latest CM14.1
18/12/2016 - r542 :
- Enable RPFILTER (CM14.1 tethering fix)
05/12/2016 - r541 :
- SElinux switch now works on boot without needing root access. As a result, also removed related post-boot script hooks
- Added prebuilt config file for Synapse for faster launch and fix possible error on first launch (clear Synapse data if you get issues)
04/12/2016 - r540 :
Due to some of the changes in this build, restoring settings from sdcard backup (by flashing Pure Edition or restoring through Aroma) may lead to different settings being applied depending on what you set before. It is strongly suggested to use the Full installation at least once to update your settings or delete glitch-settings.conf on the root of your sdcard before flash to use the default preset.
- Post CM14.1 merge cleanup pass. It was definitely needed ! Including, but not limited to :
- Removed Lazyplug and Intelliplug hotplug drivers (due to conflicts leading to performance issues)
- Removed Dynamic Fsync / Added switch to disable Fsync (after corrupting ~15 installations with DynFsync, I don't feel like it's worth the slight I/O perf boost)
- Replaced Showp1984's DT2W by flar2's S2W/S2S/DT2W (the touchscreen issues I faced with it aren't reproducible anymore)
- Removed LZ4 and use XZ compression instead
- Removed WQ_POWER_EFFICIENT (couldn't see a measurable gain with it enabled)
- Removed ROW ioshed
- Rollback'd to older Intellidemand governor​- Reworked settings application and restoration system to work with CM14.1/without SuperSU and load it early during boot by init hooking (CM14.1 PCC livedisplay related race condition "fix" included). Note : MultiROM users, you may want to disable MultiROM menu if you have it enabled to further reduce the chances to trigger the issue (completely fixed it on my side). Feel free to report your findings on the matter.
- Added flar2's ElementalX governor
- Updated default profile (the one you get while flashing Pure package or using restoration option in Aroma without sdcard backup)
- Updated thermal profiles
- Updated available options in Aroma
- Updated busybox to 1.25.1 YDS and moved from /sbin to the more convenient and standard /system/xbin
- Updated Selinux switches to work with more roms (now working on CM14.1)
- Moved Synapse files from /data/synapse to /res/synapse in ramdisk
- Updated Synapse presets
- Updated Synapse settings (Aroma installer will give more gestures-related options though, at least for now)
29/11/2016 - r534 :
This kernel will only work with AOSP 7.x and latest CyanogenMod 14.1 based roms. If you get incorrect colors and slow UI, rollback to r533 CM.
- Rebased using CM14.1 tree
- Updated color controls to mimic CM's PCC implementation (Thanks @flar2)
07/11/2016 - r533 :
- Added SDCardFS support
- Fix for CVE-2016-3903
- Fix for CVE-2016-3934
- Fix for CVE-2016-7117
- Added LazyPlug switch and settings to Synapse (hotplug tab)
- Added DT2W switch to Synapse (misc tab)
- Fix GPU voltage range formatting in Synapse
- Fixes regarding power efficiency
- Contextual fixes and speedups
- Now building CM variant of the Nougat kernel too. AICP is the first N rom on this device to require a CM compatible kernel.
14/09/2016 - r530 :
- Modified rom injection/flash time mods logic to be more robust and universal. Fixes inconsistent boot or even bootlooping on hybrid F2FS roms like CyanogenMod or PureNexus THIS CHANGE MAY FORCE YOU TO REFLASH YOUR ROM TO BE ABLE TO BOOT (even on a non-hybrid rom - no wipe required)
- Fixed settings not applying after setting them through Aroma/glitch-settings.conf
- Security patch to avoid invalid access to ashmem area
- Security patch for vulnerability CVE-2016-2059
- Removed deprecated binary injection code
- Default thermal presets calibrated for better efficiency and performance (they were too aggressive in r520)
- Little naming change for the builds. Full is still "Full", but "Restore" is now "Pure". Pure edition is now fully standalone and doesn't require a previously generated profile from Full edition (but will gladly restore it as before if found during install). It can be fully tweaked through config file and/or Synapse like Full edition.
- Nougat build "Full edition" now has a Nougat themed splash screen for Aroma
- Synapse presets are now working. Make sure to press apply when Synapse comes back if you want to keep it ! (Make sure to clear Synapse data after first boot to force a regeneration !)
- Small things you won't notice
24/08/2016 - r520 :
- Rebase from latest AOSP sources
- Synapse support with many more features and personnalization available than ever before ! Aroma settings are a joke compared to what you'll have in Synapse. Don't flash UKM on top by the way, and make sure to clear Synapse data if you've flashed one of the previews. Even more to come soon.
- Updated Neobuddy89's msm_limiter driver to latest from Nexus 6
- Updated Neobuddy89's state_notifier driver to latest from Nexus 6
- Moved to Faux123's Intelli-thermal driver
- Added some memutils optimizations and more for performance
- Updated Xbox One gamepad driver
- Removed loads of dead code and buggy merges
- Switched to Linaro 4.9.4 toolchain - After weeks of testing, my tab runs cooler, stabler, and longer than with 5.x for an invisible performance difference. Worth it !
10/08/2016 - Preview r516 is available here. More options available in Synapse which is now also enabled with the "full" build, merged android-6.0.1_r0.105, and various other tweaks for speed and power savings. Full changelog here.
04/08/2016 - A preview (r513) is available here. Synapse part still needs some work. Notably, some hotplug drivers options are missing and you can't apply presets. The kernel itself should be stable enough for day to day usage.
12/07/2016 - r499 :
- Fix for glitch settings not applying if the rom doesn't use the init.trace.rc file (Dirty Unicorns is one of them)
- Sync fstab with latest cm13 (may fix usb otg on cm13 based roms in some specific configurations)
11/07/2016 - r478 r498 :
- Synced source up to android-6.0.1_r0.98 changes (latest)
- Getting ready for rebase and Synapse-compatible release
- Removed deprecated libs from r478 installer (fixes setperm errors on some custom/recent roms)
- Fixed CM compatibility
10/12/2015 - r412 :
- Merged with android-6.0.1_r0.1 changes
- PowerHAL patch to fully disable touchboost calls when Qualcomm MPdecision isn't used. This gets rid of the touchboost log spam and (small) overhead.
- Updated F2FS
- Installer scripts fixes and cleanups
- Added back CM build - untested
02/12/2015 - r410 :
- Updated base to linux 3.4.110
- Merged with android-6.0.0_r0.1 changes
- Added Neobuddy89's MSM Limiter driver, enabling max/min/suspend frequencies tweaking on the fly. No more need to reflash for that (/sys/kernel/msm_limiter/ for who's interested). Also added his state notifier driver for further tweaking.
- Removed MSM Sleeper as it's covered by MSM Limiter already
- Changed how settings are applied (moved from init.d script to service) to prevent permission denied issues (Thx Flar2). Due to changes to the way your settings are handled, it's recommended to make a full installation. Settings aren't retrocompatible with previous Glitch kernels !
- Performance and stability improvements by removing coresight from Adreno drivers and better CPU management/scaling through MSM Limiter
- Aroma slight changes to reflect internal changes (note : CPU uV is now applied for both 384MHz step and lower ones)
15/09/2015 - r361 :
- Fixed no mobile network issue on DEB
- Disabled unnecessary debugging
13/09/2015 - r360 :
- Merged with android-5.1.1_r0.17 changes
- Added Lazyplug hotplug driver by Arter97 (you may need to make a full installation if you want to switch to this driver)
- Updated F2FS
- Updated BFQ to v7r8
- Added experimental Nvidia relaxed power savings
- More fixes and various optimizations regarding performance and efficiency
09/09/2015 - r353 :
Note : CM related issues some are encountering aren't adressed with this update. CM team is breaking more and more stuff while using AOSP bases for the kernel and I won't make a CAF based version again. The updated toolchain and added fixes in this release may or may not help, but I won't provide support for CM related issues anymore. Sorry for the inconvenience.
- Fixed SELinux switches (You'll need to use the restore function in full package or just the restore package to switch between permissive and enforcing modes. Enabling it in glitch-settings.conf isn't enough for it to work.)
- Disabled Android Logger by default for less overhead
- Updated toolchain to Linaro GCC 5.2.0 with LTO support
- Tiny fixes
02/07/2015 - r350 :
- Merged with android-5.1.1_r0.13 changes
- Fixed missing governors from previous release
- Added native support for Xbox One controller from Linux 3.17
- Fixed a potential instability case in idle state
- Updated base to linux 3.4.108
- Under the hood fixes
- CM and AOSP kernels are now sharing the exact same base for better stability and maintenance
08/05/2015 - Hotfix - r344 :
- Rolled back various GPU driver patches to fix some Chrome scrolling lockups and possible RR linked to the underlying bug linked to them
- Send enforcing=0 to kernel command line if you're using the permissive ramdisk mode (may fix boot on some non-standard roms - AICP still not booting for me though.. If you know why I'm all ears)
- Modify fstab.flo file in ramdisk even when using CM kernel (enables some non-standard CAF based roms with no "multi-mount fstab" support to boot - it mustn't exist, but better safe than sorry)
08/05/2015 - r343 :
- Merged with android-5.1.1_r0.10 changes
- Removed UKSM
- Disabled KSM
- Removed transparent compression support
- Replaced Flar2's S2W/DT2W by showp1984's DT2W
- Various F2FS changes from arter97 and Jaegeuk Kim
- Various backported drivers from arter97
- Updated Intelli-Plug
- Cleaned up base and bumped back to latest 3.4.y (3.4.107 atm)
- Enabled back kernel mode NEON
- Removed PIE bypass patch from Aroma
- Added Motorola's Qualcomm optimized memutils
- Added BFQ v7r7 ioshed
- Updated Intelliactive governor
- Fstab patching changes to fix boot on some non-standard roms
- Updated Random
- Updated toolchain to Linaro GCC 5.1.0 with LTO support
- Added LTO optimizations
19/04/2015 - r330 :
After breaking my partitions while attempting to improve F2FS mounting time, I was forced to format everything. After my backup restoration and system reinstallation, r327 F2FS implementation is now booting faster than EXT4 on my tab (with mounting times of ~5sec versus 30+ before). So I've then decided to revert the planned F2FS changes for r330 (which made it 1sec faster before formatting, but much slower after) as it didn't make sense. If F2FS mounting time is bothering you, fully formatting your partitions and restoring your data will give you a nice performance reward in return.
- Added flush_merge to F2FS mount options for faster flushing
- Added "transparent compression" support (CM sync)
- Added back optimized ARM RWSEM algorithm
- Enabled back unaligned memory access
- Switched to SIO ioshed (from ROW) at boot time as well as others small tweaks for possible further boot time improvements and smaller file size
16/04/2015 - r327 :
- Merged with android-5.1.0_r0.10 changes
- Updated F2FS implementation using Motorola's sources
- Cleaned up permissive ramdisk patches (fixed related SODs with it enabled)
- Introducing "restore" builds. You can now update your Glitch setup without Aroma using these builds. Your settings will be restored from the SDcard backup made by a previous Glitch installation, so if you don't have a "glitch-settings.conf" file in the root of your SDcard, please use a full build first to generate it ! The "full" builds are using Aroma as before.
- Updated toolchain to Cortex A15 optimized Linaro GCC 4.9.3-2015.03
07/03/2015 - r320 :
THIS UPDATE WILL NEED YOU TO REINSTALL YOUR ROM AND TO MAKE A FULL INSTALLATION OF THE KERNEL IF YOU'RE COMING FROM A PREVIOUS GLITCH RELEASE
- Updated F2FS implementation and bumped to latest
- Various scheduler optimizations - Better hardware use means potentially lower max OC !
- Improved boot times (At least with EXT4. F2FS mounting time feels a bit longer with the updated F2FS implementation)
- Reverted Slimbus OC as some users got issues with it
- Removed some ramdisk mods interfering with permissions
- F2FS/EXT4 detection script rewrite to preserve rom's fstab structure
- Added another permissive switch to disable SELinux enforcing (it will be enabled if you tick the permissive patch in aroma)
- Removed wifi patch from Aroma as it's now useless with lollipop
- Added some security patches from CM source
- CM kernel rebased on Glitch AOSP (again) - Looks good after a few days of intensive use
- A few little glitchy tweaks
- Updated toolchain to Cortex A15 optimized Linaro GCC 4.9.3-2015.02
16/01/2015 - r307 :
- Disable wake gestures by default
- Fix for a little color tweaking bug
- Updated CAF variant for CM12 support & sync with Glitch AOSP r307
Note : r307-CM is NOT compatible with CM11. It must be used with CM12 only.
12/12/2014 - r306 :
- Added vmalloc setting to command line to fix some video playback issues. Thanks to @szale9001 for pointing this out !
16/11/2014 - r303 :
- Added Chainfire's partial root ramdisk patch by default
- Added cernekee's PIE patch to Aroma (allows third party native executables to run, lowering security. Fixes various apps)
- Added SELinux permissive + sepolicy ramdisk patch to Aroma (enables full root access but lowers security. Fixes various apps)
15/11/2014 - r300 :
- Updated AOSP kernel with lollipop-release - BREAKS COMPATIBILITY WITH 4.4.x due to GPU driver changes !
- Removed interactive GPU governor
- Merged GPU patches from codeaurora & franciscofranco for better responsiveness and battery life
- Cleanups
26/09/2014 - r226-disabledAVS :
- r226 variant with disabled AVS for users with recurrent instability issues. Higher power consumption than standard build when used without uV.
Follow up to this post : http://forum.xda-developers.com/showpost.php?p=55566837&postcount=1943
22/09/2014 - r226 :
- Added experimental support for Kali Pwn Pad (as it was requested by some - Thanks for the list Flar2 )
- Disabled compaction (a little higher RAM consumption for higher performances - Doesn't seem to affect multi-tasking in a negative way)
- Disabled MSM hardware adaptive voltage scaling (should fix the last remnants of SoDs/RR happening for some even on other kernels - May lead to higher power consumption) I will make a test build with it disabled for who wants to try in the next days
- Updated Faux Sound to 3.6
- Enabled more TCP congestion-avoidance algorithms
- Enabled NFS support
- Moved exfat to built-in instead of module
- Added black magic
17/09/2014 - r223 :
- Better hotplug driver settings in 99glitchsetup script / Fix Qualcomm MPDEC activation
- Lowered "Glitchy" L2/bus settings to make it usable by more users
- Enabled various compiler optimizations (like some GCC graphite optimizations)
- Updated toolchain to Cortex-A15 optimized Linaro 4.9.2 2014.09
- Echo touch firmware version to logfile (/data/local/tmp/glitch-kernel.log)
10/09/2014 - r220 :
AOSP kernel only (CAF kernel will follow as soon as possible) :
- Rebase using latest Google source (fixing various bugs like SoD, random shutdown, slowdowns etc.) and staying on 3.4.0 base for now to prevent issues til I'm able to fix them all with latest Linux upstream
- Aroma Installer rework for less pages on fresh installation mode, similar to Flar2's presentation
- Added new options to Aroma installer
- Updated Flar2's S2W/DT2W system, enabling gesture support
- Replaced Showp1984's MPDecision by Fluxi's MSM Hotplug driver - new default
- Updated Faux123's Intelliplug hotplug driver as well as intellidemand & Intelliactive governors
- Updated/fixed Smartmax and Smartmax EPS (extreme power saving) governors
- Updated FauxSound
- Updated Flar2's msm_sleeper
- Added a backlight dimmer function
- Cleaned up/removed a vast amount of old patches
- Added release number to internal kernel naming so you know what version you're on
- Added a wlan firmware override setting in Aroma. This is basically the same as using 4.4.4 PRIMAtor to enable 4.4.3 or lower support or to fix wifi on a few roms that are using older wifi blobs
- Slight tweaking here and there
- Removed kernel-based NEON support - Needs more testing
- Switched to LZ4 kernel compression - Higher kernel size but faster boot times
- Updated toolchain to Cortex-A15 optimized Linaro 4.9.2 2014.08
05/07/2014 - r151 :
AOSP kernel only :
- Base update from Linux 3.4.86 to 3.4.96
- Removed some unnecessary Aroma pages for faster navigation
- Removed Qualcomm-Optimized Dalvik/Bionic from Aroma to prevent users from softbricks when used on incompatible ROM
- Added F2FS support
- Added F2FS partition detection script to modify ramdisk accordingly at flash time. You will need to launch Aroma installer each time you change FS on supported partitions (DATA, CACHE & SYSTEM) to refresh the ramdisk configuration (you can restore your glitch settings to do that btw, no need to clean install). You can use all of them as F2FS, or just one, you decide.
- Enabled Intelliactive governor
- Added CTCaer's patch to restore forced TS firmware update sysfs
05/06/2014 - r147 :
AOSP kernel only :
- Merged with 4.4.3
- Base update from Linux 3.4.82 to 3.4.86
- Switch to Cortex-A15 optimized Linaro 4.9.1 toolchain
25/02/2014 - r142 :
- Base update from Linux 3.4.79 to 3.4.82
- Added 81 MHz CPU frequency
- Updated ondemand governor
- Switch to Cortex-A15 optimized Linaro 4.8.3 toolchain
- Disable input-boost by default in Aroma
07/02/2014 - r140 :
- Update to Linux 3.4.79
- Switch to XZ compression
- Add kernel mode NEON support as well as NEON accelerated AES & XOR implementations
- Fix CPU load miscalculation
- jbd2 and ext4 optimizations
- Add max screen off frequency support - Thanks to Flar2 (if disabled in Aroma, changing frequency in apps won't have any effect)
- Add UKSM 0.1.2.2 support
- Add dynamic management of dirty page writebacks
- Enable Wiimote HID support
- Enable USB printer support
- Bugfixes
Aroma installer overhaul :
- Reworked installation process to be clearer and more customizable
- Added an automatic backup of your settings to the root of your internal SDcard
- Added a restoration mode to get your settings from internal SDcard backup back on any rom (cross-compatible with Glitch kernel variants)
- Renamed /system/etc/settings.conf to glitch-settings.conf to make it more obviously glitchy
- Removed the need to set CPU OC, L2/cache OC and auto-uV again when keeping previous settings (now reading it from your settings at flash time. Note : editing this part in /system/etc/glitch-settings.conf requires a reflash using the "already glitched" option)
- Added Qualcomm optimized Dalvik/Bionic libraries into the installer (bionic only on CM variant) so you can install/restore them with the kernel
- Added I/O scheduler, CPU governor, read-ahead buffer size, fast charge, max screen off frequency and maximum multi-core power savings to available settings
- Fixed how the min CPU clock is applied to make it more robust and work better with governors
- Fixed how the min CPU freq uV is applied to make it work independently of the min freq (by subtracting the uV amount to the original voltage instead of forcing plain values) - Also, make it capable of setting uV for all freqs for future use.
- Changed the auto-uV menu to reflect the internal changes
- Fixed some permissions issues
- Added hotplug driver check so it's possible to restore it as well from settings without interference
- Change theme
25/01/2014 - r132 :
Performance and stability improvements :
- Enhanced memory management
- Lower CPU overhead
- Improved I/O speed in many cases
- Improved ondemand governor behavior
- Fix a memory leak
- Fix some msm_bus bugs
- Fix a false error report in Aroma log
CM kernel only :
- Fixed the "black caterpillar" bug
- Improved GPU performance consistency
23/01/2014 - r130 :
- Faux123's LCD color control driver updated to Flo version (thanks to him to make it opensource), adding gamma control. (You'll need FauxClock to tweak it - color is still available from TricksterMod)
- Some GPU driver related bugfixes
- Implemented LoUIS API for cache maintenance operations
- Update base to Linux 3.4.77
- Revert some CAF updates (fixes some L2 corruption that could lead to random reboots / black screens)
- Battery life improvements
- Some cleaning
CM kernel only :
- Fixed color control
- Fixed random heavy GPU performance drop
- Changed memory allocation to be in line with CM
- Changed naming in Aroma to differentiate from "pure" AOSP
Older changelogs are available here
Looks like a nice kernel that will really show what this device can do
Sent from my Nexus 4 using Tapatalk 4
Thanks.
That's what I'm trying to make. And I *think* (may be wrong though) I'm the only one yet using a fully working GPU OC implementation on flo kernel. It's an adaptation of Galaxy S IV's (i9505) GPU OC code from Team Hydra.
It seems 627 MHz is around the max possible with stock voltage, probably even 600 MHz for many. I'll see what it can do with a bit more juice.
Other things to do : add more frequency steps for the CPU, lock the default freq, and make the L2/bus speed configurable.
After that I think we'll be able to push the thing to the limits if we want to.
Thanks for your hard work I'm going to try it on pacman ROM I'll let you know how it goes
Sent from my Nexus 7 using XDA Premium 4 mobile app
Thank you, I'm curious to know what results you'll get
Awesome so far .WOW
Sent from my Nexus 7 using XDA Premium 4 mobile app
---------- Post added at 12:20 AM ---------- Previous post was at 12:18 AM ----------
I wanna show u my settings, I use trickster, so sound and faux kernel app to get the results I need was going to show you pictures but all the sudden XDA premium has no picture button I'm a little lost their. Touch responses phenomenal and just like faux kernel the sound is this did really well I can finally listened stock sound sucks on this product even know what has supposedly way better speakers, thanks to people like you I can actually hear the videos I watch without headphones now. Thank you very much I've been using it for about 5 minutes swimming around on everything and everything smooth as hell
Sent from my Nexus 7 using XDA Premium 4 mobile app
---------- Post added at 12:21 AM ---------- Previous post was at 12:20 AM ----------
Add me on gtalk. [email protected]
Sent from my Nexus 7 using XDA Premium 4 mobile app
---------- Post added at 12:24 AM ---------- Previous post was at 12:21 AM ----------
I'm kinda pissed,paid XDA apk all of a sudden has no way to show pictures. Argggg
Sent from my Nexus 7 using XDA Premium 4 mobile app
The problem exists on the free app as well ^^
Try scrolling up and down away from the images and back on them, it'll eventually show up at some point.
Thanks for your work. I'll give this kernel a try.
Coming from N4 motley kernel I'll love to use init.d scripts to set up color "calibration", sleep states, etc. What do you think about implementing / documenting such features for your kernel?
Otherwise, let me see if I need something. Hm, what about USB OTG and ntfs/f2fs support?
USB OTG is working out of the box. NTFS/F2FS support isn't. I'll look into adding them =)
Your idea is nice, I'll think about it.
Thanks =)
Do you plan on adding Faux's color mod? I will give this kernel a shot and report back.
cyberprodigy said:
Do you plan on adding Faux's color mod? I will give this kernel a shot and report back.
Click to expand...
Click to collapse
When there will be some source, yeah why not =)
Tk-Glitch said:
When there will be some source, yeah why not =)
Click to expand...
Click to collapse
I am running the kernel right now. All I can say is "wow".
You did a fantastic job cherry-picking the best features from various kernels. I notice a slight increase in smoothness compared to Faux's kernel plus D2W and all the other great features you added so I think this may be my new main kernel.
I will use it over the next few days and report any issues I find and how the stability is. Thanks a lot for your work.
Edit: Also, I am running CleanROM and everything seems fine.
Thank you, so it may work with any rom then ! Good to know CM didn't break too much stuff leaving AOSP base.
sleep to wake, doubletap to wake disabled by default? don´t need it xD
need a fast stable kernel and especially want to disable fsynch. if u run a stable rom it justs takes useless power xD
i´m pretty new to the nexus7 like the most of us . is that kernel stable?
atm i´m using faux´s, also used franco. i dunno, but on franco´s i couldnt change gpu govenor and the 3dmark benchmark was about 3000points, stock is about 6000-7000. pretty strange.
i am a pretty minimalistic user, want best batterylife/performance ratio. only using psx, best rom for me
i think i´ll try that kernel
edit: what does "Snake Charmer" do?
edit2: read s2w stuff enabled by default, can it be disabled via trickster?
My N7 is running great with your kernel. Let's see what about perfomance and stability in two or three days. After checking and playing with trickster I miss a kind of dynamic fsync and a color calibration interface - compared to N4 m+ (motley) kernel.
Perhaps you can implement some upstream changes / patches directly from CAF or newer kernels.
It would be nice if you post some information about L2 speed hack, etc. So that everyone can see what this hacks do.
Which file are we supposed to use, they are all dated 20130919. I'm guessing the. 904.
airmaxx23 said:
Which file are we supposed to use, they are all dated 20130919. I'm guessing the. 904.
Click to expand...
Click to collapse
CM10.2-flo-Glitch-20130919.0904
2013 /09 /19/09:04
Year/Month/Day/time
dunno if latest point is time in this case when you compare it to upload date. but yes it seems to be latest. upload time and build date can be different, so i think it´s the time.
L-ViZ said:
CM10.2-flo-Glitch-20130919.0904
2013 /09 /19/09:04
Year/Month/Day/time
dunno if latest point is time in this case when you compare it to upload date. but yes it seems to be latest. upload time and build date can be different, so i think it´s the time.
Click to expand...
Click to collapse
Probably when it was compiled.
cyberprodigy said:
Probably when it was compiled.
Click to expand...
Click to collapse
Just a heads up for those who want to disable swipe2wake or doubletap2wake, you can turn them off with the Trickster app but I did not find a setting in the FauxClock app.

[KERNEL][4.4.3] ★☆ Kangaroo Kernel ☆★ 21 OCT | v072 | 3.4.104

Kangaroo Kernel for the HTC One GSM: Sense ROMs
Linux 3.4.104+, with many features and improvements from Linux 3.12 and 3.14
{
"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"
}
For android 4.4.3 Sense ROMs
Based off HTC 6.09.401.5 sources for 4.4.3 Sense
Code:
* Standard disclaimer:
* Your warranty is now void. Use at your own risk.
* In other words: It is your choice to use this software,
* I am not responsible for any damage or problems!
Naming convention
KANGAROO KERNEL MKIV IS FOR 4.4.3 ONLY (it will have _443 at the end of the filename)
JOEY AOSP CM (ckxxx): AOSP/CM based ROMs depreciated
JOEY GPE (post 4): sense based 4.4.2 and GPE 4.4.2 depreciated
KANGAROO KERNEL SENSE (kkxxx): sense based 4.4.2 ROMs and GPE only depreciated
Click to expand...
Click to collapse
Features:
Compiled with latest Linaro Christopher83 Linaro 4.9.1 toolchain
Better performance and battery savings due to the use of more efficient algorithms and updated, optimized code
Kernel is aimed at reducing heat while saving battery and increasing performance over stock
IN DEPTH FEATURE LIST IN CHANGELOG AND ON GIT
Better to look at changelog cause I miss things when I try to condense it
CPU governors (italics for default): ondemand, preservative, smartmax, optimax, performance, userspace, msm-dcvs, powersave
io sched: no-op, deadline, CFQ, BFQ, FIOPS
KANGAROO CONTROL SCRIPT IN POST #3
Can be used to control all options, plus more
Click to expand...
Click to collapse
Installation:
1. Download kernel
2. Reboot to recovery
3. Backup
*if you come from faux or tbalden please reflash your rom, you don''t need a wipe. They have some trickery with their own hotplugs so they have reomved mpdecision, so without reflashing your phone will be stuck on quad core*
4. Flash kernel
5. Reboot
*Please let it sit for ~10 mins before judging as it will need to settle down. Do not judge battery life unless you've run it through at least 3+ cycles after flashing*
Click to expand...
Click to collapse
DISCLAIMERS:
1) Excessive under/overvolting can cause damage to the internal parts of your phone. It can cause the phone's lifespan to deteriorate quickly so make sure you know boundaries
2) If you OC'ed/OV'ed/UV'ed and now are in a boot loop or your phone is slow, or acting weird or just died - it means your phone does not like the changes. Voltage control is for those who know what the risks are, know what they are doing and know how to fix it. Perhaps when you change these, test them for an hour or so before setting on boot
3) Any changes to the phone, including flashing the kernel itself is done at your own risk.
4) Every phone is differentt
5) Please DO NOT use any task killers (or additional init.d scripts), they DO NOT improve performance/battery. The kernel is designed to be used with stock settings: my settings and anything else can cause problems
Click to expand...
Click to collapse
Download latest version:
http://forum.xda-developers.com/showthread.php?t=2564895&page=662#post56167960
If you want logo options:
http://forum.xda-developers.com/showpost.php?p=54759427&postcount=5140
Previous versions (4.4.2):
http://www.androidfilehost.com/?w=files&flid=15247
Previous 4.4.3 version found in my changelog links. They are attached to each changelog post
Sauce: https://github.com/poondog/kangaroo-m7-mkIV
*Please do not re upload without permission, I like to count downloads*
Changelog will be in post 2
What is not coming via requests:
- replacement for mpdecision
- additional useless governors
- aroma
- anything useless: this kernel was made for me and I shared it with a few people until now
Click to expand...
Click to collapse
With thanks to (in no particular order)
franciscofranco
faux123
anarkia1976/ak
imoseyon
flar2
teamseven
n3ocort3x
morfic
maxwen
labodj
ktoonsez
tpbklake
janarp
szezso
Synthetic.Nightmare
ZeroInfinity
Sabermod team
Stratosk
Lens-F
Savoca
tiny4579
neniick
geko95gek
Click to expand...
Click to collapse
XDA:DevDB Information
Kangaroo Kernel, Kernel for the HTC One
Contributors
poondog
Kernel Special Features:
Version Information
Status: Stable
Created 2013-12-11
Last Updated 2014-10-20
Changelog: sense kernel
Changelog will go here
4.4.3 Sense kernel:
Code:
*****v072*****21 October*****
.cleaned up MAKEFILE kernel build flags
.some power efficiency enhancement patches, picked from NVIDIA for a15 devices (for greater battery life)
.reverted some msm_hsic_wakelock patches to try to reduce wakelocks (to improve standby times)
.introduce userspace voltage control (min is 650mV)
.some upstream patches for compression
.optimize memcpy for cortex-A15 to memutils (xboxfanj, this is for overall efficiency)
.some Cortex-A15 optimization patches from NVIDIA
.more minor under the hood stuff as always
http://forum.xda-developers.com/showthread.php?t=2564895&page=662#post56167960
*****v068*****04 October*****
.Update toolchain to Linaro 2014.09 4.9.2 for a15 chipsets by Christopher83
.some updates to SELINUX (to do with security)
.introduce OPTIMAX governor (see below)
.introduce PRESERVATIVE governor (see below)
.introduce SMARTMAX governor (see below)
.GPU overclocking (see below)
.imported ULTRASOUND_B sound drivers (see below)
.upstream Linux update to 3.4.104
.allow stock EXFAT and CRYPTO modules to work (thx to bgcngm from dual sim m7, this is experiemental since idk if it works)
http://forum.xda-developers.com/showthread.php?t=2564895&page=636#post55825791
*****v058*****14 September
.shorten some wakelocks (for better sleeping)
.some more tweaks for better overall battery and performance
.upstream fixes and improvements to TOPOLOGY drivers (to do with queuing of tasks to individual cores, from Linaro)
.optimize TOPOLOGY further for Krait devices (neobuddy89)
.introduce BFQ IOSCHED v7r5
.introduce FIOPS IOSCHED (default)
.enable ILLINOIS to be set as default, and set it default for TCP
.introduce LINARO POWER EFFICIENT WORKQUEUES (heaps of battery savings)
.some fixes to bluetooth
.upstream backports to EVENTPOLL subsystem from 3.14+ (Efficient event retrieval implementation, thx neobuddy)
.fix some more compile warnings for better optimized code (cl3kener)
.drop i2c clock a bit more (to save battery, ref. @zeroblade1984/Samsung/OPPO
.remove some more debug (less energy waste)
.strip most debug from modules, reduce size by 90%
.enable all sleep states, based on 4.4.2 kernel tests (for better battery especially in sleep)
.remove depreciated sched sysfs since they are removed up upstream kernels and don't really do anything
.some LINARO ARM code improvements
.update to HTC 6.09.401.5 kernel source (not much really lol, a few internet related fixes)
.introduce USB FAST CHARGE (flar2, off by default)
.cleanup some HTC junk
.some improvements to LOWMEMORYKILLER from moto/upstream (to do with multitasking)
.some improvements to ONDEMAND governor for better power savings with no smoothness loss
.fixed USB DAC audio (Thanks @hq5 for testing)
.introduce KEXEC_HARDBOOT aka MULTIROM (still needs patched RAMDISK, I do not include this)
.fix compass on Sprint and Verizon (brymaster5000)
.add some more doge
http://forum.xda-developers.com/showpost.php?p=55423362&postcount=5983
*****v045*****6 September*****
.2w: change feedback slightly, now it doesn't vibrate heaps on sweep2sleep
.further updated workqueue (for better battery and efficiency)
.some network tweaks
.heaps of "under the hood" improvements (lead to better efficiency for speed/battery)
.reduce internal USB wakelocks to improve battery
.patched kernel futex vulnerability (from CM, for security)
.compress with LZ4 for faster boot speeds and built with latest binary
.updated all compressors to latest versions
.add lower GPU frequencies and scale to them (for better battery)
.upstream backports to OOM handler from 3.16+ (related to memory use, see here https://www.kernel.org/doc/gorman/ht...rstand016.html)
.optimized deadline scheduler for better use on flash
.quad core cpu stats (faux123)
.lower max i2c clock to 384MHz to save some juice, no negative effects in testing
.some general code fixes and improvements
.enable ILLINOIS tcp algorithm and set default
.enable NTFS r/w support
http://forum.xda-developers.com/showthread.php?t=2564895&page=582#post55259490
*****v027*****30 August*****
.massive improvements to the workqueue, synced with AOSP+ (franciscofranco)
.BCM4335: attempt to decrease wakelocks
.signature tweaks to SLIMBUS (me/zeroinifity)
.msm: memutils: memcpy, memmove, copy_page optimization from motorola
.use freezable blocking calls kernel wide (for more efficiency and less waste of resources, comes from upstream android)
.slimmed down kernel, stripped of some things it doesn't need
.removed some more debugging
.much under the hood tweaks (wow)
http://forum.xda-developers.com/showpost.php?p=55136831&postcount=5636
*****v021*****22 August*****
.2w: default to sweep2wake and doubletap2wake on
.backport RANDOM and RANDOM32 drivers from Linux 3.16. FULL port, not just a few patches
.patch all the way to Linux 3.4.103 latest. These include bugfixes, enhancements that have been seen fit to be merged into the mainline 3.4.y kernel
.scale L2 and CPU in sync, up to 1134MHz where the L2 maxes out. Results in smoothness at higher freqs and battery saving at lower
.begin to work on workqueue, for now just a few fixes
.drop all CPU voltages by 50mV for battery improvement and heat reduction
.begin to tweak kernel to be cooler and leaner
http://forum.xda-developers.com/showthread.php?p=54976133#post54976133
*****v006*****5 August*****
.patch upstream to 3.4.25
.introduce all 2w features from Kangaroo Kernel 4.4.2, including dt2w, s2w, bi-directional etc
.button backlight notifications (tbalden)
.tweak makefile flag optimizations based on our testing on 4.4.2 Sense
.some minor fixes and enhancements
.disabled systemrw protection (Tiny4579)
http://forum.xda-developers.com/showthread.php?p=54619213&highlight=update#post54619213
*****v001*****29 July*****
.few compiler tweaks based on what worked well on 4.4.2 kernel
.some minor code optimizations and fixes
.compile with Christopher83 Linaro 4.9.1 2014.07 toolchain
.vfp with neon hard optimization levelz
http://forum.xda-developers.com/showpost.php?p=54454303&postcount=4973
Recommended settings
Recommended settings: balance between performance and battery
Trickstermod recommended
TCP congestion: ILLINOIS
Read ahead buffer: 128
IO scheduler: FIOPS(default settings)
CPU min freq: 384MHz
CPU max freq: 1728MHz
CPU governor: ondemand (default settings)
mpdecision: on
GPU gov: ondemand
GPU max freq: 487.5MHz
VOLTAGES: default, since its been tried and tested
PNPMGR: on
Click to expand...
Click to collapse
Officially supported ROMs (the kernel is tested on these)
.ViperOne 7.0.0 (6.09.401.5 base)
.MaximusHD 44.0 (6.09.401.5 base)
Click to expand...
Click to collapse
__________________________________________________________________
--------------------------------------------------------------------------------------------------------------
OFFICIAL KANGAROO KERNEL INIT.D SCRIPT: ALL YOUR NEEDS ON BOOT WITHOUT THE NEED OF AN APP!
HUGE thanks to Headless_monkeyhunta96, hit his thanks button!
DOWNLOAD IT FROM HERE
If you're gonna use the script.. Leave the name intact and give credits to poondog/headless_monkeyhunta96 where due
Click to expand...
Click to collapse
Joey Kernel CM for HTC One
Joey Kernel CM for HTC One
CM/AOSP based ROMs​
android_kernel_htc_msm8960 core from CM​
Features:
Compiled with latest Linaro Christopher83 Linaro 4.9.1 toolchain
Better performance and battery savings due to the use of more efficient algorithms and optimized code
Optimized configuration: stripped of wasteful debug and things that are useless on android phones
Patched to latest upstream Linux 3.4.y
Build/memory optimizations
CPU undervolted by 50mV
Userspace voltage control
msm_thermal from showp1984 tuned for med-cool
Advanced TCP algorithms (westwood default)
Backports from CAF/upstream
Stripped a lot of debugging
memutils: memcpy, memmove, copy_page optimization (moto)
enhancements and fixes from motorola open source repos
out of memory and memcontroller updated from Linux 3.14+ (neobuddy)
kernel mode NEON
use freezable blocking calls (faux123/CAF for improved efficiency and battery savings)
generic strnlen_user() function used in many instances
compressed with LZ4
L2 clocks synced with CPU clocks
Linaro Power Efficient Workqueues
slimbus backport from Nexus 5
CAF updates to slimbus
slimbus OC MKII+some more tweaks (Poondog/ZeroInfinity)
ported HTC ONDEMAND, PERFLOCK, ADAPTIVE TUNING, IDLE STATS and PNPMGR for optimium battery and smoothness
CPU governors (italics for default): preservative, conservative, smartmax, ondemand, performance
io sched: no-op, deadline, CFQ, ROW, FIOPS
Click to expand...
Click to collapse
Download latest version:
http://forum.xda-developers.com/showpost.php?p=54132749&postcount=4432
see here for more details:
http://forum.xda-developers.com/showthread.php?p=53561527
http://forum.xda-developers.com/showpost.php?p=54132749&postcount=4432
Kernel sauce:
https://github.com/poondog/android_kernel_htc_msm8960
Changelog:
Code:
*****14 July*****
.continue porting of HTC perflock, adaptive tuning, idle_stats (me/htc)
.merge upstream CM kernel
.merge upstream CAF
.some device specific changes from CM
*****21 June*****'
.bumped readahead to 512kb max
.build with new toolchain 2014.06 Christopher83 Linaro 4.9.1
.Update to latest 3.4.94
.squashed some build warnings
.improve cpuidle from Kangaroo Kernel logic
.merge with latest CM, includes many driver updates
.begin port of PNPMGR from Sense source (tiny4579)
.port HTC ondemand gov from Sense source complete with multiphase and all HTC goodness. Uses input boost interface hoocked with cpufreq. Results in more smoothness and better battery in comparison to CAF ondemand due to boost freqs (me/HTC)
.update vibrator drivers from Sense source (me/HTC)
.some fixes from Kangaroo Kernel
.improved boot time by init to max (moto)
.backported SLIMBUS from Nexus 5 source
.merged CAF updates for Slimbus for the latest drivers, minus the qmi parts which we don't have hardware for
.slimbus tweaks are back (me/Zeroinfinity)
*****15 June*****
.so update
.introduce Linaro Power Efficient workqueues
.upstreamed oom to Linux 3.14+
.sync with latest CM/CAF
.sync with latest kernel.org 3.4.93
.introduce BFQ-v7r4-3.4 with Early Queue Merge
.introduce FIOPS scheduler core
.some enhancements to the block subsystem (to do with scheduling)
.add 3 phase BRICKED thermal, used defaults from Kangaroo Kernel (thx showp1984)
.introduce userspace voltage control (same implementation in Kangaroo Kernel, from myfluxi)
.introduce PRESERVATIVE cpu governor, sync with latest and Kangaroo defaults
.Introduce SMARTMAX cpu gov, also synced with latest and Kangaroo defaults
.squash conservative governor from upstream as used in Kangaroo
.build with Christopher83 4.9.1 2014.05 toolchain with build flags from Kangaroo
.motorola memory enhancements
.bumped readahead max to 512kb
.introduce slimbus OC from Kangaroo Kernel
.sync L2 clocks and CPU clocks up to 1134MHz
.drop voltages by 50mV
.much under the hood stuff that I can't write in english
.wow
Kangaroo Kernel MKIII for 4.4.2 Sense
(depreciated)
RIP​
Kangaroo Kernel for the HTC One GSM: Sense ROMs
Linux 3.4.103+, with many features and improvements from Linux 3.12 and 3.14
For android 4.4.2 Sense ROMs
Based off HTC 5.11.401.10 sources for 4.4.2 Sense
Code:
* Standard disclaimer:
* Your warranty is now void. Use at your own risk.
* In other words: It is your choice to use this software,
* I am not responsible for any damage or problems!
Naming convention
KANGAROO KERNEL SENSE (kkxxx): sense based 4.4.2 ROMs and GPE only
JOEY AOSP CM (ckxxx): AOSP/CM based ROMs--> every rom not based on Sense or GPE
JOEY GPE (post 4): sense based 4.4.2 and GPE 4.4.2 depreciated
KANGAROO KERNEL MKIV IS FOR 4.4.3 ONLY (it will have _443 at the end of the filename)
Click to expand...
Click to collapse
Features:
Compiled with latest Linaro Christopher83 Linaro 4.9.1 toolchain
Better performance and battery savings due to the use of more efficient algorithms and optimized code
Optimized configuration: stripped of wasteful debug and things that are useless on android phones
Patched to latest upstream Linux 3.4.y
Build/memory optimizations
Utilize all possible CPU sleep states
CPU undervolted by 50mV
Overclock GPU to 487MHz
Userspace voltage control
CPU stats (quad core)
custom thermal driver for optimum control over cpu temperature and throttle
powersaver cpu cap in-kernel to cap max freq without disabling pnpmgr
Scheduler improveents
Slimbus OC!
Audio tweaks and improvements
ULTRASOUND_A from latest CAF source
Advanced TCP algorithms (westwood default)
GPU tweaks, underclocked with freqs 27, 128, 200, 320, 400, 487MHz
Increased GPU BUS bandwidth
Backports from CAF/upstream
Stripped a lot of debugging
SELINUX up to date with latest Google source
memutils: memcpy, memmove, copy_page optimization (moto)
enhancements and fixes from motorola open source repos
msm: dma: upstreamed to CAF
kernel RANDOM number generator from Linux 3.16+ (dorimanx)
out of memory and memcontroller updated from Linux 3.14+ (neobuddy)
eventpoll updated to Linux 3.14+
ext4: upstreamed to latest CAF
qdsp6v2 audio format drivers from latest CAF
mm: optimized KSM
upstreamed random32 drivers to Linux 3.16+
kernel mode NEON
update/ optimize mutex functions (faux123/CAF for improved multitasking
use freezable blocking calls (faux123/CAF for improved efficiency and battery savings)
generic strnlen_user() function used in many instances
support kernel side for f2fs (Samsung--> needs ramdisk support, see your rom "chef")
implement kexec_hardboot aka multirom support in kernel (again needs ramdisk support)
tcp small queues, early retransmit, auto corking, speed tweaks
reduced wifi wakelocks
2w options (s2w, dt2w, l2m etc: flar2, default s2s/dt2w bottom of screen)
bi-directional sweep2wake
compressed with LZ4 binary r120
L2 clocks synced with CPU clocks
BUS tweaks and updates
reduced HSIC wakelocks
Linaro Power Efficient Workqueues
Linaro CPU topology, updated and enhanced for Krait CPUs
USB force fast charge
slimbus OC MKII+some more tweaks (Poondog/ZeroInfinity)
MORE IN DEPTH FEATURE LIST IN CHANGELOG AND ON GIT
CPU governors (italics for default): preservative, conservative, smartmax, ondemand, performance, userspace, msm-dcvs, powersave
io sched: no-op, deadline, CFQ, ROW, FIOPS, BFQ, SIO
KANGAROO CONTROL SCRIPT IN POST #3
Can be used to control all options, plus more
Click to expand...
Click to collapse
Installation:
1. Download kernel
2. Reboot to recovery
3. Backup
*if you come from faux or tbalden please reflash your rom, you don''t need a wipe. They have some trickery with their own hotplugs so they have reomved mpdecision, so without reflashing your phone will be stuck on quad core*
4. Flash kernel
5. Reboot
*Please let it sit for ~10 mins before judging as it will need to settle down. Do not judge battery life unless you've run it through at least 3+ cycles after flashing*
Click to expand...
Click to collapse
DISCLAIMERS:
1) Excessive under/overvolting can cause damage to the internal parts of your phone. It can cause the phone's lifespan to deteriorate quickly so make sure you know boundaries
2) If you OC'ed/OV'ed/UV'ed and now are in a boot loop or your phone is slow, or acting weird or just died - it means your phone does not like the changes. Voltage control is for those who know what the risks are, know what they are doing and know how to fix it. Perhaps when you change these, test them for an hour or so before setting on boot
3) Any changes to the phone, including flashing the kernel itself is done at your own risk.
4) Every phone is differentt
5) Please DO NOT use any task killers (or additional init.d scripts), they DO NOT improve performance/battery. The kernel is designed to be used with stock settings: my settings and anything else can cause problems
Click to expand...
Click to collapse
Download latest version:
http://forum.xda-developers.com/showthread.php?p=54937723
All previous versions:
http://www.androidfilehost.com/?w=files&flid=15247
Sauce: https://github.com/poondog/kangaroo-m7-mkIII
*Please do not re upload without permission, I like to count downloads*
Changelog will be in post 2
What is not coming via requests:
- replacement for mpdecision
- additional useless governors
- aroma
- anything useless: this kernel was made for me and I shared it with a few people until now
Click to expand...
Click to collapse
With thanks to (in no particular order)
franciscofranco
faux123
anarkia1976/ak
imoseyon
flar2
teamseven
n3ocort3x
morfic
maxwen
labodj
ktoonsez
tpbklake
janarp
szezso
Synthetic.Nightmare
ZeroInfinity
Sabermod team
Stratosk
Lens-F
Savoca
tiny4579
neniick
geko95gek
Click to expand...
Click to collapse
Code:
CHANGELOG:
*****v138*****20 August*****
.patch to upstream 3.4.103
.overclock the GPU to 487MHz. I added an extra step, not replaced what we had (see below)
.disable some more debug (less wastage of energy for greater battery life)
.disable F2FS, who even knew it was here anyway
.updates to kernel processes from CAF/upstream
.lower max i2c clock to 384KHz, to save battery
.minor updates to ONDEMAND gov from tiny4579/stratosk
.import ULTRASOUND audio drivers from latest CAF. We are using ULTRASOUND_A, made for msm8960 (improves audio playback)
http://forum.xda-developers.com/showthread.php?p=54937723
*****v132*****12 August*****
.cleaned up touchscreen drivers and removed whitespaces
.build version is changed slightly to show kangaroo kernel mkiii, to differentiate between 4.4.3
.cleaned up thermal drivers since last release
.some changes to thermal algorithm to be more reliable and more accurate
.tuned thermal for a bit cooler (see below)
.remove some debugging in sched (less wasted energy)
.misc optimizations/updates for compression/decompression (more reliable, ref. cl3kener git)
.misc optimizations/updates for CPUFREQ
.updated RANDOM32 driver from Linux 3.16.y kernel
.updated RANDOM driver from Linux 3.16.y kernel (see below, ref. dorimanx git)
.ported new random driver for use on m7 s600 (me)
.cleaned up vibrator driver (more optimized and usable code now)
.lower default 2w vibration to 18, down from 20
.SMARTMAX: use new relation_C to better choose frequencies
.PRESERVATIVE: use new relation_C to better choose frequencies
.upstream improvements to kernel sync drivers (effects general operations, and io related things)
.upstream improvements to sched (will effect general performance and battery)
.updated LZ4 kernel compression binary to r120
.merge upstream Linux kernel 3.4.102
http://forum.xda-developers.com/showthread.php?t=2564895&page=527#post54771268
*****v122*****26 July*****
.thermal: bring in new thermal driver. Seems to have better control over freqs compared to before. Butchered it. Now we have some weird roo thermal beast. See below. (myfluxi, me)
.introduce powersaver cap for limiting cpu max freq (me, see below)
.patch to upstream 3.4.99 (kernel.org)
.2w: rewrote this is some places. Add support for bi-directional sweep2wake and sweep2sleep (thx @Savoca for a few pointers and the idea, flar for the original code, see below)
.compile with new toolchain 4.9.1 Christopher83 2014.07
.disable HTC write protection (thx Tiny)
.clean up some drivers of unneeded code
http://forum.xda-developers.com/showpost.php?p=54408387&postcount=4819
*****v116*****18 July*****
.update BFQ-v7r5 I/O sched for 3.4 complete with Early Queue Merge
.tune smartmax tunables for more battery (thx @Rad Ryan)
.fixed sound issues from v110
.merge upstream Linux 3.4.98
.updates to lz4 kernel side code
.updated to lzo kernel side
.new freq relation for Ondemand gov adapted for HTC Ondemand(stratosk, see below)
.tune deadline iosched for better performance (myfluxi)
.some updates merged from Nexus 7 L preview
http://forum.xda-developers.com/showpost.php?p=54226594&postcount=4555
*****v110*****8 July*****
.backported futex updates and fixes (for vulnerability, cred kernel.org/CM)
.some fixes for gpu
.updates to Linaro topology
.add Krait specific topology values (for cpu efficiency, neobuddy89)
.fix all audio bugs. ALL OF THEM
.mutex enhancements from v085 (CAF)
.disabled some useless govs, you won't even notice them missing :P
.enable all PM sleep states (see below)
.updated installer script for all devices. Delete thermal and thermal backup files on flash *IF YOU FLASH ANOTHER KERNEL REFLASH ROM FIRST* (thx @Ser35) Remember we have custom kernel side thermal manager so all g
.update LZ4 binary to latest r119 (to do with kernel compression)
.patch to latest Linux 3.4.97
http://forum.xda-developers.com/showpost.php?p=53972164&postcount=4222
*****v100*****23 June*****
.base 5.11.401.10 (m7ul-3.4.10-g3c4bd25 )
.throttle earlier
.fixed audio bugs
.import conservative gov from 3.15+
.patch to 3.4.94
.update toolchain to latest 2014.06 4.9.1 Christopher83
.some under the hood stuff
.revert some stuff from v085 since it caused issues
http://forum.xda-developers.com/showpost.php?p=53611734&postcount=3948
*****v085*****8 JUNE*****
.misc updates to congestion stuff and sched (for greater efficiency and battery)
.fix bluetooth for Sprint and Verizon (thx Brymaster)
.thermal: a bit cooler on the higher phases
.cpufreq: ported CONSERVATIVE gov from Linux 3.14+ (stratosk, kernel.org)
.improvements to memory model section of kernel (to do with processing stuff)
.mutex enhancements from CAF
.update SELINUX from 4.4.3 google source (kernel side security)
.some misc updates from google 4.4.3 source
.under the hood stuff (see git)
http://forum.xda-developers.com/showthread.php?p=53243483
*****v077*****31 MAY*****
.updates to msm_bus for better performance, particularly in gaming
.support Sprint and Verizon (will link their threads later)
.enabled all thermal devices
.support 3 phase bricked msm_thermal (showp1984)
.port thermal to our setup
.setup thermal for pretty cool: see below
.support more TCP algorithms (for data congestion control)
http://forum.xda-developers.com/showpost.php?p=53047467&postcount=3372
*****v068*****26 MAY*****
.build with Linaro CR83 2014.05 4.9.1 toolchian (update from last months)
.upstream to Linux 3.4.91 (kernel.org)
.added preservative governor latest version, tweaked for m7 (bedalus, me)
.added smartmax governor, set m7 defaults (maxwen, me)
.added easter eggs
.reverted dubious sched changes that brought small stutter
.reverted cpuidle to stock to fix sleep times and battery (sorry )
.some misc fixes
.updated BFQ-v7r4 I/O sched for 3.4
.add Early Queue Merge (EQM) to BFQ-v7r4 for 3.4.0
http://forum.xda-developers.com/showthread.php?p=52912948
*****v059*****18 MAY*****
.idle the gpu properly
.decrease mmc wakelocks and time to enter deep sleep (tripnraver)
.update latest caf topology (to do with CPU behavior, Linaro/Synthetic.Nightmare)
.update lz4 compression binary to r117 and some tweaks to compression
.reduce wifi wakelock by a lot (Imoseyon, me)
.patch upstream to Linux 3.4.90
.disabled some crap from defconfig to make the kernel leaner
.complete backport of CPUIDLE from Linux 3.14 (see below)
.some device map fixes
http://forum.xda-developers.com/showpost.php?p=52736996&postcount=2964
*****v044*****9 MAY*****
.implement hashtable introduced in 2e41ba2df20f986b8ae722b9979a57e3ffe31f68 for moar drivers (efficiency)
.merged many rwsem patches from mainline Linux (to improve rw semaphores)
.userspace voltage control (myfluxi, see below)
.minor sound driver update
.build with Christopher83 Linaro 4.9.1 toolchain by default now
.cpufreq drivers rewritten in some places to be more logical and efficient (Linaro)
.some minor tcp tweaks (releted to data use)
.more tweaks to slimbus (see below)
.patch to 3.4.89
http://forum.xda-developers.com/showthread.php?p=52518763
*****v040*****2 MAY*****
.slimbus updates backported from latest CAF 3.5 for msm (audio playback)
.out of memory and memcontroller updated from Linux 3.14+ ((for multitasking/battery, thx neobuddy)
.enhancements to lowmemorykiller (improved multitasking)
.SLIMBUS overclocking MKII (see below) Poondog/@ZeroInfinity
.2W: updates from flar (not including gestures)
.cpuidle: update functions from CAF/Linaro for better idle
.update eventpoll to Linux 3.14+ too (Efficient event retrieval implementation, thx neobuddy)
.update BFQ iosched to v7r3 (fiops still default)
.remove some armv7 specifications
.some makefile changes
.patch upstream to 3.4.88
*****v033*****25 APR*****
.sched/fair: Optimize find_busiest_queue()
.sched/fair: Optimize cgroup pick_next_task_fair()
.USB Fast Charge (Chad Froebel, Motley, Flar2: default is off)
.update some qdsp6v2 audio format drivers to latest CAF
.WORKQUEUE: introduce Linaro Power Efficient Workqueues system wide (Linaro)
.backported 3.12+ kernel scheduler features/fixes/enhancements (faux123/kernel.org for better multitasking etc)
.more under the hood stuff (see git)
.reduce memory usage by input driver
.some kernel enhancements and fixes from motorola (Synthetic.Nightmare/Motorola)
.remove old slimbus drivers.
.ported slimbus drivers from HTC m8/Nexus 5 (same driver)
*****v027*****18 APR*****
.compressed kernel with LZ4 compression. Theoretically much faster decompression speeds, lossless compression. The benchmark shows that an 8% increase in image size vs a 66% increase in decompression speed compared to LZO
.enable automatic process group scheduling
.overall stats: fix for quad core (faux123)
.Introduce BFQ-v7r2 scheduler for 3.4
.Introduce ROW scheduler and tune to franciscofranco values for mako/hammerhead
.Introduce FIOPS scheduler latest version (default scheduler)
.Introduce SIO scheduler
.ASoC: Propagate device HW delay to AFE, add buffer overflow check (aznrice)
.ACPUCLOCK: sync L2 cache speed to CPU speed up until 1134MHz. This improves smoothness by bumping the L2 speed up at required set boost freqs such as 918 and 1026MHz
.SELinux: Reduce overhead of mls_level_isvalid() function call (optimizations to SELinux picked from faux123 git)
.more under thehood code fixes improvements optimizations
.remove some debugging from device configuration
.undervolt all PVS versions by 50mV (should save some battery and heat)
.update to @Christopher83 Linaro 4.8.3 2014.04 toolchain, love your toolchains mate
.patch to Linux 3.4.87 latest
.some patched from mako devs to decrease the HSIC wakelock
*****v022*****11 APR*****
.patch to latest linux upstream 3.4.86 (kernel.org/gregkh, 3.4.y maintainer)
.kgsl: Fix Z180 memory leak
.2W: set dt2w default to fullscreen
.update/ optimize mutex functions (faux123/CAF for improved multitasking)
.use freezable blocking calls (faux123/CAF for improved efficiency and battery savings)
.generic strnlen_user() function used in many instances
.time: update some functions of timekeeping.c to latest CAF
.support kernel side for f2fs (Samsung--> needs ramdisk support, see your rom "chef")
.implement kexec_hardboot aka multirom support in kernel (again needs ramdisk support)
.implement memory optimizations into makefile (sparksco/sabermod team, this was the change in SEMEM test)
.add tcp small queues, early retransmit, auto corking, speed tweaks (anarkia1976, to do with networks/internet etc)
.board: reset to stock HTC spec, make thermal kick in earlier
.leds: set blink button notifications default
.build: replaced timeconst.pl with a bc script
.updater-script: tweaked progress bar, set permissions and delete system/lib/modules
*****v015*****7 APR*****
.msm: dma: upstreamed to CAF
.kernel random gen driver updated to Linux 3.14+ (faux123)
.ext4: upstreamed to latest CAF (mrg666/CAF)
.ASoC: increase buffer sizes for low latency audio playback
.block/partitions: optimize memory allocation in check_partition()
.mm: optimized KSM
.upstreamed random32 drivers to latest CAF to work with ext4 updates
.kernel mode NEON
.Enable NEON optimized crypto routines
.2w options (s2w, dt2w, l2m etc: flar2, default s2s/dt2w bottom of screen)
.build: add build flags simplified version with -O2 optimization (used to be -Os) as per testing. (stratosk)
.fixed boot issues for the people who had problems
*****v009*****1 APR*****
.optimizations to SLUB
.memutils: memcpy, memmove, copy_page optimization (from motorola: speed and battery)
.set LOAD_FREQ 4*HZ+61
.remove some more kernel debugging which is wastefuil for us
.switch do_fsync() to fget_light()
.increase BUS at lowest GPU freq
.some makefile tweaks
.Patch to upstream 3.4.20
.entropy tweaks in random (Imoseyon leankernel)
.some GPU tweaks from CM including scale GPU from 128MHz to 400 (instead of 200 min now)
*****v004*****29 MAR*****
.build with Linaro 2014.03 toolchain optimized for cortex a15 by @Christopher83.. he is a beast :P
.build optimizations in makefile and arch/arm/makefile
.some fixes for improved battery and performance (overall efficiency)
.removed a lot of debugging (wasteful when there are no issues to debug :P)
.some fixes to acpuclock-krait
.slimBUS OC from my Joey kernel @ZeroInfinity and me
.workqueue fixes
.enabled advanced TCP congestion algorithms (westwood is stock)
Joey Kernel for the HTC One GSM Google Play Edition 4.4.2
(depreciated)
RIP​
Linux 3.4.15+
For android 4.4.2 Google Edition ROMs.. (kk Sense too )
Based off HTC 3.62.1700.1 sources​
Features:
Compiled with latest Linaro 4.8.3 2013.11 toolchain
Baby version of Kangaroo Kernel. Contains most patches and features found in main Kangaroo Kernel.
Better performance and battery savings due to the use of more efficient algorithms and optimized code
Focused on battery life: freqs from 384-1566MHz capped for battery and optimimal performance in normal use.
Power management tweaks
Slightly undervolted: -50mV for PVS 0,1,2,3,4 and -25mV for PVS 5,6,7 (acpuclock identical to kangaroo)
Undervolted L2 clocks
Optimized configuration: stripped of wasteful debug and things that are useless on android phones
Optimized with -Ofast
Compressed with LZ4
CPU stats
CPU freqs cut down to stop confusing the governors etc: there is no point having freqs that are so similar when it behaves the same anyway
Faux sound control
Faux display color control!!!
Support for Multi ROM
Scheduler improvements
Random/entropy tweaks
Linaro power efficient workqueues
Linaro topology
Advanced TCP algorithms (westwood default)
ARM/VFP optimizations
Support for kernel mode NEON
Screen wake options: S2W/DT2W/L2M/L2W etc (flar2 implementation, s2s only is default)
Updated cpuidle
Updated freezer functions
Improvements to ondemand governor
USB fast charge
User voltage control
Optimized deadline IO sched: default
LED blink buttons
GPU improvements, underclocked with freqs 128, 200, 320, 400MHz
Backports from CAF/upstream
SLIMbus OC (me/ZeroInfinity)
SLIMbus updated from upstream
USB fast charge
Upstream updates to SLUB allocator
CPU governors (italics for default): ondemand, performance, conservative, msm-dcvs, smartmax, userspace
io sched: no-op, deadline, cfq
Click to expand...
Click to collapse
See OP for installation and disclaimers
Download latest version:
JoeyKernelGPE_30jan.zip - 8.68 MB
^WARNING THIS IS OLDDDDDDD
For GPE 4.4.2
but working on 4.4 Sense ROMs
*Please do not re upload without permission, I like to count downloads*
Sauce: https://github.com/poondog/joey-m7-GPE/
Changelog: Joey Kernel (4.4.2 GPE)
Code:
*****30 Jan*****
.sync and fsync enhancements
.disable some more debugging
.support LZ4 compression (thx @Synthetic.Nightmare for helping)
.compress zimage by LZ4, results in 9.7mb zimage (large lol) Should boot faster if my theories are correct, because decompression time is a lot less?
.ARM/VFP optimizations, see source for details. Support kernel mode NEON and enabled NEON optimized crypto routines (myfluxi)
.synaptics_3k: Do not hardcode pressure & width (Synthetic.Nightmare)
.synaptics_3k: Improve touchscreen sensitivity (Synthetic.Nightmare)
*****24 Jan*****
.fixup ASYNC_FSYNC declaration in kconfig (if anyone else is compiling.. thx tripnraver)
.backport sched updates from 3.4.77+
.arm: Allow CPU-supported unaligned accesses
.makefile: remove -marm flag, see if it makes any difference in smoothness
.switch back to in kernel thermal control, from tripnraver kernel (CAF/trip)
.made thermal throttle at around 55 degrees, to keep phone cool (its summer here) and battery lasts longer.
.introduce WHEATLEY governor. Ondemand is still default
.add ROW io scheduling algorithm, tune for our devices
.mm: optimizations to io
.mm: optimize Kernel Samepage Merging(KSM)
.mm: Squash a few SLUB commits from CAF
*****19 Jan*****
.undervolt L2 clocks by default by 50mV for better battery
.smoothed out BUS scaling (now uses 266MHz step instead of jumping from 200 -->400
.increase max/reduce min buffer size for playback of audio
.revert to stock thermal. Tweaked it a bit to throttle earlier.. HTC thermal is quite good on battery
.random/entropy tweaks (for better performance and battery, credits imoseyon/anarkia1976)
.fixed sleeping issue.. now it is better than before
*****16 Jan*****
.audio: remove handset pop-noise
.DRIVERS: CPUFREQ: revert to stock GPE ondemand governor, then tweaked it a bit again
.DEFCONFIG: compress with xz (smaller kernel/ faster boot)
.SLIMbus: updates from upstream/CAF
.ASoC: msm: qdsp6: Fix pop noise seen with touch tone during playback
.ALSA: PCM - Add PCM creation API for internal PCMs.
.SELINUX: update to 3.4.76+
.Set default 2w to dt2w, s2s, pocket detect, increase default vibration
.sched: set sched_mc_power_savings to 2 (try to restrict things to one core)
.import crpalmer/flar2 thermal. Thanks to them. Tweaked for battery and extra extra cool.
.remove some debug
.writeback updates from upstream
.remove faux color interface, was troublesome.. some new commits in his repo they don't boot for me :)
Audio, selinux, slimbus, thermal update mostly.. if you were hoping for something else sorry :)
*****8 Jan*****
.dt2w: sync with flar2 kernel, more sensitive, limit to bottom part etc (flar)
.attempted fix for wifi wakelocks (working for me in testing, what was minimal is even less now)
*****2 Jan*****
.Overclocked slimbus to max. This is as high as it goes, its 100% stable in testing with no negative impacts. Brings improvements all around for audio playback etc (thx to @ZeroInfinity and me :icon_bigg)
.Some generic function optimizations (for faster kernel, better battery.. overall improvements to the code, from CAF)
.Add USB Fast Charge (Flar, Motley, Chad Froebel for original mod)
*****28 Dec*****
.optimizations to cacheflush function (minimal under the hood stuff)
.updates to lowmemorykiller from Linux 3.10+ (syntheticnightmare)
*****24 Dec*****
.updated Linaro workqueues (battery savings)
.integrated linaro power efficient workqueues deep in the kernel (battery savings)
.color control
.patch to 3.4.15
.compile -Ofast
.selinux updates
.use Ste98B tunables for smartmax (thx mate)
*****17 Dec*****
.Initial release
...
Slightly undervolted: -50mV for PVS 0,1,2,3,4 and -25mV for PVS 5,6,7
...
Click to expand...
Click to collapse
Hey, mate, great work!
But, if I'm not mistaking, there is no PVS 7 and 0 is worst, whist 6 is best, so undervolting should be other way around?
Excuse the question, but it is because the majority of call recording applications are to pay, why developer no supports this feature in HTC one?
Enviado desde mi HTC One mediante Tapatalk
donmarkoni said:
Hey, mate, great work!
But, if I'm not mistaking, there is no PVS 7 and 0 is worst, whist 6 is best, so undervolting should be other way around?
Click to expand...
Click to collapse
Cheers
Sorry that was a typo lol
Yes you're right but this is how it has been done:
Since the voltage tables are different for all PVS versions, PVS 0 having the most voltage and 6 the least, 0 can handle -50mV compared to stock and still use more voltage and be stable, while still having more voltage than 6. Pushing 6 to more than what I have already done is risky since it is so low already, on a mass scale and I don't think I will do it unless it is proven stable
edit: https://github.com/poondog/kangaroo-m7-MKII/blob/exp/arch/arm/mach-msm/acpuclock-8064.c
Lo_RaT_PeNaT said:
Excuse the question, but it is because the majority of call recording applications are to pay, why developer no supports this feature in HTC one?
Enviado desde mi HTC One mediante Tapatalk
Click to expand...
Click to collapse
Probably. Looking at his/her sources there are no references to the One. The newest is for mako (Nexus 4)
In my point of view, there is no point for a kernel dev (learning or experienced) to spend time including something (could take hours) just to make someone else's payday when they really did nothing for the One. I might look into it if there is a free version with One support. If not I may be creating bugs for the dev on an unsupported device
In other news, 11 Dec build is up. Enjoy, please leave comments!
poondog said:
Cheers
Sorry that was a typo lol
Yes you're right but this is how it has been done:
Since the voltage tables are different for all PVS versions, PVS 0 having the most voltage and 6 the least, 0 can handle -50mV compared to stock and still use more voltage and be stable, while still having more voltage than 6. Pushing 6 to more than what I have already done is risky since it is so low already, on a mass scale and I don't think I will do it unless it is proven stable
edit: https://github.com/poondog/kangaroo-m7-MKII/blob/exp/arch/arm/mach-msm/acpuclock-8064.c
...
Click to expand...
Click to collapse
Oh, yeah, you're right, I understand. I know of different voltages for different PVS, just didn't realized you did it that way. Thanks for clarification.
Cheers!
donmarkoni said:
Oh, yeah, you're right, I understand. I know of different voltages for different PVS, just didn't realized you did it that way. Thanks for clarification.
Cheers!
Click to expand...
Click to collapse
No problem! Enjoy the kernel
just trying it out
rohorubo said:
just trying it out
Click to expand...
Click to collapse
Winky face?
Hope you like it, its been a while in the making.. I thought of stuff for like 6 months and finally when sources were out for 3.62 it started
Been a development ongoing since then
Sent from my Nexus 7 using XDA Premium 4 mobile app
Nice to see u here
More awesome kernels for us!!
nice to see a kernel from down under any plans for a 4.4 kernel in the near future
Trying it out!
Sent from my HTC One using XDA Premium 4 mobile app
Woot! Trying and reporting it now!
Thanks for your work!
Sent from my Nexus 7 using Tapatalk
There will be a version for 4.4 GPe?
Inviato dal mio HTC One utilizzando Tapatalk
very smooth thx!
Sent from my HTC One using Tapatalk 2
I think I might make the trip back to 4.3 and give this a try. Thanks for sharing!
Sent from my HTC One using XDA Premium 4 mobile app
please post screenshots under trickster mod

[Kernel][Q] Helium kernel v63

Light and stable, Helium is here.
Disclaimer:
use this kernel at your own risk. Flashing it the wrong way may brick your device. I'm not responsible for any software/hardware damage.
Q&A thread
here.
Features:
v63 (November 20th, 2020)
built with -O3 optimizations & latest GCC 10 cross-compiler
minor configuration cleanup
old releases:
v62 (September 6th, 2020)
rebased on top of Adrian's latest sources
support for Android Q/LineageOS 17.1
dropped support for previous Android releases
built with the latest GCC 10
minor tweaks and kernel bug fixes
v61 (September 9th, 2019)
rebased on top of Adrian's latest source
built with the newest GCC 8 toolchain from Linaro
many debugging options have been disabled (this might free some RAM)
memory management backports from Linux 3.8
some misc. improvements and fixes
installer updated to AnyKernel3, excellent (IMO) default setup
v60 (December 4th, 2018)
Android Pie support
built with GCC 8.2
many source updates and security fixes
a few ZRAM tweaks
v59 (September 30th)
many f2fs backports
important fixes and improvements for the maple I/O scheduler
minor misc. updates & fixes
v58.1 (September 1st)
fixed 2nd CPU policy bug
v58 (August 30th)
built using the GNU gold linker
a few small performance improvements
impulse is the default CPU governor
bricked hotplug forces both cores to be online when the screen is on
CPU and memory bandwidth overclocking
rebased on top of Adrian's latest sources
v57 (May 28th)
cpufreq stack backported from Linux 3.10
minor misc. updates/fixes
v56.4 (May 7th)
built with an updated GCC 7.3 Linaro toolchain
some updates for sdcardfs
up-to-date with Adrian's kernel
minor miscellaneous fixes
v56.3 (April 25th)
some security fixes
some generic tweaks, improvements, optimizations and updates
v56.2 (April 6th)
a must-read: post #2
f2fs driver backported from Linux 3.10
build with an updated compiler & a few additional optimizations
v56.1 (April 4th)
a must-read: post #2
added support for the 20180331 and future builds of LineageOS 15.1
built with QUVNTNM-TC (GCC 7-based toolchain) (thanks to @sudokamikaze)
minor updates, fixes and improvements
v56 (4th March)
fixed installation on LineageOS 15.1
tweaked interactive cpufreq governor
zen-tune tweaks for the task scheduler
faster boot
sdcardfs & f2fs improvements
several security fixes
v55 (31st January)
AutoSMP hotplug is back, and it should be stable now!
workqueue stack backported from Linux 3.10
random number generator driver backported from Linux 4.1
a few updates & improvements for some libraries
improved kgsl performance (more info here)
v54.2 (24th December)
built with more compiler optimizations
fix for I/O errors
minor adjustments for memory management and maple I/O scheduler
v54.1 (21st December)
directIO patches (they should improve filesystem speeds)
fixes for some CVEs
additional GCC optimizations
added a toggle for CRC checks
patches by Nvidia to improve battery life
v54 (4th December)
built with -O3 optimizations
new installer: BootBridge by Adrian + AnyKernel2 by osm0sis
cpu_input_boost duration set to 100 ms by default
Efficient unaligned memory access enabled
lmk/memory management updates & fixes
UKSM removed, legacy KSM restored
random number generator improvements
many miscellaneous updates and fixes (CVEs and such)
v53 (6th November)
do not flash on Oreo 11062017
task scheduler backports, PELT scheduler enabled
random number generator backported from Linux 3.16
f2fs updates
cpu_input_boost added (replaces CAF CPU boost)
UKSM v0.1.2.3 optimized for ARM devices & enabled by default
maple I/O scheduler tweaks, enabled by default
AutoSMP hotplug removed, added bricked hotplug
lower GPU idle frequency
minor miscellaneous updates and fixes
v52 (24th October)
once again, the kernel has been re-built from scratch
built with GCC 5 and proper optimizations for Krait CPUs
I/O schedulers: added maple
TCP congestion control algorithms: westwood set as default
hundreds of updates and backports, mostly related to the kernel's task scheduler
memutils optimizations for Krait CPUs
power-efficient workqueues
Gentle Fair Sleepers tunable
v51 (9th October)
built from scratch on top of Adrian's kernel for Oreo with the following changes:
compiled with gcc-5-based UBER Toolchain
optimizations for Krait CPUs (thanks to the Linaro team)
memutils optimizations for Krait CPUs
CPU governors: intellidemand
CPU hotplugs: AutoSMP (enabled by default)
I/O schedulers: maple (enabled by default)
CAF's cpu-boost removed, replaced by Sultanxda's cpu_input_boost
power-efficient workqueues
Gentle Fair Sleepers tunable
miscellaneous source updates
v50 (21st September)
f2fs stability fixes
v49 (16th September)
f2fs updates
voltage adjustments
v48.1 (13th September)
built with GCC 5
fixes for SoDs
v48 (11th September)
CPU voltage control removed (unstable and broken)
CPU frequency table cleaned and polished
added cpu_input_boost by Sultanxda (it replaces the default cpu-boost driver)
random number generator driver backported from Linux 3.16
v47 (15th August)
further improved CPU L2 frequency table
SONY logo bug fixed
minor improvements and fixes
CPU voltage control
f2fs updated to Linux 3.4-4.4-rc1
v46.1 (7th August)
built with an updated GCC 7 UBER Toolchain and different optimizations
impulse CPU governor
source updates/improvements
v46 (20th July)
completely renewed code base!
up-to-date with Adrian's kernel: fully compatible with the latest light effects
CPU hotplugs: AutoSMP
I/O schedulers: maple, fiops, row, bfq, cfq, noop, deadline, test
Gentle Fair Sleepers/Arch Power toggles
all TCP scheduling algorithms are available (westwood is enabled by default)
power-efficient workqueues
PELT task scheduling enabled
CPU overclocking and underclocking
GPU overclocking
hundreds of source updates and backports (related to: f2fs, kernel/sched/, workqueues, locking, timekeeping...)
async fsync is supported on both ext4 and f2fs
v45.2 (28th June)
security fixes
v45.1 (12th June)
security fixes and backports
v45 (4th June)
real CPU underclocking (137,1 MHz)
security fixes and backports
follow these instructions carefully: init.d script editing
v44.1 (30th May)
source updates
built with updated UBER GCC 7 Toolchain
less freezes?
v44 (May 26th)
backported Codel network scheduling algorithm
lots of rcu and kernel/sched/ backports
built with an ad-hoc set of optimization flags
random number generator driver backported from Linux 3.19
v43 (May 22nd)
state_notifier updated with support for PM suspension
lots of source updates
cache dropping and laptop mode enabled by default
v42.3 (19th May)
source updates
v42.2 (7th May)
a few security fixes
v42.1 (6th May)
built with updated and optimized GCC 7 UBER toolchain
sdcardfs updates
v42 (5th May)
build with GCC 7 and the UBER Toolchain
source updates
v41 (2nd May)
cpu-boost updates
added cpu_power driver
new CPU governor: umbrella_core
source updates
fsync toggle
some optimization flags removed
v40 (1st May)
built with updated UBER 6.x toolchain
source updates
new PM suspension method
v39.1 (18th April)
f2fs updates
v39 (9th April)
sdcardfs support. Must read: about sdcardfs
readded zzmoove CPU governor
v38.1 (8th April)
if AFH shows "No mirror found", click here: Helium v38.1 on Google Drive
built with my optimized GCC 6.3 UBER toolchain
tweaked CPU L2 frequency table
new i/o scheduler: maple
v38 (6th April)
Makefile optimizations
lots of kernel backports and fixes
v37.3 (3rd April)
source updates
download link: Helium v37.3
v37.2 (21st March)
re-added msm_limiter
source updates
v37 (12th March)
source rolled back to pre-v30.1 status (minus some updates & fixes added by me)
added some of the most important features of v31 and v34
all the latest updates from Adrian
built with Linaro GCC 6.3.1 toolchain
v36 (28th February)
built with Linaro GCC 6.3 toolchain
source updates
v35 (11th February)
built with updated UBER Toolchain & different optimization flags
source updates and code cleanup (leftovers from the removal of CPUQuiet))
v34.2 (28th January)
build with updated and optimized toolchain
v34.1 (20th January)
source updates
v34 (15th January)
FauxSound updated to v3.8 (ported from the msm8974 version)
Powersuspend removed
alucard and intelliplug hotplugs have been updated
v32.1, v32.2, v33 (11th January)
v32.1 is waste
v32.2 is good but it's the same of v31 + optimizations
v33 should be same as v32 but with good performance
v32 (10th January)
built with updated & optimized UBER Toolchain and proper GCC flags
major improvements to: state notifier, MSM hotplug,
minor source updates and optimizations
new CPU governor: elementalx
async fsync enabled for f2fs
v31 (31st December)
built with updated and optimized UBER Toolchain
gcc flags have been reworked
v30.3 (21st December)
built with updated UBER Toolchain (for gcc 6.2)
source updates
v30.2 (12th December)
source updates
v30.1 (8th December)
source updates (fix for tethering issue in 7.1.1)
built with updated UBER toolchain
v30 (28th November)
built with up-to-date UBER GCC 6 toolchain and more optimization flags
new installer, based on the old anykernel, now completely fixed and with lots of improvements - big thanks to @Andreus94
source updates + GCC 6 warnings have been fixed
new CPU govs: HYPER, darkness, ondemandplus
tweaked some I/O scheds
CPU boots at 1728 MHz even on old ROM's
v29 (16th November)
source updates: drivers/cpufreq/ backported from Linux 3.10
source updates: kernel/workqueue backported from Linux 3.10
source updates: drivers/char/random backported from Linux 3.16
CPU governors: all removed, only impulse plus the stock ones are present
CPU hotplugs: updated bricked_hotlpug and AutoSMP, added Thunderplug
suspension drivers: added State Notifier
build with updated UBER Toolchain and full -O2 optimizations
CPU hotplugs: removed CPUQuiet by Nvidia
installer: switched to the kernel injector
msm_limiter: massive driver update
source updates: updates to UKSM, kernel/sched/ and tons of other smaller updates
v28.2 (1st November)
Linux 3.4.113
v28.1 (29th October)
cpu input boost enabled by default
source updates
v28 (23rd October)
improved AnyKernel installation template
f2fs up-to-date with upstream
added cpu_input_boost by Sultanxda
GPU power saving tweaks
GPU undervolting
source updates and cleanups
v27 (17th October)
download here
CPU L2/bus overclock
exFAT driver updated
GPU now idles at 128 MHz
v26 (1st October)
load-based cpu boost
big code cleanup
v25.5 (22nd September)
source fixes and optimizations
v25.4 (10th September)
dynamic fsync removed (it was unstable and unneeded))
v25.3 (7th September)
built with GCC 6.2 + updated & optimized UBER Toolchain
source updates
v25.2 (31st August)
rebuilt using Adrian current defconfig
optimizations for non-rotational storage devices
switched to gzip compression (faster and doesn't cause problems)
v25.1 (23rd August)
source updates
v25 (16th August)
readded 400 MHz frequency for GPU
UKSM auto or manual handling
source updates
v24 (12th August)
built with updated and optimized UBER Toolchain
added quickwakeup
memcopy optimizations for Cortex-A15
source updates
v23.2, 23.3, 23.4 (29th July, 3rd August, 4th August)
source updates
v23.1 (25th July)
source updates
v23 (21st July)
many source updates
CPUQuiet governors added: userspace, balanced, runnable_threads
CPU boost disabled
CPU overclock disabled at boot (no more overheating when Optimizing apps)
v22.1 (14th July)
LMK commit revert (fix for the bad RAM management of v22)
v22 (13th July)
built with updated UBER Toolchain
lots of source updates
CPUQuiet (by Nvidia): a sort of hotplug that helps us to save power
sysfs interface to control the Gentle Fair Sleepers, Arch Power and the CRC check
2 new CPU govs: zzmoove v1.0b8 and Barry Allen
improved Kcal calibration
added asynchronous fsync and dynamic fsync
UKSM v0.1.2.3 optimized for ARM arch
entropy tweaks
thanks to: faux123, neobuddy89, airlessproject, Nvidia, franciscofranco, ZaneZam, Yank555.lu, BrateloSlava, dorimanx
v21.1 (4th July)
Adrian's fix for reboot from recovery
various fixes related to msm_limiter and the installation script
v21 (2nd July)
built with an updated UBER Toolchain
many kernel source updates
USB fast charge replaced with USB fast charge v2
the script_persist thing has been fixed (I think it had never worked until now)
v20.2 (29th June)
kernel source updates
v20.1 (28th June)
up-to-date with CM's kernel
v20 (22nd June)
built with an updated UBER toolchain
switched from Anykernel by @nosedive to the injector by @Adrian DC (fixes never-ending "unpacking kernel")
2D GPU overclock
v19.1 (14th June)
up-to-date with our CM kernel
avoid overwriting your custom init.d script: more details here
v19
built with updated and optimized UBER toolchain
improved GPU OC
AutoSMP CPU hotplug
disabled CRC check (speeds up I/O)
a few small tweaks
v18.2 & v18.3
GPU OC improvements
up-to-date with Adrian's kernel
v18.1
improved GPU OC
v18
stable CPU OC up to 1998 MHz
improved GPU OC (we need to run benchmarks to confirm)
all of the latest source updates
v17
up-to-date with CM's sources
GPU OC (480 MHz)
v16
Do not enable CPU overclock!
built with updated and optimized UBER Toolchain
ZRAM bug fixed
v15.2
up-to-date with Adrian's kernel (today's commits bring a big f2fs update)
CPU overclock and underclock has been removed. I'll rewrite OC from scratch soon.
v15.1
up-to-date with Adrian's kernel source
v15
added alucard hotplug, adapted for a dual core CPU
up-to-date with Adrian's sources
v14.1
up-to-date with Adrian's source
v14
greatly improved CPU frequency table
Adrian's latest updates
v13
MultiROM support
AOSP ROMs should be supported
CPU overclock sleep of death fixed
v12.3
source updates
v12.2
built with GCC 6.1 & my custom UBER Toolchain, built with Cortex A15 optimizations
you can use your device as a USB keyboard (https://github.com/pelya/android-keyboard-gadget)
v12.1
up-to-date with Adrian's source
vfs cache pressure set to 100
v12
up-to-date with Adrian's work
important vfs fix by Linus Torvalds (fixes slow performance in a certain scenario - more details on github)
powersuspend controls some parameters of memory management
Nvidia CPU relaxation code (even though it seems that it's useless to us)
v11
built with GCC 6 and the very latest UBER Toolchain
interactive governor readded
up-to-date with Adrian's latest source
v10
Linux 3.4.112
reverted to GCC 5.3 (to fix camcorder)
slim CPU governor
power efficient workqueues implemented in other places
v9
built with a cleaner defconfig
v8
Build with GCC 6.0 and the latest UBER toolchain
Gentle Fair Sleepers are disabled
Network speed tweaks (see Github)
Optimized ARM RWSEM algorithm
all improvements listed amongst v7's features
CPU governor when booting from charging mode is set in a more elegant way
v7
beta 4 - only for CM13 0423
power efficient workqueues implemented in even more places
modulelessness
updates to the zen I/O scheduler
beta 3
CPU underclock to 189MHz
power-efficient workqueues implemented in various places
new I/O scheduler: tripndroid
bricked hotplug update, intelliplug tweaks for our device
governors tweaked for our device
torch fixed!
bug fixes & some flags removed from Makefile
CM13 only (for now)
More info & download: v7 beta 3
v6.2
a small number of source updates
v6.1
source updates & Linux 3.4.111
build freshly from v5 to trash all the issues and lags
v6.0
loads of source updates, fixes etc.
new CPU governors: dancedance, xperience, lionheart, intellidemand2, interactive
optimized libs
v5.0
full changelog here: Helium v5 changelog
v4.7
source updates
not 100% stable according to Adrian (in my case, it's working well)
v4.6
CPU underclocking
v4.5
smoother (finally!)
no underclocking (it will be readded very soon)
v4.3
CPU underclock to 281 MHz
experimental Android M support
earlysuspend removed
fixed slow speed & long boot after booting from offline charger
if you have slower performance, stick to v4.2
v4.2
interactive governor (use it at your own risk, will probably cause reboots)
CPU 1458 MHz bug fixed
v4.0
Motorola memcpy enhancements for Krait CPUs
some source updates
[*]CPU 1458 MHz bug (only on certain devices)! Caution!
super smooth!
v3.4
a couple of source updates
yankactive (it's bugged and it will be removed) and smartmax CPU governors
memcpy optimizations and auto hotplug disabled for testing purposes
v3.3
latest source updates
NTFS read/write support
SELinux is enforcing
v3.2
latest touchscreen fixes by @AdrianDC
auto hotplug added
v3.1
incall touchscreen bug fixed (big thanks to @Adrian DC)
Motorola memcpy optimizations (faster copy to memory)
CPU frequency table finally fixed
msm_mpdecision fixed
dynamic fsync temporarily removed
other source updates
v3
CPU overclock up to 1,944 GHz
new CPU governor: impulse
greatly improved CPU-boost (now it has got more options & new features)
dynamic fsync v1.5
build with the latest UBER toolchain & GCC 5.2
v2.2
SELinux is permissive (for M)
source updates and f2fs updates (thanks to @Mrcl1450 and @Adrian DC)
clean frequency table
UKSM updated to v0.1.2.3
bricked hotplug
v2.1
all the TCP congestion control algorithms are available
WLAN source updates
initial build for M
v2
FauxSound v3.6
debugging info removed from modules (now they're smaller)
CPU governors: interactive removed, bioshock, wheatley, ondemandplus, intellidemand2 added
I/O schedulers: added fifo, vr, zen
intellithermal
intelliplug
ZRAM for now removed (it caused kernel panics)
UKSM 0.1.2.1
v1
Linux 3.4.110 + other device-specific tweaks (thanks to @Mrcl1450 & @Adrian DC)
built with GCC 5.2.1 and UBER Toolchain + various optimization flags
CPU undervolting
sioplus I/O scheduler
ZRAM & zsmalloc backported from Linux 3.14
KSM (kernel samepage merging)
inbuilt frandom support
swap support
USB fast charging
Debugging
/proc/kmsg is a file that stores all the kernel messages from the very first seconds of the boot process. A copy of that file isn't always needed to fix a bug, but since I've explained how to get one I don't even remember how many times, I'll write here the needed steps:
1. open a terminal on your phone
2. run the following commands:
Code:
su
dmesg > /sdcard/helium.log
3. the log will be stored in helium.log.
If the issue caused a reboot, step number 2 changes:
Code:
su
cp /proc/last_kmsg /sdcard/helium.log
Downloads
Latest version: Helium kernel v63 for Android Q
All versions: Helium kernel on AndroidFileHost
Remember to always check the second post before installing, to see if there are warnings/known bugs!
Thanks to:
@Adrian DC
@daedroza
@Mrcl1450
@bbedward
@pec0ra
@DooMLoRD
@nosedive
@dorimanx
@faux123
@Sultanxda
@osm0sis
@GalaticStryder
@Andreus94
@neobuddy89
@nikhil18
@Unusual Man
@Onawt
and all the authors of the hundreds of github commits in Helium's repo!
XDA:DevDB Information
Helium kernel, Kernel for the Sony Xperia SP
Contributors
Tomoms
Source Code: http://github.com/Tomoms/helium_kernel/tree/lineage-16.0
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 63.0
Stable Release Date: 2020-11-20
Created 2015-11-17
Last Updated 2020-11-20
bugs as of today:
2nd CPU is stuck @ 1998 MHz Fixed in v58.1
Reserved
init.d script editing - not required as of v46
Important: your modifications to the script will be lost:
when you update the ROM, if you use an AOSP-based ROM;
never (changes are persistent), if you use a CM-based ROM.
the init.d script provided with the kernel (01helium) contains some lines that enable or disable certain features. Remember that the script is written in shell language, so the lines starting with # are ignored.
In the script you'll find useful tips to edit it correctly.
so this is good for only lollipop voor the moment ?
bubbeld said:
so this is good for only lollipop voor the moment ?
Click to expand...
Click to collapse
Yes. There will be a Marshmallow build this weekend.
Uninstall with Tangerine uninstaller?
XenonHD _r18
Was 29628 with Tangerine 9.2 . Also had to limit max freq. to 1674. Have reset problem with max freq.
Resurrection Remix 5.5.8 not booting.
That's great because I didn't like tangerine
varioventus said:
Resurrection Remix 5.5.8 not booting.
Click to expand...
Click to collapse
What goes wrong? At which point does the phone get stuck? I also got a booting problem once today, after the SONY logo I got a black screen and then the SONY logo again, but after a few seconds the phone booted. So wait a few minutes before stating that the phone doesn't boot and tell me what do you see.
On CM12.1 Official 20151116 with Helium v1 I can't use toggle buton to see my last used apps
With T10.2 this working.
I don't know how but this is strange.
Sorry for my bad English
It boots all the way up to the home screen, in the same second the screen goes fuzzy and the device reboots. It's also plagued with that weird 1.4 Ghz issue that affects so many X-SP devices, I didn't managed to boot into KA, but it's obvious because it takes ages to do the apps optimization after cache/dalvik cleanup.
With last temasek v18.5 freq CPU goes to 1728Mhz. All buttons works ok and performance is similar than stock cm kernel.
F**** weirds things of Xperia Sp!!
Alvichone said:
With last temasek v18.5 freq CPU goes to 1728Mhz. All buttons works ok and performance is similar than stock cm kernel.
F**** weirds things of Xperia Sp!!
Click to expand...
Click to collapse
Oh yes, that's true. The 1.4 Ghz issue it's a device issue, rather than a kernel or a ROM one. I've erase and format everything, including internal storage. Clean install with ROMs that were reported as working fine with Tangerine.... still not able to go above 1.4 Ghz.
varioventus said:
Oh yes, that's true. The 1.4 Ghz issue it's a device issue, rather than a kernel or a ROM one. I've erase and format everything, including internal storage. Clean install with ROMs that were reported as working fine with Tangerine.... still not able to go above 1.4 Ghz.
Click to expand...
Click to collapse
That's pretty serious. Try to go back to stock ROM.
Tomoms said:
That's pretty serious. Try to go back to stock ROM.
Click to expand...
Click to collapse
It's weird, because I'm not the only one with this problem and it works just fine with stock kernel or Tangerine up to 9.2.
I'll go back to stock tonight and then return to LP, hope to report "fixed". Thanks, Tomoms.:highfive:
varioventus said:
It's weird, because I'm not the only one with this problem and it works just fine with stock kernel or Tangerine up to 9.2.
I'll go back to stock tonight and then return to LP, hope to report "fixed". Thanks, Tomoms.:highfive:
Click to expand...
Click to collapse
A few advices: when you come back to LP, if the issue is fixed on stock ROM and stock kernel, flash the LP ROM you want, flash gapps/xposed/any other thing you need but non Tangerine nor Helium. Then boot, install Trickster MOD Kernel Settigs and check if frequencies are OK. If it's OK, do not install Kernel Adiutor. Then flash Helium, do not wipe anything. Reboot and check.
And... what's the reason for not able to go above 1674 Mhz on antutu? If I benchmark on 1674+++ phone resets itself while testing processor. Hardware issue? Normally can use 1900++ , but on antutu... damn...
Nope. If it had been a device issue, i would have it on stock kernel as well. I don't have it on stock or on tangerine 9.2...
Sent from my Xperia SP using XDA Free mobile app
Tomoms said:
A few advices: when you come back to LP, if the issue is fixed on stock ROM and stock kernel, flash the LP ROM you want, flash gapps/xposed/any other thing you need but non Tangerine nor Helium. Then boot, install Trickster MOD Kernel Settigs and check if frequencies are OK. If it's OK, do not install Kernel Adiutor. Then flash Helium, do not wipe anything. Reboot and check.
Click to expand...
Click to collapse
Done that - NOT working.
Installed stock 4.3, than erased and format everything, I even removed the SD-card. Flashed latest CM 12.1, no gapps. Trickster - everything OK, 1.7 Ghz. Then I've installed Tangerine 11.1 - max. 1458 Mhz :crying: Uninstalled 11.1 and installed 10.2 - still not going above 1.4 Ghz I rest my case, good luck with Helium.

[KERNEL] [July 06] [3.10.107] Vegito 6.04/7.02 (Vibe K5/K5 Plus)

Vegito Kernel for Lenovo Vibe K5/K5 Plus
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.*/
Features:
Insecured
adb runnable as root
init.d support
Upgraded to latest Linux version 3.10.107
Now powered by AROMA Installer.
Built Using UBERTC- 4.9 Aarch64 Toolchain along with optimizations like GCC optimization for cortex-a53 ,O3 & Graphite flags.
ThunderPlug - A Dynamic Hotplug Driver by @varun.chitre15 - Takes down all seven cores when phone goes to sleep leading to significant battery savings
Dynamic Fsync - A driver originally written by faux123- Disables Fsync when phone is being used causing significant IO boost.
Added Adreno idler GPU Alogrithm - An efficient workaround for msm-adreno-tz's overheads. Developed by @arter97
Disabled Gentle fair sleepers
F2FS Support ( Import from Motorola Source 7.0 Nougat )
Enabled arch power
Automatic busybox installation
Compatible with systemless root
KSM ( Kernel Sample Merging ) enabled
Uses live Ramdisk patching during flashing, so need not worry about ROMs on which you are flashing on.
Added Double Tap to Wake and Sweep2Wake
Added sound control
Added simple GPU Algorithm - An add-on for MSM-Adreno TZ GPU Governor. Developed by @faux123.
KCAL advanced color control [V2](RGB, Saturation, Value, Contrast, Hue)
CIFS support
zSwap support - A Virtual compressed memory pool - Can be used as a swapping devices for extra RAM.
Reduced idle power consumption
Wakelocks blocked by default thanks to @franciscofranco
Vibration Intensity Control: Let’s you adjust the intensity at which your phone vibrates
IOScheduler
block: Added Sio IOScheduler
block: Added FIOPS IOScheduler
Additional IOSchedulers: BFQ v7r8(recommended)
Governors enabled: ondemand, interactive:
Add sysinterface for GENTLE_FAIR_SLEEPERS [toggle switch]
Frandom driver- Fast Kernel Number Generator.
Kexec Hardboot Supported
Performance enhancements
Added USB fast charge
Introducing Intelli_thermal - A new thermal protection mechanism
Support for CRC-Toggle (Disabled by Default in Misc. TAB).
Improved square root algorithm.
Disabled some debugging
Relax thermal throttling values
Disabled MMC CRC check for extra 30% boost in IO
Support for ARCH_Power to reduce Power-Consumption and increase Battery-Life.
Support for the new PowerSuspend algorithm.
Optimized Console FrameBuffer for upto 70% increase in Performance.
Support for Larch Power feature (should improve Battery-Life).
Powersuspend mode
Added bunches of TCP Congestion Algorithm
Downloads
Vegito 6.4 ( Stock based )
Vegito 7.2 ( Lineage based )
Note:
Users can also update my kernel within 1 click by using my own app
Free Version
Paid Version
Google+ Community (Beta testing and releases)
https://plus.google.com/u/0/communities/107248021342303532678
Important:
Do not flash this over other custom kernels!
You should only flash Vegito over the kernel that came with your ROM
Reporting bugs
Grab a logcat, and a console ramoops (if random rebooting) or a dmesg (any other issues) right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
See how to submit a bug report for the appropriate place to report your bug
INSTRUCTIONS
Just flash the zip in twrp and you are good to go!
XDA:DevDB Information
Vegito kernel for lenovo vibe k5, Kernel for the Android General
Contributors
Dreamstar
Source Code: https://github.com/nikitsharma15/Vegito_vibe_k5
Kernel Special Features:
Version Information
Status: Beta
Created 2016-12-04
Last Updated 2017-10-31
Changelog
Code:
Vegito 5.5 - 27/March/17
Power efficient workqueue patches (squashed).
Synced with LineageOS
Cpufreq: interactive: reduce timer with screen off
Reduced RQ Lock-Contention for upto 0.7% increase in Performance
Kernel: reduce overheat
Revert ThunderCharge Control – A driver to control the charging current rate developed by [user=4309448]@varun.chitre15[/user]
Revert MSM_Hotplug driver it contain some problem o.O
Fix simple_ondemand crashing
Disable More Debugging
Possibly More I Missed.)
Vegito 5.2 - 05/Feb/17
Code:
ThunderCharge Control – A driver to control the charging current rate developed by [user=4309448]@varun.chitre15[/user]
Fix simple_ondemand crashing
Disable More Debugging
Possibly More I Missed.)
Vegito 5.0 - 24/Jan/17
Code:
MSM Hotplug - a custom qualcomm based hotplugging driver by @myflux
F2FS Support ( Import from Motorola Source 7.0 Nougat )
Compatible with systemless root
KSM ( Kernel Sample Merging )
Vegito 4.2 - 20/Dec/16
Code:
Kexec Hardboot Supported [Exp]
Performance enhancements
Other Improvements
Vegito 4.0 - 10/Dec/16
Code:
Added Intelli_thermal v3.0 by [user=3332811]@faux123[/user]
Frandom driver- Fast Kernel Number Generator.
Added USB fast charge
Fsync On/Off switch.
Added Sweep2Wake && Sweep2Sleep
Added simple GPU Algorithm - An add-on for MSM-Adreno TZ GPU Governor. Developed by [user=3332811]@faux123[/user].
Uses live Ramdisk patching during flashing, so need not worry about ROMs on which you are flashing on.
Additional IOSchedulers: BFQ v7r8(recommended)
Built Using UBERTC- 4.9 Aarch64 Toolchain along with optimizations like GCC optimization for cortex-a53 ,O3 & Graphite flags.
Vegito 3.0 - 06/Dec/16
Code:
-Added Double Tap to Wake
-Added Faux sound control 3.6
-ThunderPlug - A Dynamic Hotplug Driver by [user=4309448]@varun.chitre15[/user] - Takes down all seven cores when phone goes to sleep leading to significant battery savings..
-Vibration Intensity Control: Let�s you adjust the intensity at which your phone vibrates
-Additional IOSchedulers: BFQ v7r8(recommended),FIOPS
-Disabled MMC CRC check for extra 30% boost in IO
-Support for ARCH_Power to reduce Power-Consumption and increase Battery-Life.
-Support for the new PowerSuspend algorithm.
-Optimized Console FrameBuffer for upto 70% increase in Performance.
-Support for Larch Power feature (should improve Battery-Life).
-Disabled some debugging
Vegito 2.0 - 05/Dec/16
Code:
Added Dynamic fsync ( Thanks to faux123 )
Added Adreno idler GPU Alogrithm
Enabled arch power
[B]Added some IOScheduler
[/B]Sio IOScheduler
Fiops IOScheduler
Tripndroid IOScheduler
fifo IOScheduler
[B]Added Governors:
[/B]Alucard
Nightmare
SmartassV2
Bioshock
Lionheart
CPU Boost
Powersuspend mode
[B]Added bunches of TCP Congestion Algorithm
[/B]
Vegito 1.0
Code:
- Initial Release
Reserved
Announcement
Introducing my own app to update my kernels within 1 click.
Get it from play store- Vegito Kernel Updater
Please Rate or give your feedback for this app.
Does it work on k5 plus a6020l36? Is it possible to have 2 ring tones to wake up in the next version of your kernel? Thanks for the work.
Wow, Thank you very much for this Kernel, Works With the plus Variant or only the normal?
Rodrigo Rodrigues said:
Wow, Thank you very much for this Kernel, Works With the plus Variant or only the normal?
Click to expand...
Click to collapse
I am not sure but you can give it a try
V2.0 Update
Changelog
Added Dynamic fsync ( Thanks to faux123 )
Added Adreno idler GPU Alogrithm
Enabled arch power
Added Bunches of IOScheduler
Added Bunches of Governors:
Powersuspend mode
Added bunches of TCP Congestion Algorithm
Disabled some debugging.
Download link on first page as usual
Please add double tap to wake
Hey @Dreamstar, you have plans of making this Kernel for Marshmallow and Nougat? And any chance we can get DT2W feature? Thank you very much for your work
Rodrigo Rodrigues said:
Hey @Dreamstar, you have plans of making this Kernel for Marshmallow and Nougat? And any chance we can get DT2W feature? Thank you very much for your work
Click to expand...
Click to collapse
Yes possibly in next update
Wow, a version for Nougat and marshmallow too? @Dreamstar
I just tested and it works in the a6020l36 Brazil variant.
I very much hope that in version 3.0 come DT2W.
Thank you for the work.
@akashi23
Thanks for confirmation,
@Dreamstar
In there any downside of using this kernel on plus(snapdragon 616) version.
DreamStar
I realized something, after a while the cpu governors and schedulers change by default again, same thing with cpu frequencies if changed, I realized that a lot of times also do not appear cpu governors in the kernel managers.
Sorry for bad English.
Please also add USB fast charging. Thanks
And if there's any chance make kernel working on custom ROM too.
And also try to add under clocking/over clocking voltage, CPU.
V3.0 Update
Changelog
Added Double Tap to Wake
Added Faux sound control 3.6
ThunderPlug - A Dynamic Hotplug Driver by @varun.chitre15 - Takes down all seven cores when phone goes to sleep leading to significant battery savings..
Vibration Intensity Control: Let's you adjust the intensity at which your phone vibrates
Additional IOSchedulers: BFQ v7r8(recommended),FIOPS
Disabled MMC CRC check for extra 30% boost in IO
Support for ARCH_Power to reduce Power-Consumption and increase Battery-Life.
Support for the new PowerSuspend algorithm.
Optimized Console FrameBuffer for upto 70% increase in Performance.
Support for Larch Power feature (should improve Battery-Life).
Disabled some debugging
Download link on first page as usual
Dreamstar Thanks for the new kernel version, I'm going to test now.
Dreamstar will i be able to test the kernel in cm 12.1 or it really only works on rom stock?
Please @Dreamstar make this Kernel for Custom ROM's...
Thank you very much for your work
@Dreamstar
Thanks, man! for this kernel. Finally for someone who wants customization on stock ROM.
But I am currently moving to CM 13, So if possible make kernel Compatible with CM 13, please.
My device is Lenovo vibe k5 plus (snapdragon 616) Indian variant.
Thanks again.
Good work keep it up

[KERNEL] [CLARK] [LOS 7.1.2] HandBag Kernel - v2.3.5

HandBag Kernel
"Every single feature" Held together with duct tape and magic
Development for the Moto X Style/Pure seems a little quiet, so I decided to patch together my own kernel. I think this is the perfect chance to learn git and the build system for android. Feature requests are welcome!
Disclaimer
Please note that this is my first kernel and that stability and battery life are not guaranteed. Actually, nothing is guaranteed. I am not responsible for bricked devices or lost data. Flash at your own risk.
You will most definitely have to adjust the default settings. Expect lags and fun stuff.
Also note that this kernel is meant for LineageOS based roms. Tested and running daily on XT1575.
Features
Based on Lineage OS source
Additional CPU Governors (Alucard, ElementalX, Despair, Chill, IntelliActive, Lionheart, BioShock, BluActive, Wheatley, ZZMove, Impulse, Relaxed)
Additional I/O Schedulers (Deadline, NOOP, Maple, Row FIOPS, SIO, SIOPlus, TripNDroid, VR, Zen)
Additional Hotplug Drivers (Alucard Hotplug, Autosmp, Bricked Hotplug, MSM Hotplug, Lazyplug) Causes laggy wakeup
Additional TCP congestion algorithms (Default westwood)
KSM/uKSM
Overclock/Underclock
Voltage control
Wake Gestures by flar2
Fsync, Inputboost, Touchboost, and Wakelock Toggles
Kexec Not needed yet
Ofast Actually Os for now (Kernel gets too big and there's no decompression for aarch64)
UBER Toolchain 6.0 Linero Toolchain 6.3.1
Dynamic Fsync
Adreno Idler/Boost
AnyKernel2 Installer
Backlight Dimmer
Color control (KCal)
To-Do
I dunno, you tell me.
Installation
Flash in recovery
Note: AnyKernel2 will use your existing ramdisk. It's recommended to flash over the kernel that came with your rom or a previous version of my kernel. Refer to AnyKernel2 for restoring after a bad flash.
Downloads
See Downloads Tab under thread title: https://forum.xda-developers.com/devdb/project/?id=20678#downloads
There are two branches:
msm - Uses the stock msm_core_ctl to handle hotplugging
hotplugs - Uses custom hotplugging solutions (Currently only bricked_hotplug)
Special Thanks and Credits
flar2
franciscofranco
nathanchance
frap129
dirtyhank
showp1984
engstk
faux123
neobuddy89
ZaneZam
yank555-lu
HashBang173
varunchitre15
Cl3Kener (UBERTC)
osm0sis (AnyKernel2)
trashy111 (For build server hardware)
... and various other helpful developers!
If I missed someone who should be on here,
please feel free to let me know.
XDA:DevDB Information
HandBag Kernel, Kernel for the Moto X Style (Pure)
Contributors
XDleader555
Source Code: https://github.com/XDleader555/HandBag-Kernel-Clark
Kernel Special Features:
Version Information
Status: Testing
Created 2017-05-15
Last Updated 2018-02-27
Changelog
02/27/18 - v2.3.5
handbag-msm:
Added more overclock values
Separated voltage control to upper and lower bounds for fine tuning
Merged Security commit for WPA exploit
07/31/17 - v2.3.3
handbag-msm:
Forgot to re-enable msm_core_ctl hotplug (oops)
Older Changelogs:
07/30/17 - v2.3.2
Add voltage control
07/28/17 - 4:59PM - msm branch - v2.3.1
Bring back alucard governor
Bring back power efficient workqueue
Bring back Dynamic fsync
Bring back uKSM and patches
Add LCD Notifier
Disable trace_printk
Disable sched_hrtick
07/28/17 - 12:39AM - msm branch - v2.3
Re-enable msm_performance (Default Kernel Hotplugging)
Update Zen Tune from 4.5 to 4.10
Enable Partial Resume
Revert Stack Protection from Strong to Normal
Add Software CRC toggle
Revert Alucard, Autosmp, bricked, msm_hotplug, lazyplug Hotplugs
Revert Dynamic fsync
Revert powersuspend and state_notifier
Temporarily Revert power efficient work queues
Revert KEXEC patches until someone complains
Temporarily Revert uKSM
A lot of other various cherry picks reverted
06/23/17 - 3:23PM - v2.2
Add Alucard Hotplug and Autosmp Hotplug
Add Alucard CPU Governor
Set some cpu defaults on boot from frap129's electron kernel
Cherry-pick f2fs patch to avoid syncing kernel panics
Increase thermal threshold from 46C to 60C. Light load happens around 55C, so we're always throttling
Disable thermal core control (You can re-enable it if you like)
Dynamic Fsync
Add CIFS support
REVERT: wrong vibe control commit
06/15/17 - 11:41PM - v2.1
REVERT: Merge F2FS changes up to May 20th 2016
REVERT: Small updates to msm mdss
REVERT: Switched to bricked_hotplug as default
REVERT: Show cpu voltages (Not actually useful)
REVERT: Update linux from 3.10.102 -> 3.10.105
REVERT: zRam, zSwap, zMalloc Updates
REVERT: linux/random backport from linux 4.1.40
REVERT: Those various "optimizations"
REVERT: Anything relating to state_notifier and system_wq
Bring back PowerSuspend. Why fix what ain't broke.
Add patch to avoid f2fs kernel panic/bootloop when downgrading/upgrading (sidegrading?) to v2.1
05/31/17 - 12:50AM - v2.0
Merge F2FS changes up to May 20th 2016
Small updates to msm mdss
Switched to bricked_hotplug as default
This should really be 1.9.1, but I already made it 2.0. Too lazy to fix ¯\_(ツ)_/¯
05/30/17 - 1:37AM - v1.9
Switch toolchains from UberTC 6.0 to Linero 6.3.1
Add relaxed cpu governor
Show cpu voltages (No editing unfortunately)
Slimbus overclock
UNREVERT: zSwap, zMalloc Updates
Removed powersuspend (not needed)
linux/random backport from linux 4.1.40
Various optimizations I probably missed
05/26/17 - 3:38AM - v1.8
UNREVERT: Update linux from 3.10.102 -> 3.10.105
UNREVERT: zRam updates
disabled zSwap (I don't think anyone uses this, correct me if I'm wrong)
converted msm_hotplug to use state_notifier
converted bricked_hotplug to use state_notifier
05/25/17 - 8:14PM - v1.7.1
Fixed overclock frequency not showing
Fixed enabling/disabling of state_notifier in tuning apps (turns off hotplug suspend)
converted msm_hotplug to use state_notifier I need to touch up on C
05/24/17 - 10:16PM - v1.7
Cleaned source code tree
REVERT: Update linux from 3.10.102 -> 3.10.105
REVERT: Moved msm_hotplug to system_wq
REVERT: Interactive CPU governor pulled from Pixel source
REVERT: zRam, zSwap, zMalloc Updates
REVERT: Overclocking/Underclocking (Just temporary, ran out of time)
05/24/17 - 3:16AM - v1.6
Update linux from 3.10.102 -> 3.10.105
Added Lazyplug
Moved msm_hotplug to system_wq
Avoided boot issue caused by msm_hotplug by setting Lazyplug as default. (msm_hotplug still works if set by user)
05/22/17 - 2:37AM - v1.5
Wake Gestures: Fixed touchscreen not responding when enabling gestures with the screen off
Wake Gestures: Fixed touchscreen not responding in ambient display
Wake Gestures: Phone call detection
Set msm_hotplug as default
Tweaked msm_hotplug defaults slightly
Increased default idle frequency for bricked_hotplug to 600mhz
05/21/17 - 7:38AM - v1.4
Added Wake Gestures by flar2 (DT2W, S2W, S2S)
Added uKSM
Interactive CPU governor pulled from Pixel source (Seems to have fixed our crashing issue)
Added Despair and Chill CPU governors
Power efficient work queue mode (wq_power_saving)
KEXEC
Updated zmalloc and zram
Adreno Boost
Overclocking/Underclocking
05/17/17 - 7:50PM - v1.3
Removed msm_core_ctl to prevent conflicts with bricked hotplug
Renamed bricked_hotplug to prevent confusion
Added msm_hotplug v2.4
Fixed touchboost for those who actually like that
Added color calibration (KCAL)
05/17/17 - 5:57AM - v1.2
Added Governors (IntelliActive, Lionheart, BioShock, BluActive, Wheatley, ZZMove, Impulse)
Added Adreno Idler
Small optimizations
Disabled Touchboost by default
Added Kernel PowerSuspend
05/16/17 - 12:33PM
Fixed backlight dimmer
Removed userspace governor
05/15/17 - 3:29AM
Initial Release
It's highly recommended that you apply your own settings with a kernel manager until I add bootup scripts
Frequently Asked Questions
Q: How do I logcat?
A: You'll need adb or root
Through adb:
Code:
adb logcat -b all -d > %userprofile%/Desktop/logcat.txt
Through your phone:
Download a terminal app
Code:
su
logcat -b all -d > /sdcard/logcat.txt
It'll take about 10 seconds for the command to work. Preferably catch the log as soon as you boot.
Upload the logcat found at the output directory as an attachment.
Q: Where is hybrid mode for powersuspend?
A: https://forum.xda-developers.com/showpost.php?p=72405702&postcount=92
Q: Which Roms work with this kernel? Does it work on CAF Roms?
A: Lineage OS. No guarantees for other Roms, but users have reported that it works on:
Mokee OS
Resurrection Remix
Dirty Unicorns (CAF?)
AICP
CrDroid
Q: What app should I use to tune this kernel?
A: I prefer EX Kernel Manager, but Kernel Adiutor works well too.
Q: Can we get X feature?
A: Working on it.
Nice
Will give it a try!
Great work
---------- Post added at 12:39 PM ---------- Previous post was at 12:38 PM ----------
aakashverma0007 said:
Nice
Will give it a try!
Click to expand...
Click to collapse
Waiting for your new video on this kernal's reviews
Nice work! I was gonna do something similar but I never had time. If I do I might do it for caf-aosp roms. I will flash this kernel with resurrection remix and give some feedback! Very nice job
confirmed working on Mokee OS nightly for 20170514
This won't work with something like CypherOS which is AOSP based right?
you can try... backup your boot.img in recovery, if anything goes wrong you can always recover from that
Confirmed working on Resurrection remix latest weekly.
Bro please include KCAL support if possible. The piece I have does not render good colors. It would be awesome then. Thanks for your efforts.
Bwangster12 said:
This won't work with something like CypherOS which is AOSP based right?
Click to expand...
Click to collapse
I get massive bluetooth battery drain on CypherOS. Trying a different kernel MAY be something that could fix that?
Bwangster12 said:
I get massive bluetooth battery drain on CypherOS. Trying a different kernel MAY be something that could fix that?
Click to expand...
Click to collapse
The Bluetooth drain is just cypher os itself. Other people said they had that problem even on they're Google plus page. Just use a different room like crdroid- resurrection remix, or just plain old lineage, or mokee. You got some nice options.
Curlyfry2121 said:
The Bluetooth drain is just cypher os itself. Other people said they had that problem even on they're Google plus page. Just use a different room like crdroid- resurrection remix, or just plain old lineage, or mokee. You got some nice options.
Click to expand...
Click to collapse
First of all... I feel like no one has recognized the BT drain on CypherOS... so thank you for that. Trying other roms is what I've been doing. I'm currently on Tesla and like it a lot... but have desparately wanted a rom thats as similar to a Google Pixel as possible. Pure Nexus hasn't been updated to Nougat and CypherOS seemed to be what I wanted. Things like Lineage, Tesla, RR, Dirty Unicorns all have their own things. At least with Tesla, I installed Substratum and pixel themes... just not exactly like the Pixel-ness of CypherOS.
Any plans for hotplugging? I'm not really requesting it just wondering what you have in store for the future.
Curlyfry2121 said:
Any plans for hotplugging? I'm not really requesting it just wondering what you have in store for the future.
Click to expand...
Click to collapse
I plan on packing in as many features as possible. Hotplugging is on the list after I get the CPU Governors and boot up scripts in.
Bwangster12 said:
I get massive bluetooth battery drain on CypherOS. Trying a different kernel MAY be something that could fix that?
Click to expand...
Click to collapse
You can try disabling Bluetooth scanning under location setting or disable one of the relevant wakelocks using my kernel with your favorite kernel manager. (I prefer EX Kernel Manager)
XDleader555 said:
I plan on packing in as many features as possible. Hotplugging is on the list after I get the CPU Governors and boot up scripts in.
You can try disabling Bluetooth scanning under location setting or disable one of the relevant wakelocks using my kernel with your favorite kernel manager. (I prefer EX Kernel Manager)
Click to expand...
Click to collapse
Nice, will test any new versions released as soon as possible. Keep up the good work ?
Works on dirty unicorns, which is a caf based rom, so I'm surprised this is working and there's nothing really wrong except in ex kernel manager and I tried kernel auditor I enable backlight dimmer and when I turn the screen off and back on the brightness is much higher than what I have it set as. Anyone else have that?
Same thing on Resurrection remix
XDleader555 said:
I plan on packing in as many features as possible. Hotplugging is on the list after I get the CPU Governors and boot up scripts in.
You can try disabling Bluetooth scanning under location setting or disable one of the relevant wakelocks using my kernel with your favorite kernel manager. (I prefer EX Kernel Manager)
Click to expand...
Click to collapse
YAY thanks! really and truly this phone needs better hotplug to manage the battery better.
Curlyfry2121 said:
Works on dirty unicorns, which is a caf based rom, so I'm surprised this is working and there's nothing really wrong except in ex kernel manager and I tried kernel auditor I enable backlight dimmer and when I turn the screen off and back on the brightness is much higher than what I have it set as. Anyone else have that?
Same thing on Resurrection remix
Click to expand...
Click to collapse
I haven't cherry picked the code for backlight-dimmer yet. Currently having some issues with getting Ofast to work. I'll probably keep Ofast disabled and work on adding features.
EDIT:
Apparently, I did cherry pick it. I'll look into it.
EDIT2:
Fixed, seems like flar2 did something different for the Nexus 5x backlight. Check the downloads tab for the most recent kernel.

Categories

Resources