[O3D] Overclock/Downclock guide/tutorial?
- can someone explane safe way to downclock(or overclock) GPU/CPU for O3D, I want to downclock to safe some battery life.
Thanks
SetCPU (search xda-developers for free download or market for paid updatable version) works for me, detected cpu speeds and allowed me to change them from 300 to 1008 Mhz, also there are a few options how the processor freq change when needed. For now you can only downclock until a new kernel arrives (not 100% sure what kernel is and if it really enables overclocking - just saying). I didn't try anything with setcpu but if you do please post your feedback
i have installed but i cant set the clock, with setvsel for defy i can define 3 speed for the principal status, in set cpu i see only the maximum rate (1008).
help me tks
Have you rooted your device, before you run setcpu?
what about downclocking, is it really giving extra life for battery?
I use Antutu CPU Master to downclock, it has a cool widget.
wan0eve said:
I use Antutu CPU Master to downclock, it has a cool widget.
Click to expand...
Click to collapse
to what numbers you downclocking and how is battery life after downclocking?
This is my personal kernel, that I decided to release now. It is extremely lean to minimize memory footprint and optimize perfomance. It is built from HTC official GB sources, with some of bananacakes, siberes, snq-s and my own patches. I intend to keep it at 2.6.35.10, as I see more problems than advantages in upstreaming to newer revisions.
Features:
-Hybrid adaptive voltage scaling (HAVS)
-V(R) i/o scheduler
-TinyRCU
-Overclock up to 1190
-Undervolt
-Ondemand, Virtuous and SmartassV2 governors (I use Virtuous for wake and Ondemand for sleep)
-AXI
-Lowered WiFi voltage
-EXT4 support
-snq-'s Autobrightnessmod (Enable all 10 levels)
-sibere's Battfix
-USB fast charge
-Optional 2 way call recording
-Hardcoded SD Speed Patch to 2048. No need for init script anymore
-Hardcoded highly tweaked Lowmemkiller (3584,4096,8192,20992,23040,25088). Throw away Autokiller and/or init scripts.
To make it more lean, I have disabled EXT2 support. SWAP isn't supported either, as I find it completely useless.
I have added CIFS and TUN as modules. To install, download and extract the file and push it to /system/lib/modules like so:
Code:
adb remount
adb push cifs.ko /system/lib/modules/cifs.ko
adb push tun.ko /system/lib/modules/tun.ko
And add the following line to your modules init script:
Code:
insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/tun.ko
The kernel comes in 2 flavors. BFS and CFS. Differences between them are here:
BFS - Brain F**k Scheduler
The scheduler essentially handles CPU resource allocation. It controls how the CPU ramps up in frequency and down again when not needed. The BFS version is generally very snappy (possibly more so than CFS) but is an older scheduler. It is designed to minimise latency on low spec'd machines (desktops generally)
Further details here:
http://en.wikipedia.org/wiki/Brain_****_Scheduler
CFS - Completely Fair Scheduler
This particular scheduler is newer than BFS. It is designed to make the best of High end machines (desktops again). In the early days, CFS seemed much laggier than BFS but now there is not too much in it. I am quite happily running a modern CFS kernel and I don't experience any lag issues.
Further details here:
http://en.wikipedia.org/wiki/Completely_Fair_Scheduler
I am aware that the BFS version throws some errors about 'bad cgroup data' in logcat, I haven't been able to get rid of them. I have disabled everything cgroup related in the kernel, but vm still throws the errors. Don't know why. Doesn't seem to impact performance.
I personally use the BFS version, as I find it somewhat faster than the CFS one. I have absolutely no wake lag, and I get good battery time.
Thanks go out to: snq-, bananacakes, sibere, tobi01001, thalamus, eviollet. If I forgot anyone, pls inform me.
CHANGELOG:
V05:
XZ compression
Fixed Wifi sleep
Tweaked OJ settings for better responsiveness (bananacakes)
Changed ramdisk compression method to gzip.
Rebuilt tun.ko and cifs.ko
v04b:
Fixed WIFI. (My bad. Forgot to adapt install script after including new ramdisk.)
v04:
Added Lowmemkiller tweak to ramdisk (3584,4096,8192,20992,23040,25088) No need for Autokiller or init scripts anymore. Over time I will move more tweaks into the ramdisk to minimize the need for init scripts.
Updated BFS to 0.406
Reverted battery gauge polling to 60 secs.
Added Virtuous governor. Virtuous is a highly tweaked SmartassV2.
Removed Lagfree governor again, as I found OndemandX better.
v03:
Hardcoded SD Speed Tweak to 2048. No need for init script anymore
Made 2-way call recording optional. Check downloads
Reduced battery gauge polling from 60 to 5 secs. (Untested)
A few bits more, can't remember it all.
v02:
Added Lagfree governor. Gives me a wee bit better battery, but sometimes lags when listening to music. Maybe I'll remove it again. Tell me what you think.
Added a minor change from tobi01001 to the lightsensor driver. Details here
Hopefully fixed USB fast charge.
Compiler optimizations
Link to my github: https://github.com/tristan202
Earlier i heard lot's of people complaining about reboots / hang up's when browsing internet with lowered WIFI voltages, i will give it a try today anyway thanks.
k3lcior said:
Earlier i heard lot's of people complaining about reboots / hang up's when browsing internet with lowered WIFI voltages, i will give it a try today anyway thanks.
Click to expand...
Click to collapse
I have been running with lowered wifi voltage for a few days without any problems at all. Doesn't browse much though, but market another wifi stuff have been working fine.
I'll give you feedback soon.
Thx and congratz.
Tapatalking.
tristan202 said:
I have been running with lowered wifi voltage for a few days without any problems at all. Doesn't browse much though, but market another wifi stuff have been working fine.
Click to expand...
Click to collapse
I've been using your kernel for several weeks now (tried all the rest) is this the same as your other one or have you tweaked it some more? and is there any chance you can add Sib's battfix?
Thanks a lot mate the combination of HAVS, BFS, 1190 OC with UV to 825 working very nicely for me
beanbean50 said:
is this the same as your other one or have you tweaked it some more? and is there any chance you can add Sib's battfix?
Click to expand...
Click to collapse
Just ask HTC they know everything about your phone
beanbean50 said:
I've been using your kernel for several weeks now (tried all the rest) is this the same as your other one or have you tweaked it some more? and is there any chance you can add Sib's battfix?
Click to expand...
Click to collapse
siberes battery fix is included, and I have been making some tweaks to since the last release. Some minor stuff, but still some improvement.
tristan202 said:
siberes battery fix is included, and I have been making some tweaks to since the last release. Some minor stuff, but still some improvement.
Click to expand...
Click to collapse
wow, many thanks....
is there much difference between the 2 governors ondemandx and smartassV2...?
Autobrighness mod is included (10 positions in arrays.xml)???
Tapatalking.
ziggy1001 said:
Thanks a lot mate the combination of HAVS, BFS, 1190 OC with UV to 825 working very nicely for me
Just ask HTC they know everything about your phone
Click to expand...
Click to collapse
haha...!
Yes, HTC, Google and every other Tom, **** and Harry...
beanbean50 said:
wow, many thanks....
is there much difference between the 2 governors ondemandx and smartassV2...?
Click to expand...
Click to collapse
Ondemand:
The ondemand governor is the default option used by Android. It scales the CPU speed between the minimum and maximum speeds depending on CPU load. If the system needs more speed, the kernel will rapidly scale up the CPU speed. This is available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point, ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.
Smartass:
This is based on the concept of the interactive governor. This is included in some custom kernels. The smartass governor effectively gives the phone an automatic Screen Off profile, keeping speeds at a minimum when the phone is idle.
Interactive:
The 'interactive' governor has a different approach. Instead of sampling the cpu at a specified rate, the governor will scale the cpu frequency up when coming out of idle. When the cpu comes out of idle, a timer is configured to fire within 1-2 ticks. If the cpu is 100% busy from exiting idle to when the timer fires then we assume the cpu is underpowered and ramp to MAX speed.
If the cpu was not 100% busy, then the governor evaluates the cpu load over the last 'min_sample_rate' (default 50000 uS) to determine the cpu speed to ramp down to.
This is available in newer kernels, and becoming the default scaling option in some official Android kernels. The interactive governor is functionally similar to the ondemand governor with an even greater focus on responsiveness.
ironjon said:
Autobrighness mod is included (10 positions in arrays.xml)???
Tapatalking.
Click to expand...
Click to collapse
tobi's autobrightnessmod is included. Adding to OP.
Thanks, I'll be testing this! I've been using snq-'s kernel builds but since the OC/UV ones have freezing problems, and gingercakes won't work for me without MASSIVE lag, I look forward to seeing how this works out.
ironjon said:
Autobrighness mod is included (10 positions in arrays.xml)???
Tapatalking.
Click to expand...
Click to collapse
It seems to work, yes. I've just pushed my patched framework-res.apk, and auto-brightness seems to do exactly what it did on snq-'s patched kernel.
EDIT: Ah, ninja'd. Well, there you have it then.
tristan202 said:
Ondemand:
The ondemand governor is the default option used by Android. It scales the CPU speed between the minimum and maximum speeds depending on CPU load. If the system needs more speed, the kernel will rapidly scale up the CPU speed. This is available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point, ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.
Smartass:
This is based on the concept of the interactive governor. This is included in some custom kernels. The smartass governor effectively gives the phone an automatic Screen Off profile, keeping speeds at a minimum when the phone is idle.
Interactive:
The 'interactive' governor has a different approach. Instead of sampling the cpu at a specified rate, the governor will scale the cpu frequency up when coming out of idle. When the cpu comes out of idle, a timer is configured to fire within 1-2 ticks. If the cpu is 100% busy from exiting idle to when the timer fires then we assume the cpu is underpowered and ramp to MAX speed.
If the cpu was not 100% busy, then the governor evaluates the cpu load over the last 'min_sample_rate' (default 50000 uS) to determine the cpu speed to ramp down to.
This is available in newer kernels, and becoming the default scaling option in some official Android kernels. The interactive governor is functionally similar to the ondemand governor with an even greater focus on responsiveness.
Click to expand...
Click to collapse
but we only have the first two governors to choose from, Interactive is not an option (in setcpu) or am I being stupid as per usual ...?
is usb fast charge enabled?
ZeGuitarist said:
Thanks, I'll be testing this! I've been using snq-'s kernel builds but since the OC/UV ones have freezing problems, and gingercakes won't work for me without MASSIVE lag, I look forward to seeing how this works out.
It seems to work, yes. I've just pushed my patched framework-res.apk, and auto-brightness seems to do exactly what it did on snq-'s patched kernel.
EDIT: Ah, ninja'd. Well, there you have it then.
Click to expand...
Click to collapse
where can I find the patched framework ?
beanbean50 said:
where can I find the patched framework ?
Click to expand...
Click to collapse
You have to patch your own framework-res
Tapatalking.
ironjon said:
You have to patch your own framework-res
Tapatalking.
Click to expand...
Click to collapse
can you guess my next question ...? hehe
Here you go i like helping the aged especially when, poor eyesight, liver damage, and tropical diseases have taken their toll
[How to] Adjust auto-brightness on GB Sense ROM
beanbean50 said:
where can I find the patched framework ?
Click to expand...
Click to collapse
You can't find it anywhere, you need to patch your own framework. The framework apk differs for each ROM, and contains each individual user's UOT kitchen mods too... So to be safe, you really shouldn't use someone else's framework.
Anyway, here's how to do it:
http://forum.xda-developers.com/showthread.php?p=17713587
It's pretty easy, as long as you know where your ROM's framework apk is (in internal /system, or in /sd-ext). Also, the thread suggest you put your framework mod in a flashable zip, but it's easier to just boot in recovery, and use adb to remove your old framework and push the new one.
Please advise me, what settings are the best for HTC Desire S (SHADOW HAWK V2.0|Sense 3.0|Android 2.3.5[2.10.401.8] ROM)?
Or give me a link where I can read what mean: VOC1, VOC2, VOC3, UV1, UV2 pages?
It's really not hard to understand,
VOC 1 2 and 3 are 3 profile of CPU frequency tweakers :
Here you can chose the governor and the frequency of the CPU
You can set wake and sleep governors, low frequency and high frequency.
With Hyperion kernel, i set
ondemand
245000
1152000
conservative
245000
614400
I don't know if you can OC/UV with a stock kernel.. Maybe someone can answer you better than me.
And it's really fluid and low battery eater.
UV1 and 2 are profiles for CPU voltage tweakers
CPU voltage tweak can affect the stability of the system.
The lower the voltage is the greater the battery life is.
I advise a -25mv every where (ALL -25)
But not more, i had stability issues with -50 and more.
I know how to set a cpu clock but I don't understand those profiles onemand, virtuous, conservative etc. Could someone explain me the diffrence between them?
IT.Adviser said:
Please advise me, what settings are the best for HTC Desire S (SHADOW HAWK V2.0|Sense 3.0|Android 2.3.5[2.10.401.8] ROM)?
Or give me a link where I can read what mean: VOC1, VOC2, VOC3, UV1, UV2 pages?
Click to expand...
Click to collapse
if you are using stock kernel then you cant OC or UV
but if you use a custom kernel like Hyperion kernel you can OC /uv
VOC1 is for setting the frequencies
this is what i use
wake
governer: virtuous
min:384000
max:1228800(you can set it higher if you have any lag)
sleep
governer: conservative
min:245000
max:384000
press perm activate button
VOC2,VOC3 are like more profiles which you can switch to when needed
UV1 is for reducing/increasing voltage
if you are using hyperion v2.0 kernel you can uv by -50 (-25 if you have stability issues)
to do this press all -25 twice & then press perm activate
If you are going to change UV settings use the temp activate for a while cause if the phone freezes it will revert to stock settings on reboot
Sent from my HTC Desire S using XDA App
These are called governors. They control the way the CPU ramps up between the maximum and minimum frequency. Go to setcpu's website for a list of descriptions between all the different governor s
Right, setcpu homepage explained me everything.
kartkk said:
if you are using stock kernel then you cant OC or UV
but if you use a custom kernel like Hyperion kernel you can OC /uv
VOC1 is for setting the frequencies
this is what i use
wake
governer: virtuous
min:384000
max:1228800(you can set it higher if you have any lag)
sleep
governer: conservative
min:245000
max:384000
press perm activate button
VOC2,VOC3 are like more profiles which you can switch to when needed
UV1 is for reducing/increasing voltage
if you are using hyperion v2.0 kernel you can uv by -50 (-25 if you have stability issues)
to do this press all -25 twice & then press perm activate
Click to expand...
Click to collapse
Thanks Kartkk for the info. I am using the Endymion sense 3.5 ROM with the Endymion Kernel V2 on my Htc Desire S. Sorry for being such a noob at this but just wanted to ask you lot soemthing. Users on that forum somehow seem to get Quadrant Scores of over 2000, I only manage score upto like 1750 with the settings you have mentioned above. Please Advise.
Thanks in advance.
I'm running a pre-rooted, deodexed 2.3.5, and have now tried 2 different kernels (unity and hyperion) and while I can make changes in SetCPU, I'm unable to alter tin UV settings in UV/OC beater because the kernel doesn't allow it.
Does anyone understand why this might be? X
Default undervolt values
Can someone please post the default undervolt values for the respective frequencies. I want to set back my phone to the default voltage. Thanks allot
OV is risky business if you ask me
I have htcdev unlocked DS (after ics ruu) S-on,...
I guess that some kernels allow UC/OC and UV/OV but some don't. I only tried two diffident roms fallout v5 which allowed both, but now I running finnys JB 4.2.1 rom which allows only UC/OC but not UV/OV(according to pimp my rom app).
Benchmarks cores; fallout5 antutu score: 4600, JB antutu score: 4050 but JB runs faster, smoother, slicker
And if you cannot find default values just restore nandroid backup image, and then look for values there.
Running kernel that OC's - can someone explain what the different options do? If set at conservative or performance what happens while using the tablet? How about interactive.....etc??
Performance gov keeps the cpu at top clock speed
Conservative keeps it low
Interactive runs it at a variable speed automatically setting the clock as needed (best option atm)
On demand also runs at a variable speed but has more options for manual control
Powersave wacks the tf into sleep mode faster than all the other gov's
For IO i set blck0 to 512kb read ahead and blck1 to 1024kb
For IO schedular depending on what kernel your'e running the best options are BFQ SIO VR NOOP in that order (personal experience)
VM settings oom grouping's and other bits you probably wont want to play with till later on
Have fun !!!!
Sent from my tf running krakd warped an twisted 1544mhz Blades kernel
can we do this on a none routed transformer?
PL-S said:
can we do this on a none routed transformer?
Click to expand...
Click to collapse
its rooted and No you can not
See here;
http://www.everythingabouttablets.net/2012/01/22/android-overclocking-governors-explained/
Although there are some frequency governors not listed they are usually variants of these with minor tweaks, once you understand these you can google the other ones (like lagfree, for example) that aren't listed and it should be easy to understand.
Also, check out the link in my signature if you are still a noob at Android and the TF101
(Should have read the original question, I realize this is about two weeks out of date now that I posted it lol)