yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Themes and Apps] shadowstep:
[MOD] [N6P] [CTTMod+FastCharge] [6.x.x/7.x.x] [ALL ROMS]

EDIT

: THIS POST IS OUTDATED; CLICK HERE TO VISIT THE NEW THREAD FOR THIS UNIFIED MOD!

For those interested, I've merged CTTMod with the Xthermal FastCharge Mod and have attached the flashable zip files, which can be flashed using a custom recovery.

Feel free to use, but don't burn your device or the world down. :p I've been using it for a couple of days without any issues. :fingers-crossed: I don't take any responsibility of anything happening to your device or any credits for this work, which belongs to the original authors of the mods.

Version Notes

:

• Xthermal_FastCharge_CTTMod_6.x.x (Marshmallow) Flashable Zip = Xthermal_Fast_Charging_Only.zip (Marshmallow) + CTTMod v6.2 (Marshmallow)

• Xthermal_FastCharge_CTTMod_6.x.x_Overclocked (Marshmallow) Flashable Zip = Xthermal_Fast_Charging_Only.zip (Marshmallow) + CTTMod v8.1 Overclocked (Marshmallow)

• Xthermal_FastCharge_CTTMod_7.x.x (Nougat) Flashable Zip = Xthermal_Fast_Charging_Only.zip (Nougat) + CTTMod v7.2 (Nougat)

• Xthermal_FastCharge_CTTMod_7.x.x_Overclocked (Nougat) Flashable Zip = Xthermal_Fast_Charging_Only.zip (Nougat) + CTTMod v8.1 Overclocked (Nougat)

Credits

:

• [MENTION=4544019]ravinder0003[/MENTION] for his amazing work with the Xthermal Mod

• [MENTION=4888382]Robshr[/MENTION] for his amazing work with the CTTMod

Post Edit History

:

• EDIT 1 (09/05/16) - Added a new flashable zip for Android 7.x Nougat (Xthermal_FastCharge_CTTMod_7.x.x)

• EDIT 2 (09/06/16) - Updated the Xthermal_FastCharge_CTTMod_7.x.x flashable zip with the updated version of CTTMod (CTTMod 7.1) for Android 7.x Nougat

• EDIT 3 (09/19/16) - Updated the Xthermal_FastCharge_CTTMod_7.x.x flashable zip with the updated version of CTTMod (CTTMod 7.2) for Android 7.x Nougat

• EDIT 4 (09/20/16) - Updated the Xthermal_FastCharge_CTTMod_6.x.x flashable zip with the updated version of CTTMod (CTTMod 6.2) for Android 6.x Marshmallow

• EDIT 5 (10/25/16) - Added two new flashable zips for Android 6.x Marshmallow and Android 7.x Nougat, meant to be used *

ONLY WITH OVERCLOCKED KERNELS

*

• EDIT 6 (01/10/17) - Updated the Xthermal_FastCharge_CTTMod_6.x.x and the Xthermal_FastCharge_CTTMod_7.x.x flashable zips with the updated version of CTTMod (CTTMod 8.1) for Android 6.x Marshmallow and Android 7.x Nougat, respectively, meant to be used *

ONLY WITH OVERCLOCKED KERNELS

*

EDIT

: THIS POST IS OUTDATED; CLICK HERE TO VISIT THE NEW THREAD FOR THIS UNIFIED MOD!
[Nexus 6P Themes and Apps] yung40oz84:
YES! Thanks for this bud!
[Nexus 6P Themes and Apps] masri1987:
how does it affect battery life?
[Nexus 6P Themes and Apps] Aeonxul:
First of all let me thank [MENTION=4544019]ravinder0003[/MENTION] for this. I flashed this mod and the charging ampere and speed did increase. But I don't get the point. I mean the phone draws more ampere but the overall charging time is roughly the same for me. Can anyone else confirm this? So why should we put more pressure on the battery when the charging time remains the same. Does this mod make the battery last longer? (which I don't think is even related). [MENTION=4544019]ravinder0003[/MENTION] as you may have noticed, when fast charging nexus 6p, overall charging time from 0-100 is approximately 100 minutes but it takes another 40 minutes or so to go from 100% to full (which really spoils the idea of fast charging and getting a full charge). Is there anything that can be done to help reduce this time gap for going from 100% to full?
[Nexus 6P Themes and Apps] angelica_kh:
Well I had a slightly different problem. My charger worked from only one side. Like one side showed time remaining: 1 hour and 30 minutes. The other way it went 3 hours. So it did help me out quite a bit. Though these are curious questions indeed. I'd really want them answered as well. Though good work on this mod nonetheless.
[Nexus 6P Themes and Apps] benwalburn:
I'm not seeing any changes in charging rate on cm13.
[Nexus 6P Themes and Apps] xflowy:
does this only effect the charging behaviour or are the cpu throttling temps somehow modified, cause im experiencing some performance issues due to early cpu throttling. [MENTION=4544019]ravinder0003[/MENTION]

thanks :)
[Nexus 6P Themes and Apps] shadowstep:
Anytime mate! Enjoy! :highfive:

Which version did you flash? Xthermal_Fast_Charge.zip, Xthermal_Performance+Fast_Charging.zip or Xthermal_FastCharge_CTTMod.zip?

Only the first one (i.e. Xthermal_Fast_Charge.zip) doesn't touch any throttling temperatures, while the other two do. Also, in both of these, the throttling temperatures are higher than the stock values, meaning a gain in performance at the cost of your phone feeling slightly hotter. So, on contrary to early cpu throttling which you are experiencing, these mods delay throttling to kick in. Therefore, I assume it's something else that's causing the performance issues and not this mod. If, however, you feel this mod is the culprit, feel free to flash the Back_To_Stock.zip and check for yourself. Good luck! ;)
[Nexus 6P Themes and Apps] ravinder0003:
Modified charging throttling, cpu throttling + gpu throttling...

But not all... Just Initial values which play a great role in day to day usage...
[Nexus 6P Themes and Apps] ravinder0003:
Exactly...

Thanks mate
[Nexus 6P Themes and Apps] xflowy:
thanks mate. but u got me wrong :) i didnt flash the zip, i only wanted to know if its the thing i want. when i'm on elementalx kernel, which thermal driver do i need to choose after flashing the zip? core_control oder msm_thermal? does enabling both makes sense, btw.?
[Nexus 6P Themes and Apps] Ogatron:
On Android N the fast charge seems correct without mod :o
[Nexus 6P Themes and Apps] shadowstep:
No problem bro! :highfive:

In the EXKM App, the msm_thermal needs to be disabled and core_control should be enabled. I believe these are the default values too, but if they aren't, just toggle to turn off msm_thermal and turn on core_control.

In case you use msm_thermal instead of core_control, then, for example, if, at a certain point, some cores are switched off as part of the throttling, they would not turn back on automatically when the temperature goes down, unless you are using core_control. This has been observed by many people, including me. Hence, just stick to core_control with msm_thermal turned off and you should be good. :)
[Nexus 6P Themes and Apps] xflowy:
here's the situation. i did not flash any zip yet, cause i read somewhere, that switching from core_control (which was default) to msm_thermal would do the trick and prevent shutting down cores on quite low temperatures. and in fact, with msm_thermal enabled and core_control disabled, i experienced not a single shutdown of cores till now, despite having temps that triggered the issue before. but if it's really like u stated, and the cores wont come online again, if they've gone off, this would not be a solution either. would then enabling core_control (besides msm_thermal) make sense?
[Nexus 6P Themes and Apps] shadowstep:
Okay, I think I get your point. I also saw your posts in the EX Kernel's XDA Thread as well as the CTTMod's Thread and also read the replies you got. I know for a fact that CTTMod's developer suggests that you use the mod with msm_thermal and not core_control or else it will be pointless. I initially started using that mod with msm_thermal only and not core_control, and there were times when I noticed in the EXKM app that my two big cores were coming offline and weren't turning on, no matter what I did (I stay in a part of the world where in summers, temperatures outside reach 45°c - 47°c), which is when I started researching and found the below piece of information from Nexus 5X's General Forum's [Guide] Thermal throttle tweaking thread:

Once I realized msm_thermal was to blame, I immediately shifted back to core_control and saw that once the temperatures lowered, the cores came back online. So ever since then, I've been using CTTMod with core_control. I don't know if it will have any impact on the phone's performance since the developer of the mod specifically suggests using msm_thermal instead of core_control, but for me msm_thermal was creating issues.

Also, I don't think it's a good idea to use both of them together at the same time. Might create issues, but I might be wrong.
[Nexus 6P Themes and Apps] xflowy:
thanks a lot man!!

one question though: why dont u use xthermal with core_control now?
[Nexus 6P Themes and Apps] e753:
I got the same question...

The overall charging time it is more or less the same after have flashedXthermal_Fast_Charge.zip DOes it really help you to get a quicker charge?
[Nexus 6P Themes and Apps] billamin:
do i need to use core control in thermal setting with this mod or soc temperature limit toggle? as ctt mod requires the later.
[Nexus 6P Themes and Apps] xflowy:
can i flash this over the already flashed xthermal performance version? or do i need to revert stock first? and does this include throttling fixes?
[Nexus 6P Themes and Apps] shadowstep:
I've been using my combined Xthermal Fast Charge + CTTMod since a few days now, with core_control. :)

A question that belongs to the CTTMod thread, but nonetheless, use it with the latter, as recommended by CTTMod's author. If you, however, notice that your cores are not coming back online (if they are turned off at any point during your usage), then I suggest you to shift to core_control.

You can flash this over your existing setup. It replaces the already existing thermal-engine.conf file, so whether it is the stock one or the modified one, doesn't matter. The version I posted has thermal tweaks from CTTMod and Fast Charging tweaks from Xthermal Mod.
[Nexus 6P Themes and Apps] vagenrider:
[MENTION=4544019]ravinder0003[/MENTION] mate, Xthermal_Performance+Fast_Charging.zip link is down :)
[Nexus 6P Themes and Apps] jr313:
Does this give us fast charge thru USB as in if charging from computer?
[Nexus 6P Themes and Apps] ravinder0003:
AFH issue...

Will be up asap.
[Nexus 6P Themes and Apps] xflowy:
can is ask why u chose cttmod modifications concerning the temp throttling over those from xthermal?
[Nexus 6P Themes and Apps] ravinder0003:
Just downloaded CTTmod and had a look at it...

Lol he is also playing with thermal engine...

There are a hell lot of things we can control ...

I had played a lot with these when I had Yureka and Redmi 1s...

As CTTmod is already there so I don't think there is need to make my own version of the same.
[Nexus 6P Themes and Apps] bobbarker2:
You wouldn't happen to have the comparison of differences between the thermal-engine.conf files saved, would you? If so could you pastebin it? Thanks.
[Nexus 6P Themes and Apps] shadowstep:
The only reason, frankly, why I chose to use only the fast charge tweaks from this mod and CTTMod's thermal tweaks is because I've been following the progress of that mod since the very beginning and had been using it since its infancy. :)

I do have a screenshot in which I have highlighted the lines (with a blue dot) which are different from the stock thermal-engine.conf file. These changes are only in regards to the Xthermal's Fast Charge Mod, and not the Fast Charge + Performance Mod. If this works for you, great. If it doesn't, let me know exactly what you are looking for and I can dig around and find my working folder for you. :)

Screenshot Here
[Nexus 6P Themes and Apps] bobbarker2:
Actually I was looking to compare the FC + Perf Mod thermal.conf here to CTTMods. I stopped being lazy and did it myself. Here are the differences between XThermal and CTMod:

XThermal FC + Perf Mod

[MONITOR_MSM_THERM_CLUSTER]
thresholds 45000 46000 47000 48000 50000 66000
thresholds_clr 42000 45000 46000 47000 48000 64000
action_info 1344000 960000 1344000 1248000 960000 1

[MONITOR_MSM_THERM_GPU]
thresholds 45000 46000 47000 48000 50000
thresholds_clr 42000 45000 46000 47000 48000
action_info 510000000 450000000 390000000 305000000 180000000

[MONITOR_MSM_THERM_HOTPLUG]
thresholds 45000 46000 48000
thresholds_clr 42000 45000 46000

[MONITOR_EMMC_THERM]
thresholds 48000 50000 53000
thresholds_clr 45000 48000 50000
actions battery battery battery
action_info 2 3 4

[MONITOR_PA_THERM]
thresholds 46000
thresholds_clr 44000

[SS-GPU]
set_point_clr 55000

and then set_point_clr is 55000 for all CPUs.

CTMod

MONITOR_MSM_THERM_CLUSTER]
thresholds 48000 49000 50000 51000 53000 66000
thresholds_clr 47000 48000 49000 50000 52000 64000
action_info 1555200 1248000 1824000 1536000 960000 1

[MONITOR_MSM_THERM_GPU]
thresholds 45000 46000 47000 49000 55000
thresholds_clr 44000 45000 46000 48000 52000
action_info 510000000 450000000 450000000 305000000 180000000

[MONITOR_MSM_THERM_HOTPLUG]
thresholds 45000 46000 48000
thresholds_clr 42000 45000 46000

[MONITOR_EMMC_THERM]
thresholds 40000 42000 45000 53000
thresholds_clr 38000 40000 43000 50000
actions battery battery battery battery
action_info 1 2 3 4

[MONITOR_PA_THERM]
thresholds 42000
thresholds_clr 40000

[SS-GPU]
set_point_clr 60000

and then set_point_clr is 60000 for all CPUs.
[Nexus 6P Themes and Apps] xflowy:
xthermal performance mod shut down the first core when reaching 39/40°C battery temp. wasnt happy at all. tried a thermalconf file from [MENTION=702877]tech_head[/MENTION] and getting far better results. just fyi.

[MENTION=5417405]bobbarker2[/MENTION] are all the values temps?
[Nexus 6P Themes and Apps] ravinder0003:
Fyi...

Battery temp isn't used to hotplugg anything...
[Nexus 6P Themes and Apps] Subiegsr:
How does this affect charging through a regular micro USB charger with the usb c adapter attached?
[Nexus 6P Themes and Apps] yung40oz84:
Can you share that file please? Is like to view it, or the thread?
[Nexus 6P Themes and Apps] xflowy:
i guess battery temp and cpu temp correlate, so its pretty much the same ;)

what i meant, it throttles much earlier with this mod than with the other file. next time ill check the cpu temp.
[Nexus 6P Themes and Apps] ravinder0003:
A bit later than stock and a bit earlier than cttmod...

I don't want to let heat increase significantly...thus used values just near stock...
[Nexus 6P Themes and Apps] Marília de Oliveira:
Affects something on battery life?
[Nexus 6P Themes and Apps] plisskenn:
Does performance zip give performance all the time? Possibly by overclocking?

Just fast charging seems to work well! I was stuck at 600ish before.

Many thanks!:D
[Nexus 6P Themes and Apps] Prattham:
I clean flashed a different rom and then restored my backup on which i had flashed the fast charge zip

After restoring i think my fast charge isn't working correctly so i flashed again

And currently I'm at 77% with ampere showing 1590 reading

Is this okay?
[Nexus 6P Themes and Apps] mahdif62:
Several people asked if this really helped reduce the charging time and nobody wants to answer. If you can't charge significantly faster why would you mess with sensitive system settings? Plus there are reports about the dangerous OEM charger coming with this phone.
[Nexus 6P Themes and Apps] ravinder0003:
Already replied many times...

It's working that's why it's here...
[Nexus 6P Themes and Apps] Prattham:
[MENTION=4544019]ravinder0003[/MENTION] any thoughts?
[Nexus 6P Themes and Apps] mahdif62:
Thanks for what you have done, I'm sure it works, and pushes more power to the battery. My question is if it "significantly" reduces charging times. A comparison between this and stock values in terms of charging time would be great.
[Nexus 6P Themes and Apps] vishal007:
Trying this stuff for the first time. The charging current goes up to 2600 mA but the rate max USB current is still at 1800 mA/h. Why are these two readings different?
[Nexus 6P Themes and Apps] pringled:
I _think_ because with the phone in use that's the max you're suppposed to get without the mod.
[Nexus 6P Themes and Apps] xperator:
I tried it for 2 days it is working. It charges very fast when its below 60-70 percent. But makes the phone very hot.

There is one huge problem though, after you unplug the charger, the battery percentage sometimes stick for a long time. It doesn't drop at all for like 10min or so.

I'm going back to Stock. Thanks anyway :)
[Nexus 6P Themes and Apps] bobbarker2:
Yes the values are temps in C or CPU Freq.. you can tell which is which pretty easily.
[Nexus 6P Themes and Apps] ROIDjoy:
Hey ravinder0003 excellent work, can we have a similar mod for Nexus 6 please !!
[Nexus 6P Themes and Apps] shadowstep:
I wish I knew about this website before: DiffChecker ;)
[Nexus 6P Themes and Apps] ravinder0003:
:P
[Nexus 6P Themes and Apps] bobbarker2:
I just used Notepad++ with a plugin. Same thing as the website.
[Nexus 6P Themes and Apps] scabbie1980:
I'm new with Nexus phones and just got the 6P. Changed from the Moto X Pure and was very disappointed at how fast this phone charges. With your mod I get very fast charging with my Aukey 2.0 fast charging car charger. I went from 1020mA to 2140mA. That's double the mA....

Thanks for this mod...
[Nexus 6P Themes and Apps] KLit75:
I tried this when it was 1st released and noticed a difference. Then an updated was posted with CTT Mod (something i was already running but hadnt considered it) so i flashed the updated zip.

Sometime later on i noticed unusually high temps, got scared and returned to just CTT Mod.

However, the past couple days i noticed EXTREMELY slow charging times (ex. 1 hr 14 mins till full charge when its at 95%)

Just now i decided to try it again. My battery is now charging normally again BUT thats just an observation. Ampere isnt able to measure the charge for some reason?

Any help's appreciated. Also, i set it up with touchboost disabled msm thermal enabled and core control off because its recommended for CTT Mod. Do these settings still apply for this? Thanks
[Nexus 6P Themes and Apps] Prattham:
I have the same settings as yours i mean msm thermal and all and working like a charm

I do not use cttmod however

Maybe you should try a clean flash? l
[Nexus 6P Themes and Apps] Houge_Langley:
Hi you guys, I just using the fast changing mod, it's great for me, thanks.

Sent from Dirty Nexus6P
[Nexus 6P Themes and Apps] shadowstep:
What plugin did you use with Notepad++?
[Nexus 6P Themes and Apps] ravinder0003:
Heat and performance both are directly related to each other...

Heat increases then performance of everything is dropped to cool down...

Heat decrease then performance of everything is released again ...

So I always prefer to stay near stock settings...

I'm pretty happy with temps of N6P ... Other devices I've used before just burned me up...
[Nexus 6P Themes and Apps] Pollie81:
Mod works fantastic! Are you planning on making this available for the 5x too?
[Nexus 6P Themes and Apps] colinmcg71:
Most likely Compare. :)
[Nexus 6P Themes and Apps] ravinder0003:
Could you please upload thermal engine file from /system/etc folder of your 5x?

Else I'll have to download omni rom for it...
[Nexus 6P Themes and Apps] Pollie81:
Of course, no problem.

https://drive.google.com/file/d/0B-4ntJ91uXz2LXZ0ekNDbFlzVFU/view?usp=drivesdk
[Nexus 6P Themes and Apps] ravinder0003:
Please check only the charging...

Renane file and remove .txt

Revert back positive results so that I can modify it a bit more...

Thanks

Edit: I like those lcd backlight controls in 5x ...

But it ruins gaming and video playback
[Nexus 6P Themes and Apps] Pollie81:
I'll see if i can do it tonight, it's my gf's phone and right now it's already fully charged.

Thank you!
[Nexus 6P Themes and Apps] 09eric09:
So has anybody actually taken note of the time differences with and without this mod? My phone has always taken 1hr and 30 min to fully charge (from under 10%), how long is it taking you guys to get a full charge with this mod?
[Nexus 6P Themes and Apps] Pollie81:
I don't know about a full charge but yesterday it charged from 50 to 100% in 30 minutes.
[Nexus 6P Themes and Apps] Juzman:
Is there any reason that Battery 1 is missing from the thermal-conf file?

Stock:

[MONITOR_EMMC_THERM]
algo_type monitor
sampling 1000
sensor emmc_therm
thresholds 40000 42000 45000 53000
thresholds_clr 38000 40000 43000 50000
actions battery battery battery battery
action_info 1 2 3 4

Mod:

[MONITOR_EMMC_THERM]
algo_type monitor
sampling 1000
sensor emmc_therm
thresholds 48000 50000 53000
thresholds_clr 45000 48000 50000
actions battery battery battery
action_info 2 3 4

Would it be beneficial to change it to:

[MONITOR_EMMC_THERM]
algo_type monitor
sampling 1000
sensor emmc_therm
thresholds 42000 48000 50000 53000
thresholds_clr 40000 45000 48000 50000
actions battery battery battery battery
action_info 1 2 3 4

I changed my one for Battery 1.
[Nexus 6P Themes and Apps] ravinder0003:
I don't think battery 1 is required...

So I removed it...

It's not mandatory but just a level of throttling ...

5x have only battery 0 and battery 3

Lol
[Nexus 6P Themes and Apps] Juzman:
Interesting. I just took stock one anyway and bumped up the temperatures (including Battery 1). It is in the stock thermal-conf, so figured it may be there for a reason.
[Nexus 6P Themes and Apps] ravinder0003:
[MENTION=4049833]Juzman[/MENTION]

If you really wanna have battery1 then place it at 45c ...

42 is too low for it...

You won't get benefit of the mod...
[Nexus 6P Themes and Apps] ravinder0003:
Everything is for a reason but depends if it is required or not...

Also you already have stock files ... Xthermal is what I have implemented and changed...
[Nexus 6P Themes and Apps] Juzman:
No worries. Will modify it. :)
[Nexus 6P Themes and Apps] Balino:
I would not turn off core control when the device is charging
[Nexus 6P Themes and Apps] KLit75:
Thanks. Can you please give an explanation why? Its just that Im always using a charger when i can throughout the day. Core control, almost certain, needs to be off for CTT Mod to work. If its the case I need to turn it off I might need to rethink using these 2 mods because its unlikely Ill remember to turn it on/off when plug/unplug.

Tasker would probably be helpful but Id have to do some searching to see how Id go about setting it up.
[Nexus 6P Themes and Apps] sgtgs:
Works great on android 7.0, thanks.
[Nexus 6P Themes and Apps] Sheetzie03:
I also made the switch from MXP to 6p.

Man I was so impressed with how fast the MXP charged. Now that phone got so hot, to the point where it was bothersome, but charging? Dam it was fast, I didnt want to give it up for that 1 reason but was forced to when i cracked the screen.

So decided to switch to the 6p. I'm very happy. Phone is amazing. Charging wise tho, I was expecting similar results, that didn't happen.

i just don't understand how a phone like the MXP can charge as fast as it did, but a better phone like the 6p can't equal it,especially with USB C.

That charger that came with the MXP Is a beast. For the hell of it, I tried to charge the 6p with it with one of those micro USB to usb c aukey adapters, didnt work unfortunately

But I may try this mod.[emoji6]
[Nexus 6P Themes and Apps] ravinder0003:
Time for Android N now...

Will flash Android N now and will see if anything needed to be updated...

Thanks Guys for all your support...
[Nexus 6P Themes and Apps] umair shaikh:
Will it heat up my phone too if i flash performance and charging zip ? When i say heat up I'm talking when I'm using it ?
[Nexus 6P Themes and Apps] vagenrider:
we

thank you :) ;)
[Nexus 6P Themes and Apps] Balino:
While charging the device gets really hot, msm_thermal can't keep up with it if there only a single rouge app in the background It May fry your device. Doze doesn't even kick in while charging.

Anyway I think that with the stock thermal-cofig file It should be a little bit safer, there's no Need to use the mod to turn core control off
[Nexus 6P Themes and Apps] x.0ni.x:
Working fine on stock debloated 7.0 with ex kernel 3.04.?thank for your work.