[ZTE Axon 7 Themes, Apps, and Mods] iyancoolbgt:
For you gamers out there

Finally I solved the thermal throttling problem in this lovely device.

BEWARE **YOUR PHONE WILL HEAT MORE**

first using your root explorer go to system/etc, you will find 3 files related to thermal throttling:

1. thermal-engine-8996-normal.conf

2. thermal-engine-8996-perf.conf

3. thermal-engine.conf

These files related to the configuration in the settings->power manager->power plan.

If you chose performance then your phone will use the perf.conf

If you chose Smart power-save your phone will use normal.conf

Edit:

After further investigation it seems that no matter what setting I choose the file that is active always the normal.conf.

perf.conf seems not affecting anything at all. Needs futher investigation.

That is the mechanic, now for the fun part:

Open the file you wish to edit using text editor.

The key is in these two sections

[SKIN_CPU_MONITOR]
#algo_type monitor
sampling 1000
sensor emmc_therm
thresholds 59000 62000
thresholds_clr 56000 60000
actions cluster0+cluster1 cluster0+cluster1
action_info 1400000+1700000 1500000+1824000
override 5000

[SKIN_GPU_MONITOR]
#algo_type monitor
sampling 1000
sensor emmc_therm
thresholds 41000 42000
thresholds_clr 39000 40000
actions gpu gpu
action_info 510000000 401800000
override 5000

As you can see the values above are a little bit different from yours, it's because I already change a bit.

The parts you should take consideration are thresholds, thresholds_clr, actions, and action_info.

Thresholds means in what temperature the device should throttle

Thresholds_clr means in what temperature the device will stop throttling

Actions mean which item to be throttled

Cluster0 = Little CPU

Cluster1 = Big CPU

GPU = GPU

so for example above

thresholds 59000

thresholds_clr 56000

actions cluster0+cluster1

action_info 1400000+1700000

Means it will start throttling at 59 celcius and stop throttling at56 celcius, the item to be throttled are little CPU which become 1400 mhz and big CPU which become 1700 mhz

You can add many parameters just by using spaces like example above.

Okay, hope it helps. If you confuse, just use my values above and unleash the 60fps beast. Muahahaha

Edit:

This is my current setting

[SKIN_CPU_MONITOR]
#algo_type monitor
sampling 1000
sensor tsens_tz_sensor11
thresholds 48000 50000
thresholds_clr 45000 49000
actions cluster0+cluster1 cluster0+cluster1
action_info 1500000+1824000 1400000+1700000
override 5000

Instead of emmc thermostat I use tsens_tz_sensor11 which is the temperature of the CPU core itself, I think it is better

Finally someone make magisk module for this (thanks nfsmw_gr), not yet tried it myself though

https://xdaforums.com/showpost.php?p=76793058&postcount=14

I've already moved on to stock b01 oreo rom, now it is located in /system/vendor/etc/thermal-engine.conf

Here is my current config

[SKIN_CHG_LIMIT]
algo_type monitor
sampling 1000
sensor emmc_therm
thresholds 39000 41000
thresholds_clr 38000 40000
actions battery battery
action_info 1 2

[SKIN_CPU_MONITOR_NORMAL]
algo_type monitor
sampling 1000
sensor emmc_therm
thresholds 36000 39000 42000
thresholds_clr 35000 38000 41000
actions cluster0+cluster1 cluster0+cluster1 cluster0+cluster1
action_info 1500000+1824000 1400000+1700000 1300000+1438000
override 5000

[SKIN_GPU_MONITOR_NORMAL]
algo_type monitor
sampling 1000
sensor emmc_therm
thresholds 41000 42000
thresholds_clr 39000 40000
actions gpu gpu
action_info 510000000 401800000
override 5000