CPU frequency limiter? - Samsung Galaxy A20 Questions & Answers

Anyone know why cpu frequency only goes up by 1768mhz in BIG and 1482mhz in SMALL by default? Can this be changed to go up by 2184mhz or 2080mhz in BIG and 1690mhz or 1586mhz in SMALL by default? I mean without ticking the minimum frequency to highest.

janjaninja said:
Anyone know why cpu frequency only goes up by 1768mhz in BIG and 1482mhz in SMALL by default? Can this be changed to go up by 2184mhz or 2080mhz in BIG and 1690mhz or 1586mhz in SMALL by default? I mean without ticking the minimum frequency to highest.
Click to expand...
Click to collapse
Yes if you root it and install a custom kernel
https://forum.xda-developers.com/galaxy-a20/development/physwizz-kernel-galaxy-a20-t4180107

physwizz said:
Yes if you root it and install a custom kernel
https://forum.xda-developers.com/galaxy-a20/development/physwizz-kernel-galaxy-a20-t4180107
Click to expand...
Click to collapse
Nice work

What i meant is, would the big CPU still be limited to 1768mhz even if ticked to max without ticking the minimum to max frequency?

janjaninja said:
What i meant is, would the big CPU still be limited to 1768mhz even if ticked to max without ticking the minimum to max frequency?
Click to expand...
Click to collapse
If you push it, it will go higher

Related

Under/Overclocking the Rooted Hero

Anyone tried it yet?
I'm browsing through the market apps under the search "root" and I'm seeing a couple overclocking apps. Particularly SetCPU and Overclock widget, the latter being a free app.
I'm kinda nervous about what clock speeds the Hero will tolerate. I don't want to risk bricking my phone!
The "free" app on market won't let me clock it past 528. I don't think there is an app per se that can jack it over that speed.
themyst said:
The "free" app on market won't let me clock it past 528. I don't think there is an app per se that can jack it over that speed.
Click to expand...
Click to collapse
Yup i used another app to set it to 575, but the highest it went was 528. actually it was only like 526.XX
The Overclock Widget didn't work at all.
The widgets on the market are bound by the min and max clock values compiled into the kernel I believe.
There's maybe a kernel interface in /sys/ somewhere where you can echo in a clockspeed, but I haven't found it yet.
As for the max it would support? The G1/2 were throttled ~350 if I remember, but it was on this processor, which supported 528mhz, allowing for crazy clock speeds at the expense of battery life.
No idea if this proc will really support anything much over that, you'd be getting into 'true' overclocking territory there, and the potential for damage to the phone would be significantly increased.
[edit]
The usual /sys/devices/system/cpu/cpu0/cpufreq/ directory exists, but it doesn't look like you can just set a speed there in the 'normal' linux fasion:
Code:
# echo 540000 > cpuinfo_max_freq
cannot create cpuinfo_max_freq: permission denied
just download the set cpu or overclock widget
on set cpu activate profiles and make it so its 528 max and 528 min when the screen is on..and 245 max 128 min when the phone is sleeping
here is the free version of set cpu
http://forum.xda-developers.com/showthread.php?t=505419
but buy it if you ahve the money to donate to author
just download the set cpu or overclock widget
on set cpu activate profiles and make it so its 528 max and 528 min when the screen is on..and 245 max 128 min when the phone is sleeping
here is the free version of set cpu
http://forum.xda-developers.com/showthread.php?t=505419
but buy it if you ahve the money to donate to author
Click to expand...
Click to collapse
has this been confirmed to work as advertised on the hero?
johnsongrantr said:
has this been confirmed to work as advertised on the hero?
Click to expand...
Click to collapse
Do you think you could try it and see? I would like to use this, providing it works. Im stuck at work though and cant really play with my phone too much to try it out.
im trying it now ill let you know
Negrito said:
Do you think you could try it and see? I would like to use this, providing it works. Im stuck at work though and cant really play with my phone too much to try it out.
Click to expand...
Click to collapse
I'm at work as well and kinda need my phone for stuff or else I'd be tinkering away.... but when I get home I'll see if it's working or not...
*NOTE* i r dumb in the ways of overclocking so I won't be able to fix code to get this to work
It seems to work when i put it on the slowest my phone goes alot slower and when i set it higher it goes faster but it will also decrease battery performance
thorracing1 said:
It seems to work when i put it on the slowest my phone goes alot slower and when i set it higher it goes faster but it will also decrease battery performance
Click to expand...
Click to collapse
Very cool! I wonder what a good balance between more power with not too much more battery drain would be.
Can't get it to work
Can't get it to work
When I start the app I can see the two bars:
Min is 528 and
Max is 528 as well
I adjust the Minbar to 128 and click
"Set to it!"
Display notification:
"Set new clock successfull"
When I start the app again: No change at all, still
Min is 528 and
Max is 528
Display icon always shows:
527
Any advise?
Thanks
Is their any way to get the overclock to 768 while running the stock hero?
I have mine rooted of course, but I'm limited to 528mhz with setcpu.
Is their anyway to flash something so that max can be lifted?
Thanks.
swears11 said:
Is their any way to get the overclock to 768 while running the stock hero?
I have mine rooted of course, but I'm limited to 528mhz with setcpu.
Is their anyway to flash something so that max can be lifted?
Thanks.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=690238
Here princess.
Also..
Both include setcpu.txt for Setcpu OC app.. Select "custom" at the very bottom for device. Do not select hero. Or you can select "Auto Detect" at the top, this does not need the setcpu.txt.
*damage537.zip* 537mhz is the default.. scalable to 768 if you use an OC'ing app
*damage768.zip* 768mhz default clock speed -read below
*damage710.zip* 710mhz default clock speed -read below
Both can be scaled from 19.2 to 768mhz..
DAMAGE710--The damage710 will default 710mhz, you must use an OC app to scale it to 768. Use damage710 if your phone can not boot the 768mhz. And dont scale any higher then 710mhz or your phone might reboot.
DAMAGE768--If your phone can boot the 768mhz then either download will work. But if you dont want to use an OC'ing app then the damage768 will scale to 768mhz.
Click to expand...
Click to collapse
well just incase it wasnt gone over , in order to overclock you need a kernel that has been modified to do this. there are several on this forum for the 2.1.
On a side not there is the god kernel that can both be run with or with out the overclocking apps.
I actually beleive the best performance is from the 710 kernel with out an overclocking widget. the widgets seem to introduce lag till they set the clock this is a major annoyance when the phone is woke for an incomming call.
Do a nand backup and test for your self.
kernels located here
http://forum.xda-developers.com/showpost.php?p=6620102&postcount=1
Thanks for the info guys.
I flashed the 710 one ontop of my stock 2.1 rom.
Now I'm looking at the green HTC logo with white background. It hasen't changed for 10 minutes. I think its stuck. Should I be worried?
bobdude5 said:
just download the set cpu or overclock widget
on set cpu activate profiles and make it so its 528 max and 528 min when the screen is on..and 245 max 128 min when the phone is sleeping
here is the free version of set cpu
http://forum.xda-developers.com/showthread.php?t=505419
but buy it if you ahve the money to donate to author
Click to expand...
Click to collapse
set cpu wasn't free on this link
barry.bishop72 said:
set cpu wasn't free on this link
Click to expand...
Click to collapse
Yes it is. Its an attachment.
barry.bishop72 said:
set cpu wasn't free on this link
Click to expand...
Click to collapse
I pulled mine from this rom (http://forum.xda-developers.com/showthread.php?t=691756)
Download the rar and extract. Its under /data/apps

[Q] overlocking lg gt 540

hi, i have the last pc fighter rom, which is based on cm, so i can overlock the phone with that settings
but i wanted to know which are the risks of it
and how do i do it
i mean, the min frequency is at 245 and max at 600, if i put the next higher frequency, do i need to put a higher min frequency too?
is there a rule or something while doing this? i mean, if i high something, i high/low another thing, and stuff ?
would be nice if you could tell me
i want to play smooth on fpse, thingh that i could get with an overlock
thank you!
Facuu said:
hi, i have the last pc fighter rom, which is based on cm, so i can overlock the phone with that settings
but i wanted to know which are the risks of it
and how do i do it
i mean, the min frequency is at 245 and max at 600, if i put the next higher frequency, do i need to put a higher min frequency too?
is there a rule or something while doing this? i mean, if i high something, i high/low another thing, and stuff ?
would be nice if you could tell me
i want to play smooth on fpse, thingh that i could get with an overlock
thank you!
Click to expand...
Click to collapse
Just get setcpu and do what ever you like. Play around with the frequency until you find it unstable
or there are lots of free overclock apps out there but setcpu has the best interface
No need for external app, increse max in small steps to see what is your cpu max, when you found max stabile speed enable set on boot and that is it.
Sent using Tt.

[Q] Performance Profiles

Moin,
Is there any app that provides performance profiles like CPU-, GPU-clock speed etc? My old tf300 came with build in options for that :crying:
Thank you
fredopato
fredopato said:
Moin,
Is there any app that provides performance profiles like CPU-, GPU-clock speed etc? My old tf300 came with build in options for that :crying:
Thank you
fredopato
Click to expand...
Click to collapse
You mean like this?
https://play.google.com/store/apps/details?id=com.antutu.ABenchMark
danielms22 said:
You mean like this?
https://play.google.com/store/apps/details?id=com.antutu.ABenchMark
Click to expand...
Click to collapse
I mean something like a widget with Performance presets (yeah i should have said that ) so you can easily switch between them... for example
Code:
preset 1: CPU 1,5GHz to 1 GHz, GPU 400 MHz
preset 2: CPU 1 GHz to 380 MHz, GPU 200 MHz
etc.
franco.Kernel updater offers power modi based on which app you are currently running. It's not exactly what you were looking for, but I think this functionallity goes even further.
Also I think (I haven't used it in ~2 years) setCPU does offer some functionallity like this
Now that I understand the question: Is this even possible when we're talking stock/unrooted? (Just assuming, because OP asked for an app, not ROM)
danielms22 said:
Now that I understand the question: Is this even possible when we're talking stock/unrooted? (Just assuming, because OP asked for an app, not ROM)
Click to expand...
Click to collapse
No. Such a modification would need root access.
Thanks a lot! I will try SetCPU, because i don't want to manage the clockspeed for all of my apps in franco.updater

perfd

So... Anyone out there played with /vendor/etc/perf-profile*.conf yet?
It appears we have 8 perfd profiles that something selects... And overrides any other CPU choices while perfd is enabled...
Thoughts?
rignfool said:
So... Anyone out there played with /vendor/etc/perf-profile*.conf yet?
It appears we have 8 perfd profiles that something selects... And overrides any other CPU choices while perfd is enabled...
Thoughts?
Click to expand...
Click to collapse
Haven't looked at that but have a tweaked thermal-engine.conf
tech_head said:
Haven't looked at that but have a tweaked thermal-engine.conf
Click to expand...
Click to collapse
I don't think I've ever bumped into the thermal.config...
I think perfd get a hold of the processor long before the thermal engine fires up
rignfool said:
I don't think I've ever bumped into the thermal.config...
I think perfd get a hold of the processor long before the thermal engine fires up
Click to expand...
Click to collapse
I think it uses both.
Definitely the thermal-engine.conf for heat throttling.
But the perf-profile is probably used and from what I can tell scaling up/down based on demand.
I modified them to take advantage of the overclock in my ElementalX kernel and tweaks thermal-engine.conf.
I now see the CPU go into the overclock frequencies more often. I hadn't even bothered looking in those files.
Great Find!!!!
tech_head said:
I think it uses both.
Definitely the thermal-engine.conf for heat throttling.
But the perf-profile is probably used and from what I can tell scaling up/down based on demand.
I modified them to take advantage of the overclock in my ElementalX kernel and tweaks thermal-engine.conf.
I now see the CPU go into the overclock frequencies more often. I hadn't even bothered looking in those files.
Great Find!!!!
Click to expand...
Click to collapse
Now if only I could understand what triggers them..............
rignfool said:
Now if only I could understand what triggers them..............
Click to expand...
Click to collapse
CPU load as reported by the kernel.
tech_head said:
CPU load as reported by the kernel.
Click to expand...
Click to collapse
It seems to be more than that...
rignfool said:
It seems to be more than that...
Click to expand...
Click to collapse
There are some target loads. There are some ramp times.
If you are running ElementalX and are over clocked. Just adjust the frequencies to get the performance.
If you research thermal-engine.conf it will help understand these files.
Anyone out there know an 835 that has perfd that we could compare profiles?
I can't leave stuff alone...

Over Clocking Kernel

Is anyone working on a kernel to overclock our amazing phone's CPU?
Umm are you trolling?
Really???... Not fast enough for some, I guess! :silly:
tekno4ever said:
Is anyone working on a kernel to overclock our amazing phone's CPU?
Click to expand...
Click to collapse
The way the clock frequencies are done on this phone, the kernel has no control to overclock.
I asked the developer of ElementalX and also checked to see if thermal-engine existed.
No dice. No overclock.
Only GPU overclocking
So there in no known method of overclocking either Snap 845 or 855 CPUs, right? (i mean throgh software/kernel)
I've never seen the point of overclocking especially with latest chipsets
RaduNastase said:
So there in no known method of overclocking either Snap 845 or 855 CPUs, right? (i mean throgh software/kernel)
Click to expand...
Click to collapse
Is not possible, the CPU frequency tables are stored inside something called "TrustZone", basically the bootloader, and no one outside of Qualcomm has the ability and the tools to control or make changes in that area of the processor.
onliner said:
Is not possible, the CPU frequency tables are stored inside something called "TrustZone", basically the bootloader, and no one outside of Qualcomm has the ability and the tools to control or make changes in that area of the processor.
Click to expand...
Click to collapse
Even rooted? ...how very interesting... 0_0
This means not only that we can not overclock (and this must also mean voltage table is ..off the table), but also we can not "set" a certain min/max frequency, right? Let's say i want to have a min/max of 2.8 ghz, it can't be done through kernel
RaduNastase said:
Even rooted? ...how very interesting... 0_0
This means not only that we can not overclock (and this must also mean voltage table is ..off the table), but also we can not "set" a certain min/max frequency, right? Let's say i want to have a min/max of 2.8 ghz, it can't be done through kernel
Click to expand...
Click to collapse
Actually you can. It requires a Kernel that supports Overclocking. As of now there is no Kernel for the 6T that supports CPU Overclocking. Smurf has GPU OC but not CPU. Besides, the 845 is already a beast so I dunno why would you want to OC
I think me and more features will be driven by the chipsets themselves and will use a Trust Zone not accessible from the kernel (like widevine).
What is sure is that many CPU clock parameters are not accessible, that's why only GPU OC is present. This have been discussed in different kernel threads.
And the real question is why OC on those fast CPU, just to empty faster the battery and warm the phone in winter?
Mannan Qamar said:
Actually you can. It requires a Kernel that supports Overclocking. As of now there is no Kernel for the 6T that supports CPU Overclocking. Smurf has GPU OC but not CPU. Besides, the 845 is already a beast so I dunno why would you want to OC
Click to expand...
Click to collapse
You can't overclock the cpu on newer socs period.
RaduNastase said:
Even rooted? ...how very interesting... 0_0
This means not only that we can not overclock (and this must also mean voltage table is ..off the table), but also we can not "set" a certain min/max frequency, right? Let's say i want to have a min/max of 2.8 ghz, it can't be done through kernel
Click to expand...
Click to collapse
Isn't related to root or unroot, It's a limitation set at a lower level, lower than the operating system or the kernel.
You can modify the ramdisk to set the Max/Min frequencies, but those values ​​must be within the stock values ​​of the processor, I mean, you can't create a new frequency, you should use one that already exists.
onliner said:
Isn't related to root or unroot, It's a limitation set at a lower level, lower than the operating system or the kernel.
You can modify the ramdisk to set the Max/Min frequencies, but those values ​​must be within the stock values ​​of the processor, I mean, you can't create a new frequency, you should use one that already exists.
Click to expand...
Click to collapse
Oh, so min/max can be adjusted? That's something at least. Sometimes the CPU assesses wrongly the speed needed to properly run an app (a very CPU heavy one) so restricting the CPU to lower the frequency provides the best performence possible on that hardware.
And yes even a powerful Soc like 845 and even 855 are pushed to the limits by certain apps.
RaduNastase said:
Oh, so min/max can be adjusted? That's something at least. Sometimes the CPU assesses wrongly the speed needed to properly run an app (a very CPU heavy one) so restricting the CPU to lower the frequency provides the best performence possible on that hardware.
And yes even a powerful Soc like 845 and even 855 are pushed to the limits by certain apps.
Click to expand...
Click to collapse
It's not the apps fault, the scheduler is a bit broken in 4.9 thanks to CAF.
RaduNastase said:
restricting the CPU to lower the frequency provides the best performence possible on that hardware
Click to expand...
Click to collapse
Yes and no, OOS applies boosts from the userspace, I mean that although you limit the frequency of the processor, in certain circumstances that limit can "break" (I don't use custom roms on this device, so I don't know about it, but probably the same thing happens).
This is interesting. I want to look. Into tz and see what I can find

Categories

Resources