2.3GHZ Overclock in ZUI 2.5? - Lenovo Zuk Z2 Pro Questions & Answers

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.

Related

StreakDroid7 v1.3 (GPU edition)

Update 11/05/11
StreakDroid7 1.3
changelog
no huge changes
rebuilt kernel with more stability at higher overclocks, also auto detect speeds in setcpu will work fine now.
added GPU Overclock which also boosts the base gpu clock so performance should be increased all round
reduced the max framerate to fix gfx courrptions
http://mirror2.streakdroid.com/Streakdroid7-v1.3.zip
Update 22/04/11
time for a new build again
minor tweaks in this version and one large change
changelog:
Minor tweaks to kernel
Removed 1.6ghz Overclock
Tweaked 1.504ghz should work better
Added 1.3ghz clock speed
Finally managed to uncap the framerate of device, now hitting over 100fps on some items,
thanks to dexter_nlb for pointing me in the right direction on the above
overclock should be pretty much rock solid up to 1.4ghz but above that you may see lockups, also not all devices are the same and some will not handle overclock as well
download link: http://mirror2.streakdroid.com/Streakdroid7-v1.2.zip
Please feel free to donate to my work if you find it useful - any amount is appreciated
GBP Donate | USD Donate
NICE!!!!!!!
glad to see this out now and not a second to soon, now every one who download and contributes to this thread really needs to look into logcating i believe that will help out a lot with trouble shooting
I strongly feel that the UNDERDOG DS7 with DJ's hand will blow all other fancy expensive **** out of the water .
This is unbelievably only first day of dev's output ...
Second day with the device. I don't have interwebz so in out till Monday! Oh well enjoy
sent from ???
Running now.
Quand Score 3020!
So far so good. No issue encountered yet.
Edit1
Dungeon Defender Stuck the entire device everytime it runs. But it's ok. Their updates failed even under 2.2.2 sometimes too.
Edit 2
Every HD videos / H.264 will freeze unless I set the SetCPU profile as 216 - 1400 mhz.
Previously was 1200 - 1400 mhz (maybe this is too greedy of a setting)
Getting my Unit Tuesday, My replacement, was thinking about sellign for Acer Iconia, but now the Dj_steve got this rolling, cant wait.
Hey guys what do I need to do to my new device to get this on it, I been out of the loop for 2 weeks.
Thanks
Lou (Original CWM Guinea Pig)
flash cwr. wipe then flash. I like whats in store for the s7! love having the underdog. and with dj at the helm goods things to come i suspect.
How are you finding battery life with oc?
Put profile for screen off at 216-1400. Battery burning almost twice faster. So now I am testing with off screen setting 216-800 and lets see how
Sent from my Dell Streak 7 using XDA App
Some of my settings won't stock with setcpu after reboot
Sent from my Dell Streak 7 using XDA Premium App
best bet to set the speeds after reboot manually anyway
jiwengang said:
Put profile for screen off at 216-1400. Battery burning almost twice faster. So now I am testing with off screen setting 216-800 and lets see how
Sent from my Dell Streak 7 using XDA App
Click to expand...
Click to collapse
I always put it on the min for both the min/max when the screen is off(usually power save or conservative governor depending on the kernel). I mean you really need close to zero cpu when your screen is off so running it even at 800 is a waste of power. I would suggest doing a screen off profile of a min/max of 216/216. It also helps keep the temp down
In case people didn't know this includes binaries to easily remount your system partition. They are pretty self-explanatory.
rosystem
rwsystem
you can use those in any terminal program you choose (or an adb shell). Steve - you should drop AppWidgetPicker.apk into the system/app folder, makes a much nicer widget selection dialog. Also, maybe you could remove the extra crap, like it doesn't need to flash the modem or recovery, I was just too lazy to remove those extra steps from the install script.
Thanks for this! Flashing now.
Gps is broken for me...
04-16 08:37:11.181: ERROR/gps_BRCM(1146): Failed to connect to the gps driver (/dev/socket/gps) errno(2)
Restored my backup to be sure - no problem there. I re-added some of the apk's to /system/app that were removed, as my first attempt to get it working. If this doesn't work, I am going to try to revert some of the lib changes you made, maybe one of those is b0rking something up. Not an apk, going to restore and just flash your boot.img and see how that works out...
Alright, did another restore, tested again (fine)... this time I included the old lib directory and got massive kernel panics (made a second attempt at this thinking I did something wrong - boots fine, no GPS, gotta be in the kernel - right?). Guess the last test is to just flash your boot image...
Last test - restored backup flashed your boot.img (think it flashed - no error returned). Booted up fine, GPS - a no go). Gotta be a kernel thing.
yep yep and yep ive also stablised the overclock more, pushed the voltages up slightly but its made it far more stable and doesn seem to lockup here now, will upload new build later, adding some other edits to kernel too, also can someone on here please go ask some of the devs in the folio 100 and gtab forums what they had to change in nvrm_daemon to up the framerates as it appears the 7 is locked to 59fps at moment,
fps2d will show this for reference:
streak 7 @ 1.4ghz = 59fps max
Notion ink adam @ 1.0 ghz but with a 78hz modded nvrm hits 70fps easily
and new build is up folks check first post
DJ_Steve said:
and new build is up folks check first post
Click to expand...
Click to collapse
Does this address the gps issue?
daveid said:
In case people didn't know this includes binaries to easily remount your system partition. They are pretty self-explanatory.
rosystem
rwsystem
you can use those in any terminal program you choose (or an adb shell). Steve - you should drop AppWidgetPicker.apk into the system/app folder, makes a much nicer widget selection dialog. Also, maybe you could remove the extra crap, like it doesn't need to flash the modem or recovery, I was just too lazy to remove those extra steps from the install script.
Thanks for this! Flashing now.
Gps is broken for me...
04-16 08:37:11.181: ERROR/gps_BRCM(1146): Failed to connect to the gps driver (/dev/socket/gps) errno(2)
Restored my backup to be sure - no problem there. I re-added some of the apk's to /system/app that were removed, as my first attempt to get it working. If this doesn't work, I am going to try to revert some of the lib changes you made, maybe one of those is b0rking something up. Not an apk, going to restore and just flash your boot.img and see how that works out...
Alright, did another restore, tested again (fine)... this time I included the old lib directory and got massive kernel panics (made a second attempt at this thinking I did something wrong - boots fine, no GPS, gotta be in the kernel - right?). Guess the last test is to just flash your boot image...
Last test - restored backup flashed your boot.img (think it flashed - no error returned). Booted up fine, GPS - a no go). Gotta be a kernel thing.
Click to expand...
Click to collapse
Yes. GPS is no go for me too.
Downloaded the new build. Now flashing.
jiwengang said:
Yes. GPS is no go for me too.
Downloaded the new build. Now flashing.
Click to expand...
Click to collapse
New Build GPS is not yet there. Theme is great! Will explore more and update this post.
All previous freezes when watching H.264 HD video or other HD videos is gone! Yes it is more stable now!
will look into the gps shortly not something ive tried hence not spottin issue

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

[MOD] [New Version]CPU Editor Modified for ATRICS or ICSROMs

As promised earlier that I would share my work and yes I stand by that promise. The modified CPU editor script.
CREDITS​smokin1337 The original creator of the script​upnndwn4par For his support
todobarato For suggesting optimization which was really useful​
ONLY FOR ATRIX 4G Running ICSROM or ATRICS
The usual warnings. Do not blame me for bricked phones. This is still under testing phase and I need testers.
Please donot PM me with the results, Post them here in this forum
New Version
Added an optimization suggested by todobarato (thanks!!) Works fine. The only problem still is the sticky bit issue. Still Working on it
Download the New Version Here.
Instructions
1. Flash in CWM
2. Reboot
3. The script should start working on its own (Doesn't Work for now)
Open terminal > "auto-cpu" (Without quotes)
And also please let me know if the CPU frequencies are reverting at boot or not?
Changes Made
1. The original script by smokin1337 is kept intact , so advanced users can still use the script as usual.
2. The modifications automatically shutdown one of the cores when its not required.
So please go ahead test it and let me know results.
Anyone is welcome to help and provide suggestion or even modify this and contribute.
deathscream said:
As promised earlier that I would share my work and yes I stand by that promise. The modified CPU editor script.
CREDITS​smokin1337 The original creator of the script​upnndwn4par For his support​
ONLY FOR ATRIX 4G Running ICSROM or ATRICS
The usual warnings. Do not blame me for bricked phones. This is still under testing phase and I need testers coz I just lost my phone to my girlfriend for a week
Please donot PM me with the results, Post them here in this forum
Download the attachment.
Instructions
1. Flash in CWM
2. Reboot
3. The script should start working on its own (Couldn't test it , Sorry guys)
And also please let me know if the CPU frequencies are reverting at boot or not?
Changes Made
1. The original script by smokin1337 is kept intact , so advanced users can still use the script as usual.
2. The modifications automatically shutdown one of the cores when its not required.
So please go ahead test it and let me know results.
Anyone is welcome to help and provide suggestion or even modify this and contribute.
Click to expand...
Click to collapse
Thanks for your job
I try it..to take off one cpu I have do it manually..on reboot the cpu starts both
andrea_marcello said:
Thanks for your job
I try it..to take off one cpu I have do it manually..on reboot the cpu starts both
Click to expand...
Click to collapse
Yes I got those same results from others. Can you try using SManager and select the script /system/xbin/auto-cpu and let me know of the results.
Thanks!
what is this for?
and how do i know if it is working or not?
mindstorms54 said:
what is this for?
and how do i know if it is working or not?
Click to expand...
Click to collapse
It allows CPU mods without using an app (which of course uses battery).
You can change min/max frequencies on each core individually. You can even take one of the cores offline completely. Running on one core is not noticeably different from two for routine use. I hardly see a difference. I can't give any hard number for the increase in battery life since I have only been using it for less than two days. But battery life is definitely better.
There is some more info here:
http://forum.xda-developers.com/showpost.php?p=34427620&postcount=785
*********************************
deathscream,
I just tried it. The script is not running automatically as far as I can tell. I am not seeing the second core shutting down.
Thanks, and keep up the good work.
I'll look into it. I just got my phone back. Now I can test it without any problems.
Sent from my MB860 using xda premium
Hello,
I am following this and I think you are complicating it to much.
I have test this script and the original and it never disable the 2nd core.
If you will disable it is very easy with the following command as su: echo 0 > /sys/devices/system/cpu/cpu1/online
The only issue is that it comes online very fast again and you have to execute the command again... I have found the script that disable the 2nd core but only when the screen off, this isn't our problem, by CPU-spy it show deep-sleep is working.
I have changed the script to disable the 2nd core when the CPU frequency is under 350Mhz, this check every X second (I use 35seconds, this can be changed) , now the second core is offline when it detects low CPU frequency and stay offline, if you need it again I have observed after switch off and on again the screen it comes back online or by open set-CPU(I have it on widget to check CPU temp) if you have. If you use one very CPU intensive app comes only by itself too.
I put the script on /system/etc change the correct permission, run with SDmanager.
The script is:
--------------------------------------------------------
#!/system/bin/sh
#
#
while [ 1 ]
do
CPU0=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq`;
if [ $CPU0 -lt "350000" ]; then && echo 0 > /sys/devices/system/cpu/cpu1/online;
fi;
sleep 35
done
-------------------------------------------------------------
I hope this help, I am using it on CM7 and work better that I have expected.
Sent from my MB860 using xda app-developers app
Thanks a lot. Will try it out.
Sent from my MB860 using xda premium
It' dont work for me automatically after reboot.
I use the terminal to put the values by myself
It's a great tool.
Thanks for the work
Regards
You have a lot of features about OC on Atrix (scripts) here
http://forum.xda-developers.com/showthread.php?p=23715720
And here
http://forum.frandroid.com/topic/93255-autoucuv-forcage-cpu-et-oc-uv-gpu/
And here
http://forum.frandroid.com/index.php?/topic/105205-[APP]-✖-AtrixTweaks-(19/08/12)#entry1701606
it works but not automatically. i noticed a little battery increase. from 12hrs i got about 15 hrs uptime running latest icsrom.
fabianowerner said:
it works but not automatically. i noticed a little battery increase. from 12hrs i got about 15 hrs uptime running latest icsrom.
Click to expand...
Click to collapse
Yes. I tried it . The script doesn't run automatically. The sticky bit setting is driving me nuts. haven't slept the whole night. adding this to userinit also doesn't work , so I guess the only way would be try upacking the booimage, ramdisk and adding to the init.rc . I'll try running that there. That should probably work. But can't say for sure.
relax dude... even with the 2nd core disabled, the battery life had increased just a little almost insignificant hours. im pretty sure that we will have this serious issue solved only if someone can put hands on another ics kernel or this leaked kernel source.
fabianowerner said:
relax dude... even with the 2nd core disabled, the battery life had increased just a little almost insignificant hours. im pretty sure that we will have this serious issue solved only if someone can put hands on another ics kernel or this leaked kernel source.
Click to expand...
Click to collapse
Yeah. Hope for the best . Released a new version. It's not automated but its even better working. The cores are managed better than the original one.
deathscream said:
Yeah. Hope for the best . Released a new version. It's not automated but its even better working. The cores are managed better than the original one.
Click to expand...
Click to collapse
I just released a new version of ICSROM with init.d support.
It might help with your automation.
upndwn4par said:
I just released a new version of ICSROM with init.d support.
It might help with your automation.
Click to expand...
Click to collapse
Perfect. I'll check it. At work now. Thanks!
deathscream said:
Perfect. I'll check it. At work now. Thanks!
Click to expand...
Click to collapse
Thank you for your support!
I'm testing the new version on AOKP (not suggested, I know ) and it seems that doesn't switch well the cores status.....I'm able to set a maximum cpu1 settings but not it doesn't really applies it.
Within my tests I can see that the 2nd core is not so much important....I can play Riptide GP and Shine Runner (heavy games??? ) plus others apps with only 1 core without any noticeable lags...so
I'd like to ask you if you can make a unique profile and cut off other settings:
cpu0 @ 1ghz max, variable
cpu1 @ 456mhz max, variable (enabled only if cpu0 is @ 1ghz more than 5/10 seconds)
screen-off: cpu0 456mhz max, cpu1 disabled.
Thanks a lot for the suggestion. I'll definitely try adding those.
Sent from my MB860 using xda premium
If disabling a core is not fetching significant battery increase in leaked rom(s) then efforts to streamline sampling would we worthless as primary issue of battery drain would not get solved.
This came as a surprise as the second core was suspected to be the mAh drainer. Maybe it could be the GPU that runs at max..
After a long amount of observation, I found out that shutting down a core isn't reducing the battery drain. There is something more to it. Thanks to upndwn4par to release icsrom 1.4.5 so that I could test my scripts... I'm still working on the battery drain issue and will let you guys know the progress soon.
Sent from my MB860 using xda premium

[MOD] Disable Powerdaemon Constraints - Allow custom governor settings to stick

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!

CPU load with custom CM13 kernels

Guys.. With every Android since the 2.x, you could activate the "Developers Options" and activate an option called "Show CPU usage".
"The numbers show the average load of the CPU in different time intervals. From left to right: last minute/last five minutes/last fifteen minutes"
My doubt: When I install any CM13 ROM (now I'm with Exodus) on my S5 (G900M), the load, after some minutes, are always near 10. Now I'm staring at it, with many apps installed (whatsapp, facebook, uber, maps, messenger, firefox, mx player, es file explorer, foursquare, traceroute, wifi analyzer, gmail, imo, os monitor, tinder, fing, poweramp, mindroid, remote desktop, 99, youtube, andsmb, diskusage, soundhound, photos, dropbox, goseek, instagram, juicessh, google now, picsplay, speedtest, skype, swiftkey, stabilitytest... just to name some...) and it's 11.32 / 14.37 / 23.11
Now the problem: whenever I install Boeffla Kernel or CrazyKernel, the load is ALWAYS higher.. always nearing 20. With default options, or trying to tweak the cpu options in both kernels.. and the bigger problem is that I SENSE that. The phone seems to RUNS SLOWER.
ps: If you LOCK your device (or let it lock by the timeout), this "load" value will raise because the cpu will also run slower.. it doesn't mean it's working more, just that more work is queued to the cpu, as it doesn't NEED to work on it (because it's locked/screen turned off, etc)
Hi,
I guess everyone will have that. So the poll is quite useless.
The reason for it, as I tracked down:
Two governors (intellimm and slim) are adding overhead to the system, even when they are not used.
Why? I do not know, as I am not the developer of these governors.
But for a test, I removed them from beta11 and compiled it as a beta11test1 version, attached here.
Let me know if removal of these governors lowers the cpu utilization for you down to stock levels almost.
Andi
Lord Boeffla said:
Hi,
The reason for it, as I tracked down:
Two governors (intellimm and slim) are adding overhead to the system, even when they are not used.
Why? I do not know, as I am not the developer of these governors.
But for a test, I removed them from beta11 and compiled it as a beta11test1 version, attached here.
Let me know if removal of these governors lowers the cpu utilization for you down to stock levels almost.
Andi
Click to expand...
Click to collapse
Wow that was fast. I'm testing right now and yes, the CPU load is *finally* down to ~11 like it were with vanilla CM13 kernel (which I think is what Exodus uses).
Still I get a little lag here and there mostly when "loading" stuff (like when clicking in a group chat on whatsapp, which needs to open a huge .db to display the history.. I think).....
But nice work.. I wonder what more could be optimized.. it's strange to a vanilla kernel be snappier than a custom .. given the experience you have..
Thanks
fbs said:
Wow that was fast. I'm testing right now and yes, the CPU load is *finally* down to ~11 like it were with vanilla CM13 kernel (which I think is what Exodus uses).
Still I get a little lag here and there mostly when "loading" stuff (like when clicking in a group chat on whatsapp, which needs to open a huge .db to display the history.. I think).....
But nice work.. I wonder what more could be optimized.. it's strange to a vanilla kernel be snappier than a custom .. given the experience you have..
Thanks
Click to expand...
Click to collapse
I am not sure vanilla stock kernel is more snappy. I feel it is the other way round personally. But this is about expectations and perception. Also it is about what is important for one. A custom kernel gives you many other goodies that might of course compromise in other areas. Nothing is for free.
And I personally prefer some other features over pure performance.
But well, that's it. I will not do more, having in mind the s5 kernel is only my #5 kernel in terms of priority. Sorry.
Andi
Lord Boeffla said:
I am not sure vanilla stock kernel is more snappy. I feel it is the other way round personally. But this is about expectations and perception. Also it is about what is important for one. A custom kernel gives you many other goodies that might of course compromise in other areas. Nothing is for free.
And I personally prefer some other features over pure performance.
But well, that's it. I will not do more, having in mind the s5 kernel is only my #5 kernel in terms of priority. Sorry.
Andi
Click to expand...
Click to collapse
Now I'm on boeffla-config trying to tune "interactive" governor and it says it's not tunable. it was before this test version. Maybe the removal of that other governors screwed up boeffla-config listing of whats tunable or not.. ? check this out too please..
fbs said:
Now I'm on boeffla-config trying to tune "interactive" governor and it says it's not tunable. it was before this test version. Maybe the removal of that other governors screwed up boeffla-config listing of whats tunable or not.. ? check this out too please..
Click to expand...
Click to collapse
Well, not such an issue here. I can enter tunable mode.
Reset your app via the apps maintenance menu.
But you know, you are on a completely unsupported test kernel. Just to say that again.
Andi
Lord Boeffla said:
Well, not such an issue here. I can enter tunable mode.
Reset your app via the apps maintenance menu.
But you know, you are on a completely unsupported test kernel. Just to say that again.
Andi
Click to expand...
Click to collapse
Right, but given the test was a success, you'll remove these governors for good, right?
fbs said:
Right, but given the test was a success, you'll remove these governors for good, right?
Click to expand...
Click to collapse
Yes, already announced everywhere (here on xda, as well as on Twitter and on my site).
Andi

Categories

Resources