Thermal-Engine-8992.conf - Xiaomi Mi 4C

Hello,
i've made some changes to the default thermal engine conf, basically i've made some more steps for the thermal throttle. For example, in the default file when the cluster0 (the little four cores) reach 48° Celsius it is downclocked to 600 MhZ... now @ 36° it will be downclocked to max 1.248 GhZ -> @ 41° 960 MhZ and so on.
I've made this changes to the cluster 1 too (altough the curve is different), and now the 4th core (first of the Big ones) will be unplugged as usual @ 42° but will comes up again just @ 39° and not @ 37°.
I already pushed this changes to my device and i'm actually testing it. Will report my results.
I would like to go deeper in the conf but i lack the knowledge needed, i need a manual or something like that for all the variables that can be used in the file, for once i really don't know what the action_info in the battery monitor means at all.
What i meant to achieve is a more homogeneous downclock of the processor and a better battery life in everyday usage.
You have to replace the one in /System/Etc and give the right permission (0644)
Then from terminal stop and restart the thermal engine or just reboot the device.
Make a copy of the default file just in case.
Anyway, this is the file.
Cheers

Antutu Score v6.0 with my thermal-engine.conf and with the process thermal-engine completly shutted down.

You are doing something wrong, im getting about 60k without touching this thermal thing..

k3lcior said:
You are doing something wrong, im getting about 60k without touching this thermal thing..
Click to expand...
Click to collapse
With just one run should be like that, my idea is to get constant value on more run... if you run antutu on yours more then one time in sequence you "should" get constant worse value, while i should get constat 50k-ish.
Still have to try and test the battery performance with this conf.
Will update soon

Nice GoldGanja, looking forward for more posts about it.

Nice tweak, thanks!

I'm using the one from this post, which is taken straight from Nexus 5X. In my case, this boost my score from 44K to 54K. The device is a little warmer, just a little and it comes back cold quick enough.
EDIT:
Retried just now from a cold state, it reaches 63K!

if I update the ROM , do I have to replace the file again ? i get 68k in antutu with the thermal-config from nexus 5x

celticslment said:
if I update the ROM , do I have to replace the file again ? i get 68k in antutu with the thermal-config from nexus 5x
Click to expand...
Click to collapse
Yes, each ROM update contains the same file so it will be overwritten.

leledumbo said:
I'm using the one from this post, which is taken straight from Nexus 5X. In my case, this boost my score from 44K to 54K. The device is a little warmer, just a little and it comes back cold quick enough.
EDIT:
Retried just now from a cold state, it reaches 63K!
Click to expand...
Click to collapse
Well, our phone reaches that score without any tweak.. So not a big result..
Inviato dal mio Mi-4c utilizzando Tapatalk

it is when you have 10+ background apps that sync all the time
I should be able to reach a lot more without them

leledumbo said:
I'm using the one from this post, which is taken straight from Nexus 5X. In my case, this boost my score from 44K to 54K. The device is a little warmer, just a little and it comes back cold quick enough.
EDIT:
Retried just now from a cold state, it reaches 63K!
Click to expand...
Click to collapse
Yhea the ones from the nexus 5x it's an intresting configuration, the PID algorythm for the throttle is really intresting for the cpu and gpu. While the monitor for the battery lacks some step, and there is a monitor to regulate the lcd brightness too that i don't like.
I'll try to merge best of both worlds and see what happens...
edit1:
Ok i modded it a little bit, now i will run some antutu with the snapdragon profiler activated via adb and see what happens
edit2:
Something went wrong with my mods, but with the conf unmodified i manage to get 64k.

GoldGanja said:
Yhea the ones from the nexus 5x it's an intresting configuration, the PID algorythm for the throttle is really intresting for the cpu and gpu. While the monitor for the battery lacks some step, and there is a monitor to regulate the lcd brightness too that i don't like.
I'll try to merge best of both worlds and see what happens...
edit1:
Ok i modded it a little bit, now i will run some antutu with the snapdragon profiler activated via adb and see what happens
edit2:
Something went wrong with my mods, but with the conf unmodified i manage to get 64k.
Click to expand...
Click to collapse
Hi,
my phone (Mi4c 3G/32GB) is getting hot very easy with you thermal config file may solve it, or is there other file that can make a bether work?
best regards,
John

Im using now the Resurrection Rom wich is really amazing.
You should give a try. Now i have stable 55K Antutu withouth throttle downs. Before the best result was with cm13 i reached 55K first run second run 47K and third run ~44K. Smiui after some runs i was at 33K.
I actually don´t know what they have done for getting this amazing result.
Resurrection: first test ~56 then ~55 then ~56K. Just amazing. AND it doesn´t heat as much, little bit more as the cm13 i think, i had to test that again.
Maybe they played around with the thermal engine, @GoldGanja .

I got 73k in Antutu when I left my phone on top of a cold ice bag during the test run (on TSL's Cyanogenmod). There's so much potential...

sbasil said:
I got 73k in Antutu when I left my phone on top of a cold ice bag during the test run (on TSL's Cyanogenmod). There's so much potential...
Click to expand...
Click to collapse
Yeah it is ! Then you should do it again with an oc-Kernel oO.

battery charge its more slower with this thermal config??

Great work !
My score with my device ( 32g-3g ) xiaomi.eu ROM 6.9.1.
Envoyé de mon Mi-4c en utilisant Tapatalk

mantappp ..

Related

Overclocking Tegra 2

OK, I am a kernel dev and just want to tell you of my findings and would want your opinion in what I did...
Anyways, I was able to Overclock this Gtab to 1.6 ghz at 1.350 mv (at least to boot), but it gave me a few instability so I upped the voltage to 1.375mv which had been very stable. So, I opened up the Gtab, ran a few 3d games and benchmarks and touched the tegra 2 CPU and noticed it didn't get that hot. I then though about putting a copper coin or something but then realized it wouldn't help much for...then I realized, DIAMOND..yes Diamond has a great thermal conductivity and heat dissipation.. So I went to Microcenter and bought a Diamond Thermal paste and put a small amount on top of the Tegra 2 chip..and BAM..1.350mv, stable with Dungeon Defender looping for 2 hours with no FC or hangs ..Now it even boots at 1.325 mv and just finished a AnTutu Benchmark (it wouldn't even boot at 1.325mv before)...What's your opinion on this? LMK.
Update:
Not it boots at 1.300mv and just finished an AnTutu Benchmark ...INCREDIBLE..I'll loop with Dungeon Defender and see how it goes
UPDATE:
INCREDIBLE!! Now it boots at 1.250mv at 1.6 ghz.
Update...hang at 1.250..Will try 1.275mv at 1.6ghz
UPDATE: PICTURES OF TEGRA2 CPU with Diamond Thermal Paste
Uh... how much is the diamond thing? I have absolutely no idea what you're talking about because I'm a hardware dummie, but it sounds really cool.
goodintentions said:
Uh... how much is the diamond thing? I have absolutely no idea what you're talking about because I'm a hardware dummie, but it sounds really cool.
Click to expand...
Click to collapse
I'll look for the receipt, but I think it was like 7.99 or something for a tube. Ill check the name. I was also thinking of cleaning up the heatsink/fan on my laptop...so I will apply this Diamond thing too..
Anyways, I finished a loop of Antutu at 1.250mv and I ran Dungeon Defender loop and got a hang Will increase the voltage at 1.275mv and see how it goes.
Update:
It's name says "IC DIAMOND" on the top of it says "Maximum Performance and Reliability" and on the bottom says "7 Carat Diamound Thermal Compound"
Well I am not a programmer but I have been following the kernel threads and I have to say that is stuff to be optimistic about. It not only speaks volumes about all of the devs hard work in getting the most out of the gTabs but also the gTabs potential.
I think this should be shared with Viewsonic and NV in the ongoing effort to have them continue to support this little tablet that could.
suvroadrage said:
Well I am not a programmer but I have been following the kernel threads and I have to say that is stuff to be optimistic about. It not only speaks volumes about all of the devs hard work in getting the most out of the gTabs but also the gTabs potential.
I think this should be shared with Viewsonic and NV in the ongoing effort to have them continue to support this little tablet that could.
Click to expand...
Click to collapse
Not sure if Viewsonic or NV will ever support this procedure. There are just too many variables to consider. I am not even sure if this will hold after a day or two..but will check...Anyways, currently looping at 1.275 mv.
clemsyn said:
Not sure if Viewsonic or NV will ever support this procedure. There are just too many variables to consider. I am not even sure if this will hold after a day or two..but will check...Anyways, currently looping at 1.275 mv.
Click to expand...
Click to collapse
VS and NV won't support this procedure because they are unwilling to do anything other than ignore the gtab. I think it is abundantly clear by now that we're on our own with the gtab.
goodintentions said:
VS and NV won't support this procedure because they are unwilling to do anything other than ignore the gtab. I think it is abundantly clear by now that we're on our own with the gtab.
Click to expand...
Click to collapse
Just got pimpmycpu working with my kernel. Will release a new batch of kernel with support for the program. Just awaiting approval from cpasjuste
clemsyn said:
OK, I am a kernel dev and just want to tell you of my findings and would want your opinion in what I did...
Anyways, I was able to Overclock this Gtab to 1.6 ghz at 1.350 mv (at least to boot), but it gave me a few instability so I upped the voltage to 1.375mv which had been very stable. So, I opened up the Gtab, ran a few 3d games and benchmarks and touched the tegra 2 CPU and noticed it didn't get that hot. I then though about putting a copper coin or something but then realized it wouldn't help much for...then I realized, DIAMOND..yes Diamond has a great thermal conductivity and heat dissipation.. So I went to Microcenter and bought a Diamond Thermal paste and put a small amount on top of the Tegra 2 chip..and BAM..1.350mv, stable with Dungeon Defender looping for 2 hours with no FC or hangs ..Now it even boots at 1.325 mv and just finished a AnTutu Benchmark (it wouldn't even boot at 1.325mv before)...What's your opinion on this? LMK.
Update:
Not it boots at 1.300mv and just finished an AnTutu Benchmark ...INCREDIBLE..I'll loop with Dungeon Defender and see how it goes
UPDATE:
INCREDIBLE!! Now it boots at 1.250mv at 1.6 ghz.
Update...hang at 1.250..Will try 1.275mv at 1.6ghz
Click to expand...
Click to collapse
Which MicroCenter? I thought about doing something like this but wasn't sure how much it would help. I guess this answers my question.
clemsyn said:
Just got pimpmycpu working with my kernel. Will release a new batch of kernel with support for the program. Just awaiting approval from cpasjuste
Click to expand...
Click to collapse
Wanna talk in english? No idea what pmcpu is.
I take it that pimpmycpu will NOT work with your
current kernels?
goodintentions said:
Wanna talk in english? No idea what pmcpu is.
Click to expand...
Click to collapse
Want to learn? This isn't preschool, if you don't understand a term, search for it. Not that hard to do.
albright said:
I take it that pimpmycpu will NOT work with your
current kernels?
Click to expand...
Click to collapse
It does now with my modified version of PimpmyGtab and kernel
I'd love to see pictures of what you did with your cpu Clemsyn.
If you get a chance, that would be awesome!
1.6? Holy moly! Can't wait to check it out!
tekrhino said:
1.6? Holy moly! Can't wait to check it out!
Click to expand...
Click to collapse
Got it at 1.7 actually, grabbed the second place in Antutu Benchmark Rankings. Second only to Dell Streak 7 (and their screen resolution is a less than the Gtabs which is the reason their score is high). Highest temp was 58 degrees
1700000mhz - 1450mv (stable at the moment) This is the max I am doing... I have a feeling 1.8ghz will need at least 1625mv...I am not risking my friend's Gtab for that
Tostino said:
I'd love to see pictures of what you did with your cpu Clemsyn.
If you get a chance, that would be awesome!
Click to expand...
Click to collapse
Ill take pictures after 48 hrs and see how it is doing.
AnTuTu System BenchMark
@clemsyn,
Howdy, Wanted to thank you for your work. Also need to commend tjohnsonjr on his Awesome GingerBread. And then, gojimi for his excellent launcher ( I highly recommend it. The docking of apps around 3 sides is scrumptious.)
G-Tab Configuration:
[ROM-AOSP]G-Harmony Gingerbread 2.3.3 with Honeycomb elements(UPDATED 4/17)
Clemsyn1.5GingerExtra.zip
Using CPU Master to set min and max to 1500 Mhz
Able to use Pimp My Cpu to drop voltage at 1500 Mhz to 1200 mV.
AnTuTu benchmark of 5032-5368
Once you have the GingerBread version of you PMCPU available, I would like to try the 1600 and 1700 Mhz values. At present, can't go beyond 1500 Mhz.
But, THANK YOU for all you do!!!!!
Once he reads my onslaught of PMs, clemsyn should have T25 spec 400mhz gpu working.. Although, mileage may vary.. It definately increased my graphics scores.. some benchmarks like quadrant already hit the ceiling as far as refresh rate and all that.. so that may not improve..
Picture of tegra 2 on Gtab with thermal paste uploaded
hmm?! You are just using thermal paste as a heatsync?? That is kinda strange, I mean I guess it increases it's thermal mass a little, but using thermal paste to attach a flattened penny (pre-1982) or something would do MUCH more to increase the thermal mass.

Tired of games lagging?Are you rooted?Try this and maximize your S4 gaming potential!

Only for i9505.
Hey guys!
I've been experimenting a lot with my S4 and I figured out why many games lag...
The reason is that my gpu clock drops from max clock I set, to 320mhz once the temperature reaches 68C!
Some may say, this doesn't happen because the gpu doesn't thermal throttle on the S4 like on the HTC One...
Well...I used performance governor which is supposed to keep the gpu clock to the max at all times, and guess what?
When the temperature reached 68C my gpu clock went down to 320mhz even with performance governor!
How is that possible...?
Performance governor can't throttle down!
Thermal throttling is to blame. (or something else, that doesn't care about governors? )
It's not a coincidence this happened at exactly 68C like before.
(If anyone wants to argue with me about this I'd appreciate if he/she doesn't spam my thread for the love of god and pm me.)
Anyway, enough with the prologue..
This was a royal pain in the ass for me because I almost regret selling my silky smooth S3.
After tons of random searching and messing with the system of my phone I found the solution!
Here it is!
Sell your S4!
Nah, I'm just joking!
It's a great phone.
Here's the real solution:
I set
/sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/min_pwrlevel
to 0 out of curiosity, which controls the lowest power level, or clock, that the gpu will use.
By default it's set at 4.
Since max was already 0 which means it's the highest value I set min to 0 too, and guess what?
The gpu clock remained at my set max, 504mhz, all the time, even after 68C!
Tried three games I know this problem happened and all three worked at 504mhz!
(for pure information, it was Modern Combat 4, Gangstar, and Asphalt 8)
How can you try it?
I've attached two scripts, one that sets the value to 0 and uses max gpu frequency all the time and one that sets the value to 4 so that the gpu can use the lower clock states again!
For Script Manager Users, free
Use script manager as root to run these widgets and I'd recommend you put two widgets on the home screen!
One for the first script enabling this tweak, and one for the second that disables it.
For Tasker Users, need to pay
If you have tasker you could use it too and set it to run the content of the first script as root at every heavy game and enable the tweak automatically, after that use tasker again to run the content of the second script when you go to your home screen (or anything else you want to set) and disable the tweak automatically!
Beware!I will not responsible if you damage your hardware!
Recommended prerequisites:
- Custom kernel preferably ktoonsez's or ausdim's, but any kernel with undervolt and thermal throttling control support will do.
Increased heat may be produced after doing this, so I recommend you to undervolt at least a little to reduce the overall heat, plus increase the thermal throttling limits too to prevent the cpu throttling down.
I use 85 as start limit and 82 as stop limit but you don't have to use my values.
I just find them safe enough and high enough so that they don't interfere with my games.
Try it and report back, many games are way smoother now, at least for me.
I'll be waiting for your results!
Have a nice day guys!
P.S. If you need to tune even more your device, take a look at my personal settings found here:
http://forum.xda-developers.com/showpost.php?p=45103847&postcount=1106
The gaming profiles are set at 1242mhz min now, not 1458mhz like before, because the gpu clocks work properly now the cpu doesn't need that much boost to avoid lag.
And the gpu clock I use now is 504mhz instead of the stock 450mhz in the link.
That's it!
You said that the gpu clock remained at my set max, 504mhz, all the time, even after 68C, but you didn't say how hot it got.
Did it get hotter than that? I'm a bit wary of frying the board to squeeze out a few extra frames on my device, but that's just me.
Haw much does it take you to reach 68° ? I have the 9500 version and i didnt face that problem yet.. it s going warm but doesnt lag
Envoyé depuis mon GT-I9500 en utilisant Tapatalk 4
donalgodon said:
You said that the gpu clock remained at my set max, 504mhz, all the time, even after 68C, but you didn't say how hot it got.
Did it get hotter than that? I'm a bit wary of frying the board to squeeze out a few extra frames on my device, but that's just me.
Click to expand...
Click to collapse
You won't don't worry.
Both the cpu and gpu have a tolerance up to 100C, plus the system automatically shuts down before reaching critical high temperature.
For me it didn't get much hotter, only a few degrees.
You can monitor the frequencies and temperature with the Qualcomm Trepn Profiler which is an advanced free monitoring app for Qualcomm devices:
https://developer.qualcomm.com/mobile-development/performance-tools/trepn-profiler
or
you can use this app by senior member @rlorange which is much simpler and gets the job done just right:
http://forum.xda-developers.com/showpost.php?p=44953638&postcount=3547
3ayachi said:
Haw much does it take you to reach 68° ? I have the 9500 version and i didnt face that problem yet.. it s going warm but doesnt lag
Envoyé depuis mon GT-I9500 en utilisant Tapatalk 4
Click to expand...
Click to collapse
Sorry but this is not for the i9500, this is the first thing I wrote.
I don't even know if this happens on your device mate.
Anyway, it doesn't take much, play a heavy game for a few minutes an you'll reach 68C.
Updated link with my settings, now it's correct.
Sorry about that.
Is it possible to change this value without a reboot ? Like in a small app for example ?
Hey buddy...juz chk yu are having any thermald file under /system/etc...??
thanks mate!! It's working perfectly
So this won't work with a rooted s4 on stock rom and kernel?
If not I'm returning my phone. I played vice city today and the lag was terrible. I've only had this phone for two days and I'm dissatisfied with verizon and samsung for gimping it and then locking it down.
imo, companies advertising the power of their chips is false advertising when they set temperature throttle so low
crazysoccerman said:
So this won't work with a rooted s4 on stock rom and kernel?
If not I'm returning my phone. I played vice city today and the lag was terrible. I've only had this phone for two days and I'm dissatisfied with verizon and samsung for gimping it and then locking it down.
imo, companies advertising the power of their chips is false advertising when they set temperature throttle so low
Click to expand...
Click to collapse
No mate, I'm sorry.
But good news is Samsung WILL fix your phone no matter knox 0x0 or 0x1.
(confirmed)
So flash your device and try again!
I must agree, companies are full of crap when advertising their products, it's so furstrating!
This throttling issue happens with any device, including iDevices.
Bootloader is locked. Most likely forever.
Don't have MDK so I cant loki.
Even with safestrap (which doesn't work for my MJ7) you can't flash custom kernels.
This phone is going back :good:
I'm going back to my trusty gnex for now. It would probably play GTA better at s4 resolution because I overclocked it and disabled thermal throttling.
Maybe I'll get a g2 with loki support...
Either way, I would like to give a Linus Torvalds Salute™ to samsung and verizon.
Too bad. :/
Wait for some exynos device or anyone with custom cpu/gpu because qualcomm imho isn't good enough.
I got this to work on my s4. Are there similar settings I can modify to prevent cpu throttling?
Edit: cpu throttling settings exist. But it wasn't throttling... it was changing governer and minimum frequency.
I set the governer to performance with root explorer and it's working perfectly.
Thanks op for the location of the gpu settings. There was no way I would have found it without your post.
I've tested it (works fine) but I have the feeling that somehow the phone is too warm
crazysoccerman said:
I got this to work on my s4. Are there similar settings I can modify to prevent cpu throttling?
Edit: cpu throttling settings exist. But it wasn't throttling... it was changing governer and minimum frequency.
I set the governer to performance with root explorer and it's working perfectly.
Thanks op for the location of the gpu settings. There was no way I would have found it without your post.
Click to expand...
Click to collapse
btmz said:
I've tested it (works fine) but I have the feeling that somehow the phone is too warm
Click to expand...
Click to collapse
Glad it worked guys!
Well, the temperature will definitely increase because of the increased gpu clock speed, but as long as cpu throttling temp is <=85 you should be fine.
That's what I've been searching for all day, I knew this device can handle those games, but the random stuttering was painful.
It lowers the GPU to 128 MHz, I measured that when I played Apshalt 8 and got my TricksterMod set in background. When the game dropped massive FPS I switched to Trickster and saw that the GPU is running 128 MHz, shocking. Ktoon's kernel has a touch boost which works nicely but Asphalt 8 is a racing game that uses the sensors to steer and so I did not touch my screen so often and I need that.
You sir deserve a medal.
GlossGhost said:
That's what I've been searching for all day, I knew this device can handle those games, but the random stuttering was painful.
It lowers the GPU to 128 MHz, I measured that when I played Apshalt 8 and got my TricksterMod set in background. When the game dropped massive FPS I switched to Trickster and saw that the GPU is running 128 MHz, shocking. Ktoon's kernel has a touch boost which works nicely but Asphalt 8 is a racing game that uses the sensors to steer and so I did not touch my screen so often and I need that.
You sir deserve a medal.
Click to expand...
Click to collapse
Thanks man!
I knew something was off the minute I started playing modern combat 3 and saw the same performance as my S3.
I researched quite a bit and found this in the end.
I even got in an argument with a guy at ausdim's kernel thread about this because he was saying I was talking nonsense and he wanted proof in order to believe me.
Well, here it is.
nfsmw_gr said:
Thanks man!
I knew something was off the minute I started playing modern combat 3 and saw the same performance as my S3.
I researched quite a bit and found this in the end.
I even got in an argument with a guy at ausdim's kernel thread about this because he was saying I was talking nonsense and he wanted proof in order to believe me.
Well, here it is.
Click to expand...
Click to collapse
Ah, yeah no one can say to me that the games run buttery smooth without any modification.
A game does not run smooth on 128 MHz.
And all those amateur reboot your device and etc... They are complete nonsense.
I want ask a thing before flashing... Is this only an unlock and gpu scales the frequencies as it needs or I have always gpu freq at max on depending on what I'm doing? I hope this only unlock the max frequency otherwise became e battery drainer hack! Tell me guy!
From universe with my gs4 snapdragon powered!
will try it, nice work!

Thermal throttling and hotplug settings

I have been able to fix quite a bit of thermal throttling experienced in multiple benchmark runs by tweaking with the thermal-engine configuration file. With just a few changes and with the copper shim mod I can now run geekbench for as many five times with almost no drop in score. After that I get no thermal throttling in single core but I have it setup to disable two cores after it hits 55C CPU temp in core 4 and 7. I use CPU Z to see actual CPU temp from the sensor readings. Even after 8 Geekbench runs the two cores are still running at full speed and the phone is registering 44C. It's warm but not hot by any means.
If anyone is interested in playing around with it just look for the file in \System\etc\thermal-engine-8994.conf
Most of it is just two adjustments. One for Max temperature at which it will throttle and the one below is the temperature at which throttling stops.
probaina said:
I have been able to fix quite a bit of thermal throttling experienced in multiple benchmark runs by tweaking with the thermal-engine configuration file. With just a few changes and with the copper shim mod I can now run geekbench for as many five times with almost no drop in score. After that I get no thermal throttling in single core but I have it setup to disable two cores after it hits 55C CPU temp in core 4 and 7. I use CPU Z to see actual CPU temp from the sensor readings. Even after 8 Geekbench runs the two cores are still running at full speed and the phone is registering 44C. It's warm but not hot by any means.
If anyone is interested in playing around with it just look for the file in \System\etc\thermal-engine-8994.conf
Most of it is just two adjustments. One for Max temperature at which it will throttle and the one below is the temperature at which throttling stops.
Click to expand...
Click to collapse
Without your copper shim mod have you found any better but safe values we can try?
At least no thermal throttle until 55 celsiius
It should be safe without the copper shim. The thermal pad it comes with works pretty well. It will still thermal throttle to whatever temperature you set it at so it won't cause any harm.
I've set the Big cluster to a max of 65C and a single A57 core to up to 71C and haven't had any problems yet. I used to get horrible performance with PPSSPP emulator. When running Tony Hawk Project 8 in PPSSPP after 30 seconds of gameplay It used to drop to 6fps and now it can sustain over 20fps after reaching 71C on a single A57 core. I only saw a maximum battery temperature of 40C and the device wasn't noticeably warmer than it was with the default thermal settings.
probaina said:
It should be safe without the copper shim. The thermal pad it comes with works pretty well. It will still thermal throttle to whatever temperature you set it at so it won't cause any harm.
I've set the Big cluster to a max of 65C and a single A57 core to up to 71C and haven't had any problems yet. I used to get horrible performance with PPSSPP emulator. When running Tony Hawk Project 8 in PPSSPP after 30 seconds of gameplay It used to drop to 6fps and now it can sustain over 20fps after reaching 71C on a single A57 core. I only saw a maximum battery temperature of 40C and the device wasn't noticeably warmer than it was with the default thermal settings.
Click to expand...
Click to collapse
[SS-LITTLE_CLUSTER_management]
algo_type ss
sampling 10000
sensor xo_therm
device cluster0
set_point 52000
set_point_clr 42000
action_type 10000
I should change for example here set_point to 70000? This is how it works?
kutulu32 said:
[SS-LITTLE_CLUSTER_management]
algo_type ss
sampling 10000
sensor xo_therm
device cluster0
set_point 52000
set_point_clr 42000
action_type 10000
I should change for example here set_point to 70000? This is how it works?
Click to expand...
Click to collapse
Well yes. Except that's the little cluster and they don't get that hot normally. It's the big cluster that needs to be modified. I also tuned my display thermals so the screen wouldn't get so dim when the phone gets warm. Here you can look over my configuration if you want.
https://www.dropbox.com/s/1yve5d0m7uin0ga/thermal-engine-8994.conf?dl=0
probaina said:
Well yes. Except that's the little cluster and they don't get that hot normally. It's the big cluster that needs to be modified. I also tuned my display thermals so the screen wouldn't get so dim when the phone gets warm. Here you can look over my configuration if you want.
https://www.dropbox.com/s/1yve5d0m7uin0ga/thermal-engine-8994.conf?dl=0
Click to expand...
Click to collapse
Thanks i will try them!!
your settings somehow "unlocked" my phones cpu. lol in geekbench I found an increase of performance of 200 points in multicore from 4020 I had before maximum , now nearly 4300 .It is impressive. also if I run 6-7 geekbench in a row there is a decrease everytime ex 4200 4050 3900 3600..... but temperature stays 45 degree.
I will test them more later.
http://browser.primatelabs.com/user/73366
Someone try this?
Wysłane z mojego LG-H955 przy użyciu Tapatalka
Other than the two of us?
kutulu32 said:
your settings somehow "unlocked" my phones cpu. lol in geekbench I found an increase of performance of 200 points in multicore from 4020 I had before maximum , now nearly 4300 .It is impressive. also if I run 6-7 geekbench in a row there is a decrease everytime ex 4200 4050 3900 3600..... but temperature stays 45 degree.
I will test them more later.
http://browser.primatelabs.com/user/73366
Click to expand...
Click to collapse
Thanks for sharing your results. That's the highest multi core score I've seen on our phones. I never gotten that high of a multi core score. Glad to help. My configuration also tweaked the battery thermal settings so now you should see faster charge times as well. The default charge rates had really conservative thermal settings and the high speed charge would drop after a while but now it will 2.2 to 2.4 amp charge through the whole charge.
probaina said:
Thanks for sharing your results. That's the highest multi core score I've seen on our phones. I never gotten that high of a multi core score. Glad to help. My configuration also tweaked the battery thermal settings so now you should see faster charge times as well. The default charge rates had really conservative thermal settings and the high speed charge would drop after a while but now it will 2.2 to 2.4 amp charge through the whole charge.
Click to expand...
Click to collapse
Yes indeed i saw a difference in chargin thanks for your effort in the configuration. I am not very fond of benchmarks but i run some in my devices after magor changes (firmware....). This device should have been speedier because of the full hd snapdragon 810 combination. I wonder if we delete the thermal config is the device gonna be speedier? I am waiting for 5.1.1 hoping for smoother rom. Lets hope soneone unlocks the bootloader!!!! I took my precautions disabling MLT lol
probaina said:
Well yes. Except that's the little cluster and they don't get that hot normally. It's the big cluster that needs to be modified. I also tuned my display thermals so the screen wouldn't get so dim when the phone gets warm. Here you can look over my configuration if you want.
https://www.dropbox.com/s/1yve5d0m7uin0ga/thermal-engine-8994.conf?dl=0
Click to expand...
Click to collapse
My phone gets really hot with those settings
I overwrote the original one ^^ has someone made a backup and can share it with me.?
I guess it depends on what you're doing but I probably wouldn't play any 3d games with those settings. Here's a copy of the original one https://www.dropbox.com/s/yb76q6qwanb9ujr/thermal-engine-8994.conf?dl=0
smouker said:
My phone gets really hot with those settings
I overwrote the original one ^^ has someone made a backup and can share it with me.?
Click to expand...
Click to collapse
When you apply the settings you need to give time to the phone to 'absorve' them.
Run a couple of benchmarks, test a 4k video, reboot the phone 3-4 times, close it also.
I havent noticed higher tdmperature of 45 celsius.
kutulu32 said:
When you apply the settings you need to give time to the phone to 'absorve' them.
Run a couple of benchmarks, test a 4k video, reboot the phone 3-4 times, close it also.
I havent noticed higher tdmperature of 45 celsius.
Click to expand...
Click to collapse
I noticed that haha now its fine
kutulu32 said:
Yes indeed i saw a difference in chargin thanks for your effort in the configuration. I am not very fond of benchmarks but i run some in my devices after magor changes (firmware....). This device should have been speedier because of the full hd snapdragon 810 combination. I wonder if we delete the thermal config is the device gonna be speedier? I am waiting for 5.1.1 hoping for smoother rom. Lets hope soneone unlocks the bootloader!!!! I took my precautions disabling MLT lol
Click to expand...
Click to collapse
I'm not sure what would happen if you just deleted the file. Maybe it'll revert to some default, or perhaps it won't thermal throttle at all which would result in auto shut off when it overheats. Probably not worth risking it without a custom recovery in case it doesn't boot.
I have notice that my phone is way quicker now. It was fast before but now it's a beast when I push it hard. Also things like PPSSPP emulator was useless with the default thermal throttling now it can beat my Tegra note 7 with 4 A15 cores at 2.1ghz at it.
Was there a problem with your settings? I noticed your settings you had shared on dropbox are no longer available.
uh60james said:
Was there a problem with your settings? I noticed your settings you had shared on dropbox are no longer available.
Click to expand...
Click to collapse
The folder was deleted for some odd reason. I was able to restore it so the link should work now. Let me know how it works out for you.
A few questions about these settings.
-At the top where you have SS-Little_Cluster_management and SS-Big_Cluster_management is the set point the shutdown temp for the entire cluster?
-I think this one is self explanatory by the action listed but towards the middle where CPUx_MONITOR for each core is, is the threshold the temperature at which the entire phone shuts down?
-I'm not sure I am noticing the difference between SS-CPUx and CPU_HOTPLUG_MONITOR. Could you explain these?
uh60james said:
A few questions about these settings.
-At the top where you have SS-Little_Cluster_management and SS-Big_Cluster_management is the set point the shutdown temp for the entire cluster?
-I think this one is self explanatory by the action listed but towards the middle where CPUx_MONITOR for each core is, is the threshold the temperature at which the entire phone shuts down?
-I'm not sure I am noticing the difference between SS-CPUx and CPU_HOTPLUG_MONITOR. Could you explain these?
Click to expand...
Click to collapse
I don't want to assume I know everything about this. Everything I know about the thermal configuration file I learned from seeing others modify the LG G3 thermal config file. I also learned some by experimenting with my G Flex 2.
In my understanding SS-Little_Cluster_management and SS-Big_Cluster_management is the temperature at which the Cluster will thermal throttle when all cores in the cluster are being used at once. From what I've seen anything with "action_type 10000" means thermal throttle. The closest thing I can think off that works like that is how Intel I5 and I7 will limit turbo speed when more than one core is being used. Except in our case this is to prevent higher speeds when it reaches a certain temperature. So lets say your phone is running some heavy multithreaded app now it's going to follow the rules set in Cluster_management. The default Big Cluster temperature is set to start slowing things down when temperature reaches 48C and to not go back to full speed until the temperature drops down to 38C. One thing I find interesting is that at about 48C cluster temperatures was about where the Big cores would drop to a max of 1.5 ghz. So I'm just guessing that this setting may play a big part on the big cores max speed.
[CPUx_MONITOR] seems to shutdown the phone when the core reaches a certain temperature threshold of 120 C and I assume will not allow it to turn back on until it drops below 115C.
[SS-CPUx] on a big core seems to slow the specific core down when it reaches a temperature threshold of 85C and to not allow it to go to full speed until it drops below 55C. However this rule can be overwritten by [CPUx_HOTPLUG_MONITOR] which can shut down a core even if it hasn't reached it's maximum temperature threshold.
[CPUx_HOTPLUG_MONITOR] just tells the specific core to turn off once it reaches the temperature threshold specified. On the default configuration core 4 and 7 are set to turn off when their temperature goes above 50C. After that core 5 turns off at 58C and even core 6 turns off at 61C. At which point only the small cores will remain on.
I hope that helps somewhat.

Overheating

Hi, 3 day ago I recieved my Mi4c (3gb) and just after couple of minutes surfing on the net I realized, that the top of the phone is really hot (the bottom was normal). The next day I tried it with game - after just one or two rounds (about 2 minutes) phone got hot again - again at the same area. I downloaded some app and I looked at the temperature after running the game - it showed even 55 degrees Celsia. Is it faulty piece or is it just software issue, which can be fixed by different ROM ?
Under load, the SD808 can get pretty warm.
Add to that the fact that MIUI (in all of its various forms) is a steaming, overheated pile of rhinoceros feces and you have a terrible combination just asking for heating problems.
TS CM13 does a pretty good job of mitigating the software issues that lead to heating.
The phone will always get warm when playing moderately intensive games or when used in direct sunlight on warm (30c+) days.
I found that the miui versions some vendros provide are manipulated or corrupted by vendors,
I suggest you check if your bootloader is unlocked, install a recovery, do a total format (not a factory reset, a full system format from recovery) and install the latest miui,
I had overheating issues and the phone would eat the battery away in less then 12 hours, i did this and im currently going on 39h standby and around 1 - 1.5 hours screen time and i still have 34% of the battery life.
Clean house, start from zero and you might be surprised.
Just installed MIUI 7.1.6.0 Global stable from xiaomi.eu and I like it more tham MIUI 8 already. Plus, phone seems to be a little cooler. Snapdragon 808 is still a hot chip though, so don't expect miracles.
Switched from MIUI 8 because of heat and battery life issues.
I tested different rooms and every room has overheating. The only difference is the time the systems downclock the CPU.
In cm13 I changed the values so it doesn't close the big cores so fast.
But the big cores are still the most time off.
Normally my Temps are between 40 and 60 °C
And that's bad.
Miui doesn't change anything.. Only the time of throttling.
I don't need a phone that throttles itself when turned on.
When I'm home I'll try to open the back cover and take a look.
Maybe I can hard mod it in some way.
I'm facing the same problems here.
I use dual Sim, so I thought this could be the signal usage. But my battery is draining faster and faster. Some times even dropping from 14% to 10% in 1 sec!
When using wifi, the cpu reaches over 50ºC (currently 57-59ºC). MIUI 8 didn't help much.
I'm using my phone a lot, 3G and screen on for long time, but it's dropping from 100 to 15% in less than 7 hours...
Is there anything that I could do?
Install MIUI 7.1.6.0, temps and battery are better, or go Apollo the way and flash CM13 or Slim
I have over-heating problem too. Specially by keeping screen on for several minutes. I'm on miui 8 by xiaomi.edu
The overheating is caused by a ****ty rom some vendors use,
Install the latest recovery, and do a full advance wipe (everything except OTG USB), then do the format,
DO NOT REBOOT the phone, connect it to the PC and copy over the latest miui weekly (i used 6.9.1) and flash it, then see if it keeps overheating.
Apparently some of the malware some vendors install are hard to get rid of, i had weekly, monthly, slim6, Teamsuperluminal and Omni rom installed, and they all showed the same issue. it wasnt until i did this "sanitation" process i managed to get rid of the heat issue.
kar5ten said:
When I'm home I'll try to open the back cover and take a look.
Maybe I can hard mod it in some way.
Click to expand...
Click to collapse
You found some way to hard mod it ? =) The snapdragon 808 would be very powerful if there aren´t that overheats.
Making some holes in the back cover (get out hot air) or give more space (case is extremly tightly built) ? A heat pipe (passive cooling)?
Things are a lot better using an undervolted kernel. Built one from kuma sources (not for MIUI), I could share if you want.
Danny94 said:
You found some way to hard mod it ? =) The snapdragon 808 would be very powerful if there aren´t that overheats.
Making some holes in the back cover (get out hot air) or give more space (case is extremly tightly built) ? A heat pipe (passive cooling)?
Click to expand...
Click to collapse
nice idea with passive cooling
i glued my nhd 14 to the back that helped
no serious i dont have any clue to make the phone cooler with hardware modifications.
without the backcover it isnt cooler. the difference isnt noticable.
i would say how the cpu is build into the phone is wrong.
for me the phone isnt worth it anymore. im moving to a BQ or the HTC10.
why should i use a phone that i have to downclock to a fraction of its performance ?
or i use normally and get throttled after 20 minutes?
and it doesnt matter which os i use any miui or cm version suffers from overheating.
so i think ether xiaomi make mistakes while building the phone or it is just the bad 800 series.
but looking at the lg g4 the picture is the same. so qualcomm is to blame for it.
sorry for this but the only solution is to use a fan on the back OR the better solution buy a better phone ;(
edit:still finding grammar fails
For anyone willing to try this is an undervolted kernel based on kuma's sources and a modified msm8992-regulator.dtsi with lower ceil voltages.
Tested only on CM13 but should work for other ROMs based on CM13. It can make your phone unstable (freezes, crashes), so before you try either keep a backup of your current kernel or simply boot (don't flash!) the kernel to ensure that everything works normally:
Code:
fastboot boot undervoltedk.img
@Ydraulikos
im already using a kernel from kuma (Resurrection Rom) and yeah its very great, less overheating. The Rom itself is slim for less heating too.
But its overheating though while playing 3d games for a longer time.
@kar5ten
..nhd 14.. that would look funny xD.
Yeah the problem is the cpu. Snapdragon 808 and 810 suffering from overheating, 810 more.
But xiaomi could handle this too. Not use this cpu or built better cooling system, instead make it as thin. The most temperatures i have is on the top right. If they used passive cooling like pipe heats for distribute the heat, we don´t have this problem or rather less overheating.
@Ydraulikos thanks i will try this.
@Danny94
i made another test.
i use resurrection rom 5.7.1 with oc kernel 1.12 (intelliactive gov.) custom temp. throttle at 75 C
i opened the back and added aluminium foil .
10 layers on the upper side where the cpu sits and 6 layers above the battery and the cpu. they both are connected.
now i run antutu 3-4 times and i got these results
75899-74012-70371-68155
with max temp of 53 C after those 4 runs.
the idle temps are now at 30 -35 C most time
but i only tested it for 2 hours
@kar5ten
oh nice that sounds like a good idee! And withouth foil wich results you get, antutu - temps ?
The Alumiunium foil could take the heat from the cpu and distribute it over the device, for better result thermal paste as connection between cpu and foil could help.
Maybe with another material (foil) you could improve it as well. The best result you would get maybe if the backcover consists of metal, this way you could get the heat out of the phone, air cools metal. (problems.: back cover can get hot, you can heat back cover with hands[maybe a case])
Care about that foil doesn´t heat up the battery and the metal can disturb radio signals (gps wifi mobile data).
Could you share a picture as well of your modified version here in the forum, maybe one too please how it looks inside. At the moment i don´t have a plan how to open the back cover. =)
I will post some pictures but next weekend. Before I open it again I want to test it.
I don't know the exact results from antutu before I modded it.
First 75k
2nd 60k
3rd 55 k
At the moment I didn't noticed any signal drop or something.
kar5ten said:
I will post some pictures but next weekend. Before I open it again I want to test it.
I don't know the exact results from antutu before I modded it.
First 75k
2nd 60k
3rd 55 k
At the moment I didn't noticed any signal drop or something.
Click to expand...
Click to collapse
Hi,
Did you have the opportunity to take some pictures of your mi4c modding?
would be also great to have a slight bigger case it probably help with the overheating.
best regards,
John
@patadas I get a new case this weekend. Then I will take some photos.
But the problem is to open the phone
kar5ten said:
@patadas I get a new case this weekend. Then I will take some photos.
But the problem is to open the phone
Click to expand...
Click to collapse
To open the case i have found a video, see the video and tell me if the video does help in anything?
by the way : Xiaomi Mi4c Teardown
http://www.myfixguide.com/manual/xiaomi-mi4c-teardown/

Pixel 3 XL thermal hacking

After lot of research I have finally confirmed that Pixel 3 / XL:s are thermal throttling at very medium temperatures compared to example OnePlus phones, causing stuttering, framedrops, camera hangouts etc... I even tested it in Call of duty Mobile and with cooled phone i was able to play without any stutters, solid frametimes. Without cooling that game is literally unplayable.
I have found thermal-engine conf files from /system/vendor/etc, but those files are "read only" and cannot be changed. I tried with android pie and with TWRP to modify, even delete those files, but they always come back when you boot up your phone.
When booted to android and through ADB shell, commands like chmod 777 /system/vendor/etc are not working. My question is, is there a way to change those files or are they hard locked? Here is a link that confirms that it is actually possible to manipulate those files, but that poster is gone from the forum, and he is/was a professional software engineer, so im asking help here.
Link to post what im basically trying to do: https://forum.xda-developers.com/android/help/thermal-engine-conf-pixel-2-to-hack-t3779715
Bump because this is the reason we cannot do any overclocking on these phones.
It sounds like it's on the system partition which is read-only(my knowledge of the partitions in android is limited)? So maybe this is something that would have to be added to the .img file when flashing a custom ROM....
Maybe use a Magisk mirror?
Ojiz1 said:
After lot of research I have finally confirmed that Pixel 3 / XL:s are thermal throttling at very medium temperatures compared to example OnePlus phones, causing stuttering, framedrops, camera hangouts etc... I even tested it in Call of duty Mobile and with cooled phone i was able to play without any stutters, solid frametimes. Without cooling that game is literally unplayable.
I have found thermal-engine conf files from /system/vendor/etc, but those files are "read only" and cannot be changed. I tried with android pie and with TWRP to modify, even delete those files, but they always come back when you boot up your phone.
When booted to android and through ADB shell, commands like chmod 777 /system/vendor/etc are not working. My question is, is there a way to change those files or are they hard locked? Here is a link that confirms that it is actually possible to manipulate those files, but that poster is gone from the forum, and he is/was a professional software engineer, so im asking help here.
Link to post what im basically trying to do: https://forum.xda-developers.com/android/help/thermal-engine-conf-pixel-2-to-hack-t3779715
Click to expand...
Click to collapse
I made a magisk module to disable thermal throttling.
try it
On pie you can disable verity and then files are easy to modify. On Q the module option is your only option.
gacky1601 said:
I made a magisk module to disable thermal throttling.
try it
Click to expand...
Click to collapse
You are GODsend! Im so grateful!!! im giving try now if it works i want to donate something for you!
gacky1601 said:
I made a magisk module to disable thermal throttling.
try it
Click to expand...
Click to collapse
I checked the zip. and found that there were Blueline confs and then renamed those as "Crosshatch" and now it works! I dont find words to thank you enough!! So happy now you just basically stopped my one month pain! Now i have tested, no thermal throttling cpu at 2.8 ghz on thermal throttling app. Looks good but i was little shocked when cpu hits 52 celsius anf battery 51 celsius while gaming cod mobiles battleroyale. Otherwise it was almost buttery smooth but phone gets quite hot too. What you think is it running too hot now? Maybe i should try to modify those original confs, but there were so much of those values that it can be hard for me..
Ojiz1 said:
I checked the zip. and found that there were Blueline confs and then renamed those as "Crosshatch" and now it works! I dont find words to thank you enough!! So happy now you just basically stopped my one month pain! Now i have tested, no thermal throttling cpu at 2.8 ghz on thermal throttling app. Looks good but i was little shocked when cpu hits 52 celsius anf battery 51 celsius while gaming cod mobiles battleroyale. Otherwise it was almost buttery smooth but phone gets quite hot too. What you think is it running too hot now? Maybe i should try to modify those original confs, but there were so much of those values that it can be hard for me..
Click to expand...
Click to collapse
yes, I think I shouldn't override the files with empty files under some circumstance.
I'll try to modify some values later.
gacky1601 said:
yes, I think I shouldn't override the files with empty files under some circumstance.
I'll try to modify some values later.
Click to expand...
Click to collapse
Not your fault, I asked it!
Hi.
Can this option "thermal hack" works on battery charging. At high percentage it reduces the charging rate to about 1000mAh
Could be there a solution to leave it 18watt or at least 15watt
---------- Post added at 08:02 PM ---------- Previous post was at 08:00 PM ----------
Ojiz1 said:
I checked the zip. and found that there were Blueline confs and then renamed those as "Crosshatch" and now it works! I dont find words to thank you enough!! So happy now you just basically stopped my one month pain! Now i have tested, no thermal throttling cpu at 2.8 ghz on thermal throttling app. Looks good but i was little shocked when cpu hits 52 celsius anf battery 51 celsius while gaming cod mobiles battleroyale. Otherwise it was almost buttery smooth but phone gets quite hot too. What you think is it running too hot now? Maybe i should try to modify those original confs, but there were so much of those values that it can be hard for me..
Click to expand...
Click to collapse
Can u share that file with "crossbatch" codename .?
Thank you °^
STALKER18 said:
Hi.
Can this option "thermal hack" works on battery charging. At high percentage it reduces the charging rate to about 1000mAh
Could be there a solution to leave it 18watt or at least 15watt
---------- Post added at 08:02 PM ---------- Previous post was at 08:00 PM ----------
Can u share that file with "crossbatch" codename .?
Thank you °^
Click to expand...
Click to collapse
Im pretty sure that this "thermal hack" isnt going to speed up charging, but I havent tested it with timer. This mod disables CPU, GPU, modem and battery thermal throttling, but the safe functions (shutdown) are working properly, so you should be fine, if pushing it to the limits. I dont guarentee if this can ruin the hardwares, but at least its safefucntion will shutdown the phone, but everybody will use this with their own responsibility!
Installation:
- Rooted device with working magisk
- Attached zipfile in the phones storage
- Go to modules in magisk, find that zip and tap on it, reboot
Thermal Throttling off, gaming performance
Okey, so im little confused now.. Even when disabled or with custom thermalmode, no matter of game settings, I still get very stuttery gaming performance from my Pixel 3 XL. (Cod battleroyale is the worst, Pubg works better) . What is Bottlenecking so much? My old Oneplus 5 handles better Cod Mobile BattleRoyale.. In benchmarks my Pixel destroys OP 5, but the games just arent working without a lot of stutters... Frames are as expected (50-60 fps) but there is a lot inconsistent frametimes aka. stutters.
Have tried with android Pie, Havoc OS nothing helps.. I just want to know what can be the problem? Low Ram speed (in Pc world that matters so thinking if Google has used some **** ram), Ram management problems in the software? Cod Mobile eats 1,0-1,3 gb of ram and I have free ram when booted about 1,5-1,7 gb.

Categories

Resources