I can't set CPU frequency in custom kernel - Xiaomi Poco F1 Questions & Answers

Hello everyone,
Hope you guys are safe.
I can't set the cpu frequency in custom kernels. The big cluster frequency is sucked on lower MHz, I can't change that to my desired frequency. The problem persists in optimus drunk, silvercore kernel. Because of this problem I can't play games on my phone as it makes my game choppy. I use FKM to tweak kernel settings. I even tried clean flashing rom with kernel.
Please someone help me with this.

Related

[Q] please reply SetCpu scaling problem

i flashes check rom revolutionhd v4 on my s2 with kernel darkknight v2.5.2 i installed setcpu but battery level profiles with limited scaling at 50% and then everything was working fine after soemtime when i opened my phone setcpu keeps on changing the scale to max 12000 from 500 no matter what i do any idea?
a little more information is needed.
what governor are you using to control scaling.

[Q] Unable to scale CPU frequency on my Phone

I have a ROOTED chinese brand phone with the MTk6575 CPU (1 GHZ) with android 2.3.6 installed on it, and am trying to improve the phone's battery life by scaling down the CPU frequency. But out of all the apps I have tried (SetCPU, No-Frills, Android Overclock) none of them is able to read the CPU Governor or current CPU frequency. My question is could we change this frequency directly by editing any of the files inside the /system folder or is there any other security setting that prevents these apps from reading or changing the CPU frequencies?
CPU frequency scaling, governor changing, I/O scheduler changing and under/over-volting all require kernel support. In all probability your stock kernel does not have that support, and you can't change kernel unless someone develops one for your phone.
Sent from my Desire HD using xda premium

[Q] Galaxy S3 UI Lag with Siyah

Hi All..
First lemme give my phone details:
Galaxy S3 International (i9300)
Kernel : Siyah 1.8.9
ROMs (Dual Boot)
: WanamLite v5.5 (based on ZSEMA1)
CM10.1 Nightly
MODS : JKAY framework
My problem is that there is noticeable UI lags when in the homescreen or the app drawer.
I have not overclocked/underclocked the CPU. Have no undervoltage setting as well. In STweaks, the max CPU freq is set to the stock 1400Mhz and the min CPU freq is set to the recommended 200Mhz. And I have kept the "touch boost level" to 1200Mhz.
When I see the UI lags, I used CPU spy to monitor the CPU speeds. What I could see was that the speeds were at the lower end (200 - 800 Mhz) !!! Since the touch boost level is set to 1200, shouldn't the CPU jump to 1200 Mhz when I unlock/touch the screen ? I agree that the CPU speed needn't stay at 1200Mhz after the speed boost, but shouldn't it stay at a freq to ensure that there is no UI lag ?
If the operating freq is at 1400Mhz, the UI is perfect !!! It goes to this state automatically usually (takes a while ), or manually I can make this happen by setting the min CPU freq to say 1300 MHz from STweaks. Once this state is hit, the UI wrks with no lag until say I lock the screen, or maybe the device goes to sleep for a while.
Any ideas as to why the CPU freq stays at lower values and doesn't come up enough to give a lag free UI ?
stanzlavos said:
Hi All..
First lemme give my phone details:
Galaxy S3 International (i9300)
Kernel : Siyah 1.8.9
ROMs (Dual Boot)
: WanamLite v5.5 (based on ZSEMA1)
CM10.1 Nightly
MODS : JKAY framework
My problem is that there is noticeable UI lags when in the homescreen or the app drawer.
I have not overclocked/underclocked the CPU. Have no undervoltage setting as well. In STweaks, the max CPU freq is set to the stock 1400Mhz and the min CPU freq is set to the recommended 200Mhz. And I have kept the "touch boost level" to 1200Mhz.
When I see the UI lags, I used CPU spy to monitor the CPU speeds. What I could see was that the speeds were at the lower end (200 - 800 Mhz) !!! Since the touch boost level is set to 1200, shouldn't the CPU jump to 1200 Mhz when I unlock/touch the screen ? I agree that the CPU speed needn't stay at 1200Mhz after the speed boost, but shouldn't it stay at a freq to ensure that there is no UI lag ?
If the operating freq is at 1400Mhz, the UI is perfect !!! It goes to this state automatically usually (takes a while ), or manually I can make this happen by setting the min CPU freq to say 1300 MHz from STweaks. Once this state is hit, the UI wrks with no lag until say I lock the screen, or maybe the device goes to sleep for a while.
Any ideas as to why the CPU freq stays at lower values and doesn't come up enough to give a lag free UI ?
Click to expand...
Click to collapse
ANNNNNNNNNNNND what rom are you talking about!?! CM10.1 or Samsung? if you want a LAGG FREE phone do the following.
1: OverClock the CPU to 1.6ghz, then set min to 500mhz, use a -25mV or a -50mV
2: Set Governor to LULZACTIVEQ
3: Set MIN GPU freq to 266mhz
4: Set MAX GPU freq to 640mhz
5: Disable "gentle fair sleepers" on the CPU tab
6: Set the SCHEDULER to CFQ
7: Go to settings and enable GPU rendering
and FINALLY if non of the above work, FLASH Null_22.1 for a Samsung ROM. and Revolt, cm10.1, jellybam for a AOSP rom.
IF NON OF THAT WORK'S download super wipe and flash a new phone.
Can I just say, 1200mhz?!?! Default is 800 and I'm using 700 on my device. It's a bit extreme.
Perhaps your governor is affecting smoothness. Try using pegasusq. Or it may be the app your using to change CPU frequency doesn't even have ROOT access
International S III 16GB / CM10.1 / Gokhan's SK
paintball23456 said:
ANNNNNNNNNNNND what rom are you talking about!?! CM10.1 or Samsung? if you want a LAGG FREE phone do the following.
1: OverClock the CPU to 1.6ghz, then set min to 500mhz, use a -25mV or a -50mV
2: Set Governor to LULZACTIVEQ
3: Set MIN GPU freq to 266mhz
4: Set MAX GPU freq to 640mhz
5: Disable "gentle fair sleepers" on the CPU tab
6: Set the SCHEDULER to CFQ
7: Go to settings and enable GPU rendering and disable hardware overlays (resets on boot)
and FINALLY if non of the above work, FLASH Null_22.1 for a Samsung ROM. and Revolt, cm10.1, jellybam for a AOSP rom.
IF NON OF THAT WORK'S download super wipe and flash a new phone.
Click to expand...
Click to collapse
No. Do not disable hardware overlays. That will, if anything, cause your device to lag more.
Theshawty said:
No. Do not disable hardware overlays. That will, if anything, cause your device to lag more.
Click to expand...
Click to collapse
O_O not in my case..
paintball23456 said:
O_O not in my case..
Click to expand...
Click to collapse
This is a quote from a guy over at rootzwiki
Without a hardware overlay every application that is displaying things on the screen will share video memory and will have to constantly check for collision and clipping to render a proper image, this can cost a lot of processing power. With a hardware overlay each application gets its own portion of video memory, getting rid of the need to check for collision and clipping.
Basically, using hardware overlays can reduce CPU usage by quite a bit, so I would leave it enabled.
Click to expand...
Click to collapse
Theshawty said:
This is a quote from a guy over at rootzwiki
Click to expand...
Click to collapse
Right.. then why dafudge is my s3 SMOOTHER with it enabled?
paintball23456 said:
Right.. then why dafudge is my s3 SMOOTHER with it enabled?
Click to expand...
Click to collapse
Maybe you're just lucky, I dunno. It's better to let a real dev share his/her input on this. I'm merely a noob who knows how to Google...
Theshawty said:
Maybe you're just lucky, I dunno. It's better to let a real dev share his/her input on this. I'm merely a noob who knows how to Google...
Click to expand...
Click to collapse
L.O.L but not that big of a noob... thanks for the info - and also reminding me for the 100,000,000,000,000 time to sign up to rootwiki
paintball23456 said:
L.O.L but not that big of a noob... thanks for the info - and also reminding me for the 100,000,000,000,000 time to sign up to rootwiki
Click to expand...
Click to collapse
Heh, maybe not.
Uhm, you're welcome, I guess? :good:
It's probably smoother due to the fact that the CPU will be working at a higher frequency more often. Those that have disabled hardware overlays are causing their CPU to ramp up every time an application has to render an image
paintball23456 said:
ANNNNNNNNNNNND what rom are you talking about!?! CM10.1 or Samsung? if you want a LAGG FREE phone do the following.
1: OverClock the CPU to 1.6ghz, then set min to 500mhz, use a -25mV or a -50mV
2: Set Governor to LULZACTIVEQ
3: Set MIN GPU freq to 266mhz
4: Set MAX GPU freq to 640mhz
5: Disable "gentle fair sleepers" on the CPU tab
6: Set the SCHEDULER to CFQ
7: Go to settings and enable GPU rendering
and FINALLY if non of the above work, FLASH Null_22.1 for a Samsung ROM. and Revolt, cm10.1, jellybam for a AOSP rom.
IF NON OF THAT WORK'S download super wipe and flash a new phone.
Click to expand...
Click to collapse
The lag is more obvious in the Touchwiz based Wanamlite ROM.
1) As i said, when running at 1.4Ghz (with stock voltage settings) itsef the UI is smooth. So I don't actually want to overclock. . The problem is that the CPU speed doesn't rise up and stays between 200-800 causing the lag.
2) Will try changing the governor (first let me read how it is different from pegasusq ).
3,4) Again, with stock settings itself the UI is smooth. The problem is what i have said under point 1.
5) Already done.
6) WIll try setting scheduler to CFQ (again, lemme read bout it first )
7) GPU rendering is already ticketd. Hardware overlays are not disabled (thought this would increase the lag).
Is NULL_22.1 a Touchwiz based ROM ? And Jelybam is an AOKP ROM I supose ?
Wouldn't want to do the last option.
Also, I saw that you have mentioned three ROMs in your signature. Siyah lets you dual boot right, how come 3 ? Or were you just talking about your preference ?
And, does siyah 1.8.9 for the S3 let us boot with NULL_22.1 and jellybam in dual boot? Are all these combos possible ?
Sammy + CM10.1 (this works, I knw )
Sammy + AOKP
AOKP + CM10.1
raminica seemed
23Six said:
Can I just say, 1200mhz?!?! Default is 800 and I'm using 700 on my device. It's a bit extreme.
Perhaps your governor is affecting smoothness. Try using pegasusq. Or it may be the app your using to change CPU frequency doesn't even have ROOT access
International S III 16GB / CM10.1 / Gokhan's SK
Click to expand...
Click to collapse
From what I understood, it just boosts upto 1200Mhz on touch and needn't stay there. Right ? The only downside there is battery life I suppose ?
Am already using pegasusq and yes, sTweaks does have root access.

Anyway to get battery tweaks without resorting to custom kernels?

I would love to get the battery life profiles from the custom kernels but I don't want to install them and would like to relay to the stock kernel of my rom which is RR. For reasons that I want to avoid bugs and would want to stay updated all the time.
I found spectrum which exactly what will solve my problem but the problem is that it doesn't support the stock kernel of RR.
Stock kernel of RR support "Kernel Adiutor". Kernel Adiutor give you various useful settings.
In my opinion the first is change voltage of your CPU (for each speed).
i Undervolt all Little cores:
(Warning each cpu need different settings, this setting can not work for you)
400 and 691 mhz with 695mv
806mhz 745mv
1017mhz 825mv
1190mhz 880mv
1305mhz 915mv
1382mhz 935mv
1401mhz 940mv
1440mhz 950mv
Big cores DISABLED. (i dont have lags with this settings... i play Clash Royale and use social apps, if you need it enable)
In GPU (i dont play games except Clash Royale)
133mhz min
432mhz max
Down differential 75
Iddle wait 7
Workload 10
For test speed/voltage you need to set same min and max speed and disable de Big Cores. (Or set max speed "X"mhz and use performance governor)
low voltage
use Antutu for test or other similar app.
if work low voltage again
test
if work repeat if not raise the voltage 5 or 10 mv and test again.
DONT USE "APPLY ON BOOT" when you try different voltages.
when you have your profile save this and here in profile menu you can set it at startup (you need to be sure of your phone stability with this settings).
Equally i recommend Agni kernel 13... i use before RR oreo and now AEX oreo and im happy with this kernel, zero problems, all fine.
in this forum other users try with VULMAX but i prefer my settings in manual and not with profile (i dont know the changes in each profile). https://forum.xda-developers.com/redmi-note-3/themes/xgh-t3701825
You can enable ForceDoze with patch https://forum.xda-developers.com/redmi-note-3/themes/universalforcedoze-deepsleep-googledns-t3770350
With ForceDoze you may have problems with sync of message apps or with clock update (you can fix it in your battery settings> optimized apps)
How often does AGNI gets updated?
drckml said:
How often does AGNI gets updated?
Click to expand...
Click to collapse
i dont know but is really good for me.
Equally if you like stock kernels may use RR stock kernel + Kernel Adiutor without problems.
link of agni kernel: https://forum.xda-developers.com/re...nel-24-09-2016-agni-puremiui-mm-v1-4-t3468042
last update 2018-06-28
I tried Vulmax and the battery config and it made my phone really fast, literally as in the animations of closing and opening of apps became way too fast. I think Kernel Auditor would be better for me.
drckml said:
I tried Vulmax and the battery config and it made my phone really fast, literally as in the animations of closing and opening of apps became way too fast. I think Kernel Auditor would be better for me.
Click to expand...
Click to collapse
you can change animation speed from the developer options in the settings.. disabling animation saves a bit battery thats y it is disabled

Max performance in kernel auditor set back to default at 1.5ghz after few minutes ?

I am Using honor 8 frd L02 emui 5.0.1....
And device is Rooted ...
I want the maximum possible frequency while gaming...and maximum allowed is 2.3ghz ... Kernel auditor works fine in setting up maximum performance at 2.3ghz(on demand as well as performance)... But after few minutes frequency sets to 1.8ghz or 1.5ghz... It maybe due to emui... But I don't want to switch to custom ROM as there are problems like camera or calling....
So what is the solution to overclocking the CPU....
I am thinking about using open kernel tweaks like AKT(advance kernel tweaks), or LKT(legendary kernel tweaks)... Will it solve my problem... Or is there any other solution ???

Categories

Resources