Can't change CPU maximum/minimum frequency settings. - OnePlus 3T Questions & Answers

I have never had this problem before. RR 6.0, I was using the AKT profiles and they stopped working for me. The CPUs are stuck at min = max frequency on the little core. So then I tried Tasker and it seemed to work, but in Kernel Adiutor and 3C System Tuner they were back, and I couldn't change them. Then tried changing the system profile to performance, and they're not changing.
Finally I dug through the kernel tweaks profile I had tried to apply, and found exactly where the scaling max and min frequencies were set - and the files held the same values. I edited them, and a minute later they're reset again. What's going on?? I flashed ElementalX and had the same problem. Screenshots attached.

Read this.

Related

[Q] Stock ICS roms 4.0.3 and up - unable to set and keep cpu frequency

Hi,
Did someone has experiencied this fact:
Since i am under stock ics roms with cf kernels, when i try to set the cpu frequency, the setting is no longer effective, when the phone goes in sleep mode, when the screen is shutted off, or when the phone restart, the cpu frequency always return to 1.4 or 1.2 ghz, depending of energy mode selected.
I tried to use rom toolbox, voltage control, and system tuner to set max frequency at 1.0 ghz and none is really kept, the setting is effective but is canceled quickly as i said above...
Le [email protected] said:
Hi,
Did someone has experiencied this fact:
Since i am under stock ics roms with cf kernels, when i try to set the cpu frequency, the setting is no longer effective, when the phone goes in sleep mode, when the screen is shutted off, or when the phone restart, the cpu frequency always return to 1.4 or 1.2 ghz, depending of energy mode selected.
I tried to use rom toolbox, voltage control, and system tuner to set max frequency at 1.0 ghz and none is really kept, the setting is effective but is canceled quickly as i said above...
Click to expand...
Click to collapse
Try speemod k3-9, goku, or notecore.

[Q] CPU frequency on Zeus 7.06

Hi guys
I recently flashed zeus v7.06 (coming from official ICS, I did all the 3 wipes but NO factory reset). The only change I made in 'zeus tweaker' was that I set min frequency to 200MHz and max Frequency to 800MHz. I monitor cpu stats via BetterBatteryStats app.
Now the only problem is that when the screen is on and I do regular stuff like writing a text message..., most of the time CPU works at the maximum frequency which is 800MHz causing battery drain very fast. I tried every governer in zeus tweaker but the same thing happens. I did no other change, no voltage tweaks, ram tweaks or I/O schedule.
Is it normal or there's sth wrong? Because I remember from older versions of zeus roms that when I set min freq to 200, then most of the time CPU used to work at min freq but now it works vice versa.
Thank you very much.

[Q&A] [KERNEL][D5803&D5833] AndroPlusKernel

Q&A for [KERNEL][D5803&D5833] AndroPlusKernel
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [KERNEL][D5803&D5833] AndroPlusKernel. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Thanks
Very nice kernel, fast and smooth - great work and port.
Anyone knows if it's possible to use any third party kernel app to boost the headset volume?
Working
Hi this is my first post, infact I joined so I could report my findings.
I would just like to confirm so far that V5 working on my Z3C using the .93 firmware. I didn't need to wipe cache/dalvik/data partitions either.
For purposes of settings configuration, I'll be using TricksterMod
For stress testing purposes I'll be using Stability Test 2.7
Overclocking
Overclocking seems to work, I'll stress test and report back with the results.
I was wrong, it is unstable when overclocking and stress testing, with the phone force rebooting 1-5 seconds in to the stability test which loaded all 4 cores. Tried 2899Mhz and 2880Mhz (were both unstable and didn't try 2.72, 2.75, 2.57 either - I might try stability testing them.) Was completely stable at 2.47GHz, and it actually stuck there, no throttling in place! I stopped the stress test when the CPU temp was around 77-80C as my hand was getting burnt! The battery temp reached about 46C. It took 10 mins of stress testing for this to be reached. When the stock kernel was in place it would begin throttling after about 1-20 seconds under full load. First 2.2GHz, then 2 then 1.7 then 1.5 and eventually 1.25 after about 2-4mins.
I couldn't do a single core test though. I suspect as most games use single core or dual cores it wouldn't get overly hot.
My opinion is that fast clocked phones should be marketed with 2 speeds. The highest it'll reach under a boost mode (turbo for Intel's i5 and i7 series), and a slower speed that it'll average out at under thermal pressure. The Z3Cs would be turbo: 2.5GHz and normal: 1.5GHz.
Governors
These are quick tests I'm performing here to provide a quick look at responsiveness and potential unnecessary CPU jump ups.
Wheatley - most of the time it's hovering at top speed when approx CPU usage is 9%, it'll occasionally hunt down to 300Mhz but then right back up to 2899MHz. This one is speedy though. Governor tunables available.
Lagfree - idles at 300MHz - 960MHz then hunts up to 2.2-2.9Ghz when needed and turns on the second core. It seems to slow back down to idle. This one seems to have fast scrolling, sliding notifications pane quickly). No governor tunables.
SmartassV2 - idles at 300Mhz, speeds up to 422-960 on core 0, and turns on core 1 at 1.2-1.5GHz for a few seconds under fast scrolling and notification pane opening. Seems quite responsive. Probably good for battery life hopefully with the responsiveness of Interactive. No governor tunables.
Lionheart - Idles at 960 MHz for a few seconds then slows down to 300MHz with the odd increase to 729MHz. Core 0 and Core 1 reaches 1.26GHz under scrolling, notification pane opening. As fast as the others. Governor tunables available.
Hotplugging
Intelliplug appears to work better than MP-Decision - now only one core is on during idle, instead of 2.
MP-Decision was disabled to avoid conflicts.
Undervolting
I've only undervolted 300MHz to 675MHz from 775MHz as of writing this post.
Tried quickly undervolting in trickstermod by setting them all about -75mV, stability tested it, appears stable. I'll tweak the voltages a bit better when I do a scaling stability test.
Issues I've experienced
Sound Control is the only thing so far that causes a reboot. However music still plays over the speakers and headphones. Equaliser works too.
Upon rebooting, the CPU top speed will set itself to 2.2GHz, despite being set higher and saved at a higher speed in Trickstermod. Certainly trivial though.
Strange thing I've noticed: On the undervolt part I've noticed that there is a freq called 3033MHz, but no 2899MHz freq. Just an observation.
Misc
Force Fast Charge confirmed working! Before flashing new kernel charge went up 5% in about half an hour. It's now up another 5% in a matter of 5-10mins. This is when plugged to my PC.
Vibrator strength - set to 20 from 31, much quieter on table and can still feel it.
I'd like to say a huge thank you to DooMLoRD and AndroPlus for developing this stable kernel. Now my Z3C is worth the £28 a month I'm paying for again. Since this silly lad decided to bork the camera, Bravia functionality etc by rooting it on the first day. I'll report back and edit the post with my findings.
Max won't go beyond 2.266 GHz, Min won't change.
Hi All,
Firstly, great job with the kernel. Our Z3C is such a capable piece of kit and this just makes it that much better.
I'm running stock, 23.0.A.2.93, unlocked, rooted.
Problem:
I've tried using both SetCPU and No-Frills and while both show frequencies that are supposedly selectable above 2.266 GHz, neither app would actually respond. Meaning the max frequency will still only be 2.266 GHz even if I tried selecting something like 2.458 GHz (which should be selectable given that stock is 2.458 GHz.) See caps.
In addition, the Min value just won't change at all from 300 MHz. The frequencies scale up and down as the load changes but I can't raise the Min (again using both SetCPU and No-Frills) from 300 MHz.
Tried: I've tried turning off stamina mode and frozen apps that could control CPU activity (e.g. I use DS Battery Saver). I changed up Governors and Schedulers. I've tried re-flashing the kernel and it still doesn't change these behaviors.
Question/Need help: Just wanted to ask if anybody else have any problems setting the max frequency beyond 2.266 GHz and/or changing the minimum frequency from 300 MHz? Would appreciate any help resolving this behavior.
Thanks in advance!
pjmanalo said:
Hi All,
Firstly, great job with the kernel. Our Z3C is such a capable piece of kit and this just makes it that much better.
I'm running stock, 23.0.A.2.93, unlocked, rooted.
Problem:
I've tried using both SetCPU and No-Frills and while both show frequencies that are supposedly selectable above 2.266 GHz, neither app would actually respond. Meaning the max frequency will still only be 2.266 GHz even if I tried selecting something like 2.458 GHz (which should be selectable given that stock is 2.458 GHz.) See caps.
In addition, the Min value just won't change at all from 300 MHz. The frequencies scale up and down as the load changes but I can't raise the Min (again using both SetCPU and No-Frills) from 300 MHz.
Tried: I've tried turning off stamina mode and frozen apps that could control CPU activity (e.g. I use DS Battery Saver). I changed up Governors and Schedulers. I've tried re-flashing the kernel and it still doesn't change these behaviors.
Question/Need help: Just wanted to ask if anybody else have any problems setting the max frequency beyond 2.266 GHz and/or changing the minimum frequency from 300 MHz? Would appreciate any help resolving this behavior.
Thanks in advance!
Click to expand...
Click to collapse
Try installing TricksterMod (from Google Play store, trust me, you'll love it!) Then go to General and set the max speed to 2.46GHz or higher, and try using the Ondemand Governor too. I noticed that it wouldn't stick properly sometimes when using Interactive governor. If it doesn't stick for you then turn Frequency Lock on. Then check in the info tab that it's hitting the higher speed. Personally I'd recommend leaving the min speed on 300MHz. If you need constant high speeds, select the performance governor.
DBCJoey said:
Try installing TricksterMod (from Google Play store, trust me, you'll love it!) Then go to General and set the max speed to 2.46GHz or higher, and try using the Ondemand Governor too. I noticed that it wouldn't stick properly sometimes when using Interactive governor. If it doesn't stick for you then turn Frequency Lock on. Then check in the info tab that it's hitting the higher speed. Personally I'd recommend leaving the min speed on 300MHz. If you need constant high speeds, select the performance governor.
Click to expand...
Click to collapse
Thanks! That did the trick!
Odd that my usual app for the job across 4 other phones - SetCPU - doesn't work on what should essentially be the same job. [emoji55]
Please make sound_control drivers work so its possible to boost headphone volume on the Xperia Z3 Compact... Thanks
Nice work, a lot of updates I like it!
Is it possible to add a change log?
Thanks!
kernel for d5803 with the .93 but not .105
i search a kernel for the d5803 with the last .93 french version of phone
.5.77
Works great! Thanks a lot
Link for Z3C_D5803_AndroPlusKernel_v10.zip is dead
Pls upload in another location.
Yay sound control is working, thank you so much you're the best!
How to make this?
Hi AndroPlus,
I'm trying to figure out how one would go about building this boot.img that you've created.
What platform and compiler are you using?
Where are you getting sources the for the kernel? This file?
c9af6fc647060fb85dd646798453ec8f 23.0.A.2.105.tar.bz2
How do you construct boot.img from zImage + recovery?
Sorry if these are dumb questions.
Edit: never mind, I figured this out.
http://developer.sonymobile.com/kno...evices/how-to-build-and-flash-a-linux-kernel/ contains most of the information I needed.
The arm version of gcc that ships with Ubuntu 14.04 worked fine - arm-none-eabi-gcc (4.8.2-14ubuntu1+6) - no need to track down any mystery binaries. I did have to make several modifications to the kernel source to get it to build. Interestingly, some of the cpufreq stuff contained code that was incorrect. Someone at Samsung needs to go look up what "sequence point" means.
The hardest part was figuring out how to turn the zImage + ramdisk into something I could boot.
This: https://github.com/sonyxperiadev/mkqcdtbootimg was the correct tool to use - again, no need to track down any mystery mkbootimg or dtbTool binaries.
Hope this is helpful to someone. As someone new to Xperia dev, I found most of the information out there worse than useless.

Kernel CPU frequency issue

I really need to stop making so many threads.
Anyways, my latest issue is actually with baybutcher's custom kernel built into RR.
I have my CPU settings set to the performance governor, 2496MHz for the max frequency, and 1036MHz for the minimum frequency.
I noticed, however, that in certain apps (mostly Tumblr) I get a lot of visual lag, and when I check my kernel settings, the maximum CPU frequency is adjusting itself, jumping around all the different frequency speeds. If I attempt to set the frequency, it ignores it and continues adjusting. I have to adjust another setting to get it to stay at the frequency I set it at.
Is this normal or is there something I can do to solve it?
Latiken said:
I really need to stop making so many threads.
Anyways, my latest issue is actually with baybutcher's custom kernel built into RR.
I have my CPU settings set to the performance governor, 2496MHz for the max frequency, and 1036MHz for the minimum frequency.
I noticed, however, that in certain apps (mostly Tumblr) I get a lot of visual lag, and when I check my kernel settings, the maximum CPU frequency is adjusting itself, jumping around all the different frequency speeds. If I attempt to set the frequency, it ignores it and continues adjusting. I have to adjust another setting to get it to stay at the frequency I set it at.
Is this normal or is there something I can do to solve it?
Click to expand...
Click to collapse
Try setting the thermal limits just a little higher, in Kernel Aduitor. Try 70 degrees instead of the default 60, 65 (or whatever the default is, I forget). With one of the thermal controls, especially Intellithermal -- maybe one you are on? -- it gets very aggressive and actually starts throttling 10 degrees sooner than the limit. So, by raising the limit a little it won't throttle the frequencies too soon.
I not only raised the limit to 70 degrees (that's Celsius by the way), I also switched to one of the other thermal controls.
ChazzMatt said:
Try setting the thermal limits just a little higher, in Kernel Aduitor. Try 70 degrees instead of the default 60, 65 (or whatever the default is, I forget). With one of the thermal controls, especially Intellithermal -- maybe one you are on? -- it gets very aggressive and actually starts throttling 10 degrees sooner than the limit. So, by raising the limit a little it won't throttle the frequencies too soon.
I not only raised the limit to 70 degrees (that's Celsius by the way), I also switched to one of the other thermal controls.
Click to expand...
Click to collapse
I'm not sure where I change that. Under the Thermal tab, all I get are options to toggle Core Control, VDD Restriction, and Temperature Throttle.
Latiken said:
I'm not sure where I change that. Under the Thermal tab, all I get are options to toggle Core Control, VDD Restriction, and Temperature Throttle.
Click to expand...
Click to collapse
Once you turn one of those on , and set on boot you should see temperature slider in that same section.
]
ChazzMatt said:
Once you turn one of those on , and set on boot you should see temperature slider in that same section.
Click to expand...
Click to collapse
http://imgur.com/Md4rxMG[/IMG
It doesn't seem to be there, not sure if I'm doing something wrong.
I also noticed that it will bring the maximum CPU frequency down to match the minimum frequency, and they will both lock so I can't change it. It's getting really annoying, especially when it happens when I need it most, like while typing and watching videos at the same time.

Anyone know the stock kernel settings for M1D63X (AW 1.5 for Urbane)

I have flashed a modded image to my watch (Urbane model 1, W150). I've done this several times and always reverted back to stock due to battery life. This time I'm trying a different approach. I want to tweak the kernel settings to closely match what they are in the stock firmware.
What I've done so far with little effect, disabled two of the four cores, set CPU and GPU governors to powersave and set the max CPU frequency to 600. I left the minimum CPU frequency at 300.
Anyone know what the actual kernel settings are on the stock M1D63X firmware?

Categories

Resources