[KERNEL][Philz][KitKat][ANYKERNEL][03/10/14] Phantom Kernel r17 - Sony Xperia L

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
Features-
Universal KitKat rom support through anykernel updater script.
Latest PRIMA and kernel changes from CAF(not there in default kernel yet).
USB Fast Charge.
GPU Undervolt.
CPU Underclock(300 mhz).
Kernel NEON mode.
System wide high priority power efficient workqueues for workqueue/PHYLIB/block/ASoC/regulator.
Userspace voltage control.
Merged many missing upstream patches.
Added optimized ARM RWSEM algorithm.
Enabled hell load of more TCP congessions:
HTML:
* .westwood (default)
* .reno
*. bic
*. highspeed
*. hybla
*. htcp
*. vegas
*. veno
*. scalable
*. yeah
*. lp
*. illinois
Added frandom.
Compiled using latest Linaro 4.8 toolchain(smoothness redefined).
Optimization flags.
Governors-
HTML:
interactive (default)
intelliactive (new)
conservative
ondemand
lionheart (new)
performance
ondemandplus (new)
intellidemand (new)
smartmax(new)
I/O Schedulers-
HTML:
row (default)
noop
deadline
cfq
bfq (new)
fiops (new)
sio (new)
tripNdroid
Allow unaligned access for CPU.
Switched to XZ compression for kernel.
NOATIME and NO DIRATIME by default.
Disabled Gentle Fair Sleepers and enabled ARCH_POWER(more UI responsiveness).
Added optimized AES and SHA1 routines.
Some stuff already there in default kernel-
Vibrator intensity control.
....and much more more stuff which is working as secret sauce in making this kernel awesome. I am done with long and never ending features list, go ahead and check github.
Toggles and controls for everything can be found in Trickster MOD app and remember to undervolt voltages by -62.
And I haven't added OC in this kernel because I don't want to make it unstable and I think its smooth enough on 1.2 Ghz itself.
Issues-
-You tell.
Download link-
For KitKat:
Download: http://forum.xda-developers.com/devdb/project/?id=1304#downloads
Instructions-
Flash zip through recovery
It is my request to you all that please do not spam the thread with general queries and Q&A. It is a development thread and only development related posts should be there. Post your general queries and Q&A here- [DISCUSSION][Q&A][KERNEL] Phantom by Shivam Kuchhal
GPL Compliance:
Just a statement regarding kernel source: The Kernel Source is of course covered under GPL version 2. Free software does NOT mean no work or time was spent working on it. I have donated a large sum of my free time to this kernel. If you want to include my kernel in your project or use my source code, please mention it in your post, give proper credits.
Opensource does not mean 'Out-of-credit'
Thank you.
I would like to mention much more things but I don't like bloated OP's so I am keeping it short.
XDA:DevDB Information
Phantom Kernel, Kernel for the Sony Xperia L
Contributors
Shivam Kuchhal
Kernel Special Features: Stability is the best feature nowadays
Version Information
Status: Stable
Created 2013-10-26
Last Updated 2014-10-04

Credits and Changelog
These are some of those awesome guys who keep helping me every now and then.
@iluvyoulinux
@dj2tusk
@varun.chitre15
@skad00sh for banner.
Sorry if I still missed anyone.
Changelog:
v1:
Initial Release. More features to come soon.
v2:
Updated to 4.2.2.
v3:
Fixed WiFi.
v4:
Major update.
1- Intelli-plug 2.0
2- Overclocked up to 1.5 Ghz.
3- PS3 Controller Support.
4- Simple I/O Scheduler.
5- Tweaked VM Readahead to 2048 kb.
6- Voltage Control.
7- Force 500Ma charging on unknown wall chargers and car chargers.
8- Disabled Gentle Fair Sleeps and enabled ARCH_POWER.
9- Added Wheatley Governer.
10- O3 Compiler optimizations.
11- Compiled using NEON compiler optimizations.
v5:
Initial KitKat support.
Check OP for list of features on KitKat kernel, Jellybean kernel is still limited to v4.5
v6:
Introducing newer Intelli-plug in kernel.
OC up to 1.5Ghz
Userspace voltage control.
Newer Eco mode.
Dynamic Fsync 2.0.
Added ARM optimization flags while compiling.
Lock initial TCP window size to 64k (Improves network ping and output)
Asynchronous I/O latency to a solid-state disk greatly increased
Added optimized AES and SHA1 routines.
Optimized apply_slack() method for size and speed
Entropy tweaks.
Patches from mainline 3.5 to hopefully help with hotplug efficiency.
Added touch boost support for taoshan touchpad driver in Intelli-plug.
Dynamic management of dirty page writebacks
Salvaged some RAM.
Disabled unwinding support.
..and some more patches and tweaks which I probably forgot to mention.
v6.1:
KitKat:
Switched to TWRP 2.6.3.0 instead of very very old CWM.
Jellybean:
Two versions of kernel: OC and NON-OC, just like KitKat kernel.
Switched to TWRP 2.6.3.0 instead of very very old CWM.
Introducing newer Intelli-plug in kernel.
Added more ARM optimization flags.
Lock initial TCP window size to 64k (Improves network ping and output).
Asynchronous I/O latency to a solid-state disk greatly increased.
Added optimized AES and SHA1 routines.
Optimized apply_slack() method for size and speed
Entropy tweaks.
Patches from mainline 3.5 to hopefully help with hotplug efficiency.
Added touch boost support for taoshan touchpad driver in Intelli-plug.
Salvaged some RAM.
Disabled unwinding support.
Removed Simple I/O Scheduler.
Removed Wheatley governer.
v7:
Merged Internal storage fix by @siankatabg into the KitKat kernel. I'll post extra work to be done by user too.
Switched to auto hot plug from intelli-plug. Reason is that when I updated intelli-plug as per latest updates by faux123 and added his special dual core intelli-plug, device started lagging like hell. If anybody can help me out with fixing dual core intelli-plug, feel free to send a pull request on github.
Switched to latest Linaro GCC 4.7.4 with optimization for cortex A15 CPUs. You'll notice the bump in smoothness.
Added more flags for cortex A15 while compiling. Smooooth.
Added CPU OC up to 1.7 Ghz.
Complete SELinux integration, now you can change mode between permissive and enforcing too.
Fixed over ride of frequency of second core completely(I need feedback on this).
Introducing Intelli-thermal in kernel which is a better and smoother alternative to stock thermal controller, I have turned off stock thermal monitor completely.
Added latest intelli-active governer with touch boost support for taoshan touchpad driver.
Introducing Charger Control found in Thunderzap kernel. Thanks to @varun.chitre15
Fixed date and time stamps in recovery.
Asynchronous fsync: Initial extraction from HTC.
Enabled Westwood TCP Congession.
Enabled Sony PS3 controller support back.
Changed boot splash logo to a more funky and cooler Phantom kernel one.
Updated TWRP to v2.7.
v8:
Rebased to CAF.
v8.5:
General fixes.
v8.7:
Switched to anykernel updater.
v9:
Switched to Philz recovery from TWRP.
Updated kernel to 3.4.4(lots of improvements), I will update it to latest releases one by one as I get time.
Synced with CAF upstream changes(some really major changes for performace and stability).
Synced with PRIMA upstream changes.
Fixed date and time stamps resetting on boot.
Enabled Conservative governor.
Added Simple I/O scheduler.
Increased MM heap size for smooth streaming.
Use performance governor as default for faster boot. It will automatically switch to ondemand after that boot has finished.
Added ramconsole device(last_kmsg).
Disabled useless modules.
v10:
Compiled using O4 optimizations(latest and first time for Xperia L).
Reverted and cleaned hell load of crap optimization flags which were causing issues.
Fixed a very major bug in this kernel, you must be getting some weird folders with unicode characters. Well good news is that they're fixed now.
Added more tweaks to cpufreq driver.
Added more patches to selinux and security contexts.
Added better compiler optimizations.
Asynchronous I/O latency to a solid disk state greatly increased.
Set row as default I/O scheduler.
v11:
Reverted back to 3.4.0.
Updated Philz Touch to latest version.
lib/memcopy and lib/string: Use glibc version(10x faster than default).
Added frandom.
Reduced fast charge load to 850 mA(safer).
Added GPU voltage undervolt support(Instuctions in 3rd post).
Updated bfq I/O scheduler to v7r5
Added fiops I/O scheduler.
Added F2FS filesystem support.
Increases MM readahead to 256.
Patches to writeback:
Fix occasional slow sync.
Fix writeback cache thrashing.
Fix race that cause writeback hung.
Enabled hell load of more TCP congessions:
HTML:
* .westwood (default)
* .reno
*. bic
*. highspeed
*. hybla
*. htcp
*. vegas
*. veno
*. scalable
*. yeah
*. lp
*. illinois
Improved IO throughput.
Remove useless tracer support.
Switched to XZ compression for kernel.
Patches to improve deep sleep.
NOATIME and NO DIRATIME by default.
Fix entropy depleting.
Enabled pipe flag.
v12:
Cleaned up whole source and started from scratch.
Remove useless and poorly implemented features.
Added ondemandplus governor.
Added intellidemand governor with generic touch boost written by me.
Added wheatley governor.
Lots of patches to ondemand governor.
Updated intelliactive to support taoshan better.
Patches to deadline I/O scheduler.
Stripped kgsl code to build only required drivers for taoshan.
Proper hardware detection through model number,
Allow unaligned access for CPU.
Added more patches to SELinux.
Added missing code to cpufreq drivers.
Added patches to SCHED.
Patches to writeback.
Always set noatime no diratime on all partitions! I/O Boost!
smp: patches from mainline 3.5 to hopefully help with hotplug efficiency.
Optimize apply_slack() for size and speed.
Lock initial TCP window size to 64k (Improves network ping and output).
mm: Dynamic management of dirty page writebacks.
Random: Entropy tweaks.
Asynchronous I/O latency to a solid-state disk greatly increased.
Optimized SLUB.
r13:
CPU Underclock(300 mhz)- not enabled by default.
Compiled using latest Linaro 4.9.
More optimization flags.
Kernel NEON mode.
A bit more sliced AES routines.
Patches to MM.
Patches to hrtimer.
Patches to timer.
Patches to mutex.
Patches to futex.
Patches to cpufreq.
Patches to interactive.
Patches to tick.
Added optimized ARM RWSEM algorithm.
System wide high priority power efficient workqueues for workqueue/PHYLIB/block/ASoC/regulator5
Input: Send events one packet at a time.
Stripped auditing.
Fix ROW crashing.
Readahead: make context readahead more conservative.
SMP patches.
r14:
Fix weird folders appearing.
Back to Linaro 4.8(more stable for us).
Updated Philz Touch recovery(included in r13 also).
r15:
Fix weird folders appearing.
Back to Linaro 4.8(more stable for us).
Updated Philz Touch recovery(included in r13 also).
r16:
Merged in latest CAF kernel patches(lots and lots of them).
Merged in latest PRIMA changes from CAF(more stability and bug fixes).
Switched to latest Linaro 4.9.2 for compilation.
r17:
Switched back to Linaro 4.8 for compilation.
Fix weird folders(again, again and again).
Added smartmax governor.
Added tripNdroid scheduler.
Updated exFat driver to latest open source upstream.
Updated F2FS driver.
Lots of patches to block.
af_unix: speedup /proc/net/unix.

FAQs
Well lets begin, almost all features can be controlled using the TricksterMOD.
Q: What are the recommended kernel settings?
A: Do as stated below:
It is highly recommended to all users to use the following new voltage table. I have been using it since 3 days and results are quite impressive in terms of overall battery usage:
Code:
384000: 837500
432000: 837500
486000: 837500
540000: 862500
594000: 862500
648000: 887500
702000: 887500
756000: 937500
810000: 937500
864000: 962500
918000: 962500
972000: 987500
1026000: 987500
1080000: 1037500
1134000: 1037500
1188000: 1062500
1242000: 1062500
1296000: 1087500
1350000: 1087500
1404000: 1100000
1458000: 1107500
1566000: 1115000
Use Trickster MOD app to do all this.
Q. I am having abnormal battery drain
A:
Most of the time the kernel isn't responsible for this.
a) Make sure you are on stock frequency of 1Ghz. Sometimes the frequency is getting overridden to 1.5Ghz even if you didn't set that. To avoid such situations use frequency lock option from Trickstermod kernel app.
b) The kernel is not pre-undervolted any more. You can undervolt it on your own. Optimum value is 62mV. Don't undervolt more than that
Q: How to access recovery?
A:
Keep pressing volume down button when you see Sony or Phantom logo.
Q: How to use GPU Voltage Control?
Currently there are no GPU voltage controlling apps.
Obtain current voltage values:
HTML:
cat /sys/devices/system/cpu/cpu0/cpufreq/gpu_mv_table
Output will be something like this:
945 mV
1050 mV
1150 mV
Change these values:
HTML:
echo "930 1000 1100" > /sys/devices/system/cpu/cpu0/cpufreq/gpu_mv_table
This will change the voltages as below
930 mV
1000 mV
1150 mV

Info
Don't ask me questions which I can't or don't want to answer. Like-
1- More Governers, I/O schedulers.
2- More OC or GPU OC.
3- ETA.
4- Doubletap2wake or sweep2wake.
5- More useless features.

Gonna try right now!!!
Sent from my C2104 using Tapatalk

Keep up the good work bro !! Good luck & all the best!! :good:

New kernel?
Any changes in comparision with Rachit kernels?

Pudel89 said:
New kernel?
Any changes in comparision with Rachit kernels?
Click to expand...
Click to collapse
Well, I was a loyal user of Vengeance kernel since I bought Xperia L but I made this kernel according to my own needs so that I can fulfill needs of people from my point of view. For more info you can check the features of kernel. Also you can take a look at my git when I upload my source.

After using so many hours, yeah, this kernel is awesome!!
Also I got very good battery backup.
Can you make two versions?
One with stock frequency and another overclocked
Sent from my C2104 using Tapatalk

skad00sh said:
After using so many hours, yeah, this kernel is awesome!!
Also I got very good battery backup.
Can you make two versions?
One with stock frequency and another overclocked
Sent from my C2104 using Tapatalk
Click to expand...
Click to collapse
I will try my best bro. :good:
Sent from Batman's mighty laptop

i cant find link for download,where is it?

kris555777 said:
i cant find link for download,where is it?
Click to expand...
Click to collapse
You need to go to the top of the thread and click on download and then select kernel. all downloads for the selected device are in that section.
---------- Post added at 10:55 PM ---------- Previous post was at 10:44 PM ----------
Dose anyone know how to get wifi to stay enabled? I have tried flashing the modules but have not had any successes. It is the same story for any modifications I download. I am also using 15.0.A.2.17 please don't tell me I'm doing it wrong!

HatchetEgg said:
You need to go to the top of the thread and click on download and then select kernel. all downloads for the selected device are in that section.
---------- Post added at 10:55 PM ---------- Previous post was at 10:44 PM ----------
Dose anyone know how to get wifi to stay enabled? I have tried flashing the modules but have not had any successes. It is the same story for any modifications I download. I am also using 15.0.A.2.17 please don't tell me I'm doing it wrong!
Click to expand...
Click to collapse
Just flash the kernel zip i have provided and everything will be fine.

Thanks. I would like to know dose your kernel support init.d?

Does your kernel shows like this in kernel version??

faizalotai said:
Does your kernel shows like this in kernel version??
Click to expand...
Click to collapse
Yeah I also have that but don't worry there's nothing to worry. Also I will fix it ASAP
Sent from Batman's Pico

Thanks bro for quick answer..

A big thanks to @skad00sh for making banner for OP. Great job man. :good::victory::highfive:

Good work keep up men.tnx

Halt update
Guys as we all know that new 4.2.2 update is coming soon for our phone. I am thinking of delaying updates for this kernel but don't worry. I will update my kernel as soon as Sony releases kernel source for new update. I hope you guys will appreciate my decision. :good:

Related

[SUPPORT][Q&A][AOSP][M] Hells-Core Kernel By Hellsgod (b20, 26/05)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This thread has been created to facilitate users about HellsCore Kernel, probably the best kernel for our Nexus 5. This thread is AIO thread i.e. for Q&A, SUPPORT, UPDATES, ETC.
This kernel is made by hellsgod and not me, so technically device requests, kernel issues should directly address to him instead of me.​
<!-- Download Links: --!>
Beta 20 from Basketbuild
<!-- Changelog: --!>
Code:
[COLOR="#3F51B5"] !-- b20 for 6.0.1 [/COLOR]
-merged some memorymanagement related stuff
-merged some changes from franco to allow HZ=300 - like the newer devices (N6/N5X/N6P)
[COLOR="#3F51B5"] !-- b16 for 6.0.1 [/COLOR]
-updated to latest aosp kernel source (android 6.0.1)
[COLOR="#3F51B5"] !-- b11 M [/COLOR]
SuperSU 2:50 Allows root without SELinux permissive, so I reverted the previous SELinux hack. Please read this short guide for gain root access: [URL="http://hc-kernel.blogspot.ch/2015/10/android-m-how-to-gain-root.html"]HOW TO GAIN WITH ROOT SUPERSU 2:50[/URL]
-reverted SELinux hack
<!-- Older changelogs: --!>
Code:
[COLOR="Blue"][B]b15 for Lollipop:[/B][/COLOR]
-merged 5.1.1 sources (only one commit)
-hellsactive: Add input logic
[COLOR="Blue"][B]b11 for Lollipop:[/B][/COLOR]
-crypto fixes
-fs fixes
-compiled with latest UBERTC
[COLOR="Blue"][B]b9.5 UBERTC for Lollipop (Test build):[/B][/COLOR]
-compiled with UBERTC
-build flags optimizations
(You can check stats/results here - [URL="http://goo.gl/WXzO8k"]http://goo.gl/WXzO8k[/URL] and use only Dropbox link for now.)
[COLOR="Blue"][B]b9.4 for Lollipop:[/B][/COLOR]
-merged many commits from upstream/mainline to improve several subsystems
-merged new KCAL color control by @savoca You can play around with it with this app: [url]http://goo.gl/FM9oHi[/url]
[COLOR="Blue"][B]b8.5 for Lollipop:[/B][/COLOR]
-Rebased sources
-Removed most of the IPv4/IPv6/Net patches from new LMK and OOM patchset
-Some improvements for the scheduler
-Binder: synced with Upstream/Mainline
-Android logger: improvements
-Maybe some things that even Laurent forgot :p
[COLOR="Blue"][B]b8.0 for Lollipop:[/B][/COLOR]
-some love for interactive/hellsactive
-msm-sleeper: use ex_max_freq
-misc fixes from upstream (3.4.y)
-revamp spinlock ASM code
-try a new build flag (floop-nest-optimize)
-little fixes from caf
[COLOR="Blue"][B]b7.7 for Lollipop:[/B][/COLOR]
-sched/nohz/irq/genirq optimizations from linux mainline
-some optimizations from caf
[COLOR="Blue"][B]b7 for Lollipop:[/B][/COLOR]
-removed msm_mpdecision input boost framework
-added cpu-boost driver for touch boost and cpu-boost
-sched: Make scheduler aware of cpu frequency state
-optimizations for cpu-boost and window based load
-set touch boost to 1190mhz
-decreased duration from 1s to 500ms
-cpufreq: hellsactive: set hispeed_freq from 1190mhz to 1497mhz
-cpufreq: cpu-boost: set sync_threshold to 1728mhz
-cpufreq: cpu-boost: set migration_load_threshold from 15 to 30
-mm/writeback/vfs fixes from upstream and caf
-iommu fixes
-usb/usb subsystem/scsi/net and other misc fixes from upstream
[COLOR="Blue"][B]b6.5v3 for Lollipop:[/B][/COLOR]
-Reverted all the bus changes
[COLOR="Blue"][B]b6.5v2 for Lollipop:[/B][/COLOR]
-reverted the new krait regulator system
-reverted two sched patches
-added two good looking patches for hellsactive and interactive
-disabled some debugging and not needed features
[COLOR="Blue"][B]b8.6 for Kitkat/b5.6 for Lollipop:[/B][/COLOR]
-scheduler fixes
-some missing arm patches (fix for the reboot issue some encountered)
-other little fixes here and there ([URL="http://goo.gl/9gE0T0"]refer to git for exact changelog[/URL])
-removed power efficiency patchset, because its only for armv8
[COLOR="Blue"][B]b8:[/B][/COLOR]
-Several ARM patches for suspend/cacheflush/MPU
-New build flags
-kgsl: Wakeup only for touch events (to make sure the input event handler is called only for touch inputs)
-mdss fixes from CAF
-New slimbus changes from CAF
-camera: Fixes
-Fixes and improvements here and there (refer to git)
[COLOR="Blue"][B]b6.9:[/B][/COLOR]
-merged some patches from nvidia for a better power efficiency (could save some battery)
-arm: lib: Using hard-float (maybe some little performance gain)
-reverted the arm topology (to merge a newer version of it)
-merged new arm topology (more efficiency)
-added a sysfsinterface to enable and disable gentle fair sleepers (disabled by default - maybe improves UI smoothness)
-added a sysfsinterface to enable and disable arch power (disabled by default - could give some more efficiency by screen on, but drains more battery in standby)
-removed sched_mc (because its broken since forever and nobody really cares to fix it)
-cpufreq: hellsactive: removed unused boostpulse interface
-cpufreq: hellsactive: the governor now jumps only to two phase freq if cur_freq >= hispeed_freq to avoid unnecessarly jumps from min_freq (could save some battery)
-scheduler patches from upstream, some backports from faux (could improve battery under heavy load)
-mm: Adjust dirty writeback for IO boost (maybe drains some more battery, but could improve IO)
-fs: dcache: set vfs_cache_pressure 40% (maybe some little more IO boost)
-some new compiler voodoo (could improve overall performance, smoothness, efficiency...)
-some other little things here and there but not so important to mention...
[COLOR="Blue"][B]b6.1:[/B][/COLOR]
-msm_mpdecision: a tad more conservative
-smp fixes
-ARM fixes
-cpuidle/PM fixes
-msm_thermal: update
-mm/vmscan fixes
-random fixes
-memcpy optimizations for cortex A15
-Bluetooth fixes
-New touch screen drivers
[COLOR="Blue"][B]b5.0:[/B][/COLOR]
-i2c
-SoundControl
-kthread
-SELinux
-sched
-cgroup
For exact changelog, check git.
[COLOR="Blue"][B]b4.4:[/B][/COLOR]
-New governor: hellsactive*
-cpufreq patches (logic and leaks, typos)
-some fixes here and there
-msm-sleeper: save previous max freq
-compiled with boostedtc 4.9.2 by @aznrice2k4
*hellsactive:
-Based upon intelliactive
-removed input boost (we have an input boost in the hotplug driver)
-removed sync feature
-removed sampling down factor
Following was added:
-Align timer windows for all CPUs*
It's more advantageous to evaluate all CPUs at same time so that interactive governor gets a complete picture of the load on each CPU at a specific time. It could also reduce number of speed changes made if there are many CPUs controlled by same policy. In addition, waking up all CPUs at same time would allow the cluster to go into a deeper sleep state when it's idle.
-Reset last evaluated jiffy in idle callback*
When CPU has been busy for a long time, last evaluated jiffy will be quite behind because the timer would have been canceled. We don't want to schedule a timer to fire in the past as load will always be 100%. Reset last evaluated jiffy so that timer will be scheduled for thenext window.
-Round up timer_rate to match jiffy*
Timers are scheduled in unit of jiffies. Round up timer_rate so that it matches the actual sampling period.
-Use del_timer/add_timer_on to rearm timers*
Replace mod_timer_pinned() with del_timer(), add_timer_on(). mod_timer_pinned() always adds timer onto current CPU. Interactive governor expects each CPU's timers to be running on the same CPU. If cpufreq_interactive_timer_resched() is called from another CPU, the timer will be armed on the wrong CPU.
Replacing mod_timer_pinned() with del_timer() and add_timer_on() guarantees timers are still run on the right CPU even if another CPU reschedules the timer. This would provide more flexibility for future changes.
-Support variable frequency calculations**
Use a threshold value up to which we are evaluating the current speed weighted by current load against each new choice of speed. Above switch to the original frequency calculation proportional to load relative to the max possible frequency which allows for more dynamic and fair changes.
Default threshold is policy->min which guarantees minimal freqs and energy usage during (offloaded) media playback.
Also, choose the highest frequency below or at target, which generally saves us one freq level.
-Don't scale beyond min if the load is low***
-Thread migration commit***
I've just made some changes on commits to suit my needs.
<!-- Follow: --!>
Official Blog / Google+ community / Laurent Hess aka hellsgod
TBD
Q: My kernel app tells me my min_freq is 960mhz. Why is that?
A: Its because of input boost. Your frequency will be boosted to 960mhz as soon as you touch your screen. It will be boosted for 1 second after touch. So you have smooth animations and no scrolling stutters.
Q: My device rebooted / didn't wake up from deep sleep. What can I do to help you to find the cause?
A: Install "Syslog" from the Play Store and get me the "Last Kernel Log" or do it via terminal. You'll find the command here.
Q: Will you ever add S2W/S2S?
A: No.
Q: Why the cpu jumps to 1190mhz so ofter during idle?
A: Thats because we're using an interactive based governor. Interactive based governors jumps to hispeed_freq (1134mhz) if the load reaches 99%. Don't forget, even if you're doing nothing, you always have some background load. The lower you set your min_frequency, the faster it reaches 99% load and will jump to hispeed_freq more often.
Q: Will there be any CAF version of this kernel?
A: No. But on Android L, currently almost every ROM uses AOSP so it won't matter much right now. Future might be holding some cards, which we don't know yet.
Q: Does this kernel support f2fs?
A: No. It's not planned to be included right now.
Q: Hells-Core Kernel Manager supports Nexus 5?
A: Yes. Latest update is working perfectly as it should. You can use it to tweak your kernel parameters.
[Credits: hellsgod's post from N4 forum]
Just great, my thread has got a brother now, yoohoo! (or a sister? [emoji12])
Sent from my Darkside of LG G2
xanthrax said:
Just great, my thread has got a brother now, yoohoo! (or a sister? [emoji12])
Sent from my Darkside of LG G2
Click to expand...
Click to collapse
Both .. No discrimination here at XDA .
One of my favorite kernel on N4! Does this have both gamma and RGB control?
gpvecchi said:
One of my favorite kernel on N4! Does this have both gamma and RGB control?
Click to expand...
Click to collapse
Yes, as I've listed the features in the OP. It has those features.
Crytech said:
Yes, as I've listed the features in the OP. It has those features.
Click to expand...
Click to collapse
Thanks! I see just gamma in the OP...
wow this is mu favorite core from N4.....i very happy to see you here....
Cm 11 support?
Akoolive said:
Cm 11 support?
Click to expand...
Click to collapse
No.
hells
Akoolive said:
Cm 11 support?
Click to expand...
Click to collapse
Good question. I'll update OP that this is AOSP Kernel.
I tested Uber and code blue and elemental on miui rom but i think your kernel is better on that rom TNX man ..Keep working...the only important thing for me is battery life..
Haven't heard of an update to this kernel is sometime... Nice to see there's a live update with a thread now. !
What're the Boosted Versions?
Latest is 4.8, changelog(I suppose) says 4.4. Any major changes, or just small things?(Wondering if everything under " Following Added " is what's missing.
And thanks.
Curiousn00b said:
Haven't heard of an update to this kernel is sometime... Nice to see there's a live update with a thread now. !
What're the Boosted Versions?
Latest is 4.8, changelog(I suppose) says 4.4. Any major changes, or just small things?(Wondering if everything under " Following Added " is what's missing.
And thanks.
Click to expand...
Click to collapse
Its called boosted because of the toolchain. It was a test version and now I'm using this toolchain for future releases. There were some changes in between, yes. Mostly upstream things. If you really want to know what exactly, check my git I'm working on 5.0 right now.
hells
Jiphaaaa. Always running HC on my N4 and now that I buy a N5 there come a tread for N5 yeah. Tnx Hells!!!!
abalam said:
Jiphaaaa. Always running HC on my N4 and now that I buy a N5 there come a tread for N5 yeah. Tnx Hells!!!!
Click to expand...
Click to collapse
It's been here on n5 for quite a few days, just the thread was not here which I did .
Crytech said:
It's been here on n5 for quite a few days, just the thread was not here which I did .
Click to expand...
Click to collapse
And we are all grateful to you for!!
@Crytech can you add in title the version and release date, so we can see when @hellsgod change his stuf.
Tnx!
Ah Yeah. Kernel runs great here!
Min 192
Max 2265600
Interactive
Row

[KERNEL][merlin/osprey] 09-10-2016 AGNi pureMOTO v3.3

AGNi pureMOTO v3.3 (merlin/osprey)​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For android 6.0.x CM/STOCK : (based on CM13 sources)
AGNi pureMOTO CHANGELOG:-
v3.3:-
Import adreno kgsl & iommu from LA.BR.1.3.2-04330-8976.0
fs: dynamic sync 2.0
tcp_output: set initial TCP window size to 64K (speed improvement)
sync CM13 sources
v3.2:-
sync CM commits
v3.1:-
sync lot of cm commits
Switch to UBERTC gcc-6.1.1-arm-eabi
added missing CPU oc options for osprey
v3.0:-
sync cm commits
implement 1.8 Ghz cpu + 650 Mhz gpu oc for osprey
enable USB-serial and USB-option support
msm: mdss: fix concurrency between add vsync handler and stop
mdss: lock the offlock mutex correctly
msm8916.dtsi: add qcom,fast-shutdown
various miscelleneous commits implemented
GPU frequencies selectable by AGNi control
v2.9:-
qpnp-vibrator/drv2605: add tunable to change methods for Stock & CM roms
fs/char_dev.c: remove pointless assignment from __register_chrdev_region()
workqueue: fix ghost PENDING flag while doing MQ IO
ASoC: msm: audio-effects: misc fixes in h/w accelerated effect
cpu: Defer smpboot kthread unparking until CPU known to scheduler
cpu: Handle smpboot_unpark_threads() uniformly
add cm/stock method of vibrator working in agni control
added faux sound control options in agni control
msm: mdss: fix possible out-of-bounds and overflow issue in mdp debugfs
msm: camera: ispif: Validate VFE num input during reset
msm: kgsl: Cast perfcounter query count to an unsigned int
msm: kgsl: Add missing checks for alloc size and sglen
ASoC: msm: audio-effects: fix stack overread and heap overwrite
f2fs: set f2fs garbage collection thread as freezable
v2.8:-
AGNi Control script fixes and additions
ARM: smp: add memory barrier before waking thread up
Update zram,zbud,zsmalloc,zpool,zcomp,zswap from MMI-MPD24.107-52
clusterplug/thunderplug: write module exit information to enable unloading when used as modules
v2.7:-
revert the previous zram updates
updates to lib/bitmap,idr,genalloc,sort,ratelimit,digsig,halfmd4,kfifo,lcm
usn & net commits
update lib/random32 and use e/frandom,prandom_u32 functions in many places
thunderplug: auto disable bcl hotplug when thunderplug is active by using the new hotplug_switch tunable in bcl
fix derps in zzmoove
Introducing my AGNi Control app with supported scripts:
-simplified settings at user's disposal! (more are to come)
-each selection in this app is related to a particular script, which is moved to init.d and executed and user settings are preserved on boot by init.d
-on-the-fly switching between thunderplug/clusterPlug/statehelper/No-hotplug options
-the app will lock some settings by read-only permissions, hence those are not changeable by other apps like 'Kernel Auditor', to have consistency of settings.
v2.6:-
disable Memory Resource Controller Swap Extension
disable Memory Resource Controller Kernel Memory accounting
disable RCU boosting
disable SCHED_SMT
Reworked the activation of selected hotplug-type and execution of agni's default settings on boot
set zram max_comp_streams: merlin=1
selinux: disable enforcing mode and set permanent permissive (solves all osprey settings issues, and some merlin permission denials as well)
v2.5:-
enable Zsmalloc's PGTABLE_MAPPING
enable Memory Resource Controller Swap Extension
enable Memory Resource Controller Kernel Memory accounting
enable Optimize very unlikely/likely branches (JUMP_LABEL)
enable VMALLOC_SAVING
disable NO_VM_RECLAIM
disable MMC_PERF_PROFILING
disable LOCKUP_DETECTOR
disable DEBUG_MUTEXES
disable DYNAMIC_DEBUG
netfilter: x_tables: check for size overflow
set touchboost frequency to 800Mhz for cpu0 (merlin)
set swappiness=60
set zram sizes: merlin=600MB, osprey=400MB
set zram max_comp_streams: merlin=3, osprey=1
v2.4:-
add support for GCC 6.0 and switch to UBERTC gcc-6.0-arm-eabi toolchain
includes my new compiled busybox [BusyBox v1.25.0_AGNi_kernel->[email protected] (2016-05-17 21:51:16 IST)]
ppp: take reference on channels netns
squash commit: update zram & zsmalloc
changed thunderplug threshold
enable filesystem-sync on suspend & fix ak09912 sensor (osprey)
zram size change (osprey 300MB)
v2.3:-
Update Adreno graphics driver
zram size changes (merlin: 450MB, osprey 200MB)
v2.2:-(focused on multitasking apps user experience)
sync cm sources (ALSA leak fixes)
ion: adjust system heap pool orders
mm: adjust page migration heuristic
enabled CONFIG_RCU_BOOST, CONFIG_MEMCG & disabled CONFIG_RMNET_DATA_DEBUG_PKT
Zram size and parameters tweaked
v2.1:- (focused on cpu tuning)
sync cm kernel sources
update cpu boost driver
lib: align source before using optimized implementation
video: Speed up console framebuffer imageblit function
rcu: Don't disable CPU hotplug during OOM notifiers
cpufreq: interactive changes
selinux: add security in-core xattr support for esdfs,f2fs,exfat
char: msm_smd_pkt: Reduce log severity of signals
lib: do_strncpy_from_user: Fix return error code for get_user failures
disabled some debugging
enable arm crypto crc32 support
enable cleancache
removed ksm for good
modified min cpufreq, thunderplug, interactive, adreno idler tunables
screen off wil force single-core mode, makes no difference to music playback
kernel tunable apps are not actually required as I have already tuned this for various types of workloads
(do not enable "set on boot" in kernel auditor for all sections before using this, else you may not get the modified tunables)
v2.0:- (cummuative changelog)
arm cortex-a53 optimisation
wifi prima: update to LA.BR.1.2.7_rb1.5
cpufreq: Implement lionfish governor
cpufreq: Implement ZZMOOVE v1.0 beta 8 governor for snapdragon
drivers/usb/gadget: Implement usb keyboard/mouse role on android [SEE BELOW]
Add support for ARMv8 crypto SHA1,SHA2,AES
various ARM updates
updates for lib:zlib_deflate, lib:crc32, lib:bitmap
block: CFQ updates and modifications
adaptation of zzmoove for osprey/merlin/lux
msm8916,msm8939: mild undervolted
fs: exfat updated to v1.2.19
drivers/cpufreq: Implement smartmax cpu governor
usb: add usb fast charge
msm8916: gpu: Add 465 MHz max & 100 Mhz min frequency (osprey)
msm8939: gpu: Add 100 Mhz frequency (merlin)
Implement adreno idler
drivers/char: Implement frandom v1.1
Added optimized ARM RWSEM algorithm.
Implement DT2W (double tap to wake)
Implement state notifier driver
Implement state_helper (osprey)
Implement Thunderplug
block: Add SIO I/O scheduler
cpufreq: Add Impulse governor
cpufreq: Add ElementalX governor without gboost (osprey)
msm8916: Implement CPU OC to 1.4 GHz (osprey)
Enable module building for thunderplug, state helper, cluster plug selectable in the installer (avoids reboots due to conflicts)
Selected hotplug-type module is loaded at boot by init.d
Made quadcore adpatibility for thunderplug (osprey)
Update sony xpad driver
mm: Optimize SLUB
Implemented Faux123 sound control GPL v3.6 (untested)
Highly modified installer, patches the ramdisk while installation, uses my own busybox
init.d scripts execution independent on rom's support
BCL: config handle enable/disable BCL hotplug of CPUs (disabled BCL hotplug for merlin)
option in installer to turn off BCL completely (merlin)
state_helper: Follow reverse sequence to online offline cores (osprey)
lowmemorykiller: Don't count swap cache pages twice
enable KSM support, disabled by default
enable advanced tcp/ip cogestion, default westwood
powersuspend: new PM kernel driver for Android w/o early_suspend
cpufreq: Persist governor policies across hotplug
video: mdss: squash commit updates, including MDSS color control
video: mdss: Cyanogenmod LiveDisplay driver (needs rom support)
msm: msm_bus: remove the buspm module from kernel
mm: improve migration heuristic
ALSA: usb-audio: avoid freeing umidi object twice
msm8939/dts: keep gpu to lowest frequency on screen suspended (be cool on screen off) [merlin]
Old changelogs v1.0-1.9 :
v1.0:-
initial plain build
v1.1:-
arm cortex-a53 optimisation
wifi prima: update to LA.BR.1.2.7_rb1.5
cpufreq: Implement lionfish governor
cpufreq: Implement ZZMOOVE v1.0 beta 8 governor for snapdragon
drivers/usb/gadget: Implement usb keyboard/mouse role on android SEE BELOW
v1.2:-
Add support for ARMv8 crypto SHA1,SHA2,AES
various ARM updates
updates for lib:zlib_deflate, lib:crc32, lib:bitmap
various kernel scheduler updates
block: CFQ updates and modifications
cpufreq: Attempt adaptation of zzmoove for osprey/merlin/lux
msm8916,msm8939: mild undervolted
v1.3:-
cpufreq: adaptation of zzmoove for osprey/merlin/lux - PART 2
Switch toolchain gcc-linaro-5.3-2016.02_armv8l-gnueabihf and set -march=armv8-a
fs: exfat updated to v1.2.19
video: mdss: squash commit updates, including MDSS color control -all credits to respective authors
cpufreq:adaptation of zzmoove for osprey/merlin/lux - PART 3
v1.4:-
drivers/cpufreq: Implement smartmax cpu governor
Implement power-efficient workqueues
usb: add usb fast charge
msm8916: gpu: Add 465 MHz max & 100 Mhz min frequency (osprey)
msm8939: gpu: Add 100 Mhz frequency (merlin)
Implement adreno idler
drivers/char: Implement frandom v1.1
drivers/char: random updates
lib/random32 updates
fs: ext4: use e/frandom, do not deplete entropy
Added optimized ARM RWSEM algorithm.
Implement DT2W (double tap to wake)
Writeback: Fix occasional slow sync
v1.5:-
Revert "Power efficient workqueues"
fs/buffer.c: increase the buffer-head per-CPU LRU size
add msm_hotplug driver
Implement state notifier driver (osprey)
Implement state_helper (osprey)
v1.6:-
Implement Thunderplug (merlin)
block: Add SIO I/O scheduler
cpufreq: Add Impulse governor & ElementalX governors [tuned for merlin/osprey]
msm8916: Implement CPU OC to 1.4 GHz (osprey)
v1.7:-
Enable module building for thunderplug, state helper, cluster plug selectable in the installer (avoids reboots due to conflicts)
Selected hotplug-type module is loaded at boot by init.d
Made quadcore adpatibility for thunderplug (osprey)
v1.8:-
Update sony xpad driver
Implemented Faux123 sound control GPL v3.6 (untested yet)
cpufreq: add Barry allen governor
Highly modified installer, patches the ramdisk while installation, uses my own busybox
init.d scripts execution independent on rom's support
v1.8_r2:-
BCL: config handle enable/disable BCL hotplug of CPUs (disabled BCL hotplug for merlin)
option in installer to turn off BCL completely (merlin)
state_helper: Follow reverse sequence to online offline cores (osprey)
v1.9:- (COOL DOWN)
cpufreq: remove gboost from ElementalX
Revert: "PM / Wakeup: Use rcu callbacks for better performance"
sched/fair: Fix fairness issue on migration
lowmemorykiller: Don't count swap cache pages twice
Remove Barry allen governor
drivers/devfreq: make adreno idler & msm_adreno_tz work properly with state_notifier
enabled state notifier (merlin)
msm8939/dts: keep 220 MHz gpu frequency as default minimum (merlin)
enable KSM support, disabled by default
enable advanced tcp/ip cogestion, default westwood
enable zbud
USB keyboard & mouse by touchscreen feature:-
Implemented from: here
Download the app for supporting this keyboard & mouse feature HERE
NOTE: zzmoove governor needs more tuning for this platform
DOWNLOADS:- HERE
XDA:DevDB Information
AGNi kernel, Kernel for the Moto G 2015
Contributors
psndna88
Source Code: https://github.com/psndna88/AGNi_pureMOTO.git
Kernel Special Features: Based on CM13 Sources with selectively picked mods/patches
Version Information
Status: Beta
Created 2016-04-27
Last Updated 2016-10-09
Credits:-
Cyanogenmod
@squid2
@ZaneZam for zzmoove
Thankful to Testers:-
merlin: xt1557 - @shomil49 @Akash sky
xt1556 - @alaindupus
osprey: @HelpMeruth @Henriquefeira
Nice!
Nice work!!! We'll see that this !!!
Nice to see it being released! Everything fine and smooth here on CrDroid
Excelent Job! very nice!
Pretty smooth, but where is the GPU OC? It's still 465 MHz
??
sticktornado said:
Pretty smooth, but where is the GPU OC? It's still 465 MHz
Click to expand...
Click to collapse
osprey: max gpu freq 400mhz increased to 465 mhz & min frequency 100mhz added
merlin: min freq 100mhz added
psndna88 said:
osprey: max gpu freq 400mhz increased to 465 mhz & min frequency 100mhz added
merlin: min freq 100mhz added
Click to expand...
Click to collapse
No prob, but I figured it would be higher since it doesn't bring much of a difference. I've heard other devices with our chipset hitting 650 MHz
sticktornado said:
No prob, but I figured it would be higher since it doesn't bring much of a difference. I've heard other devices with our chipset hitting 650 MHz
Click to expand...
Click to collapse
which device ???
psndna88 said:
which device ???
Click to expand...
Click to collapse
Xiamoi Redmi 2. Heard it from this guy here: http://forum.xda-developers.com/showpost.php?p=66030427&postcount=87
sticktornado said:
Xiamoi Redmi 2. Heard it from this guy here: http://forum.xda-developers.com/showpost.php?p=66030427&postcount=87
Click to expand...
Click to collapse
Their kernel has 465 MHz to.. We tried a OC of 550 MHz but that didn't boot
Is this kernel stock 6.0.1 compatible?? I would love to try it on my xt-1550
TechAtPeak said:
Is this kernel stock 6.0.1 compatible?? I would love to try it on my xt-1550
Click to expand...
Click to collapse
it was reported to work by testers..
try n letme know
Ok thanks for the quick reply...going to flash it
psndna88 said:
AGNi pureMOTO v1.5 (merlin/osprey)​
For android 6.0.x : (based on CM13 sources)
AGNi pureMOTO CHANGELOG:-
v1.0:-
initial plain build
v1.1:-
arm cortex-a53 optimisation
wifi prima: update to LA.BR.1.2.7_rb1.5
cpufreq: Implement lionfish governor
cpufreq: Implement ZZMOOVE v1.0 beta 8 governor for snapdragon
drivers/usb/gadget: Implement usb keyboard/mouse role on android SEE BELOW
v1.2:-
Add support for ARMv8 crypto SHA1,SHA2,AES
various ARM updates
updates for lib:zlib_deflate, lib:crc32, lib:bitmap
various kernel scheduler updates
block: CFQ updates and modifications
cpufreq: Attempt adaptation of zzmoove for osprey/merlin/lux
msm8916,msm8939: mild undervolted
v1.3:-
cpufreq: adaptation of zzmoove for osprey/merlin/lux - PART 2
Switch toolchain gcc-linaro-5.3-2016.02_armv8l-gnueabihf and set -march=armv8-a
fs: exfat updated to v1.2.19
video: mdss: squash commit updates, including MDSS color control -all credits to respective authors
cpufreq:adaptation of zzmoove for osprey/merlin/lux - PART 3
v1.4:-
drivers/cpufreq: Implement smartmax cpu governor
Implement power-efficient workqueues
usb: add usb fast charge
msm8916: gpu: Add UC/OC frequencies
msm8939: gpu: Add 100 Mhz frequency
Implement adreno idler
drivers/char: Implement frandom v1.1
drivers/char: random updates
lib/random32 updates
fs: ext4: use e/frandom, do not deplete entropy
Added optimized ARM RWSEM algorithm.
Implement DT2W (double tap to wake)
Writeback: Fix occasional slow sync
v1.5:-
Revert "Power efficient workqueues"
fs/buffer.c: increase the buffer-head per-CPU LRU size
MSM: Add msm_hotplug driver by neobuddy89
Implement state notifier driver by neobuddy89 (intended for osprey)
Implement state_helper by neobuddy89 (intended for osprey)
USB keyboard & mouse by touchscreen feature:-
Implemented from: here
Download the app for supporting this keyboard & mouse feature HERE
NOTE: zzmoove governor needs more tuning for this platform
DOWNLOADS:- HERE
XDA:DevDB Information
AGNi kernel, Kernel for the Moto G 2015
Contributors
psndna88
Source Code: https://github.com/psndna88/AGNi_pureMOTO.git
Kernel Special Features: Based on CM13 Sources with selectively picked mods/patches
Version Information
Status: Beta
Created 2016-04-27
Last Updated 2016-04-27
Click to expand...
Click to collapse
Nice job
psndna88 said:
it was reported to work by testers..
try n letme know
Click to expand...
Click to collapse
I flashed it on stock 6.0.1 and the unfortunately its not booting....
TechAtPeak said:
I flashed it on stock 6.0.1 and the unfortunately its not booting....
Click to expand...
Click to collapse
it booted for me when testing, do you have any other mods installed?
HelpMeruth said:
it booted for me when testing, do you have any other mods installed?
Click to expand...
Click to collapse
No....i just dirty flashed stock 6.0.1 zip and then this kernel....i was using optimus kernel before that...

[MOD] Gov Tuner Project (November 10th 2018)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Gov-Tuner Project​
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards, corrupted partition, nuclear disasters
* Please do some research before using this mod!
* YOU are choosing to make these modifications,
* If you point the finger at me for messing up your device, I will laugh at you.​
IF YOU DO LIKE TO USE THIS MOD IN YOUR ROM, PRIVATE MESSAGE ME WITH THE LINK FOR YOUR ROM THREAD SINCE I'D LIKE TO TRACK EVERY ROMs USING THE MOD TO SEE THE COMMENTS ABOUT THE MOD INSIDE THE ROM's THREAD.
YOU CAN USE IT IN YOUR ROM, THE ONLY REQUEST IS A LINK TO MY THREAD AND THE PROPER CREDITS IN CONTRIBUTORS.
YOU CAN USE IT EXCLUSIVELY IN ROM'S, YOU CAN'T USE IT IN YOUR OWN MOD OR ANYTHING ELSE.​
Read all the posts carefully to understand everything about the mod!
Please, read the FAQ in the third post! The answer for almost all questions will be found there.​
Code:
[B]Post 1[/B] → Introdution, features, requirements, installation, uninstallation, compatible governors
[B]Post 2[/B] → Changelog
[B]Post 3[/B] → How to use
[B]Post 4[/B] → FAQ
A CPU governor in Android controls how the CPU raises and lowers its frequency in response to the demands the user is placing on their device. Governors are especially important in smartphones and tablets because they have a large impact on the apparent fluidity of the interface and the battery life of the device over a charge.​
This mod will configure your governor to have the best experience with more battery, fluidity and smoothness.​
Features:
Compatible with cluster and non-cluster devices
CPU Governor optimizations
Smoother device with less battery drain
Improved performance
Extremely better battery life
Better standby battery life
Intelligent frequency ramp up/down
Less heat, so your device runs cooler
Frequent updates for better parameters
Requirements:
Custom Recovery
Root
Install instructions:
Download flashable zip
Flash it from a custom recovery (CWM,TWRP or any other)
Enjoy it!
Uninstall instructions:
Reboot into recovery
Flash the Uninstaller file located at system/etc/govtuner
OR
Download the GovTuner uninstaller and flash it
Compatible with:
Code:
Interactive based governors
Conservative based governors
Ondemand based governors
Some others governors which has it's own tunables
Downloads:
Downloads link
Uninstaller download
Uninstaller link
You can join our Telegram group and stay up to the beta versions, news and polls for the project in the link: https://telegram.me/govtuner
PayPal users can donate me using this link
Donate
If you have issues, download paypal app from playstore, that will work
For US PayPal users:
"I could not use your paypal donation link or url as you already know as it's not possible to send a donation from USA. I logged into my paypal account and used the option to pay for goods or services to send you the funds."
Thanks a lot, guys
XDA:DevDB Information
GovTuner Project, Tool/Utility for all devices (see above for details)
Contributors
Debuffer, Senthil360, Paget96, F4uzan
Source Code: https://github.com/Senthil360/GT_refactored_4.X.X
Version Information
Status: Stable
Current Stable Version: 4.2
Stable Release Date: 2018-11-10
Created 2016-06-29
Last Updated 2018-11-10
XDA:DevDB Information
[MOD] Gov Tuner Project (November 10th 2018) , ROM for the Android General
Contributors
Paget96
ROM OS Version: 2.3.x Gingerbread
Version Information
Status: Testing
Created 2018-11-14
Last Updated 2018-11-14
[MOD] Gov Tuner Project (July 21, 2017)
Gov-Tuner Project
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards, corrupted partition, nuclear disasters
* Please do some research before using this mod!
* YOU are choosing to make these modifications,
* If you point the finger at me for messing up your device, I will laugh at you.
IF YOU DO LIKE TO USE THIS MOD IN YOUR ROM, PRIVATE MESSAGE ME WITH THE LINK FOR YOUR ROM THREAD SINCE I'D LIKE TO TRACK EVERY ROMs USING THE MOD TO SEE THE COMMENTS ABOUT THE MOD INSIDE THE ROM's THREAD.
YOU CAN USE IT IN YOUR ROM, THE ONLY REQUEST IS A LINK TO MY THREAD AND THE PROPER CREDITS IN CONTRIBUTORS.
YOU CAN USE IT EXCLUSIVELY IN ROM'S, YOU CAN'T USE IT IN YOUR OWN MOD OR ANYTHING ELSE.​
Read all the posts carefully to understand everything about the mod!
Please, read the FAQ in the third post! The answer for almost all questions will be found there.​
Code:
[B]Post 1[/B] → Introdution, features, requirements, installation, uninstallation, compatible governors
[B]Post 2[/B] → Changelog
[B]Post 3[/B] → How to use
[B]Post 4[/B] → FAQ
A CPU governor in Android controls how the CPU raises and lowers its frequency in response to the demands the user is placing on their device. Governors are especially important in smartphones and tablets because they have a large impact on the apparent fluidity of the interface and the battery life of the device over a charge.
This mod will configure your governor to have the best experience with more battery, fluidity and smoothness.​
Features:
Compatible with cluster and non-cluster devices
CPU Governor optimizations
Smoother device with less battery drain
Improved performance
Extremely better battery life
Better standby battery life
Intelligent frequency ramp up/down
Less heat, so your device runs cooler
Frequent updates for better parameters
Requirements:
Custom Recovery
Root
Install instructions:
Download flashable zip
Flash it from a custom recovery (CWM,TWRP or any other)
Enjoy it!
Uninstall instructions:
Reboot into recovery
Flash the Uninstaller file located at system/etc/govtuner
OR
Download the GovTuner uninstaller and flash it
Compatible with:
Code:
Interactive based governors
Conservative based governors
Ondemand based governors
Some others governors which has it's own tunables
Downloads:
Downloads link
Uninstaller download
Uninstaller link
You can join our Telegram group and stay up to the beta versions, news and polls for the project in the link: https://telegram.me/govtuner
PayPal users can donate me using this link
http://forum.xda-developers.com/donatetome.php?u=5321318
If you have issues, download paypal app from playstore, that will work
For US PayPal users:
"I could not use your paypal donation link or url as you already know as it's not possible to send a donation from USA. I logged into my paypal account and used the option to pay for goods or services to send you the funds."
Thanks a lot, guys
XDA:DevDB Information
GovTuner Project, Tool/Utility for all devices (see above for details)
Contributors
Senthil360
[*]Debuffer
[*]Paget96
[*]F4uzan
[*]veez21
[*]N1m0Y​
Source Code: https://github.com/Senthil360/GT_refactored_4.X.X
Version Information
Status: Stable
Current Stable Version: 4.1.1
Stable Release Date: 2017-07-21
Created 2016-06-29
Last Updated 2017-07-23
CHANGELOG
PS: All the changed tweaks parameters were changed in all governors which have the quoted parameter.
Code:
[b]v4.1[/b]
- Rewritten code from scratch
- CPU detection algorithm updated
- Code size reduced by 70%, increased efficiency and better loop controls
- Values revised for all devices and profiles
- GovChanger removed (there are app alternatives)
- Profile values arranged in tables for easier access and updates
- Algorithm depended values such as target_loads added to hybrid script
- Increased optimization and overall efficiency
- Disabled loop execution by default
- Room for community involvement in future releases
[b]v4.0.2[/b]
- Fixed Tuned and Tweaked colors and cpus
- Fix typo in 2>/dev/null
- Profiles will be re-evaluated in next update on this base
- Changed file structure to combat problems caused by recovery
- **(For DEVS in GIT) Added build sh and bat (win and Linux) for developers working with GT on git (Life saving feature for developers from @F4uzan)
- **(For DEVS in GIT) Added option to push zip to sdcard and reboot to recovery using adb (Linux only ATM)
[b]v4.0.1[/b]
- Fixed Init.d errors caused due to bad mount
- Fixed problem of mounting data partition in Installer
- Updated Tunables for Battery
- Updated Uninstaller
- Fixed typo in algorithm for Triple cluster devices
[b]v4.0[/b]
- Now supports more devices! (mostly cluster devices)
- New algorithm in detecting clusters!
- New Algorithm in calculating tunables
- Tuned Parameters updated
- Tweaked Parameters added
- Fixed On boot error
- No more gt_test! All GovTuner init is now in gt_init
- Customizable sleep time in gt_init
- SuperSU su.d support
- Increase Performance Added **
- New Parameters for ondemand/conservative based governors
- Fixed Several issues with several devices
(S7 Edge, Mi 4i, Mi 4c?, Note 4, Lenovo P1 Turbo, Zenfone 2 and etc)
- Governor Changer Updated **
- Added option to change Execution Time Interval **
- Removed unsupported parameters for certain governors
- First launch since boot detector added
- Profiles' code reduced
- New UI with fancy animations
- Optimized Code
[b]v3.9.1[/b]
Added Cluster support universally for all Android devices (cannot give 100% assurance as we don't own all the devices)"
Reworked UI
Added option to change governor from main menu
Added option to enable/disable power efficient workqueues
New Dynamic method for assigning target load frequencies , now the frequencies specified will not be out of range for your device
New Dynamic method for assigning hispeed_freq and go_hispeed_load
Interactive governor - major update, values updated for all Profiles
Fixed many errors and bug messages
[b]v3.8[/b]
Battery profile improvements
Balanced profile improvements
Performance profile improvements
New optimizations for Zzmoove governor
New optimizations for Zzmoove hotplug
[b]v3.7.1[/b]
Fixed bugs
[B]VALUES ARE APPLYING! DON'T WORRY FOR THE ERRORS WHICH ARE POPING-UP. VALUES [U]ARE[/U] APPLYING![/B]
[b]v3.7[/b]
Battery profile improvements
Balanced profile improvements
Performance profile improvements
Added Zzmoove governor compatibility
Added Zzmoove built-in hotplug compatibility [I]- Zzmoove has a built-in hotplug which has a much better compatibility with the governor than any other hotplug. Govtuner configures the governor and the hotplug for the best usage according to the selected profile.[/I]
Added more options to user in the main screen [I]- Hotplug and hotplug check when using Zzmoove governor [B]ONLY.[/B][/I]
Added Zzmoove/Stock hotplug apply for zzmoove governor users
Added new hotplug option to switch from Zzmoove/Stock hotplug
Code optimizations
Bug fixes
[B]PS:[/B]This is the first release with Zzmoove compatibility. Instability may occur since we are waiting to hear [B]YOUR[/B] voice to optimize it even more. In our tests, Zzmoove has performed really well for all the profiles and we had much better results than using any other governor.[B] Please, consider giving a feedback for this version [U]mainly if you're using Zzmoove governor[/U][/B]
[b]v3.6[/b]
Battery profile improvements
Balanced profile improvements
Performance profile improvements
[I][B]This version is focused to stablish a notable difference between the profiles. New values were applied for all interactive based tunables.[/B][/I]
[b]v3.5[/b]
[B]Implemented new way of applying tweaks based on Tunables
This new method will depend on tunables only and not on governor, so many governors will be automatically supported[/B]
Battery profile improvements
Balanced profile improvements
Performance profile improvements
[b]v3.4[/b]
[b]Introduced the new scaling system for battery and performance profile
[/B]This new system scales more dynamic according exclusively to the target_loads and is aimed to have a better performance without sacrifying the battery
Improved the tunables for all profiles's interactive (and based) governor
Fixes and improvements in "apply on boot" for some devices
[b]v3.3.3[/b]
[I][B]BETA RELEASE[/B][/I]
Introducing a new scaling method which aim to have a better performance than the previous method.
Possible fix for script not running on boot.
[b]v3.3.1[/b]
Bug fixes
Changed UI colors
[b]v3.3[/b]
Improved balanced interactive governors
Improved performance interactive governors
Improved battery interactive governors
[B]Code improvements and bugfixes
[/B]Dynamic Logo - Logo changes color based on profile
Init.d status added to Main menu
GovTuner process status added to main menu
Some more visual changes in main menu
[B]Improved code processing [/B]
Added CPU Min and Max frequency, device model, android version information
[B]**Code size is reduced by almost HALF**[/B]
Fixed various errors of files not showing up
[b]v3.2[/b]
Reformulated all interactive based governors for all profiles
Reformulated all ondemand based governors for all profiles
Optimized the profiles according to the designated function:
Battery is now more battery saver than it used to be
Balanced is now a real mix between battery and performance
Performance is now "I don't care for battery, i want my device as the flash" but for sure with some battery saving tweaks :D
[b]v3.1[/b]
Updated uninstaller -- [I]Please, download the updated uninstaller to uninstall all the proper files from govtuner if you want/need.[/I]
Tweaked all interactive based governors for all profiles
[b]v3.0.3[/b]
Reverted from the old scaling method
Recalculated target_loads for all profiles
[HIDE][B]v1.0[/B]
Initial version
[B]v1.1 [/B]
Fixed permissions typo
Adjusted some tunables for above_hispeed_delay
[B]v1.2[/B]
Fixed installation error for some users
Fixed compatibility with SD810/820 ~ Thanks [user=5668533]@DeveDroid[/user]
Fixes in code
[B]v1.3[/B]
Fixed installation
Fixed permissions
Added Conservative governor
Added Yankactive governor
Added Intelliactive governor
Added Bioshock governor
[b]v1.3.1[/b]
Fixed an error in the installation folder
[b]v1.3.2[/b]
Fixed a typo which was causing error in terminal emulator
[b]v1.4[/b]
Added Lionfish governor
[b]v1.4.1[/b]
Added some missings in code
Fixed Lionfish governor
[b]v1.5[/b]
Tweaks updated for conservative based governors
Tweaks updated for interactive based governors
Added Impulse governor
Added Uberdemand governor
Added Electroactive governor
Added IntelliMM governor
Added Barry_Allen governor
Added BluActive governor
Added DanceDance governor
Added Lionheart governor
Added PegasusQ governor
[b]v1.5.1[/b]
Code fixes and optimizations
Permissions fixed in updater-script
Added Ondemand governor
Added Smartmax governor
Added Optimax governor
Added ConservativeX governor
Added Interactive_pro governor
Added [B]Source Code[/B] to the main post: [url]https://github.com/Debuffer-XDA/Gov-Tuner[/url]
[b]v1.5.2[/b]
Fixed installation error
[b]v1.5.3[/b]
A [B]huge[/B] code optimization. [I]This should fix a lot of bugs in installation and script running.[/I] [I]This is a really important update.[/I]
Some fixes in some governors.
[b]v1.5.4[/b]
Added Wheatley governor
Added Ondemandplus governor
Added Smartmax_eps governor
Added Intellidemand governor
Added Tripndroid governor
[B]Starting now we are reducing the number of governor additions and we are focusing on code optimizations and tuning the already built-in governors. This does not means you have to stop requesting for governors compatibility, this only means that we are now more focused in optimizating and improving the governors we have added, since they are the most usual and common governors in custom kernels.
Governor requests, ideas, suggestions or any other kind of requests are still and always welcome. Every kind of help or suggestion to improve the mod will be really appreciated.[/B]
[b]v1.5.5[/b]
Code bug fixed -- this fixes the terminal emulator bug.
[b]STABLE[/b]
All bugs fixed
All the changes above (from 1.0 to 1.5.5)
[b]v2.0[/b]
[i]The changes in tunables aren't specific to one or other governor, they are made at all governors which contain the mentioned tunable.[/i]
Fixed installation errors
Fixed terminal emulator apply errors
Tweaked up_threshold_any_cpu_load
Tweaked up_threshold_min_freq
Tweaked up_threshold
[b]v2.0.1[/b]
Fixes in code which was preventing the properly apply on terminal emulator.
[b]v2.0.3.1[/b]
Fixed a bug in [B]Interactive[/B] code.
[b]v.2.0.3[/b]
Fixed target_loads blocking the minimum freq usage.
[b]v2.0.2[/b]
[B]Modified parameters:[/B]
Target_loads
min_sample_time
up_sample_time
two_phase_freq
up_threshold_any_cpu_load
[B]v2.0.4.2[/B]
If you are encountering error in v2.0.4.1 try this version. Here is another fix.
[B]v2.0.4.1[/B]
DEFINETLY FIXED THIS FREAKING ERROR
[b]v2.0.4[/b]
Reworked parameters for all Interactive governor based governors. [I]This changes worked perfectly for me and my testers. The device is way smoother than before. Please, feedback about it so I can have an idea of what should I do.[/I]
Minor changes in Ondemand based governors.
[b]v2.0.5[/b]
[I]Forgot to change version number to 2.0.5, Terminal Emulator says 2.0.4.3 but that's 2.0.5 version.[/I]
Busybox introduced in the flashable zip
Code optimizations
More interactive user interface
[B]No more "No such files or directory" error[/B]
[b]v2.0.5.1[/b]
Updated busybox
Fixed IntelliMM governor
[b]v2.0.5.2[/b]
Fixed code error
[b]GovTuner uninstaller updated[/b]. [I]Thanks to [user=5359696]@Tenigima[/user][/I]
[b]v.2.0.6[/b]
Fixed barry_allen governor
Completely reworked target loads
Increased sampling rate min
Increased sampling rate
Increased up threshold any cpu load
Increased up threshold any cpu freq
Improved timer slack
Decreased min sample time
Increased above hispeed delay
Changed io is busy to 1 for testing purposes
Decresed two phase freq
[B]Added an User Interface. Now GovTuner is more interactive with the user.[/B]
Added [B]profiles.[/B]
[I]GovTuner now is based on the user needs. It has 3 profiles (battery, balanced and performance). Each profile has different governor tunables for it's own purpose. [B]READ POST #3 CAREFULLY TO UNDERSTAND THE NEW METHOD TO USE THE MOD[/B][/I]
[B]Reformulated all the interactive based governors. Now the up/down scaling is way more dynamic and smart. This new dynamic scaling is more efficient saving power.[/B]
Improved all conservative based governors.
Improved and reworked all ondemand based governors.
[B]Added uninstaller inside the GovTuner zip. To uninstall from TWRP you just need to go in system/etc/GovTuner and flash the uninstaller[/B].
[b]v2.2.0[/b]
Fixed Bluactive/Blu_active governor in balanced profile
Improved the above_hispeed_delay in interactive based governors for balanced profile
Improved the above_hispeed_delay in interactive based governors for battery profile
Improved the above_hispeed_delay in interactive based governors for performance profile
Improved target_loads in interactive based governors for balanced profile
Improved target_loads in interactive based governors for battery profile
Improved target_loads in interactive based governors for performance profile
Improved go_hispeed_load in interactive based governors for performance profile
Improved two_phase_freq for the compatible governors for balanced profile
Improved two_phase_freq for the compatible governors for battery profile
Improved two_phase_freq for the compatible governors for performance profile
Updated the profile application message. [I]Now it says which profile is activated when you do the tune command.[/I]
[b]v2.2.1[/b]
Fixed balanced profile not deleting performance profile from init.d
[B]v2.3.0[/B]
[B]Thread reorganized. Please, read carefully every detail.
[/B]
[B]ElementalX governor added[/B]
Tweaked every governors and every profiles to be more efficient for it purposes.
Battery profile governors tweaked to spend less time at medium/high frequencies and ramp down faster
Battery profile was heavily tweaked to be even more power saver.
Balanced profile governors scaling up/down reworked to be more efficient
Balanced profile slightly tweaked to spend less time at high frequencies
Balanced profile heavily tweaked to ramp down faster
Balanced profile more "intelligent" ramping frequencies.
Performance profile governors tweaked to be more aggressive ramping down
Performance profile governors tweaked to use very high frequencies (over 2.000.000) less often since it's just a drain for battery without [STRIKE]any[/STRIKE] real improvement in performance from the frequencies between 1.700.000 and 2.000.000
Reduced the time spent in terminal emulator user interface to apply the profiles faster
[b]v2.4.0[/b]
Added terminal emulator changelogs
Code optimizations
Battery profile above hispeed delay updated
Battery profile target loads updated
Balanced profile above hispeed delay updated
Balanced profile target loads updated
[B]The changes in 2.4.0 made all interactive based governors run smoother
without any change in the frequencies used. The battery will have
the same performance as it had in the previous version[/B]
[b]v2.4.1[/b]
Fixed error applying GovTuner
[b]v2.4.2[/b]
[B]A more detailed changelog is in the script. Type "c" in the main menu for an extended changelog[/B]
Govtuner command error fixed
Tune command error fixed
Added max_freq_hysteresis parameter to interactive governor
Added align_windows parameter to interactive governor
Fixed a bug where the frequency didn't go to the minimum possible when the screen is on
Rebalanced all the profiles target_loads
Rebalanced all the profiles above_hispeed delay
[B]
Uninstaller fixed[/B]
[b]v2.5[/b]
[B]Uninstaller fixed[/B]
Improved scrolling for battery profile
Improved scrolling for balanced profile
Improved performance in performance profile
Updated above_hispeed_delay for balanced and battery profiles
Updated target_loads for balanced and battery profiles
Slightly improved the performance when opening apps
Improved the performance for battery profile
Improved the performance for balanced profile
Reduced micro lags in battery profile (this depends on device)
Added Blu_active governor
[b]v2.5.1[/b]
Fixed all the bugs.
[b]v2.6[/b]
Changed all "above_hispeed_delay" and "target_loads" aiming to make the mod much smarter.
There must be a notable improvement in the scaling frequency. The mod now works based more on load than the time spent in frequency.
This improvements gives to govtuner a new smartness level.
All the profiles were hardly tested and worked perfect for me and other testers for the last 5 days.
Please, consider doing a feedback for this version since we reworked the mod's smartness.
[b]v2.7[/b]
[B]Fixed CLUSTER tuning which we never could tune all the cores available in cluster devices. Now every cores should be tuned.[/B]
Reworked all the interactive based governors for all the profiles.
Added [B]recommendations[/B] in the [I]in-terminal changelog[/I]. Check it out for the best recommendations for each profile.
[B]This new update uses a new scaling method.[/B]
[I]This new scaling method is more efficient for battery and performance. This new method is being used for all the profiles and should have a huge improvement in the user experience with the mod.[/I]
[B]Feedbacks for this version are really needed since it's using a brand new scaling method, which is the first time we use. We need to know if it's running better or worst than the old method for you.[/B]
[B][I]Don't forget to mention in the feedbacks the device's maximum and minimum frequency, the used profile and governor.[/I][/B]
[b]v2.7.1[/b]
Fixed invalid argument bug for some interactive based governors
[b]v2.8[/b]
[B]CLUSTER DEFINETELY FIXED[/B]
Reformulated all the scripts
Code optimization
Bug fixes
Reworked for all interactive based governors
Recoded all profiles
[B]Added init.d installer[/B] ~ thanks to [user=5668533]@DeveDroid[/user]
[B]READ THE NEW APPLY INSTRUCTIONS[/B]
[b]v2.8.1[/b]
Fixed init.d installer
[b]v2.9[/b]
Made the profiles be dynamic (description below)
[I]Now the profiles periodically check if the governor was changed and automatically apply the tunables for the new governor (this also helps with the cluster devices)
[/I]Updated interactive based governor for balanced profile since it showed to have a huge battery drain
Fixed governor not showing in terminal emulator
[b]v2.9.1[/b]
Fixed some errors in terminal emulator
Fixed performance profile using the old tunables (it's now updated)
[b]v2.9.2 [/b]
Fixed "no such file or directory" error
[b]v3.0[/b]
Bug fixes
[B]Introduced a new method to run the script [/B](description below)
[I]This new method to run the script automatically works on boot applying the selected profile.
The script also runs in background and check periodically if the governor was changed, so it update the governor tunables for the new governor in case of changed governor.[/I]
[B]THE LOOP AFTER YOU SELECTING A PROFILE ISN'T A BUG. JUST CLOSE THE TERMINAL EMULATOR IN THE X ON THE TOP RIGHT AND IT WILL BE OVER.[/B]
Considerations for this huge update:
Balanced profile battery has improved
Battery profile smoothness has improved
Performance profile had a lot of improvements in both sides, battery and performance
[b]v3.0.1[/b]
Reverted checking interval (loop) to 3 minutes, The changes will happen every 3 minutes dynamically which will improve the battery life running the script in background.
Fixed Init.d support.
[b]v3.0.2[/b]
Fixed tunables for interactive based governors for cluster devices[/HIDE]
How to use
You can follow this video which teachs how to install and use Gov-Tuner properly. Thanks @danishaznita and @ZeistX for the video.
https://youtu.be/8dUysZB4CJs
After the flash, go into Terminal emulator and type the following
Code:
su
govtuner
The script runs in background and check periodically if the governor was changed, so it update the governor tunables for the new governor in case of changed governor or the tweaks were removed by the system.
THE LOOP AFTER YOU SELECTING A PROFILE ISN'T A BUG. JUST CLOSE THE TERMINAL EMULATOR IN THE X ON THE TOP RIGHT AND IT WILL BE OVER.
This is something worth trying for the weekends, also waiting for an ondemand tuning since that's kinda what I use mostly
F4uzan said:
This is something worth trying for the weekends, also waiting for an ondemand tuning since that's kinda what I use mostly
Click to expand...
Click to collapse
Doing the last fixes in Interactive to add Ondemand and Conservative, stay tuned!
I will report soon, few days
Will try and report for sure.
Greetz !
am your tester @Debuffer
USE ME
Sent from my Nexus 5
hhow to install???
xda26 said:
hhow to install???
Click to expand...
Click to collapse
Just flash the zip and select Interactive as your CPU governor
Yo! Will try it ! Ty for efforts.
Sent from my sprout4 using XDA Labs
does this mod play nice with Kernel Aduitor (my settings) or advisable to reset it back to default and then try the mod? I'm already using L-Speed
Debuffer said:
Just flash the zip and select Interactive as your CPU governor
Click to expand...
Click to collapse
when i flash error said
Corduroysack said:
does this mod play nice with Kernel Aduitor (my settings) or advisable to reset it back to default and then try the mod? I'm already using L-Speed
Click to expand...
Click to collapse
It will override Governor tunables if you have it, and will not conflict with L Speed
harsh. said:
Yo! Will try it ! Ty for efforts.
Sent from my sprout4 using XDA Labs
Click to expand...
Click to collapse
Wish you like it, bro!
Corduroysack said:
does this mod play nice with Kernel Aduitor (my settings) or advisable to reset it back to default and then try the mod? I'm already using L-Speed
Click to expand...
Click to collapse
This will overwrite any other tunables that you've done in the governor. And yeah, it's highly recommended to use with LSpeed
xda26 said:
when i flash error said
Click to expand...
Click to collapse
Can you please describe the error?
Paget96 said:
It will override Governor tunables if you have it, and will not conflict with L Speed
Click to expand...
Click to collapse
Cheers mate trying it now
Edit: Its flying now Nice one and thankyou
Corduroysack said:
Cheers mate trying it now
Edit: Its flying now
Click to expand...
Click to collapse
Hehehe, I'm waiting for your feedback
Nice,Gonna try and report back,Soon
Debuffer said:
Hehehe, I'm waiting for your feedback
Click to expand...
Click to collapse
Well straight off the bat is it has made my device very responsive, just tried my game which has also become more responsive and it doesn't hang like it did. Using your mod and Lspeed has made my device run a lot better cheers for the mods @Debuffer & @Paget96

[Kernel][surnia] SomeFeaK for Moto E 2015

This is SomeFeaK kernel, based on Squid2's kernel for device codename "surnia".
This is the first time I build a kernel, also, the first time I post something in DevDB. Hope you like this kernel and please expect many releases.
The kernel should work in stock and custom ROMs, with any variant. Tested and working in XT1601 (LATAM).
Disclamier:
Code:
[COLOR="red"]* Include <std_disclaimer.h>
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*[/COLOR]
Features:
From squid2's r19 build:
Moderately undervolted
Updated to Linux 3.10.104
Synced with latest CodeAurora changes
Improved memory management
Improved memory caching backported from Linux 3.15
Improved storage performance
Optimized ARM crypto routines
Updated f2fs and WiFi drivers
FIOPS and BFQ I/O schedulers
Lionfish CPU governor
IntelliPlug CPU hotplug (by faux123)
KCAL MDP5 colour control (by savoca)
Improved zRAM backported from Linux 4.9
Vibration intensity control
Compiled with Linaro GCC 6.2 and optimized for Cortex A53
Stripped down and optimized configuration
Added by me:
Governors: impulse and elementalX, yankactive, zzmoove, darkness and bioshock.
Double tap to wake (DT2W).
Permanently fixed screen flickering: SELinux works fine in permissive or enforcing mode.
Enabled advanced TCP congestion managers: veno, westwood, vegas, illinois, and more.
Drastically improved CPU thermal control: should react approximately from 40°C and end if lower than 35°C are reached. Otherwise it'll keep trying to cool the device, protecting, mainly, the battery.
Automatic thermal throttling and CPU cooling driver added and enabled.
Enabled CPU current throttling driver.
Use the hidden LED as a notification light.
Enabled forced consistency checks for F2FS (/data).
Multi-Cluster Power Management (less CPU battery drain).
KSM (Kernel Samepage Merging).
Advanced Power Management (emulated).
SMT (Simultaneous Multi-Threading).
Fixed temperature handling.
Dev info:
In order to make use of the new hidden LED's available behavior, it's needed that some Java developer (not me, I don't know a thing about Java) to develop an application. Here I'll give you a sort of "API" that you should use to wake up the required triggers for "if there's a notification or not".
To turn on the LED set trigger to default-on:
Code:
su -c "echo default-on > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"
To turn off the LED set trigger to none:
Code:
su -c "echo none > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"
I've also added the required modules for the LED to be able to process a hold on during "x" milliseconds and keep off during "x" milliseconds. To set it do it like as follows.
Switch trigger to timer:
Code:
su -c "echo timer > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"
Now, set time on during 0,5 seconds (500 milliseconds):
Code:
su -c "echo 500 > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/delay_on"
Now, set time off during 1 second (1000 milliseconds):
Code:
su -c "echo 1000 > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/delay_off"
For now, you must have a charger connected. It seems to be a hardware issue but I'll try to investigate it anyways.
Click to expand...
Click to collapse
Release history:
Code:
4.53 (stable): June 16, 2017:
Kernel changes:
- fs: fsync will now be enabled by default (prevents data loss if a kernel panic occurs).
- cpu/hotplug: removed broken lazyplug hotplug driver, better handling for hardware hotplugging.
- cpufreq: added intellidemand, smartmax, wheatley, smartmax_eps, pegasusq, authority.
- input/touchscreen: updated DT2W driver, still not stable, more responsive and stable touchscreen.
- sched: fixed zen, fixed and added sio.
Other changes: first build for osprey coming soon.
4.30 (stable): June 14, 2017:
Kernel changes:
- hotplug: added lazyplug (broken, don't use).
- input/touchscreen: fixing DT2W.
- sched: added sio.
Other changes: none.
4.25 (stable): June 13, 2017:
Kernel changes:
- ksm: updated code and better management, enabled checking before swapping pages, reduce cpu
- swap: updated code, got better management by adding some compression drivers.
- input/soc: added powersuspend driver, this will help DT2W work better.
- random: added frandom support, decrease CPU load for entropy generation.
- mem: enabled memory changes tracking.
- sched: added tripndroid, vr, zen.
- usb: enabled fast charge by default.
Other changes: no tool required to setup anymore, default setup won't overheat your device nor damage it; due to recently added support for surnia, every new release will be respectively named with a suffix like '-harpia' or '-surnia'; new project logo (for DevDB), thanks to @lecron89 .
4.18 (stable): June 12, 2017
- cpu: rolled back extreme overclock, new max clock: 1593 MHz.
- gpu: rolled back extreme overclock, new max clock: 465 MHz.
- cpufreq: fix build for 'darkness' governor.
- cpufreq: added new CPU governors: yankactive, zzmoove, darkness and bioshock.
4.00 (stable): June 9, 2017
- cpu: undervolted and overclocked, max freq. 1785 MHz (recommended: 1593Mhz).
- gpu: overcloked, max freq. 650 MHz.
- flashing: fixed bug where the touchscreen would become unresponsive after any kernel update.
3.90 (stable): June 8, 2017
- usb: use your device as an USB gadget, including keyboard and mouse.
- general: updated defconfig for harpia at source to match new features.
3.81 (stable): June 7, 2017
- wlan: updated drivers, solved remaining crashes and battery drain.
- prima: updated drivers.
- usb: added support for xpad joysticks (XBOX).
- cpu: fixed hotplugging driver "thunderplug", used to crash the device while allowing the user to pick "octa-core mode" when it's a quad-core device.
- cpu: hotplugging driver "alucard", default minimum of 1 (one) cpu online.
- general: performance improvements for touchscreen, GPU and variables definition.
3.61 (stable): June 4, 2017
- Added S2S (Sweep to Sleep): swipe from the navbar from right to left or from left to right to make the device go to sleep.
3.60 (stable): June 4, 2017
- In the stock ROM, the audio won't skip anymore (tested).
- The wlan driver shouldn't crash again (updated with Heliox sources).
- Re-added missing Adreno Idler driver.
3.52 (stable): June 1, 2017
- Hotfix: DT2W won't freeze the screen anymore.
3.51 (stable): May 31, 2017
- Hotfix: re-added missing hotplug driver (thunderplug).
3.5 (stable): May 31, 2017
- Reverted patches for sdcardfs (they broke the media scanner).
- USB fast charge.
- FauxSound gain control.
3.11 (stable): May 29, 2017
- Patches for sdcardfs.
- Patches for wlan.
- Patches for less power consumption.
- Re-added missing features: KSM (Kernel Samepage Merging) and TCP congestion control algorithms (veno, illinois, westwood and vegas).
3.0 (stable): May 29, 2017
- Added governors: impulse and elementalX.
- DT2W (Double tap to wake).
- Adreno Idler (reduce GPU frequency and resources if inactive).
- Added hotplug drivers: allucard and thunderplug CPU.
2.1 (stable): Februrary 8, 2017
- Rolled back to default SELinux setup.
- Switched default GPU governor from "msm-adreno-tz" to "simple_ondemand" for better battery and performance balancing.
- Fixed screen flickering bug by disabling debugging in graphics card. (SELinux socket overflow).
- Fixed noisy output if using audio MODs by disabling aggressive debugging for sound card. (SELinux socket overflow).
2.0 (stable): February 5, 2017
- Permanently fixed the screen flickering: you won't see any flickers while running SELinux in permissive or enforcing mode. This is going to work even if you build the kernel from source.
1.3 (stable): January 31, 2017
- Enabled advanced TCP congestion managers: veno, westwood, vegas, illinois, and more.
- Set default TCP congestion manager to "veno" for lesser lags while heavily loading the networking area.
1.2 (beta): January 29, 2017
- Fixed SELinux: permissive mode works again.
- Decreased SELinux activity (even more).
1.1 (beta): January 29, 2017
- Restored previous setup for audio amplifier DAC: switched input gain from 4 to 5. Reason: the output felt like if it is cropping some frequencies.
- Modified CPU cooling driver to get more sensitivity as when to react and how far the temperatures should reach. (experimental, please report if horribly lags)
1.0 (beta): January 27, 2017
- Automatic thermal throttling and CPU cooling driver added and enabled.
- Enabled CPU current throttling driver.
- Decreased audio amplifier DAC input gain to 4 from 5 (solves distorted output while using audio mods like [B]Dolby Atmos[/B])
0.3 (experimental): January 26, 2017
- Added available triggers for LED to: show cpu usage by core, blink like heartbeat, blink with interval and full on.
- Disabled swap pages caching (frontswap).
0.2 (experimental): January 25, 2017
- Enabled swap pages compression.
- Enabled swap pages caching (frontswap): better RAM management.
- Enabled cleancache for faster swap handling.
- Decreased SELinux activity and removed almost every security check.
- Enabled F2FS forced consistency checks.
- Enabled Multi-cluster power management (even better power management and less temperature).
0.1 (experimental): January 24, 2017
- Initial release.
Downloads:
Click here or go to Downloads tab at the top of the thread.
NEW! Now, if something goes wrong with the XDA download server or you simply want to download from somewhere else, I've been approved as developer at AFH. All downloads will also be posted here.
NEW! Ask for features, report bugs, get help with installation, usage and everything else. Join us at Telegram: t.me/somefeak
Bugs:
SELinux avc is not working as expected, coming from squid2 sources.* Fixed
Screen might flicker sometimes in harpia LATAM variant, this is also a SELinux related problem.* Fixed
Advanced Power Management might let the device reach higher temperatures sometimes, it isn't on me and must be fixed in mainstream.
Bugs marked with a "*" will be fixed in the next release.
Testing: (by users and me)
Lineage OS (latest build): No bugs found.
crDroid: working flawlessly, little lags due to UI bugs.
OCT-OS: No bugs found.
AOSPExtended: No bugs found.
Mokee OS: long boot times, no lags so far. UI might feel unresponsive sometimes if too many tasks at same time (wrongly set build.prop?). Screen flickers sometimes
Resurrection Remix (by @jasonmerc): No bugs found.
XDA:DevDB Information
SomeFeaK Kernel for Moto E 2015, Kernel for the Moto E 2015
Contributors
facuarmo, chijure, Dark98, squid2, TeamMex
Source Code: https://github.com/FacuM/android_kernel_motorola_msm8916
Kernel Special Features: The kernel features: everything from r19 Squid2's build, KSM (Kernel Samepage Merging), SMT (Simultaneous Multi-Threading), Advanced Power Management (emulated), advanced LED contro, DT2W and impulse and elementalX governors.
Version Information
Status: Stable
Created 2017-06-12
Last Updated 2017-06-16
Changelog (v4.18):
- cpu: rolled back extreme overclock, new max clock: 1593 MHz.
- gpu: rolled back extreme overclock, new max clock: 465 MHz.
- cpufreq: fix build for 'darkness' governor.
- cpufreq: added new CPU governors:
yankactive
zzmoove
darkness
bioshock
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25106
Alternative link: https://www.androidfilehost.com/?fid=745425885120739850
Remember to join us at Telegram: t.me/somefeak
Thank you! Going to do a clean flash with du or aex to test this lil treat out squid always had the best kernel imho. Excellent base and modifications.
Any idea what gov (etc) I might look into using if I'm concerned with smooth performance over battery?
Azul Baseem said:
Thank you! Going to do a clean flash with du or aex to test this lil treat out squid always had the best kernel imho. Excellent base and modifications.
Any idea what gov (etc) I might look into using if I'm concerned with smooth performance over battery?
Click to expand...
Click to collapse
Good luck, hope you enjoy it.
Recommended:
Max: 1401 MHz.
Min: 200 MHz.
Governor: impulse.
Remember to touch KSM settings as it can overload your CPU a bit by default.
Recommended combination: 50/500.
How do you recommend to install this? I've tried a dirty flashing over FireKernel and had to restore a backup. There was some boot error in red fonts.
jmo707 said:
How do you recommend to install this? I've tried a dirty flashing over FireKernel and had to restore a backup. There was some boot error in red fonts.
Click to expand...
Click to collapse
Always flash your roms origional kernel first and never flash a custom kernel over another custom kernel. Extract the boot.img from the rom zip and flash it in recovery. If your wifi gets broken after flashing this kernel, you'll need to dirty flash the rom then the new kernel.
Changelog (v4.25):
Kernel changes:
ksm:
* updated code and better management
* enabled checking before swapping pages, reduce cpu
swap:
* updated code
* got better management by adding some compression drivers.
input/soc:
* added powersuspend driver
* this will help DT2W work better.
random:
* added frandom support.
* decrease CPU load for entropy generation.
mem:
* enabled memory changes tracking.
sched:
* added tripndroid.
* added vr.
* added zen.
usb:
* enabled fast charge by default.
Other changes:
No tool required to setup anymore, default setup won't overheat your device nor damage it.
Due to recently added support for surnia, every new release will be respectively named with a suffix like '-harpia' or '-surnia'.
New project logo (for DevDB), thanks to @lecron89 .
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25130
Alternative link: https://www.androidfilehost.com/?fid=673368273298962934
Changelog (v4.25-1):
EXCLUSIVE BUILD: only for surnia, fixed WiFi driver.
Kernel changes:
wlan:
* fixed driver.
Other changes:
config:
* fixed defconfig for surnia.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25144
Alternative link: https://www.androidfilehost.com/?fid=817550096634778013
Thank you so much, @RubenPCA for your help on testing this release in private until it's been really fixed. He got rid of many of you headaches.
ANNOUNCEMENT: v4.30 won't be released for this device, please wait until v4.31 gets released.
Got v4.53 to build and work on surnia. Get ready, posting soon.
Changelog (v4.53):
Kernel changes:
fs:
* fsync will now be enabled by default (prevents data loss if a kernel panic occurs).
cpu/hotplug:
* removed broken lazyplug hotplug driver.
* better handling for hardware hotplugging.
cpufreq:
* added intellidemand.
* added smartmax.
* added wheatley.
* added smartmax_eps.
* added pegasusq.
* added authority.
input/touchscreen:
* updated DT2W driver, still not stable.
* more responsive and stable touchscreen.
sched:
* fixed zen.
* fixed and added sio.
selinux:
* only show errors.
Other changes:
First build for osprey coming soon.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25185
Alternative link: https://www.androidfilehost.com/?fid=889764386195909356
is there any kernel for otus to newest android 7.1 which supports DT2W ?
Finaly, I'm using 4.53 with SlimRom and it works flawlessly. ElementalX, Thunderplug and fiops give me a great performance for the battery it takes (2 days of normal, constant use!)
Can't use latest version with rr 5.8.3, random reboot every time after one minute of booting.
Enviado desde mi XT1527 mediante Tapatalk
Sorry for the panics involved in the latest version, a new version will be up soon, please test it.
Changelog (v4.70):
Kernel changes:
cpu/hotplug:
* remove old thunderplug hotplugging driver.
* add new quad-core specific driver.
gpu/clock:
* overclock a bit more (550 MHz max.).
thermal:
* support for manually setting temp. limits on runtime.
cpufreq:
* added barry_allen.
* added intel.
* added conservative.
* added blu_active.
* added interactive_pro.
fs/sync:
* added support for dyanmic fsync.
prima:
* update driver.
wlan:
* performance and stability improvements, no crashes at all.
Other changes:
None.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25305
Alternative link: https://www.androidfilehost.com/?fid=673368273298966286
Excellent kernel for our Surnias. @squid2's classic build with added governors & optimizations. Impressive ...
This Kernel is very good!
Changelog (v4.80):
Kernel changes:
sensors/accelerometer:
* fix bugs and driver random crashes.
sound/ALSA:
* fix crashes and crackling.
* get rid of inifinte loops.
video/kgsl:
* general performance and stability improvements.
power/wake:
* added wakelock toggles for wlan_rx, wlan_ctrl, wlan and bluesleep.
* better performance and responsiveness after suspend.
usb:
* less console spamming.
networking:
* speed improvements.
input/touchscreen:
* add generic touchboost driver.
cpufreq/general:
* prevent random scaling failiures.
Other changes:
flashing:
* added Aroma Installer. (only harpia)
* pick if you want to flash bootlogo or not thanks to Aroma Installer.
bootlogo:
* added built-in SomeFeaK's official bootlogo, made by @jasonmerc . P.S.: thank you so much.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25335
Alternative link: https://www.androidfilehost.com/?fid=673368273298966928
MD5: c3925b1c1679852ed5082dab7ca1fb23
facuarmo said:
Changelog (v4.80):
Kernel changes:
sensors/accelerometer:
* fix bugs and driver random crashes.
sound/ALSA:
* fix crashes and crackling.
* get rid of inifinte loops.
video/kgsl:
* general performance and stability improvements.
power/wake:
* added wakelock toggles for wlan_rx, wlan_ctrl, wlan and bluesleep.
* better performance and responsiveness after suspend.
usb:
* less console spamming.
networking:
* speed improvements.
input/touchscreen:
* add generic touchboost driver.
cpufreq/general:
* prevent random scaling failiures.
Other changes:
flashing:
* added Aroma Installer. (only harpia)
* pick if you want to flash bootlogo or not thanks to Aroma Installer.
bootlogo:
* added built-in SomeFeaK's official bootlogo, made by @jasonmerc . P.S.: thank you so much.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25335
Alternative link: https://www.androidfilehost.com/?fid=745425885120739850
MD5: 482d456f9c1da1a1621c36810d43c8ad
Click to expand...
Click to collapse
Is Correct Link in AndroidFileHost? Version is 4.18

[MiMix][KERNEL][HMP/MIUI][Linux 3.18.31] Floppy Kernel [RC1.3][13/01/18]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Floppy is kernel for all custom rom based on LineageOS 14.1, 15.1 and Miui , support the Xiaomi Mi Mix
Code:
#include <disclaimer.h>
* Your warranty is now void. *
* No guaranteed this'll explode your device, be careful, follow the instructions ! *
*don't point at me if your alarm dies after flashing this kernel ! *
Based on Linux Kernel 3.18.31
Based on LineageOS Kernel
GCC Linaro 7.2.1, UBERTC 8.0, SaberMod 7.0 and Google 4.9
Governors: Impulse, Despair, Zzmove, Darkness, Blu_active, ElementalX, Interactive, Conservative, Ondemand, Powersave, Lionheart, Userspace, Bioshock, Alucard, Hyper, Wheatley, Nightmare, Dancedance, Adaptive, Pegasusq, Chill, Cafactive and Performance.
I/O Schedulers: Noop, Deadline, Cfq, Fiops, Bfq, Zen, Sio, Sioplus, Maple and Tripndroid.
Compiled with -Os
Full Linaro Optimizations ON
Optimized Parameters from L Speed @Paget96
Google Snappy Algorithm
ARM RWSEM Algorithm
Charge Control module - credits : xNombre
Wireless adapter (LIB80211, RTL8180, RTL8187, MAC80211, EEPROM: LEGACY, MAX6875, 93CX6, 93XX46)
Spectrum support
Kexec HardBoot support
Wireguard
Kernel Samepage Merging (KSM)
Dynamic File Sync and Asynchronous FIle Sync - credits : andip71 | Francisco Franco
Passing SafetyNet
[*] Frandom - Entropy Generator
USB OTG NTFS r/w Support
SYSInterface Gentle Fair Sleepers
[*] Some CFLAGS optimizations
Performance enhancements
OC Slimbus frequencies to provide better sound quality
Lazyplug - credits : arter97 | frap129
Backlight Dimmer
Arch Power saving - credits : kirananto | Cl3Kener
Adreno Idler- credits : arter97 | yarpiin
[*] Intelli-Thermal v3.0 - credits : faux123
Support f2fs, exfat, ntfs filesystem
Quick WakeUp Driver and power suspend 1.7 - credits : Paul Reioux | Jean-Pierre Rasquin | Francisco Franco
Support cpu boost, cpu input boost and fingerprint boost
MDSS color control (Kcal v2) - credits : flar2 | andip71
Sysfs interface to Enable/Disable CRC - credits : whyorean
[*] Sysfs interface CPU Vdd levels
Boeffla wl blocker v1.1.0: sensor_ind, msm_hsic_host, wlan_rx, wlan_ctrl, wlan, ipa, qcom rx and more - credits : Francisco Franco | andip71
Vibration Control Intensity
TCP Congestion Algorithms: Westwood (default), Reno, Bic, Highspeed, Hybla, HTCP, Vegas, Scalable, Lp, Yeah and Illinois.
And much more!
First time:
Reboot to recovery
Flash FloppyKernel.zip
Flash magisk (optional to get root)
Wipe cache e dalvik cache
Reboot
Update the kernel:
Reboot to recovery
Flash FloppyKernel.zip
Wipe cache e dalvik cache
Reboot
Coming from another kernel:
Reboot to recovery
Flash your ROM
Flash FloppyKernel.zip
Flash magisk (optional to get root)
Wipe cache e dalvik cache
Reboot
Floppykernel
FloppyKernel's Autonomous Builds
FloppyTeam
FloppyReleases
Donate here, if you like my work!!!
LineageOS
Mi5Devs
@GreekDragon
XDA:DevDB Information
Floppy Kernel, Kernel for the Xiaomi Mi Mix
Contributors
Jonas Cardoso, InsideMuz
Source Code: https://github.com/JonasCardoso/android_kernel_xiaomi_msm8996
Kernel Special Features: A magical support, I am all day here, reading the publications of the posts, ready to help in any doubt (unless you have not read the OP that contains the information that you need).
Version Information
Status: Stable
Current Stable Version: RC1.3
Stable Release Date: 2018-01-13
Created 2018-01-08
Last Updated 2018-08-20
RC1 - 28/11/2017
Changes from source "LineageOS/android_kernel_xiaomi_msm8996"
kernel: support for GCC 5, 6 and 7
cpufreq: added new governor
block: added new iosched
filesystem: add NTFS r/w support
power : power_suspend 1.7 - credits : Paul Reioux | Jean-Pierre Rasquin
sched: Add SysInterface for GENTLE_FAIR_SLEEPERS
int_sqrt: Improve 3x faster integer sqrt
sync: Dynamic Sync Control 2.0
fs: Async I/O latency to a ssd greatly increased, 34% gain (Creds: kl…
include: Set 1024KB as Max Read ahead - more performance now
thermal : intelli-Thermal v3.0
ASoC: wcd9335: Sound control
msm8996: all variants same clock
staging: Google Snappy
Power : Add Quick WakeUp Driver
cmdline: Safetynet
fs: add exfat support
cpufreq: show cpu voltages via sysfs 009a6c0
cpufreq: Add CPU Input Boost Driver : SultanXDA
cpufreq: cpu-boost: Optimizations
fs: Dynamic Sync Control 2.0 and MDSS color control
drivers: Slimbus Overclock
gemini: Enable All TCP Congestion Algorithms
OC : Standard MSM8996 Frequency CPU | GPU
devfreq : Add Adreno Idler
cpufreq: add fingerprintboost and lazyplug
drivers: intelli-Thermal v3.0
version: floppykernel RC1
RC1.1 - 10/12/2017
SoundControl: fixed speaker \o/
ramdisk: add tweaks on init.floppy.rc
char: disabled frandom
gemini: enabled ksm
gcc: support gcc 7.x and 8.0 (Linaro and UBERTC)
zip-creator: add spectrum support
drivers: misc: implement usb fast charge mode
version: floppykernel RC1.1 62e569c
zip-creator: delete zip build 8ae3d63
RC1.2 - 27/12/2017
android: binder
ALSA: compress: Add DSD format support for ALSA
ALSA: compress: Add APTX format support in ALSA
firmware: Update synaptic
firmware: Update fte8716
spectrum: don't change clock cpu
kernel: added support to lithium
kernel: added support to natrium
kernel: added support to scorpio
msm8996: Overclocking frequencies
msm: qdsp6v2: Allow 320K AAC encoding
Add Kexec HardBoot Support
Revert "drivers: intelli-Thermal v3.0"
Merge tag 'LA.UM.5.5.r1-06400-8x96.0' into HEAD
drivers: staging: Update qcacld-2.0 driver
version: floppykernel rc1.2
build.sh: update device.prop
defconfig: CPU and GPU more battery-friendly
wakeup: More Wakelocks
RC1.3 - 13/01/2018
zip-creator: update AnyKernel2
build.sh: update device.prop
defconfig: CPU and GPU more battery-friendly
zip-creator: update AnyKernel Setup
wakeup: More Wakelocks
msm: mdss: kcal: Add KCAL support for post processing control [v2] 6b40a22
zram: LZ4 after LZ0
block: Add Maple I/O Scheduler
zip-creator: Patch to remove dm-verity
gcc8: fix warnings
defconfig: Wireless Adapter
net/wireguard: add wireguard importer
zip-creator: device check
dtbTool: now dtbTool will be built
travis: GitHub Release
zip-creator: update patchs
boeffla_wl_blocker: update to wakelock blocker driver v1.1.0 3efdcbf
defconfig: enable lazyplug a9785fe
defconfig: enable adreno idler a5d0558
cpufreq : Add Chill CPU Governor - credits : Joe Maples (@frap129) 6d26826
cpufreq: Add CAF-Active Governer - credits : Jean-Pierre Rasquin 4ba764b
version: floppykernel rc1.3 34479b6
travis: deploy in lineage-14.1 branch e5f4308
Frequently asked questions
Q: Will this conflict with any mod I'm using?
A: As long as it doesn't have any entropy related stuff, its okay. Since the kernel already comes with an inbuilt entropy generator, it will conflict with the ones from mod, causing a poor, stuttered performance!
Q: Deep Sleep isnt working for me, Google Services causing wake-locks, what to do?
A: Go to settings, Privacy, Privacy Guard, All apps, long press Google Services, and deny/disable wake-locks! (Thanks to @Paget96 for the solution)
Q: Which version should I flash?
A: Flash kernel with toolchain that you prefer.
Q: What is the difference between the UBERTC, Linaro, SaberMod and Google toolchain? Which one is the best?
A: It's a good read on the toolchain UBERTC you are wanting to know more about it, this for Linaro, this for SaberMod and this for Google.
Q: What is the difference between the HMP and Miui kernel?
A: Miui folder is for miui roms -> xiaomi.eu, MiuiBR and other derivatives from miui official. HMP folder is for aosp rom and derivatives -> Aosp, Lineage and other derivatives from aosp
Q: Is your kernel secure?
A: You MAY face some issues, but it's safe! My cell phone has not exploded yet.
Q: WiFi doesnt work for me.
A: Reflash ROM and Kernel.
Q: What application can I use to configure the kernel?
A: Use Spectrum, and if you have enough knowledge of what to modify or do in the application use together Kernel Adiutor.
Q: Can I use the kernel source in my ROM?
A: If you want to use my kernel in your ROM, just put my name in the credit, just like I did.
Q: Does your kernel support writing to the NTFS file system?
A: Yeeh, you can use flash drives and HD with NTFS via OTG.
Q: My cpu clock is locked with any governor.
A: Just disable the thermal control in the kernel temperature settings.
Q: I have problems with your kernel.
A: Take a logcat and kmesg, this website and this video should help you
Q: Why does my magisk and root disappear after installing your kernel?
A: The kernel script makes changes that directly interfere with both, reinstall the magisk that it will function normally, follow this installation line always: FloppyKernel -> Magisk -> Reboot system.
Q: Does your kernel support Miui ROM?
A: Yes, support was added in "RC1.2".
Q: Why did your kernel go straight to "RC1.2"?
A: Because it is based on the FloppyKernel for MI5, which is already in RC1.2.
Q: What is the "Battery" profile in the spectrum?
A: Based on Project Zhana & X.A.N.A was made for trying to be as efficient as possible without compromising the performance. Thanks to the discovery on Voltages used by our SD820 I could make a profile that utilizes more the BIG cluster. My first attempt was to move ALL the load to the BIG cluster, it was against anything that I have learned about little. BIG CPU but I tried, it turned really good at first, low usage was just amazing... But on more usage things didn't go that good. So what I did it was to give a twist to things, but not such twist. It kind of works like Nameless and Shotgun, Mostafa Wael and I worked the same idea. #LITTLE cluster will be running on low-mid frequencies but delivers full performance when is needed. # BIG Cluster will help LITTLE ease Load, but in a great way than before. Things can be done faster and more efficient giving us profit in form of battery. It should run smooth on all scenarios, but you guys tell me. You can easily get around 7~9 hours SOT for 24 hours even more If you don't play game. This will, of course, may vary, but it will definitely be better.
Q: What is the "Balanced" profile in the spectrum?
A: Based on GhostPepper was made to uses a quantized, frequency-aligned parametric curve to influence low core clock rates while providing extremely smooth transitions from each clock rate and exceptional battery life. Really well-defined clock speed escalation for a good battery and performance.
Q: What is the "Performance" profile in the spectrum?
A: Based on FusionP this profile brings a more "agressive" way to scale frequencies. It will scale frequencies sooner(regarding load values from cpu) and will use more the big cluster to provide more performance doing the tasks on hands. Battery should not take a big hit but using heavy demanding tasks you can expect a higher drain.
Q: What is the "Gaming" profile in the spectrum?
A: Based on Burnout PR5, this profile's main goal is to provide absolute maximum performance when needed, but lies low quite well. You see, some times I see the CPU hitting some of the high freqs of 1190 while making something as simple as watching YouTube or playing some spotify tracks needlessly, and sometimes I feel it is a bit slower than it should be in things like brute multitasking. Most profiles do aim at bringing a mid-ground to rest on. But with the sensible words of one of my favourite idols Jeremy Clarkson, he says 'Power solves everything' and right he is. By eliminating the mid freqs of the Little cluster and efficiently using some specific frequency steps, you get some power savings by staying on lower freqs as much as possible, and even on brutal tasks you get the job done faster as well, since the CPU will give you all the power to finish the job as fast as it can, and hit back to idle faster.
Q: I want more information about your spectrum profiles.
A: Read this thread.
Q: I want more information about governors, I/O Scheduler, Hotplug, TCP Algorithms and other things.
A: Read this thread.
Hell of a thread, im drowning in my tears. Thanks a lot.
Sent from my lithium using XDA Labs
Spectacular presentation :victory:
It will be flashed and tested!
i dont know what different Google. linaro, sabermod, ubertc??
deleted
quocanh21081992 said:
i dont know what different Google. linaro, sabermod, ubertc??
Click to expand...
Click to collapse
Read the OP.
Sent from my lithium using XDA Labs
Funciona na ROM RR ?
NINJAPN said:
Funciona na ROM RR ?
Click to expand...
Click to collapse
I dont have mi mix for test
RC1.2 trouble with gcam.
BuTbka said:
RC1.2 trouble with gcam.
Click to expand...
Click to collapse
Besides the Gcam Everything else workes as usual?
Konstantine34 said:
Read the OP.
Sent from my lithium using XDA Labs
Click to expand...
Click to collapse
tks
sexlord89 said:
Besides the Gcam Everything else workes as usual?
Click to expand...
Click to collapse
Yes, work fine
BuTbka said:
Yes, work fine
Click to expand...
Click to collapse
whick of the 4 optional kernels did you use?
i Flashed the UBERTC one and i'm getting HUGE lags.
sexlord89 said:
whick of the 4 optional kernels did you use?
i Flashed the UBERTC one and i'm getting HUGE lags.
Click to expand...
Click to collapse
Used the UberTC version for two days on AOSIP, no lag.
Sent from my lithium using XDA Labs
Which one of the 4 is the most battery friendly ?
gpu can be overclocked to 681?
Sent from my Xiaomi MI MIX using XDA Labs
About problem Gcam
The problem came from the penultimate pull request from LOS 14.1, so with the stock kernel you'll get this too, I've already reported the problem, now you have to wait for the solution
https://forum.xda-developers.com/showpost.php?p=74969920&postcount=9956
bark1234 said:
gpu can be overclocked to 681?
Sent from my Xiaomi MI MIX using XDA Labs
Click to expand...
Click to collapse
GPU overclocking is not a good idea

Categories

Resources