Temperature measurement on Rockchip PX5 A53 (RK3688) - MTCD Android Head Units Q&A

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

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

lefterisa3 said:
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
Click to expand...
Click to collapse
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)

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

smnrock said:
Any safe temperature range? For me it ranges from 85 to 95 seems to be very high
Click to expand...
Click to collapse
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

smnrock said:
Any safe temperature range? For me it ranges from 85 to 95 seems to be very high
Click to expand...
Click to collapse
What does the manufacturer datasheet list for operating temperature?

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

Cid6.7 said:
Does this work or be made to work on the MTCD Sofia ?
Click to expand...
Click to collapse
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
Cid6.7 said:
I installed a pc fan blowing cold air down to the chip from the A/C
Click to expand...
Click to collapse
I would be afraid of air condensation from A/C
I think this path is not a good solution

alda.cerny said:
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
Click to expand...
Click to collapse
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.

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?

lefterisa3 said:
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?
Click to expand...
Click to collapse
/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>

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

bjt2 said:
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
Click to expand...
Click to collapse
maybe it's the temperature of the surroundings, not the temperature of the processor

alda.cerny said:
maybe it's the temperature of the surroundings, not the temperature of the processor
Click to expand...
Click to collapse
Actually you're right, it says "operating environment".. I remember seeing a spec sheet for the PX3 and from memory it was 105ºc, I'd say this one would probably be pretty similar.

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 said:
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
Click to expand...
Click to collapse
what was CPU usage?

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

Thermal paste applied on both sides and screwed in place not making any extra holes...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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

lefterisa3 said:
Thermal paste applied on both sides and screwed in place not making any extra holes...
Click to expand...
Click to collapse
A useful tip I found is to use thermal adhesive instead of thermal paste, that way you don't have any issues trying to figure out how to screw it on or anything, very easy. Here's the stuff I used https://goo.gl/pVvPzd which only cost 0.55c a tube

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
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

Related

[INFO]Understanding overclocking.

Hello XDA community,
I have been on a break from the whole Android development thing for quite a while , I came back to XDA and some mediatek chipset tweaking a week ago or so , and I have noticed several people shouting about overclocking their CPUs and GPUs to gain performance Blah Blah Blah.... If you Don't want all the technical stuff , here's the short answer:
Overclocking has a 50-50 chance to give you better or worse performance
Now for those who still want how to know how overclocking works and affects the performance , Get a cup of coffee or something.So I will start with the most basic question ,
What is Overclocking?
Overclocking is the act of increasing the frequency at which a CPU operates , so it runs faster and hopefully gives us better performance.
For example , Let's take the Mediatek's MT6589 chipset , It has max frequency seen of 1209 MHz (@stock setting).
This means that the CPU can transmit 1200 0s and 1s in a second, to simplify things , lets use an imaginary runner here , the runner has to run on a 100 foot track , when he reaches either end , the CPU registers a 0 or a 1 , the only 2 numbers which our CPU industry works upon , now , at stock un-overclocked frequencies , the runner is easily able to run , 1200 times , in mt6589's case , this is the speed at which your CPU can think , or process , when we increase the frequency , we are telling the runner to increase the times it has to run to and fro from a 0 to a 1 , or vice versa , which in turn increases our hardware's processing power , but , this does not mean , you can go on increasing the frequency as long the device is under operatable temperatures , there are certain factors which matter while increasing the frequency , which leads us to the next topic ,
Voltages , and Overvolting
Voltage is the ingredient that grants greater stable MHz potential to our transistor based computer hardware. Our RAM, processors, video cards, and motherboard chipsets all see gains from overvoltage.
But what does voltage actually do? How much is really too much? What are some dangers to Overvolting? Are there numbers set in stone, or is each piece of hardware different? How can we accurately and safely determine safe overvoltage limits for our expensive hardware, without killing it?If you aren't interested in all the 'how it works' stuff ,feel free to skip this part.
So , to start , let's clear this doubt , overvolting DOES NOT provide extra current , or more juice to accomplish higher overclocks , it just increases the strength of the signal inside the CPU/GPU.
All of todays computers use two binary digits , as told earlier , 0 and 1 , these 0s and 1s occur , or get registered and processed through voltages , voltage high , for a 1 , and voltage low , for a 0 , 0v typically represents a voltage low , or VSS ,Voltage high , or VCORE , is variable for each processor , there aren't any details I could find about voltages of mobile processors , but most of the 28 nm based CPUs have anywhere around 1.2v to 1.5v , but what we need to know is that when our CPU sees a voltage NEAR to the VCORE , it registers it as a 1 , yes , a voltage NEAR to the VCORE , exact VCORE voltages are rarely seen , the part which determines how much near the voltage needs to be is the tolerance , lets say that a processor has a VCORE voltage of 1.4v , with a tolerance of 5% , so , if the voltage reaches 1.35v , the signal will be regarded as a 1 , because the tolerance allows for a 5% loss of voltage , the min. voltage to be seen as a 1 would be 1.33v. BUT , as soon as the voltage exceeds the tolerance threshold , our CPU starts to mess things up , For instance , if the voltage is not able to reach a minimum of 1.33v ,Our CPU will register it as a 0 , the signal strength , which we talked about earlier is not powerful/good enough to reach the VCORE , this is what is known as an unstable CPU. This is the part where you need to play around with voltages. But , wait , why do we need to do that ? , the answer is , if you are at stock speeds , you don't ,the SoC manufacturers have enough brains to set the right voltage for the frequency , and you don't need to do it unless you are seeing the symptoms of an unstable CPU , which includes FCs , failed benchmarks , anything abnormal. So to make things even easier , Let's go back to the runner example again :
If we tell the runner to complete 1400 rounds , which is our frequency , instead of 1200 , on a 100 foot track , we keep increasing the frequency , until we reach a point where it is impossible for the runner to complete the 95 foot-mark , which is necessary for our CPU to register a 1 , and is called back when it hits the 90-foot already , that is when our CPU registers a 1 as a 0 , a VCORE as a VSS , and that is all that matters.when we increase frequency , we shorten the time given to the runner to reach the 95 foot-mark , and depending on the strength of the signal , or speed of the runner , it might or might not be able to complete it .
This problem is solved by overvolting , basically , overvolting means increasing the strength of the signal , or the speed of the runner ,let's take two scenarios here
In this example, the measurement ‘feet’ represents voltage signal strength, and the measurement ‘time’ represents the transition period between VSS and VCORE. Runner #1 can run 100 feet in 20 seconds (Stock VCORE), Runner #2 can run 110 feet in 20 seconds (VCORE overvolted by 10%). Runner #1 can run 5 feet per second. Runner #2 can run 5.5 feet per second. Our overvolted signal switches slightly faster than our stock signal, in the same time period, just as runner #2 can run further in the same time period. Please keep in mind that this is a simple example for explanation, and that signal switching speed is not so linear as "10% overvolt=10% signal switching speed increase".
At a stock frequency, we have 20 seconds to get within transistor tolerance, say it’s 5%, or 95 feet. Both runners make it. Now we overclock our frequency, and shorten the amount of time in which the runners have to get within our transistor tolerance of 95 feet. We increase the frequency, and shorten the transition time to 18 seconds. Runner #2, running at 5.5 feet per second, makes it to the 99 foot mark in 18 seconds, he is within tolerance, and his run is correctly counted as a 1. Runner #1 isn’t fast enough. He makes it to the 90 foot mark in 18 seconds, and is not within the tolerance. Runner #1’s run is incorrectly counted as a 0, and we have instability. In this manner, increasing signal switching speed to directly increase signal strength, overvolting allow us to increase our frequency (overclocking).
Silicon lottery
I wouldn't go stressing too much on this topic , basically , every CPU , even of the same model , manufactured at the same factory , with the same machine can vary greatly , The die inside CPU are made up of silicon , the silicon is extracted from inside the earth in big blocks , the part of silicon which is at the center will give you more overclocking potential and generate less heat , unfortunately , it depends on your luck which chip you get and what is it's potential , for example , I had a AMD FX8320 Desktop CPU , to my surprise , is overclocked to +1100 MHz with appropriate cooling , seeing the performance , I bought another one (exact same model)for one of my other systems , and sadly it overclocked max to +430 MHz , in short , My first chip had won the silicon lottery , while this one was not so good.
In the conclusion , it depends on you if you are willing to take the risk , System boards on Mobile devices have power phases which pretty much only supply the voltage the CPU will need @ max on stock clocks , and without overvoltage , you are pretty much restricted to anywhere from 10-80 MHz , even if magically you are getting stable performance at something around +120 MHz , you will run into issues like heating , potential bottlenecks , battery over-heating , if you consider overvolting , AFAIK there aren't much options for mobile CPUs.the System boards don't have .. ummmm.. good power phases , this is to reduce the battery usage because the CPU won't use more than what is specified by mediatek , qualcomm or whatever.Overvolting also has the effect of increasing the rate of electromigration within our hardware , you can google it to find out more , If you'd like to overclock , Find a Kernel that supports OCing for your device , flash it and then download something like SetCPU , start in increments of 10 MHz , run benchmarks , look for abnormalities and FCs , as soon as you notice one , take one step down , that is the best you are going to get.
NOTEon't just overclock your CPU/GPU to something someone might have accomplished , each chip is different , has a different overclocking headroom and heat generation.
I WILL NOT BE RESPONSIBLE FOR ANY KIND OF DAMAGE TO YOUR DEVICE.
you didn't show how to overclock and modify a kernel, practice is more important than the warnings people often say. It's funny how many people just talk about overclocking and danger, then fear and prevention! But there is almost no presentation on how to guide overclocking!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Stock Kernel Optimisation

Hello M2 users, y'all probably wondering what did I mean by the thread title above so I'll get straight to the point nice and simple.
Using a stock kernel sucks, any CPU Tuner will go bonkers adjusting frequencies only to see it revert to stock again. So, while browsing for ways to optimise performance and battery in the Xperia, I came across this guide (now updated to this) on our Interactive governor. While it's on a different phone, the explanations are clear enough to tell anyone that yes, this can be adapted so long as you are rooted.
So read the whole post to give yourself an idea on the functions available for you. I use Kernel Adiutor for this as it seems most reliable.
But first, go into your build.prop files and edit this code:
Code:
ro.min_freq_0=300000
Set the frequency to 300000 (300Mhz) and restart or your phone will always be stuck on a higher frequency.
Also in the Kernel Samepage Merging, turn it off. There isn't much of an impact between battery and performance so this function is useless.
So now head into the CPU section, towards Tunables and add the following values according to the screenshot.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[/img]
This gave me 50% battery usage over 26 hours, with 5 hours of Screen on Time used by chatting, gaming, and web surfing. Pretty good looking at all the times I've run the battery with less usage.
Anyhoo, I hope these settings are useful for y'all and if anyone has any modifications to these settings please do share it with your results. This may perhaps be the only guide where we control the governor on a deeper level rather than taking it as it is, so let's squeeze as much juice out of this phone as possible.
Update: These are the settings I've settled with, no negligible battery life and not much of an impact on performance. The voltage tables for the SD400 looks to be dynamic so you can't get an exact reading and anyone who looks at it will suggest you buy a new phone instead >.>
How do you add multiple values on one settings ?
I can't seem to be able to
FrWhyMe said:
How do you add multiple values on one settings ?
I can't seem to be able to
Click to expand...
Click to collapse
Right now you can only add multiples for above_hispeed_delay and target_load. Just tap the space bar each time you add in new values and the app will auto-arrange it for you. If it still doesn't work, what kernel are you using?
Can you repost the photo or write the values please?
basem_ym said:
Can you repost the photo or write the values please?
Click to expand...
Click to collapse
I'm not using this anymore, Sony's stock setting is fine unless you can somehow change the voltage.
AutumQueen92 said:
I'm not using this anymore, Sony's stock setting is fine unless you can somehow change the voltage.
Click to expand...
Click to collapse
I spent last week trying to study and understand those govenors.
Since yesterday, I was trying and tunning the stock interactive govenor
I didnt notice any major changes in performance but I was surprised by power consumption
Ex: I used to play Solitaire everyday more than 2 times a day, each time I spend like 1 hour and my battery drops like 10%
After tunning the interactive govenor my battery drops like 4-6%
Which means its much better than stock
I'm using EagleExperience rom which come with stock kernel
Anyway I just want to know your tunnables because the photo you posted is not opening
I want to compare them with my numbers
Thank you for this post and sorry for bad english
It's not my first lang.
basem_ym said:
I spent last week trying to study and understand those govenors.
Since yesterday, I was trying and tunning the stock interactive govenor
I didnt notice any major changes in performance but I was surprised by power consumption
Ex: I used to play Solitaire everyday more than 2 times a day, each time I spend like 1 hour and my battery drops like 10%
After tunning the interactive govenor my battery drops like 4-6%
Which means its much better than stock
I'm using EagleExperience rom which come with stock kernel
Anyway I just want to know your tunnables because the photo you posted is not opening
I want to compare them with my numbers
Thank you for this post and sorry for bad english
It's not my first lang.
Click to expand...
Click to collapse
These are my current settings, the 300Mhz and 787Mhz share the same voltage and any higher frequency has the same voltage too so it's more efficient to use Sony's settings. The only difference in here is I used Intelliplug to better control how they ramp up.
AutumQueen92 said:
These are my current settings, the 300Mhz and 787Mhz share the same voltage and any higher frequency has the same voltage too so it's more efficient to use Sony's settings. The only difference in here is I used Intelliplug to better control how they ramp up.
Click to expand...
Click to collapse
In target loads, you have frequencies that aren't supported on stock kernel (1.4GHz)
DavidMKD said:
In target loads, you have frequencies that aren't supported on stock kernel (1.4GHz)
Click to expand...
Click to collapse
That's because my kernel is overclocked.
above_hispeed_delay: 40000 998400:45000 1090400:50000 1190400:55000
boost: 0
boostpulse_duration: 0
go_hispeed_load: 99
hispeed_freq: 787200
io_is_busy_: 0
min_sample_time: 0
sampling_down_factor:1
sync_freq:300000
target loads: 80 600000:80 787200:90 998400:95 1090400:97 1190400:99
timer_rate: 60000
timer_slack: 480000
up_threshold_any_cpu_freq: 0
up_threshold_any_cpu_load: 0
Ksm off , no hotplug min:300 mhz max:1190 mhz
I am using this settings for now. I tried to lock 300-787 mhz for the my daily usage (whatsapp, youtube, cm browser, simple games like fun run) high frequences for heavy games, installing apps.
Is that config fine ? I tried semil's config its battery performance was great but i think it is slow config.
batuskas said:
above_hispeed_delay: 40000 998400:45000 1090400:50000 1190400:55000
boost: 0
boostpulse_duration: 0
go_hispeed_load: 99
hispeed_freq: 787200
io_is_busy_: 0
min_sample_time: 0
sampling_down_factor:1
sync_freq:300000
target loads: 80 600000:80 787200:90 998400:95 1090400:97 1190400:99
timer_rate: 60000
timer_slack: 480000
up_threshold_any_cpu_freq: 0
up_threshold_any_cpu_load: 0
Ksm off , no hotplug min:300 mhz max:1190 mhz
I am using this settings for now. I tried to lock 300-787 mhz for the my daily usage (whatsapp, youtube, cm browser, simple games like fun run) high frequences for heavy games, installing apps.
Is that config fine ? I tried semil's config its battery performance was great but i think it is slow config.
Click to expand...
Click to collapse
I try not to limit my frequencies since the point is to go high performance only when needed. I'm not sure about your config since I never turn off hotplugs.

How To Guide [TUTORIAL] how to set the screen refresh rate to 90 Hz

[Tutorial] How to set the screen refresh rate to 90 Hz
90 Hz is the best compromise between smooth experience and battery consumption, MIUI on poco x3 pro does not support the option to set 90 Hz by default.
How to do it
1) Go to settings -> about phone -> and click 7 times on "MIUI Version (for POCO)" until you see a message that you have become a developer
2. go back to the main settings menu, then into additional settings -> developer options and find the option "show refresh rate" and then click. Now you will see the current FPS number in the upper corner (60 or 120 depending on what you have chosen)
3. Go to apps -> manage apps and search "battery and performance", then select clear data of this app
4. Go to the google play store and download SetEdit (Settings Database Editor)
5. run the application, and at the bottom look for the option "user_refresh_rate"
6. click on this option and edit the value to 90, save the changes and then you can exit the application
Enjoy! When you exit the application, the FPS indicator should now show 90 instead of 60 or 120
I had to restart the phone afterwards to make the change take effect, just in case anyone else thinks the above hasn't worked.
If I were to do this with a rooted phone, would this be under build.prop?
not working and then I restarted the phone but still not working.
royeiror said:
If I were to do this with a rooted phone, would this be under build.prop?
Click to expand...
Click to collapse
I have not tested it on a rooted device
kazinaymur said:
not working and then I restarted the phone but still not working.
Click to expand...
Click to collapse
have you done everything correctly? the fps meter doesn't show you 90?
kazinaymur said:
not working and then I restarted the phone but still not working.
Click to expand...
Click to collapse
it wont because guide is not complete(even though it is kanged). if you look at old x3 nfc's guides/TG groups, you will see proper steps. after setting the refresh rate by using "setedit" app or clearing data & cache of "battery and performance" app, you need to at least once open "recents" otherwise it wont take effect.
I tested it today on xiaomi.eu ROM and it doesn't work there
ArrowOS has the feature built-in:
Settings –> Display –> Device-specific settings (Refresh rate configuration) –> Minimum refresh rate
It work for me on MiuimiX ROM
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
it's work for me on 12.0.5.0. (RJUEUXM)
thx
Hi.. Isnt this phone have adaptive refresh rate?
$lim $hady said:
Hi.. Isnt this phone have adaptive refresh rate?
Click to expand...
Click to collapse
If I'm not mistaken, I don't think so, you just need to set a constant refresh rate, e.g. 60,90,120 Hz
PatrykM13 said:
If I'm not mistaken, I don't think so, you just need to set a constant refresh rate, e.g. 60,90,120 Hz
Click to expand...
Click to collapse
But this link shows that when you have enabled High (120Hz RR), its adaptive.
Poco X3 Pro review
The Poco X3 Pro employs the same 6.67" IPS LCD screen we met on the Poco X3 NFC. It uses the familiar resolution of 1,080 x 2,400 pixels (395ppi),...
www.gsmarena.com
As easy as it comes, thanks for the input friend, 90hz is perfect
works in MIUI Global 12.0.6 stable. Thanks bro
How about battery consumption, better than 120hz adaptive?
And how about if i want back to normal again
Can we use this app to elevate de screen brightness Beyond 4095?
royeiror said:
If I were to do this with a rooted phone, would this be under build.prop?
Click to expand...
Click to collapse
Good question. How to change refresh rate simply by editing value in default.prop?
It worked for me and i didnt do the "3. Go to apps -> manage apps and search "battery and performance", then select clear data of this app" part.

General [Update] Xiaomi 12S Ultra GPU OC w KonaBess (Root)

I was able to hit 900mhz on gpu cores
and basically one of the fastest android devices in the market...
If anyone else has rooted device, please share your oc results!
update: so I was able to hit 910mhz after all tweaks,
and seems like 14 is practically the max for bus speed.
I tested 16, but from 13 it start to make no difference
and I get 2849 with bus speed 13 and 2851 with 14.
from 15, its the same so I decided to play safe. Stock bus max is 11.
Stock 900mhz uses Turbo voltage, and I can finish benchmark without visual glitches with NOM, which is 4 step down from the Turbo voltage. So I'd call that a significant undervolt. Well havent tested for extended gaming sessions, but for benchmarking, this is as far as it would go.
Also lowered stock 220mhz to 150mhz and gave RETENTION(lowest voltage) from stock MIN_SVS, so it would save more battery during idle.
I have attached KonaBess config file below, txt file, but keep in mind these are my settings for my device, and yours will be different. so take it with a grain of salt and only view as a guide or reference.
I am confident to say that this is clearly the max it can go with vanilla stock.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Can you share the konabess profile? Thanks a lot
BlackSoulxxx said:
Can you share the konabess profile? Thanks a lot
Click to expand...
Click to collapse
I would love to, but I accidentally bricked the device while messing around with magisk modules, and just recovered.. haha
I'll share my settings once I think it is stable enough!
Hello @Nabicook ,
How did you rooted your xiaomi 12s ultra?
you can check my other post on rooting
energykriger said:
Hello @Nabicook ,
How did you rooted your xiaomi 12s ultra?
Click to expand...
Click to collapse
you can check my other posts on rooting
Nabicook said:
I would love to, but I accidentally bricked the device while messing around with magisk modules, and just recovered.. haha
I'll share my settings once I think it is stable enough!
Click to expand...
Click to collapse
Stable enough yet? Lol
GodKingKnight said:
Stable enough yet? Lol
Click to expand...
Click to collapse
seems like I would need a custom kernel to get stable past 900mhz.. no matter what I do, even though 900mhz runs fine on normal voltage, adding like 902mhz and applying turbo voltage causes stuttering during benchmark or any gpu utilization. so I am focusing more on undervolting atm. I mean, already one of the fastest devices on the market and simply undervolting it allows the device run cooler and stay longer on high frequencies
BlackSoulxxx said:
Can you share the konabess profile? Thanks a lot
Click to expand...
Click to collapse
my settings are up! Top-notch scores
Nabicook said:
my settings are up! Top-notch scores
Click to expand...
Click to collapse
I see there are two 910MHz step in your config. Is it intentional or something else?
BlackSoulxxx said:
I see there are two 910MHz step in your config. Is it intentional or something else?
Click to expand...
Click to collapse
I just have limited access to pc atm (to monitor frequency) and I noticed android not using highest step all the time but using one two steps below(say I add 900, it uses 862, adding 910, 900 and 910 sometimes) based on kernel manager apps - which is not super accurate. I have no other ways to confirm if single 910mhz is fine. As I see no negative impact of using double steps, I just left it there to be sure.
If you can monitor gpu frequency and single step works fine for you, please let me know!
What is the power consumption in 3dmark wild life?
faffgawea said:
What is the power consumption in 3dmark wild life?
Click to expand...
Click to collapse
ah rip, I have no way to monitor power consumption atm..
Nabicook said:
ah rip, I have no way to monitor power consumption atm..
Click to expand...
Click to collapse
You can get the power consumption simply with perfdog,scene5.
This mod isn't working correctly I don't think, I am attempting on putting together a magisk module for overclocking cpu cores 0-4 a tad amount to their max range on Walt governor, but I think konabess isnt correctly overclocking as /sys/class/kgsl/kgsl-3d0/max_pwrlevel and other parameters aren't changed
Please tell me if it is necessary to enter these commands through Windows CMD or is it enough to install the application and use your settings? For example, without these commands, after changing the frequency on the OnePlus 9 Pro, the phone stopped booting.
fastboot --disable-verification --disable-verity flash vbmeta vbmeta.img
fastboot --disable-verification --disable-verity flash vbmeta_system vbmeta_system.img
fastboot --disable-verification --disable-verity flash vbmeta_vendor vbmeta_vendor.img
XiaomiEU MIUI 14. no need
Im use your profile but why only i can see running at 710 the gpu... Also which is The best drivers right now and for emulators and ram usage also about Netflix is fixed? Just i got today the phone. If someone can answer my questions thx alot guys.
Imbagamer13 said:
Im use your profile but why only i can see running at 710 the gpu... Also which is The best drivers right now and for emulators and ram usage also about Netflix is fixed? Just i got today the phone. If someone can answer my questions thx alot guys.
Click to expand...
Click to collapse
I also noticed the 710 MHz. I opened Genshin Impact to see how much higher the frequency could go, but in this game it was not above 550 (approximately)
Me im playing eggns ps2 at max and my gpu goed to maximum also im using rgb controller so this is limit control? Or just we cant see it by using kernel apps

How To Guide Optimise Stock Kernel Scheduler & Governor Setting

So, after months of using Pixel 7 family, surely we all know that Tensor 2 is not exactly the best flagship SOC in term of raw power or energy usage, probably due to it's "Exynos Genetics Trait"
that being said, doesnt mean it's down bad. And with some optimisation, we can always try to make it run better. One of the example is by seeing how much better it run on custom kernel. But what about other stock kernel user ?
Well, fortunately, as long as we have root access, the stock kernel still allow us to play with some parameter. And here are some tunables parameters that i use to balance the energy usage and responsiveness of the device. (my aim is 10% battery for 1 Hour of SoT and ±0-1% decrease during 6-10hrs idle)
If you want to know more about each parameters, you can google a lot of linux kernel documentation (like here for example : https://access.redhat.com/solutions/177953)
but for now i'll just write down the change and my configurations. (I used EX Kernel Manager to change the parameters) :
CPU Section :
Switch governors for all CPU clusters from 'sched_pixel' to 'shedutil'
Open "Governor Options" and change the 'rate_limit_us' for all clusters from '10000' to '0'
Open "CPU scheduler options" and use bellow value for respected parameters :
sched_wakeup_granularity_ns : 10000000
sched_tunable_scaling : 1
sched_min_granulatity_ns : 2000000
sched_latency_ns : 12000000
Memory Section :
Disable "ZRAM"
That's it for now. Try and feedback if you find any improvement in your energy usage.
I've been using it for weeks, and pretty happy especially with idle drain. As for SoT, normally i end up with 5-6 Hrs screen time when i down to bed with ±30% battery remaining.
otonieru said:
So, after months of using Pixel 7 family, surely we all know that Tensor 2 is not exactly the best flagship SOC in term of raw power or energy usage, probably due to it's "Exynos Genetics Trait"
that being said, doesnt mean it's down bad. And with some optimisation, we can always try to make it run better. One of the example is by seeing how much better it run on custom kernel. But what about other stock kernel user ?
Well, fortunately, as long as we have root access, the stock kernel still allow us to play with some parameter. And here are some tunables parameters that i use to balance the energy usage and responsiveness of the device. (my aim is 10% battery for 1 Hour of SoT and ±0-1% decrease during 6-10hrs idle)
If you want to know more about each parameters, you can google a lot of linux kernel documentation (like here for example : https://access.redhat.com/solutions/177953)
but for now i'll just write down the change and my configurations. (I used EX Kernel Manager to change the parameters) :
CPU Section :
Switch governors for all CPU clusters from 'sched_pixel' to 'shedutil'
Open "Governor Options" and change the 'rate_limit_us' for all clusters from '10000' to '0'
Open "CPU scheduler options" and use bellow value for respected parameters :
sched_wakeup_granularity_ns : 10000000
sched_tunable_scaling : 1
sched_min_granulatity_ns : 2000000
sched_latency_ns : 12000000
Memory Section :
Disable "ZRAM"
That's it for now. Try and feedback if you find any improvement in your energy usage.
I've been using it for weeks, and pretty happy especially with idle drain. As for SoT, normally i end up with 5-6 Hrs screen time when i down to bed with ±30% battery remaining.
Click to expand...
Click to collapse
Someone said that it reverts back once you reboot?
elong7681 said:
Someone said that it reverts back once you reboot?
Click to expand...
Click to collapse
In the Franco Kernel Manager, there's an option to "keep" the new settings on a reboot. (Not sure about the EX Kernel Manager.)
elong7681 said:
Someone said that it reverts back once you reboot?
Click to expand...
Click to collapse
Right, it reverts back for CPU Governor (Cluster 3) after a reboot. (with EXKM)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Then I tried with FKM and problem is the same.
I will see after the night how is my battery drain.
But i can't complain because i loose only 2 or 3% during night (8h)
(Bluetooth and 5G on) No wifi because 5G signal is good.
No custom rom, rooted, january update.
Plathoon said:
Right, it reverts back for CPU Governor (Cluster 3) after a reboot. (with EXKM)
View attachment 5817379
Then I tried with FKM and problem is the same.
I will see after the night how is my battery drain.
But i can't complain because i loose only 2 or 3% during night (8h)
(Bluetooth and 5G on) No wifi because 5G signal is good.
No custom rom, rooted, january update.
Click to expand...
Click to collapse
It's expected that it reverts back to default because it's controlled by multiple things. People shouldn't change the governor. There is a write-up on this in Freak's kernel thread.
ekin_strops said:
It's expected that it reverts back to default because it's controlled by multiple things. People shouldn't change the governor. There is a write-up on this in Freak's kernel thread.
Click to expand...
Click to collapse
Can you provide a link to the write-up please?
Pixel86 said:
Can you provide a link to the write-up please?
Click to expand...
Click to collapse
Post
Mrcactuseater what's your deal always laughing at genuine posts?
ekin_strops said:
It's expected that it reverts back to default because it's controlled by multiple things. People shouldn't change the governor. There is a write-up on this in Freak's kernel thread.
Click to expand...
Click to collapse
Actually you can change the CPU governor from the default one to one of the additional existing alternatives.
The issue is just that the frequency scaling driver for the affected CPU cluster(s) will break if the PowerHAL detects that the Sched_Pixel governor isn't "there" anymore for doing the job that it is supposed to do.
Plathoon said:
But i can't complain because i loose only 2 or 3% during night (8h)
(Bluetooth and 5G on) No wifi because 5G signal is good.
No custom rom, rooted, january update.
Click to expand...
Click to collapse
Damn that's less than half of mine...
Not_Purgatory said:
Actually you can change the CPU governor from the default one to one of the additional existing alternatives.
The issue is just that the frequency scaling driver for the affected CPU cluster(s) will break if the PowerHAL detects that the Sched_Pixel governor isn't "there" anymore for doing the job that it is supposed to do.
Click to expand...
Click to collapse
I never wrote you can't change it, I wrote people SHOULDN'T change it to avoid the issues you mentioned.
You say to try to deactivate zram. Is there any real benefit? Zram is useful?
Techboyz97 said:
You say to try to deactivate zram. Is there any real benefit? Zram is useful?
Click to expand...
Click to collapse
You save CPU cycles at the expense of additional vRAM.
If you use smartpack kernel manager there's an option to apply all changes with a script on boot. That's the way I've always worked with kernels that won't allow changes to stick on boot
Pixel86 said:
You save CPU cycles at the expense of additional vRAM.
Click to expand...
Click to collapse
WUT? lol

Categories

Resources