[KERNEL][AOSP][2.6.32.26] - Savage-Kernel-Inc v1 ! [HAVS+CFS+SBC!!] UPDATED 1/06! - Droid Incredible Android Development

I am proud to announce Savage-Kernel to the xda forms. Currently in beta testing we worked from the latest invisiblek kernel newly undervolted, HAVS with the SBC mod.
JUST FOR @PonsAsinorem:::::: DISCLAIMER!!!! IM NOT RESPONSIBLE FOR BRICKING YOUR PHONE... EVEN THOUGH THE KERNEL CANNOT BRICK A ROOTED PHONE UNLESS YOU FLASH A BAD RECOVERY..... DON'T MODIFY THE UPDATER-SCRIPT TO FLASH THIS TO YOUR RECOVERY!!!!!! .... ALL CHANGES TO THIS KERNEL STILL MEET THE MINIMUM SPECS OF THE INC.... UNLESS YOU OVERCLOCK... WHICH IS UNDERVOLTED... WHICH IS RUNNING AT THE STOCK VOLTAGE AND SHOULDN'T HARM YOUR PHONE ANYWAY.
SENSE BASED ROMS NOT SUPPORTED THIS IS FOR AOSP ROM'S ONLY
So far the Kernel works great in conservative governor. which all the devs prefer.
Devs:
jsseidel1 (co-creator)
luisrcastillo (co-creator)
ms79723 (SBC mod updates)
lithid-cm (contributer. Updater-script guru)
Credits:
invisiblek--> base kernel!!
ms79723 --> the SBC mod.
netarchy --> smartass gov
intersectRaven --> HAVS
(credits are given to the dev's where we got some code from, may no be original designer)
CFS Builds:
Alpha1 : Click Here to download
Stable v1 : Click Here to download
BFS Builds:
Follow the github on twitter @evokernelsrc
If you like our kernel and want to support us... donate (no obligation)

Change log
Code:
[B]Alpha 1[/B]
Undervolted to 925
HAVS implemented configured for conservative
smartass added for fans
SBC Mod added (trickle Charging)
Enabled OC to 1.19 and stable
conservative governor tweaks
HAVS tweaks
smartass governor tweaks
voltage tweaks
BFS360 (latest version) and CFS VERSION!!!
Added SBC v7
BFS tweaks to ondemand gov
tweaks to interactive gov
bad ass CFS tweaks!!!!!
aggressive swap drop
misc tweaks
[B]Stable v1[/B]
SBC v7 ported from Evo (better battery life, this is a HTC mod so doesnt matter that it came from Evo)

FAQ's
All answers are based off latest stable build
Which governor should I use?
Use Conservative for best battery, if you get any lag or choppy or shutter switch to either Smartass or interactive.
Which governors are tweaked?
Conservative and Smartass
I'm running smartass and having screenwake issuesm what do I do?
We suggest you set up a screen off profile of 245/384 to avoid the wake issue.
Have any more? Just ask!!

jsseidel1 said:
All answers are based off latest stable build
Which governor should I use?
Use Conservative for best battery, if you get any lag or choppy or shutter switch to either Smartass or interactive.
Which governors are tweaked?
Conservative and Smartass
I'm running smartass and having screenwake issuesm what do I do?
We suggest you set up a screen off profile of 245/384 to avoid the wake issue.
Have any more? Just ask!!
Click to expand...
Click to collapse
What kind of battery life are you getting with this? I know results vary, but just curious.
Sent from my ADR6300 using XDA App

excited to try this

jsseidel1 said:
All answers are based off latest stable build
Which governor should I use?
Use Conservative for best battery, if you get any lag or choppy or shutter switch to either Smartass or interactive.
Which governors are tweaked?
Conservative and Smartass
I'm running smartass and having screenwake issuesm what do I do?
We suggest you set up a screen off profile of 245/384 to avoid the wake issue.
Have any more? Just ask!!
Click to expand...
Click to collapse
How did you determine that conservative is the most power-friendly?

I would post a disclaimer about the SBC mod.
Sent from my ADR6300 using Tapatalk

Am I missing the link here or has it not been posted yet? I'm excited to test.

Guys, SBC *really* isn't good for the battery. Li-Ion batteries aren't designed to use trickle charging. IMO this will kill the batteries faster and isn't worth the extra charging.

waiting to try this... dont think it will hurt my battery in the short run... who keeps phones longer than 2 years anways?

True. I've gotten better battery life off of it, but I feel like my MIUI build recently has been getting worse due to the SBC mod.

Works on gingerbread roms?
Sent from my ADR6300 using XDA App

If it's AOSP, it should, but sometimes I've gotten weird reactions using kernels that are claimed to work on all AOSP ROMs (Kingx Kernel + MIUI = no-no. Also, MIUI + Hydra = no-no).
Point being, we should probably get this clarified. I've seen instances where people have lost touchscreen functionality (though usually that's due to a failure to wipe cache/dalvik) among other issues. Until we field test this on GB ROMs or until the OP states that it works on them, we should probably refrain from flashing it over a GB ROM. You can do it if you want, I'm in no way trying to make you turn away from it; I'm just saying take it with a grain of salt.
Plus there's the SBC issue to worry about; trickle-charging has negatively affected the battery performance of my MIUI ROM, so I'm going to switch kernels whenever I go back to it. Better charging in the short run < not needing to buy new batteries in the long run (and therefore saving money).

link??????

*sigh*...
Ok, clearly I need to start citing the comments I make. Here you go:
http://forum.xda-developers.com/showthread.php?t=885476&page=25
The first post on this last page pretty much sums it up (actually, read 23-25 to sum up the main issues, it also has links to OTHER posts talking about the issues), but if you want other chronological examples of touchscreen failure or other issues you can read examples from pages 2, 5, and some places past page 15. SBC is bad news on its own, and adding overclocking to it just makes it worse. Again, you can use the kernel if you want, I'm not gonna stop you, I'm just saying that there have BEEN problems with it on other AOSP ROMs. MIUI seems to take pretty well to SBC in terms of battery, as I've seen; but, it's been getting worse as of late. UltimateDroid had a touchscreen failure (page 5) in v1; I don't believe that's been fixed yet, but feel free to correct me. MIUI had a touchscreen failure in v2 (though I think there might have been a bad flash involved, because I flashed SBC to my MIUI 12.24 at the time and it worked fine), cited page 23. Need I go on? Lol.
Point is (I've said that a lot, I know) that it does damage, multiple AOSP ROMs are getting touchscreen failure, and there's more harm than good that comes out of it.

Read: http://www.ziggy471.com/2011/01/02/overcharging-batteries/

That's a good link also. It's actually in the thread I posted, but its equally as important if not more important than my post. Good job man XD
Sent from my HTC Incredible running Carbonite Red 1.5.

Ok you all need to relax. SBC does not over charge your battery. The trickle charging is essentially the battery staying at 100% while on the charger. Lithium ion batteries have tech built into them to protect from over charging and such. SBC just means when you take it off the charger it will really be at 100%. You can't over charge aanyway. This kernel allows you to overclock but it doesn't force it. You need to choose overclocking yourself in setcpu. ... and 90% of the kernels in this forum have SBC they just either don't say it or they call it the battery fix. You can see it in their gits. On the evo forums we just call it SBC. Ill be posting the kernel today. If you don't want to use it. Then don't. It was just requested that I port my evo kernel over to the Inc. So I am.
Sent from my PC36100 using XDA App

gmichaelow said:
How did you determine that conservative is the most power-friendly?
Click to expand...
Click to collapse
Conservative by nature is more power friendly as it only ramps up the processor as requested then brings it right back down to your min.
The way we have set our Governor is to optimize the Conservative Governor to get the most speed stability and battery life out of your phone.
I just got a config from one of your rom dev's to build the kernel so this should be posted by tomorrow.

I for one appreciate what you are doing. There is nothing wrong with having a variety of kernels to choose from. If you disagree with what this dev is doing, then use another kernel. We don't need to be running them off.
Sent from my ADR6300 using XDA App

Related

[Q] BFS and CFS, SBC and noSBC kernels? Do we have these for our SGS?

What is BFS and CFS, and what is SBC and noSBC kernels? Do we have one for our sgs? Just saw in one of the battery saving tips that SBC kernels MIGHT give more battery life so I got interested. Anyone has any ideas?
reycharlesconrad said:
What is BFS and CFS, and what is SBC and noSBC kernels? Do we have one for our sgs? Just saw in one of the battery saving tips that SBC kernels MIGHT give more battery life so I got interested. Anyone has any ideas?
Click to expand...
Click to collapse
CFS and BFS are different task schedulers. I believe all SGS kernels currently use CFS (Completely Fair Scheduler) by default. It is the industry standard at the moment.
Some kernel designers are experimenting with a variant called BFS (Brain F*ck Scheduler) which some people claim gives better performance, but it seems to be somewhat unstable and some people claim it gives no benefit at all. I would expect most if not all SGS kernels to continue using CFS, at least as the default option.
SBC is a scheme called Superior Battery Charging which basically uses a trickle charging hack to override the safety feature that keeps the SGS battery from charging to 100 percent, allowing you to push a little more power into your phone. I would expect that this hack would decrease the life span of your battery and some people even claim it is flat out dangerous (exploding batteries and what not...not good). I don't know of any SBC kernels available for the i9000.
Wow, thanks for the quick info and reply! So i guess will have to settle with the CFS. BUT if there are SBC kernels for the i9000, i would be very much willing to try one - - already taking into consideration the risks you mentioned but afaik only if the battery temp reaching 80C that it will explode and before the phone reached that temp you'll already feel the heat and will either turn it off or get away from it Anyway, thanks for the additional info on these kernel types.

[KERNEL][AOSP] LorD ClockaN (lordmodUEv8.5-CFS-VIVO-2.0)

The new kernel by LorD ClockaN for AOSP(cyanogen and MIUI) roms is here.
http://www.multiupload.com/YQTRBBDO3B
http://www.4shared.com/zip/VC9M-tPU/lordmodUEv85-CFS-VIVO-20.html
This is 8.6b3 of his DHD kernel for vivo.
Please try it and post reviews which will help him to further work on incredible s kernels.
A big thanks to LorD ClockaN for his great kernels.
Governors explained: (Thanks to LorD ClockaN )
*interactive - Instead of sampling the cpu at a specified rate, the governor will scale the cpu frequency up when coming out of idle.When the cpu comes out of idle, a timer is configured to fire within 1-2 ticks. If the cpu is 100% busy from exiting idle to when the timer fires then we assume the cpu is underpowered and ramp to MAX speed.
*smartass - Is an improved version of interactive governor.
*ondemand – Available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point (see “up threshold” in Advanced Settings), ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.
*conservative – Available in some kernels. It is similar to the ondemand governor, but will scale the CPU up more gradually to better fit demand. Conservative provides a less responsive experience than ondemand, but can save battery.
*performance – Available in most kernels. It will keep the CPU running at the “max” set value at all times. This is a bit more efficient than simply setting “max” and “min” to the same value and using ondemand because the system will not waste resources scanning for CPU load.
*powersave – Available in some kernels. It will keep the CPU running at the “min” set value at all times.
*userspace – A method for controlling the CPU speed that isn't currently used by SetCPU. For best results, do not use the userspace governor.
*brazilianwax - Very agresive version of smartass.
*interactiveX - Tweaked Interactive governor by Imoseyon by adding more features like suspend/wake profile.
*ondemandX - Tweaked and ported from 2.6.38 base Ondemand governor by Imoseyon by adding more features like suspend/wake profile.
P.S: This kernel is not for Sense Roms !
Installed with #146.
Boot is slow.
Bootanimation don't show correct.
A lot of lag.
Going back to v1.
/ Jess Kölner /
/ Sent from my phone /
this kernel for sence or cynagon or miui ?
aosp (cm7, miui). it says so on the first post.
Did a restor and reflashed the new v. 2.0 Kernel, but same problems as first time.
The strange thing is that test score with Quadrant is 3089 with both Kernels.
any changelog?
accidently im install to sence rom, this kernel accepted & working but i dont know others reflect like sms/call delay etc .... can someone test it!
jkolner said:
Installed with #146.
Boot is slow.
Bootanimation don't show correct.
A lot of lag.
Going back to v1.
/ Jess Kölner /
/ Sent from my phone /
Click to expand...
Click to collapse
jkolner said:
Did a restor and reflashed the new v. 2.0 Kernel, but same problems as first time.
The strange thing is that test score with Quadrant is 3089 with both Kernels.
Click to expand...
Click to collapse
Anyone else tried it? it is running fine on my miui rom. boot time was also good. couldn't find any bug in the bootanimation (maybe a slight lag in the animation).
Edit: felt a very slight lag while moving pics in the gallery.
ajeya said:
Anyone else tried it? it is running fine on my miui rom. boot time was also good. couldn't find any bug in the bootanimation (maybe a slight lag in the animation).
Edit: felt a very slight lag while moving pics in the gallery.
Click to expand...
Click to collapse
Kernel is working fine.. Can't feel any difference between previous version and this.. But still Two Way call recording and in call audio boosts are missing.. Need the latter badly..
The only difference I feel better from Tiamat kernel is, this one does better fps in 3d and 2d animations..
Sent from my Incredible S using XDA App
I use this with CM nighlty 146 too.
booting is the same as v1.
but at governor "conservative" ,this version is much lag than V1.
For me ,V1 is faster responding than V2.
no other issue.
How is this kernel for battery life? Cm7
Sent from my Incredible S using XDA App
Is it good on cm 7.1 stable release?
Sent from my Incredible S using XDA App
Is there any support for this kernel? What about source code?
Does it have loop support ?
Is there a Mirror? Multiupload seams down
Silversniper said:
Is there a Mirror? Multiupload seams down
Click to expand...
Click to collapse
http://www.4shared.com/zip/VC9M-tPU/lordmodUEv85-CFS-VIVO-20.html
im using CyanogenMod-7.2.0-IncS-KANG with this kernel v2.0
keep restarting.. dunno why..
O/C: 122min - 1700max - Ondemandx
Quadrant: 3230
rise voltage for max freq
LorD ClockaN said:
rise voltage for max freq
Click to expand...
Click to collapse
hey you promised us a new kernel after this to improve the small bugs...please if you get time then provide us with it...your kernels are too good
Does this kernel work with Virtuous Quattro or is it only for CM?
Both AOSP and so on? Don't kill me if this was stupid to ask
Edit: Nvm, tried and didn't work

[Kernel-OC-CPU/GPU-CIFS-FROYO] Thrillz: Get your thrillz while they last!

Welcome to the Thrillz kernel for LG Thrill 4G (may be compatible for O3D).
Standard disclaimer: You bork, your phone. I take no liability. K?
Includes OC to 1.2 native (no modules) and 100 MHz frequency.
cifs.ko module built in.
Conservative governor enabled.
init.d support native.
More to come.
V2 update includes:
Insecure boot
persistent root shell in adb
Removed 100 MHz frequency (caused more issues than it was worth)
Trying a 200 MHz frequency.
V3 includes:
Lock 200mhz when sleep (was set at 300, swapped due to removal of 300)
---Working on other improvements, may be a week or two due to cleanup of code and removal of non-4430 chaff---
V4
Updated frequencies (300, 600, 800, 1000, 1300)
Lower cpu voltages.
#Note, seems screen is eating more battery than CPU. Will investigate.#
Plan for V5
More governors, possible UV compatible with Xan's Voltage Control app.
If you have suggestions, ideas, please give me them.
I do plan on more governors (maybe smartass, interactive, ect....) more io schedulers (bfq, ect...) and anything else that comes my way.
Special thanks to those who have gone before me and helped my learn what I have: gtg465x, LinuxBozo, and Entropy512 for everything that I've learned from them in the Infuse 4G forums, Excaliburinhand for encouraging me to start my own kernel, CallMeAria, Urabewe, tylerwagler and gtg465x again for what they've done here before me... and to you for choosing this kernel (I know... Video game cheezy, but it's true. )
Git is below, it is under the wagler kernel git as it was what I forked and am pushing to. I decided it's time to get started with this.
And please remember, thanks button is good as is fueling my insanity. If you look at my Infusion kernels, I do recognize my "Insanity Crew." (and if you want to be kept in obscurity, I respect that as well. )
Good job man, everyday this forum gets better.
...fighting ninjas at night. Talking about this and that.
Work pretty good on o3d l'll check battry life let u know later
Sent from my LG-P925 using XDA App
Thanks! Keep the comments and suggestions coming! (hoping for p920h/p925 GB leak and official GB source for p920, but I'm fully supporting this in the mean time. Forward ho!)
So far this is best kernel for my rom (v10kv4) so far I got best mobile speed 1.6up 5down i never got this speed any rom or kernal before best speed i had before 1.5. &4 from thriller
Sent from my LG-P925 using XDA App
I hate to report that my battery life did not impress me at first but after charging it seems to be doing better. But i was losing about 15% every 3 hrs in idle. No wifi data or anything.
Sent from my LG Thrill 4G...
Good to see you guys pushin' the kernel movement forward, and sharing your work.
Good deal on getting that built in overclocking going as well. I've been running the kernel for the past day. I did notice an issue, though. Maybe it's just my phone... But the 300mhz OPP, is not being utilized.
I've attached some screenshots.
I was planning to mention that, will try to fix. (100-300 bug) on battery life, what governor are you running? I've found better life on conservative or on demand.
my battery life is decent not the best try to calibrating battery will give you a decent battery life
bedwa said:
I was planning to mention that, will try to fix. (100-300 bug) on battery life, what governor are you running? I've found better life on conservative or on demand.
Click to expand...
Click to collapse
Usually I'm in hotplug or performance... My device has no service, so it doesn't see "normal use" like most. Most of the time it just sits and sleeps.
So, what I did yesterday, really because I wanted to see if you guys squashed the random reboots I've notice in my own playing with LG's kernel source... Had a fully charged phone, flashed your kernel, ran a few benchmarks, still had over 90%, and just let it sit in hotplug. got back to checking it out maybe 12 hours later, noticed the drain, checked setcpu, and that explained it for me. My phone normally would be 80% to 90% in 300mhz... But I don't think 100mhz is able to accomplish most tasks, so it's always popping out, even when it should be idle sleeping.
One thing for me is wireless tethering.. The device needs to be able to accomplish this in the background, and 300mhz even on a DroidX is able to accomplish this. 100mhz is a no go, though.
If you find it real difficult to get 300mhz functioning with 100mhz, I'd say chop the 100mhz out for now, and give us a bump, or atleast put out a 'high voltage' 1388000 mV(TI's kernel 3.0 number) top slot version of the kernel... The overclock module still works with your kernel, BTW... So, in combination with the voltage bump, those that are real speed freaks can push toward that 1300mhz mark with stability.
P.S. No random reboots, so that gets a big thumbs up!!!
I'm going to try and keep to 5 freqs, going to see if 200 works. If not 300 will be low end. Wanting to see if 1.4 or 1.5 is possible with proper voltage. (we should reach sgs II performance benches at that level. )
bedwa said:
I'm going to try and keep to 5 freqs, going to see if 200 works. If not 300 will be low end. Wanting to see if 1.4 or 1.5 is possible with proper voltage. (we should reach sgs II performance benches at that level. )
Click to expand...
Click to collapse
hehehe twould be pretty nice to rub in the face of the acclaimed best device..
Running new Kernel now, so far seems to be running smooth, max 1200, min 600 on Performance governor
Trekfan422991 said:
hehehe twould be pretty nice to rub in the face of the acclaimed best device..
Click to expand...
Click to collapse
It would be nice but I have yet to see my Thrill out perform my STOCK SGS2 yet with any kind of tweaking.
I only hope it can be done.
sent from my Stock Samsung Galaxy S II
I think I got an issue. Starts to lagg when typing/texting. Maybe its the governor I used. I tried with both concervative and ondemand. Also hotplig too. Conservative had the least amount of lag but still noticeable. The other 2 were way too laggy. Unusable.
I believe that's due to the 100 MHz freq. I rebuilt later night without it and while I am typing this there is no lag for me. Re-uploading V2.
Anyone flashed this can comment on battery life and any issues?
Haven't had it long enough for battery use, but it made slim doomed speedier.
Sent from my LG-P925 using xda premium
Flashed it. So far no lag. Battery life kinda iffy. But it's a brand new battery. I'll clear the stats and see how battery life is then.
No issues, phone feels really fast, more batt drain though. I like it.
Sent from my LG-P925 using XDA App

[KERNEL][AOSP][ICS] invisiblek-ics

New thread to house the custom kernel built with linaro's gcc 4.7.1 toolchain
This *should* work with any AOSP ics rom.
Just because this kernel is built with the linaro toolchain it does not mean the rom needs to be compiled in a certain way.
Download here: http://tinyw.in/gnOy
I'll add more details when i have some more time.
source: https://github.com/invisiblek/android_kernel_htc_qsd8k
toolchain used: http://tinyw.in/gYmj
General question on this--is this kernel intended to be used with the nightlies in your testing folder only, or are its benefits universal? I'm a little confused by this whole toolkit thing...
Sent from my ADR6300 using XDA
polarimetric said:
General question on this--is this kernel intended to be used with the nightlies in your testing folder only, or are its benefits universal? I'm a little confused by this whole toolkit thing...
Sent from my ADR6300 using XDA
Click to expand...
Click to collapse
Good question. This *should* work with any ics rom.
I tested this out last night (been running mamarley's kernel) and I ended up switching back for two reasons: first, this doesn't appear to have the 128MHz CPU speed - I'm not sure if that's intentional or not. And secondly, my phone apparently couldn't handle this kernel on 1113MHz - I got lots of FCs. And the rating on Nenamark was essentially the same as my baseline on other kernels.
Just some observations - and your mileage may vary! I really appreciate the fact that this is even being worked on, invisiblek.
EDIT: Totally meant AnTuTu, not Nenamark.
stiltzkin said:
I tested this out last night (been running mamarley's kernel) and I ended up switching back for two reasons: first, this doesn't appear to have the 128MHz CPU speed - I'm not sure if that's intentional or not. And secondly, my phone apparently couldn't handle this kernel on 1113MHz - I got lots of FCs. And the rating on Nenamark was essentially the same as my baseline on other kernels.
Just some observations - and your mileage may vary! I really appreciate the fact that this is even being worked on, invisiblek.
Click to expand...
Click to collapse
Great to hear feedback. Thats all im looking for here really.. It doesnt have 128mhz because its the same voltage as 245 hence no real benefit to having it. Plus some devices are unstable there. I never overclock but i can look at the voltages and maybe get 1113 stable
I can say it works on the new ICS TW rom, drains kinda fast although I think its rom related only.
I had only one reboot, got a freeze and then 10 seconds later a reboot. Its the only one I've had since reapplying new settings.
On freeze I was running SAv2 1113 Max/245 Min.
I have now lowered it to 998 and its running fine on that rom.
Other than that, its amazing.
Sent from my ADR6300 using Tapatalk 2
invisiblek said:
Great to hear feedback. Thats all im looking for here really.. It doesnt have 128mhz because its the same voltage as 245 hence no real benefit to having it. Plus some devices are unstable there. I never overclock but i can look at the voltages and maybe get 1113 stable
Click to expand...
Click to collapse
i take this back, 128mhz is 25mV under 245mhz here
never mind
Can you clear up the linaro tool chain for me, I'm confused as to if the ROM currently utilizes it... and if so is there a certain kernel you have to use along side it. Sorry if that's a stupid question...
Sent from my ADR6300 using XDA
Does this have fast charge?
thekendog said:
Does this have fast charge?
Click to expand...
Click to collapse
I think so, based on this commit below I'd say yes:
add smb329.c for fast charging when plugged into usb
I'm getting some pretty great battery life with this kernel and the 6/21 kang. 1 day and 9 hours after moderate use and I'm still at 30%
Sent from my ADR6300 using XDA

[KERNEL] Gamma Custom Kernel XT890 (Version 6.0.2, Linux 3.0.101+)

DESCRIPTION
So this is a cooked RazR i boot.img that contains a custom compiled Kernel for our device, it was patched to be kept up to date and has some changes to help on battery savings, plus some cpu-freq drivers which which help our device a lot.
InteractiveX2 CPU Governor -- Like Interactive, and fine tweaked to only jump to 1.8 GHz on lighter/faster load increases, comes with a screen-off profile to lock down the frequency and offlinining of the rest of the CPU's defined as non-boot -- being an SMT processor this makes it easier to get the phone to deep sleep even when it wakes up to do something by reducing the complexity of the system.
Conservative CPU Governor -- Similar to ondemand. However, before the governor takes this lower frequency and slower clocked in the upper area, which has positive effects on the battery life.
Ondemand CPU Governor (Re)added -- it was originaly on ICS stock Kernel, it adjusts the CPU frequency to the given requirements, however quickly clocked in the upper frequency range to ensure smooth working.
Performance CPU Governor -- this will clock the CPU frequency to the top, not recommended for prolonged use.
SimpleIO Scheduler (Default) -- is a mixture of Noop & Deadline and one of my favorites.
V(R) IO Scheduler -- is the best scheduler for benchmarks, in everyday use can become unstable.
BFQ IO Scheduler -- A proportional-share storage-I/O scheduler that also supports hierarchical scheduling with a cgroups interface with Low latency and high throughput.
ROW IO Scheduler -- This one is very battery friendly and now my favorite for mobile decies by it's simplicity and responsiveness.
It is known to work on stock & stock based ROM's (such as this one where it is included).
As of other differences there are a lot of GNU compiler flags optimizations, by knowing that the compiler wouldn't know some vital information since it is a remote target different than from where I am compiling so I decided to be pretty explicit.
DOWNLOADS
[For Motorola's Android 4.4 KitKat, unsure if this works at the moment]
boot.custom.gamma_v6.0.2.img
[For Motorola's Android 4.1 JellyBean]
boot.custom.gamma_v5.0.2.img
boot.custom.gamma_v3.0.0.img
boot.custom.gamma_v2.2.1.img
boot.custom.gamma_v1.8.0.img
SOURCE
XT890-Kernel-Gamma GitHub Source
NOTES
For more information regarding governors, schedulers, modules, etc visit this thread by forum member droidphile.
This is my personal experience to other people on compiler flags, if you guys want to try -O3 straight ahead you will face issues on battery readings unless you remove the -ftree-vectorize flags on the battery modules that get compiled.
[IMPORTANT] For changing the CPU governor please use No-frills CPU Control, Since other apps such as SetCPU and AnTuTu CPU Master both only change CPU0 and may cause conflicts.
INSTRUCTIONS
You MUST be unlocked, and to take full advantage of other modules it is recommend to be rooted.
I will put something more descriptive here, but you can flash it with fastboot by doing: fastboot -i 8888 flash boot <boot.img>.
THANKS TO OTHERS
First of all thanks to Matorola/Intel for putting the main source and for Turl on giving me some info when unpacking/packing the boot images. Also to mattlgroff for the tutorial on unlocking the phone, more thanks to imoseyon and Mike Chan for providing the interactiveX2 source code and changes, it it is now my favorite CPU governor and also to HSD-Pilot for posting this originally on another forum -- I based my formatting from his post.
<< If you like my work here is my hat, please donate! >>​
​
<< And thanks to you guys for the support and help >>​
So is this kernel designed for speed or battery life, or a mixture of both?
Also will this work on the 91.2.26001 JB.EU rom?
cuben said:
So is this kernel designed for speed or battery life, or a mixture of both?
Also will this work on the 91.2.26001 JB.EU rom?
Click to expand...
Click to collapse
By default for a mixture of both. But can be further chose different governors and parameters of the governors for different choices for the user. You can for example choose conservative governor and get more battery life and less performance.
And yes It can be used on that ROM. :good:
It works on jelly bean alright... but with this I'm missing the features of the Arman AIO boot v4 and I just can't live without it...
Updated the OP, added SavagedZen CPU governor.
Omar-Avelar said:
Updated the OP, added SavagedZen CPU governor.
Click to expand...
Click to collapse
Any changelog will be great , last version 1.4 now 1.7 its only "added SavagedZen CPU governor"?
skupi20 said:
Any changelog will be great , last version 1.4 now 1.7 its only "added SavagedZen CPU governor"?
Click to expand...
Click to collapse
Yeah, it was internal changes and some screwing around while playing with it. Aiming for more features and once a 'finalized' kernel build is there I will probably do change-logs and change the scheme of numbering.
Hey, what are the changes in V1.7.1 compared to 1.7?
HSD-Pilot said:
Hey, what are the changes in V1.7.1 compared to 1.7?
Click to expand...
Click to collapse
Tried to fix and make SavagedZen more reponsive, but it is a weird governor, and also included InteractiveX in the meantime (no bug there).
Will probably just put into Github after this change so other people can see the changelogs.
Thanks for reply - Flashed it already :good:
well I would comment on your topic of rom ([ROM] Stock 4.1.2 JB optimized - Deblurred AOSP + 4.2 Kernel + extras). but as it only involves the kernel decided to post it here ..
good this new government "SavagedZen" is weird! I did not like, played some games, subway surfers, temple run 2, etc ... all caught. then modified to smartassV2, and now games are perfect and without lagg, I have helped with my feedback
Paulinhip said:
well I would comment on your topic of rom ([ROM] Stock 4.1.2 JB optimized - Deblurred AOSP + 4.2 Kernel + extras). but as it only involves the kernel decided to post it here ..
good this new government "SavagedZen" is weird! I did not like, played some games, subway surfers, temple run 2, etc ... all caught. then modified to smartassV2, and now games are perfect and without lagg, I have helped with my feedback
Click to expand...
Click to collapse
Yeah, I am defaulting to smartassV2 back again...
sounds great your kernel mods.
i will try your stuf spin, i wait for a more stable release.
but think at weekend i will go with IT.
regards
Little Bug Report: I get some freezes and Hot reboots with the Interactive X Governor. No big deal, just to let ya know
Gesendet von meinem XT890 mit Tapatalk 2
HSD-Pilot said:
Little Bug Report: I get some freezes and Hot reboots with the Interactive X Governor. No big deal, just to let ya know
Gesendet von meinem XT890 mit Tapatalk 2
Click to expand...
Click to collapse
Attempted to fix that on 1.7.3 -- unsure on the results yet. :highfive: Thanks for helping man!
Alright, just flashed V1.7.3 and set Interactive X as default. Will report back if I get any issues.
I'm @ work so I had to pack an flashable Zip with the Smartphone. It's a lot faster on my PC
Gesendet von meinem XT890 mit Tapatalk 2
---------- Post added at 06:09 PM ---------- Previous post was at 05:28 PM ----------
Sorry dude, again no luck. As soon as I turn off my Screen my Phone is dead. I have to force the reboot by Power + Vol. down.
Tried it 3 times now > back to SA V2 :thumbup:
Gesendet von meinem XT890 mit Tapatalk 2
HSD-Pilot said:
Alright, just flashed V1.7.3 and set Interactive X as default. Will report back if I get any issues.
I'm @ work so I had to pack an flashable Zip with the Smartphone. It's a lot faster on my PC
Gesendet von meinem XT890 mit Tapatalk 2
---------- Post added at 06:09 PM ---------- Previous post was at 05:28 PM ----------
Sorry dude, again no luck. As soon as I turn off my Screen my Phone is dead. I have to force the reboot by Power + Vol. down.
Tried it 3 times now > back to SA V2 :thumbup:
Gesendet von meinem XT890 mit Tapatalk 2
Click to expand...
Click to collapse
Damn, ok and thanks! ... so InteractiveX is not functional yet sounds like it must have something to do with the early suspend portion -- will eventually fix it. Good thing is that smartassV2 works flawless!
Nice work on the governors!
I remembered some governor benchmarks I read a while ago on this forum, and I thought you might be interested in it:
[REF][GUIDE] Battery Saving Governor Benchmarks
Some interesting quotes from the above thread:
the difference between the best (smartassV2) and worst drain (lazy) is 0.05mA (a tiny amount)
Click to expand...
Click to collapse
choosing SmartassV2 over Lazy would prevent about 600mA being wasted in one hour. To put this in context, that is enough to power your screen for 3 seconds (assuming a drain of 200mA).
Click to expand...
Click to collapse
Furthermore, I remember another thread (which I have not found), which showed that governors which did not jump straight to the highest frequency could actually negatively impact the battery life. The reason behind it is that CPU usage is only a fraction of the battery drain, and having a slower CPU means applications have to spend longer in active state, thereby also causing other components battery drain over a longer period of time. The display is the biggest battery eater, followed by the radios.
Basically, what I trying to say, is (most) governors have no perceptible impact on battery life, and I believe users who report otherwise suffer from the placebo effect. So I think focusing on a stable default governor which gives a smooth lag free experience is the way to go.
arman68 said:
Nice work on the governors!
I remembered some governor benchmarks I read a while ago on this forum, and I thought you might be interested in it:
[REF][GUIDE] Battery Saving Governor Benchmarks
Some interesting quotes from the above thread:
Furthermore, I remember another thread (which I have not found), which showed that governors which did not jump straight to the highest frequency could actually negatively impact the battery life. The reason behind it is that CPU usage is only a fraction of the battery drain, and having a slower CPU means applications have to spend longer in active state, thereby also causing other components battery drain over a longer period of time. The display is the biggest battery eater, followed by the radios.
Basically, what I trying to say, is (most) governors have no perceptible impact on battery life, and I believe users who report otherwise suffer from the placebo effect. So I think focusing on a stable default governor which gives a smooth lag free experience is the way to go.
Click to expand...
Click to collapse
I agree for the most part but that really depends a lot on the type of processor and SoC capabilities, for phones like us I focused on the tweaked smartassV2 further to get it to ramp up and down faster, and it is noticeable smoother. , good battery life since it ramps down better than the on-demand or interactive governors here!
SmartassV2 was the winner on our testing too so we left that one . I just wanted to get InteractiveX working on it for future flexibility and the days that I messed up with SavagedZen it was just an experiment as I had never tried it before -- the results was that I did not like it a lot or I ported it wrong! haha
Friend'm using interactiveX governor since yesterday, andthe results seem to be good and had no lagg dabateria useful life is good (since I am a hard-user).
but honestly the samatassV2 is better, it seems that runs smoother on my device!
but just wanted to note that the InteractiveX is working!
sorry for bad english

Categories

Resources