First of all, all credits go to @Tomoms that kindly created the zip.
Our bacons are getting pretty old especially on the battery side. After using sultanxda rom that was underclocked to 1958 Mhz i noticed a nice improve of SOT without sacrificing performance too much .
Unfortunately, on every other ROM, changing frequencies trough kernel tweaking apps (ie kernel adiutor) results in Qualcomm mp-decision not behaving correctly, cores not going offline and frequencies scaling pretty much messing up.
This zip underclocks correctly your CPU to 1958mhz, without the need of any third party app, hope you ll find it useful.
Again, all credits go to @Tomoms
Let me add that the zip should be universal, that is, I expect it to work on all Oreo ROMs and probably on Pie/Nougat ROMs as well. If it doesn't work on certain ROMs, I'll update it to support all of them.
Flash it now. I'm running android 9 pie and it works for me. It reduces my overheating problem!!!!!
Thanks a lot!!!!!
Do you make GPU boost settings for gaming? i need this for not rooted phone.
@Tomoms can you make one For Oneplus 2.
Is this work on cyanogen os 13?
omgomgomg i was wondering about this for so long !
my fault for not checking this place for 2 years lol. I also used Kernel Adiutor which misbehaved at times, random overheating after settings failing to apply on boot, and noticed mdprecision erros in the logs
1958 MHz is also the frequency i used, how is this all a coincidence ^^
Is it possible to edit a value in the zip to underclock to 2.3 Ghz ? (i don't remember the exact number)
Not that i need it, just wondering. OPO currently pretty dead from weird cpu/power/battery issues, if this fixes I'll be ecstatic
so how do u make it back to default?
Can the number be set in the `anykernel.sh` file to any reasonable clock speed? such as 1750Mhz? Or does it need to be a specific multiple, or something?
sgtfoo said:
Can the number be set in the `anykernel.sh` file to any reasonable clock speed? such as 1750Mhz? Or does it need to be a specific multiple, or something?
Click to expand...
Click to collapse
It has to be a valid frequency of the OPO's CPU. You can find a list here: https://github.com/LineageOS/androi...174a0802/arch/arm/boot/dts/msm8974.dtsi#L1548
Not working on the microg build of lineage OS
The script runs fine with no errors but when I boot back to android the max CPU freq is still unchanged.
Not sure where I can find the debug log to post here,
Thanks.
ffff2 said:
Not working on the microg build of lineage OS
The script runs fine with no errors but when I boot back to android the max CPU freq is still unchanged.
Not sure where I can find the debug log to post here,
Thanks.
Click to expand...
Click to collapse
Updated zip that should work on newer ROMs:
https://mega.nz/file/VoURxIZD#l2bL5yS0cArj47ablsxHjuFLughHSPt1aORJR2F3T0k
EDIT: it underclocks all CPUs to 1,9 GHz, as in Sultan's ROM. Not tested but it should really work. If anyone tries it, please give me feedback
Tomoms said:
Updated zip that should work on newer ROMs:
https://mega.nz/file/VoURxIZD#l2bL5yS0cArj47ablsxHjuFLughHSPt1aORJR2F3T0k
EDIT: it underclocks all CPUs to 1,9 GHz, as in Sultan's ROM. Not tested but it should really work. If anyone tries it, please give me feedback
Click to expand...
Click to collapse
I had revived my account just to say thank you!
CPU frequencies seem to be working fine on most recent Lineage OS 17.1 and CPU info never shows usage above 1958 MHz.
It's amazing that this phone has survived 8 years, here's hoping it can survive 8 more.
Artos0131 said:
I had revived my account just to say thank you!
CPU frequencies seem to be working fine on most recent Lineage OS 17.1 and CPU info never shows usage above 1958 MHz.
It's amazing that this phone has survived 8 years, here's hoping it can survive 8 more.
Click to expand...
Click to collapse
What app are you using to check CPU clock speeds?
Artos0131 said:
I had revived my account just to say thank you!
CPU frequencies seem to be working fine on most recent Lineage OS 17.1 and CPU info never shows usage above 1958 MHz.
It's amazing that this phone has survived 8 years, here's hoping it can survive 8 more.
Click to expand...
Click to collapse
Can I flash the ZIP file through TWRP? How would I remove this app if necessary?
why new frequency not show? how to fix
Tomoms said:
It has to be a valid frequency of the OPO's CPU. You can find a list here: https://github.com/LineageOS/androi...174a0802/arch/arm/boot/dts/msm8974.dtsi#L1548
Click to expand...
Click to collapse
Tomoms said:
It must be the frequency obtained by multiplying 192MHz BCLK with the multiplier
Click to expand...
Click to collapse
Related
I wrote an overclocking app today that will become opensource as soon as I put the source online(lol). This is confirmed to work on at least Haykuro's 5.0.1G ROM. Allows setting custom min and max cpu frequency. Enjoy . (Thanks buttkicker for this idea)
And the source code is now live on googlecode.
site is: http://code.google.com/p/openoverclocker/
UPDATE: New version up. Everything is now working and tested on both JF and Haykuro. Will continue to set clock even after reboot, so enjoy!
[email protected] said:
I wrote an overclocking app today that will become opensource as soon as I put the source online(lol). This is confirmed to work on at least Haykuro's 5.0.1G ROM. Allows setting custom min and max cpu frequency. Currently gets reset on restart but will fix that soon as well. Enjoy . (Thanks buttkicker for this idea)
Click to expand...
Click to collapse
Nice Marcus! Just downloaded it from the marketplace, and it works! I don't mind the reset after restart because honestly, how often do we restart our phones? Confirmed working on 5.0G (apps to sd) as well. go poly! =]
Question: would it harm the phone to set min and max to 528?
wow, it works fine. thank you. its pretty fast
it doesn't seem to work in the H version
Hmm darn no go on H eh? Lol I'll have to wait till someone figures out how to overclock that one and then incorperate it.
Perrosky said:
it doesn't seem to work in the H version
Click to expand...
Click to collapse
I am running 5.0.2H, and it should work.
[email protected], are you doing anything different in the app?
Hmm no, not really. Except that I'm saving the values in files and then cat-ing them out to the frequency files. Perrosky, did you set a different minimum? It will scale between them so it might not run at max when you look at /proc/cpuinfo
seems to work fine with my G1. is this actually overclocking or just clocking the processor to its max.
jaboswell said:
seems to work fine with my G1. is this actually overclocking or just clocking the processor to its max.
Click to expand...
Click to collapse
As I understand it, the G1 has a scalable 512 MHz processor, so this is clocking it to it's max specs.
testing567 said:
As I understand it, the G1 has a scalable 512 MHz processor, so this is clocking it to it's max specs.
Click to expand...
Click to collapse
Thats what I thought, was reading it somewhere but couldnt remember so I just asked..
well some programs seem to run faster, but that could just be me.. i ran cat /proc/cpuinfo and got a speed of 383.38...i have it set to min 384 max 524 even tried 512 as max..when i run some programs it seems faster than before..but when i run term. emu to get speed it resets the app to 384 max. 248 min.
I got the 5.0.1H...
and I don't think it works for me too...
how to check ? If I set Max to 528 MIN 248 and click "apply" nothing happen
if I set MAX/MIN both 528.. phone hang/crash
victortung said:
I got the 5.0.1H...
and I don't think it works for me too...
how to check ? If I set Max to 528 MIN 248 and click "apply" nothing happen
if I set MAX/MIN both 528.. phone hang/crash
Click to expand...
Click to collapse
Hmm interesting on the phone hanging. For the 528 max and 248 min the phone will run faster when taxed but will run the same at low points. Maybe try 528 max and 400 min and then see what "cat /proc/cpuinfo" says? If it says anything over 348 then you're already over what the normal maximum is
jaboswell said:
Thats what I thought, was reading it somewhere but couldnt remember so I just asked..
well some programs seem to run faster, but that could just be me.. i ran cat /proc/cpuinfo and got a speed of 383.38...i have it set to min 384 max 524 even tried 512 as max..when i run some programs it seems faster than before..but when i run term. emu to get speed it resets the app to 384 max. 248 min.
Click to expand...
Click to collapse
App always resets to 384 max and 248 min, I hardcoded those in. Next revision should support loading the actual speed and remembering what you put last.
After reboot, sometimes it hangs while requesting superuser access, then crashes.
Doesn't seem very different thus far. Any way to benchmark it?
I guess we'll find out if our battery life shortens.
Edit: Nevermind... I found my answer in this thread.
Saw this last night during my nightly before-I-sleep market app search.
Thanks!
[email protected] said:
Hmm no, not really. Except that I'm saving the values in files and then cat-ing them out to the frequency files. Perrosky, did you set a different minimum? It will scale between them so it might not run at max when you look at /proc/cpuinfo
Click to expand...
Click to collapse
sorry for my late post, I set the min at 328 and max at 500 I hit apply and the overclock apk just stay still, then when I use the Terminal to see the speed I show 258
Perrosky said:
sorry for my late post, I set the min at 328 and max at 500 I hit apply and the overclock apk just stay still, then when I use the Terminal to see the speed I show 258
Click to expand...
Click to collapse
Do you have the superuser whitelist app installed.
You will need that.
Not sure, but since the cpu is scaling, the terminal or other program would show the current cpu usage when it reads and display it.
So, if you're not doing anything in the OS, the readout would be near the low-end, when you check the freq.
I tried the software, but I wish it had a button to monitor or show the cpu mhz somewhere.
clspdhax1 said:
Not sure, but since the cpu is scaling, the terminal or other program would show the current cpu usage when it reads and display it.
So, if you're not doing anything in the OS, the readout would be near the low-end, when you check the freq.
I tried the software, but I wish it had a button to monitor or show the cpu mhz somewhere.
Click to expand...
Click to collapse
That will be in the next version. That's why it says MHz at the top, planning on putting the number there but gonna have to do some parsing of /proc/cpuinfo... somehow...
worked great for a while then kept force closeing anyone haveing problems??
It seems to be working fine for me. One thing is that when I set the clock to 128 or something, the status displayed on the widget still shows 527. The performance is significantly slowed so I assume it's doing it's job.
Overall I think it's a nice little widget. Great for maxing out performance, and maxing battery life by limiting performance.
Phone:
Black G1
JF 1.51
Yup...me too
I will make the change but it sometimes does not refresh the gui. It will also not work if you reboot. (if i remember correctly) also tons of force closes. I am on 6.01 and have tried JF1.5 and am curently on HERO but have not had success with the widgets on the build yet so I dont have a confirmation.
Could someone post the previous version of this app please? The updated version on the market shows "problem loading gadget" on the Hero rom when you add it to the screen..previous versions worked without any problems. Thanks in advance.
edit: nm..fixed it..just had to run the odex optimization script and all is good again
just use SETCPU from market...its more stable thank open overclock......at least it doesnt unclock back to 384mhz
what is a good configeration for over clock..i dotn want to mess up my phone??
I was thinking the same and should I have it on always max. Or what?
I've got mine set to 128Mhz min and 527Mhz max, it has drastically increased my battery life. Batter life barely drops 1% overnight.
Anyone have the Version before the 1.7 update. The new update doesnt seem to work on hero w/ Rosie.
You can grab the 1.6 apk from the Dev's Google Site (check the Files section).
1.7 doesn't work with Ion for me either
zgmf-x322a said:
just use SETCPU from market...its more stable thank open overclock......at least it doesnt unclock back to 384mhz
Click to expand...
Click to collapse
Did setcpu support choosing a different freq. when the screen is off? Setting that to 128 - 245 has helped my battery greatly. One question for anyone using OC apps, does your phones at any time run at a lower freq than what's specified as the maximum? I just set my phone to (with the screen on) to 128 - 384 because if I put it all the way to 527 it won't come down (unless I turn the screen off).
masr1979 said:
Did setcpu support choosing a different freq. when the screen is off? Setting that to 128 - 245 has helped my battery greatly. One question for anyone using OC apps, does your phones at any time run at a lower freq than what's specified as the maximum? I just set my phone to (with the screen on) to 128 - 384 because if I put it all the way to 527 it won't come down (unless I turn the screen off).
Click to expand...
Click to collapse
1.2.0 does not currently.
I swear, the next version will (I swear!). I'll also add some basic battery profiles (if battery is less than 50%, set the speed to something) and a profile for charging. Of course, it'll always be free here (link in my sig).
does your phones at any time run at a lower freq than what's specified as the maximum? I just set my phone to (with the screen on) to 128 - 384 because if I put it all the way to 527 it won't come down (unless I turn the screen off).
Click to expand...
Click to collapse
Yes. You can usually catch it by doing cat proc/cpuinfo in ADB. It depends on what the phone is doing at that moment.
That's strange it doesn't work well with hero. Since I'm using haykuros adp1.5hr3 it workd beautifully, but the regular overclocker app doesn't even budge and I uninstalled that..idk tho, probably a build issue as far as I'm guessing.
IronCross1788 said:
That's strange it doesn't work well with hero. Since I'm using haykuros adp1.5hr3 it workd beautifully, but the regular overclocker app doesn't even budge and I uninstalled that..idk tho, probably a build issue as far as I'm guessing.
Click to expand...
Click to collapse
The creator of the original Overclock app hasn't updated his application for even Cupcake build support yet. I thought he removed it from the market.
masr1979 said:
Did setcpu support choosing a different freq. when the screen is off? Setting that to 128 - 245 has helped my battery greatly. One question for anyone using OC apps, does your phones at any time run at a lower freq than what's specified as the maximum? I just set my phone to (with the screen on) to 128 - 384 because if I put it all the way to 527 it won't come down (unless I turn the screen off).
Click to expand...
Click to collapse
Yeah NeoBlade (thanks!) gave me the tip on that one yesterday. Seems to be helping a ton.
Min384Max527
Screen off Min128Max245
I can't find Overclock Widget in Market, was it removed?
I have the Overclock Widget and my question is, is it bad for my phone that while my screen is on i have it a min 527 max 527 then while screen off min 128 max 245... I've noticed that phone charges last longer but the useage of going back and forth determental to the phone? Thanks
coolbho3000 said:
1.2.0 does not currently.
I swear, the next version will (I swear!). I'll also add some basic battery profiles (if battery is less than 50%, set the speed to something) and a profile for charging. Of course, it'll always be free here (link in my sig).
Yes. You can usually catch it by doing cat proc/cpuinfo in ADB. It depends on what the phone is doing at that moment.
Click to expand...
Click to collapse
Thanks, that would be of great help. Specially the battery profile settings. If you could also put a monitor, be it a widget or something on the notification bar it would be beyond awesome, or maybe a just notification of when the speed is changed and to what it was changed to.
Does anyobdy know if this SETCPU works on Hero ?
And must the app be on after i set the clock or can i close the app after ?
*bump* need to know
Hello all,
so in the effort to make my O4X last like a normal smartphone when not in use iv'e rooted it,unlocked the b/l and flashed custom kerenal.
i did managed to go from an avg. -10%/hr battery drain to 5%/hr but still even if i dont use the phone it will go down alot.
i've tried setcpu,trickster,no frills cpu and none of them could really keep the cpu in the freq. i want. it shos sucess in appling the values but then it jumps below and above the value's iv'e set.
what can be done?
thank you
Have you tried no-frills cpu setting to prevent system for making changes to the cpu frequences?
Yes.. Still not sticking and ignore the freq. I set
@genia.m which kernel are you using ?
Currently I'm on the latest Werewolfjb.
It happened with stock kerenal too..
Might be the rom's fault?
Well it can be, I believe it is the kernel but still, try to change your rom to one which has been reported to not having the baseband wakelock and similar wakelocks . It is the Nvidia Tegra 3 which overrides the definitions and sets them to default. It used to happen with me in stock and on cm too, but I changed to another stock rom , a modified one, and is working like a charm, no stupid wakes.
Try and post the result if you want !
Hey guys so I got this problem I'm wondering if anyone else has gotten it because it is a little frustrating.
OK so my nexus 6 when I game it drops to 1ghz all 4 cores. I have chroma and elementalx. I've tried turning off thermal in kernel auditor and I have used core CPU control and system monitor and it goes fine for fee few seconds then drops down to 1ghz .
Its really annoying I really wish someone could help me. Thanks I'd advance.
Power2daplayer said:
Hey guys so I got this problem I'm wondering if anyone else has gotten it because it is a little frustrating.
OK so my nexus 6 when I game it drops to 1ghz all 4 cores. I have chroma and elementalx. I've tried turning off thermal in kernel auditor and I have used core CPU control and system monitor and it goes fine for fee few seconds then drops down to 1ghz .
Its really annoying I really wish someone could help me. Thanks I'd advance.
Click to expand...
Click to collapse
change how your CPU is set up(by changing your governor/scheduler), and disable mpdecision. its very simple to get your CPU to work as you want it to, just learn what the different governors and their option do.
simms22 said:
change how your CPU is set up(by changing your governor/scheduler), and disable mpdecision. its very simple to get your CPU to work as you want it to, just learn what the different governors and their option do.
Click to expand...
Click to collapse
I have it on elemental governor, I heard you need busybox for it to stick but i dont know.
Sometimes I try to change the max frequency but it just won't change, the frequency's go all over the place haha.
Do you know which kernel is best for gaming on the nexus 6 ?
Power2daplayer said:
I have it on elemental governor, I heard you need busybox for it to stick but i dont know.
Sometimes I try to change the max frequency but it just won't change, the frequency's go all over the place haha.
Do you know which kernel is best for gaming on the nexus 6 ?
Click to expand...
Click to collapse
elemental is fine, probably do need busybox. but it sounds as you need to disable mpdecision.
BCL driver.
Check it out HERE.
You can even follow the instructions there to disable it.
Or you can install singularity kernel and the singularity kernel app with it. Singularity kernel has a option to disable it, along with a TON of other features.
The frequency drops because the CPU ***TEMPERATURE*** gets too high. Don't mess with it unless you like instability and "random" reboots.
doitright said:
The frequency drops because the CPU ***TEMPERATURE*** gets too high. Don't mess with it unless you like instability and "random" reboots.
Click to expand...
Click to collapse
funny, i disable thermal throttle every single time i boot up, since nov 2014, i my n6 doesnt get instability, and doent reboot.
simms22 said:
funny, i disable thermal throttle every single time i boot up, since nov 2014, i my n6 doesnt get instability, and doent reboot.
Click to expand...
Click to collapse
We've already gone over this and confirmed that your observations are incomplete.
Hi,
Id like to disable two of the cores for the little prosessor and the big prossesor. So core; 2-3, 6-7.
Id like to do this to reduce heat... Ive disabled the cpu cores in the kernel, but somehow they can get back online... Ive modified the thermal config to always have them hotplugged or disabled.
It would be nice to have them offline during boot as well.
Any thoughts? Or anyone who knows more about this than me?
Thanks!
bjowol said:
Hi,
Id like to disable two of the cores for the little prosessor and the big prossesor. So core; 2-3, 6-7.
Id like to do this to reduce heat... Ive disabled the cpu cores in the kernel, but somehow they can get back online... Ive modified the thermal config to always have them hotplugged or disabled.
It would be nice to have them offline during boot as well.
Any thoughts? Or anyone who knows more about this than me?
Thanks!
Click to expand...
Click to collapse
i've been trying to do this for about a month with no luck at all. flashed multiple roms and kernels trying to achive it but no.
i think its a pretty dead end. even kernels which stated that cores was turned of didn't do the trick
well, in its latest iterations SunKernel does only allow 3 cores during bootup (http://forum.xda-developers.com/xpe...el-zachs-kernel-playground-z4-z3-wip-t3404587),
and you can modify the hotplug behavior of the cores with @RyTekk 's thermal-engine and qcom modifications (http://forum.xda-developers.com/xperia-z5/general/tweak-improve-performance-reduce-t3387879)
zacharias.maladroit said:
well, in its latest iterations SunKernel does only allow 3 cores during bootup (http://forum.xda-developers.com/xpe...el-zachs-kernel-playground-z4-z3-wip-t3404587),
and you can modify the hotplug behavior of the cores with @RyTekk 's thermal-engine and qcom modifications (http://forum.xda-developers.com/xperia-z5/general/tweak-improve-performance-reduce-t3387879)
Click to expand...
Click to collapse
I did modify the hotplug behavior, telling it to always have two of the big cores offline, and did turn off two of them in the kernel as well, but sometimes entering camera or games the cores would turn on...
I managed to increase my devices performance after a lot of trickery but now i sent it in to my provider in hopes to get mye money back...
Is there a thread here siggesting other phones? Im looking at the nexus 5x or the upcoming nexuses