[SOLVED] Undervolting - HTC Inspire 4G

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).

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

[KERNEL/GPL/Sense]ScaryKernel 1.8 super uv/oc/uc/smartass/scary governor/bfq

PaulB007 said:
If you haven't been able to get past the HTC screen at boot and keep bootlooping, YOU MUST INSTALL BC'S 1.5 GHZ KERNEL FIRST AND THEN FLASH THESE KERNELS OVER THAT I also just flashed it straight off of a new Mikshift install and I got the bootloop until I did this. So if you guys didn't do this, then install bc's kernel and flash Scary kernel again.
Scaryghoul, I have installed your 1.8 suv successfully on Mikshift. This is great news. I knew it would work, but for some reason I just cant get it running on aosp. I will keep you updated on IRC or through this thread, I haven't seen you on today yet.
Click to expand...
Click to collapse
Link to bcnice20's 1.5ghz kernel: http://forum.xda-developers.com/showthread.php?t=941728
If that doesn't work, try flashing over his 1.8ghz kernel(This is what worked for me, bcnice, if you want me to take down this link just let me know.) - http://thebcblends.com/shift/kernels/Sense-1.8ghz-bfq-test1.zip
Table of contents:
Intro
Features/what this includes
Why it's labeled unstable
Disclaimer
Latest kernels
Instructions for using swap
Governor exlainations
Governor strategies
Recommended apps
Locating cpu% Eaters && other negative items towards battery life
FAQ!
Changelog
Stable/safe voltage kernels
Notes
Source
Credits
Intro: I'm scaryghoul.
What this includes
Swap
BFQ I/o scheduler
Extreme undervolt
Overclocked & underclocked values
HW3D enabled
Sleepers disabled
Smartass governor
New Scary governor!
Tweaked conservative governor
and much more(All of bcnice20's kernel)
Why it's labeled unstable: So I don't get people poking me in the eyes with spoons if/when it freezes up. It actually works quite well, but since I heavily undervolted an undervolted kernel, it is bound to not be 100% stable(It is about 90% stable =P)
Disclaimer: What everyone else puts in kernel threads, about me not being responsible, ect.
Latest kernels
The voltages of the superUV will not work for everyone, if they don't work for you, then try the builds labeled stable
Recommended speeds 245-800mhz or 245-1ghz on scary governor && no setcpu profiles
Scarykernel 1.8 suv - http://dl.dropbox.com/u/15373824/Sense/ScarySense1.8Suv.zip
Scarykernel 1.8 stable undervolt - http://dl.dropbox.com/u/15373824/Sense/ScarySense1.8Stable.zip
Instructions for using swap
For a swapfile do something like this.
dd if=/dev/zero of=$Swapfile bs=1048576 count=$Size
Where $Swapfile is the location of the file you want, and $Size is the amount of mb for swap you want to use.
Then type
mkswap $Path
swapon $Path
Replacing $Path/$Size with your own values of course, so if I wanted 20mb of swap I'd execute the commands
dd if=/dev/zero of=/sdcard/swapfile bs=1048576 count=20
mkswap /sdcard/swapfile
swapon /sdcard/swapfile
Governor exlainations
Toasty makes one transition to the max speed and stays there(benchmarks only usually)
Batterysave! sits at the bottom and when the cpu load increases past the threshhold it scales up to the next speed and takes another load sample and keeps doing that(best on battery life/performance ratio)
Ondemand sits at the bottom and when the cpu load increases past the threshhold, it scales ot the max speed then takes another load sample and scales down accordingly
Powersave makes one transition to the bottom speed and stays there
Smartass(Quoted from another author http://www.ziggy471.com/2010/11/07/smartass-governor-info ) - "is based on the concept of the interactive governor.
I have always agreed that in theory the way interactive works – by taking over the idle loop – is very attractive. I have never managed to tweak it so it would behave decently in real life. Smartass is a complete rewrite of the code plus more. I think its a success. Performance is on par with the “old” minmax and I think smartass is a bit more responsive. Battery life is hard to quantify precisely but it does spend much more time at the lower frequencies.
Smartass will also cap the max frequency when sleeping to 352Mhz (or if your min frequency is higher than 352 – why?! – it will cap it to your min frequency). Lets take for example the 528/176 kernel, it will sleep at 352/176. No need for sleep profiles any more!"
Scary - A new governor I wrote based on conservative with some smartass features, it scales accordingly to conservatives laws. So it will start from the bottom, take a load sample, if it's above the upthreshold, ramp up only one speed at a time, and ramp down one at a time. It will automatically cap the off screen speeds to 245Mhz, and if your min freq is higher than 245mhz, it will reset the min to 120mhz while screen is off and restore it upon screen awakening, and still scale accordingly to conservatives laws. So it spends most of its time at lower frequencies. The goal of this is to get the best battery life with decent performance. It will give the same performance as conservative right now, it will get tweaked over time.
Governor strategies
Conservative - Upthreshold 85, downthreshold 60
Smartass - Sleep max 245760Hz, Ramp up at 384000Hz at a time, up threshold 90, downthreshold 60
Scary - Upthreshold 80, down threshold 45, sleep max 245760Hz, sleep min, 122880Hz
Recommended apps =)
Zdbox - Great toolbox app, just don't let it run in your notifications bar, it's a cpu eater
Setcpu/Nofrills - Apps that help manage your cpu/profiles/ect.(I don't use them but they're pretty okay)
Perfect system or Elixer widgets - Widgets that monitor battery, current, cpu%, cpu speed, and more(Great for battery guru's)
Adw ex - Smoothest/fasted/lightest ratio in a launcher I've seen so far, and least cpu intensive(for me that's a big thing so the cpu scales less)
Colorize widgets - Great widgets to replace the lpp ones for those converting to other launchers.
AppMonster(pro or free) - Great backup utility, automatically backs up all apps.(I like it better than TB)
GPS Status - Great application for finding satalites near you and helping get a quick lock.
Any go dev team app - Great dev team, all their apps are worth looking at.
Frequently asked questions
Question: My phone is boot looping/not booting on the released suv, what do I do?
Answer: Your phone cannot handle the super undervolted values, you will need to flash the stable undervolted kernel
Question: My phone is running slow on the batterysave or scary governors, what do I do?
Answer: Set your minimum speed higher, those governors spend a lot of time at the lowest values
Question: How do I flash this?
Answer: You probably shouldn't be flashing one of my kernels if you don't know how(Mine are unstable =P)
Question: I'm not getting the amazing battery life/benchmark scores that others are getting
Answer: Well, every device is different, so you may not be able to score as high as some others, but you should get close at least, and the battery completely depends on usage patterns
Question: My phone can't clock to 1.8ghz, or some of the other higher values but does fine on the lower ones
Answer: Every device is different and not all can handle the same speeds/voltages, you are probably better off staying away from the higher speeds, I enabled the speeds but hope that you all are mature enough to handle them
Locating cpu% eating applications.
When in ADB shell type the following
top |grep app
Then look for items with high amounts of cpu% while the phone is idle.
Changelog
v1.8 - Initial kernel release for sense
Safe voltage kernels
v1.8
Scarykernel 1.8 stable - http://dl.dropbox.com/u/15373824/Sense/ScarySense1.8Stable.zip
Notes:
No I can't take the overclock any higher, I think everyone who's had a chance to take a crack at this source has tried, and going any higher seizes up after a few seconds.
Here is the source code for this build. I'll try to maintain it, I have a lot of kernel sources, but this will always be the latest release code, unless I state otherwise.
https://github.com/Scaryghoul
Credits: bcnice20 - For 99.8% of his kernel source.
Dogejcr/Preludedrew - For helping me get my laptop setup for kernel compiling.
Testers - For flashing this even though it says unstable :-X
JoesephMother - For helping me unlock the new lower clock values && other kernel related matters =)
x99percent - I used his middle clock speeds between the 3xx->7xx values as a base(edited voltages) as well as used his smartass source.
I see nobody else has chimed in on this kernel yet.. I will install Mikshift tomorrow and report my findings.
Bummer, my phone is a wuss! I can't boot either one of these. Just sits on white screen. They look cool as hell though.
Sent from my PG06100 using Tapatalk
Yeah both versions don't work on mine.
If you haven't been able to get past the HTC screen at boot and keep bootlooping, YOU MUST INSTALL BC'S 1.5 GHZ KERNEL FIRST AND THEN FLASH THESE KERNELS OVER THAT I also just flashed it straight off of a new Mikshift install and I got the bootloop until I did this. So if you guys didn't do this, then install bc's kernel and flash Scary kernel again.
Scaryghoul, I have installed your 1.8 suv successfully on Mikshift. This is great news. I knew it would work, but for some reason I just cant get it running on aosp. I will keep you updated on IRC or through this thread, I haven't seen you on today yet.
Tried going strait from BC's still no go.
Sent from my PG06100 using Tapatalk
ozzie1p said:
Bummer, my phone is a wuss! I can't boot either one of these. Just sits on white screen. They look cool as hell though.
Sent from my PG06100 using Tapatalk
Click to expand...
Click to collapse
Did you flash over bcnice20's kernel?
PaulB007 said:
If you haven't been able to get past the HTC screen at boot and keep bootlooping, YOU MUST INSTALL BC'S 1.5 GHZ KERNEL FIRST AND THEN FLASH THESE KERNELS OVER THAT I also just flashed it straight off of a new Mikshift install and I got the bootloop until I did this. So if you guys didn't do this, then install bc's kernel and flash Scary kernel again.
Scaryghoul, I have installed your 1.8 suv successfully on Mikshift. This is great news. I knew it would work, but for some reason I just cant get it running on aosp. I will keep you updated on IRC or through this thread, I haven't seen you on today yet.
Click to expand...
Click to collapse
Thanks for clarifying that, I took down the links until we can get this working on several devices.
ozzie1p said:
Tried going strait from BC's still no go.
Sent from my PG06100 using Tapatalk
Click to expand...
Click to collapse
Did you try both of them over bcnice20's 1.5ghz? Not everyone can handle the suv one.
edit: Links back up! I need some testers to try the fix at the top.
Ya, I flashed right over the top of bc's. Ill try these new ones.
Sent from my PG06100 using Tapatalk
Scaryghoul are the reposted links any different than the old kernels you had up the first time? If not, the suv build would boot and run, but after using the phone after awhile for cpu intensive tasks it would lock up and require a battery pull. Im wondering if just a tiny bit more voltage would solve this problem.
On the stable build, it would run a minute or so and always lock up and require a battery pull..
PaulB007 said:
Scaryghoul are the reposted links any different than the old kernels you had up the first time? If not, the suv build would boot and run, but after using the phone after awhile for cpu intensive tasks it would lock up and require a battery pull. Im wondering if just a tiny bit more voltage would solve this problem.
On the stable build, it would run a minute or so and always lock up and require a battery pull..
Click to expand...
Click to collapse
Same links....and I see. If the stable build has the same issue as the suv, then it's not the voltage >.<
Oops. Thought they were new. At least I got the flash bug scratched. Flashed over both bc 1.5 and 1.8, no go.
Sent from my PG06100 using Tapatalk
Scaryghoul said:
Same links....and I see. If the stable build has the same issue as the suv, then it's not the voltage >.<
Click to expand...
Click to collapse
Whats the suspected culprit?
ozzie1p said:
Oops. Thought they were new. At least I got the flash bug scratched. Flashed over both bc 1.5 and 1.8, no go.
Sent from my PG06100 using Tapatalk
Click to expand...
Click to collapse
PaulB007 said:
Whats the suspected culprit?
Click to expand...
Click to collapse
I don't know so much for the freezes, but I believe that the booting has to do with me using my old voltages, and sense handling things differently than aosp >.<
I'll redo the voltage table later.
Just Wondering?
When Source Code is released will you make a suv kernel for the Gingerbread Update i loved it on froyo and mikshift and gave great battery life.
notsointeresting said:
Just Wondering?
When Source Code is released will you make a suv kernel for the Gingerbread Update i loved it on froyo and mikshift and gave great battery life.
Click to expand...
Click to collapse
The source code isn't actually the issue right now. Lack of motivation mainly, I would consider it more if I hadn't deleted my toolchain from my dev station, can't be bothered to get another one setup right now.
When I get motivated again I will, I honestly don't use my phone much anymore(maybe pick it up once or twice a day).
Scaryghoul said:
The source code isn't actually the issue right now. Lack of motivation mainly, I would consider it more if I hadn't deleted my toolchain from my dev station, can't be bothered to get another one setup right now.
When I get motivated again I will, I honestly don't use my phone much anymore(maybe pick it up once or twice a day).
Click to expand...
Click to collapse
Ah ok that sucks was really hoping for it but I understand thanks for the fast reply
Scaryghoul said:
The source code isn't actually the issue right now. Lack of motivation mainly, I would consider it more if I hadn't deleted my toolchain from my dev station, can't be bothered to get another one setup right now.
When I get motivated again I will, I honestly don't use my phone much anymore(maybe pick it up once or twice a day).
Click to expand...
Click to collapse
The ndk from google's web site has the toolchains needed to build gb kernel in it. The dl isn't terribly huge.
Sent from my PG06100 using XDA Premium App

[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?

[KERNEL][FROYO][OC][08-08-11]PeanutButta Jelly Time - OTB Edition

For the people that want overclocking, here is your chance. I took my standard voodoo kernel, and put in the stuff needed to overclock it. Thanks to nemesis2all and his OTB kernel from the Fascinate for the code needed to get this to work. Also, use extreme caution when using the higher clock speeds. The stock "max" voltage for the CPU is 1300mv, and 1500MHz and 1600MHz are both at 1500mv, so it's heavily over-volted at the top end. By default, the system will boot to 1000MHz and you need to set the speeds you want in Voltage Control App. I don't personally use this because I think overclocking is useless, so any bug reports need as much information as possible, or they will be dismissed and not looked into at all. If you run into an issue with the system locking up, odds are that you have undervolted to much for a given clock speed. Other than that, you're on your own. Same FAQ applies as the regular PBJ kernel, so look there until I get a chance to post it here as well.
Installation Instructions:
1. Download zip
2. Transfer to SDCard
3. Reboot into recovery, you'll need to have CWM if you don't already
4. Install zip from SDCard and select the zip you downloaded.
5. Reboot and enjoy
0808
Make logcat an option that can be turned on/off
-From root shell, run "logcat-enable" to turn logcat on, "logcat-disable" to turn it off
Make /preinstall partition swap space
Fix problem with rooting phone on boot
Fix fix_permissions in recovery
Update to recovery
0731
Fix mount USB Storage in recovery
0730
Updated CWM binary
Custom boot animation support
0709
Voodoo Sound V10
0615
Overclocking - Use Voltage Control App to adjust clocks and voltages
0602
Voodoo Sound fixed - Thanks supercurio
Removed OnDemand
Added FIFO and BFQ IO Schedulers
Added tun.ko and cifs.ko
0531
Initial release, built from source
Undervolted
Voodoo lagfix available - Thanks supercurio
Updated compiler flags
Linaro Toolchain for cross-compiling
Battery hack to allow for non-OEM Batteries - courtesy of SirGatez
init.d support
SDCard speed tweak (via init.d script)
Upstream EXT4 Patches
VFAT Patch
TCP and CFS Tweaks to help data/performance
V(R) IO Scheduler
Auto-root on boot
Maybe missing some other stuff, check Github for full changes
TODO (somewhat in order of importance):
Smooth out boot animation
NOTES:
If you are experiencing problems, I need detailed info to be able to fix it or help you out. Failure to provide detailed info will mean I'm just going to ignore your problem as user error. Details would be something such as which kernel you are flashing (filename) and steps to reproduce the issue. Also, if you used any other kernels that had the same problem or didn't have the problem.
DISCLAIMER
By downloading and using the kernels, this signifies that you have read this full post and the FAQ before reporting an issue. You also take all responsibility if your phone breaks or your warranty becomes void (which, if you're flashing this, it already is). I offer no guarantees as to anything working, though I try not to release broken stuff, it happens sometimes.
FAQ Placeholder
2k+ on quadrant @ 1.4ghz... Niiiiice
Thanks imnuts
Undervolted and running ok so far.
Sent from my SCH-I510 using XDA App
Could you cuties advise on what sort of settings you're using for this?
I'm using the 'vr' setting with an Interactive governor at 1.1GHz and my phone is slowing to a crawl so it's hardly usable. I'm not looking for any crazy overclocking just something to keep my phone snappy whilst I keep in touch with my prostitutes and be sure they are working the proper street corners.
The weird thing is I'm not sure if Voodoo Lagfix is enabled. Voodoo control says yes, CWM says no and won't let me enable it that way, is there a way to be sure?
Spanks!
ZeppelinJ0 said:
The weird thing is I'm not sure if Voodoo Lagfix is enabled. Voodoo control says yes, CWM says no and won't let me enable it that way, is there a way to be sure?
Spanks!
Click to expand...
Click to collapse
Go into a Terminal Emulator on the device and type Mount. 3rd or 4th row on the list should show ext4. If it does then lagfix is enabled. If you do not see Ext4 and it says rfs still then it is not enabled.
will2live said:
Go into a Terminal Emulator on the device and type Mount. 3rd or 4th row on the list should show ext4. If it does then lagfix is enabled. If you do not see Ext4 and it says rfs still then it is not enabled.
Click to expand...
Click to collapse
Well it's definitely enabled. I just must have set the CPU settings poorly because this thing is crawling right now, I can't even scroll through the app drawer!
I've been trying to CWM back to the other PBJ kernels however my phone hangs on reboot, I'm guessing because those need to be flashed with Odin.
asenduk said:
2k+ on quadrant @ 1.4ghz... Niiiiice
Thanks imnuts
Click to expand...
Click to collapse
I wish I knew what I was doing wrong.. running at 1.4 and my quadrant scores are exactly the same.... not that it really matters but still...
imnuts said:
. I don't personally use this because I think overclocking is useless.
Click to expand...
Click to collapse
Just curious as to why you think it's useless. I am sure you know some thing that I don't so your opinion matters to me. I love the fact that I can overclock, but if it's not needed then I might not bother. I know it did make a difference for my DX.
das7771 said:
Just curious as to why you think it's useless. I am sure you know some thing that I don't so your opinion matters to me. I love the fact that I can overclock, but if it's not needed then I might not bother. I know it did make a difference for my DX.
Click to expand...
Click to collapse
Use a program like CPUSpy that shows you the clock speed stats of your phone. >75% of the time, it will likely be in 400MHz or less, this probably approaches >90% if you say 800MHz or less, especially if you are not a heavy user. At that point, why overclock your phone? To get the overclocking stable, you need increase voltages across the board, and despite undervolting, you'll never get the same power usage as you can with a non-overclocked kernel as some of the voltage changes you can't revert. My opinion is that while overclocking can smooth some stuff out, for most day-to-day usage, it has no practical benefits and only causes more battery drain than you would otherwise have. Given how precious battery life is these days, why knowing make your battery drain faster?
it's funny you say that becuase i noticed with ludeboy's kernel that when overclocking system panel very rarely showed my phone running over the stock speed. Usually it was as you stated some where around 800mhz..I understand what your saying...Thanks for the quick response.
So what if we run stock clock...but undervolt? Do you think we will see any batt savings?
Backup SD and app data b/c crashing/freezing can corrupt files.
Edit: Also keep Voltage Scheduler Remover on your phone just in case.
1600
1500
1400
1300 -0
1000 -25
800 -50
400 -75
200 -100
100 -150
"interactive" was unstable a couple kernels ago so I haven't tried it.
suzook said:
So what if we run stock clock...but undervolt? Do you think we will see any batt savings?
Click to expand...
Click to collapse
Potentially, yes, but you may lose stability.
Awesomeness
I love it. I can deal with a slightly shortened battery life. I wanted to OC because a lot of the more intense games don't run as smooth as I would like. With OC, its all butter. Thanks!! I have mine set at 1400, and it really didn't improve my quadrant scores, but there's a noticeable decrease in lag going from one app to another.
suzook said:
So what if we run stock clock...but undervolt? Do you think we will see any batt savings?
Click to expand...
Click to collapse
You would see better battery life at stock clock speeds if you just used the standard (ie. not overclocked) kernel I built.
Just wondering if you're going to branch off development of PBJT w/o overclocking separately - or if this is going to be built/rolled into future releases?
I'm on board with not thinking it's necessary - though I can see how the tinkerers and speed demons would love it. (And all the more power to them, literally)
I don't know imnuts, I always noticed when I forced the phone into a higher overclock it always seemed quite a bit snapier.
Keep it on conservative. Interactive is buggy.
ZeppelinJ0 said:
Could you cuties advise on what sort of settings you're using for this?
I'm using the 'vr' setting with an Interactive governor at 1.1GHz and my phone is slowing to a crawl so it's hardly usable. I'm not looking for any crazy overclocking just something to keep my phone snappy whilst I keep in touch with my prostitutes and be sure they are working the proper street corners.
The weird thing is I'm not sure if Voodoo Lagfix is enabled. Voodoo control says yes, CWM says no and won't let me enable it that way, is there a way to be sure?
Spanks!
Click to expand...
Click to collapse
underscored said:
Just wondering if you're going to branch off development of PBJT w/o overclocking separately - or if this is going to be built/rolled into future releases?
Click to expand...
Click to collapse
This will remain separate from the standard kernel most likely. I will see if I can build off of this source without overclocking and have it work, though I don't know if it will. I want to keep them separate for stability and battery life reasons.

Undervolting

Does anyone know the ideal settings for undervolting the sensation without causing any problems?
StuartTheFish said:
Does anyone know the ideal settings for undervolting the sensation without causing any problems?
Click to expand...
Click to collapse
Not really. As faux say not all chips are created equal. I've seen up to an amazing -150 but my phone can only handle -50 stable and -75 sometimes with a reboot or two.
Sent from my HTC Sensation 4g using xda premium
Mine handles -100 just fine, but yeah,others can only go -50. Just use system tuner and hit the -12.5 till your phone freezes, then when it restarts go one less and see if it's stable. That's what I did.
Sent from my HTC Sensation 4G using XDA App
I'd also suggest keeping the Max Clock at a consistent value while you play. E.g. UV -100mV might work well at one Mhz then fail at a higher value.
Mine seemed to work consistently at about -100mV, then again I tend to UC unless I'm running CF-Bench or something
Should I only need to concentrate on the lowest and highest clock speeds it's been set to use? Or will I have to undervolt all other frequencies between the two? Not sure if it increments on usage, or simply toggles between the min and max.
If it does increment, how can I test it's stability on the other frequencies if I can't tell what frequency it was using at the time?
Just tapped the -12.5 button a few times, and it reduced all of the sliders. It's -100 now with no apparent issues as of yet.
May I ask the reason for undervolting?
masonic1032 said:
May I ask the reason for undervolting?
Click to expand...
Click to collapse
Mainly to save battery. Altho I have found that it is quite negligible. It may also help with phone heat
masondoctorjt said:
Mine handles -100 just fine, but yeah,others can only go -50. Just use system tuner and hit the -12.5 till your phone freezes, then when it restarts go one less and see if it's stable. That's what I did.
Sent from my HTC Sensation 4G using XDA App
Click to expand...
Click to collapse
I run faux latest version 2.7 beta and I see his scripts to undervolt and the lowest I see it too go is -75 how are you able to go lower to -100.... ???
I think it varies from phone to phone, mine too seems happy enough -100.
StuartTheFish said:
I think it varies from phone to phone, mine too seems happy enough -100.
Click to expand...
Click to collapse
Soooooo how do I undervolt below -75 that's where I am. Now
rawdawgroy said:
Soooooo how do I undervolt below -75 that's where I am. Now
Click to expand...
Click to collapse
If the phone hangs/boots below that level then with the Phone/Kernel/... that's the limit.
I created a GScript script (well a sh script) to U/V after a reboot. I didn't want it to do it automatically as you'd end up in a boot loop. Just hassle to fix. The reason for the GScript was to remove it from the various CPU controllers I'd tried, I ended up just using the CM7 one to control the CPU.
Faux has the command to do it globally (across all frequencies) or individual frequencies. TBH I never bothered with individual ones.
The bottom line is, do what you and your phone are happy with.
EDIT: meant to add you can check the actual value manually. I know the Faux one (same post as the scripts above) but if you are using a different kernel it might be in a different place.

Categories

Resources