I'm running the rooted 2.2 (odexed) - EVO 4G Q&A, Help & Troubleshooting

and everything is good except Set CPU is not having any effect on the cpu. My cpu is not resting...bouncing all over the place. Any suggestions?
PS, I've used OS monitor and SysPanel to try and figure it out. I've killed everything possible but the Set CPU meter if flipping out.

You need a kernel that allows it. And the stock 2.2 does not.

Disabling Perflock
Maybe your answer is at the setCPU documentation site on chapter 10: Disabling Perflock:
“On most stock HTC kernels and some custom kernels, HTC has enabled a driver called "perflock" that constantly resets SetCPU's Max and Min settings”
Sorry I’m new here and still can’t publish URLs, but look for "HTC Dream: G1 > G1 Apps and Games > SetCPU for Root Users [2.0.1] This *actually* changes everything. 07/05/2010"

has anyone tested perflock disabling with the 2.2 rom? i thought about doing it, but dont have the time to test today.

Disabling perflock with setcpu does not work on the stock 2.2 kernel, I read somewhere that the kernel doesnt even use perflock ... don't quote me on that though.

ifly4vamerica said:
Disabling perflock with setcpu does not work on the stock 2.2 kernel, I read somewhere that the kernel doesnt even use perflock ... don't quote me on that though.
Click to expand...
Click to collapse
I've seen others mention that this kernel doesn't have perflock either but until I see some proof I say they don't know what they're talking about. SetCPU is having no effect so good chance perflock is in place and working the same the same as ever.
Furthermore I don't see why HTC would remove it, it prevents non-root users from possibly burning out their CPU from overclocking.

Using Netarchy's latest 2.2 kernel
All is well now!

masbirdies said:
All is well now!
Click to expand...
Click to collapse
Don't you lose camera quality and other things with that kernal?

Related

Perflock Disabled

Which kernels have the perflock disabled? Right now I am using SetCPU to disable it, but I must re-do it everytime I restart the phone. Does Toasts new kernel have it disabled already?
I believe all of the latest FPS fix kernels support OCing (cameras work also!) I'm using the netarchy-toastmod kernel and all you have to do is set your frequencies in SetCpu......or profiles if you want to use them. Just dont leave it OC'd in performance scaling. I've read that can really cut the lifespan of your phone.
dglowe343 said:
I believe all of the latest FPS fix kernels support OCing (cameras work also!) I'm using the netarchy-toastmod kernel and all you have to do is set your frequencies in SetCpu......or profiles if you want to use them. Just dont leave it OC'd in performance scaling. I've read that can really cut the lifespan of your phone.
Click to expand...
Click to collapse
Not sure if i'm talking about the same thing. Im talking about the perflock setting in setcpu, i read that you have to dissable perflock after every reset. Do I still need to do that with the new toast kernel?

[Q] Manually set clock speed?

I've used SetCPU in the past and have determined that my max stable clock speed is 113600; I've also read that using SetCPU to control clock speed can create some problems.
How would one go about manually overclocking the phone without using SetCPU? I was looking around in /sys/devices/system/cpu/cpu0/cpufreq and it looks like there are kernel settings there, just want to make sure I don't bork anything in the process
Thanks in advance!
From my understanding is that if you get an overclock kernel it will basically run in the same fashion as your current kernel (as far as governing speed goes) except you'll have a higher max frequency.
Rrrracer said:
I've used SetCPU in the past and have determined that my max stable clock speed is 113600; I've also read that using SetCPU to control clock speed can create some problems.
How would one go about manually overclocking the phone without using SetCPU? I was looking around in /sys/devices/system/cpu/cpu0/cpufreq and it looks like there are kernel settings there, just want to make sure I don't bork anything in the process
Thanks in advance!
Click to expand...
Click to collapse
SetCPU is the GUI to do what you are talking about... Are you looking to go past 1.113? I can only get to 1.113, but if I run Hyrda's OCOV kernel I can get to 1.15.
I would say if you don't know what you are doing, I wouldn't mess with it. Nandroid is handy if you do.
I'm running invisiblek's #16 kernel but max clock speed is showing 998. Not trying to go over 1.13 but thought I read somewhere about being able to manually change it in the system files somewhere without using SetCPU.
IIRC the idea was to use SetCPU to determine your max stable clock speed, then change it manually in a system file somewhere and then not use SetCPU.
Sent from my ADR6300 using XDA App
Try uninstalling/reinstalling setCPU. I've had issues every once in a while when flashing a new ROM, then doing the app only restore from a TI backup cause issues.
Personally I can't say I've ever had any problems using SetCPU, but if there's a way to make it default to 1.13 without having another process running then I am all for it, thus my question. Just don't know where to change it
I can tell you i am 99.9% sure that you were right with the file location in your first post.
If you check chads thread SOMEWHERE in there i think its mentioned... Sorry to say but i have no idea where.
Here's a script that Ziggy wrote, you can edit it to your needs and flash it and fix permissions. Without editing it's set at 1.113GHz Interactive screen on and .384GHz Ondemand screen off if I remember correctly. It also has another tweak (memory management I believe?). But hey, it's a start.
Much appreciated guys, I will check out Chad's thread again and look at that script. I just don't see the need for SetCPU if I can just plug in my known stable values and roll it like that Thanks again!
Fixed lol sorry
Sent from my Droid Incredible running Myn's Warm Two Point Two RLS4.
LOL Blah! :-D
I have tried editing those files and it does not seem to change the clock speed. Anyone who has successfully done it manually could you please list all the specific files. Also im going to examine the script that was linked and see if i can tweak it a bit. Ill post any findings here.
I use the custom kernel #18 and setcpu, clocked to 1.115 easily with cm6.1. works awesome and smokin fast.
trunksta said:
I have tried editing those files and it does not seem to change the clock speed. Anyone who has successfully done it manually could you please list all the specific files. Also im going to examine the script that was linked and see if i can tweak it a bit. Ill post any findings here.
Click to expand...
Click to collapse
I edited Ziggy's script using EditPad lite (free, just Google it) since I'm on Windows so as not to change the format. Flashed from recovery then fixed permission in Root Explorer. Worked like a charm.

[Q] SetCPU

My SetCPU has only about 3-4 different frequency options between 806Mhz and 245 MHz. Is there any way to increase the number of options between these two frequencies?
andersonjacob54 said:
My SetCPU has only about 3-4 different frequency options between 806Mhz and 245 MHz. Is there any way to increase the number of options between these two frequencies?
Click to expand...
Click to collapse
U have to root your phone and flash some ROMs depending on which type of rom do you like, it comes with kernels for overclocking or you can flash one if you want to. Rooted stock rom doesn't have any compatible kernels it breaks some stuff so you really need to use a different rom..
Fly like a G2
jojo_16 said:
U have to root your phone and flash some ROMs depending on which type of rom do you like, it comes with kernels for overclocking or you can flash one if you want to. Rooted stock rom doesn't have any compatible kernels it breaks some stuff so you really need to use a different rom..
Click to expand...
Click to collapse
Well if he's using SetCPU then he's already rooted, so he's got that covered.
OP as jojo stated, you need a custom kernel to allow overclocking. A lot of people seem to be fond of Pershoot's OC kernels, but I personally just use the one thats included with CM6 and now CM7. It allows an overclock up to 1.5ghz.
martonikaj said:
Well if he's using SetCPU then he's already rooted, so he's got that covered.
OP as jojo stated, you need a custom kernel to allow overclocking. A lot of people seem to be fond of Pershoot's OC kernels, but I personally just use the one thats included with CM6 and now CM7. It allows an overclock up to 1.5ghz.
Click to expand...
Click to collapse
I think he's wanting to know how to add more underclock frequencies. It can be done but you have to decompile the kernel in order to do it and also have decent knowledge of voltage tables (since the purpose of underclocking is to save battery power you have to uv also). Probably well beyond most peoples comfort level however, if the op still wants to attempt it are numerous threads with info - just search for something like 'creating a custom kernel' or 'make a kernal'. One of them is located in the G2 development forum.
Oh ok thanks guys. Yeah, I have Pershoot's kernel so that is not a problem. I was trying to include more underclock frequencies, but if that means editing or creating my own kernel then forget it lol, I'm no expert on that.
andersonjacob54 said:
Oh ok thanks guys. Yeah, I have Pershoot's kernel so that is not a problem. I was trying to include more underclock frequencies, but if that means editing or creating my own kernel then forget it lol, I'm no expert on that.
Click to expand...
Click to collapse
There's a turbo ROM that can deep fry your G2 to 1.8ghz, and it has a lot more frequencies below 806.
Fly like a G2

overclocking epic 4g

What is the safest speed you can overclock the samsung epic 4g? I am using the Tegrak overclock right now, and I found out the ultimate can run up to 2ghz.
That doesn't work. You have to be using a custom kernel to overclock the Epic and it is only safe up to 1.4ghz.
063_XOBX said:
That doesn't work. You have to be using a custom kernel to overclock the Epic and it is only safe up to 1.4ghz.
Click to expand...
Click to collapse
FYI, complete newb to this stuff, so please bear with me. Are you saying that it takes a custom kernal for the Tegrak Ulitimate, or the the version I have right now? With the Tegrak Overclock, I put it at 1.3 and it seems noticably faster.
Tegrak ultimate shouldn't work at all, and you're lucky it didn't royally screw up your phone without a kernel with support for overclocking. Look in development and select a custom kernel to fit your tastes then download either SetCPU or OverClock widget and use one of them to raise the clock speed on your phone. I recommend either of those because they are tried and tested methods.
063_XOBX said:
Tegrak ultimate shouldn't work at all, and you're lucky it didn't royally screw up your phone without a kernel with support for overclocking. Look in development and select a custom kernel to fit your tastes then download either SetCPU or OverClock widget and use one of them to raise the clock speed on your phone. I recommend either of those because they are tried and tested methods.
Click to expand...
Click to collapse
Weird, on the android market it says that it (the standard Tegrak) works with stock kernels, custom kernels, and custom roms. I checked before installing it and I just double checked it now
For the record, it has been a while since I played with my phone, but it's kernel right now is 2.6.32.9
063_XOBX said:
Tegrak ultimate shouldn't work at all, and you're lucky it didn't royally screw up your phone without a kernel with support for overclocking. Look in development and select a custom kernel to fit your tastes then download either SetCPU or OverClock widget and use one of them to raise the clock speed on your phone. I recommend either of those because they are tried and tested methods.
Click to expand...
Click to collapse
Another thought; I've had setcpu for a while, but didn't find much use for it as the phone is already operating at 1GHZ, which is the max SetCPU will allow the phone to work.
Because there isn't a kernel that support OverClocking installed.Once you have an overclock-compatible kernel installed SetCPU can raise the CPU speed.
063_XOBX said:
Because there isn't a kernel that support OverClocking installed.Once you have an overclock-compatible kernel installed SetCPU can raise the CPU speed.
Click to expand...
Click to collapse
I see. Thanks for the info
Also, while tegrak may work I strongly recommend a custom kernel for added stability, along with overclock capabilities up to 1.4ghz (depending on if your phone can handle it) undervolting and other useful features.
Each phone is different. Some phones can handle 1.4ghz, others can't even handle 1.2ghz. You just have to test it out and see what your phone can handle.
063_XOBX said:
Also, while tegrak may work I strongly recommend a custom kernel for added stability, along with overclock capabilities up to 1.4ghz (depending on if your phone can handle it) undervolting and other useful features.
Click to expand...
Click to collapse
Any recommendations for a custom kernel?
qbking77 said:
Each phone is different. Some phones can handle 1.4ghz, others can't even handle 1.2ghz. You just have to test it out and see what your phone can handle.
Click to expand...
Click to collapse
It seemed to hand 1.3 just fine, but I still backed it down to 1.0 until I get the custom kernel for it.
Grimace78 said:
Any recommendations for a custom kernel?
Click to expand...
Click to collapse
I personally use Twilite Zone.
063_XOBX said:
I personally use Twilite Zone.
Click to expand...
Click to collapse
Got a link? I looked but couldn't find it.
Grimace78 said:
Got a link? I looked but couldn't find it.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=976197&highlight=twilight+zone
qbking77 said:
http://forum.xda-developers.com/showthread.php?t=976197&highlight=twilight+zone
Click to expand...
Click to collapse
Thank you
After reading the link to Twilite, I am interested in running the SyndicateROM Frozen. Any chance someone could walk me through the steps? I'm not being lazy and am doing research, just want to make sure I don't screw up my phone. I am at work right now, so I haven't even attempted to get Twilite yet. Perhaps getting the new rom would accomplish two things at once??
Edit: After some reading I think I will be ok, but if anyone wants to chime in then feel free.
Grimace78 said:
After reading the link to Twilite, I am interested in running the SyndicateROM Frozen. Any chance someone could walk me through the steps? I'm not being lazy and am doing research, just want to make sure I don't screw up my phone. I am at work right now, so I haven't even attempted to get Twilite yet. Perhaps getting the new rom would accomplish two things at once??
Edit: After some reading I think I will be ok, but if anyone wants to chime in then feel free.
Click to expand...
Click to collapse
Here you go man! http://www.youtube.com/watch?v=Wy2Et6qVGdo
I made this video and it should help you out. The twilight kernel comes with the syndicate rom so you don't need to flash it since it already comes with the rom.
Is there any truth to a post I read stating some kernels support Wifi Tether and others don't?
Sent from my SPH-D700 using XDA Premium App

Cpu

Im good on everything else except when it comes the CPU thing. I have no idea what the numbers mean when you set the CPU for some reason. To slow the phones resources when the screen is off right? Can anyone point me to the direction of an app that can do this? What about an app that turns the data off once I turn the screens off. A free one. Thank you and sorry if Im not making sense or sounding dumb
Sent from my PC36100, running MIUI 1.5.13 - Tiamat-v4.0.2 using XDA Premium App.
augoza said:
Im good on everything else except when it comes the CPU thing. I have no idea what the numbers mean when you set the CPU for some reason. To slow the phones resources when the screen is off right? Can anyone point me to the direction of an app that can do this? What about an app that turns the data off once I turn the screens off. A free one. Thank you and sorry if Im not making sense or sounding dumb
Sent from my PC36100, running MIUI 1.5.13 - Tiamat-v4.0.2 using XDA Premium App.
Click to expand...
Click to collapse
SetCPU can modify the processor speed and allow you to set a profiles. However, you're running Tiamat so if you haven't changed anything your default governor is smartass which has a built in screen off profile of 128min/384max.
As far as turning data off, check out ultimatejuice. There is a free version that is limited in what it does, but it might be worth paying for. Also, for battery saving, check out my EVO link in my sig for some undervolting mods.
You can set the cpu governor with a program called setCPU on the marketplace. You can further control the CPU by flashing another kernel. What ROM are you running? Stock? I would try the netarchy kernel (newest version) if you're running a sense-based ROM.. I've found it has phenomenal battery life (medium use i get 15-20hrs) and I'm overclocked to 1.152ghz.
A program called tasker can also make your data connection go off and back on with the screen. I'm unsure how to set the profile but I do know thats possible. Try looking around here: http://tasker.wikidot.com You should be able to find something about it.
EDIT: Nevermind about netarchy, did not see your signature on your ROM and kernel.
ok, so ur on aosp and tiamat. try changing governer to smartass. will give you much better battery life, and you won't have to worry about 'numbers'.
btw the numbers are the cycles per second, or the speed the cpu works at. i personally underclock to 537 (998 is stock) to save a bunch of battery, and it still runs perfectly fine for me (cm7 with tiamat)
dkdude36 said:
ok, so ur on aosp and tiamat. try changing governer to smartass. will give you much better battery life, and you won't have to worry about 'numbers'.
btw the numbers are the cycles per second, or the speed the cpu works at. i personally underclock to 537 (998 is stock) to save a bunch of battery, and it still runs perfectly fine for me (cm7 with tiamat)
Click to expand...
Click to collapse
Governor is smartass by default on Tiamat
-viperboy- said:
Governor is smartass by default on Tiamat
Click to expand...
Click to collapse
didn't know that. thanks.
-viperboy- said:
SetCPU can modify the processor speed and allow you to set a profiles. However, you're running Tiamat so if you haven't changed anything your default governor is smartass which has a built in screen off profile of 128min/384max.
As far as turning data off, check out ultimatejuice. There is a free version that is limited in what it does, but it might be worth paying for. Also, for battery saving, check out my EVO link in my sig for some undervolting mods.
Click to expand...
Click to collapse
Thanks everybody! ....Viperboy thanks for the info unfortunately I still have lots of questions haha. And yes I already been through all the viper undervoltings, 25 through INSANE! A question I have is with those vipervoltings, I assume they'll show different results depending on which kernel and rom i'm running correct? Plus im pretty much sticking with MIUI....I usually use the 25 vipervolting. Now I'm on tiamat v4.0.3. Are you saying sense I'm using tiamat its already set to smartass, so it'll be unnecessary to use the setcpu app? Also I like savZen to what's the default governor on that? Final question, turning the data off when the screen goes off using ultimatejuice unnecessary if I'm running tiamat? Sorry for the bombarding of questions thanks again
MIUI 1.5.13 - Tiamat-v4.0.3 ​
I think you should not use SetCPU...
Just sayin'....
HipKat said:
I think you should not use SetCPU...
Just sayin'....
Click to expand...
Click to collapse
Any reason?
Sent from my PC36100, running MIUI 1.5.13 - Tiamat-v4.0.3 using XDA Premium App.
augoza said:
Thanks everybody! ....Viperboy thanks for the info unfortunately I still have lots of questions haha. And yes I already been through all the viper undervoltings, 25 through INSANE! A question I have is with those vipervoltings, I assume they'll show different results depending on which kernel and rom i'm running correct? Plus im pretty much sticking with MIUI....I usually use the 25 vipervolting. Now I'm on tiamat v4.0.3. Are you saying sense I'm using tiamat its already set to smartass, so it'll be unnecessary to use the setcpu app? Also I like savZen to what's the default governor on that? Final question, turning the data off when the screen goes off using ultimatejuice unnecessary if I'm running tiamat? Sorry for the bombarding of questions thanks again
MIUI 1.5.13 - Tiamat-v4.0.3 ​
Click to expand...
Click to collapse
Yes, most of the scripts lower by a certain range. So it all depends on the kernel you are running. Some of my scripts (Extreme, Insane, v2 scripts) specify all the voltages so no matter what kernel you're running, it sets the voltages to exact values. If you can go lower than -25 and you're stable, do it!
I find SetCPU unnecessary. I only have it installed because I use it for testing my mods and things, but I that's the only reason. But smartass is good enough for me, no other governors give me as good batter life. Defauly governor on SZ is their own governor (SavagedZen) it's based on interactive, I believe. There is more info on their site.
Tiamat (or any kernel for that matter) don't turn off 3G when the screen is off. You would need an app to do that.
augoza said:
Any reason?
Sent from my PC36100, running MIUI 1.5.13 - Tiamat-v4.0.3 using XDA Premium App.
Click to expand...
Click to collapse
Uses a good bit of memory, for one. Two, because the kernels here run pretty good right out of the box.
1, it's useless, and 2, the OP seems like he isn't ready to use it.
HipKat said:
1, it's useless, and 2, the OP seems like he isn't ready to use it.
Click to expand...
Click to collapse
Well, it's definitely not useless. It's a great app, I just find no need for it other than testing my mods.
-viperboy- said:
Well, it's definitely not useless. It's a great app, I just find no need for it other than testing my mods.
Click to expand...
Click to collapse
That, I totally agree with, but for he average user, few know how to set it correctly and they end up with a placebo effect, or more problems.
HipKat said:
That, I totally agree with, but for he average user, few know how to set it correctly and they end up with a placebo effect, or more problems.
Click to expand...
Click to collapse
I couldn't agree more. Setting up a basic screen off profile with a conservative setting is useful, otherwise it actually gets in the way of already built in kernel benefits, actually undoing them in many cases. I stopped using setcpu a while ago and my battery life has not suffered at all.
ropodope
Sent from my Vaelpak 3.2 RC2 Evo 4g. Flash and ye shall receive.
-viperboy- said:
Yes, most of the scripts lower by a certain range. So it all depends on the kernel you are running. Some of my scripts (Extreme, Insane, v2 scripts) specify all the voltages so no matter what kernel you're running, it sets the voltages to exact values. If you can go lower than -25 and you're stable, do it!
I find SetCPU unnecessary. I only have it installed because I use it for testing my mods and things, but I that's the only reason. But smartass is good enough for me, no other governors give me as good batter life. Defauly governor on SZ is their own governor (SavagedZen) it's based on interactive, I believe. There is more info on their site.
Tiamat (or any kernel for that matter) don't turn off 3G when the screen is off. You would need an app to do that.
Uses a good bit of memory, for one. Two, because the kernels here run pretty good right out of the box.
Click to expand...
Click to collapse
Thanks viper!
Sent from my PC36100, running MIUI 1.5.20 - Tiamat-v4.0.3 using XDA Premium App.

Categories

Resources