yashsingh1/xdaforums huggingface dataset:
[Defy Themes and Apps] tribal303:
Hey inteks, hi everyone

I'm new to this forum and defy and so on ... I was just wondering about 'vsel' - does it make any sense to calulate resulting mV and 'theoretical savings'?

OMAP36xx_ES1.x_PUBLIC_TRM_vQ.pdf - P. 449

Table 3-93. Data Composition for SmartReflex Voltage Control Registers

==> Output voltage - VSEL * 12.5 mV + 0.6 V

Save (for me):

26/300 -> 925 mV

34/600 -> 1025 mV

50/800 -> 1125 mV

Default:

33/300 -> 1013 mV

48/600 -> 1200 mv

58/800 -> 1325 mV

Maybe it's total nonsense ... idk.

Nice app btw :)
[Defy Themes and Apps] Phut:
As a rough guide, a decrease in voltage supply would result in a squared decrease of power consumption for the same processor frequency.

The reality is of course less ideal than this.
[Defy Themes and Apps] Blackcorsa:
thank you

thats nice to undervolt :)
[Defy Themes and Apps] Phut:
The manual Limit to Vsel 2 button seems to not work. I enable it and it still maxes out at my Vsel 1 clock.

I'm not sure if this has to do with my having the limit to Vsel2 when battery goes under 10% set?

BTW is there provision in the Vsel libraries to vary the loiter times between Vsels in addition to the threshold? For me if I could set the loiter the of Vsel2 to Vsel1 transition to something like 5 seconds I could evade needing 'profiles' entirely, as Vsel 2 (720MHz currently) would handle most events that I'd come across in within 3 or so seconds (e.g wakeups)
[Defy Themes and Apps] johnw.xda:
off screen limit

I limited off screen to vsel1 (300Mhz),

and limited cpufreq(700Mhz) to vsel2 when battery <= 30%

but i use the adb/usb debug see the cpufreq, the screen off setting look like not work.

when i screen off, the cpufreq still use 700Mhz.

cpuinfo cur min max

cur: 700000

min: 300000

max: 1000000

scaling cur min max

cur: 700000

min: 700000

max: 1000000

overclock mpu_opps info

mpu_opps[3] rate=1000000000 opp_id=3 vsel=52 sr_adjust_vsel=52

mpu_opps[2] rate=700000000 opp_id=2 vsel=34 sr_adjust_vsel=34

mpu_opps[1] rate=300000000 opp_id=1 vsel=18 sr_adjust_vsel=18

How do i know is it(off screen limit setting) working?

Please help, and thank you.

SORRY EVERYONE, IT LOOK LIKE WORK NOW, AFTER REBOOT.
[Defy Themes and Apps] cwhiggs:
Hi Folks,

Just wondering if someone could explain to me the advantage of upping the Vsel2 settings to 700/720MHz? I can just about grasp what Vsel is doing but would like to know why some people choose to do this. Thanks.

My current settings are:

VSel1: 300/19

VSel2: 600/32

VSel3: 1000/52
[Defy Themes and Apps] Phut:
The three levels represent the processing speeds available to the core and the speed governor changes between these levels when the preset CPU load threshold is exceeded at any given processor speed.

By bumping the second level to a higher frequency then the processor is less likely to go to the highest frequency, which may be at an overvolt voltage (i.e most people who have 1.2 or 1.3 overclocks). As we learnt before, adjusting the voltage brings forth nonlinear increases in power consumption (which aren't in our favour)

Additionally there's a minor delay between the processor being scaled up and down these levels introduced by the speed governor. By putting a larger speed at 2, there's also potential for dynamic lag to decrease. Unfortunately we can't tweak these times at the moment so further optimisation isn't possible.
[Defy Themes and Apps] cwhiggs:
Thanks. So is it the case that if you overclock above the stock 800Mhz it is best to up Vsel2 to something like 700 so as to avoid the CPU going to the upper, overclocked frequency unless absolutely necesary? Thanks again.
[Defy Themes and Apps] Phut:
Unfortunately the governor used with SetVsel seems to raise the speed quite rapidly, even when I'm scrolling it will go to 1100 (over the 720 I have as an intermediate).

The only solution there is to limit the system to the 2nd frequency by using the option menu that you can bring up if you enable the notification icon. Scrolling is of course not as smooth but still quite useable.

As per my previous comment the current version seems to reset that option if you have the 'limit to Vsel2 if battery under %' when the battery is over '%'.
[Defy Themes and Apps] greenday646:
Hi guys,

i noticed that there are these two options in setvsel; "Enable/ Disable Jit" and "Unload Overclock.ko"....what does it do? i can't seems to find much info on it. should i enable or disable the Jit? thanks in advance =)
[Defy Themes and Apps] SteveChou:
Hi，inteks，

Would you update your great app for supporting new CN froyo 1.11.0?

Recently I updated my DEFY(me525）from CN 0.26.0 to 1.11.0, but the phone reboot immediately when i launch the setvsel.:(

thanks in andvance.
[Defy Themes and Apps] cwhiggs:
Anyone?

I'd like to know about these options too. Cheers.
[Defy Themes and Apps] sewi80:
awesome

Hello

i tried to use frequencies below 300Mhz like 250Mhz but it seems, that this dont work, at least the phone never used it, even if it idled at 600Mhz.

Any positive tests with underclocking below 300?

My Settings are

300/17

500/27

1000/50

i am not sure about that 500, i tried it and for most cases it seemed enough, to not use the 1000.

Is there a way to see like a log where all 3 frequencies are shown to there uses, like 80%/300 15%/500 and 5%/1000?

and btw big thanks for that useful tool!
[Defy Themes and Apps] Jason78729:
Im also interested in what difference "enable/disable JIT" makes. I'm currently on jboogie's us froyo rom and since its froyo JIT should automatically be working.

My settings

24-300

34-600

62-1100

Using these settings I got over 50 hrs out of the battery and it still had 40% battery left and this was using the phone normally with wifi on. So big thanks to inteks and his app.

Sent from jboogie US-froyo rom
[Defy Themes and Apps] martin.flory:
OMG, 50hs and 40% left? that's amazing! do you use 3g/EDGE? do you listen to music with it? much voice calls?

Please describe a bit your usage.

thanks and congrats on that amazing battery life.
[Defy Themes and Apps] Jason78729:
Don't usually listen to music. I use the wifi calling and made/had 20 calls. Browsed the internet about 3 hrs. I probably ran 30+ quadrant benchmarks (constantly tweaking). I usually turn off background data. Let me know if u have any more questions.

Sent from jboogie US-froyo rom
[Defy Themes and Apps] Jason78729:
Sent from jboogie US-froyo rom
[Defy Themes and Apps] Jason78729:
I also don't use a task killer everytime I turn on the screen. I get better battery and usually better benchmark scores if I let the OS manage the processes. Im also not real big on using widgets and no live wallpapers.

Sent from jboogie US-froyo rom
[Defy Themes and Apps] RexXxuS:
That sounds and looks great ó.Ò ! Thanks.

But what Treshold value you have? And what Checkboxes do you ticked on in SetVsel? I think it is important to know, too.

And by the way... do you have sometimes problems with your four Softkey buttons in front of your Handy? And you have a Defy, right?

Thanks!
[Defy Themes and Apps] Jason78729:
Yes its a defy. I check the limit to setvsel1 on screen off and limit to setvsel2 at 30% battery. I keep the governor "on demand" and don't have a set threshold I use. Haven't noticed the soft key lights.

Sent from jboogie US-froyo rom
[Defy Themes and Apps] Erra:
That is some killer up time.

I am usually getting about two days of uptime. I can probably do without the widgets I have currently. They probably drain a good deal of battery.
[Defy Themes and Apps] drsouly:
dont know whats wrong, but my system gets unstable after a few hours of setvsel usage... regardless what settings i use.

might have something to do with undervolting?!
[Defy Themes and Apps] Jason78729:
What are your settings? U might need to up the voltage
[Defy Themes and Apps] watt9493:
How are you all getting this much uptime? I use this on a us defy stock rom with 17-300/33-600/42-800 and i get a day out of it by the skin of my teeth. I do listen to music 1-2.5 hours a day and lots of texts. Almost no voice calls and rare internet usage. I use juicedefender on extreme so no 3g connection while idle. Sorry for longwinded post, just trying to solve this problem.
[Defy Themes and Apps] Phut:
Undervolting didn't help my battery life by much, it turned out I had underlying app issues.

First, if the phone is losing a lot of battery on 2G dataless idle (say during your sleep, unplugged) then you will likely need to use spareparts to chase down the application that's acting up and keeping your phone awake. For reference, my Defy lost 3% battery over 8 hours in my last test. I also bought SystemPanel as recommnded through various battery optimisation guides on these forums but I don't think it's that useful, see if you can catch your problem using Spare Parts first.

Secondly what I've found regarding data is that you're best off to use an all or nothing strategy.

If you don't need background sync going, then turn it off and choose 2G only unless your area happens to be covered much better by 3G.

If you need to sync and need to use data then either use 2G only-data off + WIFI always on or 3G only-data on.

NOTE: Where I live they haven't implemented 2.5G EDGE, only GPRS. GPRS is the devil when it comes to periodic sync programs - I can't say if EDGE is slow enough to not be worth it either.
[Defy Themes and Apps] cabbelo:
wow ... your app is just great ...

thanks for your effort!
[Defy Themes and Apps] watt9493:
Whatever 1013 is is sucking network. :(
[Defy Themes and Apps] ABC_Universal:
It seems that performance mode is not remembered after restart of phone. Would you please add a performance mode option or let performance mode be remembered after reboot? Thanks!
[Defy Themes and Apps] bobbyphoenix:
OK new issue. I just got the official 2.2.1 update, and everything went well. I launch setvsel, and I have none of the boxes with my set values. The top part of the app is the "up threshold" scale. There is nothing above it. If I press "apply" the notification bar shows my values, but within the app, it stays at default. Also now that I'm on FroYo I have JIT automatically enabled? So I don't need to enable it through the app now right?

Here is a link to the 2.2.1 if anyone is interested. You can get the update.zip from here too: http://xdaforums.com/showthread.php?t=977159

Thanks
[Defy Themes and Apps] Peglezn:
u need to root ... or unninstall and reinstall if ur already rooted
[Defy Themes and Apps] bobbyphoenix:
I am still rooted. I still have SU access. I'll try uninstalling and reinstalling to see. Thanks.
[Defy Themes and Apps] bobbyphoenix:
No go. After reinstalling and opening I still don't have the six input boxes for my values, nor does the threshold work. Everything stays stock default. :(
[Defy Themes and Apps] nupi:
Looks like the media process group uses a lot of data in my case. Is there any concern if I simply remove that stuff? I dont want DRM on my phone anyway...
[Defy Themes and Apps] bobbyphoenix:
Color me silly. Even though I still had SU access I didn't have root. I re-rooted, and now it works like before. The only thing I don't have to do now is enable JIT since FroYo enables it automatically. Nice.
[Defy Themes and Apps] bobbyphoenix:
Nice! Just did a quick benchmark run. My phone: 2.2.1 overclocked at 1300@70. Scored 1545 on Quadrant. Just over 15 MFLOPS on linpack. And 40.7 FPS on Neocore.

***EDIT 3/6/2011***

Sorry for going off topic a bit. I know this isn't the place to post benchmarks, but after a couple reboots, and letting the phone settle down, I'm now getting around 1691 for averages thanks to your app. :D
[Defy Themes and Apps] drsouly:
may solved the issue!

turns out my init process consumes 100% cpu after unplugging...

enabling usb debug should solve the problem... at least i hope so

i know it's not related to setvsel, but maybe some of you guys got the same problem
[Defy Themes and Apps] demolition23:
Have the same 100% CPU and it stops when I enable the debugging. Nice trick mate.

Sent from my MOTO Defy :-)
[Defy Themes and Apps] Jason78729:
What rom r y'all running (stock,jboogie,pays. Froyo or eclair)? I've had no problems on T-Mobile US 3.6 (eclair) or T-Mobile 3.4.4 (leaked Froyo)?, Jboogieblurless (eclair and us Froyo) and jboogiehoney.
[Defy Themes and Apps] danielck78:
I am using Jboogieblurless and jboogiehoney with Setvsel. So far so good. I cant purchase Setcpu in my country, but this Setvsel works like a charm. Full charge usually last me about 20 hours which is good enough for me. Quadrant score after overclocking to 1100/62 averages about 1600++.
[Defy Themes and Apps] ebait:
Great app. Helps speeding up the Phone while consuming less power.
[Defy Themes and Apps] effooh:
Has anyone using the Pays ROM tested SetVsel yet? Which settings are you using?
[Defy Themes and Apps] ttocs99:
Pays rom v3.3 300/16 600/28 800/39 all are stable but every cpu is difrent
[Defy Themes and Apps] mick711:
Pays Rom v4.0

SetVsel :

300/18

600/38

1000/52

Gouvernor on demand and 86%, limit vsel2 and 99% for battery level < 10%
[Defy Themes and Apps] unrafa:
Bug:

19-300 30-600 40-800 Are stable for me. But i cant use those values directly because setvsel always jumps to 1000Mhz in the first run for a second, and if i have this values phone always reboots / freeze.

So i have to Run setvsel with 20-300 35:600 45:800. Phone will jump to 1000mhz for a sec, and stabilize at 300mhz, then i can insert lower voltage 19:300 30-600 40:800 and phone will not freeze.

Please fix
[Defy Themes and Apps] ttocs99:
@unrafa dnt run any apps afta setin setvsel jus leve the phone idle for a wile so it wil get use 2 ur settings hopes this helps
[Defy Themes and Apps] effooh:
Stability tests

Thanks for your answers everyone.

OK, I did some testing of my own. I'm using the Pays v4.0 ROM (based on 3.4.2-155-2; http://xdaforums.com/showthread.php?t=943258)

I first tested VSel3 and started at 64@1100 and went down in steps of 1 to 55@1100. Each of those tests ran for 1h before I stopped them. 54@1100 crashed after ~3mins and 53@1100 crashed right away. So now I'm going with 56@1100.

Then I tested VSel1 and results were a bit confusing:

24@300: 6mins

26@300: 30mins

28@300: 11mins

30@300: 22mins

33@300: 18mins (stock value)

I'm going with 28@300 and I'll see what happens in the long run.

I have to do some more testing for VSel2 - so far I have:

40@600: 27mins

42@600: 28mins

I'm a bit confused about the up_threshold value since I first read about someone recommending 60% (http://xdaforums.com/showthread.php?t=943264) with this reasoning:

Hhhmm even more tests, yeah. :D
[Defy Themes and Apps] mick711:
I don't know why test Vsel1 stability ^^ you don't use the phone with Vsel1 it's when the screen is off :rolleyes:

But i have some probleme with Pays v4.0 SetVsel work fine since 3 days and now when screen is on go directly to 1000Mhz but i select on demand and before i don't have this problem .

Thanks
[Defy Themes and Apps] ttocs99:
@mick The screen iz being used wen u unlock it. so ur phone is in use ur phone goes to 1000mhz lyk i have jus use setcpu to check if it is doin ondemand by scaling through frequencys on the info part on setcpu and twitch the screen a little bit to see the frequency change
[Defy Themes and Apps] dzzdefy:
my presets are:

20/300 34/600 52/1000

The stability test is reliable running it during 2 hours?

or maybe different when you are calling and running few apps at the same time....
[Defy Themes and Apps] albertocalle:
Do we need to have loaded the module with Milestone OC for overclocking/undervolting our defy with this app?:confused:
[Defy Themes and Apps] dzzdefy:
The stability test is a big joke. You can run it during 2 hours without issues but your system will hangs on normal use. Also the settings from 1000mhz reseted back to 800mhz itself.

If you change the default voltage your system will be slower and unstable, doesn't matter what you see on the screen because you will not get the real speed.

default 33/300 = speed 300mhz.

change to 20/300 = it shows 3000 but the speed will be 180mhz.

This is my opinion.
[Defy Themes and Apps] sp8y:
Just noticed it's doing this for me when I reboot the phone.

It reverts to the default settings after rebooting even when the "apply at boot" box is checked.

Never used to do it on 2.1 eclair but I'm now on UK 2.2 froyo - not sure if it does every time I reboot but it's not a big issue as I just need to go into Setvsel & click apply.

*edit - seems OK for me now after I did a factory reset due to another issue. Several reboots & it starts up at boot every time.
[Defy Themes and Apps] samorgs:
I'm using standard 2.1 at the moment and running,

20/300

30/600

52/1000

Up threshold@ 80%

Had no problems so far.
[Defy Themes and Apps] effooh:
Where do you see that the speed is 180Mhz? Do you have some proof of this?
[Defy Themes and Apps] insestito:
This is my best configuration for me !

24/300

34/600

62/1200

80%

1569 in Quadrant !!
[Defy Themes and Apps] newisher:
My best result:

1. 16/300

2. 34/700

3. 63/1200

up_threshold - 90%

quadrant score - 2196

But I use these settings:

1. 17/300

2. 35/700

3. 57/1100

I would like to get donate version to get rid of 5 seconds waiting at the start of the program. But I can't find and buy it in the Market. How can I do it?
[Defy Themes and Apps] effooh:
Here's the link for the Inteks Unlock Key:

AppBrain: http://www.appbrain.com/app/inteks-unlockkey/com.SetVsel2.Inteks.org

Market: https://market.android.com/details?id=com.SetVsel2.Inteks.org&feature=search_result
[Defy Themes and Apps] newisher:
"The requested item could not be found."
[Defy Themes and Apps] effooh:
I dunno maybe you need this: http://www.appbrain.com/app/marketenabler/ch.racic.android.marketenabler
[Defy Themes and Apps] newisher:
It can't help either!
[Defy Themes and Apps] powerman13:
I wanna ask if I need to put Setvsel into ignore list when I am using Task killer app?

Thanks!!
[Defy Themes and Apps] Jason78729:
Yes you need to put setvsel in the ignore list. Also for everybody who is having problems with your settings being saved you have to wait at least 20 seconds after you press apply (anytime u adjust your settings) for setvsel to save your changes. This is a failsafe in case you might of entered settings that might crash your phone.
[Defy Themes and Apps] powerman13:
Got it. Thanks!
[Defy Themes and Apps] muyongyin:
3q。。but for my poor English。。

i should find a version in chinese
[Defy Themes and Apps] nepotu:
Great app! Thanks for sharing!
[Defy Themes and Apps] Nerd Rage LBC:
Awesome utility.

Suggestion? Have an option to limit to a Vsel 1 or 2 while plugged in for cooling solutions... As I'm about to charge my phone... And still use it.

Also thanks to Sukiyaki, about to try his clocks.

Testing 1hr:

300 / 28

800 / 46 (might make this 600...)

1200 / 60
[Defy Themes and Apps] martin.flory:
I think you can undevolt more. Since you can go 1200@60. I can only do 1200@63 and I have these, so far very fast and stable.

300/20

600/32

1200/63

(also if I want 800 I would try 36, or 38 at most, I can run 900@40 no problem and your processor seems better).
[Defy Themes and Apps] Nerd Rage LBC:
Finished 1hr no crash stock defy t-mobile.

300 / 28

800 / 46

1200 / 60

Threshold 76%

36-39c

Core runs 34

Ram runs 231

Yea I might under volt 800 a bit more or leave it out of laziness lol.

Now to research into roms...
[Defy Themes and Apps] lanfearxt:
i've been running 300/24, 600/34, 1000/52 for so long and stable. prior to that, 300/20 but hangs sometimes, or phone restarts on it own. guess so far is good
[Defy Themes and Apps] inteks:
below 300 does not work (on my defy) ....

you can check with

adb shell

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
[Defy Themes and Apps] Perilla_:
Change the first thread! "planned" are update 4 right?
[Defy Themes and Apps] inteks:
your right , thx :rolleyes:
[Defy Themes and Apps] walter79:
doesn't work with android 2.2.1
[Defy Themes and Apps] shamo42:
I may be able to underclock <300Mhz

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

gives me: 800000 600000 250000

after applying the following script in GScript:

echo 38 > /proc/overclock/max_vsel

echo 800000 > /proc/overclock/max_rate

echo 1 250000000 23 > /proc/overclock/mpu_opps

echo 2 600000000 33 > /proc/overclock/mpu_opps

echo 3 800000000 38 > /proc/overclock/mpu_opps

echo 0 800000 > /proc/overclock/freq_table

echo 1 600000 > /proc/overclock/freq_table

echo 2 250000 > /proc/overclock/freq_table

cat /proc/overclock/mpu_opps

Battery life is excellent with these settings. I'm at 70% after 41 hours of normal phone usage. With stock freq. and voltages I was at 50% after simliar usage.

However:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

never gives me 250Mhz. Only 600 or 800Mhz.

So is it working or not?
[Defy Themes and Apps] inteks:
do

echo 250000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

and run a benchmark or run stabilitytest (market)

it should show ca. 250 bogomips

if it shows 600 or if you get same benchmarkresults on 250 and 600 it does not work....;)
[Defy Themes and Apps] inteks:
update setvsel to v6.

added a option to run stabilitytest. after i run it on my defy i had to push up the vsels for 700 & 1100 but its good to know its stable.... ;)

but i could lower the vsel for 300 and thats the cpu freq while is display off

300@28

700@52

1100@62
[Defy Themes and Apps] shamo42:
It gives me exactly 299.11 bogomips for 250Mhz max :confused:

Does this mean the Defy actually runs at 299.11Mhz and not 250?

So I managed to underclock only 0.89 Mhz :(
[Defy Themes and Apps] inteks:
it looks like it runs @300 but cant display it correct because of the wrong settings.

Sent from my Defy
[Defy Themes and Apps] sarge78:
How long is everyone letting the stability test run? 5 hours seems rather extreme for a phone :D
[Defy Themes and Apps] shamo42:
10 mins (on the heater to simulate summer conditions :o)
[Defy Themes and Apps] sarge78:
Toasty :) Have you hit 40C yet? :p

inteks, you probably already know but setvsel v6 thinks my current clock speed hits a max of 1MHz :D (when it should be 1000MHz)
[Defy Themes and Apps] Sorensiim:
Any chance for Froyo support? :)
[Defy Themes and Apps] inteks:
although we no longer need milestoneoverclock because setvsel loads overclock.ko himself

is it still dependent on it ;)

if milestoneoverclock support froyo on defy setvsel support it too
[Defy Themes and Apps] dir2:
Great app! Using it couple of days, no problems at all. 2.34.1 Build

300Mhz@28VSel / 600Mhz@38VSel / 900Mhz@48VSel

Thanks!
[Defy Themes and Apps] cgordonfreeman:
If possible could you add an option for a certain max clock speed once your battery hits a certain level?

Thanks.
[Defy Themes and Apps] Perilla_:
You want to uninstall setcpu...
[Defy Themes and Apps] cgordonfreeman:
Yes. And just use this:)
[Defy Themes and Apps] Born_Bad:
my defy runs 300/600/800 with 20/30/40 and stablity test didnt find errors after testing each frequency for 1h. nevertheless every few days i get errors or apps act up.

from overclocking pcs i know, even if voltages are fine for specific freqencies, the moment of changing states is critical.

so maybe the easiest way would be: find the vsel were errors appear after some minutes and add 4 or more to the vsel to be safe.
[Defy Themes and Apps] Perilla_:
This is getting beautiful, he is doing a great job.
[Defy Themes and Apps] alakiha:
Here it is my clocks/volts and it's stable

19/300

29/600

54/1100
[Defy Themes and Apps] hartmuna:
My settings

I have been running on the following settings for several weeks. Therefore decided to apply@boot:

300MHz@22VSel

600MHz@32VSel

1000MHz@52VSel

Have not tried to go on higher freq than 1GHz because fast enough so far and a bit afraid of frying my beloved DEFY. :rolleyes:

greetings
[Defy Themes and Apps] sp8y:
Just noticed the new version in the market with a "sd card speedfix" - anyone know what that is?

Thanks.

Sent from my MotoDefy.
[Defy Themes and Apps] inteks:
http://xdaforums.com/showthread.php?p=12437265

[Script][CWM] Increase Read Cache for better SD Card access