Kernel problems?? - Xiaomi Redmi Note 5 / 5 Plus Questions & Answers

Hello everyone, I need an explanation. I have unlocked bootloader, twrp, root and kernel adiutor (I have not changed any settings). Sometimes I realize that in the "thermal" section of adiutor kernels, where there is normally only a check on cores, vdd restrictions along with cores are also automatically activated, blocking the minimum frequencies of all the cores (from 652 passes to 1689 ). I notice this because, in addition to having a phone ultra-reactive (ahaah and not bad) I get a little warmer than usual. Wary of this open kernel adiutor and disable vdd restriction and everything returns to normal. Is this normal? Is it the kernel that modifies its settings under particular conditions or not? Thank you

Related

[Q] disable cpu thermal throttling

i make a simple question:
how do i disable the thermal throttling policy?
i have some kind of failure hw sf on my phone and even with cpu temp below 30C my phone cut off 50% of cpu frequency.
no matter what it runs at 501 mhz even if i set performance governor, even with cpufreq max and min set to 1000 mhz.
but yes it can scale down below 501 mhz, it can run all the frequencies i give it.
so must be this policy activated somehow permanently while is set in kernel to activate when cpu temp is above 90C...
how can i turn off?
a module would be useful? i need a custom kernel? i can just disable with some commands? maybe in init?
none of the devs in this section knows what i'm talking about or none of the devs reads this section?

ICS kernel CPU throttle

I am starting to believe that the ICS kernel scales properly although some people may claim it only scales from min to max.
I noticed on the stock GB kernel, the exact same thing happens when trying to use CPU controlling apps such as setcpu. However, for BOTH GB and ICS without using CPU controlling app, I can see the in between frequencies being used. When I try adjusting the slider THEN it starts the freaking out in terms of min/max. (Rom toolbox)
I even notice the battery life worsen tremendously when trying to use setcpu, antutu, etc on STOCK frequencies. Perhaps it has to do with people trying to use CPU apps on a kernel with the perflock enabled?
With the absence of a CPU controlling app on ICS , my battery can last the SAME (not worse, for sure) as it on GB.
Perhaps this can help those who complain about bad battery life on ICS
Sent from my ADR6425LVW using XDA
You don't need to wonder anymore! Its a function built into HTC kernels called "perflock" and its function is to continually reset the values for the min and max frequencies in order to prevent other applications such as setCPU from taking control over the CPU frequencies.
I've been using SEbastianFM's ICS OC kernel with setCPU. You are correct, that it does scale properly even though the min/max frequencies hop around. If you take notice of the current frequency, its usually appropriate for the current load level.
Furthermore, if use setCPU profiles to control the CPU speed, I've noticed it prevents the kernel from periodically reverting back to its default speed and governor settings. setCPU occasionally crashes (FC's) about once a day on me, but since I have the widget on my homescreen I notice it starts right back up again within a second or two and starts controlling the CPU speed again.

Phone slow after idle - how to setup governor

I have a rooted honor 5x with cm13. When I go to kernel adiutor and make sure all cores are running the phone is fast. after being idle it starts to be unresponsive but than gets better I think. I use interactive governor for both types of cores but can not change governor settings on little. How can I eliminate the lagging after idle? I have default governor settings. Is there a bnchmarking app which can set optimal settings?

VDD Restriction

Hello
i have problem with play games ( pubg and other )
my moto z automatically underclock when start game . After 3 min. is activated vdd restriction.
how disable it ?
i go root/sys/module/msm thermal/vdd restriction and i want changed value to disabled, but it not work.
I already know what the error is.
when I play the game for a minute, cpu clock fall to 1244 mhz ( big cpu ) but temperature protection is off.
Finally, I found out that there was an error in governor ( interactive )
i changed hispeed_freq to 2ghz but cpu fall to 1244
where is a problem ?
I also have this issue, maybe custom rom or oreo does not lag?
What is the value set to ? If it is set to 1 change the value to 0 and save. However this may or may not work and will require any root explorer and the value will be reset on reboot.
If you are rooted, I would suggest installing a custom kernel and use any kernel modifying app from the store to modify the value safely.
This restriction is a thermal restriction to avoid damage to your battery/screen/etc.. if your phone stays above 65°C for long time it will definitely damage many internal components in the long run(the CPU/GPU/RAM usually handles higher temps but surrounding components will deteriorate especially the battery)
you can delete the thermal-engine.conf on system/etc and disable in kernel auditor the core enable, VDD and soc temp in thermal panel, reboot the phone and try, btw i recommend you make a backup of this files, in my case are 3(griffin, sheridan and sheridan-retcn), and dont forget enable "apply on boot" in kernel auditor
moto z has poor thermal protection. It is activated at 40 ° C. I can fix it.
Delete this files ....
SYSTEM / ETC
thermal-engine.conf
thermal-engine-griffin.conf
thermal-engine-sheridan.conf
thermal-engine-sheridan-retcn.conf
and problem solved.
in what ROM are you?
RR 5.8.5
but most of them have the same structure.
Beside deleting thermal files , would it better to just bump temp limit, like here:
https://www.google.co.id/amp/s/foru...w-to-disable-thermal-throttling-t3636574/amp/
I hope someone can modify the files and share

MIUI 9 & 10 - VDD restriction turns on by itself and set the min. CPU freq. at 1.6GHz

MIUI 9 & 10 - VDD restriction turns on by itself and set the min. CPU freq. at 1.6GHz
Hi All,
May someone shed the light and tell me how come that even though I disable CPU VDD restriction (and it's disabled by default..) it just turns on "by itself"? If I change some governor parameter I observed that for instance I disconnect the charger then VDD restriction is turned on immediately and increased the min. CPU to 1.6GHz. I don't even understand this behavior anyway: VDD restriction's action (when it's turned on) should kick in when the CPU reaches a certain temperature (70°C afaik) and should "turn off" when temperature goes below a threashold (69°C afaik) and I thought that when it kicks in it throttles the CPU freq. so decreases the max and not increasing(?) the min(?), this is totally not what I expected from the VDD restriction kernel function..
I already tried to:
- disable perfd
- disable perfd then rewrite /data/system/perfd/default_values and restart perfd
- rename/delete /system/bin/perfd
..but the system still does the above explained behavior.
I'm out of ideas at the moment. Can someone point me to the right direction?
Everything is "stock vanilla" MIUI ROM with Magisk, tried a lot of MIUI ROMs actually (several ROM versions from global stable and developer, chinese stable and developer and forks like Xiaomi.EU, Mi-Globe..) and - at least on my phone - all ROMs were doing this..
Thank you!
Bump - anyone?

Categories

Resources