yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] bigmatty:
Hello! This is a great thread. I'm new to root activities and have started looking into governors and frequencies, and this has been VERY helpful!

If I may ask a couple noob-questions...

-Does anyone know the default governor settings for the Nexus 10? Using 3c System Tuner I see I can adjust the governor and screen-off governor. In these adjustments there is a 'no change' setting. If I just put it back to that and reboot am I back to the original governor settings, or does it remain changed to the last selection I had?

-Again I'll be using 3c System Tuner. I have not adjusted any of the CPU frequencies. Does anyone know the stock CPU frequencies for the Nexus 10, or how I would 'reset to default'?

Thanks XDA! :)
[HTC Sensation] rzr86:
actually you are asking that in a sensation/XE/4G forum:)
[HTC Sensation] bigmatty:
Oh geez! I'll make a related post in the Nexus section. I arrived on this thread after looking though the generic search results, whereas all the other results seemed tied to a specific kernel this thread seemed to cover more of the basics.

Thanks for pointing me in the right direction :)
[HTC Sensation] Kepee:
Thanks for the extremely helpful information! :highfive:

Now I know which governor to use.
[HTC Sensation] :
My pleasure, it's help, have any questions please do not hesitate
[HTC Sensation] immortalneo:
Well explained!!

I so needed help on which governor to use for my rom! Thanks a lot for a good explanation!! :good::good:
[HTC Sensation] :
hi, is always a pleasure to help ;)
[HTC Sensation] hatememarkz:
Hey I'm running cerux kernel on my GSII with AOKP what is the best setting for the second core or should I just link em

AOKP B5 3/7nightly NOS V0.0.7
[HTC Sensation] :
hi, my advice is to make work the two cores in the same way, with the same settings
[HTC Sensation] Ash359:
This is the best list of kernel descriptions I have seen so far and I have been searching far and wide.

Been looking for fantasy governor. It's on ptmr3's new phasekernel.

---------- Post added at 11:13 AM ---------- Previous post was at 11:03 AM ----------

Oh I also have adaptive governor. What does that do?
[HTC Sensation] :
thanks, I'll see what I can do in the coming days ;)
[HTC Sensation] padre629:
Excellent guide!

Now I'm using InteractiveX.

Cheers! :P
[HTC Sensation] maxkerr:
Useful article!

I'm using Intellidemand + SIO with Elegancia Rom!
[HTC Sensation] Ash359:
Wanted to share this since people had trouble finding info.

I found this on another forum. Credit to user "Steev"

'fantasy' - This driver adds a dynamic cpufreq policy governor.

The governor does a periodic polling and changes frequency based on the CPU utilization.

The support for this governor depends on CPU capability to do fast frequency switching (i.e, very low latency frequency transitions).

---------- Post added at 09:16 AM ---------- Previous post was at 08:40 AM ----------

What I have noticed with fantasy is it seems to act like interactive but a little less erratic. Doesn't max out as often.
[HTC Sensation] stewartleung:
Nice! Thanks a lot!
[HTC Sensation] Win7Fun:
Thank you!

I know many governors by you :)
[HTC Sensation] S.N.@.K.3:
WoW!!!!

I have read in different forums about these Governors that how they Govern .... but as like XDA is always at best and there are variety of smart people...

I m very impressed ,though I haven't found anything in so much detail with many many governors explained..

This guide shud be sticky in my humble opinion as many can understand ..

Especially newbies ;)
[HTC Sensation] Ganapatya:
Please could you tell me about these Governors of those who have tried, what are the best work for most energy saving for mobile use undemanding (just browsing, wifi, read forums...). I have discarded powersave and min / max since mobile performance worse too.

Lazy, Peqasusq, Ondemand, OndemandX, OndemanQ, Hotplugx, Interactive, InteractiveX, Wheatley, SmartassV2, Conservative, lagfree, Hotplug, PegasusQ, InteractiveX, or Sakuractive....say they are good savers.

How would order this in a list in order of saving energy?. The first most savers.
[HTC Sensation] Ash359:
It really depends on each individual phone. Even the same model phone will each act differently.

Your best bet is to run setcpu and try each of them. Watch setcpu clock speed. See how high out goes and for how long. Turn your phone sideways to make it max out. See how long it takes to go back down. The faster it runs the more power you are using.

Then see how your phone behaves with your favorite apps.

With my galaxy note I settled on Smartassv2 with deadline scheduler. Took me a while to figure it out
[HTC Sensation] Ash359:
Just ran across a new governor

zzmoove

Saberkernel 35.6
[HTC Sensation] myturbo1:
Simple gov missing ?

★Nexus⁴★PA3.94★Matr1x 10.5 ★
[HTC Sensation] Mendibil:
SmartassV2 working fine!

Thanks for this post!!!
[HTC Sensation] :
simple governor for the GPU, not the CPU!
[HTC Sensation] demoncamber:
I'm looking for some info on the Badass governor. This governor is very different than others, and has some interesting settings not seen in other govs. as well.

Who made this? Is there a thread for it? Does anyone know any decent settings to tweak with it?

Directly quote me please if you happen to reply to this specifically ￼
[HTC Sensation] Harbir:
Showp 1984 made badass gov (way back) ,u can find badass explained his thread ,default setting if badass are the most decent
[HTC Sensation] demoncamber:
Wow so it's pretty old? Does that mean there are better newer options out there? Curious as to what my best option would be then.

When you say old it makes me feel outdated :D:p
[HTC Sensation] Harbir:
ya badass is old and was invented in my time ;)

the best op out there is ondemand gov ,i was just like u wanted the best gov. out there , i tried and tested all but at the end i came back to ondemand (best for gaming,browsing, daily usage,no lags and battery too ) i dint find a combo like this in any other gov

badass is for battery only ,u will have lags in games and other stuff :p

intellydemand is also good (but only few kernels have that)
[HTC Sensation] demoncamber:
I asked in my own question thread but no one wanted to answer :(

lol

If I wanted to compare governor tweaks with a benchmark, without running an entire suite, what specific module could I choose to see a difference?

For instance: https://play.google.com/store/apps/details?id=com.quicinc.vellamo&hl=en Vellamo lets you choose what specific benchmark you want to use.
[HTC Sensation] Harbir:
As I think , changing govs in a single kernel only by app and not by reflast of kernel with that gov will not provide u a full juice of that gov as some gov leave their remains behind , which conflicts with the other gov . I would say always flash the new gov from recovery as I will remove it remains :)
[HTC Sensation] khaledreno:
So what is the best cup governors to chosse for performance (multitasking and gaming ) on mid range device ?
[HTC Sensation] Harbir:
I have tested all and have come to the result ,that on-demand is the best for all the above 3 :)
[HTC Sensation] :
hi, it depends on the device and kernel you're using, I for single core devices much prefer smartass v2. for multicore, ondemand, or intellidemand depends on the kernel.
[HTC Sensation] khaledreno:
can you please help me i asked the OP of the problem i have but he is off

i have flashed a zip file about setting and setting got FC so i took the orignal settings and settings provider in system/app and they dissapered tried to install it but didn't work

and i didn't backup
[HTC Sensation] :
I'm a little busy at this time, you probably have not read, send me a PM with written in detail the problem you have, how you spoke, and what terminal you have (I assume htc sensation).

thanks man.
[HTC Sensation] khaledreno:
i fixed it with reflash rom and i use ace plus and sorry for bothring you :)
[HTC Sensation] :
well, the important thing that you have solved.
[HTC Sensation] khaledreno:
Thank you you helped me i have single core core process :D
[HTC Sensation] samkraju:
Nice post
[HTC Sensation] Overheat2747:
Well Done!!!
[HTC Sensation] roddem:
great help ! super job done !

(y)
[HTC Sensation] :
Your explanations of the governors was the easiest to understand for me, and thorough, of the guides I've read on the issue in XDA so far. Thank you!

From reading the OP's list of governors (up to today), I gather that the most popular are OnDemand, Interactive, Smartass, and SmartassV2. If I'm wrong, please correct me. For me, I'm deciding between those myself. I want great performance, and moderate battery life, since I can charge fairly easily. Although, I wouldn't want my phone's battery to drain within 3 hours or less, and there is the hassle for me, and toll on the battery, of recharging too often. It'd be great if there was a poll somewhere, for which governors are popular/most used. Thanks again for taking the time and effort to write such a thorough guide!
[HTC Sensation] :
thanks for the appreciation, now what kind of device are you using? single core - dual core or what?
[HTC Sensation] :
It's a single core proc [1GHz Samsung Hummingbird (ARM Cortex A8 + SGX 540)]. I have a Samsung Nexus S 4g (crespo4g). I know this isn't the right thread for that device, but your "governors" explanation was so good, I had to tell you how thankful I am.
[HTC Sensation] IcyT:
Thanks! Really helped in choosing the right governor for me.
[HTC Sensation] :
hi, I've had the nexus s, and I must say that the best goverantore for this terminal is without doubt, smartass v2, high-performance battery, and speed of your phone.

I take advantage of the response, to wish for a happy and peaceful 2014 to all. :highfive:
[HTC Sensation] :
Thank you for the suggestion! I have been trying out smartassv2 since yesterday, but with your suggestion, I'll likely be keeping it now. Hope everyone had a Happy New Year!
[HTC Sensation] domar14:
I always use Ondemand, but I am not sure if it the best way to good performance and battery saver. Why does every ROM have only few governors? I've never seen Scary governor for example.
[HTC Sensation] hatememarkz:
Custom kernel would be my first guess ??

HERCULES S²
[HTC Sensation] googlemd:
Screen off

Can anyone tell me if i'm using performance governor, when i turn off the screen, CPU stays at maximum frequency? Thanks.
[HTC Sensation] :
hi,absolutely not! however, to see how the cpu works, just install cpu spy, to play store.
[HTC Sensation] Ash359:
I just realized my favorite governor is missing!

Zzmove! This governor will run my phone on one core at minimum frequency and then scale up as needed from there.

Sent from my Jedi MasterX Note 2
[HTC Sensation] :
hi, I'll see to provide. ;)
[Sprint HTC EVO 4G LTE] nite2k:
Someone please build a dialer.apk or flashable zip that rotates phone dialer to landscape orientation ;-)
[Sprint HTC EVO 4G LTE] BrianBaker:
Why don't you build it?

Wrong section my friend.
[Sprint HTC EVO 4G LTE] regulator207:
coulda sworn i saw a post just like this last night that was moved. maybe it was a premonition.
[Sprint HTC EVO 4G LTE] misfit0313:
OP, please read stickys and watch this video http://www.youtube.com/watch?v=JmvCpR45LKA
[Sprint HTC EVO 4G LTE] Rxpert:
Doesn't it work in roms that have landscape mode?

Not on one now so I can't check
[Sprint HTC EVO 4G LTE] stang04:
+1

i swear i did too...
[Sprint HTC EVO 4G LTE] vanessaem:
OP, your thread has been moved. Please post theme and app requests in the Themes and Apps section. This thread did not belong in Development.
[Sprint HTC EVO 4G LTE] nite2k:
Why are you saying its the wrong section?? You guys don't make sense.

Moderator-

OP, your thread has been moved. Please post theme and app requests in the Themes and Apps section.

Exactly. This IS the right section for requests like this.
[Sony Ericsson Xperia Neo, Pro] -Arturo-:
Gents can you please recommend a ICS rom that has about 200 MB + of Ram memory available for user?

I heard that Polish blood meets my requirements but apparentlly there are some issues with it - problems with wifi, face recognition doesn't work etc.

I would love to try a few roms for myself but I don't have a phone yet, I will be buying it tomorrow morning and a few hours later I'm going for holiday, without access to a computer for the next week. So I would like to quickly pick up an ICS rom, personalize it to my liking to go on holiday with a fully working phone.

Would appreciate any help.
[Sony Ericsson Xperia Neo, Pro] Pandemic:
please search and i dont tell it 100 times a day ;)
[Sony Ericsson Xperia Neo, Pro] -Arturo-:
I did search...that's how I found out about Polish blood rom. Couldn't find any other rom with 200 mb of free memory.
[Sony Ericsson Xperia Neo, Pro] Madfysh:
AOSP Polish blood + XNeo AOKP v1.2.431 from sirkay

WiFi working.

WiFi problems are down to router you are using. Some people have problems with any(or at least most of them) rom, while some have no problem at all.
[Sony Ericsson Xperia Neo, Pro] -Arturo-:
Thank you. WILL CHECK both roms
[Sony Ericsson Xperia Neo, Pro] Madfysh:
second one is kernel ;)

I suggested it to you because kernel from Polish Blood AOSP have some battery drain.
[Sony Ericsson Xperia Neo, Pro] -Arturo-:
Which kernel would you recommend?
[Sony Ericsson Xperia Neo, Pro] Madfysh:
You misunderstood me :)

Read my replys again. One is rom, other one is kernel. :)
[Sony Ericsson Xperia Neo, Pro] -Arturo-:
Ok I get it now:) Thanks for the help.
[Thinkpad Tablet General] dude2k5:
I rooted the tablet earlier, and lost root with one of the updates (despite using voodoo). So when trying to install this ICS update, it gets about 25% and says my keyboard layout file has been changed (I modified it). So, I can't change it back and I can't update. Any suggestions?
[Thinkpad Tablet General] ker2gsr:
If your not on ics yet try a root method to regain root and put back ur keyboard layout
[Thinkpad Tablet General] dude2k5:
I did try the root again, it did not work sadly. Which one are you taking about? Is there one that works with the latest updates (before ICS)
[Thinkpad Tablet General] dude2k5:
I found manual update I think, same god damn error. This is impossible to fix without root and root was lost with the last update. I really hate Lenovo now. Good hardware, but god damn, why do you fight the dev community.
[Thinkpad Tablet General] darkhandsome18:
Sorry to state the obvious but yes, you're screwed until you can root the tab to restore the layout.

On a more helpful note have you tried the new YAREFTPT root method? And secondly, isn't it possible to comment out lines of the update you don't want to be checked?
[Thinkpad Tablet General] ker2gsr:
he might be able to flash if he has cwr still installed
[Thinkpad Tablet General] dude2k5:
Damnit that sucked. Had to do it manually. At least I got root again.

http://www.gadgetmech.com/howtos/how-to-root-thinkpad-tablet-step-by-step/
[Thinkpad Tablet General] ker2gsr:
now u should be able get stock keyboard layout

rocking rooted ics ThinkPadTablet..... *****es
[Galaxy S III Android Development] wanam:
As i you know, a Double click feature was implemented for the Home button on Samsung Roms to launch Vlingo on SGS2 and S-Voice on SGS3.

This feature may be seen a useless Lag :D because most of us don't use these apps, so this is a small how to disable it, this mod was based on Oliwe and Jkay mods, thanks to them.

You need to decompile android.policy.jar (get Smali here ), Edit "androidpolicyjar\com\android\internal\policy\impl\PhoneWindowManager.smali" and make these changes :

.line 2282
:cond_236
[COLOR=SeaGreen]++goto :cond_24b[/COLOR]
[COLOR=Red]--if-eqz v26, :cond_24b[/COLOR]

.line 2283
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHomeKeyDoubleClickConcept:Lcom/android/internal/policy/impl/PhoneWindowManager$HomeKeyDoubleClickConcept;

move-object/from16 v41, v0

invoke-virtual/range {p2 .. p2}, Landroid/view/KeyEvent;->getAction()I

.line 2289
const/16 v41, 0x0

move/from16 v0, v41

move-object/from16 v1, p0

iput-boolean v0, v1, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHomePressed:Z

[COLOR=SeaGreen]++invoke-virtual/range {p0 .. p0}, Lcom/android/internal/policy/impl/PhoneWindowManager;->launchHomeFromHotKey()V[/COLOR]

.line 2291
if-nez v26, :cond_2a3

.line 2371
[COLOR=SeaGreen]++goto :cond_332[/COLOR]
[COLOR=Red]--if-eqz v26, :cond_332[/COLOR]

.line 2372
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHomeKeyDoubleClickConcept:Lcom/android/internal/policy/impl/PhoneWindowManager$HomeKeyDoubleClickConcept;

move-object/from16 v41, v0

invoke-virtual/range {v41 .. v41}, Lcom/android/internal/policy/impl/PhoneWindowManager$HomeKeyDoubleClickConcept;->setHomeDownEventSent()V

You may get a different conditions Ids, track the methods name.

Compile & Enjoy!
[Galaxy S III Android Development] GadgetCheck:
Thanks Mate

As always
[Galaxy S III Android Development] mc-paulo:
Is this already implemented in your WanamLite 1.4?

And as always: Thank you for your great work!
[Galaxy S III Android Development] wanam:
Yes, it's implemented on my V1.4.
[Galaxy S III Android Development] sxi200:
Is this any different to disabling it in S voice settings?

Edit: Well, actually it is different as rom developers can implent it in their roms.

Great work!
[Galaxy S III Android Development] jonny68:
I don't suppose there is a flashable zip as opposed to all that decompiling mallarkey :good:
[Galaxy S III Android Development] S_Dot:
+1
[Galaxy S III Android Development] FadeFx:
It would be cool if we could somehow just minimize the wait for the second click, this would keep functionality and reduce the lag to a minimum.

–—–—–—–—–—–—–—–—

tapatalked from Galaxy SIII
[Galaxy S III Android Development] superas:
+1 for that, please.

GT-I9300 cihazımdan Tapatalk 2 ile gönderildi
[Galaxy S III Android Development] dasistsparta:
A flashable zip would be great:)

Sent from my GT-I9300
[Galaxy S III Android Development] mariosraptor:
Why do not you turn off double click from s-voice application itself.

Just launch the application,press menu softkey.

Settings will popup.

Uncheck launch S voice below language. Very much more simple.

Cheers
[Galaxy S III Android Development] wanam:
This won't disable double click.
[Galaxy S III Android Development] dannybuoy:
Just tried turning off double click in S-Voice settings, it halves the amount of time it takes to go back to the home screen.
[Galaxy S III Android Development] Timi91:
Hi :)

Can someone make a flashable CWM Zip ?

Thanks a lot.
[Galaxy S III Android Development] mariosraptor:
Yes it does. Just try it.
[Galaxy S III Android Development] wanam:
I can't test it as i don't use this app, but i think you are right, i just checked the sources, and Yes it's supported :

.line 2269
.local v4, attrs:Landroid/view/WindowManager$LayoutParams;
:goto_1f8
move-object/from16 v0, p0

iget-boolean v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mHomeDoubleClickBehavior:Z

move/from16 v41, v0

if-eqz v41, :cond_22f

if-eqz v18, :cond_22f

const/16 v26, 0x1

.line 2271
.local v26, mSupportDoubleClick:Z

Anyway this mod will still useful if your Rom don't include S-voice :D .
[Galaxy S III Android Development] aydc:
It would be great if you could also implement long press volume to skip songs mod from sgs2. It's also a android.policy mod.
[Galaxy S III Android Development] strongylad28:
+1
[Galaxy S III Android Development] mariosraptor:
I do not know much about coding. But i am glad that Sammy left us the choice like Apple has.

In the end i just want to say Thank you for your work. I have been using your roms on my S2 also. Now i have your stock deodexed one

Cheers m8!!!
[Galaxy S III Android Development] jhericurls:
I'm missing this feature big time :(
[Galaxy S III Android Development] jakubklos:
+3

I cannot live without this feature.
[Galaxy S III Android Development] Gadgetz:
I just did this both ways and here's my findings

First way was going into app manager and disabling the app. It did do away with the double click thing but still noticed a lag/delay. Checked to make sure no s-voice services were still running in the background in spite of me disabling it and none were. So I re-enabled it.

This time I went into the app, settings, and unticked "launch s-voice" and holy excrement, pressing the home button results in immediate return to the homescreen, no more lag!

Thanks guys :good:
[Galaxy S III Android Development] Majjjjo:
it works perfectly o my device. no lag at all after disabling S-Voice. Immediately after home click button goes to home ;)
[Galaxy S III Android Development] sjgore:
I still get a two second delay when running CM9, so it's nothing to do with S Voice. For me, anyway.

If your phone is waking up straight away, I think it's more likely that a rogue app or service is preventing it from going into deep sleep.
[Galaxy S III Android Development] thalarek:
Thanks wanam. Since i dont have s-voice installed , this was perfekt. Lag is completely gone... CheersB-)

Sendt fra min GT-I9300 med Tapatalk2
[Galaxy S III Android Development] clark44:
Hi. I am attempting to recompile after making the appropriate changes but im getting the follwing error:

C:\apktool>java -Xmx512M -jar smali.jar C:\apktool\com
com\android\internal\policy\impl\PhoneWindowManager.smali[8622,10] Label "cond_2
4b" is not defined.
com\android\internal\policy\impl\PhoneWindowManager.smali[8979,10] Label "cond_3
32" is not defined.
com\android\internal\policy\impl\PhoneWindowManager.smali[8984,4] mismatched tre
e node: I_STATEMENT_FORMAT22c_FIELD expecting I_CATCHES
com\android\internal\policy\impl\PhoneWindowManager.smali[0,0] mismatched tree n
ode: UP expecting I_FIELDS

Attached is my edited PhoneWindowManager.smali

Any help would be appreciated...

EDIT...Fixed the issue myself:) had to use corresponding device cond destinations.

For example in the OP it says implement the following code...

++goto :cond_24b
--if-eqz v26, :cond_24b

Now for US Sprint users the code is not 24b, its 36c. So for sprint users it would be...

++goto :cond_36cb
--if-eqz v26, :cond_36c

Hope this helps :)
[Galaxy S III Android Development] Walhalla:
please ignore.
[Galaxy S III Android Development] box4m:
Does this remove the launcher redrawing sometimes even though there is loads ram free ?
[Galaxy S III Android Development] ookba:
Is there any way or app out there to just remap the double click, long press of the home or menu buttons to launch any app you want? Kinda like CM9?
[Galaxy S III Android Development] jonny68:
Any chance of someone making a flashable zip?
[Galaxy S III Android Development] henrybravo:
This mod has nothing to do with that.
[Galaxy S III Android Development] jgrimberg1979:
How can i make double click home launch camera app instead of svoice? It should be fairly simple??
[Galaxy S III Android Development] wanam:
I didn't try, but as u say i think it's simple, edit "androidpolicyjar\com\android\internal\policy\impl\PhoneWindowManager.smali" & change :

.line 1326
new-instance v6, Landroid/content/ComponentName;

const-string v7, "com.vlingo.midas"

const-string v8, "com.vlingo.midas.gui.ConversationActivity"

To

.line 1326
new-instance v6, Landroid/content/ComponentName;

const-string v7, "com.sec.android.app.camera"

const-string v8, "com.sec.android.app.camera.Camera"

And recompile.
[Galaxy S III Android Development] jgrimberg1979:
Awesome Thanks man! I will let you know if it works
[Galaxy S III Android Development] locoboi187:
+1 for XBLFB :)
[Galaxy S III Android Development] jgrimberg1979:
I just tried looking for that code and it doesnt exist. If you dont mind can you take a look at my .jar.
[Galaxy S III Android Development] wanam:
It's there!

Here you go (Not tested).
[Galaxy S III Android Development] jgrimberg1979:
Thanks, I am trying it out now. I will let you know. What did you change?

Edit: unfortunately it did not work. It still brings up voice search
[Galaxy S III Android Development] jgrimberg1979:
I actually had motospeak installed and that was lauching not voice search. Man i wish i could get this to work. Its gotta be something in android.policy.jar.