yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] arinsms:
Is my initd script correct?

#!/system/bin/sh

echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo "80" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold

echo "80000" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate

echo "2" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor

echo "5" > /sys/devices/system/cpu/cpufreq/ondemand/down_differential

echo "25" > /sys/devices/system/cpu/cpufreq/ondemand/freq_step
[Galaxy S II General] redj12:
Thank you for these explications :good:
[Galaxy S II General] 25vikasp:
help

Hi guys. I have simple question. Which governor and which settings for it will give me most performance with balanced with battery. I have galaxy s duos running ics rooted.and tell me how to use that. i am new here......
[Galaxy S II General] spankymo:
you should read the first 2-3 posts. it's there. and you have to try out different settings yourself to see what combinations meet your expectations.
[Galaxy S II General] gazdajezda:
Exactly.
[Galaxy S II General] szucsgf:
I recommend interactive governor. It's always given me the best performance battery combo.
[Galaxy S II General] mnbrightblade:
Might as well do interactivex then; it's better.
[Galaxy S II General] 25vikasp:
Oh thanks but how to set the governers.any app or should I flash any custom kernal.I am using rooted device and there is app called pimp my rom.there is similar governors .help

Sent from my GT-S7562
[Galaxy S II General] szucsgf:
Different kernels have different governors available.

Your ROM may come with "performance settings" in the settings menu which will allow you to change governor. Or you can download an app. Trickstermod, ROM toolbox, setcpu are a few. Take your pick.
[Galaxy S II General] TiTAN-O-One:
This really helped a lot

CM10.1 > CM10 > CM9 --EnD--
[Galaxy S II General] 25vikasp:
Oh thanks I will try.what about pimp my rom app is it useful

Sent from my GT-S7562
[Galaxy S II General] TheDriller:
IMHO, its garbage

7000 lemons? wtf!?!
[Galaxy S II General] szucsgf:
Pimp My Rom can do a lot more than kernel tweaks. It is useful if you know what to do with it.
[Galaxy S II General] DustEater:
This is a list of governors:

1) Ondemand

2) Ondemandx

3) Conservative

4) Interactive

5) Interactivex

6) Lulzactive

7) Lulzactiveq

8) Smartass

9) SmartassV2

10) Intellidemand

11) Lazy

12) Lagfree

13) Lionheart

14) LionheartX

15) Brazilianwax

16) SavagedZen

17) Userspacce

18) Powersave

19) Performance

and here is a screeny of latest governors from your kernel 9.14 which have no discription

nightmare

pegasusq

sleepy

scary

hyper

It would be nice to add a small discription for them.

Also it would be nice to see some combinations for awake/sleep governors setups, can what I have read that some not connected correctly can cause some problems.

And 1 small additional thing :) Kernel 9.14 works perfectly with SlimBean 4.2.2 Build 4. thanks :)
[Galaxy S II General] spankymo:
I think you're referring to dorimanx kernel 9.14 which is from another developer. you may ask info from the q&a forum of that kernel.
[Galaxy S II General] digitalac3:
How can I UV and what are the safest values for each frequencyç

Sent from my Ultimate Xperia Ray (ST18i)
[Galaxy S II General] Bastaerd:
First you need a kernel which supports it. Secondly, you need to experiment with UV values. Some phones can be undervolted more because not all chips are equal. Best thing to do is to look in your devices forum for general values achieved by other people. Good luck!
[Galaxy S II General] adra.abi:
Go to link here

http://xdaforums.com/showthread.php?p=40464332

See if your phone can handle those voltage :D
[Galaxy S II General] digitalac3:
Can I use incredicontrol?

Sent from my Ultimate Xperia Ray (ST18i)
[Galaxy S II General] fozzie:
I don't know, can you? It looks easy enough to use.
[Galaxy S II General] dredremon:
anyone tweaka for prevent overheating issue?
[Galaxy S II General] digitalac3:
Lol I meant if its ok to use incredicontrol. Anyway whats the meaning of HAVS and SVS adjustments?

Sent from my Ultimate Xperia Ray (ST18i)
[Galaxy S II General] spaazm:
I can finally test Intellidemand governor. Christopher83 released his latest kernel that supports it.

Post: http://xdaforums.com/showthread.php?p=40806700

I can tell already that it spends a lot of time at middle frequencies, yet the performance is like in Ondemand. To early to state the power consumption but it is promising.

⇜ SGS+ ↭ SlimBean 4.2.2 build 3 ↭ K^Kernel JB V1.7 OC exUV 390MB ↭ InfinityEngine V2.1 ⇝
[Galaxy S II General] magico1978:
Whats the Best cpu app?

Sent by jack's tapatalk

---------- Post added at 03:05 PM ---------- Previous post was at 03:04 PM ----------

I have kernel tuner

Sent by jack's tapatalk
[Galaxy S II General] Antob125:
https://play.google.com/store/apps/details?id=com.bvalosek.cpuspy

Sent from my Galaxy Nexus
[Galaxy S II General] mw86:
With regards to what

aspect of the cpu? Monitoring, frequency chart, temp, adjusting governors and schedulers?

Ktweaker is best for min/max mhz, screen on and off setups, thermal control, battery mhz control, governors, schedulers, voltage table and much more.

Cool tool, cpu spy or plus, cpu stats are great monitor apps, performance monitor hosted on xda is best to see mhz of multi core cpus. Temp monitor or cool tool ia good for battery temps and cpu temp if you set a custom sensor in cool tool to the location of the cpu reading Ktoonsez was so awesome to introduce directly read from Kernel which is the reading in extras under thermal control.

Too much to mention, what was your goal with the cpu app.

Great app buddy I must agree
[Galaxy S II General] bmg002:
Is there any nice way to find out what a module does? I tried opening a module in notepad to see if I could find details about what it actually does, but that doesn't work; they are compiled files so I wasn't expecting it to work, but was hoping for the best.

I have 21 modules on my phone with my current setup, only 2 are loaded, but I am curious what the others do and most of them are not listed in the OP. My phone is mostly working with my current setup, so I don't need to tweak much, but I like to know what it is all capable of via these modules to see if I should load them for any reason. But I also don't want to load one and have my phone go all screwy (max the CPU, bootloop, etc), so having a rough idea what I am playing with is much better than running around blind.
[Galaxy S II General] TheForumTroll:
How are they named?

- Sent from here to there
[Galaxy S II General] bmg002:
I'm guessing this was aimed at me. The ones I was curious about are:

ansi_cprng.ko

cls_flow.ko

dal_remotetest.ko

dma_test.ko

evbug.ko

gspca_main.ko

ksapi.ko

lcd.ko

mmc_test.ko

msm-buspm-dev.ko

msm_tsif.ko

qce.ko

qcedev.ko

sch_dsmark.ko

spidev.ko

tsif_chrdev.ko

the other ones I think I know what they do or are listed in the OP.
[Galaxy S II General] jon.walker1339:
Very useful cheers

Add a dab of lavender to milk, leave town with an orange and pretend your laughing at it.
[Galaxy S II General] petrevirgil:
Guys....please help me ...what schedule to use for interactive governor?

I have only noop,deadline and cfq...
[Galaxy S II General] nikufellow:
Easy try all of em wouldn't hurt right ;) and stick with the one that feels right. Anyway I'd suggest noop i use it with both on demand and interactive no troubles so far
[Galaxy S II General] szucsgf:
Use AnTuTu, run just the io test 3 times on each, and pick the one with highest average read and write speeds.
[Galaxy S II General] monty_python:
We need a update with newer governors, Wheatley, asswas, smartassH3, dancedance, etc a few more are out I think.. Please..
[Galaxy S II General] :
So you mean the Database IO and SD IO test? And the schedular with the best sd read & write is the best?

Nexus Prime Powered by Rasbean & Trinity
[Galaxy S II General] szucsgf:
Yes, that's how I decide. Do a few (eg 3) for each scheduler and compare averages for a more valid decision.
[Galaxy S II General] :
ok thanks! but you dont go bye the overall score because its possible that schedular 1 has a higher database IO than schedular 2 but same time lower sd read & write than 2
[Galaxy S II General] Jgm3590:
great post

i know i am late to this but i really enjoyed this post it is helpfull i really want to learn more about the basics so i can get to the more advanced stuff . i would love any input (actual help not smart remarks)
[Galaxy S II General] masmoe:
Good resource for learning

Very useful information for newbie like me...
[Galaxy S II General] rakz992:
What do above_hispeed_delay and boost for interactive governor signify?! :)
[Galaxy S II General] LuigiBull23:
Been using this guide for a while now and I must say I've learned quite a lot from this thread. Thank you so much :)
[Galaxy S II General] Rich8692:
Any sugestions for governor control...

I'm sorry if this should be posted somewhere else I'm an xda noob, I don't like the search result you get back sometimes but anyways I would like to see if anyone has suggestions for governor controls settlings like above high-speed delay, go high speeds load etc... I'm running a galaxy nexus with aokp 4.2.2 milestone with Franco kernel #378. Also if some one could redirect me to a thread for I/O Scheduler Turner. Once again I'm soo sorry if this is the wrong place to post!
[Galaxy S II General] Milleniumlance:
above high speed delay, is 1000ms=(1 sec) how many sec before your cpu goes above your set high speed ie 729600 (729Mhz)

boost sets you minimum cpu to you hi-speed value and scales faster to above high speed...**note this will drain your battery faster
[Galaxy S II General] gorandroid:
Thanks you [MENTION=4179740]droidphile[/MENTION] for this knowledge repository! Will take a deep look here. :good::good::good:
[Galaxy S II General] Thot Ctrl:
This was useful, subscribed and thank you !! :angel:
[Galaxy S II General] hph@:
Thanks, verynice for newbie

Gửi từ HTC EVO 3D X515m của tôi bằng cách sử dụng Tapatalk 2
[Galaxy S II General] syan8182:
Noob question, what are some of the governors and schedulers you guys use? I am running cm 10.1. Thanks
[Galaxy S II General] TJSteveMX:
It depends on what kernel ur using, for example, using Cl3Kener Uber I use interactivex with zen as scheduler.

Many people loves Smartassv2 with cfq, and for stock kernel, performance or ondemand with noop is a good option.

Sent from my PAC-SGH-M919
[Galaxy S II General] syan8182:
I use the same uber
[Galaxy S II General] brunodu91:
Good topic !

Thx

Envoyé depuis mon galaxy s3, rom slim bean à jour..... / 4.2.2 , Kernel stock , nova launcher, thème élégance orange ... via tapatalk 4
[Galaxy S II General] demonish:
Many thanks for an amazing guide. I really appreciate your work. Again, many thanks! :)

Skickat från min GT-I9100
[Galaxy S II General] klinker:
Hey guys

Is there any kernel for S2 that supports color and gamma settings?

I use SlimBean and for now kangbang kernel :)

Sent from my Nexus 4
[Galaxy S II General] MacDeath:
I would try DorimanX :p

Phone: GT-I9100 CPU-Group 4

ROM: SlimBean 4.2.2 build 7.2 - Unofficial 20130715

Kernel: DorimanX 9.35

Baseband: XXLQ6
[Galaxy S II General] klinker:
Yeah, a lot of options but also very laggy :(

Tnx anyway ;)
[Galaxy S II General] brunodu91:
Hi

Im on slim bean 4.2.2 , kernel stock and ondemand and noop but how can i set this value to have less battery drain on use ?

I read first post but I want to know if I had make a mistake ?

Thx

Envoyé depuis mon galaxy s3, rom slim bean à jour..... / 4.2.2 , Kernel stock , nova launcher, thème élégance orange ... via tapatalk 4
[Galaxy S II General] Óðinsdagr:
Q. "How do i change I/O schedulers?"

Voltage Control or No Frills from market.

Or init.d script:

echo "scheduler-name" > /sys/block/mmcblk0/queue/scheduler[/QUOTE]

In this thread or others are other Kernel Governors discussed? Only asking as I'm running BMS on my d2vzw and there are other governors not listed here. Previously had service and a device which brought me here and I kept the thread for the information in it. Any information anyone can think of ? Looking for dancedance right now and others as well. Thanks for any help anyone can give me
[Galaxy S II General] vladimirheroj:
Hi guys...I was playing around with adjusting latest zzmove (0.6) governor using setCpu...so I would like,if someone could share his experience with me to get these values perfect,i mean to keep smothness and to have better baterry life..After my adjustins last night,i was amazed with speedness and smothness,but i got battery drain (airplane mode,sync off,wifi off) -11 % over the night....If someone is interested to share the experience i can share my values also to compare ;) P.S i use row IO....Thanks
[Galaxy S II General] :
Hi,

Nothing more with your settings for battery life, all is fine if you don't care about lags... Try freq_step set to 5 (?), sampling_rate set to 200 000 and sampling_rate_min set to something like 20 000/40 000 range (?)... Also you can tweak powersave_bias value (try 250):

But in my opinion you're good, don't touch anything... Battery life depends also (and not only about CPU settings) of your use and settings, I mean screen brightness, synchro (like meteo, mail, social networks, etc...), network, etc...

After that, underclock your CPU freq if it's not enough... Wich device have you?

Never seen the grad_up_treshold... :eek:

Great guide but some governors have multiple settings more now (like Ondemand, Interactive for the basic governors) :confused:

In any case this thread helps me to understand some governor settings, thanks ;)

:)
[Galaxy S II General] baran0119:
Thanks for this thread :)
[Galaxy S II General] Jwaves:
Ok so I read the OP several times. I'm still a little unsure as to how I apply tweaks. for example i wanted to apply the battery life tweak to the interactive governor. how exactly do I go about doing that. I noticed the code thats available there but I dont know how to apply to my phone.
[Galaxy S II General] Many40:
Hi,

Have you red OP/post no2/para IV) Guide to INIT.D scripts ?

Read it carefully and come back here again if you have further (detailed) questions.

Regards
[Galaxy S II General] samprocat:
I'm finally in heaven. ...found my thread. ...nicely explained. ...:thumbup:
[Galaxy S II General] rahulrai:
many thanks..my thanks meter exhausted buddy...good work....would be nice if you [MENTION=4179740]droidphile[/MENTION] could add some more info about the S4 I9500 exynos octa variant, as I see u have the device as well.
[Galaxy S II General] samprocat:
Soon buddy. ...this is still new...need some more time for getting magic combos

Success is never final

Failure is fatal
[Galaxy S II General] razen_kain:
Cant thank you enough for this! I have this thread bookmarked. It is my holy bible when it comes to tuning my kernel. :highfive:

---------- Post added at 08:43 PM ---------- Previous post was at 08:33 PM ----------

Please pm me if you find out anymore on how to tune this governor. I love it! But... it could be slowed down just a touch. It is really fast
[Galaxy S II General] Downisthenewup:
Excellent resource - thanks.
[Galaxy S II General] diavolo rosso:
very useful explaination

thanks anyway
[Galaxy S II General] dante510:
Very useful resources. Thank you for the explanation!
[Galaxy S II General] Dionysus2389:
Amazing dude, learnt a lot of stuff here, you're such a genius :)
[Galaxy S II General] UgoBoss:
Awesome exploitation ! Thank's dude for this ! :D
[Galaxy S II General] spankymo:
I hope you weren't exploited for real. :laugh:
[Galaxy S II General] UgoBoss:
French keyboard corrects me !

By the way dont't worry for that ;)
[Galaxy S II General] hwhitewolf:
I would like to say that this thread was so helpful to me and enlighted so much that I had no idea about that I wanted to pay the author a beer, but I didn't find a donation button, so if there is any, please let me know. I can't express how much this was helpful.

Thank you
[Galaxy S II General] maranello69:
thanks man, now i'll have a standard for my tests, i want to see what's the best configuration, i/o + governor, for my phone
[Galaxy S II General] MartyHulskemper:
Droidphile,

Very, very, very, very seldomly have I encountered such a useful post *anywhere* on the web. You have managed to be throrough and elaborate AND concise at the same time, something that is linguistically impossible. You have my sincere thanks for clearing up matters shrouded in mystery for the past year since I first started dabbling in Android phones.

<bow>
[Galaxy S II General] pangiotis24:
this is useful.thank you
[Galaxy S II General] RotesMeerJogger:
great work droidphile. thanks a lot. but i'm a kernel newbe and don't know where i can change many of this settings? for example you wrote: "Well i have set my favorite governor as screen-on governor and another one as screen-off governor". but how and where can i set a screen-on or screen-off governor? and all your script lines ... where do i write this? in a file? do i need a "command line" app for this? you know what i mean? :) (pardon for my bad english)
[Galaxy S II General] droidphile:
All script lines are written in init.d scripts which are copied to /system/etc/init.d folder so that they execute on every boot-up. Gokhan's flashable zips (performance, battery, etc) does the same, they copy an init.d script into init.d folder.

See this post for a small init.d script tutorial.
[Galaxy S II General] jbryson16:
Im somewhat of a noob. i have the samsung galaxy s2 attain running the latest version of miui with siyah kernel. id like to take full advantage of my device/rom. the OP is very detailed but its like a different language that i only understand pieces of. is there a easier to us guide for this kernel/governor? or is there a somewhere i can educate myself to understand the OP more? thanks in advance!
[Galaxy S II General] droidphile:
I've made it as easy as it could be avoiding 'highly technical' terms as much as possible. Governos and kernels are themselves quite advanced topics and require some time and patience to understand fully.

Since you're the first one who says you don't understand my thread, i guess the problem is with my weak grammar which fails to impress any American :)
[Galaxy S II General] RotesMeerJogger:
thanks for this hint! i will read this thread and then all right ... i hope so ... ;) :)
[Galaxy S II General] fdbailes:
great info, really appreciate it
[Galaxy S II General] darrez:
thanks so much for the guide...now time for me to tweak my freshly rooted i9100 :P
[Galaxy S II General] RotesMeerJogger:
tutorial is easy to read. i think have understood :) thanks a lot. but one little question i have :) the filenames in init.d folder can be free selected so i can make a "brightness" file or a "cpuclock" file and so on. all files with right permissions are executed after reboot. is this correct?
[Galaxy S II General] droidphile:
Yes name is your choice. And all scripts will be executed on boot. If you want one script to be executed before another, prefix the names with digits accordingly to define the order. (Else, alphabetical order is considered for the order of execution) For Ex: I have 01Afreqvolt and 01Bcputweaks to make sure they execute first and in the given order.
[Galaxy S II General] RotesMeerJogger:
now i be in the know :) thanks for your help!
[Galaxy S II General] :
Excellent sticky. Only lately have turned to siyah kernel and this sticky is quite helpful..Thank you..quick question though. regarding the dual core scripts..what would you recommend to use? use the tegrak app from market or use a script? thanks again
[Galaxy S II General] leondb:
lulzactive v2 tweaks

@droidphile,

Thank you for an informative thread.

Can you perhaps share your custom settings for lulzactive v2 with the new siyah kernel? Or do you find the default ones are the best?
[Galaxy S II General] droidphile:
It's your wish. Some people don't like to use an app for something which can be set by a script. With tegrak app, you can see in real time when second is turned on and off. Also, it's easy to switch back and forth between hotplug, single and dual core mode by just clicks.

Script requires editing.

I'm adding lulzactive tweaks and some other info in about 2 hours.
[Galaxy S II General] :
Thanks my friend appreciate your response.:)
[Galaxy S II General] Ashtrix:
Best REF thread in here, this must break all the Jargons floating around here ;) ..!

Thanks..!
[Galaxy S II General] Mutalisk:
Once again, this is a very good sticky!

Thanks a lot!

But now that LulzactiveV2 is implemented in Siyah 2.6.2, I have a question:

Is it possible for a device to be incompatible with a governor?

All governors work very fine for me on all ROMs and kernel versions with OC/UV - exept lulz. Even without UV/OC it freezes every 30 minutes - randomly, independent of the load.

First I thought I'd wait 'till LulcV2 would be implemented to fix it, but my phone still freezes, no matter what params I change.

I'm quite happy actually with my tweaked Smartassv2, just wondering thought, anyone got an idea?

Thanks in advance ;) :)

And sorry for my bad English!

Edit: All ROMs is exagerated, but all cm-nightlies I flashed till now ;)
[Galaxy S II General] pikachu01:
Are you using any tweaks that tunes hotplugging and/or profiles that changes screen on/screen off activities?
[Galaxy S II General] droidphile:
Thanks but I did not write this (or the other) thread expecting donations :)
[Galaxy S II General] hwhitewolf:
Still, thank you very much.
[Galaxy S II General] sgs22012:
Anyone know a solid kernel for gt n8000

Sent from my e1908_v77_jbl1_9p017_6628 using Xparent BlueTapatalk 2
[Galaxy S II General] spankymo:
you're asking in the wrong device thread :cyclops:
[Galaxy S II General] MingJun:
Droidphile, I'm using the G variation for SGS2. I'm currenly using hotplug as my CPU governor. Can you recommend the settings for me to use so my phone uses less battery but not lag during normal use? Many thanks in advanced. :D
[Galaxy S II General] KRSTINJO:
Asylum rom 4.2.2 + NX kernel on gt N7000

THIS IS JUST MONITORING BATTERY LIFE !!!!!!!

This is not about how good or bad the rom and kernel is.

i am just trying to help !!!!
[Galaxy S II General] malik umair:
How to unroot samsung galaxy s2 19100G
[Galaxy S II General] grinder777:
Are you sure you are right here? :o

http://www.google.com/m?q=How+to+un...client=ms-opera-mini-beta-android&channel=new

Tapat from Lifepad now Free
[Galaxy S II General] RandomDK:
missing governors/schedulers

I consider this thread one of main sources in wanting to tweek your kernel to fit whatever you have of it

Not too long ago i flashed [Fancy kernel for Galaxy Nexus]

After some digging i couldn't seem to find find any info on the governors "ondemandplus" and "hyper" + the "sioplus" schedular

If someone knows about these, I'd like if you can post me a link.

Best case scenario would of course be to have them included in this thread :)

*** edit ***

After posting, i realized that this thread is in device-specific forum, so please ignore this post if you do not see it fit here

I'v been using this thread (with "perfect" results) for a while now, although I've never owned the device on topic!!!

thanks a million!

Thanks!!!
[Galaxy S II General] 1300l:
I have a question.

I use CPU Tunner, nd i have two profiles, one standard (sing the hybrid that is a tweeked ondemand governor) and one userspace.

The hybrid i made a tweek based on that thread ondemand and work good.

The userspace i set to only work at minimum frequency and its my screen off profile.

My question is what kind of script i need to add at CPU Tunner governor to undervolt the userpace to squeeze even more battery life?
[Galaxy S II General] dclarkg:
I just read a fair piece of the post, awsome! It would be nice to see something similar for newer devices! If any one knows where to find a table a configuration for other devices please let me know.