[EOL] Unified Thermal Mod (UTM) [UNITY] [ALL ROMS]

Status
Not open for further replies.

shadowstep

Forum Moderator
Staff member
Jun 6, 2014
4,339
8,194
263
30
Ambala
Introduction
Hello everyone! Some of you might recognize me from the Xthermal Fast Charge thread, where I had earlier created and posted unified zips for modifying the stock thermal config file on the Nexus 6P, combining the work of two different mods, namely CTTMod and Xthermal Fast Charge Mod.

Since I was earlier maintaining my unified zips in the Xthermal Fast Charge Mod thread, I have now decided to create a separate thread for them since there is still interest and I don't want to unnecessarily clutter somebody else's thread. Let's get straight to it then!

Detailed Information
CTTMod - Thread Link
  • When CTTMod was initially released, it changed certain values in Nexus 6P's stock thermal file to raise the temperatures at which the phone would start to use thermal throttling. This change led to an increased overall performance and the phone could be used for a longer period of time without any crippling of performance due to thermal throttling, at the cost of heat. Therefore, after using this mod, the phone would feel slightly warmer as compared to how it would've felt if this mod had not been used, but with higher sustained performance.
Xthermal Fast Charge Mod - Thread Link
  • When Xthermal Fast Charge Mod was initially released, it also changed certain values in Nexus 6P's stock thermal file to raise the temperatures which prevented the charging current to exceed a certain value (usually ~1500 mAh to 1700 mAh) even though the stock OEM charger was capable of delivering a current upto 3000 mAh. This change led to an increased average current drawn (~2600 mAh to 2800 mAh), thereby leading to a decrease in the time taken by the phone to charge, again, at the cost of heat. Thus, a faster fast charge.
Unified Thermal Mod
  • Since both the base mods target the same stock thermal file, they can't be used together and using one would override the changes done by the other. In other words, one can only use CTTMod or the Xthermal Fast Charge Mod, exclusively. My unified thermal mod provides a workaround for this by taking the best from both of the above mentioned mods and combining their changes into one file, packaged into a Magisk module/TWRP flashable zip, so that one can take the advantage of both, increased performance due to an increase in thermal throttling temperature limits as well as a faster fast charge.

Compatibility
Device(s)
  • Nexus 6P
ROM(s)
  • All ROMs
Android Version(s)
  • Android Marshmallow 6.x.x
  • Android Nougat 7.x.x
  • Android Oreo 8.x.x
  • Android Pie 9.x.x
  • Android Q 10.x.x

Download

Important Read-Me Points
Installation/Uninstallation
  • In case you wish to install the modified libraries directly in the system partition and not as a Magisk module, then add "sysover" (without the quotes) to the zip name and flash it via TWRP.
  • The zip will abort the installation if you try to flash it on any other device except the Nexus 6P and if you aren't running Android Marshmallow, Nougat, Oreo, Pie or Q.
  • The zip auto-detects your Android version and installs the correct modified thermal configuration file automatically.
  • To uninstall the mod, just reflash the zip via TWRP and it will undo any changes it did (whether installed as a Magisk module or directly in the system partition).
General
  • The mod only works with the stock OEM charger. If you're using a third party charger (irrespective of the fact whether it supports Qualcomm QuickCharge or any other fast charge capability) this mod won't work.
  • The lower your battery percentage is, the faster your phone will charge, i.e. as the battery charge percentage increases, the current drawn by the phone will decrease. This is stock behaviour.
  • The mod doesn't change the USB charge current. That is controlled by the kernel.
  • Regarding the thermal driver, it is preferred that you enable msm_thermal and disable core_control for effective results. However, if doing that causes issues for you (for example, cores don't come online automatically after going offline while using msm_thermal), then disable msm_thermal and enable core_control via a kernel tuning app, like EX Kernel Manager.
  • If possible, avoid playing games/use performance heavy apps while the phone is charging. Doing so won't cause any issues, but it is preferred not to do so while the phone is on charge.

Disclaimers
  • I am not the original developer of the base mods used, i.e. CTTMod and Xthermal Fast Charge Mod. I merely combined the two since they couldn't be used together. I take no credit for the original work. Please direct all your thanks and/or donations towards @Robshr and @ravinder0003, the original developers of the mods.
  • You are doing this at your own risk. I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you are unsure of how to go about something.

Thanks To
  • @Robshr, for his work on the original CTTMod
  • @ravinder0003, for his work on the original Xthermal Fast Charge Mod
  • @Zackptg5, for Unity Installer and all the work he's ever done for the community
  • @topjohnwu, for Magisk and all the work he's ever done for the community
  • All of you guys for viewing this thread and using the mod

Changelog
  • v1.0 - Initial release for Magisk v14.0
  • v1.1 - Updated to include changes from CTTMod's latest release for Android 8.x Oreo
  • v2.0 - Update for Magisk v15.0
  • v3.0 - Update for Magisk v17.0
  • v4.0 - Updated the zip base to the Unity Installer template
  • v5.0 - Added support for Android 10, updated the base template to Unity v4.4 and EOL update

OP Information
Thread Update Information
  • Created: September 15, 2017
  • Last Updated: September 29, 2019
Source Code
 

Attachments

Last edited:

phantom146

Senior Member
Apr 30, 2015
1,081
1,127
0
Malabon
@shadowstep I would really love to try this but unfortunately, I live in a tropical country where we have above normal temperatures. The external temperature is hot enough, and if I did this, I'm risking global warming with my angler :p
 

shadowstep

Forum Moderator
Staff member
Jun 6, 2014
4,339
8,194
263
30
Ambala
@shadowstep I would really love to try this but unfortunately, I live in a tropical country where we have above normal temperatures. The external temperature is hot enough, and if I did this, I'm risking global warming with my angler :p
Haha, come on now, I'm not far from the Philippines (I'm in India) and I gave it a shot. :p Jokes apart, I know what you mean man. For us, in summers especially, this might not be the best mod to use on a daily basis, more so if the usage is heavy. In winters, however, it's a different story entirely, and I found this mod really helpful. :)
 

phantom146

Senior Member
Apr 30, 2015
1,081
1,127
0
Malabon
Haha, come on now, I'm not far from the Philippines (I'm in India) and I gave it a shot. :p Jokes apart, I know what you mean man. For us, in summers especially, this might not be the best mod to use on a daily basis, more so if the usage is heavy. In winters, however, it's a different story entirely, and I found this mod really helpful. :)
Back at you, we don't have winter :laugh:

Right now i'm not gonna bake my already half-baked phone and almost dying battery. I'd stay off of thermal mod for now but im really eager to try cttmod out.
 

shadowstep

Forum Moderator
Staff member
Jun 6, 2014
4,339
8,194
263
30
Ambala
Back at you, we don't have winter :laugh:

Right now i'm not gonna bake my already half-baked phone and almost dying battery. I'd stay off of thermal mod for now but im really eager to try cttmod out.
Haha, oh we do, chilly ones! :D

Also, you might want to consider a battery replacement if you plan on keeping your 6P for some time. I got it done from the Huawei Service Centre in my area, and the original one didn't cost a bomb at all. After the change, my SOT started averaging 4.5-5 hours (up from 2.5-3 hours).
 

phantom146

Senior Member
Apr 30, 2015
1,081
1,127
0
Malabon
Haha, oh we do, chilly ones! :D

Also, you might want to consider a battery replacement if you plan on keeping your 6P for some time. I got it done from the Huawei Service Centre in my area, and the original one didn't cost a bomb at all. After the change, my SOT started averaging 4.5-5 hours (up from 2.5-3 hours).
Yeah i've really considerd replacing it and I've heard its quite cheap. Though last april or so I've heard somebody talking about battery replacement on PH and huawei said that they're running out of "stock" with angler. So I guess I better check it out. I might not be buying anyreplacement sooner or later but I have plans next yr to buy the OP6 or Pixel 2.
 
  • Like
Reactions: opz187

shadowstep

Forum Moderator
Staff member
Jun 6, 2014
4,339
8,194
263
30
Ambala
Yeah i've really considerd replacing it and I've heard its quite cheap. Though last april or so I've heard somebody talking about battery replacement on PH and huawei said that they're running out of "stock" with angler. So I guess I better check it out. I might not be buying anyreplacement sooner or later but I have plans next yr to buy the OP6 or Pixel 2.
Yep, like I said before, it's not expensive, so if you manage to get your hands on one, definitely go for a replacement. Hopefully, some are still available and not out of stock. Also, I'm not too keen on Pixels anymore, seeing how comparatively difficult it is for developers to get stuff working on it + they cost a bomb! That's why I went for OnePlus 5. Had Google stuck with the Nexus line-up, I would've never bought anything else to be honest, but well..
 
  • Like
Reactions: phantom146

phantom146

Senior Member
Apr 30, 2015
1,081
1,127
0
Malabon
Yep, like I said before, it's not expensive, so if you manage to get your hands on one, definitely go for a replacement. Hopefully, some are still available and not out of stock. Also, I'm not too keen on Pixels anymore, seeing how comparatively difficult it is for developers to get stuff working on it + they cost a bomb! That's why I went for OnePlus 5. Had Google stuck with the Nexus line-up, I would've never bought anything else to be honest, but well..
Yep if only they continued nexus, I'm gonna be fanboy on nexus forever lol. Well im interested at nokia right now as well as android one, hope they get a good community tho
 
  • Like
Reactions: RandomD

shadowstep

Forum Moderator
Staff member
Jun 6, 2014
4,339
8,194
263
30
Ambala
Yep if only they continued nexus, I'm gonna be fanboy on nexus forever lol. Well im interested at nokia right now as well as android one, hope they get a good community tho
Me too! :highfive: Coming to Nokia, they're definitely upping their game, but I'm not sure about the developer backing it will get vis-à-vis OnePlus; the latter has the best developer backing after Google. Android one is relatively new, so let's see where does it go. The new Mi A1 could be start of something great.

I'm on oreo stock rom but using Elemental kernel, which versión should I use? The Overclocked one or the stock frecuency kernel?
If while flashing the kernel, you selected the overclocked frequencies for your cores, then use the overclocked oreo variant of the mod. If you didn't make any changes in the frequency screen/aren't sure if you're overclocked or not, just use the normal oreo variant and you should be good. :)
 

Pipiou211

Senior Member
Sep 6, 2016
96
23
18
I notice higher temperatures as expected.
Actually my N6P reached 44.5C, are we fine?
I am talking about battery temperature :(

Actually I just answered my question, flashing Oreo stock throttling .zip

Thanks for the mod, no offence.
Have fun, George.
 
Last edited:

shadowstep

Forum Moderator
Staff member
Jun 6, 2014
4,339
8,194
263
30
Ambala
I notice higher temperatures as expected.
Actually my N6P reached 44.5C, are we fine?
I am talking about battery temperature :(

Actually I just answered my question, flashing Oreo stock throttling .zip

Thanks for the mod, no offence.
Have fun, George.
Yes, that is expected, because the mod increases performance at the cost of heat, so temperatures will be slightly higher as compared to stock. It's been mentioned in the OP as well. :)

Also, no offence taken, at all. Feel free to use/not use the mod, whatever you feel comfortable with. Thanks for stopping by! :)

How to know if my kernel is overclocked or not? I am using Flash kernel v2.5
You can use a kernel manager app like EXKM or Kernel Adiutor to check that. If the maximum CPU frequencies for the little and big cluster are 1708 MHz and 2054 MHz, respectively, then you're running an overclocked kernel. However, if they are 1555 MHz and 1958 MHz, respectively, then you're running a non-overclocked/stock frequency kernel. :)
 
  • Like
Reactions: Pipiou211

KennyDumah

Senior Member
Oct 19, 2010
1,030
143
93
I know asking for ETA isn't allowed but could you do a fast charge only version for Oreo? I really dislike the thermal mod but would love to have the fast charge one :confused::(
 
Status
Not open for further replies.