[KERNEL] *Matr1x* v14.5 | Lollipop - 5.0/5.0.1 - Nexus 4 Original Android Development

Hey guys,
This is the Lollipop version of the Matr1x kernel and it works on 5.0/5.0.1.
Features:
Code:
- Based on Linux kernel version 3.4.0
- Built with GCC 4.8 from Google
- Voltage Control Interface (by faux123)
- Gamma Control Interface (by faux123) with PA tweaked colors and bundi22 iPhone 5 color preset
- FauxSound (by faux123)
- Speaker amp control (by faux123)
- Simple GPU governor (by faux123)
- Dynamic fsync Control (by faux123)
- Accuracy Filter Control (by stratosk)
- GPU OC to 487.5 Mhz
- UV by 75mV for all frequencies and cores
- SIO, ROW, and FIOPS I/O Schedulers
- Wheatley governor (by Ezekeel)
- Thermald and mpdecision removed
- 192 Mhz frequency for better battery when idle
- Fast Charge (thanks to franciscofranco)
- BLX (Originally by Ezekeel and ported to Nexus 4 by me)
- Double tap to wake and touch wake support (by stratosk)
- ARM hotplug driver (by _thalamus) with min_online_cpus value (by me) and max_online_cpus value (thanks to _motley)
- MultiROM support (by Tasssadar)
- USB OTG "usb-host" mode support (by ziddey)
- MSM Sleeper Mod (Max screen off frequency) (by flar2)
- Various performance tweaks
Changelog:
v1.0 Initial release: stock 3.4.0 kernel with added deadline I/O scheduler tweak.
v1.5 Added overclocking capabilities to 1.728 Ghz.
v2.0 Removed OC capabilities, added GPU OC to 450 Mhz, 100mV UV across the board, ARM CPU Topology (which improves the efficiency of multi core devices), and various performance tweaks.
v2.5 Added SIO I/O Scheduler, touch screen improvement tweaks (see http://forum.xda-developers.com/showthread.php?t=2027476 and extra tweak by faux123), UV'ed all cores and frequencies by an extra 50mV for a -150mV overall, and switched to the AnyKernel template. (thanks _motley!)
v3.0 Reverted the extra 50mV of UV that caused instability and added faux123's voltage control interface for manual voltage adjustments.
v3.5 Added the reduced msm_hsic_host wakelock tweak, ROW I/O Scheduler, removed thermald to allow kernel to manage the heat using its own drivers, some ondemand governor tweaks, tweaked ARM CPU topology, and lowered the minimum voltage for voltage control interface (test your phone's limits).
v4.0 Reduced the minimum voltage for voltage control interface even more (test your phone's limits), added the CPU Voltage table for "faster" binned chips (still -100mV UV), added Fast Charge, added a 288 Mhz CPU step for better battery when idle, and added the BLX mod (see here: http://forum.xda-developers.com/showthread.php?t=1257497).
v4.5 Added the proper reduced msm_hsic_host wakelock tweak, fixed the "faster" CPU table (users who have "faster" chips should have no trouble now), added showp1984's Sweep2Wake, and partially reverted a display tweak from Google (this should provide a bit better display color than stock).
v5.0 Added Sweep2Wake gestures by faux123 with the touch events patch (no more frozen touch screens), switched to the GCC 4.7 compiler from Google, removed mpdecision and added _thalamus hotplug driver, and added the min_online_cpus module capability for the hotplug driver.
v5.5 Removed the 450 Mhz GPU OC and bumped it up to 487.5 Mhz, added thermal tweaks (to manage phone temperature) by franciscofranco, updated the interactive governor and ROW I/O scheduler to the latest version, and tweaked the auto hotplug driver for better battery life.
v6.0 Fixed the msm_hsic_host wakelock once and for all (You may still see it but it shouldn't be running that much), added PGM support (thanks to bponury), and added faux123's gamma control interface.
v6.5 Tweaked auto_hotplug to try to further improve battery life, removed Sweep2Wake (attempt to solve any touchscreen freezing issues), updated ROW I/O Scheduler, removed some CPU frequency steps (only kept the useful steps), added the FIOPS I/O Scheduler, and added the PA tweaked display colors.
v7.0 Merged the Android 4.2.2 kernel code, added the final PA colors from molesarecoming, added _motley's generic color control interface to allow easier scripting, and _motley's tweak to allow color changes to be "refreshed" automatically.
v7.5 Fixed the PGM touch control issue, added faux123's speaker amp control mod, added franciscofranco's accuracy filter control mod, updated the ROW I/O scheduler to the latest version, and added several ondemand governor update patches.
v8.0 Added fix for sporadic WiFi drops, added faux123's FauxSound mod, removed sweep2wake completely (attempt to fix power button issue), and added data drop fix (by faux123).
v8.5 Added the max_online_cpus mod by _motley (You can make your device single core, dual core, etc.), added a 192 Mhz CPU step (This should help with battery), and added the Wheatley governor by Ezekeel (#23 on http://www.alliance-rom.com/community/wiki/governors-explained/).
v9.0 Added USB OTG by ziddey, updated the FauxSound to v2.1, added the idle drain patches, updated the ROW I/O Scheduler to the latest version, added Touch Wake by stratosk, and got rid of the touch_boost errors in the logcat.
v9.5 Removed Touch Wake by stratosk and brought back Touch Control by bponury, removed USB OTG, and added MIUI support.
v10.0 Fixed the screen on lag, added some performance patches, added faux123's Simple GPU governor, and fixed the bluetooth issues some users were having.
v10.5 Added support for Android 4.3 (JSS15J).
v11.0 Switched to the Anykernel zip template, updated Fauxsound to the latest driver, added faux123's dynamic sync control mod, and added support for bponury's touch control.
v11.5 Added support for Android 4.4.
v12.0 Merged mako 4.4.1 kernel source, added s2w fixes from showp1984, and added the FIOPS I/O scheduler.
v12.5 Added Tasssadar's kexec patch (for multirom), added ziddey's USB OTG (http://m.androidcentral.com/android-advanced-usb-otg-nexus-4), put in bundi22's iPhone 5 color preset by default, and updated Fauxsound to the latest driver.
v13.0 Fixed the bundi22 iPhone 5 colors to match the real preset, added flar2's MSM sleeper mod (max screen off frequency), updated the Interactive governor to the latest version, and updated the ROW I/O scheduler to the latest version.
v13.5 Reverted the Interactive governor updates due to issues (back to v12.5 Interactive governor), added mrg666's Linux 3.6.11 workqueue backport patches in order to improve hotplug efficiency, and added CyanogenMod based ROM support (CAF).
v14.0 Added support for Android 4.4.3, raised voltages across the board by 25mV (this will help those with slower CPU bins), and added stratosk's double tap to wake and touch wake mods.
v14.5 Added support for Android Lollipop and updated the FauxSound driver.
Link to Lollipop version:
http://matr1xkernels.com/
Link to source: https://github.com/mathkid95/linux_lg_lollipop

What's up guys... this is the first release of the Matr1x kernel for N4. I am starting off real simple (I set deadline as the default I/O scheduler and tweaked some values)
There is much more to come!
Also, I will start posting the kernels at www.matr1xkernels.com soon... for now please use the mediafire link. You can flash this in recovery.

Spammer.

Where's the punchline good jerb math kid

brainmaster said:
Spammer.
Click to expand...
Click to collapse
Just so everyone else doesn't have to view op's profile, this is not a spammer and he's pretty well established on xda. Wasted a few seconds of my life trying to verify that...

Wow great to see you here man!
Sent from my Nexus 4 using Tapatalk 2

mathkid95 said:
Hey guys,
This is the JB version of the Matr1x kernel and it works on 4.2.
Features:
Code:
- Based on Linux kernel version 3.4.0
Changelog:
v1.0 Initial release
Links to JB version:
http://goo.gl/zVlm4
Link to source: https://github.com/mathkid95/linux_lg_jb.git
Click to expand...
Click to collapse
Wow look whoz here.. I'm waiting for my N4 and to have your work on it..
Loved the Matrix kernel on my nexus s.. Now it's the turn for N4
Always appreciate your work Math kid

Hung0702 said:
Just so everyone else doesn't have to view op's profile, this is not a slammer and he's pretty well established on xda. Wasted a few seconds of my life trying to verify that...
Click to expand...
Click to collapse
I confirm he's done a wonderful job since Nexus S, and i'm pleased to see him there now
Btw, flashed this and it is very nice so far : snappy and smooth. We'll see about battery life...

Ok kid. I'm awake. I'm awake, I'll flash it now. Hit me up later today so we can discuss the future of this kernel lol. Happy Thanksgiving everyone
Sent from my Nexus 4 using xda premium

Happy Thanksgiving everyone !!!

Got it flashed. Very smooth. According to system tuner only 2 cores are being used though.
I'm running a super top secret test rom and I was getting flickering unlocking the screen. It's gone after flashing this.
Sent from my Nexus 4 using xda premium

Great to see you here MK! Looking forward to entering the Matr1x with my N4.
Sent from my Nexus 4 using xda premium

Just flashed. Smooth so far. Will report back if any issues. Thanks!

Hey Mikey mind sharing super top secret test ROM
Happy Thanksgiving To All!!!!
Sent from my Nexus 4 using xda app-developers app

mikeyinid said:
Got it flashed. Very smooth. According to system tuner only 2 cores are being used though.
Click to expand...
Click to collapse
Wooooooooahhhh! What? Two cores only?
The ONDEMAND governor either shuts down two of them, or it has Hotplug enabled, or there's just some kind of a mistake. I don't know, might be a bit of a noobish comment.
Can anyone solve this for us?

DonJuan89 said:
Wooooooooahhhh! What? Two cores only?
The ONDEMAND governor either shuts down two of them, or it has Hotplug enabled, or there's just some kind of a mistake. I don't know, might be a bit of a noobish comment.
Can anyone solve this for us?
Click to expand...
Click to collapse
I wouldn't worry about it. I'm sure it's running as intended.
Sent from my Nexus 4 using xda premium
---------- Post added at 05:49 AM ---------- Previous post was at 05:48 AM ----------
buddahlou said:
Hey Mikey mind sharing super top secret test ROM
Happy Thanksgiving To All!!!!
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Haha. Sorry I can't. It'll be available to all very soon. It's worth the wait, trust me.
Sent from my Nexus 4 using xda premium

Yea seems like it been checking the tweets
Sent from my Nexus 4 using xda app-developers app

You can check if all 4 cpu's are used properly by starting Geekbench and than have a look. While geekbench is running, all 4 cpu's should be used.

Here we go! Love me some Matr1x. Accidentally fell asleep last night...sorry kid. Happy Thanksgiving!
Sent from my Nexus 4 using XDA Premium HD app

Hey mathkid, nice to see you here. Will have a look at this and report back
Gesendet von meinem Nexus 10 mit Tapatalk 2

Related

[KERNEL][AOSP][02/22/13] Ermahgerd Kernel [LINARO]

ERMAHGERD! KERNEL!
Build 13.02.22​
Welcome to my latest learning project. This is a result of me wanting to better understand how kernels are put together. I'm dipping my toes a bit at first, but I'm going to be doing quite a few different things as time goes on, and it's only going to get more complex and I get more comfortable with the process. Successful things will stick around, unsuccessful or little used features may get squashed out over time to keep things as lean as possible.
Features:
Compiled with Linaro 13.01 toolchain and -O3 optimizations
Upstreamed to Linux 3.0.63
Undervoltable - Use SVS compatible CPU control app
Kernel mpdecision enhancements by showp1984
ARM optimized multi-core topology scheduler by the Linaro team
New I/O Schedulers:
ROW - Read Over Write - A new I/O scheduler designed from the ground up specifically for flash based mobile devices. It is designed to give priority to reads without starving writes, but does not implement any fairness. (default scheduler)
Zen - noop with a touch of deadline. Aims for simplicity. Implements deadlines for fairness and gives priority to synchronous requests. No merging or reordering of operations is performed.
SIO - Simple IO - Another mix of noop and deadline. Implements deadlines for fairness and performs minimal merging. No priority or reordering of operations are performed.
Fast charge support - Allows any charger to be seen as AC. Requires app to toggle fast charge mode
zRam (compcache) support with frontswap - Allows creation of swap space using a portion of compressed RAM, and uses free uncompressed RAM when possible to minimize I/O operations
New CPU Governors
Lionheart - A performance tuned variant of conservative
Intellidemand - Intelligent ondemand. Scales relative to GPU load
Wheatley - Governor with a great sleep profile. Perfect for users with lots of idle time
All drivers integrated into kernel
Single installer for ICS AOSP and JB pmem AOSP versions
Loads of memory and I/O optimizations for a smoother overall experience
See changelog history for even more features
To enable zRam after installation, go into a terminal and execute "zramenable" as root. It will activate immediately and reactivate on every boot. To disable it, run "zramdisable" as root. It will remove the boot scripts and immediately disable zRam and recover the RAM used. Note to ROM developers: if you include this kernel in your ROM, these files will need to be extracted from this installer and included in yours if you wish to include zRam support.
Fast charge support requires the use of a compatible fast charge toggle app, such as this or this.
Thanks go to:
Snuzzo: My kernel mentor, for pointing me in the right direction to get started, the great beginners tips, and for letting me use the installer.
con247: For the scripts used in the installer.
dsb9938: For letting me pick some things from his kernel
Chad0989: For the AOSP love that has made me love this phone.
IAmTheOneTheyCallNeo: For being Neo.​
Changelog
build 13.02.22
Upstreamed to Linux 3.0.66
Implemented iHateWebOS's video tearing fix
Discontinued ION version
build 13.02.13
Upstreamed to Linux 3.0.63
Implemented multi-core topology scheduler
Implemented optimized SHA-1 routines
Implemented optimized checksum routines
Implemented optimized idle handlers
Implemented optimized cache cleaning
Implemented ARM specific compile time optimizations
Implemented dynamic writeback throttling (backported from Linux 3.1)
Increased default SD readahead
Disabled GENTLE_FAIR_SLEEPER
Reduced CPU transition latency
Fixed possible bugs with memory compaction and proximity sensor initialization
Old Changelogs
build 13.02.05
Built with Linaro 13.01
Implemented optimzied memcopy
Implemented optimized string functions
Implemented optimized R/W semaphore functions
Prevent aliased requests from starving other I/O
Asynchronous I/O optimizations
Various I/O and memory tweaks
build 13.01.30
Upstreamed to Linux 3.0.61
Addded Zen I/O scheduler
Addded optimized CRC32 algorithm
Enabled memory compaction when killing processes
Increased the RNG thresholds a bit
Addded frontswap support
Removed powersave governor
build 13.01.25
Compiled with Linaro 12.12 toolchain
Added SIO I/O scheduler
Removed CFQ I/O scheduler - CFQ is the worst possible option to use with flash storage, and removing it trims the size of the kernel down a little
build 13.01.23
Add new governors
Wheatley - sleeps very deeply. Great as a screen off governor
Intellidemand - Intelligent ondemand. Acts like ondemand under high GPU load, but more conservatively when under a low GPU load.
Add dynamic fsync control - Automatically disables fsync when screen is on, then flushes caches and resumes normal operation when screen turns off
Increase available bandwidth at lower clock speeds - Should increase responsiveness when underclocking or running a conservative style governor (such as lionheart)
Increase RNG (random number generator) thresholds - Provides the benefits of the entropy generation tweak without requiring a background service
Add JIT (just in time) compiler for packet filters - better network performance
CPU frequency scaling fixes - sometimes, the cpu would forget it's clock speeds
OOM driver updates
build 13.01.16
Added ROW I/O scheduler
Made ROW default I/O scheduler
Made Lionheart default CPU governor
Removed InteractiveX2 CPU governor
mpdecision update to slightly increase efficiency of idle_freq checks
build 13.01.14
mpdecision updates and fixes - Check out the MP-Decision tab in Android Tuner CPU Settings
idle_freq (Plug freq in Android Tuner) added
cpu1 stays offline unless cpu0 is over idle_freq
once online, cpu1 remains online until it is below idle_freq
Other mpdecision rules still honored (the new idle_freq rules do not force the cpu on or off unless it also meets other requirements)
User controllable voltage settings - use SVS comptible CPU control app (such as Android Tuner) to control
Color scheme updated in Aroma Installer. The first screen is now readable.
build 13.01.12
Added zRam swap support
To enable, run "zramenable" from a terminal as root
To disable, run "zramdisable" from a terminal as root
Added fast charge support
Single unified installer for all 3 kernels - one download for any AOSP
build 13.01.11
Initial release
Merged Linux kernel code to version 3.0.53
Integrated all drivers into kernel (eliminate external modules)
Added Lionheart governor
Added InteractiveX2 governor
Github info
Source for this project is available at https://github.com/shrike1978/ermahgerd_kernel_vigor
Sent you pull request #1:
Swap partition support
Sent from my HTC Rezound using Tapatalk 2
Ermahgerd I must flash back to an aosp rom!! Very nice, glad you are advancing
Sent from my ADR6425LVW using xda app-developers app
Kernelnewbies.org is amazing for learning the way Linux kernel works. I'm enjoying learning kernel developing because the compile is so quick I can actually debug and test without much stress. Welcome to the kernel party! If you look through github you'll find a wealth of tweaks and improvements to port.
Sent from my ADR6425LVW using xda app-developers app
I'm gonna test it on the newest Horsey Face.
I may flash a aosp ROM just to use this. The name is boss...
Sent from my Rezound using Tapatalk 2
EPIC name!:good::good:
Whoa, nice strike.
Sent from my Nexus 7 using xda app-developers app
Tried multiple mirrors....download unsuccessful from my phone. I'll try again later or try from the pc
Sent from my ADR6425LVW using xda premium
Ermahgerd! Kerner!
Sent from my ADR6425LVW using Tapatalk 2
Going to start sending you pull requests of thing that mights be of use to you. Will have more coming your way later on.
Thanks for the new kernel! Fast charge?
Sent from my ADR6425LVW using Tapatalk 2
trainriderben said:
Thanks for the new kernel! Fast charge?
Sent from my ADR6425LVW using Tapatalk 2
Click to expand...
Click to collapse
Not yet, but in consideration.
Got it running. Seems nice so far! Thanks for all your aroma installer work. I'm still s-on and all your stuff makes it real simple for me!
Sent from my ADR6425LVW using xda premium
Jwezesa said:
Got it running. Seems nice so far! Thanks for all your aroma installer work. I'm still s-on and all your stuff makes it real simple for me!
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
Thanks to snuzzo for the installer :thumbup:
Sent from my ADR6425LVW using xda app-developers app
---------- Post added at 09:29 AM ---------- Previous post was at 09:20 AM ----------
Snuzzo said:
Going to start sending you pull requests of thing that mights be of use to you. Will have more coming your way later on.
Click to expand...
Click to collapse
I vawnt some too....
Sent from my ADR6425LVW using xda app-developers app
Jwezesa said:
Got it running. Seems nice so far! Thanks for all your aroma installer work. I'm still s-on and all your stuff makes it real simple for me!
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
iHateWebOS said:
Thanks to snuzzo for the installer :thumbup:
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
Yup. All credits for this installer go to Snuzzo (for the Aroma configs) and con247 (for the scripts).
Quite welcome guys.
OP updated with build 13.01.12
build 13.01.12
Added zRam swap support
To enable, run "zramenable" from a terminal as root
To disable, run "zramdisable" from a terminal as root
Added fast charge support
Single unified installer for all 3 kernels - one download for any AOSP
What does zram swap do? Is that like virtual memory?

| AHLAN-KERNEL | LINARO 4.9.1 -ofast (GRAPHITE) OPTIMIZATION | 4.4.2 | Sense & GE | AROMA INSTALLER | 10-05-2014 | HTC 4.20.1136.8 SOURCE

| AHLAN-KERNEL | LINARO 4.9.1 -ofast (GRAPHITE) OPTIMIZATION | 4.4.2 | Sense & GE | AROMA INSTALLER | 10-05-2014 | HTC 4.20.1136.8 SOURCE
Ahlan Kernel for Htc One​Kernel will be updated with major features and optimization​Flash kernel through any custom recovery​This kernel will not work in Sprint HTC One!​
Changelog & Features​
Build from HTC 4.4.2 (4.20.1136.8) source (thanks to htc for the source code), with Linaro optimization (thanks to Linaro for the toolchain)
Faux Sound Control (Thanks @faux123)
USB Force Fastcharge (Thanks @faux123)
User Voltage Control
simple GPU governor (Thanks @faux123)
Kexec Hardboot patch for Multirom Support (thanks @tassadar)
Smartmax governor (Thanks @maxwen)
Wheatley governor (Thanks @original DEV!)
S2W & S2S| DT2W | LOGO2MENU & LOGO2WAKE | (Thanks @flar2)
Kernel based thermal control (thanks @crpalmer)
mpdecision control
Color control (thanks @faux123)
Back Light Notification (thanks @tbalden)
Flick2wake/sleep, Pick2wake (thanks @tbalden)
CPU OC up to 2.0 Ghz (Can adjust in Aroma)
GPU OC up to 585 Mhz (Can adjust in Aroma)
Dynamic FSYNC
i/o Scheduler available (noop, deadline, row, cfq, fiops, sio)
Intellidemand Governor (Thanks @faux123)
Intelliactive Governor (Thanks @faux123)​
Kernel is for GE & Sense based Roms
Check Source for full changelog
My Source: Gitbucket​Always include kmsg for bug reports​
Downloads​Please hit the Thanks button if you download ahlan kernel!​Removed​Latest stable version: Ahlan v8.0.1 (Untested)​Latest beta version: Ahlan v6.0.0​Removed
Suggestions and feedback always welcome...
Thanks to all Linux developers, Google, Special thanks to my wife Anu for supporting me.
General Disclaimer​I'm not responsible if you brick your device.
You flash this Kernel at your own risk.​
If you like my work, consider donating to encourage my work! https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2TW63W63YNGB8
Important Notes:​
CPU Governors:
The default governor is ondemand. Also intellidemand, intelliactive, smartmax, wheatley, available. You can select your desired CPU Gov in Aroma.
CPUFreq Governor explained!
GPU Governors:
The default governor is ondemand. Also simple, Performance, available. You can select your desired GPU Gov in Aroma.
I/O Schedulers:
The default is row. Also noop, deadline, cfq, fiops, sio, available.
Sweep2Wake:
Sweep2wake (S2W) allows you to wake up your device by swiping your finger across the capacitive buttons from left to right. Swiping from right to left will put it back to sleep (sweep2sleep). The options are: sweep2wake/sweep2sleep, sweep2sleep only, and disabled. If you use apps such as Kernel Tuner, the sweep2sleep only option can be selected by choosing "On with backlight". You can edit /etc/ahlan.conf to change the setting on boot.
/sys/android_touch/sweep2wake
0=disabled
1=enable sweep2wake + sweep2sleep
2=enable sweep2sleep only
DoubleTap2Wake:
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping in the bottom inch or so of the screen, above the capacitive buttons. You can edit /etc/ahlan.conf to change the setting on boot.
/sys/android_touch/doubletap2wake
0=disabled
1=enable doubletap2wake
Pocket Detection:
Pocket detection protects against accidental wakes while S2W, DT2W are enabled and the phone is in your pocket. Pocket detection uses the proximity sensor. A few people have a problem with their proximity sensor that makes DT2W not work, so there is an option to disable pocket detection. You can edit /etc/ahlan.conf to change the setting on boot.
/sys/android_touch/pocket_detect
0=disabled
1=enable pocket detection
Button Light Notification:
With Button Light Notification (BLN), the capacitive buttons will blink on and off when you have a new notification. As soon as the screen comes on, BLN is canceled and the lights will no longer blink until you have another notification. Please note that if you have your screen set to turn on when a message arrives, you will not see the buttons blinking because once the screen comes on, the button light notification is canceled. You can edit /etc/ahlan.conf to change the setting on boot.
/sys/class/leds/button-backlight/blink_buttons
0 = disabled
1 = BLN enabled
Caution:
Kernel tweaking apps may interfere with the options selected in Aroma!​
XDA:DevDB Information
Ahlan Kernel for htc one (M7), Kernel for the HTC One
Contributors
soorajj, soorajj
Kernel Special Features: | KEXEC HARDBOOT | FAUX SOUND CONTROL | INTELLIACTIVE GOVERNOR | INTELLIDEMAND GOVERNOR | USB FASTCHARGE | SMARTMAX GOVERNOR | WHEATLEY GOVERNOR | SIMPLE GPU GOV | LOTS OF SAFE PERFORMANCE TWEAKS | LOTS OF SAFE POWER EFFICIENT TWEAKS |
Version Information
Status: Stable
Current Stable Version: 8.0.1
Stable Release Date: 2014-05-10
Current Beta Version: 6.0.0
Beta Release Date: 2014-03-11
Created 2014-03-09
Last Updated 2014-07-27
Reserved
Reserved
Good luck mate
Sent from my HTC One
Good luck!
I put it and doing very well. To see that this battery consumption
Enviado desde mi HTC One mediante Tapatalk
ukaram said:
Good luck!
I put it and doing very well. To see that this battery consumption
Enviado desde mi HTC One mediante Tapatalk
Click to expand...
Click to collapse
Battery consumption is amazing for me , I am on viperone Rom...
Sent from my HTC One using Tapatalk
Aosp please!!
Nice to see new kernel i give it a try!
how to control gamma? its not available on faux clock or trickstermod. thanks
BrockenX said:
how to control gamma? its not available on faux clock or trickstermod. thanks
Click to expand...
Click to collapse
Gamma control not yet available in ahlan kernel. If implemented that can be controlled via trickster mod
Sent from my HTC One using Tapatalk
soorajj said:
Gamma control not yet available in ahlan kernel. If implemented that can be controlled via trickster mod
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Sorry, did not see that it was a future feature,
READ:
Below features will be added in the future! (as in: Not build in yet!)
Voltage control
GPU OC
Faux Gamma Control
Faux Sound Control
USB force fastcharge
S2W, S2S & DT2W
Intelliactive Governor
Regards,
Phoenix007
BrockenX said:
how to control gamma? its not available on faux clock or trickstermod. thanks
Click to expand...
Click to collapse
I'm going to keep an eye on this. I've been torn between the 3 or four custom kernels for us but I can't decide because each one has different features but none have the combination I really want, but they are All good kernels.
@soorajj I WOULD REALLY APPRECIATE IT IF YOU COULD ADD THE FOLLOWING GOVERNORS AND CONSIDER RAISING THE BUS SPEED AT THE LOWER FREQUENCIES.
1) Smartmax (in teamseven and Joey kernels)
2) Preservative ( http://forum.xda-developers.com/showpost.php?p=50173462&postcount=662
3) here is a quote and link to the kernel thread about the bus frequencies I mentioned above:
The link to thread is http://forum.xda-developers.com/nexus-4/general/kernel-moob-t2549750 If you read down a few paragraphs in the OP you'll see a bullet point that says, " - offers reduced heat and better battery life through my original bus speed mod: higher bus speeds at lower CPU speeds allows max FPS at lower CPU speeds, and keeping the CPU speed low is the best way to save power. UV is not the way! (Established 'wisdom' debunked here ( http://forum.xda-developers.com/ne...enchmarks-t1478406/post22126792#post22126792 ) "
Sent from my unknown using Tapatalk
is recommend mpdecision off like stock kernel or on?
sent from my HTC One powered by ViperOne
Hopie said:
is recommend mpdecision off like stock kernel or on?
sent from my HTC One powered by ViperOne
Click to expand...
Click to collapse
Mpdecision on...
Sent from my HTC One using Tapatalk
Hopie said:
is recommend mpdecision off like stock kernel or on?
sent from my HTC One powered by ViperOne
Click to expand...
Click to collapse
hi, mpdecision on.
No response on possibly building for AOSP Roms as well?
dictionary said:
No response on possibly building for AOSP Roms as well?
Click to expand...
Click to collapse
I will see when I have time...
Sent from my HTC One using Tapatalk
Ahlan v5.01 beta is out
Ahlan v5.01 beta is out:
Changelog:
Added kexec patch
Added Intelliactive CPU governor
Added Simple GPU governor
Added GPU OC
Added Voltage Control
Added Faux Sound Control
Added USB Force Fastcharge
Removed some debugs
Code improvement for better battery life and performance without overclock & under volt!
Enjoy.....
@soorajj now we are talking, thanks
Sent from my Nexus 7 v2013 using Tapatalk 4

[Kernel] Vindicator [5.1.1] [G920/G925] [COJ2] [R5]

Vindicator Kernel
Supports F/I/S/K/L/T/W8 variants of 920 AND 925 devices
Intro:
This kernel was built to appeal to users who want something thats trimmed down as much as possible, yet still adds nice features that arent considered bloat. I spent a lot of time optimizing it and plan on spending several more hours just on optimizations. This kernel is also built with significant amounts of upstream code merged in, making it what many would deem a hybrid kernel. All credit goes to the real hard workers coming up with original ideas like Franco, Imoseyon, Ktoonsez, g.lewarne, etc. I hope you like it and I won't be offended if you hate it. All ideas are welcome and I'll try to help as best I can. If you wish to use this kernel in a rom , feel free! Although I would love it if you let me know just for my own curiosity.​
Goal:​Keep kernel as lean as possible while adding certain, desirable features, upstreaming source, and optimizing for maximum performance and battery life. The default settings should be optimal for a balance of battery and performance without a need to tweak.​
Disclaimer:​If your phone blows up, its not my fault. If your phone somehow gains perpetual battery life, I'll take full responsibility.​
Features:​-COGA Source Based
-Universal Kernel! (Thanks to G.lewarne and Ktoonsez patchset!)
-VControl Kernel Control Script(Loosely Based On lkconfig by imoseyon)
-Compiled With Graphite, Loop Nest Optimizations, Ofast And Others.
-Various Other Build Optimizations
-WLAN_RX & WLAN_CTRL Wakelocks Reduced
-GPU OC/UC
-Interactive ScreenOff Max Frequency
-Improved LMK
-Dynamic ReadAhead
-Dynamic Fsync
-LEDFade
-VMA Caching
-Calibrated Power Coefficients
-Smoothened GPU Throttling Curve
-Lz4 Compression
-Interactive Governor Patches/Mods
-Timer/RCU System Upstreamed
-SensorHub Wakelock Toggle To Remove
-A53 UnderClockable To 200Mhz Oc To 1600Mhz
-A57 UnderClockable To 200Mhz Oc To 2500Mhz
-Slub Allocator Updated To Linux 3.18
-Synapse Support
-Memory Management Updates
-Arm Efficient Unaligned Access Enabled
-Reduced Scheduler Wakeups
-Nvidia Power Efficiency Patches
-Encrypted Performance Improvements
-Deep Sleep Fix
-Disabled IO Stats For Faster IO
-Memory Leak Patches
-Sleep/Suspend Patches
-3X Faster Integer Square Root Operations
-HRTimer Optimizations
-Avoid load Average Moire
-Scheduler Optimizations
-Power Aware Scheduling
-Sound Control
-Memcopy and String Optimizations
-Use Compile Time Constants For Jiffies Conversions When Possible(Reduces CPU Overhead)
-Workqueue Updated To Linux 3.18
-Optional Power Efficient Workqueues (Expanded to more modules than normal as well)
-Moto QuickWakeup Driver
-Frandom (Efficient Random Number Generator)
-Cruft Free
-Slimmed Down
-Tons Of Debugging and Tracers Removed
-Many Misc. Optimizations
-Optimized CFQ Scheduler For SSDs
-Tons Of IO Fixes/Performance Boosts
-ROW IO Schedule(Default)
-Voltage Control For Numerous Things
-Entropy Optimizations/Tweaks
-Many Parts Pulled From Upstream
-Init.D Support
-Installs SU
-Installs Busybox
-Potentially Something I Forgot...
Downloads:
[AFH] Kernel: https://www.androidfilehost.com/?w=files&flid=35336
If Coming From Arter Kernel:
Reflash TWRP recovery if using philz and flash this zip http://www.mediafire.com/?um57p83b3cb56x4 before flashing kernel.
Credits:
Imoseyon
Ktoonsez
AndreiLux
Arter97
G.lewarne
Samsung
Flar2
anarkia
hybridmax
Franco
Faux123
Linaro
Code Aurora Foundation
Cl3Kener
Friedrich420
Google
Motorola
If I Missed You Lemme Know!​
XDA:DevDB Information
VindicatorS6-Unified Kernel, Kernel for the Samsung Galaxy S6
Contributors
Xileforce
Source Code: https://github.com/XileForce/Vindicator-S6-Unified
Kernel Special Features:
Version Information
Status: Stable
Created 2015-07-13
Last Updated 2015-12-7
Changelog:
R1:
-Initial Release
R2:
-Updated From Linux 3.10.61 To 3.10.83
-Updated Memory Management Tweaks
-Update Interactive Tunings
-Fix App Installing
-Fix Random Reboots
-Removed Overclocking For Now(Caused reboots)
-Removed Fsync Toggle(Caused app installs to fail)
-Added Asynchronous Fsync(Faster Fsync)
-Fixed Frandom Permissions
-Additional Entropy Optimizations
-Added Interactive Patches
-Trimmed More Stuff
-Interactive No Longer Scales Up The Frequency Below 5% Load(Better Battery)
R3:
-Lag Free Interactive Tweaks (Glewarne)
-Interactive Screen Off Max Frequency = (InteractiveX)
-InputBooster Removed(Touchboost)
-BOG8 Source Update
-Memory Management Update
-Better Frequency Selecting By Interactive
-Numerous Interactive Code Optimizations/Patches
-Added A Toggle To Remove SensorHub Wakelock In VControl
-Remove Task Packing
-Trimmed More Things/Debugging
-Removed Forced Full screen Updates
-Some Power Efficient Related Tweaks
-Additional Optimizations
-Many Misc Things.
-Cifs support
R4:
-COGA Based
-Compiled With Linaro 5.2 TC
-Compiled With Ofast vs Os
-Fully Tickless Kernel(faster more power efficient)
-Updated Memory Tweaks
-Added CPU OC Again!
-Fixed Big Cpu Settings Not Sticking
-More Interactive Tweaks
-Reverted Enforced Mode
-Async Fsync Replaced With Dynamic Fsync
-Power Aware Scheduling Option
-Updated To Linux 3.10.87
-Added DT2W
-Misc Patches
-Added Synapse Support
-Updated Nvidia Power Efficiency Patches
-Various Upstream Timer/RCU Updates
-Add LED Fade Patch
-Add Audio Control
-Add Various Voltage Controls
-Optimize ART
-Update VControl Options
-CFQ Optimizations
-GPU Throttling Smoothing
-Task Packing Toggle Fixed
-Task Packing Threshold Adjusted
-Added PowerSuspend Driver
-Updated Unification Patches
-Disabled Gentle Fair Sleepers(Ui Smoothness)
-Numerous Interactive Patches
-Removed InteractiveX
-Re-Added TouchBoost
-Enable Efficient Unaligned Access
R4.1:
-Reverted Back To Dynamic Ticks Kernel
-Enabled Fast No Hz(Power Efficiency)
-Enabled RCU Priority Boosting(Performance Increase)
R5:
-Honestly Almost Everything Changed But Here's Some From Memory
-Interactive screen off limited to 1ghz
-Hotplug optimizations
-Interactive Patches
-LMK Upstreamed
-GPU OC/UC
-Ramdisk and synapse updated
-DT2W Removed
-LED Fade added
-Fixed Lockscreen Crashes
-GPU Tweaks
-Strict Aliasing Optimizations
-Significant amount of power efficiency patches
-Sound Control Removed
-More garbage removed
-Optimized a few libs for A57
-Updated To COJ2
-Lots more
FAQ's
1. What Is VControl And How Do I Use It?:
VControl is a kernel tweaking "app" built into the ramdisk. It is accessed via terminal emulator. To use it simply download terminal emulator, Type "su" without quotes and hit enter. Grant terminal emulator super user permission and then type "VControl" without quotes. Please note that it is case sensitive. This will bring up a text menu and you navigate by simply entering the option number you want and hitting enter. It is currently a WIP. More will be added to VControl over time.
2. You Broke My Phone! Fix It!:
It will be quite hard for me to figure out what is going on if you don't provide details and a log of what happened. To get a log use any file manager with root support and navigate to proc/last_kmsg.
3. What Kernel Tweaking App Should I Use?:
To Tweak the kernel, currently the only apps that work well are Kernel adiutor and Kernel toolkit as well as synapse. You can also use VControl for a limited number of things. Synapse is now built into the kernel so simply install the app.
4. What Do Power Efficient Workqueues Do?:
Typically when a task is created, it is bound to the cpu it was created on. This is great for performance due to maintaining cache locality. However its not the best for battery life. Power efficient workqueues attempts to schedule tasks on already awake cpus. A quick note about awake and sleeping cpus. A sleeping cpu doesnt mean the cpu is turned off or not hotplugged, nor does this mean it has to be deep sleeping. A core can be online and still be sleeping which means it uses very little power. This is why we are able to run with all 8 cores on all the time. Most of the time the majority of the cpus are sleeping. With power efficient workqueues, jobs will attempt to schedule on awake cpus which means we dont have to wake up the cpus that are sleeping already. This means we lose cache locality so we suffer a small (very small) performance hit but we potentially save noticeable amounts of battery. Enable for battery, disable if you plan on benchmarking or just want the extra power. They are off by default.
5. What Is Strict Aliasing And Why Should I Care?:
One of the big things Linaro does with improving Android's performance is fixing violations of what's known as "the strict aliasing rule." A pointer is said to alias another pointer when they both refer to the same location of memory. This is OK and not an uncommon thing to do. The strict aliasing rule is that pointers of different types should never refer to the same location of memory (aka alias each other). Strict aliasing allows a compiler to make some assumptions when compiling and optimizing code that it otherwise couldn't. It's actually one of the biggest optimizations you can do and it is fairly hard to add which is why most people don't. Here's a nice read up on it http://cellperformance.beyond3d.com/articles/2006/06/understanding-strict-aliasing.html#benefits
6. What does Small CPU Task Packing Mean?:
Task packing Is a process done by the scheduler. What it tries to do is pack all tasks onto as few cores as possible. In this case, it only packs tasks for the low power(small) cores as we want to maintain maximum performance and spread the load out on the bigger cores. The advantage of packing tasks is that if we envision a scenario where there is a 40% load and that gets spread out across the 4 small CPUs at 10% load each all 4 small CPUs are awake and running at a low frequency. With task packing all 40% would be shoved onto 1 core and the other 3 would sleep. This provides energy savings. However there becomes a point where the frequency required to process the extra tasks becomes high enough that it would use less power to run two cores at half the speed rather than 1 core at a very high speed. In this scenario the scheduler will automatically let tasks spill over onto adjacent CPUs in order to maximize power efficiency. One down side to this is a small performance hit due to having to pull the other cores out of a sleep state in the event of needing immediate power. However I would guess most people couldn't notice a difference.
7. What is power aware scheduling?:
Power aware scheduling is a method of scheduling where we make the scheduler aware of the actual efficiency of the cores. As you know, the small cores are more efficient than the big cores. The existing method for scheduling work uses a more basic (if the load is above this point, then move it to the big cores) type of decision making. With power aware scheduling, the scheduler will schedule tasks based on its knowledge of the cores power efficiency. Typically this reduces performance, though it's likely not noticeable except for in some games. If you want more battery, enable this. If you want more performance or have lag in games disable.
More will be added as they come up and I think of them.
Annnndd 3!
Great, downloading for test, my device is i variant but should works fine, any recommend settings?
matheus_sc said:
Great, downloading for test, my device is i variant but should works fine, any recommend settings?
Click to expand...
Click to collapse
I personally use VControl to set my min freq to 200 for both, then I oc to 1600 on Apollo and 2200 on atlas. I then also disable fsync. That's it hope you like it! Let me know if you have any issues!
great job with another kernel!
I enabled CPU task packing, but when I check the current settings, it says "/sbin/VControl(239): cat: /sys/kernel/hmp/packing_enable: No such file or directory"
interestingkid said:
great job with another kernel!
I enabled CPU task packing, but when I check the current settings, it says "/sbin/VControl(239): cat: /sys/kernel/hmp/packing_enable: No such file or directory"
Click to expand...
Click to collapse
Thanks! Yea I had task packing enabled in a previous test but removed it prior to release. I decided to leave it in VControl in case I re add it. So just ignore it for now I'll probably remove it in r2
Sent from my SM-G920T using XDA Free mobile app
Xileforce said:
Thanks! Yea I had task packing enabled in a previous test but removed it prior to release. I decided to leave it in VControl in case I re add it. So just ignore it for now I'll probably remove it in r2
Sent from my SM-G920T using XDA Free mobile app
Click to expand...
Click to collapse
ok, that's fine, because this is running well for now!
---------- Post added at 09:49 AM ---------- Previous post was at 09:48 AM ----------
ok so another problem though with google account or play services, don't know which
when i tried to install an app from the play store, i get an error -504
interestingkid said:
ok, that's fine, because this is running well for now!
Click to expand...
Click to collapse
Glad to hear that! There's definitely still room for improvement.
Sent from my SM-G920T using XDA Free mobile app
Boots fine in i variant from Brazil, but dont show much option in kernel auditor. I cant change i/o for fiops too its normal?
interestingkid said:
ok, that's fine, because this is running well for now!
---------- Post added at 09:49 AM ---------- Previous post was at 09:48 AM ----------
ok so another problem though with google account or play services, don't know which
when i tried to install an app from the play store, i get an error -504
Click to expand...
Click to collapse
Weird! I had that earlier too! I cleared my play services cache, and the play store cache and rebooted and it went away so I didn't think anything of it... :/ great...well at least I've got something to do tomorrow....
Sent from my SM-G920T using XDA Free mobile app
Xileforce said:
Weird! I had that earlier too! I cleared my play services cache, and the play store cache and rebooted and it went away so I didn't think anything of it... :/ great...well at least I've got something to do tomorrow....
Sent from my SM-G920T using XDA Free mobile app
Click to expand...
Click to collapse
kk will do that
matheus_sc said:
Boots fine in i variant from Brazil, but dont show much option in kernel auditor. I cant change i/o for fiops too its normal?
Click to expand...
Click to collapse
Kernel adiutor doesn't work for IO Scheduler. I recommend trying an app called Kernel toolkit. I'll probably add IO schedulers to VControl in the next update. Also there aren't tons of options on it atm. Mostly because its tweaked to run well on interactive governor, however I'll likely add conservative and ondemand in r2 as well.
Sent from my SM-G920T using XDA Free mobile app
interestingkid said:
kk will do that
Click to expand...
Click to collapse
Hope it works! I'm not sure what in Kernel is causing it, and its gonna be a pain to troubleshoot but I can probably figure it out tomorrow.....I hope....
Sent from my SM-G920T using XDA Free mobile app
This kernel is very fast and good deep sleep 94% all perfect on my G925F
Gesendet von meinem SM-G925F mit Tapatalk
cobra11111 said:
This kernel is very fast and good deep sleep 94% all perfect on my G925F
Gesendet von meinem SM-G925F mit Tapatalk
Click to expand...
Click to collapse
That's awesome to hear! Hope it continues to work well for you.
Sent from my SM-G920T using XDA Free mobile app
Can to future implement smartassv2 or KT governor?
Gesendet von meinem SM-G925F mit Tapatalk
cobra11111 said:
Can to future implement smartassv2 or KT governor?
Gesendet von meinem SM-G925F mit Tapatalk
Click to expand...
Click to collapse
The problem with kts governor is it would require merging a lot of other stuff that I don't need in order to make it work :/ however smartass is standalone. Is there other kernels for s6 that have it? If so it would be an easy addition most likely
Sent from my SM-G920T using XDA Free mobile app
Xileforce said:
The problem with kts governor is it would require merging a lot of other stuff that I don't need in order to make it work :/ however smartass is standalone. Is there other kernels for s6 that have it? If so it would be an easy addition most likely
Sent from my SM-G920T using XDA Free mobile app
Click to expand...
Click to collapse
+1 for smartassV2 governor and maybe zzmove as an option
No others kernel got those for S6

[Kernel] Amplitude for Shamu 1.2 (LP 5.1) (GCC6)

Amplitude Kernel for Nexus 6
WHY???!!!... WHY??!!! ... zparallax, we don't need another kernel for the Nexus 6!! ... Just let me say...the more the merrier!, I know we have greeeeeeeeeeeeaaaaaaaaattt kernels out there (Despair, Elite, Benzo, etc.) but don't blame on me
I am not responsible for any damage to your phone, if your house explodes because of you shamu, if you can toast your breaksfast on it, etc, etc.. Read before downloading or posting in the thread: Proceed with caution if you have no experience. Remember that I'm just the guy who does kernels for fun! :laugh:
DOWNLOAD THE LATEST VERSION HERE (Thanks to androidfilehost.com)
The very last zip file
[INSTALL STEP-BY-STEP]
Copy the ZIP in your SDCARD
Reboot into TWRP recovery
Flash the kernel
Wipe Dalvik & Cache
Enjoy!​
Contributors
zparallax
All the fellows, guys or girls who develop stuff for fun and share with all us (faux123, savoca, mgr666, stratosk, franciscofranco, myfluxi, etc.)
Google
And any other developer that have contributed to the AOSP project or to the development of governors, scheduler or any other developer not mentioned (if you want me to include your credits I will)
[THANKS] to all devs on XDA and the great XDA team
Source Code:
- Github
Kernel Features:
- Based on Linux kernel version 3.10.84+
- Built with Uber Toolchain 6
- Alucard Hotplug (by alucard), Dynamic Hotplug (by stratosk), Intelliplug (by faux123), Autosmp (by mgr666)
- MP Decision disabled
- GOVs: OnDemand, Interactive, Userspace, Powersave, Performance, Conservative, Nightmare, Smartmax, Hyper, Adaptive, Wheatley, Pegasusq, Intelliactive, Lulzactive, Abyssplugv2, ZZMoove, Lionheart, Yankactive
- IO SCHEDs: NOOP, Deadline, ROW, CFQ, etc.
- TCP Congestion: Westwood, Reno, Bic, Cubic, Highspeed, etc.
- Gamma Control (by savoca)
- UKSM
- Fastcharge (by faux123)
- Powersuspend (by faux123)
- UKM by apb_axel (Install Synapse if you wish :good
- More to come
Created 2015-07-25
Last Updated 2015-08-16
XDA:DevDB Information
[kernel]Amplitude Kernel, Kernel for the Nexus 6
Contributors
zparallax
Version Information
Status: Alpha
Current Alpha Version: 1.2
XDA:DevDB Information
[Kernel] Amplitude for Shamu, Kernel for the Nexus 6
Contributors
zparallax, zparallax, faux123,savoca,stratosk,mgr666
Source Code: https://github.com/zparallax/amplitude_shamu
Kernel Special Features: Custom kernel, multiple governors, hotplugs, anykernel, etc.
Version Information
Status: Alpha
Current Stable Version: 1
Stable Release Date: 2015-07-25
Created 2015-07-25
Last Updated 2015-08-16
For changelog!!
v 1.2:
- Reworked from scratch
- Rebased to 3.10.85
- Some other tweaks (Test by yourself and tell me)
v 1.1:
- Added Wake gestures (by flar2)
- Added faux sound (for now, thanks faux123)
- Fixed some problems reported by the users
Amplitude sounds amazing! Great work zparallax!!!
Sweet! Glad to see more kernels available!
Sent from my Nexus 6
Awesome work. As you say... The more the merrier
Sent from my Nexus 6 using Tapatalk
Fit for M2?
Sent from my Nexus 6 using Tapatalk
Not yet buddy, initial release today and working on m2.
Thanks for your interest
Your op is hilarious. Toast breakfast on my Shamu. Haha! That's awesome! Look forward to M2 build. I'm an Elite user now and love it but always down to try a new kernel. Tks!
Thanks for this new kernel just using on my nexus6 can provide best setting for performance in terms of speed or use with default setting ,please guide its my request .
Looks like a good kernel, thanks. Did you plan fauxsound in the future? It's for me a must have. Cheers
RP74698 said:
Thanks for this new kernel just using on my nexus6 can provide best setting for performance in terms of speed or use with default setting ,please guide its my request .
Click to expand...
Click to collapse
Tylog said:
Looks like a good kernel, thanks. Did you plan fauxsound in the future? It's for me a must have. Cheers
Click to expand...
Click to collapse
@RP74698: for daily use... Intelliplug or Alucard and yankactive... UKSM active... For battery auto_SMP or dyn_hotplug and zzmoove. For balance... Any other gov. GPU msm_adreno since it has the adreno idler by arter
@Tylog: I'm planning to add a sound control maybe faux's maybe not you'll see
Thanks to everyone for your comments!
What is UKSM active and how use this Sir
That's good Faux or whatever, only V4a is not enough for me, I need my music loud thanks.
Linux kernel has a feature named KSM(Kernel SamePage Merging). it lets the hypervisor system share identical memory pages amongst different processes or virtualized guests. However, it has its limitation such like high CPU usage and slow responses to workload change. So here comes UKSM. With a revolutionary algorithm redesign, UKSM has many advanced features:
Full system scan.*It automatically scans all user processes’ anonymous VMAs. Before UKSM, a process need to call KSM kernel API to submit its memory areas to KSM for scan. This makes many legacy software other than KVM can NOT benefit from KSM. Now, UKSM scans whole system applications including KVM. All programs benefit from UKSM without even knowing how it works.
Super quiet CPU usage.*It automatically detects rich areas containing abundant duplicated pages. Rich areas are given a full scan speed. Poor areas are sampled at a reasonable speed with very low CPU consumption usually under 1%. Our benchmarks show that even for CPU intensive workloads, it has a negligible performance impact. Ultra scan speed and CPU efficiency.*A new hash algorithm is proposed. More on this...UKSM info
Thanks!!
Where is allocated UKSM in your kernel and how activate this as I'm using kernel auditor app not seeing anywhere ,only seeing KSM and this is active by default .
RP74698 said:
Where is allocated UKSM in your kernel and how activate this as I'm using kernel auditor app not seeing anywhere ,only seeing KSM and this is active by default .
Click to expand...
Click to collapse
Hi my friend.. This is UKSM on Kernel Aduitor (Kernel Same Page Merging), is active by default. Since it saves CPU cycles when merging files and making changes it will save battery and increase overall system performance. No need to activate it.
Thanks for your testing!
Thanks Sir
---------- Post added at 05:52 PM ---------- Previous post was at 05:28 PM ----------
Dear Sir ,please one more thing when trying to active Alucard only hot plug with yank active CPU governed ,Intelliplug automatic on while I have switched off .
Dear Sir ,seems Intelliplug is active by default as guided earlier for daily use I'm trying to use yank active alacurd and ukm active controlling through synapse but inytelli automatically active ,while I have activated only Alacurd please see
RP74698 said:
Dear Sir ,seems Intelliplug is active by default as guided earlier for daily use I'm trying to use yank active alacurd and ukm active controlling through synapse but inytelli automatically active ,while I have activated only Alacurd please see
Click to expand...
Click to collapse
Hi my friend!... Will look into this. Thanks for testing!
Best!
Great kernel got a antutu score of 51715
Great job bro looking forward for some more features like faux sound, wake gestures in your future release's

[KERNEL] [v0.14] [MM 6.0.0 Stock ROM] Frankenclark

Introduction
This is a kernel for XT1572/XT1575 built from stock sources (marshmallow-6.0.0-release branch) with cherry picks from other kernels and some ports/mods done by me. It started as a personal build tailored to my preferences but just thought I'd share in case somebody might find it useful. My main goal is building the smoothest kernel I can get so performance is top priority.
This kernel is for stock ROM MPH24.49-18*
Disclaimer
Although I have experience with Linux kernels on desktops and servers this is my first Android kernel. I've been running this kernel on my XT1572 for a few days and seems pretty stable but that doesn't mean it's risk free. In fact I wouldn't dare to install it if you don't have a proper backup and some basic skills to deal with unexpected situations.
Features
Aroma Installer
CPU profile scripts (see this)
Color control (KCAL)
Frandom
Updated to kernel version 3.10.101
Overclocking (a53: 1536MHz a57:2016MHz)
Underclocking (302MHz)
Additional CPU governors (ElementalX, Intelliactive, Lionheart, BioShock, BluActive, Wheatley, InteractiveX/Interactive, Impulse, Zzmoove)
Additional I/O schedulers (SIO, FIOPS, Zen, BFQ, SIOPLUS)
Bricked Hotplug
Updated ZRAM driver
Updated Lowmemorykill driver
Basic init.d support
KSM and UKSM
Voltage readings
Fsync on/off
Touchboost on/off
Vibration control
KEXEC Hardboot (MultiROM support)
Patched cdrom code (DriveDroid support)
DoubleTap2Wake/Sweep2Wake/Sweep2Sleep (EXPERIMENTAL)
Power efficient workqueues
Support for additional FS: NTFS, NFS, CIFS
Additional Xpad drivers (read this)
Device as USB trackpad/keyboard driver (read this)
WiFi module optimizations
Many minor optimizations
Optimization flags
UBER Toolchain 4.9
Installation instructions
Download ZIP and flash from TWRP/Flashify. Read the following notes carefully before flashing.
Important notes:
This kernel is still experimental, make a proper backup first
You need to be rooted
DO NOT play with DT2W/S2W before reading the release notes and the update
In case you want to tune some parameters (ie: CPU frecuencies) I recommend you install EX Kernel Manager, Kernel Adiutor or Kernel Adiutor-Mod.
If you're using Kernel Adiutor to control vibration or TCP congestion read this.
Questions? Read the FAQ before posting.
Download
Latest version is v0.14 (see release notes)
https://www.androidfilehost.com/?w=files&flid=49225​
Donations
Although quite a deal of the important work has been done by the developers mentioned in the Credits section I spend many hours working on this. If you feel like helping me out I'd appreciate some tiny donations to cover some minor expenses.
​Thanks to all of you who have donated, it's very much appreciated.​
Profiles
One of the FAQ in most kernel related threads is "What are the best settings for .....?". This is the 10 million question since the usage pattern can be very different for each user. However, I understand less experienced users will appreciate some hints in this department, so that's why I'm posting some basic settings you can use as a starting point.
It's your job to further tune them to suit your needs. You should be able to modify these settings with whatever Kernel Control App you like the best, although not all settings are available in every app, in such a case tune those you can. The list is not complete (just the most importante settings) and is loosely based on Kernel Adiutor arrangement.
Please, keep in mind these are subjective values (based of personal preferences or popularity) and some people might like other settings for whatever reasons.
Performance Profile: Very smooth and responsive but average battery life
CPU
LITTLE Cluster
CPU Governor: bluactive
CPU Max Frequency: 1536MHz
CPU Min Frequency: 302MHz​BIG Cluster
CPU Governor: bluactive
CPU Max Frequency: 2016MHz
CPU Min Frequency: 302MHz
NOTE: If you get N/A or weird values when trying to change settings on BIG cores it means both have been hotunplugged. To work around this select "performance" governor, make your desired changes and then select you previous governor.​CPU Boost
Input Boost Frequency Core 1: 960MHz​
Hotplug
MSM MPDecision
Minimum CPU online: 2
Maximum CPU online: 6
Max Cores Screen Off: 2
Idle Frequency: 384MHz​
Thermal
Core Control: Off
VDD Restriction: Off
Temperature Throttle: On​
GPU
Max Frequency: 600MHz
Min Frequency: 180MHz
Govenor: cpufreq​
I/O
Scheduler: noop
Read-ahead: 1024KB​
Balanced Profile: Above average battery life with good performance on most situations
CPU
LITTLE Cluster
CPU Governor: interactive
CPU Max Frequency: 1440MHz
CPU Min Frequency: 302MHz​BIG Cluster
CPU Governor: interactive
CPU Max Frequency: 1632MHz
CPU Min Frequency: 302MHz
NOTE: If you get N/A or weird values when trying to change settings on BIG cores it means both have been hotunplugged. To work around this select "performance" governor, make your desired changes and then select you previous governor.​CPU Boost
Input Boost Frequency Core 1: 960MHz​
Hotplug
MSM MPDecision
Minimum CPU online: 2
Maximum CPU online: 5
Max Cores Screen Off: 2
Idle Frequency: 768MHz​
Thermal
Core Control: Off
VDD Restriction: Off
Temperature Throttle: On​
GPU
Max Frequency: 600MHz
Min Frequency: 180MHz
Govenor: msm-adreno-tz​
I/O
Scheduler: noop
Read-ahead: 1024KB​
Battery Profile: Good battery life at the expense of somewhat limited performance
CPU
LITTLE Cluster
CPU Governor: ondemand
CPU Max Frequency: 1440MHz
CPU Min Frequency: 302MHz​BIG Cluster
CPU Governor: ondemand
CPU Max Frequency: 1632MHz
CPU Min Frequency: 302MHz
NOTE: If you get N/A or weird values when trying to change settings on BIG cores it means both have been hotunplugged. To work around this select "performance" governor, make your desired changes and then select you previous governor.​CPU Boost
Input Boost Frequency Core 1: 960MHz​
Hotplug
MSM MPDecision
Minimum CPU online: 1
Maximum CPU online: 3
Max Cores Screen Off: 2
Idle Frequency: 960MHz​
Thermal
Core Control: Off
VDD Restriction: Off
Temperature Throttle: On​
GPU
Max Frequency: 450MHz
Min Frequency: 180MHz
Govenor: simple_ondemand​
I/O
Scheduler: noop
Read-ahead: 1024KB​
Thanks To/Credits
vadimtk
flar2
franciscofranco
nimrodsv
anarkia1976
savoca
myfluxi
AudioGod
osm0sis
nychitman1
jollaman999
imoseyon
showp1984
HashBang173
neobuddy89
rehpyc
Alcolawl
soniCron
Spasticdroid
XDA:DevDB Information
Frankenclark, Kernel for the Moto X Style (Pure)
Contributors
dirtyhank
Source Code: https://github.com/dirty-hank/frankenclark/
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 0.14
Created 2016-01-10
Last Updated 2016-10-11
Changelog
v0.14 (2016-08-29)
Proper KCAL control (thanks to @Spasticdroid)
Updated xpad driver for compatibility with gamepads/controllers (thanks to @Spasticdroid)
Driver to use device as USB trackpad and keyboard (thanks to @Spasticdroid)
Misc minor updates (see github)
100Hz version uses stock compiler flags
v0.13 (2016-06-21)
Update to Linux Kernel 3.10.102
Misc minor updates (see github)
New start-up CPU governor profiles: bluactive, maddog and silverfish
v0.12 (2016-05-15)
Disable DT2W/S2W while phone call is in progress
New CPU governors: impulse, zzmoove
New and updated CPU profile scripts
Runtime CPU profile switcher script (see release notes)
Minor changes to Aroma installer
v0.11.1 (2016-05-01)
Aroma Installer update (see release notes)
v0.11 (2016-04-27)
Aroma Installer
Better camera focus
Less CPU usage from DT2W/S2W
Minor updates and bugfixes
v0.10 (2016-04-03)
Updated lowmemorykiller driver
BFQ and SIOPLUS I/O schedulers
Updated ZRAM driver (on by default)
User togglable WLAN wakelocks
Basic init.d support (see release notes)
Misc minor updates
v0.9 (2016-03-20)
Update to Linux Kernel 3.10.101
Bug fixes
Changes from Google update to N5X and N6P (see release notes)
v0.8 (2016-03-06)
Update to Linux Kernel 3.10.99
Power efficient workqueues
NTFS support
NFS and CIFS support (you'll probably need additional user space binaries)
v0.7.1 (2016-02-28)
Workaround for the dimmed screen upon unlock bug when DT2W/S2W is enabled
v0.7 (2016-02-21)
Hotplug thresholds tuned to keep BIG cores offline more often
KEXEC Hardboot (MultiROM support)
Patched cdrom code (full DriveDroid support)
DoubleTap2Wake/Sweep2Wake/Sweep2Sleep (HIGHLY EXPERIMENTAL, Read this)
v0.6 (2016-02-07)
Vibration control (non-haptic)
Relaxed CPU macros for better power usage
File hosting now on AndroidFileHost
v0.5.2 (2016-02-03)
Fixed USB and WiFi Tethering
Minor tweaks
v0.5.1 (2016-02-01)
Changes to installer
v0.5 (2016-01-31)
Update to Linux Kernel 3.10.95
InteractiveX governor (as patches to the interactive gov)
Bricked Hotplug
KSM and UKSM (disabled by default, use Kernel Adiutor to enable)
Many minor optimizations
WiFi module optimizations
Modules recompilation
Disabled core_ctl (due to broken module after some internal changes to kernel)
Voltage readings (any attempt to modify values is silently ignored)
v0.4.1 (2016-01-24)
Prevent msm_performance from messing with the user selected min/max CPU frequencies
v0.4 (2016-01-23)
New CPU governors (ElementalX, Intelliactive, Lionheart, BioShock, BluActive, Wheatley)
New I/O scheduler (Zen)
Default I/O scheduler set to noop with a read ahead of 1024kb
Fixed bug CVE-2016-0728
Minor optimizations
Introduce ZIP installer (Anykernel2)
v0.3 (2016-01-18)
Color control (KCAL)
frandom support
New optimization flags
ZRAM disabled by default
v0.2 (2016-01-14)
Updated to Linux kernel 3.10.94
Underclocking (302MHz)
v0.1 (2016-01-10)
First public version
FAQ
I get random reboots, what is happening?
This kernel overclocks both clusters by default (a53: 1536MHz a57:2016MHz) and although this is very safe for most devices some CPUs are in the lowest spot of the binning spectrum and can't handle O/C very well. In such a case use a kernel control app (see the OP for references) to limit the maximum CPU frequencies, play with them until you find stable values for your device.​
What are the best settings for battery life/performance/whatever?
That's hard to tell as every user is different. You can find some basic profiles in the OP you can use as a starting point. Notice the differences between then and build you own.​
Why do some BIG cluster settings display N/A?
Why can't I change some settings on the BIG cluster?
If you get N/A or weird values when trying to change settings on BIG cores it means both are offline ("hotunplugged"). To work around this select "performance" governor, make your desired changes and then select you previous governor. You can also disable hotplug, make the changes, and enable hotplug again.​
DoubleTap2Wake doesn't work sometimes. How can I get it to work all the time?
When device goes into suspend mode first tap is often missed (I suspect this is caused by Moto Sensor Hub). If you tap three times and get the timing right you'll probably make it work most of the time. As an alternative, Sweep2Wake works almost all the time​
DT2W/S2W is acting weird or disabling itself
Make sure Moto Display is disabled. Open the Moto app, click on the stars in the top right corner, select Display and set to Off​
Can I use this kernel in ROM X/Y/Z?
This is for stock ROM MPH24.49-18 only. It'll probably work on any stock based ROM but not guaranteed.​
I use stock ROM but WiFi is not working
Due to some internal changes all modules had to be recompiled (WiFi included). In order to expose the new modules without modifying the system partition I had to implement a hack that requires root. Make sure you're properly rooted.​
What's the deal with ZRAM?
ZRAM is a technique to increase memory available to the apps at the expense of CPU time. Memory space from apps not being used is compressed into a memory swap area and uncompressed on the fly whenever needed. As you can imagine this compress/uncompress process burns CPU cycles, potentially leading to worse battery life, lag and higher temperatures. Since this device comes with 3GB I can only think of one scenario where ZRAM can be beneficial: heavy multitaskers who care more about apps not reloading than battery life. For the rest of users enabling ZRAM doesn't make much sense in my opinion, and that's why it's disabled by default.
UPDATE: v0.10 includes an updated ZRAM driver that improves performance significantly. So much so that the benefits seem to outweigh the costs and it's been enabled by default.​
What's the deal with KSM/UKSM?
Since many apps use the same libraries/resources it's very likely that at any given time there are multiple copies of the same data on different memory locations. KSM/UKSM tries to take advantage of that fact by scanning memory pages periodically and consolidating that multiple copies into a single shared copy. Much as like ZRAM it can have a good effect on heavy multitasking performance but at the expense of CPU cycles, and thus it's only recommended in the same scenario as ZRAM. Disabled by default​
Ok, so do I enable ZRAM/KSM/both/neither?
I honestly think most users will be better off not using neither. If you feel like you need extra RAM I'd try KSM first, then ZRAM. Using both at the same time is overkill unless you are an ultra multitasker, in which case you should probably get a 4GB device anyway ​
How do I get WiFi on 6.0.1?
It's a modem version mismatch issue, you need to downgrade the modem. See this post.​
Love to see more options! Thanks for sharing!!
Yeah this will be very good
Only One think that would be awesome try to implement the double tap to wake
Awesome! More custom kernels are always welcome are there many governors to choose from?
krohme said:
Awesome! More custom kernels are always welcome are there many governors to choose from?
Click to expand...
Click to collapse
Right now only the stock governors are available but I plan on adding a few
Can't we install it through twrp???
guraki said:
Can't we install it through twrp???
Click to expand...
Click to collapse
Yes, TWRP supports boot image flashing
I lost root after the kernel install....
---------- Post added at 03:22 PM ---------- Previous post was at 02:39 PM ----------
Seems to work fine!!! Any battery life expectations?
guraki said:
I lost root after the kernel install....
---------- Post added at 03:22 PM ---------- Previous post was at 02:39 PM ----------
Seems to work fine!!! Any battery life expectations?
Click to expand...
Click to collapse
As I said on the OP my main goal is performance/smoothness, so I haven't specifically sought better battery life. That being said I'm getting about the same battery life as stock with better performance, that works for me.
Nevertheless, I'm very interested on how it works for other configurations and usage patterns.
@dirtyhank could you please add hotplugging to the kernel? Preferably one that allows you to select how many cores to run as well as which ones, as in run the two A57s and turn off the four A53s. Currently I'm running two A53s at 1.2Ghz and the remaining four cores are always off.
The screenshot is from Lolipop, and it is the only reason why I havent upgraded to MM. Turning off cores definitely makes a difference on battery life.
Also, if possible, adding a lower speed to the min speed. Will gladly test anything you thow my way. Thanks in advance.
Is there any chance for a CM13 version and a DT2W fork from elementalx?
sir-harlekin said:
Is there any chance for a CM13 version and a DT2W fork from elementalx?
Click to expand...
Click to collapse
DT2W maybe, CM13 unlikely.
very nice thank you! slowly slowly we getting more and more things. Just making sure this is only for stock based rom/s Thanks!!
cerobles1 said:
@dirtyhank could you please add hotplugging to the kernel? Preferably one that allows you to select how many cores to run as well as which ones, as in run the two A57s and turn off the four A53s. Currently I'm running two A53s at 1.2Ghz and the remaining four cores are always off.
The screenshot is from Lolipop, and it is the only reason why I havent upgraded to MM. Turning off cores definitely makes a difference on battery life.
Also, if possible, adding a lower speed to the min speed. Will gladly test anything you thow my way. Thanks in advance.
Click to expand...
Click to collapse
What kernel are you using on LP?
patt2k said:
very nice thank you! slowly slowly we getting more and more things. Just making sure this is only for stock based rom/s Thanks!!
Click to expand...
Click to collapse
Yep, stock ROM, I'll edit the OP
dirtyhank said:
Yep, stock ROM, I'll edit the OP
Click to expand...
Click to collapse
Awesome gonna flash this soon
I hope a port for CM based roms might be possible in the future! Thanks for sharing your work and replying so quickly!
dirtyhank said:
Yep, stock ROM, I'll edit the OP
Click to expand...
Click to collapse
Getting bootloop on TruePure rom 2.4. Anything I can try to avoid bootloops?

Categories

Resources