[Sony Xperia XZ2 Guides, News, & Discussion] Haldi4803:
just some ramblings to not forget....

/dev/stune doesn't really show much.... schedtune.boost always seems to be 0.

Some Sensor paths... might need them later on.

H8216:/ $ for file in sys/class/thermal/thermal_zone*/type; do echo "$file"; cat "$file"; done

sys/class/thermal/thermal_zone0/type

aoss0-usr

sys/class/thermal/thermal_zone1/type

cpu0-silver-usr

sys/class/thermal/thermal_zone2/type

cpu1-silver-usr

sys/class/thermal/thermal_zone3/type

cpu2-silver-usr

sys/class/thermal/thermal_zone4/type

cpu3-silver-usr

sys/class/thermal/thermal_zone5/type

kryo-l3-0-usr

sys/class/thermal/thermal_zone6/type

kryo-l3-1-usr

sys/class/thermal/thermal_zone7/type

cpu0-gold-usr

sys/class/thermal/thermal_zone8/type

cpu1-gold-usr

sys/class/thermal/thermal_zone9/type

cpu2-gold-usr

sys/class/thermal/thermal_zone10/type

cpu3-gold-usr

sys/class/thermal/thermal_zone11/type

gpu0-usr

sys/class/thermal/thermal_zone12/type

gpu1-usr

sys/class/thermal/thermal_zone13/type

aoss1-usr

sys/class/thermal/thermal_zone14/type

mdm-dsp-usr

sys/class/thermal/thermal_zone15/type

ddr-usr

sys/class/thermal/thermal_zone16/type

wlan-usr

sys/class/thermal/thermal_zone17/type

compute-hvx-usr

sys/class/thermal/thermal_zone18/type

camera-usr

sys/class/thermal/thermal_zone19/type

mmss-usr

sys/class/thermal/thermal_zone20/type

mdm-core-usr

sys/class/thermal/thermal_zone21/type

gpu-virt-max-step

sys/class/thermal/thermal_zone22/type

silv-virt-max-step

sys/class/thermal/thermal_zone23/type

gold-virt-max-step

sys/class/thermal/thermal_zone24/type

pop-mem-step

sys/class/thermal/thermal_zone25/type

cpu0-silver-step

sys/class/thermal/thermal_zone26/type

cpu1-silver-step

sys/class/thermal/thermal_zone27/type

cpu2-silver-step

sys/class/thermal/thermal_zone28/type

cpu3-silver-step

sys/class/thermal/thermal_zone29/type

cpu0-gold-step

sys/class/thermal/thermal_zone30/type

cpu1-gold-step

sys/class/thermal/thermal_zone31/type

cpu2-gold-step

sys/class/thermal/thermal_zone32/type

cpu3-gold-step

sys/class/thermal/thermal_zone33/type

lmh-dcvs-01 Stuck at 75000 no matter what...

sys/class/thermal/thermal_zone34/type

lmh-dcvs-00 Stuck at 75000 no matter what...

sys/class/thermal/thermal_zone35/type

pm8998_tz 20° Colder than cores at load, idle is same

sys/class/thermal/thermal_zone36/type

aoss0-lowf

sys/class/thermal/thermal_zone37/type

cpu0-silver-lowf

sys/class/thermal/thermal_zone38/type

cpu1-silver-lowf

sys/class/thermal/thermal_zone39/type

cpu2-silver-lowf

sys/class/thermal/thermal_zone40/type

cpu3-silver-lowf

sys/class/thermal/thermal_zone41/type

kryo-l3-0-lowf

sys/class/thermal/thermal_zone42/type

kryo-l3-1-lowf

sys/class/thermal/thermal_zone43/type

cpu0-gold-lowf

sys/class/thermal/thermal_zone44/type

cpu1-gold-lowf

sys/class/thermal/thermal_zone45/type

cpu2-gold-lowf

sys/class/thermal/thermal_zone46/type

cpu3-gold-lowf

sys/class/thermal/thermal_zone47/type

gpu0-lowf

sys/class/thermal/thermal_zone48/type

gpu1-lowf

sys/class/thermal/thermal_zone49/type

aoss1-lowf

sys/class/thermal/thermal_zone50/type

mdm-dsp-lowf

sys/class/thermal/thermal_zone51/type

ddr-lowf

sys/class/thermal/thermal_zone52/type

wlan-lowf

sys/class/thermal/thermal_zone53/type

compute-hvx-lowf

sys/class/thermal/thermal_zone54/type

camera-lowf

sys/class/thermal/thermal_zone55/type

mmss-lowf

sys/class/thermal/thermal_zone56/type

mdm-core-lowf

sys/class/thermal/thermal_zone57/type

ibat-high from 500 idle to 2200 load, dropping with throttling to 1120

sys/class/thermal/thermal_zone58/type

ibat-vhigh same as above

sys/class/thermal/thermal_zone59/type

vbat 3744 at idle 3666 at load.... wtf is this voltage?

sys/class/thermal/thermal_zone60/type

vbat_low same as above

sys/class/thermal/thermal_zone61/type

vbat_too_low same as above

sys/class/thermal/thermal_zone62/type

soc idles at 44, drops to 42 and 42 at load...

sys/class/thermal/thermal_zone63/type

pmi8998_tz Broken "No Data available"

sys/class/thermal/thermal_zone64/type

xo-therm-adc

sys/class/thermal/thermal_zone65/type

msm-therm-adc

sys/class/thermal/thermal_zone66/type

pa-therm1-adc

sys/class/thermal/thermal_zone67/type

quiet-therm-adc

sys/class/thermal/thermal_zone68/type

ufs_therm idles at 37656 drops to 33672 at load

sys/class/thermal/thermal_zone69/type

pa_therm2

sys/class/thermal/thermal_zone70/type

flash_therm

sys/class/thermal/thermal_zone71/type

battery you guessed it... battery!

sys/class/thermal/thermal_zone72/type

wireless broken "no such device"

sys/class/thermal/thermal_zone73/type

bms same as battery at idle, 6°C colder at load. Shis should be interesting while charging :)

sys/class/thermal/thermal_zone74/type

sony_camera_0 broken "no such device"

sys/class/thermal/thermal_zone75/type

sony_camera_1 broken "no such device"

sys/class/thermal/thermal_zone76/type

wsatz.14 either around 34 to 55

sys/class/thermal/thermal_zone77/type

wsatz.13 idles at 38, goes to 53 at load

Edit: i did a test while Loaded and saw how the temperatures changed... Oh... and i also wrote a little script, to run on your phone, which writes all temperatures down as .csv

Yeah..... there is a lot of sensors... so let's try to cut some...

the normal difference between usr step and lowf is almost nonexistent... so one should be enough.

H8216:/ $ for file in sys/class/thermal/cooling_device*/type; do echo "$file"; cat "$file"; done

sys/class/thermal/cooling_device0/type

panel0-backlight

sys/class/thermal/cooling_device1/type

thermal-devfreq-0

sys/class/thermal/cooling_device2/type

thermal-cpufreq-0

sys/class/thermal/cooling_device3/type

thermal-cpufreq-1

sys/class/thermal/cooling_device4/type

thermal-cpufreq-2

sys/class/thermal/cooling_device5/type

thermal-cpufreq-3

sys/class/thermal/cooling_device6/type

thermal-cpufreq-4 #Throttling is happening here: shows value 10

sys/class/thermal/cooling_device7/type

thermal-cpufreq-5

sys/class/thermal/cooling_device8/type

thermal-cpufreq-6

sys/class/thermal/cooling_device9/type

thermal-cpufreq-7 #Throttling is happening here: shows value 24

sys/class/thermal/cooling_device10/type

ebi

sys/class/thermal/cooling_device11/type

cx

sys/class/thermal/cooling_device12/type

mx-cdev-lvl

sys/class/thermal/cooling_device13/type

cdsp_vdd

sys/class/thermal/cooling_device14/type

adsp_vdd

sys/class/thermal/cooling_device15/type

slpi_vdd

sys/class/thermal/cooling_device16/type

modem_pa

sys/class/thermal/cooling_device17/type

modem_proc

sys/class/thermal/cooling_device18/type

modem_vdd

sys/class/thermal/cooling_device19/type

modem_current

sys/class/thermal/cooling_device20/type

modem_skin

EDIT: P Dev Preview 2

oooh Fûck this shít they changed quite a bit in P dev Preview 2 -.-

C:\ADB>adb shell for file in sys/class/thermal/thermal_zone*/type; do echo "$file"; cat "$file"; done

sys/class/thermal/thermal_zone0/type

aoss0-usr

sys/class/thermal/thermal_zone1/type

cpu0-silver-usr

sys/class/thermal/thermal_zone10/type

cpu3-gold-usr

sys/class/thermal/thermal_zone11/type

gpu0-usr

sys/class/thermal/thermal_zone12/type

gpu1-usr

sys/class/thermal/thermal_zone13/type

aoss1-usr

sys/class/thermal/thermal_zone14/type

mdm-dsp-usr

sys/class/thermal/thermal_zone15/type

ddr-usr

sys/class/thermal/thermal_zone16/type

wlan-usr

sys/class/thermal/thermal_zone17/type

compute-hvx-usr

sys/class/thermal/thermal_zone18/type

camera-usr

sys/class/thermal/thermal_zone19/type

mmss-usr

sys/class/thermal/thermal_zone2/type

cpu1-silver-usr

sys/class/thermal/thermal_zone20/type

mdm-core-usr

sys/class/thermal/thermal_zone21/type

gpu-virt-max-step

sys/class/thermal/thermal_zone22/type

silv-virt-max-step

sys/class/thermal/thermal_zone23/type

gold-virt-max-step

sys/class/thermal/thermal_zone24/type

pop-mem-step

sys/class/thermal/thermal_zone25/type

cpu0-silver-step

sys/class/thermal/thermal_zone26/type

cpu1-silver-step

sys/class/thermal/thermal_zone27/type

cpu2-silver-step

sys/class/thermal/thermal_zone28/type

cpu3-silver-step

sys/class/thermal/thermal_zone29/type

cpu0-gold-step

sys/class/thermal/thermal_zone3/type

cpu2-silver-usr

sys/class/thermal/thermal_zone30/type

cpu1-gold-step

sys/class/thermal/thermal_zone31/type

cpu2-gold-step

sys/class/thermal/thermal_zone32/type

cpu3-gold-step

sys/class/thermal/thermal_zone33/type

lmh-dcvs-01

sys/class/thermal/thermal_zone34/type

lmh-dcvs-00

sys/class/thermal/thermal_zone35/type

pm8998_tz

sys/class/thermal/thermal_zone36/type

pm8005_tz

sys/class/thermal/thermal_zone37/type

aoss0-lowf

sys/class/thermal/thermal_zone38/type

cpu0-silver-lowf

sys/class/thermal/thermal_zone39/type

cpu1-silver-lowf

sys/class/thermal/thermal_zone4/type

cpu3-silver-usr

sys/class/thermal/thermal_zone40/type

cpu2-silver-lowf

sys/class/thermal/thermal_zone41/type

cpu3-silver-lowf

sys/class/thermal/thermal_zone42/type

kryo-l3-0-lowf

sys/class/thermal/thermal_zone43/type

kryo-l3-1-lowf

sys/class/thermal/thermal_zone44/type

cpu0-gold-lowf

sys/class/thermal/thermal_zone45/type

cpu1-gold-lowf

sys/class/thermal/thermal_zone46/type

cpu2-gold-lowf

sys/class/thermal/thermal_zone47/type

cpu3-gold-lowf

sys/class/thermal/thermal_zone48/type

gpu0-lowf

sys/class/thermal/thermal_zone49/type

gpu1-lowf

sys/class/thermal/thermal_zone5/type

kryo-l3-0-usr

sys/class/thermal/thermal_zone50/type

aoss1-lowf

sys/class/thermal/thermal_zone51/type

mdm-dsp-lowf

sys/class/thermal/thermal_zone52/type

ddr-lowf

sys/class/thermal/thermal_zone53/type

wlan-lowf

sys/class/thermal/thermal_zone54/type

compute-hvx-lowf

sys/class/thermal/thermal_zone55/type

camera-lowf

sys/class/thermal/thermal_zone56/type

mmss-lowf

sys/class/thermal/thermal_zone57/type

mdm-core-lowf

sys/class/thermal/thermal_zone58/type

ibat-high

sys/class/thermal/thermal_zone59/type

ibat-vhigh

sys/class/thermal/thermal_zone6/type

kryo-l3-1-usr

sys/class/thermal/thermal_zone60/type

vbat

sys/class/thermal/thermal_zone61/type

vbat_low

sys/class/thermal/thermal_zone62/type

vbat_too_low

sys/class/thermal/thermal_zone63/type

soc

sys/class/thermal/thermal_zone64/type

pmi8998_tz

sys/class/thermal/thermal_zone65/type

xo-therm-adc

sys/class/thermal/thermal_zone66/type

msm-therm-adc

sys/class/thermal/thermal_zone67/type

pa-therm1-adc

sys/class/thermal/thermal_zone68/type

quiet-therm-adc

sys/class/thermal/thermal_zone69/type

ufs_therm

sys/class/thermal/thermal_zone7/type

cpu0-gold-usr

sys/class/thermal/thermal_zone70/type

pa_therm2

sys/class/thermal/thermal_zone71/type

flash_therm

sys/class/thermal/thermal_zone72/type

battery

sys/class/thermal/thermal_zone73/type

wireless

sys/class/thermal/thermal_zone74/type

bms

sys/class/thermal/thermal_zone75/type

sony_camera_0

sys/class/thermal/thermal_zone76/type

sony_camera_1

sys/class/thermal/thermal_zone77/type

wsatz.14

sys/class/thermal/thermal_zone78/type

wsatz.13

sys/class/thermal/thermal_zone8/type

cpu1-gold-usr

sys/class/thermal/thermal_zone9/type

cpu2-gold-usr

Thermal/cooling_device is still the same...

akari:/ $ for file in sys/class/thermal/cooling_device*/type; do echo "$file"; cat "$file"; done |MAX|MIN|

sys/class/thermal/cooling_device0/type

panel0-backlight |4095|error|

sys/class/thermal/cooling_device1/type

thermal-devfreq-0 |6|6|

sys/class/thermal/cooling_device10/type

ebi |1|1|

sys/class/thermal/cooling_device11/type

cx |1|1|

sys/class/thermal/cooling_device12/type

mx-cdev-lvl |1|1|

sys/class/thermal/cooling_device13/type

cdsp_vdd |1|1|

sys/class/thermal/cooling_device14/type

slpi_vdd |1|1|

sys/class/thermal/cooling_device15/type

adsp_vdd |1|1|

sys/class/thermal/cooling_device16/type

modem_pa |3|0|

sys/class/thermal/cooling_device17/type

modem_proc |3|0|

sys/class/thermal/cooling_device18/type

modem_vdd |1|1|

sys/class/thermal/cooling_device19/type

modem_current |3|0|

sys/class/thermal/cooling_device2/type

thermal-cpufreq-0 |18|18|

sys/class/thermal/cooling_device20/type

modem_skin |3|0|

sys/class/thermal/cooling_device3/type

thermal-cpufreq-1 |18|18|

sys/class/thermal/cooling_device4/type

thermal-cpufreq-2 |18|18|

sys/class/thermal/cooling_device5/type

thermal-cpufreq-3 |18|18|

sys/class/thermal/cooling_device6/type

thermal-cpufreq-4 |24|24|

sys/class/thermal/cooling_device7/type

thermal-cpufreq-5 |24|24|

sys/class/thermal/cooling_device8/type

thermal-cpufreq-6 |24|24|

sys/class/thermal/cooling_device9/type

thermal-cpufreq-7 |24|24|

To Properly show these Values i've modified the adb reading scripts i've found somewhere else on XDA...

You simply start the .bat file when connected via ADB... either trough USB, or connect phone via USB type "ADB tcpip 5555" unplug, when in WiFi use adb connect 192.168.1.XX:5555