FORUMS
Remove All Ads from XDA

Temperature measurement on Rockchip PX5 A53 (RK3688)

86 posts
Thanks Meter: 33
 
By alda.cerny, Member on 25th August 2017, 11:05 PM
Post Reply Email Thread
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/d...m.termux&hl=cs and I recommend Hacker's Keyboard too https://play.google.com/store/apps/d...keyboard&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
Attached Files
File Type: zip px5temp.zip - [Click for QR Code] (504 Bytes, 32 views)
The Following 3 Users Say Thank You to alda.cerny For This Useful Post: [ View ] Gift alda.cerny Ad-Free
 
 
26th August 2017, 10:26 AM |#2  
Member
Thanks Meter: 17
 
More
https://play.google.com/store/apps/d...=ds.cpuoverlay
Its called cool tools.
It can be set on custom label tabs
Not tryied yet but seems it will work
The Following 2 Users Say Thank You to lefterisa3 For This Useful Post: [ View ] Gift lefterisa3 Ad-Free
26th August 2017, 11:06 AM |#3  
alda.cerny's Avatar
OP Member
Flag Prerov
Thanks Meter: 33
 
More
Quote:
Originally Posted by lefterisa3

https://play.google.com/store/apps/d...=ds.cpuoverlay
Its called cool tools.
It can be set on custom label tabs
Not tryied yet but seems it will work

great app, it works, thanks man

in Cool Tool choose bookmark Labels, then press FINE TUNING, choose Custom Label 1 and in Path write /sys/rockchip_thermal/temp

in bookmark Labels activate Custom Label 1 and Enable app Cool Tool (button at the top right)
The Following 2 Users Say Thank You to alda.cerny For This Useful Post: [ View ] Gift alda.cerny Ad-Free
27th August 2017, 07:41 AM |#4  
Senior Member
Thanks Meter: 85
 
More
Any safe temperature range? For me it ranges from 85 to 95 seems to be very high
27th August 2017, 10:01 AM |#5  
alda.cerny's Avatar
OP Member
Flag Prerov
Thanks Meter: 33
 
More
Quote:
Originally Posted by smnrock

Any safe temperature range? For me it ranges from 85 to 95 seems to be very high

hi,
I tried it now in a garage with a temperature of 21 ° C
by permanent CPU usage 25-27% I have reached the temperature 87-95 ° C
with the fan turned on by the same CPU usage I got to the temperature of 65-72 ° C

there is not much hot here at the moment, so I will have to measure with higher ambient temperature later
i will definitely share the results

unfortunately, I don't know what is the optimal working temperature of the PX5 processor
The Following User Says Thank You to alda.cerny For This Useful Post: [ View ] Gift alda.cerny Ad-Free
27th August 2017, 08:38 PM |#6  
Senior Member
Thanks Meter: 94
 
More
Quote:
Originally Posted by smnrock

Any safe temperature range? For me it ranges from 85 to 95 seems to be very high

What does the manufacturer datasheet list for operating temperature?
27th August 2017, 09:05 PM |#7  
Cid6.7's Avatar
Senior Member
Flag B.C
Thanks Meter: 25
 
More
Does this work or be made to work on the MTCD Sofia ?
I installed a pc fan blowing cold air down to the chip from the A/C
27th August 2017, 10:02 PM |#8  
alda.cerny's Avatar
OP Member
Flag Prerov
Thanks Meter: 33
 
More
Quote:
Originally Posted by Cid6.7

Does this work or be made to work on the MTCD Sofia ?

i don't know, i haven't this HU, you can try it
I think the temperature on this processor can be measured by common applications from Google Play, try CPU-Z https://play.google.com/store/apps/d...om.cpuid.cpu_z

Quote:
Originally Posted by Cid6.7

I installed a pc fan blowing cold air down to the chip from the A/C

I would be afraid of air condensation from A/C
I think this path is not a good solution
28th August 2017, 09:05 AM |#9  
Cid6.7's Avatar
Senior Member
Flag B.C
Thanks Meter: 25
 
More
Quote:
Originally Posted by alda.cerny

i don't know, i haven't this HU, you can try it
I think the temperature on this processor can be measured by common applications from Google Play, try CPU-Z https://play.google.com/store/apps/d...om.cpuid.cpu_z


I would be afraid of air condensation from A/C
I think this path is not a good solution

It actually just sucks the cold off the plastic vent tube thats about a inch above it.
If I do see any effects from it I'll turn the fan around.
28th August 2017, 09:53 AM |#10  
Member
Thanks Meter: 17
 
More
The file system/etc/thermalprofiles.html it seems to be
a good starting point to see where are the limits of that chip
I see several values starting with 95
If we throttle down at 95 ...then we need cooling solutions as 95 can be reached very easily on those.
Can someone read the file and share?
28th August 2017, 10:52 AM |#11  
alda.cerny's Avatar
OP Member
Flag Prerov
Thanks Meter: 33
 
More
Quote:
Originally Posted by lefterisa3

The file system/etc/thermalprofiles.html it seems to be
a good starting point to see where are the limits of that chip
I see several values starting with 95
If we throttle down at 95 ...then we need cooling solutions as 95 can be reached very easily on those.
Can someone read the file and share?

/system/etc/thermalprofiles.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<ThermalSettings>
    <!-- Each camcorder profile defines a set of predefined configuration parameters -->
    <ThermalProfiles id="1" path="/sys/devices/system/cpu/cpu1/online">
        <thermal tempUp="126"
                  tempDown="110"
                  value="0">
        </thermal>
        <thermal tempUp="95"
                  tempDown="0"
                  value="1">
        </thermal>
    </ThermalProfiles>
    <ThermalProfiles id="2" path="/sys/devices/system/cpu/cpu2/online">
        <thermal tempUp="126"
                  tempDown="110"
                  value="0">
        </thermal>
        <thermal tempUp="95"
                  tempDown="0"
                  value="1">
        </thermal>
    </ThermalProfiles>
    <ThermalProfiles id="3" path="/sys/devices/system/cpu/cpu3/online">
        <thermal tempUp="126"
                  tempDown="110"
                  value="0">
        </thermal>
        <thermal tempUp="95"
                  tempDown="0"
                  value="1">
        </thermal>
    </ThermalProfiles>
    <ThermalProfiles id="4" path="/sys/devices/system/cpu/cpu4/online">
        <thermal tempUp="126"
                  tempDown="110"
                  value="0">
        </thermal>
        <thermal tempUp="95"
                  tempDown="0"
                  value="1">
        </thermal>
    </ThermalProfiles>
    <ThermalProfiles id="5" path="/sys/devices/system/cpu/cpu5/online">
        <thermal tempUp="126"
                  tempDown="110"
                  value="0">
        </thermal>
        <thermal tempUp="95"
                  tempDown="0"
                  value="1">
        </thermal>
    </ThermalProfiles>
    <ThermalProfiles id="6" path="/sys/devices/system/cpu/cpu6/online">
        <thermal tempUp="126"
                  tempDown="110"
                  value="0">
        </thermal>
        <thermal tempUp="95"
                  tempDown="0"
                  value="1">
        </thermal>
    </ThermalProfiles>
    <ThermalProfiles id="7" path="/sys/devices/system/cpu/cpu7/online">
        <thermal tempUp="126"
                  tempDown="110"
                  value="0">
        </thermal>
        <thermal tempUp="95"
                  tempDown="0"
                  value="1">
        </thermal>
    </ThermalProfiles>
</ThermalSettings>
Post Reply Subscribe to Thread

Tags
measurement, px5, temperature

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes