Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,702 Members 45,144 Now Online
XDA Developers Android and Mobile Development Forum

[APP] Myrt Undervolt GUI

Tip us?
 
TrymHansen
Old
(Last edited by TrymHansen; 21st April 2012 at 10:57 AM.)
#1  
TrymHansen's Avatar
Senior Member - OP
Thanks Meter 964
Posts: 1,091
Join Date: Jun 2011
Default [APP] Myrt Undervolt GUI

EDIT: This app has been suspended, it serves no purpose anymore.

Quote:
By popular demand, here's an app to set undervolt-values. It works on any ROM which runs on a suitable kernel, but needs init.d-support to be able to keep settings between reboots. (If your device supports it you'll get a button you can use, if not a little message in its place.)

WARNING: By using this app, you're playing with fire. It's in fact very likely you'll lose data if trying to see "how low you can go". Do not experiment without backing up everything first.

It's easy to use, and easy to freeze your phone with, make sure you know what you're doing. (Yes, changes become effective as soon as you apply them.)

It's clever when it comes to the volt_scheduler script as well, it only edits the line which sets the values at startup, meaning you can change the script as much as you like, the app won't touch anything else in it. (It also fixes the script-permissions on Topogigi 1.9, which aren't set correctly on a default install.)

The app will NOT let you change the startup-script until you have applied the settings. This is an attempt to avoid applying bad undervolts at startup. (The theory is that your phone will freeze if you're undervolting too much, and hence you won't be able to save those values to the startup script. If you try hard enough however, you will be able to save unstable settings, with the possible consequence of boot-loops and data-loss. I'm not kidding, be careful!)

NOTE: If you're using a system-monitor (System Tuner for example) and it doesn't show the voltages you applied, you need to force-stop and restart it before it'll show the current values (pun intended.)

NOTE2: Tegra 2 never supplies less than 770mV to the CPUs. The app will let you set undervolt below 770 though, and will in brackets show you what the real undervolt (on Tegra2) actually is. (Until recently I thought this was a hardware limit, but learned it is a kernel-limit. There may be kernels out there which can go lower. If the minimum frequency's default voltage is not the same as the kernel's minimum, the numbers in brackets will be off by the difference between the two.)

HEEELP: "I was very stupid and saved the undervolt-values to the startup script without testing properly first. Now it keeps rebooting. Is there anything I can do?" See Post #2.

Happy undervolting!
::Trym - Maker of Gemi, GuesteOC, Myrt OTF, Myrt Torture Tester & LG RIL Version.

The only thing keeping me sane is my collection of singing potatoes.
The Following 7 Users Say Thank You to TrymHansen For This Useful Post: [ Click to Expand ]
 
TrymHansen
Old
(Last edited by TrymHansen; 16th October 2011 at 09:13 AM.)
#2  
TrymHansen's Avatar
Senior Member - OP
Thanks Meter 964
Posts: 1,091
Join Date: Jun 2011
HEEELP: "I saved the undervolt-values to the startup script without testing properly first. Now it keeps rebooting. Is there anything I can do?"

Yes. The phone cannot be damaged by undervolting, but your data might. First thing you should do is to stop the reboots by pressing and holding "Power" and "Volume Down" to enter CWM.

You will need to have ADB installed on your computer. (The following instructions are for Windows-users.)

Select "Mounts and Storage" in CWM and select "Mount /system"

o In a shell, type:

If you're using a Topogigi ROM:
Code:
adb pull /system/xbin/volt_scheduler c:\
If you're using anything else:
Code:
adb pull /system/etc/init.d/S_volt_scheduler c:\
Now edit the file c:\volt_scheduler or c:\S_volt_scheduler in a PROPER editor like Notepad2 or Notepad++. DO NOT use the regular Notepad. You'll see a line with some numbers enclosed in quotation marks. Replace those numbers with zeroes. Save it.

Then type (Topogigi)
Code:
adb push c:\volt_scheduler /system/xbin/volt_scheduler
del c:\volt_scheduler
adb shell chmod 755 /system/xbin/volt_scheduler
adb reboot
or for other roms:
Code:
adb push c:\S_volt_scheduler /system/etc/init.d/S_volt_scheduler
del c:\S_volt_scheduler
adb shell chmod 755 /system/etc/init.d/S_volt_scheduler
adb reboot
If you're lucky, your phone will boot properly. If it still boot-loops, you've had some sort of corruption and need to wipe. If it still loops you've had corruption on the system partition, a full re-install (or backup-restore) is the last option.
::Trym - Maker of Gemi, GuesteOC, Myrt OTF, Myrt Torture Tester & LG RIL Version.

The only thing keeping me sane is my collection of singing potatoes.
 
rexren
Old
#3  
Senior Member
Thanks Meter 42
Posts: 148
Join Date: Jan 2011
Location: Taipei
Good job! Since I don't need OC but UV is useful for me.
 
gideonrs
Old
#4  
Senior Member
Thanks Meter 10
Posts: 109
Join Date: Jan 2011
greaatt... sadly this afternoon i already edit the script manually
wait for some hours, and i can use this wonderful tool!

nevermind, just download & let's play with this.. (editing script every testing is kinda annoying.. )

Thanks! I use your clock adjustment tools too
 
TrymHansen
Old
#5  
TrymHansen's Avatar
Senior Member - OP
Thanks Meter 964
Posts: 1,091
Join Date: Jun 2011
Quote:
Originally Posted by gideonrs View Post
greaatt... sadly this afternoon i already edit the script manually
wait for some hours, and i can use this wonderful tool!

nevermind, just download & let's play with this.. (editing script every testing is kinda annoying.. )

Thanks! I use your clock adjustment tools too
You're very welcome.
::Trym - Maker of Gemi, GuesteOC, Myrt OTF, Myrt Torture Tester & LG RIL Version.

The only thing keeping me sane is my collection of singing potatoes.
 
shpapy
Old
(Last edited by shpapy; 12th October 2011 at 03:24 PM.)
#6  
shpapy's Avatar
Senior Member
Thanks Meter 75
Posts: 791
Join Date: Apr 2011
thanks for ure great effort.
can you specify the UV settings that will not damage the phone?

p.s. i really like unlock silly values option :)

Thanks.

edit: can i use -50Mv
 
TrymHansen
Old
#7  
TrymHansen's Avatar
Senior Member - OP
Thanks Meter 964
Posts: 1,091
Join Date: Jun 2011
Quote:
Originally Posted by shpapy View Post
thanks for ure great effort.
can you specify the UV settings that will not damage the phone?

p.s. i really like unlock silly values option :)

Thanks.

edit: can i use -50Mv
I wish it were that easy. Every phone is different. Mine seems to be completely stable at -75 across the board, and at 800Mhz I can run it at the lowest voltage possible, 770mV. Which is why I run everything at -50 ;) (I learned a long time ago that balancing on the edge sooner or later makes you fall off.)

Other people have reported that their max stable undervolt is -25mV. There's no single recipe for everybody.

The correct way to test it is to set both min and max-frequencies to the same (for both awake and sleep-modes), then decrease voltage by one step, then run the toughest apps you can think of for at least 15 minutes each. If nothing weird happens, write down the numbers, decrease one step again, etc. etc. until you have found the breaking point for that particular frequency.

Then, and this is important, you need to make sure the phone is able to wake from sleep with those same values. For this you need to set sleep-mode to the normal frequencies again.

If everything works out with that, rinse and repeat with the next frequency. After you're done, you should have a nice set of numbers - increase them all by 25mV. That's your lowest stable voltage for each frequency.
::Trym - Maker of Gemi, GuesteOC, Myrt OTF, Myrt Torture Tester & LG RIL Version.

The only thing keeping me sane is my collection of singing potatoes.
The Following 2 Users Say Thank You to TrymHansen For This Useful Post: [ Click to Expand ]
 
shpapy
Old
#8  
shpapy's Avatar
Senior Member
Thanks Meter 75
Posts: 791
Join Date: Apr 2011
thanks allot for the detailed and super fast reply.

as i mentioned in the edit i edited the Mv to 50 all across the board and its fine
also when gaming (thanks for the tip, i was just running quadrant each time)

i am running neoblaze with FR19 (2.2)
 
shpapy
Old
#9  
shpapy's Avatar
Senior Member
Thanks Meter 75
Posts: 791
Join Date: Apr 2011
I UV by 50mv and then saved the profile with pimp my CPU and applied at boot since I use init.d
I wonder how much more battery I can squeeze more now :)

Sent from my LG-P990 using XDA App
 
salisbury_steak
Old
#10  
salisbury_steak's Avatar
Senior Member
Thanks Meter 656
Posts: 2,235
Join Date: Oct 2010
Location: Manila
Awesome apps Trym! I downloaded this and the OC one. Left some stars on the market too.
Thank you for thanking!

LG G2 D802 ESA
ROM: Stock (4.4.2) rooted
LG Optimus 2X P990
ROM: CyanogenMod 7 Temasek Unofficial (2.3.7)
Recovery: CWM Recovery (6.0.2.5)

Acer Iconia Tab A510
ROM: Stock (4.1.2) rooted
Recovery: CWM Recovery (6.0.4.9)


Don't have Dropbox yet? Get an additional 500MB cloud storage free (on top of 2GB) by clicking this referral link!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes