CM10.1 CPU frequencies not sticking - HTC Sensation

I'm currently using CM10.1 AOSP [KANG] from the thread here -- http://forum.xda-developers.com/showthread.php?t=2115520. In essence, I cannot raise either the minimum or maximum CPU speeds above 384MHz.
I just tried restoring my phone using a RUU recovery.exe file, then re-rooted, S-OFF'd, unlocked the bootloader and then updated the firmware. Right after flashing CM10.1, I am still having issues with changing the CPU speed. The maximum and minimum CPU speeds I can choose are either 192MHz or 384MHz. I can go into settings > performance then change the maximum CPU speed to anything higher than that, but almost instantly after I select it the maximum CPU speed drops back down to 384 MHz. The same goes for trying to raise the minimum CPU speed above 384MHz. It makes the phone nearly unusable, as it takes multiple seconds to open almost any application and also reboots randomly quite often. Is there any way I can fix this?
Thanks!

Anyone have ideas/insight? Sorry to bump this!

Right. Here's what I did last time. I used something called SetCPU. Ticked the Set On Boot then it worked. But I unticked the ones in the Performance option.
This is what I do. Hope I help.

if you want do this also
go to system>etc>init.qcom.post_boot.sh and put this line(you can edit with simple text editor)
echo the value > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
do the same for cpu1 if you want to have the same frequency in both cpu

Related

[APPS] Best SetCPU Settings

anyone got what they think is the best configuration for SetCPU?
stock configuration works great for me
min cpu = 225 (or something like that)
max cpu = 995 (again, or something like that)
????
Stock settings are:
Min: 245
Max: 998
CPU Governer: On demand
Charging 998/998
Sleep/Standby 499/245
Power < 25% 576/245
i concur about the stock clock settings, they work best for me. 998 high/245 low
i am opting for stock... im going to assume that htc/google did their research to give us the best blend of CPU speeds depending on what the phone is doing and what the battery power is...
if stock settings are 998 mhz why overclock it? can you get more from the processor than that?
*black*silva* said:
if stock settings are 998 mhz why overclock it? can you get more from the processor than that?
Click to expand...
Click to collapse
you probably can, but you'd just end up burning it out. what you can do is set the low a bit higher than 245. more battery drain will result.
So what are the out of the box settings on the CPU if you dont use setCPU?
Read this thread you will see them
No one has messed with this app?
I have mine set @ stock, but have also enabled a profile for when the phone is asleep. I set it at 300/245. Not really sure if it makes a difference in battery life.
Mine is set to the A1clock speed which is 768max and 245 min.. no lag when swippin and in act1 video player its still smooth..even a droids 550mhz stock speed. Also got it 245max/min when sleep, remember to exclude setcpu if you u wanna see results..
Goonzy said:
Mine is set to the A1clock speed which is 768max and 245 min.. no lag when swippin and in act1 video player its still smooth..even a droids 550mhz stock speed. Also got it 245max/min when sleep, remember to exclude setcpu if you u wanna see results..
Click to expand...
Click to collapse
What's a1clock?
I noticed that when using SetCPU and setting the minimum CPU speed to 245mhz, it seems like the CPU doesnt clock down to 245, but instead stays at 998. By setting the minimum to 328, it works.
Where can u see that?
Formel-LMS said:
Where can u see that?
Click to expand...
Click to collapse
I agree...where are all you guys/gals seeing/getting information like that off of the phone. What are the apps needed to monitor that information.
Also, exactly what is the stock CPU settings?
gururise said:
I noticed that when using SetCPU and setting the minimum CPU speed to 245mhz, it seems like the CPU doesnt clock down to 245, but instead stays at 998. By setting the minimum to 328, it works.
Click to expand...
Click to collapse
I noticed something similar.
When setting it to 998/245 and hit refresh 5 or 6 times you'll never see something under 998 at the top.
When setting min to something else than 245 but keeping 998 for max and hitting refresh 5 or 6 times you'll see the min value a few times when refreshing.
####################
where is the difference between on demand, user space and performance and what did you take? I took performace for some weeks and just set it to on demand (and 998/245)
so what settings would be proper to set to see a difference?

undervolting questions

Ive seen an undervolting option in systemtunerpro and ive seen people talking about undervolting.
what will it do to my phone?
if so what should I under volt it to?
the app has 2 buttons that add or subtract 12.5(I think I can't check right now) to all the values at one time. how many times should I press it?
I've searched but cant find nothing
rom is Prime 5 with bricked kernel 1.0 badass gov
Sent from my Primed Sensation 4G with Beats Audio
If you do it right your battery lasts longer and your cpu will be cooler.
It means that the cpu needs less power than normal. But every cpu is different, so you can probably not undervolt that much like someone other.
If you want to do it right, try this:
Search the App "Stability Test".
Then go into System Tuner and look, which Cpu-Freq. are needed most. These are the ones on which you should focus on to undervolt.
First you can set all freq. -25mv, then run the "scaling stability test" in the stability test app. If your phone doesn't freeze in the next 15 min, you can set -25mv again. Do this until your phone reboots or abort the test itself. Then set it 2 steps above the values which didn't work to prevent reboots.
Now you should change only the freq which were used most. But only one after one. If your phone uses (for example) 192 mhz, 1,08ghz and 1,5 ghz most, first undervolt the 192mhz (again till your phone reboots or you can't set it lower).
Then the same with 1,08 Ghz and then 1,5Ghz. If your phone reboots, set it 2 steps above the value which didn't work, so you can be sure that your phone doesn't reboot again.
If you found out which values your phone can handle, go into "System Tuner", CPU, Voltage, Boot settings, then "Re-apply CPU Settings". For the first time you should set it to "On boot completed", if you didn't notice any problem you can set it to "init.d script".
If this doesn't work for you, go back to "voltages", then hold "reset all/clear" till it changes to "save defaults". Press it once, so your values are set as defaults. If you rebooted your phone you have only to go into "System Tuner" and press "Reset all/clear" once, then it will set your values again.
I hope my englisch is good enough to understand it

CM11 Nightlies, major lag after phone comes out of sleep

Hello,
I was able to see that a few others have been having this issue (noted in the dev section ) but I wanted to ask if anyone else has noticed that their CPU frequency does not go above 384 mhz after phone comes out of deep sleep?
Using CyanogenMod 11.0 Nightlies with stock kernel. A reboot of the phone makes is speedy again, however if the phone goes to sleep, its super laggy when it it wakes up. ( the only solution I found is to either reboot, or set the minimum frequency and max frequency to be the same 1500 mhz)
Please let me know if I am alone in experiencing this mhz lock to 384 mhz after phone wakes up.
Note: I did a clean flash and I am still having the same issue.
exhalum said:
Hello,
I was able to see that a few others have been having this issue (noted in the dev section ) but I wanted to ask if anyone else has noticed that their CPU frequency does not go above 384 mhz after phone comes out of deep sleep?
Using CyanogenMod 11.0 Nightlies with stock kernel. A reboot of the phone makes is speedy again, however if the phone goes to sleep, its super laggy when it it wakes up. ( the only solution I found is to either reboot, or set the minimum frequency and max frequency to be the same 1500 mhz)
Please let me know if I am alone in experiencing this mhz lock to 384 mhz after phone wakes up.
Note: I did a clean flash and I am still having the same issue.
Click to expand...
Click to collapse
change to ondemand in cpu settings, its not the default as to why idk, issue and fix has been posted many times b4.
if it is set to ondemand then you have some other prob or a setting that needs to be adjusted or app running in the background
vincom said:
change to ondemand in cpu settings, its not the default as to why idk, issue and fix has been posted many times b4.
if it is set to ondemand then you have some other prob or a setting that needs to be adjusted or app running in the background
Click to expand...
Click to collapse
I actually don't have that as an option for the CPU governor.
All I have available is
Interactive
Conservative
userspace
powersave
performance
All of which cause the same lag issue as what I mentioned. Each nightly flash sets it back to "Interactive" as the default, but since you mention ondemand can you confirm if you can actually see ondemand as an available option to select on your phone using Official CyanogenMod 11.0 Nightlies for Skyrocket ([TeamChopsticks)? I don't have ondemand available.
exhalum said:
I actually don't have that as an option for the CPU governor.
All I have available is
Interactive
Conservative
userspace
powersave
performance
All of which cause the same lag issue as what I mentioned. Each nightly flash sets it back to "Interactive" as the default, but since you mention ondemand can you confirm if you can actually see ondemand as an available option to select on your phone using Official CyanogenMod 11.0 Nightlies for Skyrocket ([TeamChopsticks)? I don't have ondemand available.
Click to expand...
Click to collapse
Interactive does usually end up being default, but I believe it was sometime last month where ondemand was removed from that ROM... which was the point where I jumped ship to another ROM.
Cpu Sticks at 384 On Call Or Wake
Hey All Hate to Bump this, but I have been having this same Issue for Months, Has Anyone Come Up With a Solution Other The Changing ROM??
I'm Also Having this "FREEZE" When The Phone screen is off and I get a Call but the Answer screen doesn't come up while the phone rings straight thru to Voice Mail, But if I slide to The right (On The Blank Screen) It answers.... I have messed with the CPU Performance Settings, and No Help....It does it On the Default settings and the Altered Settings??? I Checked the DEV Thread and Really Didn't see much about this....
Any Help Appreciated;
Mike
exhalum said:
I actually don't have that as an option for the CPU governor.
All I have available is
Interactive
Conservative
userspace
powersave
performance
All of which cause the same lag issue as what I mentioned. Each nightly flash sets it back to "Interactive" as the default, but since you mention ondemand can you confirm if you can actually see ondemand as an available option to select on your phone using Official CyanogenMod 11.0 Nightlies for Skyrocket ([TeamChopsticks)? I don't have ondemand available.
Click to expand...
Click to collapse
You can use conservative; remember to tick de option "Apply automatically on boot".
franzpimp87 said:
You can use conservative; remember to tick de option "Apply automatically on boot".
Click to expand...
Click to collapse
Ya I set it after I made that post and was gonna update today These Settings SEEM to be working extremely well... Will update if it changes..
Governor :Conservative
Min :192
Max:1512
I/O: NOOP
And it's Kinda Strange I/O on NOOP Is Actually throttling the CPU pretty well....Gonna run Like this for awhile and a see how Performance/Battery Use Work Out, And Probably Start Playing with the NOOP Setting, But from my tests it actually seems the most fluid, and Actually drops to 192 when no use....
Mike

soc temperature throttle issue

So i set my max cpu freq to be 1728. And then the temperature throttle's 3 phases to be different clock speeds of 1728, 1267 and 1036. So when the temp hits a certain temp it will throttle the cpu down to the latter two. But then when the temp decreases to the values i set, then it should go back to the desired max speed i want which is 1728 however this is not the case. I often see it stuck at 1267 even though the temperature is well below the temp settings i set. It even gets stuck at 1036 at times. Any ideas how to get it to change back appropriately? I only use synapse to configure the settings. I'm also on mahdi rom which has that performance settings which I don't know if that is causing any conflicts the settings that i set in synapse.
onecrzyasian said:
So i set my max cpu freq to be 1728. And then the temperature throttle's 3 phases to be different clock speeds of 1728, 1267 and 1036. So when the temp hits a certain temp it will throttle the cpu down to the latter two. But then when the temp decreases to the values i set, then it should go back to the desired max speed i want which is 1728 however this is not the case. I often see it stuck at 1267 even though the temperature is well below the temp settings i set. It even gets stuck at 1036 at times. Any ideas how to get it to change back appropriately? I only use synapse to configure the settings. I'm also on mahdi rom which has that performance settings which I don't know if that is causing any conflicts the settings that i set in synapse.
Click to expand...
Click to collapse
It is a bug in the thermal driver code of the kernel you are using.
Report to the dev with proper logs, and readjust the clock speeds in Synapse or reboot.

Cpu boost acting unatural

My cluster 1 is boosting to Max and lowest frequency is 1555mhz. Now it used to boost to 1036mhz and I can't find a way to revert this. I've reinstalled OOS to no avail even going back to stock boot.img. I'm rooted with magisk and have tried custom kernels in the past (Smurf). Both my a/b are on same OOS with stock boot.img and magism
This perfectly normal if you ask me. When the display is touched the minimum frequency for only CPU0 becomes 1555 MHz for 700 ms. Actually the software you're reading the frequency from makes other CPUs from the same cluster to appear boosted to the same frequency but actually it is just CPU0, so relax, there's nothing to worry about.
FK kernel manager applies the input boost to the whole cluster not individual cores.
EXKM applies input boost to individual cores with different frequencies of your choice. I agree that 1036 is more power efficient without too much drop in user experience. You can change that in EXKM for finer control.
Reading the CPU real time CPU frequency from these apps doesn't represent anything REAL at all. CPU ramping happens at a scale of few Nanoseconds, my friend. Software can't capture that so it depends on sampling which means everyone has its own method.

Categories

Resources