• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[APP][24Nov] - 4.9 - SGS1+2] Voltage Control - control OC/UV for OC kernels

Search This thread

xan

Retired Recognized Developer
May 21, 2006
1,407
455
Crack-ow
I take no responsibility for ANY damage / data loss may occur. Use this at your own risk. Beta quality software!/Alpha quality features!


The news:

4.9 - THIS IS HIGLY TEST RELEASE
+ Profiles support
+ Bus frequency switching for Siyah kernel
+ Widget with profile switcher and app launcher (passive!)
+ Recovery instructions: lets you place CWM flashable boot settings deleter
+ CPU history: now can reset and refresh graphs
+ Root detection improvement (I hope...)





Voltage Control Extreme unlock Key on Android Market!

For now features exclusive to Extreme version are:
+ More than two profiles
+ CPU History page
+ overvolting capability (max +50mV, 1500mV absolute maximum)
+ increased uv range (max -250mV)
Sources available, project on google code:

http://code.google.com/p/voltage-control/


Look for kernels with this label:
Kernel developers who added VC support please show this image in your topic :)
certifiedicon.png


Uploaded with ImageShack.us





Features:
- minimum/maximum CPU frequency choosing
- selecting IO scheduler
- selecting CPU governor
- changing voltage per frequency
- chosing which frequencies should be used and which shouldnt
- saving settings to be automatically applied at boot (init.d script)
- saving/loading a OC profile
- well designed and highly optimised UI (I hope..)
- robust kernel detection, support of not-so-well-working kernels
- Siyah kernel interfaces (Charging current and GPU OC/UV)
- device info page
- (extreme) CPU usage history page


voltagecontropromo22.png




About donations:

This software is available free of charge.
It cooperates with OC kernel by raspdeep.
It uses some code from: MarketEnabler (Fool your market to make all apps visible!)
If you find this software useful, please consider funding a beer and pizza. There is a "Donate to me" link just over my avatar.

Donator list:

nitr8
kalpik
laststufo
glitterballs
screwyluie
Gembol
Coreym

Thanks!



How to?
Generally idea is simple: make changes to one tab and hit apply. If any changes have been made apply/discard buttons appear on bottom.
The first tab, "General" allows to change Scheduler,Governor/min and max frequencies.
Make changes and click apply :)
So, you want to pick a maximum/minimum frequency?
Just chose from slider and hit apply.
Governor/scheduler can be choosen by picking from the list, then hitting apply.


You can always discard changes before applying if you want start from loaded settings.

The "Advanced" tab has sliders to control undervolting settings and green/red icons, representing enabled/disabled state.
(green = enabled, red = disabled)
Pick your settings and hit apply, or discard and start over.


Profile support:
If you want to save as boot or as profile, you need to make adjustments and on "General" or "Advanced" tab and then apply them where applicable.
To save as boot -> press menu key, then select "Save as boot settings".
To save as profile -> press menu key, then select "Save profile".
Boot settings are automatically loaded on every device boot.
Profile settings can be loaded by pressing menu -> "Load profile"

Both "boot" and "profile" settings can be deleted from menu.
RECOVERY
If Your device freezes after boot because of too agressive boot settings:
Flash Voltage Scheduler Remover by user Coreym, via CWM. Don't forget to press thanks under one of his posts!



FAQ:
Q: Extreme version?
Yes, I wanted to give some extras for people that support my work.
For now features exclusive to Extreme version are:
+ overvolting capability (max +50mV, 1500mV absolute maximum)
+ increased uv range (max -250mV)

Q: What is it?
Its voltage control app for undervolt and overclocking kernels providing sysfs interface, designed and implemented by raspdeep (thank You!) It is being tested on his kernel releases and I can guarantee (kind of) its functionality on those kernels.
The idea of the app is to keep all simple as possible, not adding any startup services and reusing existing solutions (such as init.d support).


Q: What does it mean to undevolt, and what is overclocking?
Read more in "OC / UV 101" section That is a detailed(sort of) explanation what UV/OC means.
Check this great overclocking/undervolting guide by shaolin95 (thanks!) and discussion topic!

Prerequisites:
-root (superuser + su)
-busybox
-OC kernel supporting either UVLF and UVHF (Version 1.61) or UV_mV_table (1.97 and up)
-init.d scripts support for apply on boot

sc20111012165624.png
sc20111024021943.png

sc20111024021956.png
sc20111012165629.png
sc20111012165652.png


3.0.1 - OLD version;
 

Attachments

  • VoltageControl-3.0.1.apk
    52.6 KB · Views: 16,669
  • VoltageControl-4.9.2.apk
    584.8 KB · Views: 2,687
  • VoltageControl_4.9.7.apk
    611.2 KB · Views: 2,462
  • VoltageControl-4.9.8.apk
    611.3 KB · Views: 20,192
Last edited:

Lio78

Senior Member
Jan 2, 2010
241
21
Thank's, this app is awesome. :D

Now i've Super Optimized JPM-JP6 Kernel v.3.7 and this run with -50 Low -25 High scheduler anticipatory (Lagfix NO RFS overkill JFS Bind=false)
and all works great.
 
Last edited:
  • Like
Reactions: fackamato

joedon3

Senior Member
Jul 13, 2010
535
37
Cincinnati
www.facebook.com
Thanks for this app! it's a nice tool. Once feature request for the OP would be an explanation of the different schedulers. I'm using noop after some research.

Edit: I guess it would be an OP request, not a feature request. :)
 

loco-

Senior Member
Jul 2, 2010
140
7
Just search it on wikipedia.
It seems noop is the best with flash memory.

Sent from my GT-I9000 using XDA App


E: doesnt work for me anymore. Blank screen only.
Just reflashed jpo yesterday and oc kernel 2.1 by rasp.
 

oswade

Senior Member
Jun 18, 2010
1,057
119
Doesn't seem to work with YA-OK kernel (which supposably implements rasdeeps oc 1.1). Black screen same as above poster.
Might be a kernel problem, so I'll wait for the next version, hopefully it works :)
 
Last edited:

shrooms90

Senior Member
Oct 16, 2010
377
18
Buchs SG
Thank's, this app is awesome. :D

Now i've Super Optimized JPM-JP6 Kernel v.3.7 and this run with -50 Low -25 High scheduler anticipatory (Lagfix NO RFS overkill JFS Bind=false)
and all works great.

I use the same kernel and same settings but all i get when i open this app is a black screen and the su popup. Is there something else i have to setup so that app will work?
May it have something to do with setcpu?
 

raspdeep

Senior Member
Nov 18, 2007
715
39
nice bro!
one suggestion: add checks so it wont show blank screen if the values are not read properly or folders/file not found and display messages

sometimes peeps run a wrong kernel and expect your app to work
 

xan

Retired Recognized Developer
May 21, 2006
1,407
455
Crack-ow
Cant get over this "blank screen issue". I've *almost* isolated the issue, it lies in these lines:
DataInputStream osRes = new DataInputStream(process.getInputStream());
BufferedReader br = new BufferedReader(new InputStreamReader(osRes));
res.add(br.readLine() + "");
br.close();

Cat command returns under 64 chars when file is found, when it isnt output is >64 chars.
Thats the reason for block, somewhere in these lines.
 
Last edited:

bts0uth

Senior Member
Nov 28, 2007
726
74
32
Lexington, KY
Cant get over this "blank screen issue". I've *almost* isolated the issue, it lies in these lines:


Cat command returns under 64 chars when file is found, when it isnt output is >64 chars.
Thats the reason for block, somewhere in these lines.

Glad you know of this issue, on my captivate the older version works fine but when upgrading to the new one it is stuck on the black screen forever. It says SU permission granted but just stays on the black screen. I tried uninstalling the old first, rebooting, then installing and also just overwriting the old with new. Nothing but black.

Good luck on the fix, this is a very handy app
 

arffer

Senior Member
Aug 27, 2010
343
24
Just search it on wikipedia.
It seems noop is the best with flash memory.

I agree, here are a couple of comments that convinced me:

You want to use noop scheduler on devices where there are no seeking penalty, such as flash drives. That's why USB stick wants noop. Unfortunately, harddisks are very mechanial beasts and their performance is highly controlled by their seeking abilities. All these schedulers above are really trying to figure out how to extract maximum performance off the harddisk without causing bad behaviour in other cases.

noop is often the best choice for memory-backed block devices (e.g. ramdisks) and other non-rotational media (flash) where trying to reschedule I/O is a waste of resources.

http://www.linuxhowtos.org/System/iosched.htm
http://stackoverflow.com/questions/1...-i-o-scheduler

E: doesnt work for me anymore. Blank screen only.
Just reflashed jpo yesterday and oc kernel 2.1 by rasp.

When I installed the new version 1.97beta, it too sat at a black screen for an unusually long time, then after almost a minute, the supperroot permission screen poped up, I granted it root rights, and then voltage control came up fine.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 57
    I take no responsibility for ANY damage / data loss may occur. Use this at your own risk. Beta quality software!/Alpha quality features!


    The news:

    4.9 - THIS IS HIGLY TEST RELEASE
    + Profiles support
    + Bus frequency switching for Siyah kernel
    + Widget with profile switcher and app launcher (passive!)
    + Recovery instructions: lets you place CWM flashable boot settings deleter
    + CPU history: now can reset and refresh graphs
    + Root detection improvement (I hope...)





    Voltage Control Extreme unlock Key on Android Market!

    For now features exclusive to Extreme version are:
    + More than two profiles
    + CPU History page
    + overvolting capability (max +50mV, 1500mV absolute maximum)
    + increased uv range (max -250mV)
    Sources available, project on google code:

    http://code.google.com/p/voltage-control/


    Look for kernels with this label:
    Kernel developers who added VC support please show this image in your topic :)
    certifiedicon.png


    Uploaded with ImageShack.us





    Features:
    - minimum/maximum CPU frequency choosing
    - selecting IO scheduler
    - selecting CPU governor
    - changing voltage per frequency
    - chosing which frequencies should be used and which shouldnt
    - saving settings to be automatically applied at boot (init.d script)
    - saving/loading a OC profile
    - well designed and highly optimised UI (I hope..)
    - robust kernel detection, support of not-so-well-working kernels
    - Siyah kernel interfaces (Charging current and GPU OC/UV)
    - device info page
    - (extreme) CPU usage history page


    voltagecontropromo22.png




    About donations:

    This software is available free of charge.
    It cooperates with OC kernel by raspdeep.
    It uses some code from: MarketEnabler (Fool your market to make all apps visible!)
    If you find this software useful, please consider funding a beer and pizza. There is a "Donate to me" link just over my avatar.

    Donator list:

    nitr8
    kalpik
    laststufo
    glitterballs
    screwyluie
    Gembol
    Coreym

    Thanks!



    How to?
    Generally idea is simple: make changes to one tab and hit apply. If any changes have been made apply/discard buttons appear on bottom.
    The first tab, "General" allows to change Scheduler,Governor/min and max frequencies.
    Make changes and click apply :)
    So, you want to pick a maximum/minimum frequency?
    Just chose from slider and hit apply.
    Governor/scheduler can be choosen by picking from the list, then hitting apply.


    You can always discard changes before applying if you want start from loaded settings.

    The "Advanced" tab has sliders to control undervolting settings and green/red icons, representing enabled/disabled state.
    (green = enabled, red = disabled)
    Pick your settings and hit apply, or discard and start over.


    Profile support:
    If you want to save as boot or as profile, you need to make adjustments and on "General" or "Advanced" tab and then apply them where applicable.
    To save as boot -> press menu key, then select "Save as boot settings".
    To save as profile -> press menu key, then select "Save profile".
    Boot settings are automatically loaded on every device boot.
    Profile settings can be loaded by pressing menu -> "Load profile"

    Both "boot" and "profile" settings can be deleted from menu.
    RECOVERY
    If Your device freezes after boot because of too agressive boot settings:
    Flash Voltage Scheduler Remover by user Coreym, via CWM. Don't forget to press thanks under one of his posts!



    FAQ:
    Q: Extreme version?
    Yes, I wanted to give some extras for people that support my work.
    For now features exclusive to Extreme version are:
    + overvolting capability (max +50mV, 1500mV absolute maximum)
    + increased uv range (max -250mV)

    Q: What is it?
    Its voltage control app for undervolt and overclocking kernels providing sysfs interface, designed and implemented by raspdeep (thank You!) It is being tested on his kernel releases and I can guarantee (kind of) its functionality on those kernels.
    The idea of the app is to keep all simple as possible, not adding any startup services and reusing existing solutions (such as init.d support).


    Q: What does it mean to undevolt, and what is overclocking?
    Read more in "OC / UV 101" section That is a detailed(sort of) explanation what UV/OC means.
    Check this great overclocking/undervolting guide by shaolin95 (thanks!) and discussion topic!

    Prerequisites:
    -root (superuser + su)
    -busybox
    -OC kernel supporting either UVLF and UVHF (Version 1.61) or UV_mV_table (1.97 and up)
    -init.d scripts support for apply on boot

    sc20111012165624.png
    sc20111024021943.png

    sc20111024021956.png
    sc20111012165629.png
    sc20111012165652.png


    3.0.1 - OLD version;
    3
    Market, should be up by now :)
    3
    New version uploaded, focused mostly on compatibility, adding /system remounting.
    Now working on v300 patch support, my first idea (adding checkbox to BaseExpandableListAdapter#getGroupView ended being a dead end: http://code.google.com/p/android/issues/detail?id=4527
    Will figure something else.
    3
    Scheduler setting has minimal effect on performance. I suggest using 'noop', since it creates less overhead. Maybe some more experienced/wise developers will do their bets.

    //edit:
    3.0 (final?)
    +'?' buttons with some quick help -> you are welcome to help build better descriptions
    *its almost final
    *some graphical changes, sliding drawer now looks better
    *probably fixed some incompatibilities with SO and Insanity ROMs (as reported by Ti3noU, thanks!)
    *fixed scheduler detection broken somewhere along the way
    Hope it works :)
    2
    Hmmm I doubt it has ANY noticeable effect. Just undervolt :)
    Good way to preserve battery life is to limit to 800mhz :)