Question regarding Thermal.conf file on stock Xiaomi Global ROM - Xiaomi Mi 5 Questions & Answers

Hi, i have a question regarding the thermal.conf file on the Xiaomi stock rom. There's a lot of them. My question is, which file that corresponding to CPU and GPU thermal properties? If possible i want to tweak them in my favor before i unroot the device. Thanks.
Used to tweak thermal.conf in LG G Pro where the file is very easy to read and modify. Not anymore in Xiaomi.

I think it's encrypted. I removed it and it removed the thermal limitations and there's less throttling, but this may be bad when phone is being used for long periods of high cpu!

Sorry for replying super late. I forgot to check back XD
I mean, i find a sweet spot for my Xiaomi's thermal by limiting the big cluster to 1602 MHz and the small cluster to 1401 MHz. This makes CPU generates heat more slowly but the overall performance still impressive. I wanted to implement this on stock Xiaomi Rom.

Related

Possible to set Cpu throtteling treshold higher with root?

Hi all,
I'm very annoyed from the Cpu throttling on my Xperia Z3+.
I don't have root, because it's not possible to backup DRM Keys without unlocking Bootloader. But someday it will be possible.
Is it possible to change the treshold of Cpu throtteling? Maybe by editing a File when I have root?.
Sorry for my bad english.
ThePhilipp01 said:
Hi all,
I'm very annoyed from the Cpu throttling on my Xperia Z3+.
I don't have root, because it's not possible to backup DRM Keys without unlocking Bootloader. But someday it will be possible.
Is it possible to change the treshold of Cpu throtteling? Maybe by editing a File when I have root?.
Sorry for my bad english.
Click to expand...
Click to collapse
You can change the temperature it throttles at, but it pretty much reaches that temperature immediately. I don't believe the S810 in this phone can run at max frequency for longer than a few seconds.
I want to do the same , since I strongly believe, that without thermal throttling, cpu's temperature won't go very high
ChrisJ951 said:
You can change the temperature it throttles at, but it pretty much reaches that temperature immediately. I don't believe the S810 in this phone can run at max frequency for longer than a few seconds.
Click to expand...
Click to collapse
I don't want remove the throttling completly, but I want to set the temperature treshold higher. At 55° the S810 goes down with the perfomance. For example, the Galaxy S6 is much hotter before it throttles.
Perhaps we could also limit the 4 strong cores to a maximum of 1.8 GHz, as in OnePlus Two. Then the Xperia Z3 + / Z4 still has enough power, but is still not as fast hot. When the S810 is throttled, it is far below the 1.8 Ghz. Down to 700Mhz far as I know.
Dathrex said:
I want to do the same , since I strongly believe, that without thermal throttling, cpu's temperature won't go very high
Click to expand...
Click to collapse
How do you know? Did you have a chance to test that?

avoiding thermal throttling?

When i play games like moderncombat5 i have 60fps but after a while the frames drop in some scenes where it didnt 3-5 minutes ago. When i check the cpu/gpu i can see that it throttles and causes these framedrops. But the phone doesnt get hot. Since it isnt possible to mess with thermal values at the moment. I wonder if there are some optimal cpu/gpu clocks where it will not throttle and performance will stay the same all time regardless of how much you stress the cpu/gpu. Because i'd rather have a underclocked cpu gpu than having thermal throttling while stressing the phone. On oneplus3 i didnt have this much thermal throttling playing mc5. I also feel the thermal throttling throttles way to early.
And yes i tried almost all kernels/roms out there it was a better experience on the op3
Thanks!
All CPUs have slight variations, some may be slightly more efficient than others of the same model. To get the best performance, you're going to have to underclock and test on your own phone bit by bit.
Anova's Origin said:
All CPUs have slight variations, some may be slightly more efficient than others of the same model. To get the best performance, you're going to have to underclock and test on your own phone bit by bit.
Click to expand...
Click to collapse
I know i have pvs lvl 1 across the board thats why i wonder why i didnt have this issue on the oneplus3
nadejo said:
I know i have pvs lvl 1 across the board thats why i wonder why i didnt have this issue on the oneplus3
Click to expand...
Click to collapse
What file did you open up to view that i looked a few months ago in the typical spots but found nothing.
954wrecker said:
What file did you open up to view that i looked a few months ago in the typical spots but found nothing.
Click to expand...
Click to collapse
I dont remember. But it was hard to find. Anyways i found out that the cpu allways throttles down to little 1209 mhz and big 1440 mhz. When gpu is running on max clock. Will make further investigations now to find perfect cpu & gpu freq.
It seems regardless of what cpu profile / governor you use and regardless if the phone is charging or not. The cpu will allways throttle down to 1209 little and 1440 big. And the gpu also throttles but i can't monitor the exact values currently. This throttling even happens when gpu is running on min freq. And even when you set big or little cluster to min freq.
Im pretty sure the thermal throttling of the oneplus3 is broken. Because:
Thermal throttling should be decided by many factors. (General soc heat generated by gpu/cpu/and ram) also the system should be aware by the values and should handle it intelligently.)
It seems there is only one heatsensor used to throttle all at once and the throttling stops at 1209mhz little and 1440mhz big. If the temperature still rises the phone simply doesnt give a f*** why i think there isnt even a point of using this stock throttling method. And no its not accurate. And no its not usefull because, it throttles regardless what heat the phone has. Because it doesnt react to soc heat. It reacts to one of the components and throttles everything. Why it can't check the other temparatures aswell and throttle other components diffrently if even needed at all.
Issue: lets say little or big cluster is overheating because the cpu load is very high on it. (And no you wont see this throttling by simply running perf gov. It needs load/ working tasks on it, means you gotta play some heavy 3d games)
The thermal throttling just brakes down both clusters including the gpu. Was the big cluster or the gpu running cool? The thermal throttling doesn't give a f***. Could the loads/tasks been shared with or pushed to the big cluster. Thermal values dont care. Could some rly simple sort of hotplug turn the overhating little cluster off to let the big cluster do the rest before it rather throttles everything on the f... phone . -nope - Its annoying. Rly just try it out yourself. I really hope to see some improvements by oneplus. And no the phone is not bad at all. It's just some things are not optimized yet. Like touch latency which is worse than on galaxy s3 but i don't mind it just giving you an example so you can imagine how bad the thermal throttling must be.
Allways remember setting the cpu clock values so low that they dont throttle anymore doesnt mean gpu will throttle less often. All compenents will throttle without comparing other compents clock rate and heat.
My question: is the thermal throttling decided by the soc itself or are there different thermal throttling values on each phone brand using sd821?
And is it possible to port these values from lets say pixel phone?
I'm on cm13 and its kernel default is a bit lower than stock. I had the screen on full brightness and was charging the battery so temps above 100°. I played dead trigger 2 on highest settings on a level with lots of special effects and weapons with lots of splatter. Got throttled when the temp hit 103° everytime. I was running performance on cpu and gpu and i tested it without charging and still get throttled.
954wrecker said:
I'm on cm13 and its kernel default is a bit lower than stock. I had the screen on full brightness and was charging the battery so temps above 100°. I played dead trigger 2 on highest settings on a level with lots of special effects and weapons with lots of splatter. Got throttled when the temp hit 103° everytime. I was running performance on cpu and gpu and i tested it without charging and still get throttled.
Click to expand...
Click to collapse
Im using laos 14.1 with latest ex kernel.
As is said thermal values are broken. Its not right to throttle down to same speed if charger is plugged as battery heat is higher and soc heat should be higher too. So i think it also throttles unnecesserily low without the charger being plugged.
Did any one find a solution to fix this?
Up up up
years of tired because of this ****ting throttling issue
Well do this at your own risk, go to system/vendor/bin and cut the file named "thermal-engine" to other directories in your sd card. This will completely disable thermal throttling. Perfect for gaming.?
Up up!!! This issues persists to me.. i even put my oneplus 3t in front of 8" fan for every gaming. Is there anyway to maintain the cpu frequency at higher rate during thermal throttling? I don't want to totally disable the thermal throttling... Seems unsafe... Enlighten me if you would
I think its time for gamer's to switch to a gaming oriented phone to avoid this thermal throttling and im looking forward to buy Black Shark which is Xiaomi backed gaming phone with custom rom (not miui) something different and that too is gaming focused hopefully it will be available globally soon ! :fingers-crossed:
J's said:
Up up!!! This issues persists to me.. i even put my oneplus 3t in front of 8" fan for every gaming. Is there anyway to maintain the cpu frequency at higher rate during thermal throttling? I don't want to totally disable the thermal throttling... Seems unsafe... Enlighten me if you would
Click to expand...
Click to collapse
There is no risk if you disable thermal throttling, the CPU will shut itself down if its temperature reaches 100°C
przemcio510 said:
There is no risk if you disable thermal throttling, the CPU will shut itself down if its temperature reaches 100°C
Click to expand...
Click to collapse
If i tilt my phone to the left for gaming, i will be burning my left thumb then.... even around cpu temp of 55.... My OnePlus 3T is gold in colour.. will it be better for heat dissipation if i change to midnight black?
LN2 + Copper pot. Should help.
J's said:
If i tilt my phone to the left for gaming, i will be burning my left thumb then.... even around cpu temp of 55.... My OnePlus 3T is gold in colour.. will it be better for heat dissipation if i change to midnight black?
Click to expand...
Click to collapse
No, the color will have no impact, but it will be even worse when exposed to sun
przemcio510 said:
No, the color will have no impact, but it will be even worse when exposed to sun
Click to expand...
Click to collapse
Thank you... Because the country i living is hot and humid throughout the year so i have to be extra careful ..
Any solution?
blaze95rs said:
Any solution?
Click to expand...
Click to collapse
There's nothing you can do about the throtting, OP3T throttles @60°C tbh in just 10 mins of game play it starts throtting
You have 2 options here
1. Either disable thermal engine as suggested by someone above ( it basically boils your device forget about gaming, temps touchs to 98°C if msm thermal is disabled and around 60 to 75°c it msm thermal is enabled it's seriously hot to touch and high chances of damaging internals
2. Underclock the big cluster to 1209MHz or 1286MHz I tested both, while gaming (2 hrs of pubg @ medium settings) temp's are around 53 to 55°c and never reached 60°c no throtting ( but you know what, games still lag or you will get low fps due to lack of power Lol I'm sorry that's true there nothing you can do about it try playing games in air conditioned room or just buy gaming Phone like Razer they have good heat dissipation, you should not forget the fact that our device is 2 years old. Tbh on a 2 year old phones even optimized games too use lot of processing power which lead more heat. More heat = throttle

overclocking not possible?

When i open cpu control apps like 3c cpu manager and rom toolbox pro, the maximum frequency is set to 1.59 Mhz by default and i can't increase it. When i increase it, it again comes to 1.59. Any solution?
Using oneplus 3t
Overclocking depends on the kernel. If you are using the stock ROM and stock kernel, don't even hope.
If you have a supported kernel (not likely), use Kernel Adiutor. Much more up to date.
Also there's core control which will interfere as to make sure your CPU doesn't melt into a beautiful pile of liquid metal ?
As far as I know you shouldn't overclock your CPU, there may be some design problems with it, and becomes unstable. Sultanxda investigated the problem back in December, and it looks like even the stock rom must use some tricks (aggressive thermal throttling?) to reach maximum spec. frequency. Overclocking on custom roms lead to crashes.
Radioactive kernel for los based roms by @acuicultor has overclock. I use it and love it. Great sot, 7-9 hours easy, less if I game. I actually have the large cores underclocked to 2. though so that may help a little with my sot but it shouldn't affect it much at all
noushadpottippara said:
When i open cpu control apps like 3c cpu manager and rom toolbox pro, the maximum frequency is set to 1.59 Mhz by default and i can't increase it. When i increase it, it again comes to 1.59. Any solution?
Using oneplus 3t
Click to expand...
Click to collapse
That is normal although the max frequency of the little cluster is 2.15Ghz as advertised by Qualcomm for Snapdragon 821.
According XDA review of oneplus 3T dated November 2016 https://www.xda-developers.com/oneplus-3t-xda-review-what-has-changed-and-by-how-much/ the Little cluster was clocking to 1.6Ghz (round off) as opposed to 2.15Ghz which is its maximum clockrate, it is safe to say that oneplus intentionally did that in order to save more battery.
Btw im using custom kernel ElementalX kernel based on Oxygen OS 4.1.1 and even I set the little cluster to its maximum 2.15Ghz it always reverts to 1.6Ghz.
As you can see OnePlus 3T is still blazing fast even the little cluster is a bit downclocked.
https://youtu.be/otwED6s3rCQ
Oneplus 3T manage to beat LG G6 which is a 2017 device
https://youtu.be/8JoPC8UsE0w
exaflare said:
Btw im using custom kernel ElementalX kernel based on Oxygen OS 4.1.1 and even I set the little cluster to its maximum 2.15Ghz it always reverts to 1.6Ghz.
Click to expand...
Click to collapse
Radioactive kernel stays at 2.188Ghz for the little cluster for me even after reboot if I set it that way. I prefer 1.6Ghz, I like my insane sot. The big cluster oc at 2.419Ghz does not stay though, it automatically reverts back to 2.3Ghz. But I actually prefer to set it uc at 2.15Ghz. Still blazing fast.
EDIT: Using exkm aswell
OC more than possible

best custom ROM's for game performance

So here many custom ROM's
https://forum.xda-developers.com/mi-max-2/development/available-stock-custom-roms-mi-max-2-t3737523
Which of this the best for gaming? I don't care about my battery life or something else, only good optimization for games :laugh:
Also mb someone know how to tune Kernel Adiutor for gaming, is any guides or something else? i don't found any of this for Mi Max 2
It would be great, if u help
Without a custom Kernel, nothing much can be tuned in Kernel Adiutor to achieve higher performance in games. OC-ing the GPU and CPU would be probably the only solution to gain more FPS. All this ROMs are gonna perform similar with the same kernel.
ekin_strops said:
Without a custom Kernel
Click to expand...
Click to collapse
where i can get custom kernel?
enkins said:
where i can get custom kernel?
Click to expand...
Click to collapse
You can't because there is no custom kernel.
ekin_strops said:
You can't because there is no custom kernel.
Click to expand...
Click to collapse
optimization for games in kernel adiutor is actually pretty straight forward. just choose performance governor for both cpu and gpu and lock both to the highest possible clocks (cpu minimum and maximum 2016 mhz, gpu min and max 650 mhz). that way they wont be downclocking to save power and ull have max performance always
furthermore, u could change IO scheduler to deadline for faster loading times and disable core control (as well as temperature and vdd control, depending on whether theyre active by default) in thermal tab. just keep an eye on device temperatures, cuz ull be basically removing throttling measures for hardware safety. although i doubt this should be a problem with an soc like SD625 in such a large device, but still...better be safe than sorry
Sent from my Xiaomi Mi Max 2 (Oxygen) using Tapatalk
jbmc83 said:
optimization for games in kernel adiutor is actually pretty straight forward. just choose performance governor for both cpu and gpu and lock both to the highest possible clocks (cpu minimum and maximum 2016 mhz, gpu min and max 650 mhz). that way they wont be downclocking to save power and ull have max performance always
furthermore, u could change IO scheduler to deadline for faster loading times and disable core control (as well as temperature and vdd control, depending on whether theyre active by default) in thermal tab. just keep an eye on device temperatures, cuz ull be basically removing throttling measures for hardware safety. although i doubt this should be a problem with an soc like SD625 in such a large device, but still...better be safe than sorry
Click to expand...
Click to collapse
great thanks to u for reply, i try this, hope it helps me
GPU settings not lock on 650 mhz, it's switch between 320 and 650, not 650 all time
enkins said:
GPU settings not lock on 650 mhz, it's switch between 320 and 650, not 650 all time
Click to expand...
Click to collapse
did you change the gpu governor to performance?
Sent from my Xiaomi Mi Max 2 (Oxygen) using Tapatalk
Hi, another way to unlock the cpu at its maximal frequence is to use the mod called " unlimited " in the playstore from the mi-globe rom (miui based)
here is the link : http://forum.mi-globe.com/general-development-f34/app-miui-unlimited-t691.html
You can activate it on the fly, very cool. I use this rom
Regards
jbmc83 said:
did you change the gpu governor to performance?
Sent from my Xiaomi Mi Max 2 (Oxygen) using Tapatalk
Click to expand...
Click to collapse
ofc i did, but still not work
ed57 said:
Hi, another way to unlock the cpu at its maximal frequence is to use the mod called " unlimited " in the playstore from the mi-globe rom (miui based)
here is the link : http://forum.mi-globe.com/general-development-f34/app-miui-unlimited-t691.html
You can activate it on the fly, very cool. I use this rom
Regards
Click to expand...
Click to collapse
it works only on miui rom, or it can works on custom roms?
enkins said:
ofc i did, but still not work
Click to expand...
Click to collapse
ok i just checked on my phone with LOS 14.1 installed. when u set min and max gpu frequency to 650 mhz and set perfomance profile the gpu will only downclock to 320 mhz if there is no load put onto it. if there is ANY load whatsoever (in my case a simple continuous finger swipe over the display) the gpu clock sticks to 650 mhz and stays there.
so no worries, uve unlocked ur SoC performance completely and ull get the most out of it during gaming
edit: btw, dont let the poll results fool you. most people just go with LOS because thats what they are accustomed to the most and because its been out the longest for mi max 2 as far as custom roms are concerned. so more people voting there doesnt mean its actually faster than other roms (likely that most people havent tried ALL roms, especially for gaming-specific purposes )
jbmc83 said:
ok i just checked on my phone with LOS 14.1 installed. when u set min and max gpu frequency to 650 mhz and set perfomance profile the gpu will only downclock to 320 mhz is there is no load put onto it. if there is ANY load whatsoever (in my case a simple continuous finger swipe over the display) the gpu clock sticks to 650 mhz and stays there.
so no worries, uve unlocked ur SoC performance completely and ull get the most out of it during gaming
edit: btw, dont let the poll results fool you. most people just go with LOS because thats what they are accustomed to the most and because its been out the longest for mi max 2 as far as custom roms are concerned. so more people voting there doesnt mean its actually faster than other roms (likely that most people havent tried ALL roms, especially for gaming-specific purposes )
Click to expand...
Click to collapse
ok thanks for that information, u help me so much, i''ll stay on DotOS 7.1.2 and test it for game perfomance, now results are fine, better then xiaomi.eu roms
Lineageos 14.1 is best
Best For Gaming
I believe that would be dot-os

Mi 9T Pro underclock CPU/GPU

How can I underclock my 9T Pro smartphone? I don't play games or use power intensive apps, I'm thinking to underclock it's CPU and/or GPU to extend battery life.
I'm on latest MIUI 11 Beta from xiaomi.eu, rooted.
Are there any apps or methods to safely reduce frequencies for its CPU/GPU?
Root and a kernel manager like FKM.
hoopsnake said:
Root and a kernel manager like FKM.
Click to expand...
Click to collapse
I tried Franco's app but some CPU frequency settings don't maintain after a while.
And I'm sure I don't know exactly what frequencies should I modify (and how much) on the three clusters to obtain a balanced setting.
Not no mention GPU frequency settings...
cris2d2 said:
I tried Franco's app but some CPU frequency settings don't maintain after a while.
And I'm sure I don't know exactly what frequencies should I modify (and how much) on the three clusters to obtain a balanced setting.
Not no mention GPU frequency settings...
Click to expand...
Click to collapse
Sorry I won't be much help on this as I haven't needed to change frequencies in a while. Afaik you just need to change the CPU and GPU governors to power save and set it to apply on reboot, small cores like to jump up a lot more max freq than the big cores so maybe around 1500mhz for small, keep large cores from going into 2000mhz and prime core too, GPU from what I remember really struggles if limited to lowest frequency, 300ish is a good starting point.
Depends on what rom you are running too, miui you don't really have a choice but to use stock kernel. On custom rom you have a lot more choices of kernel like immensity, f1xy, kraven and notkernel.
hoopsnake said:
Sorry I won't be much help on this as I haven't needed to change frequencies in a while. Afaik you just need to change the CPU and GPU governors to power save and set it to apply on reboot, small cores like to jump up a lot more max freq than the big cores so maybe around 1500mhz for small, keep large cores from going into 2000mhz and prime core too, GPU from what I remember really struggles if limited to lowest frequency, 300ish is a good starting point.
Depends on what rom you are running too, miui you don't really have a choice but to use stock kernel. On custom rom you have a lot more choices of kernel like immensity, f1xy, kraven and notkernel.
Click to expand...
Click to collapse
Thanks!
I'm using MIUI 11 latest weekly from xiaomi.eu.
Right now I applied your suggestions in FKM, I'm waiting to see how it influences the performance and power usage.
Well, I tested changing frequencies and governors in FKM but they won't stay after restart, even if apply after boot was checked for each modification. I guess MIUI kernel is not so friendly in this matter.
cris2d2 said:
Well, I tested changing frequencies and governors in FKM but they won't stay after restart, even if apply after boot was checked for each modification. I guess MIUI kernel is not so friendly in this matter.
Click to expand...
Click to collapse
Try to use kernel iMMENSITY-RAPHAEL-V24.0-MIUI-BETA-24-03-2020 version. It's really recommend for miui11 latest beta.
wkobaint said:
Try to use kernel iMMENSITY-RAPHAEL-V24.0-MIUI-BETA-24-03-2020 version. It's really recommend for miui11 latest beta.
Click to expand...
Click to collapse
Unfortunately, this kernel breaks AOD function.
cris2d2 said:
Unfortunately, this kernel breaks AOD function.
Click to expand...
Click to collapse
I used miroom latest mi11 beta and doesn't had the above issue
CPU overclock since snapdragon 845 is not possible anymore.
For GPU try Candy.
Shinichi Kudo said:
CPU overclock since snapdragon 845 is not possible anymore.
For GPU try Candy.
Click to expand...
Click to collapse
I'm trying underclocking, not overclocking.
I am sorry I meant to say changing clock at kernel level that is.
I may be wrong though.
Shinichi Kudo said:
I am sorry I meant to say changing clock at kernel level that is.
I may be wrong though.
Click to expand...
Click to collapse
So, if this is true, changing freqs can't be done even in custom ROMs (non MIUI) and it's bad.
I tried lowering screen resolution and DPI to save power but the rounded corners become even rounder (?!) and power usage didn't drop that much.

Categories

Resources