understanding thermal-engine.conf file in google pixel 2xl - Google Pixel 2 XL Questions & Answers

Hi
I have been working on google pixel 2xl in my research and I wanna understand the contents of the thermal-engine.conf file (I mean what each subroutine written there is doing)
many phones start throttling when the temperature of the cores exceeds some threshold, although in google pixel 2xl and according to what I understood from thermal-engine.conf file
it is rather based on a sensor called bd_therm2 as shown in the first subroutine in the thermal-engine.conf file
"[SKIN-MID-FLOOR2]
algo_type ss
sampling 2000
sensor bd_therm2
device cluster1
set_point 38000
set_point_clr 37000
device_max_limit 1804800
time_constant 0"
but this is not the only subroutine there and there are others and I do not understand what each subroutine is doing
although based on my experiments when bd_therm2 sensor exceeds 38 throttling starts
I appreciate if somebody directs me to some reference that explains these contents
The file contents are as follows (sorry my first time on that forum and I did not know how to attach it)
[SKIN-MID-FLOOR2]
algo_type ss
sampling 2000
sensor bd_therm2
device cluster1
set_point 38000
set_point_clr 37000
device_max_limit 1804800
time_constant 0
[SKIN-MID-LOW-FLOOR2]
algo_type ss
sampling 2000
sensor bd_therm2
device cluster1
set_point 40000
set_point_clr 39000
device_max_limit 1497600
time_constant 0
[SKIN-LOW-FLOOR2]
algo_type ss
sampling 2000
sensor bd_therm2
device cluster1
set_point 45000
set_point_clr 44000
device_max_limit 1190400
time_constant 0
[HOT-SKIN-VIRTUAL2]
algo_type virtual
trip_sensor bd_therm2
sensors tsens_tz_sensor13 tsens_tz_sensor0
list_cnt 2
weights 1 -1
set_point 39000
set_point_clr 36000
sampling 1000
math 0
[VIRTUAL-SS-GPU-SKIN2]
algo_type ss
sensor HOT-SKIN-VIRTUAL2
device gpu
sampling 2000
set_point 7000
set_point_clr 2000
device_max_limit 414000000
[SKIN-MONITOR2]
algo_type monitor
sampling 2000
sensor bd_therm2
thresholds 48000 50000 52000
thresholds_clr 47000 49000 51000
actions cluster0+cluster1+gpu cluster0+cluster1+gpu cluster0+cluster1+gpu
action_info 1094400+1190400+414000000 883200+902400+342000000 300000+300000+257000000
[BATTERY-MONITOR2]
algo_type monitor
sampling 2000
sensor bd_therm2
thresholds 50000
thresholds_clr 48000
actions battery
action_info 3
[SKIN-SHUTDOWN2]
algo_type monitor
sampling 1000
sensor bd_therm2
thresholds 54000
thresholds_clr 53000
actions shutdown
action_info 1
[SKIN-MID-FLOOR]
algo_type ss
sampling 2000
sensor bd_therm
device cluster1
set_point 49000
set_point_clr 48000
device_max_limit 1804800
time_constant 0
[SKIN-LOW-FLOOR]
algo_type ss
sampling 2000
sensor bd_therm
device cluster1
set_point 51000
set_point_clr 50000
device_max_limit 1190400
time_constant 0
[HOT-SKIN-VIRTUAL]
algo_type virtual
trip_sensor bd_therm
sensors tsens_tz_sensor13 tsens_tz_sensor0
list_cnt 2
weights 1 -1
set_point 39000
set_point_clr 36000
sampling 1000
math 0
[VIRTUAL-SS-GPU-SKIN]
algo_type ss
sensor HOT-SKIN-VIRTUAL
device gpu
sampling 2000
set_point 7000
set_point_clr 2000
device_max_limit 414000000
[SKIN-MONITOR]
algo_type monitor
sampling 2000
sensor bd_therm
thresholds 58000 60000 64000
thresholds_clr 57000 59000 63000
actions cluster0+cluster1+gpu cluster0+cluster1+gpu cluster0+cluster1+gpu
action_info 1094400+1190400+414000000 883200+902400+342000000 300000+300000+257000000
[SKIN-SHUTDOWN]
algo_type monitor
sampling 1000
sensor bd_therm
thresholds 66000
thresholds_clr 65000
actions shutdown
action_info 1

Related

95havsvdd and undervolting

I would like to use the script '95havsvdd' which is as follows:
Code:
#!/system/bin/sh
sleep 30
echo 128000 800 825 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 245000 800 825 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 256000 825 875 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 384000 850 900 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 422400 875 925 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 460800 900 950 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 499200 925 975 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 537600 950 1000 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 576000 975 1025 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 614400 1000 1050 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 652800 1025 1075 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 691200 1050 1100 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 729600 1075 1125 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 768000 1100 1150 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 806400 1125 1175 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 844800 1150 1200 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 883200 1175 1225 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 921600 1200 1250 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 960000 1225 1275 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 998400 1250 1300 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 1036800 1275 1300 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 1075200 1300 1300 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 1113600 1300 1300 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 1152000 1300 1300 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo 1190400 1300 1300 >/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
However, when I checked current voltage table in my phone, I noticed there is an extra line on top:
Code:
19200: 900 975
Seeing as there is no 19200 in the new script, is it still safe to use it?
19,200? The phone can't possibly run below 128,000....
Just do a nandroid before flashing your new kernel, if it doesnt work you can always restore
Is the script for a software or to copy to sh?
Sent from my HTC Desire using XDA App

[Q] VDD & OC Settings - ARHD 7

Hello Everyone!
I have a question regarding undervolting and overclocking.
I flashed ARHD 7. I am using stock Daemon Controller for virtuous_oc. I have very bad battery life atm so I tried to undervolt it a bit more. (Clocks are 122-1152MHz).
My VDD table is like this:
clock - voltage
122000 875
230400 900
307200 900
384000 925
460800 950
537600 975
614400 975
691200 1000
768000 1000
844800 1025
921600 1025
998400 1025
1075200 1025
1152000 1000
The reason I gave 1152000 only 1v is because my cpu were 75% at that clock, thatt is too much for me. Logically..i thought.. lower voltage would lover the time spent on that clock. Results: 35% at 122mhz and 50% at 1152mhz, other % are in between. But the battery life aint better.
BTW my system is superfast and stable.. no reboots or freezes nor anything.
Can someone suggests me what to do in this case? What are your VDD levels?
Thank you for your time
miHah

[Q] Over in the corner..

We got root on the one xL. So, my question is How about this over clocking going on here? So I finally rooted, got a ROM, flashed a kernel.. Then bought SETCPU and turned it up to 1.9ghz. This seemed to work right well, but then I discovered a tool from chainfire and found that it wasn't sticking. So I was told about and edited this thermald.conf file.
But I wanna know, what temp was it that caused this to occur, and what I have just changed?
I've overclocked 3 phones now (8125/fuze/inspire) but none were this nice (dual core for example.) and this one gets warm. But I cannot tell how warm? And now I've even changed something and don't even know what. And it was related to warm.
Tl;dr how hard is are you Pushin yer phone?
The change:
sampling 5000
[pa_therm0]
sampling 5000
thresholds 70 80 90
thresholds_clr 65 75 85
actions none none none
action_info 0 0 0
[tsens_tz_sensor0]
sampling 1000
thresholds 50 65 75 80 99 102 105
thresholds_clr 40 62 72 77 96 99 102
actions cpu cpu cpu cpu cpu+lcd+flashlight+battery+vibrator+gpu cpu+lcd+flashlight+battery+vibrator+gpu cpu+lcd+flashlight+battery+vibrator+gpu+shutdown
action_info 1809000 1242000 1134000 918000 594000+255+0+0+0+200000000 384000+30+1+3+1+27000000 384000+30+1+3+1+27000000+5000
[tsens_tz_sensor1]
sampling 1000
thresholds 75
thresholds_clr 72
actions none
action_info 0
[tsens_tz_sensor2]
sampling 1000
thresholds 100
thresholds_clr 80
actions none
action_info 0
[tsens_tz_sensor3]
sampling 1000
thresholds 75 78 81 84 87 90
thresholds_clr 72 75 78 81 84 87
actions cpu cpu cpu cpu+lcd+flashlight+battery+vibrator+gpu cpu+lcd+flashlight+battery+vibrator+gpu cpu+lcd+flashlight+battery+vibrator+gpu+shutdown
action_info 1242000 1134000 918000 594000+255+0+0+0+200000000 384000+30+1+3+1+27000000 384000+30+1+3+1+27000000+5000
[tsens_tz_sensor4]
sampling 1000
thresholds 50 65 80 86
thresholds_clr 40 62 77 84
actions gpu gpu gpu gpu
action_info 400000000 300000000 200000000 27000000
Please!
Move on to the One XL forum, please.
This is the forum for the One X with quadcore Tegra 3 CPU so we can't tell you which temperatures are ok for the dualcore S4 CPU in your device
Sent from my HTC One X using xda app-developers app

[Q] PegasusQ settings optimization?

I've read a lot of guides for setting up PegasusQ for the GS3, I've applied those settings on the gnex and its snappy but I feel like I'm not getting such great battery life now. Has anybody tweaked pegasusq for the gnex?
The guides I've seen are for the Siyah kernel and it doesn't use a fee of the parameters that our device does use. I feel like if this is set up properly it could be a really nasty governor!
I'm on the Zen kernel running rasbean 4.2.1 12/29 build.
Let's try and figure this out together so we can hopefully enhance all of our experiences!
Here is the post that I used: http://forum.xda-developers.com/showpost.php?p=24233103&postcount=3
Yeah with his recommended settings, it hot plugs nicely but I'm getting some bad battery drain when the screen is on, when I had the default Pegasusq settings it wasn't reap snappy but the battery didn't drain much.
Good luck everyone lol I'll be here
Sent from my Galaxy Nexus using Tapatalk 2
MY settings are:
sampling rate = 40000
up threshold = 75
sampling down factor = 2
ignore nice load = 0
io is busy = 1
down differential =8
freq step = 30
cpu up rate = 10
cpu down rate = 20
cpu up freq = 576000
cpu down freq = 384000
up nr cpus = 1
max cpu lock = 0
min cpu lock = 0
hotplug lock = 0
dvfs debug = 0
hotplug freq 1.1, 2.1, 3.1 = 576000
hotplug freq 2.0, 3.0, 4.0 = 384000
hotplug rq 1.1, 2.1, 3.1 = 250
hotplug rq 2.0, 3.0, 4.0 = 150
up threshold at min freq = 50
freq for responsiveness = 729000
this is all with ZenSeries kernel

[Q] Xperia S - Heats and lags, sometimes pauses games

Hi guys!
I got my SXS on 24 December and i try to play games (etc. Dead Space NFS Most Wanted) but my phone gets a bit hot (not very, but its a bit uncomfortable for my hands) but the bigger problem is: it drops the CPU clocks to 805 (?) MHz and its make games unplayable. All stock on my phone and I try to play nonpirate games. The worst is, sometimes the games pause automatically.
The phone do that too when I start playing. (So thats isn't hot and still lags, and pauses...)
Any suggestions?
only pauses, lags, and heats? man you are lucky..
my xperia ion is nowhere better. after 1st time playing dead space, it doesn't get hot or get lags. it simply rage quit and not letting me play every time i start the game.. all stock no pirate as well.
btw, xperia ion will be my last android phone, yes, no more android, but still other sony devices. i so hate the way android works, even though you can really enjoy the customization and apps integration, but seriously nothing else. i have lost all the faith on android and sony mobile. i don't wanna struggle just to get something i want to work. i want something reliable, and that's definitely not android.
asdf2222 said:
Hi guys!
I got my SXS on 24 December and i try to play games (etc. Dead Space NFS Most Wanted) but my phone gets a bit hot (not very, but its a bit uncomfortable for my hands) but the bigger problem is: it drops the CPU clocks to 805 (?) MHz and its make games unplayable. All stock on my phone and I try to play nonpirate games. The worst is, sometimes the games pause automatically.
The phone do that too when I start playing. (So thats isn't hot and still lags, and pauses...)
Any suggestions?
Click to expand...
Click to collapse
Go to system/etc and find thermal-send.conf
Edit with root explorer!
you'll see these lines:
[MSM_THERM]
sampling 10000
thresholds 49 52 55 58 70
thresholds_clr 45 50 53 56 68
actions lcd lcd cpu lcd shutdown
action_info 192 128 810000 64 0
Change to:
[MSM_THERM]
sampling 10000
thresholds 49 52 65 58 70
thresholds_clr 45 50 63 56 68
actions lcd lcd cpu lcd shutdown
action_info 192 128 810000 64 0
Reboot your phone will no longer lag during heavy game! Before if u reach 53 degree u'll lose performance. Now It will not clocked down until 63 Degree.
Thank me, if I deserved it.
Send from my stupid lt26i
Also, check you're on the latest firmware
Sent from my Jellybean Xperia S
Welcome to the forum. Please post all your questions here in Q&A in future.
Thanks
AvRS
Ben36 said:
Also, check you're on the latest firmware
Sent from my Jellybean Xperia S
Click to expand...
Click to collapse
Yeah im on the latest firmware, and i tried older firmwares too.
monivan said:
Go to system/etc and find thermal-send.conf
Edit with root explorer!
you'll see these lines:
[MSM_THERM]
sampling 10000
thresholds 49 52 55 58 70
thresholds_clr 45 50 53 56 68
actions lcd lcd cpu lcd shutdown
action_info 192 128 810000 64 0
Change to:
[MSM_THERM]
sampling 10000
thresholds 49 52 65 58 70
thresholds_clr 45 50 63 56 68
actions lcd lcd cpu lcd shutdown
action_info 192 128 810000 64 0
Reboot your phone will no longer lag during heavy game! Before if u reach 53 degree u'll lose performance. Now It will not clocked down until 63 Degree.
Thank me, if I deserved it.
Send from my stupid lt26i
Click to expand...
Click to collapse
May this will help, I changed this values i will test soon!
(sry for my english)
0000alex0000 said:
only pauses, lags, and heats? man you are lucky..
my xperia ion is nowhere better. after 1st time playing dead space, it doesn't get hot or get lags. it simply rage quit and not letting me play every time i start the game.. all stock no pirate as well.
Click to expand...
Click to collapse
I didnt had those problems on stock or by now. I play a lot on my Ion and everything runs great.
monivan said:
Go to system/etc and find thermal-send.conf
Edit with root explorer!
you'll see these lines:
[MSM_THERM]
sampling 10000
thresholds 49 52 55 58 70
thresholds_clr 45 50 53 56 68
actions lcd lcd cpu lcd shutdown
action_info 192 128 810000 64 0
Change to:
[MSM_THERM]
sampling 10000
thresholds 49 52 65 58 70
thresholds_clr 45 50 63 56 68
actions lcd lcd cpu lcd shutdown
action_info 192 128 810000 64 0
Reboot your phone will no longer lag during heavy game! Before if u reach 53 degree u'll lose performance. Now It will not clocked down until 63 Degree.
Thank me, if I deserved it.
Send from my stupid lt26i
Click to expand...
Click to collapse
I dont know but i changed the values and the game is auto pause... :S sry for my english :crying:
monivan said:
Go to system/etc and find thermal-send.conf
Edit with root explorer!
you'll see these lines:
[MSM_THERM]
sampling 10000
thresholds 49 52 55 58 70
thresholds_clr 45 50 53 56 68
actions lcd lcd cpu lcd shutdown
action_info 192 128 810000 64 0
Change to:
[MSM_THERM]
sampling 10000
thresholds 49 52 65 58 70
thresholds_clr 45 50 63 56 68
actions lcd lcd cpu lcd shutdown
action_info 192 128 810000 64 0
Reboot your phone will no longer lag during heavy game! Before if u reach 53 degree u'll lose performance. Now It will not clocked down until 63 Degree.
Thank me, if I deserved it.
Send from my stupid lt26i
Click to expand...
Click to collapse
will this work on Samsung galaxy music duos ? iam facing the same problem-i mean Auto pausing of games and also force stop sometimes..if this dont work then please post some working method for the device if any..

Categories

Resources