/sys/devices/virtual/thermal/thermal_zone0/temp
shows 37°C (37000 millicelcius) no matter what the actual temperature is. The device is Moto G32, Android 12, not rooted. Using cat
on Termux to view the temperature.
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It only takes a minute to sign up.
Sign up to join this community
dumpsys thermalservice
should be able to be called directly from Termux. Let us know if it helps. Otherwise, is there a requirement to get the value from that folder specifically?adb shell pm grant com.termux android.permission.dump
; Then in your Termux environment, run/system/bin/dumpsys thermalservice