Hi all,
Has anyone tried using SetCPU on his rooted legend? I tried on my non rooted one just too have a look at the CPU frequencies, to see how it behaves at idle and so, and while max is 600MHz the min is "only" 480MHz.
Doesn't that sound a bit high for the min frequency? The snapdragon is clocked at 1GHz and idle is 250Mhz. Has anyone tried lowering the idle frequency on the legend to gain some battery life?
Hi Bricolo_fr,
I found this entry in the FAQ of SetCPU documentation fount here (http://www.pokedev.com/setcpu/):
"Why aren't there more speeds to choose from?
The speeds which the CPU can run at is in part a kernel limitation and in part a hardware limitation. Attempting to set the CPU frequency to anything else won't cause any changes in CPU speed. On some devices, the kernel can be modified to enable certain other frequencies. There are other speeds that would be useful, the capabilities of the processor itself often hinders which frequencies are available on a device."
Anybody has the skills for making a kernel change?or some ideas for us being able to use this properly?
Hi,
Today I rooted my legend and tested again SetCPU. At the begining, it was only possible to set CPU from 480 to 600 mhz, but then I red this in SetCPU documentation:
http://www.pokedev.com/setcpu/
--------------
10. Disabling Perflock
On most stock HTC kernels and some custom kernels, HTC has enabled a driver called "perflock" that constantly resets SetCPU's Max and Min settings. This does not apply to mostly "Google experience" HTC devices such as the T-Mobile G1, the myTouch 3G, any Google development device, or the Nexus One. It does, however, apply to "HTC Sense" devices such as the HTC Hero, Droid Eris, HTC Desire, HTC Incredible, EVO 4G, and myTouch Slide. Non-HTC devices never have perflock enabled.
SetCPU can disable perflock on newer HTC kernels, giving you control of the Max and Min settings of the CPU. To do this, press the Menu button on your device in the Main tab and choose "Disable Perflock." Read through the notice and then press the button in the dialog. If successful, you should be able to change the frequency with SetCPU. If this process fails, please e-mail the developer with your kernel version and device so support can be added.
Keep in mind that disabling perflock does not enable overclocking, though some overclocked kernels may require perflock to be disabled. Overclocking, in most cases, requires a custom kernel.
-------------------
So, in the last version of SetCPU there is an option in the menu called "Perflock Disabler" With this option, it is possible to select the minimun frequence to any value from 0 to 600 Mhz.
I have not been able to modify maximun to a value higher than 600 mhz (overclock) but I think the best target is to reduce battery consumtion decresing the minimun mhz value. Actualy I set minimum 128, maximun 600.
so, are you sure you could set it to the minimum of 128? because i think it doesn't work actually...at least without a modified kernel
I got a min at 19 MHz. to 600 Mhz.
casca said:
so, are you sure you could set it to the minimum of 128? because i think it doesn't work actually...at least without a modified kernel
Click to expand...
Click to collapse
Yes. Also confirmed with the app Os Monitor:
-Saling range: 122880-600000
-Frequency range:19200-600000
-Governor: ondemand
-Current: 122880
Software version: unbranded 1.31.405.4 (just rooted with Monodaco method and applyed all OTA updates)
In SetCPU Info:
-Time in state:
19200: 22
122880: 1169071 (Currently I set minimum at 122880)
128000: 0
245760: 269491
480000: 362472
600000: 347583
SetCPU in Legend allows the following governors: userspace, ondemand, and perfromance. Ondemand works fine. Userspace and performance makes extrage things (i tested quickly, to be honest)
I defined several profiles in SetCPU, depending of battery chage, and seems to work fine. But, I did not enable "Set on boot" option in SetCPU and need to activate "Perflock Disabler" in SetcPU menu everytime I reboot Legend (I prefer to test a SetCPU a few days before enabling "Set on boot")
well...this is nice... after disabling the "perflock" option...
I set the minimum value to 19mhz....lol... with "ondemand" management of the cpu...
I think I'have seen a HUGE improvement of the battery...When I mean HUGE, I really mean HUUUUUGE!
Like, for a 12hours use always with 3g data on,and 2 hours of wireless...lost only 30% of battery...
Testing today for more results...
I use the profile manager in SetCpu to set the CPU to 128-256 while screen off, max mhz while charging, etc.
I have seen big improvements.
Yes, battery improvement is very nice. This solution is great.
I am testing a profile to 122-245 while usb charging. So, when I use Googla Mobile Navigation it is able to load a bit battery while using GPS (normaly drains battery a bit while charging)
out of charge at 6am...it's now 10am...3g ON...wireless ON now for 2hours...
So, in resume, on 4 hours of use the battery loss - 6%
At this rate, and with these settings it should last for about 66hours, about 2,7 days.
Let's see...
casca said:
out of charge at 6am...it's now 10am...3g ON...wireless ON now for 2hours...
So, in resume, on 4 hours of use the battery loss - 6%
At this rate, and with these settings it should last for about 66hours, about 2,7 days.
Let's see...
Click to expand...
Click to collapse
Holy crap!!Yea, that would definately make me root!
Sent from my HTC Legend using XDA App
I can only say...in 3g mode and with the wireless ON 90% of the time from 6am to 00.00, i had more than 40% battery left at 00.00 when i went to bed.For me it's a new record.
Sent from my HTC Legend using XDA App
In my case, tested yesterday:
Battery consumption:
battery at 100% at 10:00 am. 3g data on 1 minute every 15 minutes (JuiceDefender), 30 mínutes call and 8 emails received and red a long de day. Battery was at 41% at 1:00 am. I spent the day in a place with low 3g network (between 1 and 2 bars in the top right corner)
SetCPU Configuration:
-Profile 1: when battery is between 50% and 100%: min 122 mhz, max 600 mhz
-Profile 2: when battery is between 30% and 50%: min 122 mhz, max 480 mhz
-Profile 3: when battery is between 0% and 30%: min 122 mhz, max 245 mhz
So, battery save is very nice.
this is soooooo interesting....
I couldnt find the app in the market...i found the apk in the HTc Dream forum...version 2.01 by coolbho. Is it ok to use that ?
i think so...
in worst scenario...it won't run lol...(i think!)
If i use linpack i can see someone with a legend that runs on 711mhz? Am i missing something can we overclock..
Sent from my HTC Legend using XDA App
I've made some profiles too, and it's working really well.
Are you guys using the auto detection of the device? I've used it in the first time, but it detected my device as a Hero(?) since the max frequency was only 528mhz. Then I've changed the device and selected MSM7x27 manually and got the 600mhz max and many middle frequencies like 120, 122 and 128mhz. Now I've changed the device again to auto detection and it worked this time, got the 600mhz max, but less middle frequencies (no 120 or 400mhz). Also, i'm using 122mhz as the minimum frequency in all profiles, isn't 19mhz too low? Or the demand feature really works that well and I will not even notice any difference?
wasup!
19mhz is not too low, i've used it and had a huge increase in battery life.
I am using profiles also at the moment.
Regards
Learners Lisence said:
this is soooooo interesting....
I couldnt find the app in the market...i found the apk in the HTc Dream forum...version 2.01 by coolbho. Is it ok to use that ?
Click to expand...
Click to collapse
Hi,
You can download from this link:
http://forum.xda-developers.com/showthread.php?t=505419
If you like the app, you can donate getting from Maket. Look for "setcpu for root users". It is only 1.99 USD.
Has anyone else noticed this? My phone only goes to 245 mhz for idle speed. Android system info said that the cpu can go as low as 122mhz. I think it would save some battery life right?
yes we can... but you need root acces and setcpu
and you can underclock
PM me if you need more help
i suggest dont do that..
i ever do that, n phone become slowly ..
even to open setting..
it will become slow like symbian, and what ur friends think about it??
maybe they will thinking, android very slow :|
godfadger said:
Has anyone else noticed this? My phone only goes to 245 mhz for idle speed. Android system info said that the cpu can go as low as 122mhz. I think it would save some battery life right?
Click to expand...
Click to collapse
what ROM are you using? I'm using racht's floyo 0.15 and when the screen goes off the cpu idles at 122 MHz well.
or maybe you checked cpu freq when screen is on? because it's not 'idle' state.
This sounds interesting - can you guys let me know if you manage to extend battery life with this... and how much by, daily charging is sucky!
I use setcpu with this configuration:
Max: 600000
Min: 122880
Scaling ondemand
check: set on Boot
I also create profile:
Screen Off
Max: 320000
Min: 122880
Scaling ondemand
Hello,
I've flashed cyanogenmod 7.1 RC1 and immediately switched to using the smartass governor. However, I've noticed that the apps that can detect CPU speed (like SetCPU or OS Monitor) always detect frequency as 480 MHz. I've set the Max freq to 748 MHz and min to 245 MHz, but whatever I do, the frequency stays at 480 MHz. I've also seen in the messages section of OS Monitor errors about setting to 768000 from 480000, so I guess there is some kind of a problem there.
So is there a problem or does this governor work in a completely different way - if so, how? ;-)
Thanks a lot.
Cheers...
Smartass caps the frequency when screen on to 480 MHz to ensure responsiveness. This also helps with video playback being smooth, as it otherwise will begin to stutter when the frequency is lower than this.
OK, but how does it behave during screen off and battery low scenarios? Does it put the freq to to minimum value which is selected in the freq options of cyanogenmod setup?
I just want to understand if indeed the smartass governor can replace setcpu with profiles using the ondemand governor and keep the battery usage at optimal values.
Thanks...
When screen off smart ass governor sets the minimum CPU frequency to the value you entered (even below 480 which is to conserve the battery).
Sent from my HTC Wildfire using XDA App
Hey guys. i'm using Solarflare rom and it uses snowleopard kernel. What's the right settings to undervolt it? I want to extend my battery life more. I tried to change the values in the undervolt settings but the phone always hangs.
actually i want to know those settings too, my battery seems to be running out so quickly.
Actually SetCPU UV settings are different from phone to phone, you have to find your own good settings. Just start running a day with -25mV on the different speeds and see if it's stable and if so lower it another -25mV the next day etc...
And if you are running out of battery too quickly try to set a screen off profile 200-500MHz with a conservative governor. Also try to recalibrate your battery if you have not done that, that may work wonders on your phones. What kind of battery times are you getting ? Screentime ?
Like Reidar said it's different for every device. Right now I'm using Ninphetamine v2.05 and I'm UC @ 800mHz. With UV I have it at -125mV for 800mHz, 500mHz, and 200mHz with a conservative screen off profile. Been running this for a while now and it has been stable.
A quick tip, if you want to see if a new voltage is stable quickly is to set the voltage and run a stress test in setCPU. And always remember to uncheck the Set on Boot box when testing voltages or even CPU speeds.
Sent from my Galaxy S II using MIUI
With my GS2 i use screen off profile on demand 200Mhz with undervolt of 800mV and work very nice, only thing is a 0,5 sec lag when i unlock my phone
http://forum.xda-developers.com/showthread.php?t=1158102&highlight=SetCPU
hmm, may i ask about :
CM7.1 performance settings:
CPU Settings :
Available Governors
1.hotplug
2.ondemand
3.userspace
4.performance
as i know performance is keep the CPU run at maximum. how about hotplug, ondemand(default) and userspace, which one should i select??
-----------------------------------------------------------------------------
And what the best Min CPU Frequency set ?? 300Mhz (default) or 600Mhz???
Thank you~~~~~
I leave mine set to ondemand set max to 1300 and set the min. to 600 because when I set my min. to 300 I would get the sleep of death.
So far with my min. set to 600 I have gone a full 24 hrs. with no SOD and it seems to have not had any ill effects on battery life.
if you want to know more about the specific governor options you can read the cpufreq configs, for example
https://github.com/intersectRaven/kindle-kernel/blob/master/drivers/cpufreq/Kconfig
will show you the configs for intersectRaven's kernel.
honestly until someone tests each of these on an array of frequencies it's hard to know which is actually best. obviously the previous statements regarding sod are more than valid points.