yashsingh1/xdaforums huggingface dataset:
[HTC Inspire 4G] eramming:
reflashed zip. everything works.
[HTC Inspire 4G] mrbubba999:
Anyone got a working download link? The link in the first page just loads a guide dns website and doesn't work
[HTC Inspire 4G] -viperboy-:
My sig :)

10char
[HTC Inspire 4G] mrbubba999:
Thank's
[HTC Inspire 4G] -viperboy-:
OP updated with the new website. HUGE thanks to Cayniarb with Tiamat Kernels for the hosing and website. Definitely the best kernels out there, you really should check them out if there is one for your device! Thank you very much, Cayniarb!
[HTC Inspire 4G] -viperboy-:
OK guys, I know it's been a while but I bring good news! Here is an update with screenshots and it's almost done!! I want to give a HUGE shoutout to my friend Ben (Smurph82) because he has been doing most of the coding on this! Release should be within a week or so :D Here we go...

It needs a little more work like icons and such and a little more work on the backend, but not much! I hope you guys like it! :D
[HTC Inspire 4G] killersloth:
Very very nice!

Looking forward to trying it out

Sent from the sky using black magic
[HTC Inspire 4G] RampageRR:
Looks fantastic!
[HTC Inspire 4G] harpo1:
Great job reminds me of my captivate days when I could change my voltages with an app.
[HTC Inspire 4G] -viperboy-:
Ok guys, I have a test version of the app ready and I need some testers! Some things don't work and I need help figuring out what else isn't working. I'm looking for 3-5 testers per device. All testers will get the paid version of the app when done, assuming you provide me with feedback of this app. Here are a few rules...

0.) You must be on a HAVS/SVS kernel (exceptions Nexus S/NS4G with mathkid or Netarchy kernel). If you don't know what this means, please do not send me a request to beta test. You must also be on a ROM that supports init.d (99% of ROMs)

.5) Please take note of the current version of viperMOD Voltage Control for your device and use it with that configuration. Example: If the viperMOD thread for your device says it's for AOSP, test with an AOSP ROM/kernel. You are welcome to test with other setups that aren't officially supported, but please test first with what the viperMOD script officially supports.

1.) If you are selected to be a tester, you WILL NOT send this app to anyone else and you will use it only on your personal devices.

2.) If you are not selected to be a tester, please don't blow up my PMs or thread complaining about it.

3.) You will provide me with some feedback about the app, what works and what doesn't, what should be implemented and/or taken out. I don't think this is an unreasonable request.

4.) This is going to be mass posted in a few threads and I'm going to make another thread for all the other devices I don't officially support so I can see what other devices/kernel/ROM combos work/don't work. Therefore, to be an official beta tester, your submissions will BY PM ONLY. This information needs to be sent to me or I will ignore your PM. Please don't post in this thread for wanting to test! I don't have time to respond and ask for the information that I need. Please include this with your beta testing submission:

Device:

ROM:

Kernel:

Please also keep replying with our whole conversation so I can reference it.

5.) I may be going to bed soon so if you get nothing from me tonight, I will hit you up tomorrow.

Thanks guys, I look forward to working with all of my beta testers!!
[HTC Inspire 4G] -viperboy-:
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:
[Desire HD Android Development] -viperboy-:
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!
[Desire HD Android Development] gekrem:
looks great! Giving it a try!
[Desire HD Android Development] timstanley1985:
Which desire hd kernels support this?
[Desire HD Android Development] eliashadow:
''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.''

Maybe im wrong but i dont think our devs in this thread to make their kernels ''universal''.They make the kernels especially for DHD so they undervolt the kernels as much as needed.

If im wrong sorry, if im right this is useless.
[Desire HD Android Development] lukesky:
i think universal means universal for every DHD and not universal for every phone model out there..
[Desire HD Android Development] blaze0303:
I want to try this but it seems like dangerous territory.
[Desire HD Android Development] eliashadow:
I dont understand what u mean tho.

Every DHD can support different undervolt level???I dont think so...

And if this is can happen how we know that??By testing different levels??

I am a little confuse about this.

Maybe Lee, m-deejay, LorD ClockaN or someone with kernel's knowledge can help us clear our mind.
[Desire HD Android Development] motoman234:
This isn't for people that don't know what they are doing to a certain extent but I think it's a really cool idea and I appreciate it.

Also, what I think he means by "universal" is that most kernel devs find a stable medium when it comes to under/overvolting so that it fits everyone's needs and so they don't have to release multiple versions just to make every crowd happy. We all know that there are PLENTY of different people out there that prefer different things.

On another note, I tested with m-deejay's V22 kernel and it seems to be incompatible. Did you test on any GB kernels for DHD? If so, is the stock HTC kernel the only one compatible if at all?

Thanks for all the work you have put into this.
[Desire HD Android Development] Flussen:
By saying 'universal' he probably meant that the devs are only using moderate UV. This us because not every DHD can handle the same amount of UV because every CPU reacts slightly different when it cones to OC/UV. Thats because also CPUs have small tolerances at the conductive paths which makes them more compatible to OC/UV than others.
[Desire HD Android Development] -viperboy-:
Yes, you and Flussen are exactly right. I thought it made sense, maybe I should reword it.

I didn't get to test this at all, actually. I had someone with an Inspire 4G ask me to fix RC2 and up so it would go back to working with his phone, even though I didn't officially support that phone at the time (I added device detection in RC2 and up and the DHD/I4G wasn't in there, so it would fail)

I know Leedroids kernel is compatible if you're running GB Sense. I'm not sure what other kernels are out there for you guys. If the kernel you want to use has the vdd interface in it but its incorporated a different way (like Netarchy's for the Nexus S and Nexus S 4G) I can write the code to support it.

I hope this helps :)
[Desire HD Android Development] IvanRs:
I get error: vipermod: line 395: '1stgensnapdragon': not a valid identifier

when I try to run vipermod on DHD, Honeysense HD v.2.1 rom, kernel MDJ's_V22_2.6.35.13_OC1708_UV900_SLQB_CIFS_TUN_VR_EXT4_2WCR

does this mean that kernel is not supported? to me it seems more like error in the program...
[Desire HD Android Development] -viperboy-:
Its something I need to fix in my script but its hard to track it down since its sporadic and doesn't happen on my EVO. It's even harder since I don't have the phone to test with.
[Desire HD Android Development] MrYuiM:
Works for me on Lordmod 5.5 :D Froze phone on -100Mv I think I'll stick to 75 :DD But thanks for the epic mod
[Desire HD Android Development] IvanRs:
is there something I can do to help?
[Desire HD Android Development] -viperboy-:
Well, if you're good with shell scripts, that's how you can help me :D But if not you can try changing ROMs, if you want. In another thread of viperMOD (I forget which one) someone said that they changed ROMs and used the same kernel and it worked.

Another thing you could do would be post your build.prop so I can take a look at it. That might be the issue since that changes when you change ROMs, so if it doesn't work on one ROM and does on another, that could be the issue since my script checks build.prop for a few pieces of information.
[Desire HD Android Development] IvanRs:
my build.prop is attached. I added extension .txt to be able to upload the file.
[Desire HD Android Development] -viperboy-:
That all looks ok to me.
[Desire HD Android Development] IvanRs:
I looked into your script to see what you check using build.prop and first check:

grep ro.product.device= /system/build.prop | cut -d \= -f 2 | tr -cd '[:alnum:]'

returns "ace",

second check:

grep ro.board.platform= /system/build.prop | cut -d \= -f 2 | tr -cd '[:alnum:]'

returns "msm7x30"

both seem to be within expected answers, so the problem is somewhere else - what should be the next step?
[Desire HD Android Development] HTCOmega:
I get this:

export PATH=/data/local/bin:$PATH

sh-3.2$ export PATH=/data/local/bin:$PATH

sh-3.2$ su

sh-3.2# vipermod

/system/bin/vipermod: line 5: tr: command not found

/system/bin/vipermod: line 6: tr: command not found

/system/bin/vipermod: line 7: uname: command not found

cut: standard output: Broken pipe

/system/bin/vipermod: line 395: `1stgensnapdragon': not a valid identifier

sh-3.2#

-----------------------------------------------------------------------

I was getting "cut" and "grep" not being found but I was able to install them with the L.E.S. app. Commands "tr" and "uname" aren't available in L.E.S. so I couldn't install them. I'm running AndROMeOS Ace v15 (GB 2.3.3) w/ LeeDroid's 3.1.2 kernel.

Any ideas?
[Desire HD Android Development] -viperboy-:
You are on RC2.2, right? I would bet that your busybox is out of date. Try going into Titanium Backup > Problems and download their version of busybox. See how it goes then.

EDIT: May be the busybox binary. I am going to include the busybox binary in the next update. Hang tight until then, should be in an hour or so.
[Desire HD Android Development] LorD ClockaN:
This should work on all of my kernels, but you must delete any UV scripts that you have..

You can accomplish all of this by manualy changing my uv scripts before the flash

Sent from Desire HD with CyanogenLordMod!!!
[Desire HD Android Development] HTCOmega:
Should be running RC2.2 since that's what I thought I clicked on (>.>) but I did the BusyBox d/l from TB so I'm on BB1.16.0 from TB3.8.2 and still no dice.

Back to this:

export PATH=/data/local/bin:$PATH

sh-3.2$ export PATH=/data/local/bin:$PATH

sh-3.2$ su

sh-3.2# vipermod

/system/bin/vipermod: line 5: tr: command not found

/system/bin/vipermod: line 6: tr: command not found

/system/bin/vipermod: line 7: uname: command not found

/system/bin/vipermod: line 395: `1stgensnapdragon': not a valid identifier

sh-3.2# cut: standard output: Broken pipe

cut: standard output: Broken pipe

----------------------------------------------------------------------

I can wait on the update, no worries. I've gone without on-the-fly undervolting since changing from my Captivate (man, I really do miss the Voltage Control app) so I can wait a little longer. I appreciate the work and look forward to getting this up and running. I'm currently running AndROMeOS like I said but I may be swapping up ROMs shortly. May see if that fixes anything. I'm also going to take a look and see if Lee has pushed out anymore updates to his kernel that I'm running. I'll let you know whatever I find. Thanks again!
[Desire HD Android Development] -viperboy-:
Thanks for letting me know, I will update my site. I really need to include the info about deleting any previous UV somewhere.

And, yes, you can manually change them but a script that allows a ton of flexibility is also really useful ;)
[Desire HD Android Development] -viperboy-:
Download this:

http://dl.dropbox.com/u/6621763/busybox.zip

It's the busybox binary. Unzip and place in /system/xbin (you should have one in there already, overwrite it. Let me know if it's not already in there too!) Make sure you set all permissions on it via Root Explorer or Terminal (chmod 0777 /system/xbin/busybox) you shouldn't need to reboot, try the script. If you still get errors, reboot then try again but you shouldn't have to.

Please let me know how this goes!
[Desire HD Android Development] HTCOmega:
Downloaded, extracted, overwrote (old BusyBox

was

in there, btw), chmod 0777 from Terminal and still nothing.

sh-3.2# chmod 0777 /system/xbin/busybox

sh-3.2# vipermod

/system/bin/vipermod: line 5: tr: command not found

/system/bin/vipermod: line 6: tr: command not found

/system/bin/vipermod: line 7: uname: command not found

cut: standard output: Broken pipe

cut: standard output: Broken pipe

/system/bin/vipermod: line 395: `1stgensnapdragon': not a valid identifier

sh-3.2#

----------------------------------------------------------------------

I'll give rebooting a shot right quick.

-----

EDIT: Rebooted, still a no-go.

export PATH=/data/local/bin:$PATH

sh-3.2$ export PATH=/data/local/bin:$PATH

sh-3.2$ su

sh-3.2# vipermod

/system/bin/vipermod: line 5: tr: command not found

/system/bin/vipermod: line 6: tr: command not found

/system/bin/vipermod: line 7: uname: command not found

cut: standard output: Broken pipe

cut: standard output: Broken pipe

/system/bin/vipermod: line 395: `1stgensnapdragon': not a valid identifier

sh-3.2#

I may just try out Lee's other kernel. I've gone from CM to MIUI to AOSP to No-Sense and now I can't remember which kernel is which but I think he has another kernel for No-Sense ROMs. I'll go check it out.
[Desire HD Android Development] apoorvajsh:
As far as I'm aware there are three GB Sense kernels for the DHD - LeeDroid, Buzz (included in ARHD) and MDJ's V. The only one this script worked on was Lee's.

Is there anyway that we can find the minimum voltage that the phone can stably run on?
[Desire HD Android Development] -viperboy-:
Right, Leedroid is the only kernel with the vdd interface. You can ask the devs of the other kernels if they would implement it if you want.

And yes, trial and error :p if you set a voltage too low, you will get a reboot. Just set a voltage 25mv up from that and try again :)
[Desire HD Android Development] -viperboy-:
OP updated!
[Desire HD Android Development] apoorvajsh:
Right I spent ages locating what the lowest stable voltages my phone can go to by playing around with the custom voltages, and saved it to the init.d file. Is there any way to grab this file and reflash these voltages. Other wise I have to go through all the effort again!

Great software BTW :)
[Desire HD Android Development] -viperboy-:
When you save the file into init.d, it loads your custom voltages upon booting every time. If its there, you're done. Nothing else you need to do :)
[Desire HD Android Development] HTCOmega:
Found the 74havs file in /init.d but it's showing up as 0bytes in size unlike other files in that folder. About to run the command you gave me. Report back momentarily.

--------------------

EDIT: Ran command. Here are the results:

export PATH=/data/local/bin:$PATH

sh-3.2$ export PATH=/data/local/bin:$PATH

sh-3.2$ cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

24576: 800

61440: 800

122880: 800

184320: 800

192000: 800

245000: 800

422400: 825

499200: 850

576000: 875

652800: 900

729600: 900

806400: 925

883200: 950

960000: 950

1036800: 975

1113600: 1000

1190400: 1025

1267200: 1050

1344000: 1075

1420800: 1100

1497600: 1175

1574400: 1200

1651200: 1275

1728000: 1300

1804800: 1325

sh-3.2$

-----------

Appears that the voltages HAVE dropped so success...maybe? Lol

---
[Desire HD Android Development] apoorvajsh:
D'oh! Of course I knew that haha, it's late and I'm tired :) i'll go to bed and let my DHD standby at a lovely 750mV :)
[Desire HD Android Development] demanzke:
Ok, it took me about 2 long hours... But have a look at this:

echo "245000 750" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "422400 750" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "499200 850" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "576000 750" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "652800 825" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "729600 850" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "806400 875" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "883200 900" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "960000 925" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "1036800 950" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "1113600 1000" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "1190400 1050" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "1267200 1075" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "1344000 1100" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "1420800 1150" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "1497600 1175" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "1574400 1175" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "1651200 1175" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "1728000 1175" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

echo "1804800 1175" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

I have managed to OC my DHD to 1,8 ghz with UV (to the stock 1 ghz)!!!!!

Thank you mate, you made my day :D
[Desire HD Android Development] -Happy Feet-:
which Kernel you used?
[Desire HD Android Development] inzaghi75:
And this is stable??
[Desire HD Android Development] demanzke:
Im on lee's kernel, and the high frequencies are perfectly stable. I had to raise the lower ones 1 step, now it's fine :P

EDIT: It's unstable with profiles :/
[Desire HD Android Development] Rey-619:
hi viperboy :) thanks for your great work i posted an request here on lordmods kernel thread.

would be nice to add 122Mhz into your script, because we are using it often on DHD Kernels:
[Desire HD Android Development] -viperboy-:
viperMOD does support that. If it is enabled in the kernel, you are able to set voltages for it. The post you quoted didn't have 122mhz enabled in the kernel.
[Desire HD Android Development] Rey-619:
thats interesting, because its included into the kernel

this frequencies i'v posted are the one from init.d file your mod created.

and there are missing many steps like:

122Mhz

230Mhz

307Mhz

...

btw 245Mhz which is included in the script.. is not supported of the kernel.

Did i missunderstood something?
[Desire HD Android Development] LorD ClockaN:
I doubt that that 1.8 is stable... try running antutu benchmark and quadrand bench on 1.8 and on some lower freq to compare the score.. I have a feeling that on 1.8 the scores will be worst
[Desire HD Android Development] -viperboy-:
Hmm, I don't have this phone so I can't test it myself but viperMOD should pull from your existing frequencies, set new voltages, and save them. Do me a favor. Run this:

cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

Let me see that output, please. Then go into viperMOD, raise or lower all voltages (just so I can see it change), then save changes. I need the output of the init.d file which you can get from viperMOD or you can manually run this:

cat /system/etc/init.d/74havsvoltages

To explain all of this, the first code will show your current frequencies and voltages. The second code will show new voltages that viperMOD has set. When it saves, it pulls all the frequencies in the vdd_levels file, formats all the other garbage out, writes the new frequencies, adds the correct syntax to write into the vdd regulator, and writes the file. This works perfectly on my EVO and should be working on the DHD as well. This is the first report I've heard about this not working. Please keep me informed :)
[Desire HD Android Development] LorD ClockaN:
Well thats what I thought.. lets hope that it works!

@Rey:

those first few freqs are not CPU related!
[Desire HD Android Development] LeeDroid:
Loving the fact that this has come around as a result of snq- designing the vdd levels interface for my desire ROMs :D

Nice idea!

Edit: also fully compatable with my kernels, my CPU frequecy table can be found in my thread ;)

Sent from my LeeDrOID loaded Desire HD
[Desire HD Android Development] Rey-619:
ok sry im to far from kernel deving ^^

but are we able to set this voltage steps?
[Desire HD Android Development] -viperboy-:
Thank you! I've heard that it works wonderfully with your kernel. I wish I had this phone to actually use your kernel on!!
[Desire HD Android Development] LorD ClockaN:
Just use vipermod and enjoy, or manually add those missing freqs after vipermod
[Desire HD Android Development] -viperboy-:
There should be no missing frequencies with my mod. That's why I'm waiting to hear back about.
[Desire HD Android Development] LorD ClockaN:
than I'm waiting for output also!
[Desire HD Android Development] apoorvajsh:
Strangely my battery drain is much worse after change the acpu on lees kernel down to 245000 750. On standby, there were many fluctuations in usage, unlike before. Maybe this low voltage is creating instability? x
[Desire HD Android Development] -viperboy-:
If it's too low, yes, it can cause instability. Try bumping up the voltage by 25mv.