[MOD]viperMOD for AOSP Kernels - v3 beta RC2.4 |Updated 6.14.11| *App in Progress!*

Status
Not open for further replies.
Search This thread

Mazda

Retired Recognized Developer
Oct 19, 2008
5,273
12,519
echo "-25" "-25" > sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs

Sent from my PC36100 using XDA Premium App
Confirmed working for me using the echo command.....this is AWESOME!! My new numbers if anyone cares....properly not but I'm going to post them anyways!

19200: 875 925
128000: 875 925
245000: 875 925
384000: 875 950
422400: 875 950
460800: 875 975
499200: 875 975
537600: 875 1000
576000: 900 1025
614400: 900 1050
652800: 900 1075
691200: 925 1100
729600: 925 1125
768000: 925 1150
806400: 1125 1175
844800: 1125 1175
883200: 1150 1200
921600: 1150 1225
960000: 1175 1225
998400: 1175 1225
1036800: 1225 1300
1075200: 1225 1300
1113600: 1225 1300
1152000: 1250 1300
1190400: 1275 1300
1228800: 1300 1300
1267200: 1300 1300

Oh if you can't tell by my previous numbers, I used the -50!
 

Mazda

Retired Recognized Developer
Oct 19, 2008
5,273
12,519
EDIT: Before you do this, go into root explorer and check /system/etc/init.d - do you see "77havsvoltages" in there? You can use ADB or terminal if you want. Just do ls /system/etc/init.d and look for that file.

Ughhhhh, what the heck. Try one of these and see if they work.
Now my last question Viperboy is.....using the echo command, would these changes be permanent or would rebooting sit it back to default settings?
 

-viperboy-

Inactive Recognized Developer
Jun 24, 2007
7,836
12,992
PA
Confirmed working for me using the echo command.....this is AWESOME!! My new numbers if anyone cares....properly not but I'm going to post them anyways!

19200: 875 925
128000: 875 925
245000: 875 925
384000: 875 950
422400: 875 950
460800: 875 975
499200: 875 975
537600: 875 1000
576000: 900 1025
614400: 900 1050
652800: 900 1075
691200: 925 1100
729600: 925 1125
768000: 925 1150
806400: 1125 1175
844800: 1125 1175
883200: 1150 1200
921600: 1150 1225
960000: 1175 1225
998400: 1175 1225
1036800: 1225 1300
1075200: 1225 1300
1113600: 1225 1300
1152000: 1250 1300
1190400: 1275 1300
1228800: 1300 1300
1267200: 1300 1300

Oh if you can't tell by my previous numbers, I used the -50!

I just need to get the .zip working. If you reboot, the voltage levels go back to stock which is the whole point of the .zip to make the phone load the lowered voltages on startup every time.

Can you please reboot, check to make sure voltages are back to stock, try the -25mV .zip in the OP, and recheck voltages?
 

Mazda

Retired Recognized Developer
Oct 19, 2008
5,273
12,519
I just need to get the .zip working. If you reboot, the voltage levels go back to stock which is the whole point of the .zip to make the phone load the lowered voltages on startup every time.

Can you please reboot, check to make sure voltages are back to stock, try the -25mV .zip in the OP, and recheck voltages?
Yeah I just rebooted and they went back to stock!....:(

[EDIT]
Will try the -25 zip to see if I get better results then before!
 

Mazda

Retired Recognized Developer
Oct 19, 2008
5,273
12,519
I just need to get the .zip working. If you reboot, the voltage levels go back to stock which is the whole point of the .zip to make the phone load the lowered voltages on startup every time.

Can you please reboot, check to make sure voltages are back to stock, try the -25mV .zip in the OP, and recheck voltages?
Ok, I tried the -25 zip and got NOTHING but the same stock voltage stats. Would it work if we wiped user data and then flash the zip OR did someone already tried that?
 

-viperboy-

Inactive Recognized Developer
Jun 24, 2007
7,836
12,992
PA
Ok, I tried the -25 zip and got NOTHING but the same stock voltage stats. Would it work if we wiped user data and then flash the zip OR did someone already tried that?

You shouldn't have to do that at all.

No 77havsvoltage in init.d folder :/

Sent from my PC36100 using XDA Premium App

Damn, it worked just fine for me the other day. I don't know what happened. Try one from this post please.

http://xdaforums.com/showpost.php?p=12764709&postcount=20
 

Mazda

Retired Recognized Developer
Oct 19, 2008
5,273
12,519
You shouldn't have to do that at all.



Damn, it worked just fine for me the other day. I don't know what happened. Try one from this post please.

http://xdaforums.com/showpost.php?p=12764709&postcount=20
OK I think I got it working, just got to reboot once again to make sure it wasn't a one time thing but I did this!

I unziped the -25 zip that you posted, placed the 74havsvoltages file inside the system/etc/init.d using rootexplorer, once I did that I rebooted the phone and then ran that script to check the voltage in the terminal app and it works!

Oh and while I was writing this, I confirmed that it is permanent and that it doesn't go back to stock!
 

-viperboy-

Inactive Recognized Developer
Jun 24, 2007
7,836
12,992
PA
OK I think I got it working, just got to reboot once again to make sure it wasn't a one time thing but I did this!

I unziped the -25 zip that you posted, placed the 74havsvoltages file inside the system/etc/init.d using rootexplorer, once I did that I rebooted the phone and then ran that script to check the voltage in the terminal app and it works!

Oh and while I was writing this, I confirmed that it is permanent and that it doesn't go back to stock!

Thanks for confirming. So, it seems that something might be wrong with the update script. However, I just flashed it and it put the file in there, but it didn't change the voltages :( This JUST worked yesterday. The permissions on the file in init.d is correct too. Maybe for the time being, I will just post the scripts with directions on how to move it into the right folder and figure out what's up with the .zip.
 

brokentoaster24

Senior Member
May 9, 2010
1,243
41
Kansas
OK I think I got it working, just got to reboot once again to make sure it wasn't a one time thing but I did this!

I unziped the -25 zip that you posted, placed the 74havsvoltages file inside the system/etc/init.d using rootexplorer, once I did that I rebooted the phone and then ran that script to check the voltage in the terminal app and it works!

Oh and while I was writing this, I confirmed that it is permanent and that it doesn't go back to stock!

beat me to it :p i was in the process of doing that, tried the -100 and got stuck in a bootloop though.
 

Mazda

Retired Recognized Developer
Oct 19, 2008
5,273
12,519
Thanks for confirming. So, it seems that something might be wrong with the update script. However, I just flashed it and it put the file in there, but it didn't change the voltages :( This JUST worked yesterday. The permissions on the file in init.d is correct too. Maybe for the time being, I will just post the scripts with directions on how to move it into the right folder and figure out what's up with the .zip.
Yeah I figured the update script might have been messed up so that's why I figured why not do it manually and see what's up. Good job on this tweak anyways dude! I'm going to try the 50 next and see how low I get go!
 

-viperboy-

Inactive Recognized Developer
Jun 24, 2007
7,836
12,992
PA
So both of you can confirm that just placing the file there works without having to change permissions on the file?
 

Mazda

Retired Recognized Developer
Oct 19, 2008
5,273
12,519
So both of you can confirm that just placing the file there works without having to change permissions on the file?
That is correct......just place the file there with root explorer and reboot!

[EDIT]
Also the -100 works perfectly on my EVO! I have no problems what so ever! :)
 
Last edited:

Mazda

Retired Recognized Developer
Oct 19, 2008
5,273
12,519
well, i'm guessing it's working for me. i'm stuck in a bootloop though, -100 is too much for me and the reset zip's aren't helping :/ and course.. i don't have the right drivers for adb right now...
Please tell me that you did a Nandroid back up! If you did, couldn't you just pull the battery out and just boot into recovery?
 

-viperboy-

Inactive Recognized Developer
Jun 24, 2007
7,836
12,992
PA
well, i'm guessing it's working for me. i'm stuck in a bootloop though, -100 is too much for me and the reset zip's aren't helping :/ and course.. i don't have the right drivers for adb right now...

The reset .zip isn't working?? There is no way it shouldn't work. I don't understand the inconsistency with these .zips and scripts. I thought this mod was ready to go too. I'm sorry man.
 

-viperboy-

Inactive Recognized Developer
Jun 24, 2007
7,836
12,992
PA
i'm not sure what the problem is, but my phone's not happy :p i'm working on it though, this is what's great about this community though :p

Yeah, true :) I will get this figured out. Thanks for testing this, guy. Sorry it didn't work like I expected it to. I'm going to edit the OP for now. Thanks again, I hope to have this working fully soon!
 

-viperboy-

Inactive Recognized Developer
Jun 24, 2007
7,836
12,992
PA
OP updated! I hope this doesn't scare anyone off, I will get this fixed shortly. Please provide me with more feedback about this. Thanks!
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 77
    Hey everyone, welcome to viperMOD for the EVO, Incredible, Nexus One, Desire GSM, Thunderbolt, Nexus S, Nexus S 4G, Desire HD, and Inspire 4G. Many people are having great success with this mod and I hope you enjoy my work :)

    I would like to turn this into an app! If someone would like to help out that has Java knowledge, please contact me!


    What does this do?
    Kernel developers make their kernels to be "universal". By universal, they want the kernel to work on as many phones as possible so they may only mildly undervolt. However, some phones can handle a more aggressive undervolt. Some can't. viperMOD allows you to undervolt to your choosing for better battery life or allow you to overvolt to make your phone more stable.


    How do I run this?
    Once you flash the .zip go into your Terminal app (I use Android Terminal Emulator set to 10pt font) and type:

    su
    vipermod


    I really only use Terminal for my mod and there is something really cool you can do with Android Terminal Emulator (and maybe others). Menu > Preferences > Initial Command > Press Enter and type su > Press Enter again and type vipermod

    Every time you start Terminal now, it will open right into viperMOD. You can quickly exit by pressing Enter if you need to use Terminal for something else :)


    UPDATE 6/14
    • viperMOD v3 beta RC2.4 is live!
    • Fixed some coding that was giving errors on certain ROMs and phones. Everyone please update to this!
    • Please see the updated FAQ and changelog for more information!

    UPDATE 5/31
    • viperMOD v3 beta RC2.3 is live!
    • MUCH better support for NS/NS4G Netarchy kernels and other enhancements!
    • Please see the updated FAQ and changelog for more information!


    UPDATE 5/29
    • viperMOD v3 beta RC2.2 is live!
    • Initial support for Desire HD/Inspire 4G and more!
    • Please see the updated FAQ and changelog for more information!


    v3_beta_rc2_1.png
    v3_beta_rc2_2.png
    v3_beta_rc2_3.png




    Please see viperboy.tiamat-dev.com for downloads, more information, changelog, and FAQ!
    You can find the answers to all of your questions there!



    Feel free to support this mod with a userbar in your sig :)
    viperMOD_user.png



    Credit to:
    - snq_ for the VDD support
    - Cayniarb for his awesome Tiamat kernel, hosting, and website!
    - Netarchy for his amazing guidance and patience!
    - My IRC friends ekarelis, bigrushdog, and morph3k for all their help!
    - Ziggy for the adjustable sysfs interface
    - Anyone who has done testing for me or helped me at all
    - Everyone who contributes to Android development
    - Let me know if I left anyone out!
    12
    I decided to update viperMOD since it has been forever and the app has never gotten finished (long story). Please see the new thread and post if you have any issues/problems, but it should work just fine. Might need to be updated for some kernels though, but I will get it supported :)

    http://xdaforums.com/showthread.php?p=32858743

    Closing this thread so I only have to manage 1 :victory:

    EDIT: Want to say a special thank you to everyone that used this back in the day. This is what got me started in Android Development and I can't thank you all enough for the support and encouragement to continue on :)
    4
    I'm using all three of those things and nothing but awesomeness has come my way.
    The only thing that has caused a little bit of trouble but is my fault really is the fact that I lowered my voltage by about 125 and it was VERY unstable, I was getting random reboots left and right BUT once I raised it up by 50 I was all set!

    Anyways, great job VIPERBOY and I hope you get someone to help you out with that app! Sure would be something awesome considering how far this mod has come.....I remember placing files via RootExplorer just to make it work and now is all controlled via Terminal........10 STARS bro!!!

    Thanks so much man! viperMOD has definitely come a long way and I've had help from so many great people as well! I have a great guy (Ben) helping me with the app he is doing a fantastic job, I couldn't do this without him! Every day I'm more and more excited to get this app out to you folks :D
    4
    I love you. Well in a non gay way.

    Sent from my PC36100 using XDA App

    the proper term is #nohomo!
    3
    exciting stuff. i'm gonna test it out on sz's latest kernel, will report back soon

    Great to hear! Thanks!