FORUMS
Remove All Ads from XDA
H10 Turbo

[MOD]viperMOD for AOSP Kernels - v3 beta RC2.4 |Updated 6.14.11|

7,836 posts
Thanks Meter: 13,044
 
By -viperboy-, Inactive Recognized Developer on 26th April 2011, 09:12 PM
Thread Closed Email Thread
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!






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



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!
The Following 5 Users Say Thank You to -viperboy- For This Useful Post: [ View ] Gift -viperboy- Ad-Free
 
 
26th April 2011, 09:31 PM |#2  
-viperboy-'s Avatar
OP Inactive Recognized Developer
Flag PA
Thanks Meter: 13,044
 
Donate to Me
More
FAQ

[Q] Will this work on Sense kernels?

[A] Technically, yes. None of the current Sense kernels support the sysfs interface but a few of ziggy's old kernels do. I don't know if anyone still runs his kernels but if you do and you want to see it supported, please contact me. You can also compile your own 2.6.32 Sense kernel and build in the sysfs interface. To do so, please read here (thanks chad0989!)
The Following User Says Thank You to -viperboy- For This Useful Post: [ View ] Gift -viperboy- Ad-Free
26th April 2011, 10:19 PM |#3  
-viperboy-'s Avatar
OP Inactive Recognized Developer
Flag PA
Thanks Meter: 13,044
 
Donate to Me
More
Reserved...
26th April 2011, 10:23 PM |#4  
shoman24v's Avatar
Senior Member
Fresno, CA
Thanks Meter: 50
 
More
What kind of battery life are we looking at here? There's so many variables as to what affects life. I can chew through my 1500 in 24 hrs or 10, it depends.

I'll try it out, what kernel is this based off of?
26th April 2011, 10:34 PM |#5  
-viperboy-'s Avatar
OP Inactive Recognized Developer
Flag PA
Thanks Meter: 13,044
 
Donate to Me
More
Quote:
Originally Posted by shoman24v

What kind of battery life are we looking at here? There's so many variables as to what affects life. I can chew through my 1500 in 24 hrs or 10, it depends.

I'll try it out, what kernel is this based off of?

It's hard to say because, as you said, it depends what you do with your phone. I have noticed that I get a full day out of my phone when I never used to before. Just to give you an idea though, here is what ffolkes found out after some testing...

Quote:
Originally Posted by ffolkes

I spent hours (well, days, no, a week actually) methodically doing stability tests and tweaking voltages for all 24 frequencies. I then went back to a fresh install of CM7, installed Tiamat 3.3.7 and used my Evo for about 30 minutes - doing whatever I normally do, few texts, lots of RSS reading, browser, it isn't important since this is a relative and not absolute test. I then took 10 samples from that time in Battery Monitor Widget and averaged them, resulting in 485mA. Then I installed my customized voltages, and repeated the experiment, and the average was 374mA. That equates to about a 23% decrease in power consumption.

In my eyes, anything I can do to get a little bit more battery life is great and this mod will help with that
26th April 2011, 10:39 PM |#6  
bradm23's Avatar
Senior Member
Thanks Meter: 114
 
More
Is this.something that you would flash over the kernel or for devs to add in while they are creating them?
26th April 2011, 10:42 PM |#7  
-viperboy-'s Avatar
OP Inactive Recognized Developer
Flag PA
Thanks Meter: 13,044
 
Donate to Me
More
Quote:
Originally Posted by bradm23

Is this.something that you would flash over the kernel or for devs to add in while they are creating them?

Flash over a kernel. Basically, it adds a script to /system/etc/init.d that loads these undervolt values everytime your phone starts up.
26th April 2011, 11:10 PM |#8  
smtom's Avatar
Senior Member
Thanks Meter: 55
 
More
Interesting. I think I will keep an eye on this one!

Sent from my ADR6300 using XDA Premium App
26th April 2011, 11:16 PM |#9  
dscribe's Avatar
Senior Member
Flag Camden, AR
Thanks Meter: 49
 
More
So, is it not possible to do make this mod available to sense ROM kernels, or just involves doing things no one has done yet?
26th April 2011, 11:21 PM |#10  
Senior Member
Thanks Meter: 9,453
 
Donate to Me
More
Quote:
Originally Posted by dscribe

So, is it not possible to do make this mod available to sense ROM kernels, or just involves doing things no one has done yet?

You just need a kernel with the HAVS sysfs interface is all. Would take about 5 minutes to put into a sense kernel. It will be in a future 2.6.37 sense kernel I put out if I ever figure out the funky artifacting issue.
26th April 2011, 11:25 PM |#11  
-viperboy-'s Avatar
OP Inactive Recognized Developer
Flag PA
Thanks Meter: 13,044
 
Donate to Me
More
Quote:
Originally Posted by dscribe

So, is it not possible to do make this mod available to sense ROM kernels, or just involves doing things no one has done yet?

Quote:
Originally Posted by chad0989

You just need a kernel with the HAVS sysfs interface is all. Would take about 5 minutes to put into a sense kernel. It will be in a future 2.6.37 sense kernel I put out if I ever figure out the funky artifacting issue.

It could work with a Sense kernel, actually. I just didn't make one for the EVO because Calkulin already did that in his own thread. But I will get it working on Sense for the Incredible for you guys.

Looks like I need 5 Sense testers now!
Thread Closed Subscribe to Thread

Tags
how do i add a tag?, viperboy is the shit!!!!
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes