[MOD] Disable Powerdaemon Constraints - Allow custom governor settings to stick - Galaxy Tab 3 7.0 Android Development

This mod disables the powerdaemon constraints that prevent custom cpu governor settings from sticking. This was developed on my T210R, but should work for others.
Background:
There are 2 files in the /system/etc directory (powerdaemon.xml and powerdaemon_z3.xml) that are used to monitor various states of the system (ie. "booting", "games", "video playback"). Certain constraints are set depending on the system state. Most of these constraints are a variation of the "ondemand" or "performance" governors. These constraints adjust the min/max frequency and set control to a specific governor. This is why you can not get any cpu governor settings to stick.
What I changed:
I changed all system states to be directed to the "normal" constraint. This constraint does NOT change the selected governor and has min/max frequencies of 0/150%. This basically disables any effect the powerdaemon has. The 150% max does not mean your cpu will run at 150%, it simply allows overclocking if your kernel supports it.
In my testing, simply deleting the files or disabling the system states caused higher than normal cpu usage. It seemed to be trying to continually process information that it couldn't find. So, creating a "normal" constraint that did not limit any funtionality seemed to be the best option. The powerdaemon controller still processes everything, but has no real affect.
Installation:
Download and flash the Powerdaemon.disable.zip (with custom recovery). You may want to make a copy of your original files if you are using a different model.
If you want to restore the original xmls, just flash the Powerdaemon.restore.zip. These are from my T210R.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Flash at you own risk. I tried my best to explain what the mod does, so I take no responsibility for what you do with your Tab.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reserved

nice

Nicely done! What settings are you running your tab with now?
Sent from my SAMSUNG-SGH-I747

hkjr said:
Nicely done! What settings are you running your tab with now?
Sent from my SAMSUNG-SGH-I747
Click to expand...
Click to collapse
To be honest, I actually use the default settings (with powerdaemon still enabled). I don't really use my Tab very much (except when I travel), so I don't worry much about battery life or performance enhancements.
With the powerdaemon still enabled, I find that I get less lag, because some of the constraints were set to change minimum frequency to a higher value than what it would normally be.
I discovered how this works back when trying to build my own kernel (with additional governors). I could never get the new governors to stick, so I started investigating and discovered the powerdaemon files. I have never really been that interested in changing governors, but I know that there are a lot of people who really like to change them. That's why I decided to put this out there. :good:

I have the t217s that doesn't have a working recovery if I copy the two files to my /system/etc and give them the proper permissions it should work right?
Sent from my SM-T217S using Tapatalk

jbyers5355 said:
I have the t217s that doesn't have a working recovery if I copy the two files to my /system/etc and give them the proper permissions it should work right?
Sent from my SM-T217S using Tapatalk
Click to expand...
Click to collapse
Theoretically, yes. Since you have a different model than what I developed it on, you may want to compare your original files to the "restore" files I provided, to make sure that everything is the same. I know the cpu is a little different with the T217. Let us know how it goes.

Well I looked in /system/etc on my t217s and did not find any powerdaemon files but I did find that if I change the governor settings that they do stick
Sent from my SM-T217S using Tapatalk

You can also simply edit the values in the default files to change cpu config without using an app to do it. The disadvantage is you might not know for certain what is and isn't supported, but I upped my minimum frequency across most system states to 624 mhz, and I switched from the default 'ondemand' governor to 'interactive.' As a result my cpu's frequency, when not in deep sleep, is usually at 624 mhz and occasionally at 1.2 Ghz and rarely at 1.012 Ghz.
I had only owned my tab for a couple days before switching the settings, so I can't provide much of a before/after case study. But I am pleased with performance and battery life is okay, on average usage with 20% screen brightness (occasionally higher) it seems I can get at least 6 hrs screen on time over the course of a day.

Does it increase performance? Game?
Sent my SM-T210 Using Tapatalk

gr9nole said:
Does it increase performance? Game?
Sent my SM-T210 Using Tapatalk
Click to expand...
Click to collapse
It only allows you to change governors and keep those settings from bring overwritten by the system.
Sent from my SCH-I605

Great work, works on T210 WiFi model.

Sir I included your Powerdaemon MOD on my SGYTT210xPerformanceUpgradePack, credits were given to you on the MOD. I cannot send private message to you, I think theres restriction.

V003 great working 4.1.2
SM-T210R cihazımdan Tapatalk kullanılarak gönderildi

@gr8nole is there a way to get this working on tab 4

zach61797 said:
@gr8nole is there a way to get this working on tab 4
Click to expand...
Click to collapse
Depends on which version you are referring to. For the Marvel based 7 in Tab, you need to delete /system/bin/phservice. At least that is what is required on 4.4.2 for the Tab 3 7 in (Marvel-based). On 4.4.2, the don't use the powerdaemon.xml's anymore.

gr8nole said:
Depends on which version you are referring to. For the Marvel based 7 in Tab, you need to delete /system/bin/phservice. At least that is what is required on 4.4.2 for the Tab 3 7 in (Marvel-based). On 4.4.2, the don't use the powerdaemon.xml's anymore.
Click to expand...
Click to collapse
I have the tab 4 8.0 t330nu. I have tried to change the speed but it never lets the speed change. I can go from ondemand or preformance bit the speed stays set i cant make it go up or down

zach61797 said:
I have the tab 4 8.0 t330nu. I have tried to change the speed but it never lets the speed change. I can go from ondemand or preformance bit the speed stays set i cant make it go up or down
Click to expand...
Click to collapse
No clue, sorry.

gr8nole said:
This mod disables the powerdaemon constraints that prevent custom cpu governor settings from sticking. This was developed on my T210R, but should work for others.
Background:
There are 2 files in the /system/etc directory (powerdaemon.xml and powerdaemon_z3.xml) that are used to monitor various states of the system (ie. "booting", "games", "video playback"). Certain constraints are set depending on the system state. Most of these constraints are a variation of the "ondemand" or "performance" governors. These constraints adjust the min/max frequency and set control to a specific governor. This is why you can not get any cpu governor settings to stick.
What I changed:
I changed all system states to be directed to the "normal" constraint. This constraint does NOT change the selected governor and has min/max frequencies of 0/150%. This basically disables any effect the powerdaemon has. The 150% max does not mean your cpu will run at 150%, it simply allows overclocking if your kernel supports it.
In my testing, simply deleting the files or disabling the system states caused higher than normal cpu usage. It seemed to be trying to continually process information that it couldn't find. So, creating a "normal" constraint that did not limit any funtionality seemed to be the best option. The powerdaemon controller still processes everything, but has no real affect.
Installation:
Download and flash the Powerdaemon.disable.zip (with custom recovery). You may want to make a copy of your original files if you are using a different model.
If you want to restore the original xmls, just flash the Powerdaemon.restore.zip. These are from my T210R.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Flash at you own risk. I tried my best to explain what the mod does, so I take no responsibility for what you do with your Tab.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Click to expand...
Click to collapse
Hi Gr8nole,
Thank you for your work on this. I have an issue with my T210R (4.4.2) the settings I make they don't stick after reboot. I used kernel adiutor, EX kernel manager, Performance tweaker.
I've flashed Powerdaemon.disable.zip
I have busybox installed, am I missing something?
Edit: I've found your suggestion about deleting /system/bin/phservice. I deleted the file, rebooted, changed to governor to lionheart. It seemed to keep the settings.
Thanks!

Related

Question Regarding CPU Scaling

So I'm new to phone hacking, but an experienced software developer with a pretty strong Linux background... Anyway, I was rooting around the filesystem and found /sys/devices/system/cpu/cpu0/cpufreq/
I checked the values in scaling_max_freq and scaling_min_freq and they were both set to 528000. After doing some forum searching I see that some people mention using setCPU to let their CPU throttle down to 245 MHz when the screen is off, but when I tried to do echo 245000 > scaling_min_freq it doesn't ever change from 528000
I'm using Fresh 1.1, do I need to install a different kernel if I want my CPU to scale, and why can't I edit this file manually? I assumed that all setCPU was doing was editing /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor and scaling_max_freq and scaling_min_freq
ASULutzy said:
So I'm new to phone hacking, but an experienced software developer with a pretty strong Linux background... Anyway, I was rooting around the filesystem and found /sys/devices/system/cpu/cpu0/cpufreq/
I checked the values in scaling_max_freq and scaling_min_freq and they were both set to 528000. After doing some forum searching I see that some people mention using setCPU to let their CPU throttle down to 245 MHz when the screen is off, but when I tried to do echo 245000 > scaling_min_freq it doesn't ever change from 528000
I'm using Fresh 1.1, do I need to install a different kernel if I want my CPU to scale, and why can't I edit this file manually? I assumed that all setCPU was doing was editing /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor and scaling_max_freq and scaling_min_freq
Click to expand...
Click to collapse
I dont know alot about linux or the kernel stuff but I do know that those of us that have been using SetCPU to adjust freqency have been installing a seperate kernel. Its Gumbo Kernel. Ill get you a link.
Gumbo Kernel
http://forum.xda-developers.com/showpost.php?p=5502421
Looks like there's a script in there that fiddles with the memory freer and sets the scaling_governor to performance instead of ondemand or msm7k.
Changes /sys/module/lowmemorykiller/parameters/minfree 1536,2048,4096,5120,5632,6144
to 1536,3072,4096,21000,23000,25000 that's interesting.
edit: I'm not sure how useful that really is. Memory that isn't storing anything isn't doing anything, and so while it might make you feel better to say "Look! I have 90 mb free!" that really isn't as great as you'd think. If you run low on memory (ie the active process is needing more), then it's already going to kill and free up empty apps and content providers with no clients attached, so not really sure how useful that particular part really is.
edit2: So returning to my original question. If I want to change how low my CPU will scale down to, I need to install a new kernel?
ASULutzy said:
Looks like there's a script in there that fiddles with the memory freer and sets the scaling_governor to performance instead of ondemand or msm7k.
Changes /sys/module/lowmemorykiller/parameters/minfree 1536,2048,4096,5120,5632,6144
to 1536,3072,4096,21000,23000,25000 that's interesting.
edit: I'm not sure how useful that really is. Memory that isn't storing anything isn't doing anything, and so while it might make you feel better to say "Look! I have 90 mb free!" that really isn't as great as you'd think. If you run low on memory (ie the active process is needing more), then it's already going to kill and free up empty apps and content providers with no clients attached, so not really sure how useful that particular part really is.
edit2: So returning to my original question. If I want to change how low my CPU will scale down to, I need to install a new kernel?
Click to expand...
Click to collapse
Yes. Try the gumbo kernel. try scaling it to 160 just for fun. You'll see how slow it is, and it will prove that the cpu scaling works. try it at 528 also.

[MOD] IncrediControl - Easy GUI Voltage Control

Please read this post through thoroughly before downloading.
This app allows you to control your CPU voltages with an easy to use interface. You can increase or decrease voltages (undervolt or overvolt) for all frequencies or fine tune voltages for each individual frequency.
! HTC DEVICES, currently only single core devices are supported !
! ROOT is Required !
! Kernel that supports HAVS or SVS voltage adjustment REQUIRED !
Get it over at http://www.incredikernel.com
IncrediControl is now also available in the market:
IncrediControl
IncrediControl - Ad Free
Additionally, all donators are eligible to receive the Ad Free version. It doesn't matter how much or how little you donate or have donated. If you don't want to purchase the app from the market, you may donate using the button on this page. Please register on the site first and include your username in the comments box.
All previous donators, please register on the site if you have not done so and contact me with your username!
NOTE: The settings in the general tab are only functional in kernels that have implemented the simple sysfs interfaces for usb fast charging and audio boost. The tab will not show up if your kernel does not have these features. If you would like your kernel dev to implement the interfaces, please direct them to these two commits:
https://github.com/Chad0989/android_kernel_common/commit/a7c21fa0391c225900f93960362535179c0cecc9
https://github.com/Chad0989/android_kernel_common/commit/41dc138bae23dc7582de72a4d9895aaa8e1f8b2d
NOTE2: It is a requirement of the voltage adjustment that the kernel you are using has either the HAVS or SVS sysfs interface implemented. If it does not, it will not work.
NOTE3: Before using, please delete any boot scripts you may have in /etc/init.d that toggle any of the settings this app controls.
Get it at http://www.incredikernel.com
Restore script - use this if you went too low and find yourself in a boot loop. Flash through recovery:
http://www.incredikernel.com/?p=229
Thanx for sharing!
Keep up the good work!
IncrediControl v1.3
Major changes include:
Ad Free has now been turned into a key that removes the ads from the free version. This allows donors who have downloaded the ad free version from the site to update through the market.
HAVS voltage checking. Minimum voltages can no longer be set higher than maximum voltages.
Boot voltages are now stored in the application’s data directory. Boot settings will now persist if you update your ROM or restore the application and data from a backup.
Been having trouble with this app...
The voltages dont Stick.
Nor is there any real way to see if your adjustments are stable or not...
Also... I am getting values that are not shown in setcpu.
Maedhros said:
Been having trouble with this app...
The voltages dont Stick.
Nor is there any real way to see if your adjustments are stable or not...
Also... I am getting values that are not shown in setcpu.
Click to expand...
Click to collapse
You have to click apply to set the voltages. If you want the voltages to be applied on boot, you have to check set on boot and then click apply. The check on boot box will never be checked when you start the app. Instead there is text that tells you if you have boot settings or not. This is a failsafe so users don't habitually leave the box checked, adjust voltages too low, click apply and end up in a boot loop.
It's impossible to see if the adjustments are stable or not without running them on your phone. Every phone is different, even two phones of the same model. The only test for instability is stressing your phone at each frequency and seeing if it locks or not.
The SVS adjustment shows all frequencies the phone can support. Whether or not your phone ever uses the frequency is dependent on the governor and kernel that you are using
IncrediControl v1.4:
This is mostly a bug fix release but I have also added:
Automatic detection of the minimum and maximum voltages supported by your kernel
Unless any more bugs arise, the next release will have some new goodies to play with...
http://www.incredikernel.com or from the market.
We don't have any havs kernels for now.
Sent from HydrOG3N MOD DHD.
also supports the DeamonOC?
Paradoxxx said:
We don't have any havs kernels for now.
Sent from HydrOG3N MOD DHD.
Click to expand...
Click to collapse
Yeah, it seems only qsd8x50 processors have HAVS, others seem to all be SVS. The app supports both though.
DubelBoom said:
also supports the DeamonOC?
Click to expand...
Click to collapse
I'm unfamiliar with DeamonOC, can you clarify what it is for me?

[Q] Overclocking and undervolting Milestone

Hello. I'm using MIUI, so the app SetVsel is out of the question (on start it does Force Close).
I'd like to undervolt and overclock my CPU.
This is my current 10overclock file.
#!/system/bin/sh
echo "5 1000000000 60" > /proc/overclock/mpu_opps
echo "4 800000000 59" > /proc/overclock/mpu_opps
echo "3 600000000 52" > /proc/overclock/mpu_opps
echo "2 400000000 40" > /proc/overclock/mpu_opps
echo "1 250000000 32" > /proc/overclock/mpu_opps
Click to expand...
Click to collapse
I have few questions:
- Can I add 6th setting with 125000000 16, or I need to remove one of the lines? I know that I need to sort the numbers.
- How do I find the lowest stable vsel value with trial and error? How do I set manually frequency and vsel values and do a stability test without editing the 10overclock file and rebooting? If I edit 10overclock and the vsel is too low, the phone will go on infinite reboot cycles and I don't want to risk this.
- Is Interactive governor the best one available, or smartass or ondemand are better?
Thank you.
nitrobg said:
Hello. I'm using MIUI, so the app SetVsel is out of the question (on start it does Force Close).
I'd like to undervolt and overclock my CPU.
This is my current 10overclock file.
I have few questions:
- Can I add 6th setting with 125000000 16, or I need to remove one of the lines? I know that I need to sort the numbers.
- How do I find the lowest stable vsel value with trial and error? How do I set manually frequency and vsel values and do a stability test without editing the 10overclock file and rebooting? If I edit 10overclock and the vsel is too low, the phone will go on infinite reboot cycles and I don't want to risk this.
- Is Interactive governor the best one available, or smartass or ondemand are better?
Thank you.
Click to expand...
Click to collapse
I believe you can only do 5 steppings for overclocking. You need to change one of the other lines to 125MHz if that's what you want.
You can use root explorer, or now even try zeppelin's Supercharger V8 preview to overclock.
Go into the FroyoMOD thread and the 2nd or 3rd post, you can find a default 1GHz overclock. If your phone bootloops, then just boot into recovery and flash that stock OC to get back to normal.
I just do trial and error from the top one and see how stable it is, until I find a suitable balance.
Thank you.
How do I force one of the frequencies in overclock file, so I can do a stability test with it?
If I find a stable value, can I replace the file in the backup zip without reediting the META-INF contents?
nitrobg said:
Thank you.
How do I force one of the frequencies in overclock file, so I can do a stability test with it?
If I find a stable value, can I replace the file in the backup zip without reediting the META-INF contents?
Click to expand...
Click to collapse
To test it, change one stepping at a time and make sure they're stable. If it's unstable, then your phone might bootloop/restart. Then you'll know that it isn't a stable overclock.
The steppings and overclocking change so much depending on the usage and load the phone has, so it's very hard to try and force a stepping, on 5 stepping OC's.
skadude66 said:
To test it, change one stepping at a time and make sure they're stable. If it's unstable, then your phone might bootloop/restart. Then you'll know that it isn't a stable overclock.
The steppings and overclocking change so much depending on the usage and load the phone has, so it's very hard to try and force a stepping, on 5 stepping OC's.
Click to expand...
Click to collapse
What if I use only one stepping, delete the rest, and do a stability test on it? Will this work?
The thing is that the phone rarely uses the middle steppings, it only uses 250MHz, 400MHz and 1GHz, where the last 2 are like 15% of the time. Somehow I need to force the phone to work at exactly this stepping, so I can know whether it's stable or not.
nitrobg said:
What if I use only one stepping, delete the rest, and do a stability test on it? Will this work?
The thing is that the phone rarely uses the middle steppings, it only uses 250MHz, 400MHz and 1GHz, where the last 2 are like 15% of the time. Somehow I need to force the phone to work at exactly this stepping, so I can know whether it's stable or not.
Click to expand...
Click to collapse
I have never tried it, so I can't tell you it will work or not. I think there is another file that enables the 5 step overclock, so it might screw up your OC.
skadude66 said:
I have never tried it, so I can't tell you it will work or not. I think there is another file that enables the 5 step overclock, so it might screw up your OC.
Click to expand...
Click to collapse
I see.
What about manually setting min-max to one value with SetCPU?
What would you suggest me to do?
nitrobg said:
I see.
What about manually setting min-max to one value with SetCPU?
What would you suggest me to do?
Click to expand...
Click to collapse
I've never used SetCPU, I just overclocked through the 10overclock file.
skadude66 said:
I've never used SetCPU, I just overclocked through the 10overclock file.
Click to expand...
Click to collapse
Okay. Thanks though. I will try the SetCPU method and force one of the frequencies, hope that it will work.
Thanks for everything!

Overclocking

Hi guys!
I'm on eXistenZ 3.0, and everything's perfect, but i wanted to know how can i use the 'overclocking' settings? Do you know an optimal frequency?
Or what exactly can i do with that?
I'm just curious
spicx212 said:
Hi guys!
I'm on eXistenZ 3.0, and everything's perfect, but i wanted to know how can i use the 'overclocking' settings? Do you know an optimal frequency?
Or what exactly can i do with that?
I'm just curious
Click to expand...
Click to collapse
Interesting that you should ask. Coming from windows/intel chips, where overclocking is going beyond the highest value set at the PC bios to speed up the computer (thus generating more heat), I come to understand that "overclocking" in the android world is either to increase the lowest setting or decrease the highest setting for optimal performance (basically to save battery or reduce heat). In android, there is no way to increase the set highest value that I can see...
Of course, I stand to be corrected by long time android users here (I just came into android in Feb this year)
spicx212 said:
Hi guys!
I'm on eXistenZ 3.0, and everything's perfect, but i wanted to know how can i use the 'overclocking' settings? Do you know an optimal frequency?
Or what exactly can i do with that?
I'm just curious
Click to expand...
Click to collapse
Do you want to Overclock the SoC itself or tweak the other options such as the Low Memory Killer, SD Card Read Ahead, etc?
Since I'm running the stock kernel (my bootloader is relocked), I cannot overclock the SoC
I usually use:
Governor: ondemand
I/O Scheduler: deadline
But
Governor: interactive
I/O Scheduler: deadline
Would sometimes deliver higher benchmark scores
With regards to the Low Memory Killer, I'm satisfied with the stock settings but try to experiment with the other presets as you please.
As with the SD Card Read Ahead, I've selected 2048kb as it is said to be the optimal value. You can try to use benchmarks to determine what works best with your sd card.
---------- Post added at 06:40 PM ---------- Previous post was at 06:33 PM ----------
spicx212 said:
Hi guys!
I'm on eXistenZ 3.0, and everything's perfect, but i wanted to know how can i use the 'overclocking' settings? Do you know an optimal frequency?
Or what exactly can i do with that?
I'm just curious
Click to expand...
Click to collapse
Also, if you really want to overclock your SoC; you can choose to unlock your bootloader and flash DoomLord's DoomKernel. :3
Remember to backup your TA Partition first before doing this step as unlocking your bootloader WILL cause you to lose DRM Keys (bye bye Bravia Engine 2 and Download Music Info). You can search for BackupTA 9.10.
DoomKernel allows you to overclock up to 1.8GHz, provides you with a plethora of Governors, Schedulers, and other performance enhancements. e.g. Samsung exFAT Driver, etc.
TechKiel said:
...
DoomKernel allows you to overclock up to 1.8GHz, provides you with a plethora of Governors, Schedulers, and other performance enhancements. e.g. Samsung exFAT Driver, etc.
Click to expand...
Click to collapse
I see - there is a real 'overclocking' after all...
Thanks.
Everything is a bit new to me, new android user too. (i'm on locked bootloader)
Yeah i saw that i can maximize the current minimal settings, and minimize the maximum settings. I tried to increase a bit the minimum settings and did a benchmark, and i saw a difference already (i did 384 MHZ --> 584MHZ). But i dont want my phone to overheat or to decrease battery life.
The other options, i must admit i dont understand a thing, so what do you suggest to improve battery life for example, (or optimal settings if there are)?
spicx212 said:
Everything is a bit new to me, new android user too. (i'm on locked bootloader)
Yeah i saw that i can maximize the current minimal settings, and minimize the maximum settings. I tried to increase a bit the minimum settings and did a benchmark, and i saw a difference already (i did 384 MHZ --> 584MHZ). But i dont want my phone to overheat or to decrease battery life.
The other options, i must admit i dont understand a thing, so what do you suggest to improve battery life for example, (or optimal settings if there are)?
Click to expand...
Click to collapse
I would suggest:
Min: 384
Max: 1512
Governor: ondemand
Scheduler: noop
SD Card Read Ahead: 2048kb
As for the other settings, it's better to leave them untouched.
For additional battery saving,
Install "Greenify" to hibernate power hungry bg apps such as facebook.
Also, turn off location services and auto-sync if you don't utilize them.
You can also go further by using "BetterBatteryStats" to monitor which apps are sucking your battery.
TechKiel said:
I would suggest:
Min: 384
Max: 1512
Governor: ondemand
Scheduler: noop
SD Card Read Ahead: 2048kb
As for the other settings, it's better to leave them untouched.
For additional battery saving,
Install "Greenify" to hibernate power hungry bg apps such as facebook.
Also, turn off location services and auto-sync if you don't utilize them.
You can also go further by using "BetterBatteryStats" to monitor which apps are sucking your battery.
Click to expand...
Click to collapse
THanks a lot dude, i'm gonna try it!
btw if i set max to 1512 Mhz, my performance (while gaming for example) will decrease right?
spicx212 said:
THanks a lot dude, i'm gonna try it!
btw if i set max to 1512 Mhz, my performance (while gaming for example) will decrease right?
Click to expand...
Click to collapse
Yes. But it shouldn't be that much.
Using noop as your I/O Scheduler results to faster SD Card Reads while reducing CPU Cycles, reducing battery drain. Reduced CPU Cycles would seem to affect performance though.
D:
No problem. Just click thanks.
am using "rom tool box" on my XSP (rooted, .201, stock rom, c5303)... when setting up CPU speed, after reboot, settings are back to standard?!
any idea why'S that, or is it normal?
regentonne said:
am using "rom tool box" on my XSP (rooted, .201, stock rom, c5303)... when setting up CPU speed, after reboot, settings are back to standard?!
any idea why'S that, or is it normal?
Click to expand...
Click to collapse
Check out for other apps or init.d scripts that may have configured Processor settings during boot time.
TechKiel said:
Check out for other apps or init.d scripts that may have configured Processor settings during boot time.
Click to expand...
Click to collapse
sry, but, how to do that Oo

2.3GHZ Overclock in ZUI 2.5?

So in the Nougat ZUI2.5 I saw the cpu clock frequencies include a 2.3ghz for big cluster, and 1.7ghz for little cluster, also an option for "OC mode" in the setting
But no app can access it, I tried Kernel Adiutor and it always reset back to 2.15ghz, and when I turned on OC mode the actual cpu clock doesnt reach 2.3ghz, more like a governor change to performance with default clocks.
Is anyone currious about how to use the higher clocks?
pipyakas said:
So in the Nougat ZUI2.5 I saw the cpu clock frequencies include a 2.3ghz for big cluster, and 1.7ghz for little cluster, also an option for "OC mode" in the setting
But no app can access it, I tried Kernel Adiutor and it always reset back to 2.15ghz, and when I turned on OC mode the actual cpu clock doesnt reach 2.3ghz, more like a governor change to performance with default clocks.
Is anyone currious about how to use the higher clocks?
Click to expand...
Click to collapse
Been meaning to respond for a while now, I'm very interested in seeing this too and I've observed the clocks setting back to 2.15ghz, tried messing with system files and was tempted to make a custom kernel modification but I'm just waiting for someone else to introduce something.. if that ever happens, if more performance can be squeezed out then it'd be awesome, even if it already runs flawless, I enjoy pushing it further. I've been compiling some UE4 demos and tests and testing them to see what the phone can handle, I'd like seeing what overclocks could do to those results.
Ossie! said:
Been meaning to respond for a while now, I'm very interested in seeing this too and I've observed the clocks setting back to 2.15ghz, tried messing with system files and was tempted to make a custom kernel modification but I'm just waiting for someone else to introduce something.. if that ever happens, if more performance can be squeezed out then it'd be awesome, even if it already runs flawless, I enjoy pushing it further. I've been compiling some UE4 demos and tests and testing them to see what the phone can handle, I'd like seeing what overclocks could do to those results.
Click to expand...
Click to collapse
actually I got oc running in almost every single rom for the z2 plus now, just extract the sh file in the attactment to /system/etc, set permission to rw-r--r-- and you are golden
also a modified thermal engine file is included to raise the thermal throttling threshhold, if you want also move it to /system/etc then set permisson
remember to backup the old files, although I noted that all roms use the same default files. If you want to disable overfreq you have to move the original files back to place, removing them wouldnt do anything
That's really cool and I wanna use it but is it compatible with the Z2 Pro? I mean they use the same processors.
Don't work for me.
Did for me on the z2 pro, instant 160K in antutu on 50% battery, quite happy with that
Any way to include audio gains (headphones) for the kernel?
I'd like pushing it a little further, especially the GPU, just not sure how to go about that for now..
Ossie! said:
I'd like pushing it a little further, especially the GPU, just not sure how to go about that for now..
Click to expand...
Click to collapse
unfotunately you need a custom kernel for that to work, as the files I uploaded are only to enable the prebuilt overclock that zuk included with the phone. On custom roms based on cm/aosp I got the gpu to 652mhz which is the same as the sd821 SoC, and it worked fine. Not much progress has been done to raise the cpu clock higher however
pipyakas said:
actually I got oc running in almost every single rom for the z2 plus now, just extract the sh file in the attactment to /system/etc, set permission to rw-r--r-- and you are golden
also a modified thermal engine file is included to raise the thermal throttling threshhold, if you want also move it to /system/etc then set permisson
remember to backup the old files, although I noted that all roms use the same default files. If you want to disable overfreq you have to move the original files back to place, removing them wouldnt do anything
Click to expand...
Click to collapse
Hello and thanks for your file but...i don't have any "System" folder in my Zuk Z2, that is strange, i had it in my old phones...
pipyakas said:
unfotunately you need a custom kernel for that to work, as the files I uploaded are only to enable the prebuilt overclock that zuk included with the phone. On custom roms based on cm/aosp I got the gpu to 652mhz which is the same as the sd821 SoC, and it worked fine. Not much progress has been done to raise the cpu clock higher however
Click to expand...
Click to collapse
I get the feeling that Elemental X is never coming unless someone works with the source code, I see it's on the OP3 so I wonder how tough it'd be to port it over, would love to get the GPU in the Z2 Pro to 652 as well, I wanted to run this thing at the same frequencies as the 821 but wouldn't mind pushing the clocks further, I have the source for the OP3 EX kernel but this stuff is way out of my skill set..
I'm pretty sure I found where all the clocks and voltages are stored within the kernel, but like I said, I got no clue what to do.
juanzann said:
Hello and thanks for your file but...i don't have any "System" folder in my Zuk Z2, that is strange, i had it in my old phones...
Click to expand...
Click to collapse
Are you using root explorer or copying within the recovery?, if you're using twrp you need to go to the mount option and check the box for system, and if you're in the OS you gotta use something like root browser.
Ossie! said:
I get the feeling that Elemental X is never coming unless someone works with the source code, I see it's on the OP3 so I wonder how tough it'd be to port it over, would love to get the GPU in the Z2 Pro to 652 as well, I wanted to run this thing at the same frequencies as the 821 but wouldn't mind pushing the clocks further, I have the source for the OP3 EX kernel but this stuff is way out of my skill set..
I'm pretty sure I found where all the clocks and voltages are stored within the kernel, but like I said, I got no clue what to do.
Click to expand...
Click to collapse
It doesnt have to be elementalx, although if any custom kernel get to that level of polish would certainly be welcome for this device. If you want to try overclocking via custom kernel, reference other devices that have the same SoC (sd820 in this case) to check what voltages and clock speeds they are using, and how do they implement the overclock (it could be very different between devices across many oems). I tried to follow xiaomi mi5's oc and didnt success, maybe you could do it better. Good luck!
Very interesting, got 155k in Antutu with it
Ossie! said:
Did for me on the z2 pro, instant 160K in antutu on 50% battery, quite happy with that
Click to expand...
Click to collapse
aliensmille said:
Very interesting, got 155k in Antutu with it
Click to expand...
Click to collapse
woah! that's almost OP3T territory.
how's the battery and SoT with the OC?
"just extract the sh file in the attactment to /system/etc, set permission to rw-r--r-- and you are golden"
i changed the file in the system / etc folder but i don't know how to change the permissions from this file can somebody help?
alkombella said:
"just extract the sh file in the attactment to /system/etc, set permission to rw-r--r-- and you are golden"
i changed the file in the system / etc folder but i don't know how to change the permissions from this file can somebody help?
Click to expand...
Click to collapse
I use ES Explorer pro, just long press the file/properties and check all boxes, you will see rwx-rwx-rwx
---------- Post added at 08:21 AM ---------- Previous post was at 08:15 AM ----------
ar_15 said:
woah! that's almost OP3T territory.
how's the battery and SoT with the OC?
Click to expand...
Click to collapse
Between 3 and 5h, one day is no problem.
thank you i changed the settings to rw- r-- r-- and did a reboot after that. In antutu i only get a score of 13800 and if i run the app kernel adiutor i see the big cpu i set to 2150 MHz i also see the settings for changing to 2304 MHz but it doesn't change if i try to set it. Im on 2.5. 335ST with root. Before i changed the file my cpu was set at only 1708 MHz and i couldn't changed it to 2150.
You need rwx-rwx-rwx
pipyakas said:
actually I got oc running in almost every single rom for the z2 plus now, just extract the sh file in the attactment to /system/etc, set permission to rw-r--r-- and you are golden
also a modified thermal engine file is included to raise the thermal throttling threshhold, if you want also move it to /system/etc then set permisson
remember to backup the old files, although I noted that all roms use the same default files. If you want to disable overfreq you have to move the original files back to place, removing them wouldnt do anything
Click to expand...
Click to collapse
Thanks man it works perfectly. I'm getting 154K on antutu
Hi,
I did this but every reboot I need to run the script with root explorer. I tried rw-r--r-- and rwx-rwx-rwx.

Categories

Resources