yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] charlypaez:
Hi friend... Please.. I need help.. I have a galaxy note 3 N900w8 with X-note 7.0 Rom and SaberN3Kernel_9.5, I wish add the LulzactiveV2 to my kernel or smartassv2, is this possible?? How I can do?? Thanks so much for you help and sorry for the inconvenience :), happy holidays!

From my N900T TMO! :P
[Galaxy S II General] fozzie:
It's not something you can just add. The kernel developer needs to build it in.
[Galaxy S II General] charlypaez:
Understood.. Thanks for the info friend :)

From my N900T TMO! :P

---------- Post added at 03:20 PM ---------- Previous post was at 02:59 PM ----------

What's the best sheaduler for "OnDemand" governor?? I search speed :), Row or Deadline??? Thanks.. I appreciate your info..

From my N900W8 X-Note Rom! :P
[Galaxy S II General] Zoell79:
So much to learn from our aging device...thanks in a million [MENTION=4179740]droidphile[/MENTION] :good
[Galaxy S II General] razen_kain:
And with the release of kitkat we still have a developing phone. Keeps it fun and exciting. It got really dead there for a while.

Sent from my SGH-S959G
[Galaxy S II General] OffDatGoGo:
+1^^^

DEVICE: SGH-T999 (hunting for awesome mods)
[Galaxy S II General] s3icc0:
maybe some additional info to the thread which can be added to the first posts:

http://www.alliance-rom.com/wiki/governors-explained/
[Galaxy S II General] hunting_:
Camcorder work but when play the video look like this
[Galaxy S II General] Socim:
Really useful! Thanks so much!
[Galaxy S II General] gorandroid:
Thank you very much for taking your time to make this! very useful ★★★★★
[Galaxy S II General] abced123:
Does anyone know where the kernel store the default value ? My S2 runs a custom kernel AJK which use Hyper as default governor when first install. It is not stable, so I change to Pegasusq. However, whenever the phone SOD, it goes back to Hyper and I have to change it back to Pegasusq manually. Is there a config file to change it permanently from /kernel folder or so ?
[Galaxy S II General] razen_kain:
I think that's built into the kernel before it's compiled
[Galaxy S II General] mehran_286:
Best In APolo Kernel For SGS2

governer :

Lulzactive

Scheduler:

SIO

Max Freq :

800

Tested But Suitable for MAximum battery SAver :angel:
[Galaxy S II General] Solomoni_Railoa:
Relevant!

Nice job!

My 1.2Ghz Dual-core Snapdragon tablet runs well with ondemand governor and noop I/O scheduler.

Thanks!

:cool:
[Galaxy S II General] AlexanderDG83:
I use ondemand governor and row scheduler with gustavo_s kernel!
[Galaxy S II General] samprocat:
This table is set to the kernel before complying.....so for the measure of safety ....If you like to learn how to comply your self there is some good threads on tmobile s2 forum to become kernel master. ....definitely for some little things is a good start. ..to do this as a expert there will be a lot of learning as you progress with experiments
[Galaxy S II General] razen_kain:
I'm dabbling.... :thumbup::D
[Galaxy S II General] rodzwafu:
wat is the best combination for samsung s2 guys for battery life??? im new and noob..
[Galaxy S II General] Gravaze:
i'm using boeffla 5.2 but lags everywhere on samsung apps. i want to stay in boeffla, any suggestion?
[Galaxy S II General] Dvalin21:
Trying to find cifs.ko, cdrom,ko,for android kernel 3.3.0, Any help would be appreciated
[Galaxy S II General] bmg002:
I would try asking in a new thread as that seems quite off topic.
[Galaxy S II General] rul3zz:
thank you very much for this guide, helped me to best configure my kernel for my use 10++
[Galaxy S II General] meteornk:
thanks you for share it!!!
[Galaxy S II General] arpit_nnd:
Nice Explination !!

Nice Explaination !!
[Galaxy S II General] Wobzy:
Wrong thread, apologies.
[Galaxy S II General] eagledipesh:
Nice guide, i have a MTK 6589 device, its a quad core device, i will try this guide.

specially hotplug mode and screen off .
[Galaxy S II General] Robby68:
Great guide. :good: Thank you :laugh:
[Galaxy S II General] chelopapo:
the best worck

the amazing guide , help very much people
[Galaxy S II General] crownpiyush:
thanks alot for the information
[Galaxy S II General] F3N!X:
Thanks

Thanks a lot for taking the time to share all this knowledge with us! I've printed this thread to PDF so I can keep it available offline on my phone xP
[Galaxy S II General] grinder777:
Just found this:

http://xdaforums.com/galaxy-nexus/development/kernel-ada-4-1-4-2-zenseries-vx-zenx-t1958143

Q: What is the zen I/O scheduler?

A: Well, the question that was asked above led me to an

analysis of V(R ), deadline, and some others. I already knew,

but realized "this is the main feature of V(R), but wait it has

no benefit to us smartphone users." So I thought about

adjusting the way V(R ) handled requests and how it

dispatched them (I chose V(R ) because i'd rather not tinker

with a scheduler thats official and widely supported). Then I

was looking over it, and realized I might as well just write a

new one I don't need any of this stuff. So I came up with

something awfully similar to SIO, although its a bit simpler

than SIO (closer to no-op) and works just slightly different.

- It's an FCFS (First come, first serve) based algorithm. It's

not strictly FIFO. It does not do any sorting. It uses deadlines

for fairness, and treats synchronous requests with priority over

asynchronous ones. Other than that, pretty much the same as

no-op.
[Galaxy S II General] roshan2989:
guys just wana as, will kernel boot without module..for testing purpose...
[Galaxy S II General] Kushal19:
Thanks so much for this thread, It's really informative and useful.
[Galaxy S II General] dtr145r:
this is a great reference.

it would be awesome if it was in the forum general so everyone could see it.

about a year ago a dev mentioned this post for a different phone.

i look back on this all the time!

:)
[Galaxy S II General] wertzPH:
for my device, "conservative" seems to reduce gaming lags compared to stock "interactive". conservative seems to hold at a more stable higher frequency during load, while when using interactive somehow divides cpu usage to almost all frequency but consumes most times at highest freq.
[Galaxy S II General] Shuttwind215:
[MENTION=4661399]wertzPH[/MENTION]

Yup ,I even tweaked conservative[tweaked so 384 mhz on one core while listenning to music] and intelliplug[to use more often 4 cores] ,conservative is a lot better for gaming ,while the interactive lags even on scrolling in google play.
[Galaxy S II General] Saber:
May you please PM me the settings you've used to tweak the governors? It would be really useful in my guide: http://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957
[Galaxy S II General] baxtex:
I have scrolled though this thread back and forth but not found any "recommended" settings for a good battery/performance ratio. Any recommendations?
[Galaxy S II General] dazeone:
What phone?
[Galaxy S II General] baxtex:
Oneplus one.
[Galaxy S II General] dazeone:
Are you rooted?
[Galaxy S II General] baxtex:
Yes of course
[Galaxy S II General] dazeone:
Try this
[Galaxy S II General] Von Pandi:
Hi everyone

I need help with boeffla kernel on my s3

When i try to change governor, when i close boeffla config and i open it again the governor turns back to standard

Can anyone help me D:?
[Galaxy S II General] gorandroid:
Very informative and useful, i read this from time to time, ty.
[Galaxy S II General] dazeone:
Did you go to settings to apply on boot with delay
[Galaxy S II General] Fahrilubis:
Can u explain about target_load on interactive?
[Galaxy S II General] Many40:
Hi,

As you maybe noticed this thread is not very active recently.

Have you found this maybe? (some basic info included about target_loads for interactive governor):

https://android.googlesource.com/kernel/common/+/android-4.4/Documentation/cpu-freq/governors.txt
[Galaxy S II General] dazeone:
My guess from what I've read. Target load is exactly what it sounds like. When the CPU load has reached the frequency will hit the targeted frequency. Example 760800:70 the CPU will ramp up to the 760mhz frequency when the load his 70. You can tune this according to your kernel frequency to keep the CPU from ramping up to Max for minimal loads. It may look something like this. Ex. Target_load 80 460000:40 680400:60 960000:72 12444000:79. Normal setting is basic with not many targets. Like I said you can fine tune to your liking for performance or battery saving

Sent from my Modded Nexus 6p
[Galaxy S II General] Fahrilubis:
U said 80 460000:40 680400:60 960000:72 12444000:79 then i dont understand what for 80? I know when cpu will ramp up to the 460 when load his 70 but i miss understanding with 80
[Galaxy S II General] dazeone:
I believe the 80 is the load on which it'll try for Max frequency as ty why the other loads are lower for the in between ones

Sent from my Modded Nexus 6p
[Galaxy S II General] Fahrilubis:
Hmm i see, then what about go_hispeed_load dude?
[Galaxy S II General] dazeone:
https://xdaforums.com/showthread.php?p=19846297

Sent from my Modded Nexus 6p
[Galaxy S II General] Peryon:
Slow wake up

Sorry for maybe wrong place to ask but I wonder if its possible to create profile, any advice will be most welcomed, to speed up wake up phone. I have s2 sgh t989 cm14 unoff. and I experience super slow wake up when recieving calls. I have to wait 4-5 sec for screen to wake up in order to see who calls or answer the call. I tried almost everything except trying to set up cpu, gpu or I/O etc. I presume that phone sleeps too deep. It's almost The Inception experience ;)

I saw in quick overview of first post profile for deep sleep.

So, somebody, please, please, help.
[Galaxy S II General] Many40:
"80" in this case is a target_load defined for any frequency below 460 MHz. This means for the CPU to raise itself to the next frequency step, the current workload must be calculated by the scheduler to be at least 80.

For your example: 80 < 46000; 46000 =< 40 < 680400; 680400 < 60 =< 960000; 960000 < 72 =< 12444000; 79 > 12444000.
[Galaxy S II General] Fahrilubis:
U mean 80 46000:40 680400:60 960000:72 1244400:79? so like 40 60 72 79 must be under 80? Correct?
[Galaxy S II General] Many40:
No no. I just explained you what you asked for, referring to example provided by @ dazeone. I don't say if the example is OK or NOT. I just explained the meaning of "80" in this example.

As far as I know, usually target_loads and frequencies appear in the ascending order but not always (depending on the usage).
[Galaxy S II General] Fahrilubis:
I see

Btw can i change 80 for another number like 90 or 40? I mean based on what the 80? For calculating? Or random number?
[Galaxy S II General] Fahrilubis:
How about tweak for target load interactive (for performance)? Ive 691,806,1017,1190,1305,1382,1401,1440 for little and 883,940,998,1056,1113,1190,1248,1382,1612,1747,1843 for big
[Galaxy S II General] dazeone:
Big Target load 70 1248000:80 or what is the stock settings. Little Target load 80 and stock setting. Go high speed 91. The best way to get more performance is by actually tweaking it yourself. Try not to set high frequencies on low load times as the kernel will eat up more battery on light loads and tend to bounce around. Here's the best way to test. Do a benchmark of settings now. Tweak a little, then do another test. What kernel app are you using and what device is this?
[Galaxy S II General] Fahrilubis:
What a benchmark setting? Then tell me reason please why target load 70 1248000:80 any some reason or like a math or anything so i can tweak for myself?
[Galaxy S II General] dazeone:
No math really. The benchmark will show how well the settings you adjusted perform in test. Use the CPU info feature in developer settings to see the frequencies being used. You can also open and close along with switching through apps to see the frequencies being used then go into Target load and choose to increase or decrease the load setting to increase performance. Ex. When you open an app and it's hitting 460000 freq. Then you know if the setting is 460000:70 it hit that Target. From there you can set it to 600000:70 . So when you open an app and it hits the Target 70 instead of ramping up to 460000 like it did previously it'll jump to 600000 which is the new setting. You really have to read the whole post in the beginning to understand somewhat of what's going on and from there to testing. I use CPU info in Dev option and benchmarks from geekbench to see if I'm improving or not.
[Galaxy S II General] Fahrilubis:
Oke can u share link just about target load?
[Galaxy S II General] dazeone:
Here is a g+ post that tells about Target load and how it effects the performance

https://plus.google.com/109978578814688510803/posts/foPPdVxgYC6
[Galaxy S II General] Fahrilubis:
Thanks a lot buddy
[Galaxy S II General] dazeone:
Anytime. There is just so much to learn
[Galaxy S II General] know.i.dee:
Nice One , another adept sharing a thorough & intricate guide [emoji1363][emoji16][emoji1360]

Galactic Note 4 Nougat Resurrection Remix
[Galaxy S II General] Mutalisk:
Thanks for your answer! :)

No, I'm not using any of these tweaks.

However I was experimentating with UC and found out that 200Mhz as min. frequency for example, while not being perfectly stable, is much more stable than my usual 50Mhz-setting (Which is stable with every other governor I tested so far) :D

So Maybe my CPU just can't handle Lulz up-scaling policy from ultra-low frequencies...

And in the end I guess I can live without lulz, but you know, once you can't have something... ;)

I took a look at your Scripts btw, damn good work ;)
[Galaxy S II General] pikachu01:
Ahh yes, if your phone can't handle it, you shouldn't UC/UV/OC. Try it with stock and see if it works well.
[Galaxy S II General] Mutalisk:
Like I said, even with 200Mhz it's not stable, freezes maybe once a day ;)

But I guess it just can't handle Lulz ;)

So I'll stick with SmartassV2 or Conservative,

was just wondering if anyone would know another reason :)

Thanks!
[Galaxy S II General] pikachu01:
What kernel are you using?
[Galaxy S II General] Mutalisk:
Always latest Siyah :)

Happens to me since I tried Lulz for the first time, though - maybe 2 months ago ;)
[Galaxy S II General] pikachu01:
Hmm, weird. Other tweaks used?
[Galaxy S II General] Mutalisk:
Well, usually my UC/UV scripts, but when testing at min. 200Mhz it's all default - besides the modified battery.zip since 2.6 (implementing lulz into this script - 01Siyah).

Before 2.6 it was default settings min. 200Mhz with Lulz
[Galaxy S II General] pikachu01:
Try not using any scripts at all, or try deleting all scripts and use ThunderBolt!.
[Galaxy S II General] Mutalisk:
There are some Cm-scripts (e.g. soundbooster) I don't want to miss ;)

I hope these weren't important to mention in the previous post :D

They change nothing concerning the CPU :)

But I'll try your suggestion when Siyah 2.6.3 is released, and if it doesn't work, whatever,

then I'll stick with my old settings (even if the 200mhz-step is fixed with lulz I guess I'll do better with 50Mhz and smartassV2 :D).

Many thanks for spending your time on my problem and for your scripts ;)
[Galaxy S II General] pikachu01:
No problem. :)

Sorry I couldn't be much of a help :/
[Galaxy S II General] Mutalisk:
No problem,

I already thought that it might be device-related or maybe it's a buggy app or whatever (didn't try with factory reset and before restoring with TB...),

so in the end I guess there is no real solution that would be satisfying without putting much work into it, and that's not worth it ;)

I wish you a happy new year! :)
[Galaxy S II General] droidphile:
Ohh well!

Been away for a while (only 24 hours :) ). Nice to see Mr. Thunderbolt helping people here...

Happy new year in advance to everyone. (With upcoming siyah 2.6.3, we're gonna be happy!)
[Galaxy S II General] Livespiritster:
thanks man
[Galaxy S II General] droidphile:
Yes, 6 means L6 = 200. So screen off frequencies are 100,200.

Probably your device needs 500 mhz also during screen off.

For our device, the safest screen-off max freq to be used is 500 mhz. You won't have stuttering music during scree-off state, and the device would wake up quicker compared to 100-200 or 100-100.
[Galaxy S II General] pikachu01:
You can use 200MHz as screen_off_min_step provided that you're not UVing aggressively. Try increasing your voltage for 200MHz and see if you're still getting sleep deaths.
[Galaxy S II General] droidphile:
From his script, he is using close-to-stock stock voltages :)

So i think 100-200 is a 'little too much' for his device.

Safer to use 500 i think.

Also 20000 down-sampling might be forcing scale down too much.
[Galaxy S II General] pikachu01:
Yeah, hence I've reverted to 20,000 up_sampling and 40,000 down_sampling in 2.3.2 of ThunderBolt! :P
[Galaxy S II General] xdroid7:
Really useful thread for newbies
[Galaxy S II General] alinefr:
Yeah, that was the trouble. I did raise down-sampling to 30000 and did lower up-sampling to 40000. So I could set screen_off_min_step back to 6. My lulzactive settings looks like this:

echo lulzactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 90 > /sys/devices/system/cpu/cpufreq/lulzactive/inc_cpu_load
echo 1 > /sys/devices/system/cpu/cpufreq/lulzactive/pump_up_step
echo 2 > /sys/devices/system/cpu/cpufreq/lulzactive/pump_down_step
echo 40000 > /sys/devices/system/cpu/cpufreq/lulzactive/up_sample_time
echo 30000 > /sys/devices/system/cpu/cpufreq/lulzactive/down_sample_time
echo 6 > /sys/devices/system/cpu/cpufreq/lulzactive/screen_off_min_step

For now it seems very stable.

Thank you!
[Galaxy S II General] TecQuality:
@droidphile: please add a comparison chart thru the 'twins govs' conservative vs lionheart, if i understand correctly lionheart is a 'performanced' conservative right?

echo "60" > /sys/devices/system/cpu/cpufreq/conservative/up_threshold
echo "40000" > /sys/devices/system/cpu/cpufreq/conservative/sampling_rate
echo "5" > /sys/devices/system/cpu/cpufreq/conservative/sampling_down_factor
echo "20" > /sys/devices/system/cpu/cpufreq/conservative/down_threshold
echo "25" > /sys/devices/system/cpu/cpufreq/conservative/freq_step
[Galaxy S II General] droidphile:
The tweak you quoted is my own version of peformanced conservative :)

Lionheart is a tweaked conservative with performance in mind.

This is the tweak to get lionheart:

echo "60" > /sys/devices/system/cpu/cpufreq/conservative/up_threshold
echo "30" > /sys/devices/system/cpu/cpufreq/conservative/down_threshold
echo "10000" > /sys/devices/system/cpu/cpufreq/conservative/sampling_rate
echo "5" > /sys/devices/system/cpu/cpufreq/conservative/freq_step
[Galaxy S II General] InnAl:
@droidphile

in your first post you start with:

"Hope this thread could give you answers for all these questions. We're covering governors, modules, i/o schedulers that comes with Siyah kernel, plus more. That should cover almost all the popular governors/modules/IO schedulers! Many people seem to get lost in the dev threads without getting answers about governors and such. Even users of other kernels will have lot of questions."

And I say, thank you very much for that excellent and informative thread!

I'm impressed. Respect!
[Galaxy S II General] nhra1ss:
Thanks for putting this together. I always wondered about governors and such. Clears things up greatly. Saved this thread to reread.
[Galaxy S II General] mzeshanhakeem:
Thanks droidphile
[Galaxy S II General] Misterjokerboy:
Hi droidphile,

Thanks for the informative post, I'm fairly new to Android (and smart phones in general) but have flashed a couple of custom roms and have just started looking into things like different Governrors and various tweaks. This post is a real help and I've subscribed to it so I can refer to it again :)
[Galaxy S II General] qureyoon:
HDK Tweaks?

Hi droidphile,

Thanks for sharing all the information here! It's a very good guide for beginners like me who wants to learn some tweaks.

Will you be covering some tweaks for HyperKernel HDK (http://xdaforums.com/showpost.php?p=18853685&postcount=13) as well?

Thanks!
[Galaxy S II General] droidphile:
Most of the info in this thread should be applicable to other kernels as well like i said in OP.

I've not used HD kernel. Anyways i guess i have covered all the governors in hdk.

And "Siyah Specific Tweaks" section should have covered available tweaks in hdk kernel too.
[Galaxy S II General] qureyoon:
Thank you.

Sorry for not being specific, but there is one governor called 'sleepy' was wondering if there are some tips for this one :-)
[Galaxy S II General] wakibaci:
Very well written and very informative.

Thank you.
[Galaxy S II General] orion4000:
God bless You!

Thank you very much for your great help and your amazing job.. keep up the good work Thank you :)
[Galaxy S II General] alinefr:
Without a good documentation any good piece of software can be made useless. This is a very good job. Because of this I could understand every single knob like governors, schedulers and GPU controls. Thank you!
[Galaxy S II General] naturalb0rnkiwi:
Nice thread, greatly appreciated ! :)
[Galaxy S II General] mc01319:
very useful thread
[Galaxy S II General] the1dynasty:
awesome explanations!! thanks very much!!!
[Galaxy S II General] ZedBR:
This helped me a lot, thx so much
[Galaxy S II General] LeftonJackman:
Superb post! Well done!
[Galaxy S II General] DaX05:
Great reference! Thanks!
[Galaxy S II General] Atlas1458:
Thanks, was helpful.
[Galaxy S II General] HTCinspiration:
Dude! Thank u SOOO much for this! Now that you have taken the time to share the knowledge with us in such an in-depth yet simplistic way, i'm getting the best benchmarks ever & have finally gotten Sense 3.5 smooth enough for even me & i'm very anal about any kinda "lag" whatsoever so Sense was basically unusable for me. Not anymore! Thanks again friend :')
[Galaxy S II General] varenathan:
This is awesome! Thanks droidphile! At least as a newbie in I/O Schedulers and CPU Tweaks.

I have a question, how to change the user configurable parameters, i.e "echo "on" > /sys/devices/virtual/misc/second_core/hotplug_on". Where should i write this block? Do i use GScript Lite or Root Explore? Many thanks before.

I have searched in forum, but found nothing (or maybe i am not so specific).
[Galaxy S II General] xtremeRadicalz:
good afternnoon.im a noob at echo and such.im using setcpu and on the newest siyah 2.6.7.in the advanced tab of setcpu.there are a few settings to tweak the ondemand further to more performance.can anyone tell me which to set or what to set on that page so i can get performance mode using ondemand/noop
[Galaxy S II General] droidphile:
(Supposing your Kernel supports Single Core and Dual Core Mode), the block shall be in one init.d script. You can use notepad++ to write the script, save it without an extensions and push it to init.d. You can use script manager to run the script as root to make sure there are no errors in the script.

Example Script

#!/sbin/busybox sh
"echo "on" > /sys/devices/virtual/misc/second_core/hotplug_on

I think SetCpu offers only limited number of advanced tweaks. It's better to use an init.d script.

You can use my tweaks for ondemand from OP as it is or modified.

Since you're looking for pure performance, i'd suggest you use these parameters.

echo "60" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo "20000" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
echo "5" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
echo "30" > /sys/devices/system/cpu/cpufreq/ondemand/down_differential
[Galaxy S II General] pl4cid:
Hats off to you, this in an incredible wiki about all I've ever looking for! Respect!

Now I can delete 20 favorites in my browser and add this one :)

Thank you so much!!
[Galaxy S II General] SergeF1:
Great post! thanks!