Temperature measurement on Rockchip PX5 A53 (RK3688)

Search This thread

alda.cerny

Senior Member
Dec 29, 2014
147
69
Prerov
Google Pixel 5
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:
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
 

Attachments

  • px5temp.zip
    504 bytes · Views: 181

alda.cerny

Senior Member
Dec 29, 2014
147
69
Prerov
Google Pixel 5
  • Like
Reactions: Bose321 and smnrock

smnrock

Senior Member
Aug 10, 2009
925
17
Any safe temperature range? For me it ranges from 85 to 95 seems to be very high :(
 

alda.cerny

Senior Member
Dec 29, 2014
147
69
Prerov
Google Pixel 5
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
 
  • Like
Reactions: smnrock

alda.cerny

Senior Member
Dec 29, 2014
147
69
Prerov
Google Pixel 5
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/details?id=com.cpuid.cpu_z

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
 

Cid6.7

Senior Member
Dec 30, 2012
379
44
B.C
Huawei P30 Pro
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/details?id=com.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.
 

lefterisa3

Senior Member
Jul 20, 2017
101
58
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?
 
Last edited:

alda.cerny

Senior Member
Dec 29, 2014
147
69
Prerov
Google Pixel 5
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>
 

alda.cerny

Senior Member
Dec 29, 2014
147
69
Prerov
Google Pixel 5
Last edited:

verkion

Senior Member
Sep 3, 2007
350
33
47-57 for my CPU. Of course I put a giant heatsink on it. It's about 20C outside. I think it gets about 65C when it's 26-28C outside.

Sent from my SM-G935F using Tapatalk
 

verkion

Senior Member
Sep 3, 2007
350
33
Actually, I wasn't paying attention to that as I wasn't trying to load it any differently than when I am normally driving around. Navi and a phone call was going, with paused Google Play Music. I'll try it again with an artificial load and let you know what happens!

Sent from my Nexus 9 using Tapatalk
 
  • Like
Reactions: alda.cerny

lefterisa3

Senior Member
Jul 20, 2017
101
58
Thermal paste applied on both sides and screwed in place not making any extra holes...
b33a5ec130e891afd56eb44c3e93b37f.jpg
714033f4d716665e35f3b94ac2f55d1e.jpg


Edit. Didnt calculate the space for the cd rom and had to fit the rear heatsink lower than what is in the picture. Had to relocate wifi antenna to go lower
 
Last edited:

lefterisa3

Senior Member
Jul 20, 2017
101
58
Thanks for the tip. I happen to have tons of adhesive thermal stickers but i desided to mechanicly mount this for 2 reasons.
Fisrt i trust the screws on suporting the rear heatsink but also suporting the tension on the cpu heatsink!
On the cpu side i used thermal sticker with a hole and heat paste in the midle... it was an overkill but i had a day off:cowboy:
And second this is a car and it takes on potholes and alot of vibration and this structure is not as lightweight as a simple heatsink.
And not to mention i beieve the thermal paste transfers heat better... thats not a big reason.. but.. its peace of mind.
The first tests are surprisengly encouraging!!
After 3 min stress test i measured 55 degrees opossed to 70 with my previous setup.
I didnt use the same method when i first started so i dont have a clear image before(no heatsinks at all) vs after BUT as my memory is fresh i remember 95 was not dificult even without any stress test.we are talking to a diference of almost 35c !!
Thats the ultimate setup in my opinion.
No fans.. no emi.. no cables no noises no nothing.
Huge cooling effect using the rear thick heatsink already on our units. I
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    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:
    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
    2
    https://play.google.com/store/apps/details?id=ds.cpuoverlay
    Its called cool tools.
    It can be set on custom label tabs
    Not tryied yet but seems it will work
    2
    https://play.google.com/store/apps/details?id=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)
    1
    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
    1
    The spec sheet says the operating temperature is -20c to +85c so these temperatures people are getting are right at the upper limit or above! I'm definitely putting a heat sync on (I'll use the one I put on my PX3)

    https://www.theobroma-systems.com/application/files/9714/8034/1429/DS_RK3368-uQ7_Rev1.0.pdf