yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] rob151515:
Typo?

I think there may be a typo in the thermal-engine.conf. In the [MONITOR_MSM_THERM_CLUSTER] section the second set of throttle temps has it thottling to '12480000'. Shouldn't this be '1248000' (ie. one less zero)?
[Nexus 6P Android Development] Robshr:
Thanks nice catch fixed and revised 6.1 uploaded
[Nexus 6P Android Development] rob151515:
No worries. I live to give.
[Nexus 6P Android Development] Robshr:
New poll added wanted to see what everyone thinks

Thanks
[Nexus 6P Android Development] OmegaBlaze:
[MENTION=4888382]Robshr[/MENTION] is there a thermal config that can lower the battery temp on the 6P?
[Nexus 6P Android Development] VanillaCracker:
I voted "not much of a difference". I'm just running this with default set up, all I did was flash and reboot - no kernel app tweaks or anything - would I still see the effects of this?

I didn't want to make any changes as this phone seems to be pretty unstable as it is (at least my setup) with a couple lock ups a day (not during games) - and I didn't want to antagonize anything.
[Nexus 6P Android Development] Batfink33:
You have to enable this mod in a kernel app, that's why you're seeing no difference.
[Nexus 6P Android Development] Robshr:
Not that I've found yet
[Nexus 6P Android Development] droid_1989:
Works on DP5?

(searched thread, only thing I can see is someone mentioning that their battery temp was high)

---------- Post added at 04:18 PM ---------- Previous post was at 04:17 PM ----------

Works on DP5?

(searched thread, only thing I can see is someone mentioning that their battery temp was high)
[Nexus 6P Android Development] eduardozeassesme:
yeah, working very fine
[Nexus 6P Android Development] soosoolhastam:
nevermind
[Nexus 6P Android Development] xflowy:
with version 6.1 revised, do i still need to choose msm thermal driver over core control or what do u mean by "selecting the stock thermal hotplug"? which one should i apply to have the effects.

[MENTION=4888382]Robshr[/MENTION]

thanks :)
[Nexus 6P Android Development] Robshr:
Yes MSN thermal
[Nexus 6P Android Development] xflowy:
does enabling both, core_control and msm_thermal make any sense? in general.
[Nexus 6P Android Development] Balino:
Yes, keep device cool, but you won't have any advantage from the mod ( should be the same if you leave msm thermal off and core control on)

Inviato dal mio Nexus 6P utilizzando Tapatalk
[Nexus 6P Android Development] Robshr:
No you can only have one enabled at a time or they conflict
[Nexus 6P Android Development] barturblits:
Documentation states you should not enable more than one thermal driver but these three items are part of one thermal driver:

Core control: disables cores to cool down

VDD Restriction: lowers voltage

SoC temperature limit toggle: lowers cpu frequencies

So it should not be a problem to activate all three items. But I could be wrong and these three could all be independent drivers. Documentation is vague.
[Nexus 6P Android Development] xflowy:
[MENTION=4888382]Robshr[/MENTION] u talking of a xceed kernel in op. where can i find it?

and does this mod still gets updated?

thank u!
[Nexus 6P Android Development] Criton30:
Can I use this mode on Stock rom with the latest Franco kernel?
[Nexus 6P Android Development] xflowy:
yey? :)
[Nexus 6P Android Development] Robshr:
Yes xceed and you'd have to do a search to find it
[Nexus 6P Android Development] xflowy:
did that.... but yea. nvm
[Nexus 6P Android Development] Ghost9867:
Can we plesso have this mod for the nexus 5x?
[Nexus 6P Android Development] Robshr:
Post me a link to your thermal files located in system/etc and I'll see what I can do
[Nexus 6P Android Development] Robshr:
yes I'm working on a new version now just not enough time in the day been busy , but shouldn't be to much longer
[Nexus 6P Android Development] Ghost9867:
the thermal engine file ?

edit: if yes

Here you are https://drive.google.com/file/d/0B1eV9uDjq4OcTXg2OGY4cjhmUEE/view
[Nexus 6P Android Development] Robshr:
Yes and thermald file if you have it probably not though
[Nexus 6P Android Development] sharp87:
which one is the stable mod... there r too many

Sent from my G➿gle Ne❌us 6P
[Nexus 6P Android Development] Ghost9867:
you need other file ?
[Nexus 6P Android Development] ali nz:
Can we use this mod for nougat? If not are you working on nougat?????
[Nexus 6P Android Development] Batfink33:
Yes, you can use it on Nougat.
[Nexus 6P Android Development] Robshr:
Yes but I will be updating with a nougat version soon
[Nexus 6P Android Development] Donric13:
Great. My phone is feeling quite hot using ctt mod with Francisco's kernel on N.
[Nexus 6P Android Development] Robshr:
The latest version 6 revised
[Nexus 6P Android Development] Robshr:
How long have you been running nougat it'll take a few reboots and charge cycles to settle in
[Nexus 6P Android Development] Donric13:
Okay. Gonna give it some more time. Until now one day. It

Gesendet von meinem Nexus 6P mit Tapatalk
[Nexus 6P Android Development] Robshr:
Would someone post me the thermal file from nougat just upload the file to your drive, mega or whatever you use

Thanks , I just don't have the time to switch right now to get the file
[Nexus 6P Android Development] zurdo1981:
Sorry for the noob question, is it possible to use this mod with the kranco updater app? I don't find anywhere to choose the core control option

Enviado desde mi Nexus 6P mediante Tapatalk
[Nexus 6P Android Development] Donric13:
https://drive.google.com/file/d/0B8TPq-XGkF_ELUJLcy1NTWpwQTQ/view?usp=drivesdk

Here it is.

Gesendet von meinem Nexus 6P mit Tapatalk
[Nexus 6P Android Development] Robshr:
New version posted for nougat down below

Updated Version In Op
[Nexus 6P Android Development] shadowstep:
For anyone who's interested, I've compared the stock thermal-engine.conf from Android 6.0.1 Marshmallow with the same from Android Nougat 7.0 and the only difference is that in 7.0's stock thermal-engine.conf, Google has added the following additional section, which was not there in 6.0.1's version of thermal-engine.conf -

[MONITOR_MSM_THERM_BUS]
algo_type monitor
sampling 1000
sensor msm_therm
thresholds 48000
thresholds_clr 47000
actions bus
action_info 1
[Nexus 6P Android Development] shadowstep:
[MENTION=4888382]Robshr[/MENTION] Thanks for your work! :) After going through this new thermal-engine.conf that you have uploaded for 7.0, I have two questions, which are -

1. Is there a reason why an entire section has been removed (which is present in the stock thermal-engine.conf of 7.0)? The following section is missing entirely from the new thermal-engine.conf file that you have uploaded for 7.0 -

[MONITOR_MSM_THERM_BUS]
algo_type monitor
sampling 1000
sensor msm_therm
thresholds 48000
thresholds_clr 47000
actions bus
action_info 1

2. Under the [MONITOR_MSM_THERM_GPU] section, I see the second value of action_info as 510000000zQ. Should it have the zQ at the end or is that a typo by any chance?
[Nexus 6P Android Development] Robshr:
Can you post me a link to your stock thermal file it might be because the other one someone posted might be from one of the preview versions. I'm still running mm and just haven't had time to flash nougat
[Nexus 6P Android Development] shadowstep:
Here you go mate: https://drive.google.com/open?id=0By6emCRqXQKRcW9pb2pjNXAxaWM
[Nexus 6P Android Development] Donric13:
Agree. The termal.config is from WETA7. 01.

Gesendet von meinem Nexus 6P mit Tapatalk
[Nexus 6P Android Development] Salval:
Will this work with Pure Nexus and Elemental X? Thanks.
[Nexus 6P Android Development] shadowstep:
[MENTION=4888382]Robshr[/MENTION] Any update on this question? Just want to confirm. Thanks! :)

P.S. - It's from the CTTMod for Android 7.0 that you have released.

Yes, it will!
[Nexus 6P Android Development] Robshr:
Sorry yes a typo and it's been fixed

Thanks
[Nexus 6P Android Development] fix-this!:
Does this have a negative effect on 7.0?
[Nexus 6P Android Development] Robshr:
It shouldn't but it's always best to reflash
[Nexus 6P Android Development] Robshr:
Latest Nougat version up in op
[Nexus 6P Android Development] shadowstep:
Thanks for this! Btw, I checked the flashable zip and there's an error. The thermal file present there is thermal-engine.

config

whereas it should be thermal-engine.

conf

.

I've made the necessary changes to the your flashable zip, please feel free to check and use the attached flashable zip for the OP. :)

EDIT: Removed my flashable zip as the one in the OP now has been fixed. Thanks [MENTION=4888382]Robshr[/MENTION]!
[Nexus 6P Android Development] ps000000:
Does 7.x version compatible with 6.X custom ROMs ?
[Nexus 6P Android Development] shadowstep:
Use 6.1_Revised for 6.x.x ROMs and 7.1_Revised for 7.x.x ROMs. Both the flashable zips have different values present in the thermal file, and hence it is definitely not recommended to use the flashable zip meant for 7.x.x with a 6.x.x ROM.
[Nexus 6P Android Development] JaZart:
What affect does this have on battery life?
[Nexus 6P Android Development] Robshr:
Very little if any
[Nexus 6P Android Development] Papote3:
[MENTION=4888382]Robshr[/MENTION]

Would this work with Magisk?

If no, could it be made to work with it?

I saw on a N5X thread that they made a similar thermal mod to work with magisk

Sent from my Nexus 6P
[Nexus 6P Android Development] Robshr:
Yes I don't see anything that would stop it from working my mod changes a system file which should not be affect by magisk
[Nexus 6P Android Development] IM0001:
The only problem with battery life, or more so, battery charging performance, is how this mod allows the CPU to go to a higher but still safe CPU Temp, which will in turn cause a higher battery temp (40C is easy to hit under a good amount of load over time). This will cause the battery to charge much slower than if it was below 38C where Fast Charging can start ramping up, and even normal charging is slower above that. (Due to it being bad to charge the battery above 45C as it will degrade the battery faster than normal) so the checks are in place to keep things lasting.

The CPU heat increase itself is fine however and though it doesn't affect battery life due to heat, it will affect the battery life due to usage since your CPU is able to run at a higher level for longer, so in turn sucking down a little more juice if you are gaming or something for an extended period.

Overall though, this mod is quite good and won't directly affect your battery life in a negative way. The snappiness of the device overall is a welcome change from the stock profile for sure. Now to repaste this darn thing...
[Nexus 6P Android Development] Papote3:
But will it tick off SafetyNet?

Sent from my Nexus 6P
[Nexus 6P Android Development] Samuel Holland:
Just wanted to say thanks and this has seemed to really make a difference. Thank you for sharing.
[Nexus 6P Android Development] Robshr:
New version for nougat out ( improved performance)
[Nexus 6P Android Development] mosd:
Tried to install this. After flashing and going into kernel auditor the app doesn't save the changes whenever i reboot, the soc limit toggle is of again.
[Nexus 6P Android Development] str8str:
Can this be used with govtuner?

The Root Of Discovery. XDA
[Nexus 6P Android Development] Robshr:
Don't know what govtuner is but from the sounds of it, it just tunes the governor so it shouldn't intefer ( only if it changes the thermal. That must be set as power this op )
[Nexus 6P Android Development] str8str:
So far working great together. Using a couple tweaks from l speed as well.

The Root Of Discovery. XDA
[Nexus 6P Android Development] Robshr:
CTTMod for MM updated to 6.2
[Nexus 6P Android Development] mcmb03:
Is the stock thermal zip OS independent?
[Nexus 6P Android Development] RASanchez007:
Hi I just flashed this mod but for step 5 of the instructions, do I just enable msm_thermal and apply on boot for EX Kernel Manager?

I don't know if I have to change the temperature limit SoC thing or another thing
[Nexus 6P Android Development] str8str:
Yes select and apply on boot

The Root Of Discovery. XDA
[Nexus 6P Android Development] teajanky:
so did I get it right that I can use it even with msm_hotplug enabled? before your mod I used that and core control as I read this somewhere else but now I want to install your mod (msm thermal instead of core control is clear but can use msm_hotplug too or is that unnecessary or or even contradictory?)

I'm on ninja kernel 3.8 with hawktail1.2 kernel script
[Nexus 6P Android Development] vooze:
Just wanted to say thank you, it's really awesome. My phone never throttles anymore :D
[Nexus 6P Android Development] verynuclear:
Very nice mod

Fixed my lag problem with castle clash. The temperature gets higher than normal but i understand that this might happen for better performance. My device is back to normal when off the game. Thanks Robshr ???
[Nexus 6P Android Development] C.H.T.J.:
Great work!!!
[Nexus 6P Android Development] Robshr:
New CTTMod v-8 for nougat ROMs with overclocked kernels now up in the op
[Nexus 6P Android Development] Papote3:
Is v8 only for overclocked kernels? I have ex kernel, not overclocked
[Nexus 6P Android Development] rayraycarter4:
But it should still work fine with stock clock speed?
[Nexus 6P Android Development] Robshr:
No the CPU won't throttle properly without the kernel being overclocked as the higher frequencies are not available to throttle to

Just use 7.2 version
[Nexus 6P Android Development] vladniko:
Is this 7.1.1 compatible?
[Nexus 6P Android Development] ffplayerviii:
Would also like to know, thanks
[Nexus 6P Android Development] str8str:
Is this OK for the n6 shamu?
[Nexus 6P Android Development] shadowstep:
It should work fine for 7.1.1. :)

Different devices usually have different thermal configurations. It is NOT recommended that you try and use this mod with Nexus 6.
[Nexus 6P Android Development] sm4tik:
Which freqs are included in the oc'd mod?
[Nexus 6P Android Development] vladniko:
Will v8 (the OC mod) decrease battery life?
[Nexus 6P Android Development] ffplayerviii:
Much thanks to this mod. Was skeptical at first but this mod has made my phone noticeably more snappy, most obvious in camera loading time and HDR+ processing time. I'm on rooted stock 7.1.1dp, stock kernel, using v7.2 nonOC zip. Hopefully battery will stay the same.
[Nexus 6P Android Development] leondestiny:
i will try this, but i have a question !

if i flash this, and after a while i wipe data/cache/system to reflash another ROM etc. will this mod be wiped too ?

(and does it have to be elemental x kernel? i am using flash(ninja) kernel atm. along with elemental kernel app)

and oh can you please tell me what cores you mean that you keep on ?

"I personally also check all cores on" that is in the op. which cores specifically?

and lastly is it okay to be using a elemental x profile ? the custom ones, e.g saberv2/darkspice7.x/exaclibur/dragonfly etc. along with your cttmod ? or should we disable the profile first?

thanks in advance!
[Nexus 6P Android Development] shadowstep:
To be honest, technically heat is considered to be detrimental to battery life in the long run, so just a maybe and that too only if you do cpu-intensive tasks for long periods, daily. If not, you should be fine. :)

Let's go over this one by one:

1. The thermal file this mod modifies (thermal-engine.conf file located in /system/etc) is a part of the ROM you are running, so yes, it will be removed if you update your ROM (clean or dirty) or if you format your system partition. You should be okay with wiping data or cache partitions, and that won't affect this mod.

2. The mod is not dependent on what kernel you use, stock or custom (and it can be any custom kernel, Flash or ElementalX both work fine with this mod).

3. All the cores need to be online for this mod to run efficiently.

4. You can use the interactive governor profiles along with this mod, it shouldn't create any issues whatsoever.

Happy flashing! :)
[Nexus 6P Android Development] leondestiny:
thanks man ! but can you please tell me which cores you mean ? like how can i check whether all cores are online/running or not?

thanks !
[Nexus 6P Android Development] shadowstep:
Since you're using EX Kernel Manager, refer to the attached screenshots to see how to know which cores are online/offline. This is on the home/main screen of the app. :)
[Nexus 6P Android Development] leondestiny:
thanks, for me non of them show 'offline' i guess this means that all are online.

will flash the mod now.
[Nexus 6P Android Development] Robshr:
For those who inquired yes this works with 7.1
[Nexus 6P Android Development] IchiGoQc:
THANK YOU

Thank you for this mod, my nexus 6P is not throttling anymore I can run 5 Antutu Benchmark back to back and I will still obtain 95000 score :D. This phone does heat pretty much because of the snapdragon 810 but thank to this OP : http://xdaforums.com/nexus-6p/general/guide-improve-cooling-greatly-reduce-t3323898 for his HARD MOD which I did, cores doesn't turn off anymore with CTT MOD. I can play Vainglory for 30 minutes when I go back to Ex Kernel Manager all cores are still online and CPU MAX is still 1555mhz. Before CTT MOD after 30 minutes 2 cores were Offline (BIG CLUSER) and the CPU Max dropped to 1344MHZ (Little Cluster) oh and the BIG CLUSTER was never used on max frequency du to high GPU load, now it is using the max frequency (1928). I attached pictures of my CPU Usage over time. I mostly use my phone for gaming and watching video on the go !
[Nexus 6P Android Development] Prey521:
I had to remove this MOD due to the fact that I'm an Angry Birds 2 addict, and with this mod, my phone would lose power while I was playing even when I was plugged in to the factory quick charger! Otherwise, it worked great and I'll probably add it back once I lose my AB2 addiction LOL
[Nexus 6P Android Development] equlizer:
I seem to have lost wifi and LTE after flashing this file

reversing the process does no help either. And of course i didnt do a nandroid before this. I have to revert to 2 weeks ago.

Anyone else experience this?
[Nexus 6P Android Development] JRJ442:
I haven't had anything like that happen and I've been using this since the thread first appeared. Also I highly doubt changing the thermal-engine.conf would have any effect on your Wi-Fi or data signal. Something else had to have caused that.
[Nexus 6P Android Development] leonardo_hd5:
[MENTION=4888382]Robshr[/MENTION] Hello, thank you for the mod! I would like to ask a question: When the battery reaches 10%, the 4 big cores are disabled. I do not remember this happening before the mod, but anyway, I wonder if it has anything to do with it. Thanks!

Edit: I did the backup flash and it happened too. It should be some mode of android protection. Thanks!
[Nexus 6P Android Development] shadowstep:
The four big cores get disabled not because of thermal throttling (which this mod handles), but due to the BCL driver. What is this BCL driver? BCL polls the battery monitor system for various values such as voltage, current and temperature through the battery. This driver is meant to help prevent possible reboots (although with it removed on several devices, there have been no issues). The way it prevents reboots is by setting thresholds and when the threshold is passed or tripped, it will throttle or disable/offline cores, which is what is happening in your case as well.
[Nexus 6P Android Development] Robshr:
New mod up for overclocked kernels
[Nexus 6P Android Development] Robshr:
New test version up in 3rd post
[Nexus 6P Android Development] atrix2man:
As that guy stated earlier, I lost LTE after flashing test version. Rather than that it's great.

Update: LTE came back after using the LTE/3G toggle so I'm not sure what the problem is.
[Nexus 6P Android Development] biglo:
So does this thermal mod lower the threshold value and a make the device run cooler or does it use some sort of technique that cools it faster and still have fast performance?
[Nexus 6P Android Development] TechGuy081:
How safe is this are there any consequences of using this??
[Nexus 6P Android Development] Prey521:
I stopped using it.....I'm a huge Angry Birds gamer and this mod would drain my battery quickly while I played.
[Nexus 6P Android Development] shadowstep:
On the contrary, it increases the temperature thresholds so that thermal throttling does not kick in early and you can use the device at full performance over a longer period of time as compared to stock, at the cost of the device getting warmer than stock.

Personally, I've been using it since Day 1 and it has worked fine for me without any issues whatsoever. :)
[Nexus 6P Android Development] phillipfrancia:
How can I uninstall this? My phone gets too hot quickly while playing for awhile, drains my battery too.

Also if I'm using Kernel auditor, should I turn off the core control? It's in the thermal settings with the SoC temp throttle.
[Nexus 6P Android Development] Clienterror:
It's literally in the first post....
[Nexus 6P Android Development] opz187:
yea same here. didn't come back tho
[Nexus 6P Android Development] atrix2man:
Yeah the problem still persists. Done a clean flash too.
[Nexus 6P Android Development] leonardo_hd5:
[MENTION=4888382]Robshr[/MENTION] I found a small error in CTTMod 7.2. In the "[MONITOR_MSM_THERM_GPU]" tab, no action takes the GPU to 600mhz, the maximum clock in all actions is 510mhz.

The file looks like this:

I think the correct one would be:
[Nexus 6P Android Development] Maxamillion:
Would this trigger safetynet?
[Nexus 6P Android Development] jeremmie:
Pls help how do i increase my threshold of my nexus 6p with cm13 firmware. My phone gets laggy playing mobile legends.. I wont mind my phone getting hot at all.. Thanks

So far ive downloaded only kernel editor...

I would really appreciate if someone could point me in the right direction. I just want a snappier phone.

My antutu bench mark test was only 50k+ during gaming. Thanks
[Nexus 6P Android Development] jeremmie:
So i have managed to install the mod and kernel audiutor.

Used 6.2 and follow all the settings on post #114..

Notice my phone throttles down even though i have the mod installed and done. That's ~20min of intense gaming (mobile legend) and my fps really drops so low.. Pls help.. Am i missing something???
[Nexus 6P Android Development] Robshr:
Yes the 6p only has thermal engine config

Sorry I'm just using the other op for your reference for now until I can write a specific op for the 6p

And yes it can be disabled
[Nexus 6P Android Development] yung40oz84:
Thanks for the clarification bud
[Nexus 6P Android Development] GohanBurner:
Downloaded and installed over latest ElementalX, will report back as well.
[Nexus 6P Android Development] OmegaBlaze:
Is there a method to uninstalling? Or do we have to back up the original thermalengine.conf?
[Nexus 6P Android Development] BakedTator:
Back up the original
[Nexus 6P Android Development] C.H.T.J.:
Normal that hexacoremodus is aktiv and big cpu offline?? Do they switch on again?
[Nexus 6P Android Development] Robshr:
The big cluster turns on an off cores as needed

If you use an app called DevCheck you can overlay the CPU frequencies and temps on the screen and then run a benchmark and you'll be able to see how it turns on and off cores as they are needed
[Nexus 6P Android Development] biglo:
Ok, so this mod allows ups the temperatures at which the 6p throttles to give a little more performance. I'm looking for a mod that can throttle it even more to keep this hot chip cool.
[Nexus 6P Android Development] Robshr:
I can make you one but with my testing the temps are not any hotter than with stock with version 3.1, in still testing v-4, if you're temps are high have you lowered the screen brightness. Also try a different governor like conservative it will keep your temps lower
[Nexus 6P Android Development] biglo:
I always keep my screen brightness down low. Does the ex kernel manager have the conservative kernel settings?
[Nexus 6P Android Development] Robshr:
No it has power save with is close to conservative try it out and let me know if that doesn't work I'll work on a mod for you
[Nexus 6P Android Development] biglo:
Ok I will give that a try. [emoji106]