| 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 - One (M7) Original Android Development

| 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

Related

[KERNEL] *Matr1x* v14.5 | Lollipop - 5.0/5.0.1

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

[KERNEL][4.2/4.2.1][1.6Ghz | Linaro | 3G | 13 Gov | 7 Sched] Omega 3 Kernel - r4

Omega 3 Kernel
Hello everyone! This is my first custom kernel, is based on source of motley with various features from franciscofranco, metallice, faux123, intersectRaven, stratosk and kasperh.
Works on Nexus 7 and Nexus 7 3G.
Features from motley:
Asus\Nvidia\Google Linux 3.1.10 base. All stock features are supported (camera, OTG, NFC etc.)
OC to 1.6GHz (optional)
Voltage control - be careful to not save the setting on boot until you are 100% sure!
GPU OC to 446Mhz
Dynamic EDP - allows EDP to remain enabled (safer), but with an added simple temperature throttle switch (based on Asus Prime)
ZRAM - must be enabled by a script
initramfs - insecure (your ROM must have busybox)
CIFS/UTF8, NFS, NTFS r/w, TUN - built-in, no need for any kernel modules
fsync sysfs enable/disable switch (defaults to fsync enabled)
kexec with hardboot (for supporting Linux/MultiROM)
New features:
Compiled with latest Linaro 12.12 - GCC 4.7.3
7 I/O schedulers - SIO, V(R), CFQ, NOOP, deadline, ROW(default), BFQ v5r1
13 Governors - Interactive(default), Performance, Ondemand, Userspace, PowerSave, Conservative, Lulzactive, SmartassV2, PegasusQ, Wheatley, InteractiveX, OndemandX, Lazy
TCP setting: cubic(default), reno, bic, westwood, highspeed, hybla, htcp, vegas, veno, scalable, lp, yeah, illinos
Optimized misc: SHA1, AES, lib string/memcpy, ARM RWSEM algorithm, OTG unplug and many many others
Update ZRAM (3.3), ZCACHE (3.3), Android Binder (3.3), Lowmemorykiller (3.4), Logger (3.4), Time GPIO (3.4)
Dynamic Sync Control
Support init.d scripts
Jay's Recipe for Buttery Goodness integrated (without init.d script)
Tweak to random entropy (just some more random data avaible)
Much more Ram avaible
GPU Overclock Interface
CPU LP Overclock Interface
2013/01/16 - r4
Removed Thalamus ARM Generic Hotplug (much more battery)
Revert Interactive governor to 3.1 (more balanced)
Revert Android staging drivers to 3.4 (fix lowmemorykiller bug)
Fix compaction for lowmemorykiller 3.4
Revert VM_MAX_READAHEAD to 128 (1024/2048 are useless for battery/performance)
Added GPU Overclock Interface
Added CPU LP Overclock Interface
Tweaked Ramdisk for much more Ram avaible (to see the differance type free on terminal before/after flash)
Compiled with -O2 (in testing)
2013/01/14 - r3
Added InteractiveX governor
Added OndemandX governor
Added Lazy governor
Tweak to random entropy (just some more random data avaible)
TCP setting: cubic, reno, bic, westwood, highspeed, hybla, htcp, vegas, veno, scalable, lp, yeah, illinos
2013/01/12 - r2
Interactive governor from 3.4
Tweaked ramdisk
Support init.d scripts
Jay's Recipe for Buttery Goodness integrated (without init.d script)
Kernel compressed with XY
2013/01/11 - r1
Initial release.
Thanks to all XDA developers
Brisma said:
Omega 3 Kernel
Hello everyone! This is my first custom kernel, is based on source of motley with various features from franciscofranco, metallice, faux123, intersectRaven, stratosk and kasperh.
Features from motley:
Asus\Nvidia\Google Linux 3.1.10 base. All stock features are supported (camera, OTG, NFC etc.)
OC to 1.6GHz (optional)
Voltage control - be careful to not save the setting on boot until you are 100% sure!
GPU OC from 446Mhz
Dynamic EDP - allows EDP to remain enabled (safer), but with an added simple temperature throttle switch (based on Asus Prime)
ZRAM - must be enabled by a script
initramfs - insecure (your ROM must have busybox)
CIFS/UTF8, NFS, NTFS r/w, TUN - built-in, no need for any kernel modules
fsync sysfs enable/disable switch (defaults to fsync enabled)
kexec with hardboot (for supporting Linux/MultiROM)
New features:
Compiled with latest Linaro 12.12 - GCC 4.7.3
Full -O3 optimization
7 I/O schedulers - SIO, V(R), CFQ, NOOP, deadline, ROW(default), BFQ v5r1
10 Governors - Interactive(default), Performance, Ondemand, Userspace, PowerSave, Conservative, Lulzactive, SmartassV2, PegasusQ, Wheatley
Optimized misc: SHA1, AES, lib string/memcpy, ARM RWSEM algorithm, OTG unplug and many many others
Update ZRAM (3.3), ZCACHE (3.3), Android Binder (3.3), Lowmemorykiller (3.8), Logger (3.8), Time GPIO (3.8)
Dynamic Sync Control
Thalamus ARM Generic Hotplug (auto-hotplug)
2013/01/11 - r1
Initial release.
Thanks to all XDA developers
Click to expand...
Click to collapse
Thanks for this, I'm going to try this and tell if everything is working well
Enviado desde mi Nexus 7 usando Tapatalk 2
espaciosalter20 said:
Thanks for this, I'm going to try this and tell if everything is working well
Enviado desde mi Nexus 7 usando Tapatalk 2
Click to expand...
Click to collapse
Please cut the quote man.
If everyone quote his post like that...
Thanks
Looks cool
I'll test this out on cm10.1 should work if you built from motley source
Sent from my Nexus 7 using Tapatalk HD
EDIT: Is it okay if i cook this in my ROM? Thanks.
I tested it out on sgt7 (cm10.1) and it was stuck at the max freq. Couldn't get it to scale down no matter what governor I chose or after rebooting. Went back to lean kernel and all is well again. Idk what happened?
Seems to be working so far for me....
Sent from my Nexus 7 using Tapatalk 2
OK, tested. But according to antutu is a little bit slower than motley one, but anyway I will keep testing for a couple days more.
Enviado desde mi Nexus 7 usando Tapatalk 2
You sure about OTG? I've tried this one latest beta of PA. Couldn't mount my USB though
Sent from my Nexus 7 using xda premium
azoller1 said:
I'll test this out on cm10.1 should work if you built from motley source
Sent from my Nexus 7 using Tapatalk HD
EDIT: Is it okay if i cook this in my ROM? Thanks.
Click to expand...
Click to collapse
Ok, no problem for me
shmega said:
I tested it out on sgt7 (cm10.1) and it was stuck at the max freq. Couldn't get it to scale down no matter what governor I chose or after rebooting. Went back to lean kernel and all is well again. Idk what happened?
Click to expand...
Click to collapse
Have you tried if with motley too there is the same problem?
espaciosalter20 said:
OK, tested. But according to antutu is a little bit slower than motley one, but anyway I will keep testing for a couple days more.
Enviado desde mi Nexus 7 usando Tapatalk 2
Click to expand...
Click to collapse
Try with performance gov because I've optimized interactive gov to be less aggressive scaling at 1Ghz (hispeed_freq) for save more battery
Remember that a difference of 400~ points is normal from one test to another and if you just rebooted, wait that media scanner finish its work.
Very smooth and works perfectly on latest cm10.1! Found my favourite kernel
Sent from my Nexus 7 using Tapatalk HD
vn00914361 said:
You sure about OTG? I've tried this one latest beta of PA. Couldn't mount my USB though
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
With stock rom, no problem with mouse/keyboard and usbdrives.
Works with other kernels?
Nice!!! I've been waiting for a full featured kernel like this.
Gonna try it real soon.
Thanks for the work!
ehi Brisma,good work man!tried the kernel,smooth and fast!benhmarks are a bit lower,but real-use is great!
Really like what you cherry-picked,i think i'll stay with that for now!
keep up the good work!
shmega said:
I tested it out on sgt7 (cm10.1) and it was stuck at the max freq. Couldn't get it to scale down no matter what governor I chose or after rebooting. Went back to lean kernel and all is well again. Idk what happened?
Click to expand...
Click to collapse
same here...back to franco for the moment...
i have tried different governors and parameters but always at max freq.
What governor do you recommend to use to hit the best battery life and performance balance?
DeFcOn said:
What governor do you recommend to use to hit the best battery life and performance balance?
Click to expand...
Click to collapse
ondemand or interactive performance and conservative are those you can play with.
Others are always giving you problems. Other governors are more buzzwords than anything else.
At least it's my opinion...
[email protected]_OC said:
ondemand or interactive performance and conservative are those you can play with.
Others are always giving you problems. Other governors are more buzzwords than anything else.
At least it's my opinion...
Click to expand...
Click to collapse
And what about SmartassV2? It gives great battery life and good performance not like ondemand(not so good performance) and interactive(not so good at battery life).
DeFcOn said:
And what about SmartassV2? It gives great battery life and good performance not like ondemand(not so good performance) and interactive(not so good at battery life).
Click to expand...
Click to collapse
Just my opinion, for me no need to them. I use interactive when gaming an conservative for other things.
And my battery is great and i always keep stability.
The only kernels i use are trinity and franco kernels because of that.
To much governors, schedulers, patch and mods always gives you stability problem.
I do not denigrate any kernel or kernel devs, i just love when it's clean lean and simple.
Brisma said:
With stock rom, no problem with mouse/keyboard and usbdrives.
Works with other kernels?
Click to expand...
Click to collapse
Oh stock Rom. I've tried many different kernels on latest beta of PA. So far no luck...
Sent from my Nexus 7 using xda premium

[Kernel][CM12/CM11][5.0.x/4.4.x]jamiethemorris's kernel[S2W/DT2W][CPU/GPU OC](Dec 1)

This is my version of crpalmer's kernel with some additional features:
-Android 5.0 support
-Sweep2Wake/Sweep2Sleep, DoubleTap2Wake (from Beastmode)
-force fast charge (credits to chad0989)
-kexec-hardboot support (for use with MultiROM, credits to Tasssadar for the multirom and the m7 patch I used)
-FauxSound (faux123)
-Moar overclockingz (up to 1890 mhz)
Note: Every chip is different, your device may not support these higher frequencies.
-GPU overclocking (up to 533 mhz) (credits to faux123, )
Note: Again, every chip is different, your device may not support higher frequencies.
-Additional CPU governors and I/O schedulers. Read about CPU governors here.
-Dynamic Fsync (faux123)
-Simple GPU Governor (faux123)
-L2 Cache overclock
-600 MHz bus overclock
-F2FS support (still no luck with getting this fully working, testers are welcome)
-LZ4 compressed kernel (faster boot)
-More TCP Congestion algorithms
-Lots of slimbus improvements thanks to poondog
For maximum performance, I recommend some optimized dalvik libraries (KitKat only):
-For 4.4.4 ROMs, use the "CM11 Dalvik_Final" zip in this post
-For older (4.4.2) ROMs:
-For 4.4.2 CM11-based ROMs released before March 1st, use my Sense dalvik libraries here.
-If you are using a 4.4.2 CM11-based ROM released after March 1st, or any ROM with this commit you will need to use the 4.4_qc-optimized_dalvik-cm11.zip here. Credits to kszaq for this one.
-For LiquidSmooth, use these Sense dalvik libraries here.
-Also, credits to kszaq because these were based on his flashable zip.
If you find any ROMs where none of these zips work, let me know and I will try to make one for that ROM.
I am not responsible for anything that happens to your phone. It is your device and your responsibility.
The following scripts are not required to change settings, they only exist as an alternative for people who don't want to use a third-party app. You can still use your favorite tuner app to tweak most of these kernel settings.
init.d tweaks
I created some scripts that run on boot (init.d) because I install my kernel so many times that I would go insane if I had to use an installer to configure it each time. By using these scripts and configuration files on the sdcard, I can just configure it once and keep installing away to my heart's content.
After installing this kernel, there will be:
/system/etc/init.d/99crpalmer
run at boot, even if you switch to another kernel. It is safe to leave this file there and to let it run as it only makes changes if the kernel contains "crpalmer" in the version. If run with a kernel that contains crpalmer in the version, it will rename mpdecision so it can't run. If you install another kernel it will then rename mpdecision back so that it will run in the new kernel. In addition to stopping the built-in mpdecision it will allow the following tweaks:
CPU Frequencies
* Frequencies loaded from /sdcard/crpalmer-cpufreq-min and /sdcard/crpalmer-cpufreq-max
* Governor loaded from /sdcard/crpalmer-cpufreq-governor
* If you specify either or both of these frequencies, it will lock down all of the CPU frequency controls. I had to do this because HTC overrides them in a script that is run very late in the boot process (thanks HTC!).
* E.g. adb shell su -c "echo 192000 > /sdcard/crpalmer-cpufreq-min"
* E.g. adb shell su -c "echo 1728000 > /sdcard/crpalmer-cpufreq-max"
* E.g. adb shell su -c "echo interactive > /sdcard/crpalmer-cpufreq-governor"
Undervolting
* + or - value loaded from /sdcard/crplamer-uv
* The undervolting in 2.0.23 for FAST binned CPUs would be specified as:
* E.g. adb shell su -c "echo -100 > /sdcard/crpalmer-uv"
Lightsensor
* My light sensor changes didn't sound like they worked well for everyone. If you don't like them you can disable them by:
* E.g. adb shell touch /sdcard/crpalmer-stock-lightsensor
HTC Colour "Enhancement"
* If this file is present then the HTC's colour "enhancement" will be used, otherwise it will be disabled.
* If this file contains the string "m7" then it will use one of the colour enhancement that was used in the M7 kernel for a panel most like ours.
* E.g. adb shell touch /sdcard/crpalmer-color-enhancement
Click to expand...
Click to collapse
DoubleTap2Wake:
* This allows you to wake the device by double tapping in the bottom half of the screen, just above the hardware keys.
* To enable or disable, create the file /sdcard/jamiethemorris-dt2w
* If this file contains a 1, dt2w is enabled. If it contains a 0 it is disabled. Enabled by default.
Sweep2Wake/Sweep2Sleep:
* This allows you to wake the device by sweeping from left to right over the hardware keys, and sleep the device by sweeping from right to left.
* To enable or disable this, create the file /sdcard/jamiethemorris-s2w.
* If the file contains a 1, s2w and s2s are enabled. If it contains a 0, they are disabled. Enabled by default.
GPU Overclock:
* The GPU's max frequency is loaded from /sdcard/jamiethemorris-gpu-oc. If this file does not exist, the stock frequency of 400 MHz is used.
* To set this GPU overclock, you need that file containing the GPU frequency in MHz. Frequencies from 400 to 550 MHz are available.
* E.g. adb shell su -c "echo 450 > /sdcard/jamiethemorris-gpu-oc"
GPU Governor:
* You can choose from either ondemand, simple, or performance GPU governors. Default is ondemand.
* The governor is loaded from /sdcard/jamiethemorris-gpu-gov
* E.g. adb shell su -c "echo simple > /sdcard/jamiethemorris-gpu-gov"
Dynamic Fsync:
* From Faux123: The dynamic sync control interface uses Android kernel's unique early suspend / lat resume interface. While screen is on, file sync is disabled. When screen is off, a file sync is called to flush all outstanding writes and restore file sync operation as normal.
* Disabled by default. To enable or disable, create the file /sdcard/jamiethemorris-dyn-fsync. Use 0 to disable and 1 to enable.
Force Fast Charge:
* To enable or disable fast charge, create the file /sdcard/jamiethemorris-fastcharge
* Use 0 to disable, and 1 to enable. Disabled by default.
Intelliplug and Eco Mode:
* Intelliplug is a replacement hotplug driver for HTC's mpdecision, Eco Mode limits your device to dual-core operations.
* To enable or disable, use create the file /sdcard/jamiethemorris-intelliplug
* If the file contains 0, intelliplug and eco mode are both disabled and your phone will use crpalmer's hotplug driver. If the file contains a 1, intelliplug is enabled but eco mode is disabled. If the file contains the string 'eco', intelliplug and eco mode are both enabled. Both are disabled by default.
I/O Scheduler:
* To change the I/O scheduler, create the file /sdcard/jamiethemorris-iosched, and your device will use whatever I/O scheduler you specify.
* E.g. adb shell su -c "echo row > /sdcard/jamiethemorris-iosched"
Undervolt Override:
* This allows you to globally undervolt your device, but leave the 1836 MHz, 1890 MHz, and 1917 MHz frequencies at their default voltages.
* To enable or disable:
- First you need to find your PVS bin number. You can find this by checking the file /sys/module/acpuclock_krait/parameters/pvs_number.
- Create the file /sdcard/jamiethemorris-pvs and put your PVS number in that file.
- After a reboot, your device will automatically set the highest frequencies to the default voltages for your chip.
* If you are either lazy or confused, you can put '?' in the file and your phone will set itself to the voltages for a 'nominal' binned chip.
For the rest of the features and changelog, see crpalmer's original cm11 kernel thread.
Thanks: crpalmer for all of his help (before I started on this I didn't even know how to use git), coachcrey for originally inspiring me to do this, and all the other devs/builders here that may or may not know I'm learning from them constantly.
Downloads
Latest version:
Version 6.0.1
Older versions:
Older versions on Android File Host
Source:
Kernel Source
Build Tools
Recommended Settings
You can either use an app such as TricksterMod or Kernel Tweaker to set these parameters or use my scripts.
-Minimum CPU frequency: 162000
-Maximum CPU frequency: 1890000 for performance, 1512 for battery life, 1728 for balanced
-Undervolt: -100 for battery life, -50 for balanced/stability
-Color enhancement (script only): m7
-DoubleTap2Wake: Enabled for convenience or pretending you have a G2, disabled for battery life
-Sweep2Wake: Enabled for convenience, disabled for battery life
-Fastcharge: Disabled for safety, enabled for convenience
-GPU overclock: 500 MHz or 533 MHz for performance, 400 MHz or 320 MHz for battery life, 450 MHz for balanced
-GPU governor: ondemand for battery, simple for performance
-CPU governor: preservative for battery or balanced (decrease up threshold for faster response at the expense of battery), intelliactive for general performance, performance for benchmarking
-Intelliplug/Eco mode: Disabled for performance, enabled for balanced, Eco Mode for battery life
-I/O Scheduler: BFQ for balanced/stability, vr for performance
-Dynamic Fsync: Disabled for safety (less likely to have data loss in the event of sudden power off), enabled for performance, enabled for balanced
-Undervolt Override (script only): set jamiethemorris-pvs to your chip's PVS bin. Recommended for those with high overclock that are undervolted.
To make things easier for those who do not wish to use a third-party app, I have posted some zips with the necessary files. Just unzip them and put the files on your sdcard.​
Default settings
Recommended settings (these are the settings I use, good performance vs. battery compromise
For best battery life
For best performance
XDA:DevDB Information
jamiethemorris's kernel, Kernel for the HTC Droid DNA
Contributors
jamiethemorris, crpalmer
Source Code: https://github.com/jamiethemorris/dna-kernel/tree/6.x
Kernel Special Features: dt2w, kexec-hardboot, overclock, fastcharge, fauxsound
Version Information
Status: Stable
Created 2014-01-28
Last Updated 2014-12-04
Changelog:
6.0.1
- All updates from CM:
- F2FS updates. Maybe F2FS works now (probably not).
- UID-based routing
- Enable selinux development
- Initial support for Lollipop (KitKat 4.4.4 ROMs are still supported)
5.8.2
- Updates from crpalmer:
* Update some video bandwidth parameters
* Interactive governor updates
- Pretty sure that's it.
5.8.1
- Updates from crpalmer:
* Patched up to linux 3.4.99 (latest version of as now)
* Patched up to latest CM (fixes a couple of CVEs, not a whole lot else was missing)
5.7.7.1:
-Force Fast Charge should now be fixed
-Make sure all cores are enabled when using performance CPU governor
5.7.7:
-Moved from Linaro 4.8.3 to 4.9.1
-Update modem restart commit from stock CM kernel
-No more intelliplug due to random reboots and the fact that simple plug works just fine. I may bring it back future versions.
-Reduce memory usage of input driver + oom tweaks that theoretically help a little bit with the touchscreen wake issue. I am still working on finding a real fix.
-SLIMBUS: m8 port, caf updates, new OC from poondog (better audio quality)
-Update BFQ to v7r3
-Update to latest F2FS driver
Older versions:
5.7.6:
-NOTE: There are 2 different zips for this version to avoid conflicts between crpalmer's simple plug and faux123's intelliplug.
-IMPORTANT: On the intelliplug version, intelliplug is enabled by default. If you disable intelliplug, there will be no hotplug driver running which will kill your battery quickly. So if you decide you don't want to use intellidemand, please use the simple plug version instead.
-Memory optimizations from Motorola
-Enable Linaro's power-efficient workqueues
-Intelliplug updates
-Merge latest CM commits
-Merge crpalmer's latest commits
-Update to Linux 3.4.86
-Update F2FS to the latest version
5.6.4:
-Hopefully fix voltage for "faster" binned chips
-Fixed random reboots when using intellidemand governor
-Fix scripts
-Disable intellidemand's active max frequency to prevent it from interfering with overclock
-Enable additional TCP congestion algorithms (thanks iHateWebOS)
-Sync s2w/dt2w/pocket detection with Beastmode
-Add Preservative governor (credits to bedalus)
-Update BFQ I/O Scheduler to v7r2
-Merge latest CM commits
-Merge crpalmer's latest commits
-Update to Linux 3.4.79
-Add LZ4 kernel compression/decompression for faster boot
-I think I forgot to mention this before, but I am now using a Cortex a-15 optimized Linaro toolchain.
5.5.5:
-Dynamic Fsync (Enable this only if you are sure your device is stable! If you have too many reboots, your data may get corrupted and you will have to reflash your ROM.)
-Simple GPU Governor
-Intelliplug hotplug driver with Eco mode (dual core operations). When this is disabled, it will use crpalmer's hot-plug driver.
-Intellidemand tweaks - I'm still working on this one, it tends to have random reboots at the moment.
-Decrease GPU OC to 533 MHz and increase bandwidth
-1917 MHz overclock is back, should be more stable now
-Sweep2wake + Sweep2Sleep
-Doubletap2sleep is not implemented in this version, sorry. Use your ROM's dt2s feature for now. I do plan on adding this back.
-Doubletap2wake can be used anywhere on the screen
-There should be scripts for all features, let me know if I missed something.
-Undervolt override for high overclocks. You can globally undervolt while leaving 1836 MHz, 1890 MHz, and 1917 MHz clocks unaffected.
-L2 cache overclock
-600 MHz bus overclock for 1674 MHz - 1917 MHz frequencies
-Support for F2FS filesystem (F2FS TWRP and MultiROM are coming as well, as soon as I have time to test)
-FIOPS I/O Scheduler
5.5.4.1:
-Now only one kernel zip
-GPU overclock is set with /sdcard/jamiethemorris-gpu-oc between 400 and 550 MHz. Default is 400.
-New wheatley governor
-Some more optimizations
5.5.4:
-Fixed video undderrun (blue flickering) issue with GPU overclock
-Updated FauxSound to 2.1
-Now only 2 kernel zips. One is stock GPU clock and the other is for 450 and 500 mhz overclocks. Default is 500 on the OC version.
-New governors: intellidemand, intelliactive, smartassV2, lagfree, badass, Lionheart
-New I/O Schedulers: zen, vr
-Improved touchscreen sensitivity - If this causes problems for people I will revert it.
-SLIMbus overclock which should in theory improve audio quality
-Various performance optimizations, see github for full details
5.5.3.4:
-Switch linaro optimization level from -03 to -0fast
-A few other optimizations, see github for full details
5.5.3.3: Up to 500 mhz GPU overclock. For now, there are 3 different downloads depending on what GPU frequency you want - stock (400 mhz), 450 mhz, and 500 mhz. There are no other changes, so if you don't want a GPU overclock there is no need to update to this version.
5.5.3.2: Up to 1890 mhz CPU overclock
5.5.3.1: Added FauxSound
Nice work man!
Sent from my HTC6500LVW using Tapatalk
Multirom link is in the op. I plan on getting s2w working soon also. The code is there, but it's made for an HTC one so it doesn't work yet. Technically logo2menu is in there as well lol
Sent from my Droid DNA using Tapatalk
Dt2w works perfect! Will this kernel be updates as CP pushes changes in the future?
HTC DNA
LG Optimus G
d08speed3 said:
Dt2w works perfect! Will this kernel be updates as CP pushes changes in the future?
HTC DNA
LG Optimus G
Click to expand...
Click to collapse
Yes, that is the plan
Sent from my Droid DNA using Tapatalk
CM double tap to sleep. Doesn't work well with dt2s. It turns off then back on.
HTC DNA
LG Optimus G
---------- Post added at 07:57 AM ---------- Previous post was at 07:56 AM ----------
d08speed3 said:
CM double tap to sleep. Doesn't work well with dt2s. It turns off then back on.
HTC DNA
LG Optimus G
Click to expand...
Click to collapse
Edit: turning the CM dt2s works. I'm guessing you have this enabled for status bar double tap to sleep?
HTC DNA
LG Optimus G
d08speed3 said:
CM double tap to sleep. Doesn't work well with dt2s. It turns off then back on.
HTC DNA
LG Optimus G
---------- Post added at 07:57 AM ---------- Previous post was at 07:56 AM ----------
Edit: turning the CM dt2s works. I'm guessing you have this enabled for status bar double tap to sleep?
HTC DNA
LG Optimus G
Click to expand...
Click to collapse
Just to clarify, in that last edit you're just saying that turning dt2s off in the settings makes the kernel's version of dt2s work right? Cause that's what I'm seeing on my phone. Thanks for the heads up, I enabled the dt2s setting a while ago but I always forget that I did so I hadn't tested it yet.
Sent from my Droid DNA using Tapatalk
jamiethemorris said:
Just to clarify, in that last edit you're just saying that turning dt2s off in the settings makes the kernel's version of dt2s work right? Cause that's what I'm seeing on my phone. Thanks for the heads up, I enabled the dt2s setting a while ago but I always forget that I did so I hadn't tested it yet.
Sent from my Droid DNA using Tapatalk
Click to expand...
Click to collapse
Yea. Turning off CM's dt2s settings off makes your dt2s work. I see it enabled in sys>android_touch.
HTC DNA
LG Optimus G
d08speed3 said:
Yea. Turning off CM's dt2s settings off makes your dt2s work. I see it enabled in sys>android_touch.
HTC DNA
LG Optimus G
Click to expand...
Click to collapse
Got it. Looks like this was bad timing to release a kernel, apparently we're moving from m7 to msm8960 soon...
Sent from my Droid DNA using Tapatalk
i love the convenience of s2w and dt2w and now we have it for aosp and sense! what a awesome time this is to own a dna
Swipe or double tap to sleep isn't working. Normal?
-DroidIsDNA- said:
Swipe or double tap to sleep isn't working. Normal?
Click to expand...
Click to collapse
Dt2s is working for me. S2w isn't functional yet. Is dt2w working for you?
If you have dt2s enabled in your ROM settings, make sure you disable it as out counteracts the kernel's dt2s.
Sent from my Droid DNA using Tapatalk
jamiethemorris said:
Dt2s is working for me. S2w isn't functional yet. Is dt2w working for you?
If you have dt2s enabled in your ROM settings, make sure you disable it as out counteracts the kernel's dt2s.
Sent from my Droid DNA using Tapatalk
Click to expand...
Click to collapse
I don't think I have it enabled in probam. Dt2w doesn't work
-DroidIsDNA- said:
I don't think I have it enabled in probam. Dt2w doesn't work
Click to expand...
Click to collapse
Did you follow the instructions in the op to enable it? It should be enabled by default I think but if not I put instructions there
Sent from my Droid DNA using Tapatalk
jamiethemorris said:
Did you follow the instructions in the op to enable it? It should be enabled by default I think but if not I put instructions there
Sent from my Droid DNA using Tapatalk
Click to expand...
Click to collapse
Oops I meant double tap to sleep I'm sorry
-DroidIsDNA- said:
Oops I meant double tap to sleep I'm sorry
Click to expand...
Click to collapse
That's weird then. You have to double tap the status bar in case you didn't already know that. If that's still not working, then enabling the ROMs version of it in settings should do the trick.
Sent from my Droid DNA using Tapatalk
jamiethemorris said:
That's weird then. You have to double tap the status bar in case you didn't already know that. If that's still not working, then enabling the ROMs version of it in settings should do the trick.
Sent from my Droid DNA using Tapatalk
Click to expand...
Click to collapse
Ohhhhhh, yeah I was double tapping above the menu keys. Status bar works flawlessly. Thanks! Idk if its in the op or if I just blanked out
-DroidIsDNA- said:
Ohhhhhh, yeah I was double tapping above the menu keys. Status bar works flawlessly. Thanks! Idk if its in the op or if I just blanked out
Click to expand...
Click to collapse
It actually wasn't in the OP, I just added it for clarification.
Is force fast charge on by default?
HTC DNA
LG Optimus G

[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