user @lefterisa3 found that in file /sys/rockchip_thermal/temp is cpu temperature - his post
i can't do the phone application
for the time being, I have made a script that shows me the temperature listed in the file /sys/rockchip_thermal/temp and stores it in a txt file, it needs root rights to create a log file, it can be modified so it does not need root
to start you must install Termux https://play.google.com/store/apps/details?id=com.termux&hl=cs and I recommend Hacker's Keyboard too https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboard&hl=cs
When you download the script to HU into the default download directory /sdcard/Download, extract it from zip file and then type in Termux:
in /sdcard/Download will be then log temp file
to stop this script type Ctrl + C - fot this you need Hacker's Keyboard
i copy my post to the separate thread in case someone was interested in this measurement or wanted to do for this android application
while I was measuring, the temperature jumps calmly by three degrees in 5 seconds - I do not know what to think about
share your results and sorry for my English, thanks
i can't do the phone application
for the time being, I have made a script that shows me the temperature listed in the file /sys/rockchip_thermal/temp and stores it in a txt file, it needs root rights to create a log file, it can be modified so it does not need root
to start you must install Termux https://play.google.com/store/apps/details?id=com.termux&hl=cs and I recommend Hacker's Keyboard too https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboard&hl=cs
When you download the script to HU into the default download directory /sdcard/Download, extract it from zip file and then type in Termux:
Code:
su
cd /sdcard/Download
sh px5temp
in /sdcard/Download will be then log temp file
to stop this script type Ctrl + C - fot this you need Hacker's Keyboard
Code:
#!/bin/bash
# script measure temp on Rockchip PX5 A53 (RK3688)
# in folder, where you run script, you find log file with measured temperature (log_px5temp_DATE.txt)
# in variable vhow_often_to_measure you can write the measurement frequency in seconds (default = 5)
# for stop press Ctrl + C
vhow_often_to_measure=5
vdate=`date +%Y-%m-%d:%H:%M:%S`
file_name=log_px5temp_$vdate.txt
while true; do
clear
vtemp=$(cat /sys/rockchip_thermal/temp)
vactual_date=`date +%Y-%m-%d:%H:%M:%S`
echo $vtemp $vactual_date >> $file_name
echo $vtemp $vactual_date
echo "measured once per $vhow_often_to_measure seconds"
sleep $vhow_often_to_measure
done
i copy my post to the separate thread in case someone was interested in this measurement or wanted to do for this android application
while I was measuring, the temperature jumps calmly by three degrees in 5 seconds - I do not know what to think about
share your results and sorry for my English, thanks