[Q] What is Voltage in Kernel tweaking and what happens when you higher or lower it? - Nexus 5 Q&A, Help & Troubleshooting

Hi XDA Community. Can you guys be kind enough to explain to me(us) what it does when you tweak it? Does it help the phone? In what ways? I'm able to enter kernel tweaks because of the Rom Toolbox app and i don't wanna touch it without knowing what it does. My phone is at Stock Clock 2265-2266MHz and the Voltage control right now is at 1050mV and it is able to be maximized at 1600mV. I use Trinity Kernel by Morfic.

Check out this thread. It should help you out. http://forum.xda-developers.com/google-nexus-5/general/nexus-5-undervolting-thread-t2537000
Although some people disagree about battery life. I think most people just do it to reduce the heat the phone produces.

MaLing15 said:
Hi XDA Community. Can you guys be kind enough to explain to me(us) what it does when you tweak it? Does it help the phone? In what ways? I'm able to enter kernel tweaks because of the Rom Toolbox app and i don't wanna touch it without knowing what it does. My phone is at Stock Clock 2265-2266MHz and the Voltage control right now is at 1050mV and it is able to be maximized at 1600mV. I use Trinity Kernel by Morfic.
Click to expand...
Click to collapse
Controls the voltages each frequency runs at. People undervolt (lower the voltage), not overvolt (maybe for 3014MHz but not stock clocks), because the factory defaults are set higher than what is actually needed just to be safe, as every device is different. Only real advantage is a little bit less heat, battery savings is too negligible. Lowering it too much will cause bootloops. Raising it is silly.
Read above thread for more.

Thanks guys for sharing your knowledge.

Related

[KERNEL] Undervolt driver for the stock HTC kernel for EVO 4G and others (2.6.32.15)

This kernel module allows you to run any stock HTC Froyo kernel with lowered CPU voltages. Reducing voltage decreases power consumption by the CPU, thus lowering heat and increasing battery life.
INSTALL:
You need root or an unrestricted recovery image (e.g ClockworkMod) to install this. The default settings decrease voltage by 75-100 mV which seems stable on my device (HTC Desire) and is reported to be fine on the EVO. Just download the attached file and select it from recovery or ROM Manager.
I've built "update.zip" files for the EVO 4G with Linux kernel versions 2.6.32.15-g746f4f0, 2.6.32.15-ge2fb08e, and 2.6.32.15-g59b9e50. You can check your kernel version in Settings->About phone->Software information.
Other HTC devices running Froyo are supported. If you have a different device, please give me the full version number and I can add an update.zip for it.
Full details and source are in the original thread in the Desire forum:
[KERNEL] Undervolt driver for the stock HTC kernel for Desire and others (2.6.32.15)
Update, 2010-11-22: Added driver for 2.6.32.15-ge2fb08e.
Update, 2010-11-23: Added driver for 2.6.32.15-g59b9e50.
recant: love this idea when trying to keep this stock
Sounds like it would go well with Fresh's new rom.
ericwgarza1 said:
Sounds like it would go well with Fresh's new rom.
Click to expand...
Click to collapse
+ 1 on that I agree
sweet I like. Does it change the kernel version?
Too weak... funny considering there is more work involved in setting this up than most linux guys even do on a pc... let alone a phone.
tatnai said:
what's this here? sounds like an add on for those too weak at heart to flash a modded kernel. will likely find some friends, strong work.
Click to expand...
Click to collapse
Sent from my PC36100 using XDA App
tatnai said:
what's this here? sounds like an add on for those too weak at heart to flash a modded kernel. will likely find some friends, strong work.
Click to expand...
Click to collapse
Maybe not. I run the netarchy kernel but don't OC because it seems to crash at random times. I use it because the battery life is better than stock.
I'll revert to a clean back-up and give this a try just for giggles.
I would like to see some results.
I say that because I have tried a few havs roms and get worse battery life.
I think what a lot of people don't realize unless they are heavily into overocking is that microadjustments just dont have much effect there needs to be some substantial drops to really have any effect on battery and heat.
I realize that this is no desktop or laptop cpu, and that this cpu is based off such low voltages but such minor voltage adjustments, 80-100mv just arent going to have the desired effect unless that equates to a "substantial" voltage drop.
Not to mention the fact that most of you are going to overclock your phone without the faintest idea that doing so, even with a lower cpu voltage, will still cause worse battery life. This is a fact.. to argue it is futile. Its the nature of the beast.. do some reading and find out for yourself.
You can overcome some things by using on demand overclocking but you have to do extensive testing to find the sweet spot.
fr4nk1yn said:
Maybe not. I run the netarchy kernel but don't OC because it seems to crash at random times. I use it because the battery life is better than stock.
I'll revert to a clean back-up and give this a try just for giggles.
Click to expand...
Click to collapse
Sent from my PC36100 using XDA App
Nice work. I'm not interested in oc'ing, nor flashing a custom kernel. I may give this a go after a few others check in w/ results. I just want to know that it's stable.
I went to your other thread and saw the source. Clever solution, nice work. I really do like that you wrote a device to /proc that does a little more than report the frequencies back. This will make it very easy to write some scripts, or even a UI, that lets me tweak the settings. Hopefully I have some time to work on that in the upcoming weekends.
Will take a look at this first chance I get. Trying to finish my battery logger since everything available now doesn't log exactly what I want to know. Kudos.
Does this make HAVS obsolete ?
iscaela said:
This kernel module allows you to run any stock HTC Froyo kernel with lowered CPU voltages. Reducing voltage decreases power consumption by the CPU, thus lowering heat and increasing battery life.
INSTALL:
You need root or an unrestricted recovery image (e.g ClockworkMod) to install this. The default settings decrease voltage by 75-100 mV which seems stable on my device (HTC Desire) and is reported to be fine on the EVO. Just download the attached file and select it from recovery or ROM Manager.
I've built "update.zip" file for the EVO with Linux kernel version 2.6.32.15-g746f4f0. You can check your kernel version in Settings->About phone->Software information.
Other HTC devices running Froyo are supported. If you have a different device, please give me the full version number and I can add an update.zip for it.
Full details and source are in the original thread in the Desire forum:
[KERNEL] Undervolt driver for the stock HTC kernel for Desire and others (2.6.32.15)
Click to expand...
Click to collapse
Undervolting meaning only when screens off or on and off ?
I installed and will get the best battery life yet. Better than when I was with King and other kernels....thanks!!!
Anyone have any results from flashing this yet? How is battery life? Any stability issues?
look4wisdom said:
Anyone have any results from flashing this yet? How is battery life? Any stability issues?
Click to expand...
Click to collapse
No stability issues and it seems to help on battery a little bit but I really can't tell a big deference. I was expecting for it to help out more. Thanks anyways OP for the share
i did say those little microvoltages aint gunna make any difference.
plus if you try to overclock you just cancelled any lowered voltages and actually cause higher power draw than stock mhz at stock voltages.
higher mhz equals higher power draw whether you have it undervolted or not.
you have to make a signifigant drop in voltage to make any difference at all. let alone if you try and overclock.
not trying to dog the guy who discovered this i am just sing plain and simple math, heat, and electronic voltages.
Sent from my PC36100 using XDA App
question there a some diference between this kernel and the once from King and Net, talking about battery life and performance
juancaperez2000 said:
question there a some diference between this kernel and the once from King and Net, talking about battery life and performance
Click to expand...
Click to collapse
This isn't a kernel its just a couple of files that go with the kernel. One file for initial boot ect/initd and a .ko file that goes in system/lib/module folder.
I have an Evo, [email protected] #11. I would like to try it. Please build an update.zip to support it.
Cheers.
snovvman said:
I have an Evo, [email protected] #11. I would like to try it. Please build an update.zip to support it.
Cheers.
Click to expand...
Click to collapse
OP
Sent from my EViO + PURE= PURE Baked EViO

[Q] Kernel suggestion for underclock

I am running Cognition 4.4.8, which will not allow OC/UC. I actually just want to UC. What recommendation would you have for a kernel compatible with Cognition 4.4.8 for Captivate that would allow me to UC?
Don't you mean oc/uv? I don't think you know what you are talking about.
Yeah its UV (undervolt). Find any kernel that allows it and is working with your ROM. Maybe ask in that thread as others could be using a custom kernel for that exact reason.
Sent from my SGH-I897 using XDA Premium App
UC is a real term, maybe he meant he wants to limit his clock speed to 800mhz. What's that called if not UC?
Although undervolting and underclocking to save battery is a waste of time. The cpu doesn't use that much battery in the first place, the screen and the modem use the most power, you want the charge to last switch to the lowest brighteness and 2g, that will give way more battery than uc/uv will.
studacris said:
UC is a real term, maybe he meant he wants to limit his clock speed to 800mhz. What's that called if not UC?
Although undervolting and underclocking to save battery is a waste of time. The cpu doesn't use that much battery in the first place, the screen and the modem use the most power, you want the charge to last switch to the lowest brighteness and 2g, that will give way more battery than uc/uv will.
Click to expand...
Click to collapse
+1 on the battery topic. Even at a high OC the battery drain is not that much worse... a little yeah but not too severe.
Also good point about UC.. wasn't thinking about that at all ..underclock what!?!?
some people falsely think that the phone runs at 1ghz all the time, when in fact it downclocks itself and ramps up clockspeed when it needs it....so unless you have an app thats using 100% CPU all the time, your phone is running around 200mhz at idle.
Pirateghost said:
some people falsely think that the phone runs at 1ghz all the time, when in fact it downclocks itself and ramps up clockspeed when it needs it....so unless you have an app thats using 100% CPU all the time, your phone is running around 200mhz at idle.
Click to expand...
Click to collapse
+1 again Although there are different governors that do different things most phone at stock will idle down to 200mhz. My phone for instance idles down to 800mhz, but thats just my prefrence
Yep, I meant OC/UV. I typed too fast for my own good!
Good points
Thanks for the message on how little battery undervolting saves. That was quite helpful. I did try the discussion board for Cognition, but no one seemed to be posting on using an alternate kernel, which is why I asked for recommendations here.
I believe Cog is KB1 based, so this kernel should work: http://forum.xda-developers.com/showthread.php?t=988805
Thanks I will certainly trie eXist's kernel.
Ernesto47 said:
Thanks I will certainly trie eXist's kernel.
Click to expand...
Click to collapse
If you want the best battery life, I suggest something other than cognition. In my experience, i9000 based custom roms get better battery life.
Sent from my CM7 powered captivate
@sixstringsg I notice that you are using Cyanogenmod. I keep looking at that, but since it was still not listed as stable, I was not sure whether to try it. How are you finding the stability?

[SOLVED] Undervolting

When I undervolt my phone my reception is horrible like 1-2 bars when its normally full. Am i doing anything wrong? I just can't get the undervolting and the reception to work well together
King Askaba said:
When I undervolt my phone my reception is horrible like 1-2 bars when its normally full. Am i doing anything wrong? I just can't get the undervolting and the reception to work well together
Click to expand...
Click to collapse
If undervolting is impacting the performance of your phone (in your case, the signal strength) then it can be argued you're undervolting too much, even though your phone is stable otherwise. About the only thing you can do is try undervolting a little less. Every phone is different regarding this kind of stuff, so it's a trial and error situation.
Or I suppose you can try different radio/RIL combinations. But I haven't read of anyone testing radio/RIL performance at different voltage levels so there's no evidence to suggest this will fix your problem - just throwing ideas out there.
I tried the -25 undervolt and my signal is up to an acceptable area would be cool if i could get the -50 but oh well still going to get good battery
King Askaba said:
When I undervolt my phone my reception is horrible like 1-2 bars when its normally full. Am i doing anything wrong? I just can't get the undervolting and the reception to work well together
Click to expand...
Click to collapse
Well, I'm no electrical engineer, but common sense kind of makes me agree with Henry...
Radio needs juice/cpu time to operate.
Undervolting reduces the amount of voltage supplied to cpu, perhaps other components.
Reduced power to cpu/radio/etc. = reduced performance.
Especially if it worked fine before undervolting. Really doesn't seem that mysterious to me.
Keep in mind you're doing something to the phone it wasn't originally designed to do. Just because it can tolerate it, doesn't mean it's going to tolerate it AND behave as if everything is normal.
Is it possible just to install the undervolt zip or do have to have the kernel that goes along with it?
Is it possible to change the amount of undervolt simply and easily?
Sent from my Inspire 4G using XDA App
King Askaba said:
Is it possible just to install the undervolt zip or do have to have the kernel that goes along with it?
Click to expand...
Click to collapse
The kernel must support undervolting.
henrybravo said:
The kernel must support undervolting.
Click to expand...
Click to collapse
This I am aware of. I mean is there a way to change the amount of undervolt in MDJ Kernels to try to improve signal strength? or are there any comparable non undervolting kernels with all the features still there?
willwalk93 said:
Is it possible to change the amount of undervolt simply and easily?
Click to expand...
Click to collapse
Usually, yes. For example, some of the common kernels being used to undervolt the Inspire are LorDMoD kernels. He's got 4 undervolt scripts that will undervolt your phone to various levels, depending on how low you can go (every phone is different). Some users have created their own custom undervolting scripts as well.
-25mv script: safe for almost all phones
-50mv script: safe for many phones but not all
UUV (Ultimate Undervolt script): you're starting to get into some serious undervolting here. Doesn't work with a lot of phone
PUV ("Pinky" Undervolt script): crazy undervolting (LorD ClockaN calls it "heavenly undervolt"). The PUV script is stable on a fairly low number of phones.
These scripts are contained in separate downloadable .zip files that you simply flash in recovery mode. The .zip contains a script file called "99voltages" that is copied into your /system/etc/init.d folder. Any scripts placed into this folder are automatically executed upon bootup. Once this script runs, it sets the voltages for your CPU at various speed levels. The voltage of your CPU can be verified by viewing the vdd_levels file located in /sys/devices/system/cpu/cpu0/cpufreq. The voltage of the CPU changes as the frequency goes up and down. Typically the higher the frequency the more voltage is needed.
Sorry that was probably more info than you asked for.
henrybravo said:
Yes. Some of the common kernels being used to undervolt the Inspire are LorDMoD kernels. He's got 4 undervolt scripts that will undervolt your phone to various levels, depending on how low you can go (every phone is different). Some users have created their own custom undervolting scripts as well.
-25mv script: safe for almost all phones
-50mv script: safe for many phones but not all
UUV (Ultimate Undervolt script): you're starting to get into some serious undervolting here. Doesn't work with a lot of phone
PUV ("Pinky" Undervolt script): crazy undervolting (LorD ClockaN calls it "heavenly undervolt"). The PUV script is stable on a fairly low number of phones.
These scripts are contained in separate downloadable .zip files that you simply flash in recovery mode. The .zip contains a script file called "99voltages" that is copied into your /system/etc/init.d folder. Any scripts placed into this folder are automatically executed upon bootup. Once this script runs, it sets the voltages for your CPU at various speed levels.
Click to expand...
Click to collapse
So can one simply edit the scipts in the kernel packages to try to improve signal strength?
Also, is there any way to determine the current undervolt on my phone? I am on mdj v23 atm.
willwalk93 said:
Also, is there any way to determine the current undervolt on my phone? I am on mdj v23 atm.
Click to expand...
Click to collapse
I thought someone might ask this, so I edited my post a little bit ago to answer this. Check the bottom of my last post and I mentioned what file to check to see your voltages.
One thing I should mention is you probably shouldn't give too much credence to undervolting. It is not the big battery saver you might think it is. It does help somewhat, but even using the extreme PUV script, the net effect to the battery is about 10% improvement in standby mode, and the more conservative script settings are considerably less. If you want more detail, there is a discussion in the last few pages or so of the LorDModUE thread listed in my sig where we discuss the merits of undervolting. Of course on a phone like the Inspire with a measly 1230 mAH battery, every percent counts and is welcome, which is why I'm a fan of undervolting. As was pointed out in that thread, when your phone is being used with the screen on, the largest battery draining component is the display. When your phone is in standby mode, the largest draining component is the radio. A CPU voltage drop of 25mv is only 2.5% (which equates to ~5% power consumption drop by the CPU; see LorDModUE thread for the formula). Given the fact that the CPU is far from the biggest draining component in the phone, the total net effect with a 25mv drop is much less than a 5% improvement.
To answer your other question, yes you can edit the scripts yourself if you're willing to invest the time and effort. I don't know if it's worth the effort in most situations. For example, King Askaba's signal is fine at -25mv but starts to degrade at -50mv. Finding the sweet spot between such a close set of voltages (-25mv versus -50mv) isn't going to make a difference in your battery life.
Thanks for all the help but if i can't have good signal then I wont undervolt. Especially when it not that much of a battery saver.
Sent from my MIUI HTC Inspire 4G using XDA App.
King Askaba said:
Thanks for all the help but if i can't have good signal then I wont undervolt. Especially when it not that much of a battery saver.
Sent from my MIUI HTC Inspire 4G using XDA App.
Click to expand...
Click to collapse
I'm with you 100% Not worth the trade off.
I am using inspired ace with the mdj v23 kernel. There was no system/etc/init.d folder wasn't there. So how do I restore my voltage to its full power with this kernel? Also the method to check did not work as that file was not found in root explorer.
Sent from my Inspire 4G using XDA App
willwalk93 said:
I am using inspired ace with the mdj v23 kernel. There was no system/etc/init.d folder wasn't there. So how do I restore my voltage to its full power with this kernel? Also the method to check did not work as that file was not found in root explorer.
Sent from my Inspire 4G using XDA App
Click to expand...
Click to collapse
My bad, I was referring to LorDMoD kernels which only work on AOSP ROMs, so those folders/files won't apply to your ROM. I'm not familiar your ROM/kernel (I think I got confused on who I was replying to since you and King Askaba were both chiming in, my mistake).

Overclocking questio.

Howdy folks. Could someone point me in the right direction? Thinking about overclocking but have not done it. What are the benefits / rewards?
Is there an app or program i can to do this?
And what is a safe range?
Thanks in advance!
Sent from my intergalactic space modulator using XDA App
Benefits : Faster phone, smoother ui
Cons: Phone may heat up if overclock is set too high
For this phone 1500 is the highest, safest number we can get to right now. I would suggest setCPU, which you can find on XDA for free. (search setCPU)
You'll need a new kernel first, the stock one doesn't support oc. Go with Faux's assuming you're running a rom compatible with it (and most are).
After that, download Pimp My CPU from the market and you're good to go.
Sent from my Nexus Prime using XDA Ultimate App
To be honest with you, I notice hardly, if any, real-world phone speed increase when I overclock...barring benchmark numbers. I'm not really sure why that's the case for me, and why for some others it's such an extremely obvious difference (or so they claim). Perhaps I'm not running the same cpu intensive apps that they run. But for general, day to day, running of my phone, it's just not worth it for me due to the battery cost.
So I would love to hear from some of you where "precisely" do you see such a marked improvement on the speed of your phone?
Well, first off, make sure you have a custom Recovery installed... Then find a ROM you'd like, and then, flash a custom OC Kernel..
You'll need an app such as SetCPU to control the overclock.
mmapcpro said:
To be honest with you, I notice hardly, if any, real-world phone speed increase when I overclock...barring benchmark numbers. I'm not really sure why that's the case for me, and why for some others it's such an extremely obvious difference (or so they claim). Perhaps I'm not running the same cpu intensive apps that they run. But for general, day to day, running of my phone, it's just not worth it for me due to the battery cost.
So I would love to hear from some of you where "precisely" do you see such a marked improvement on the speed of your phone?
Click to expand...
Click to collapse
Are you using the stock launcher? It's alot smoother with the stock launcher if OCed to 1500, although i don't notice a difference from 800 to 1500 on launcher pro.

Any way to boost voltage on trinity kernels?

Hello all, I was just wondering if there is any way of increasing the voltage to Trinity kernels, without compiling it myself?
I read through some searches and it looked like that was the only way but I don't know how to compile a kernel... I just wish that I was allowed to raise voltage to my heart's content, since it appears to be the snappiest kernel I have tried but they are all too low voltage for my CPU which needs a bigger boost than most.
Thanks!
Maybe proton voltage controll app
Sent from my GT-P7510 using xda premium
sean1984 said:
Maybe proton voltage controll app
Sent from my GT-P7510 using xda premium
Click to expand...
Click to collapse
Trinity doesnt support proton
xtracrispy said:
Hello all, I was just wondering if there is any way of increasing the voltage to Trinity kernels, without compiling it myself?
I read through some searches and it looked like that was the only way but I don't know how to compile a kernel... I just wish that I was allowed to raise voltage to my heart's content, since it appears to be the snappiest kernel I have tried but they are all too low voltage for my CPU which needs a bigger boost than most.
Thanks!
Click to expand...
Click to collapse
the only other way to get your voltage raised, without compiling the kernel yourself, is to ask morfic to build you a version with a slightly higher voltage.
simms22 said:
Trinity doesnt support proton
the only other way to get your voltage raised, without compiling the kernel yourself, is to ask morfic to build you a version with a slightly higher voltage.
Click to expand...
Click to collapse
Yeah... I don't think there's live voltage changing on trinity.
Yeah that's what I thought.
Is there any reason why Morfic doesn't like supporting the Proton App? Given the other enhancements he's made, it'd make it a really perfect kernel that'd be able to custome tune for any nexus out there... it must be hard for him to try and strike a balance between what his personal phone does, and what's best for everyone else
xtracrispy said:
Hello all, I was just wondering if there is any way of increasing the voltage to Trinity kernels, without compiling it myself?
I read through some searches and it looked like that was the only way but I don't know how to compile a kernel... I just wish that I was allowed to raise voltage to my heart's content, since it appears to be the snappiest kernel I have tried but they are all too low voltage for my CPU which needs a bigger boost than most.
Thanks!
Click to expand...
Click to collapse
Try to use SetCPU?
No set CPU. Do as simms stated. Only options.

Categories

Resources