[MOD] OC Daemon for any kernel - T-Mobile Samsung Galaxy S II SGH-T989

I take no credit for this mod, just made it work for myself, thought I'd share it. rmk40 and viperboy are the ones that made it happen.
I used this OC daemon on my MT4G, it worked very well. Ive noticed that cpu tuning apps seem to not play well with our phones. So I changed the updater script to make this mod work for our phone. Im running it with Bullet 2.2 and Juggernaut 3.1 and its very smooth, it really works.
So what makes this mod cool? When you set a screen off profile in setcpu, it takes a few seconds for the changes to take effect when the screen goes off/on. With this daemon, its instant. Ive checked it with shell commands and it always changes min/max and the gov as it should. I will share the shell commands to get the available clock speeds and govs. for the kernel you are using, you have to manually set them.
The daemon is configured with 6 files in the folder /system/etc/virtuous_oc/.
There are 3 files for the wake state and 3 for the sleep state. For each state one file for the governor, one for the minimal frequency and one for the maximal frequency.
You can easily edit these files eg. with RootExplorer or any other app which can edit system files. So you can adjust the frequencies and the governor for each state just like with SetCPU.
In order to get the available frequencies for the current kernel, just open your favorite terminal app and type
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
You could also use adb shell to show the frequencies on your computer.
To get the available govenors use a similar approach
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
To make sure its working, you can use these commands the same as the ones above.
Current CPU frequency
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
Current CPU governor
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Current min CPU Freq
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
Current max CPU Freq
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
The kernel and ROM you are using have to support init.d scripts. As I said, Ive tested with Juggernaut 3.1 and bullet 2.2, the files are set by default at:
screen on gov-lagfree
screen on max-1620
screen on min-384
screen off gov-conservative
screen off max-540
screen off min-384
These are the available speeds and govs. for bullet 2.2
192000 384000 432000 486000 540000 594000 648000 702000 756000 810000 864000
918000 972000 1026000 1080000 1134000 1188000 1242000 1296000 1350000 1404000
1458000 1512000 1566000 1620000 1674000 1728000 1782000 1836000
conservative ondemand userspace powersave lagfree performance
Installation: Make sure you uninstall any CPU apps before flashing, or this won't work.
Boot into recovery, wipe dalvik, flash zip, reboot.
YOU CAN USE THIS APP TO CONTROL THE DAEMON. IT ALLOWS 3 OC PROFILES AND 2 UV PROFILES. WORKS VERY WELL! THANKS TO Killbynature FOR SHARING THIS!
*MAKE SURE YOUR ROM/KERNEL SUPPORT INIT.D!!!

Word......

I've been messing around with jugs 3 and if you just change screen on gov to ondemand, leaving all the other settings, it really runs smooth. I also learned that the app I linked in the op to control the daemon doesn't work on jugs.
Sent from my SGH-T989 using Tapatalk

Thank you!!!
I used this on my mt4g and was wondering when it would be available for
my sgs2.
if anyone else is considering giving this a shot, I strongly recommend doing so.
Get Root Explorer and get familiar with the text editor. This is a more natural, more efficient, and faster way to control your CPU.
Sent from my SGH-T989 using XDA App

I had the defaults jacked up in the first zip i posted. If you tried the mod, used default settings and had issues, try the new one. I was getting sod's because I had the sleep freq's backwards.

Thanks for this! Love OC Daemon! Much smoother than any app controlling the CPU. I'm currently on Juggernaut 3.7 with Faux's latest kernel. I'm trying out that new Daemon controller you linked on your fist page but UV doesn't seem to work. Faux said his kernel was capable of it. Are you undervolting using that app? If so, what kernel are you running right now?
---------- Post added at 09:16 AM ---------- Previous post was at 09:16 AM ----------
One more thing, I cannot believe this thread hasn't received more attention. Maybe most people here don't know what OC Daemon is?

App worked great on my Sensation, let's see on my S2. Thanks BTW.

I haven't been able to uv using the app. Not with any of the available kernels.
Sent from my SGH-T989 using Tapatalk

mikeyinid said:
I haven't been able to uv using the app. Not with any of the available kernels.
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
If I manually type in terminal:
Code:
su
echo "-100000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
it takes. It undervolts but that goes away as soon as I reboot. I then tried to add an UV script to the init.d folder but it wont work. The script is here, can you take a look and tell me if I'm missing something? Thanks.

setzer715 said:
If I manually type in terminal:
Code:
su
echo "-100000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
it takes. It undervolts but that goes away as soon as I reboot. I then tried to add an UV script to the init.d folder but it wont work. The script is here, can you take a look and tell me if I'm missing something? Thanks.
Click to expand...
Click to collapse
the init.d script would need to look like this:
#!/system/bin/sh
echo "-25000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
and you cant uv in the app because it also needs a script. ill look into the proper script so that uv and oc can be contolled.

Will this work for synergy kernel?
Dfjcisnv

rmarquez1974 said:
Will this work for synergy kernel?
Dfjcisnv
Click to expand...
Click to collapse
Yes. Any custom kernel. With jugs you will have to manually edit the scripts because the app isn't compatible. But yea, any kernel
Sent from my HTC Glacier using Tapatalk

mikeyinid said:
the init.d script would need to look like this:
#!/system/bin/sh
echo "-25000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
and you cant uv in the app because it also needs a script. ill look into the proper script so that uv and oc can be contolled.
Click to expand...
Click to collapse
Yeah, that's how the script I used looks. I don't know what is wrong.

setzer715 said:
Yeah, that's how the script I used looks. I don't know what is wrong.
Click to expand...
Click to collapse
Are you rebooting after placing it in init.d?
Sent from my HTC Glacier using Tapatalk

mikeyinid said:
Are you rebooting after placing it in init.d?
Sent from my HTC Glacier using Tapatalk
Click to expand...
Click to collapse
Yeah. Don't know why its not working. I'll keep plugging away.
Update: I just don't get it. If I go into root explorer and manually run the script it doesn't work. If I enter the script in terminal it works fine. All voltages are UV'd. Maybe I'll try removing Deamon and see what happens.

setzer715 said:
Yeah. Don't know why its not working. I'll keep plugging away.
Update: I just don't get it. If I go into root explorer and manually run the script it doesn't work. If I enter the script in terminal it works fine. All voltages are UV'd. Maybe I'll try removing Deamon and see what happens.
Click to expand...
Click to collapse
I'm running the UV script and the daemon and everything is working fine. I always add it to whatever rom I'm flashing so its there on first boot.
Sent from my SGH-T989 using Tapatalk

mikeyinid said:
I'm running the UV script and the daemon and everything is working fine. I always add it to whatever rom I'm flashing so its there on first boot.
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
How did you verify it's working?
Code:
cat /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
Does that show all voltages lower? How far are you undervolting?
Maybe I'll just try a whole new fresh install.

Well, I did what you said, added everything to the ROM. Wiped and reflashed, still not work. Can you post the script your using?
Also, what ROM are you on?

setzer715 said:
Well, I did what you said, added everything to the ROM. Wiped and reflashed, still not work. Can you post the script your using?
Also, what ROM are you on?
Click to expand...
Click to collapse
ill post the script im using. and this will work for any rom as long as the kernel supports init.d
just unzip the attached zip, the script is inside. also, i can tell its working by opening the app i have linked in the op and going to the voltage sections. it shows the current voltage for each freq. i would look what they are, add the script, reboot and look again. keep in mind the 18x freq "available" on the kernels wont be uv'd, so look at the next freq up to check.

Well I used your script and it worked. I made mine match yours and it was still a no go. Only difference between them is mine is -100000 instead of -75000. Maybe it just doesn't like -100000? Either way, thanks for your help. Now undervolted and OC'd using OC Daemon on Jugernaut 3.7 with Faux .006r2. Man this thing is smooth now!!!

Related

[INITSCRIPT] screenstate_scaling - switch CPU freq governor on screen state change

Attached init script changes the CPU frequency governor based on the screen state:
Code:
screen on -> interactive governor
screen off -> powersave governor
Don't use this with SetCPU!
Thanks NeoPhyTe.x360 for the idea...
Edit:
This script is released to public domain, so it can be freely used for derivative works without permission!
Good thinking!
Thanks for sharing.
do we flash this in clockwork?
bradputt said:
do we flash this in clockwork?
Click to expand...
Click to collapse
Nope, it's just a init script for the ROM devs...
but is possible to applu in a rooted phone simply copying to /systen/etc or nope? needs setcpu or works without?
thx
Awesome work you do
+10
This is supercool, we wont need to use SETCPU anymore, just flash this and enjoy super battery life, big thanks FloHimself!
bartito said:
but is possible to applu in a rooted phone simply copying to /systen/etc or nope? needs setcpu or works without?
thx
Click to expand...
Click to collapse
You can push this script to /system/etc/init.d but it has some dependencies e.g. the interactive governor, perflock disabler when you want to underclock, ...
NeoPhyTe.x360 said:
Awesome work you do
+10
Click to expand...
Click to collapse
It was your idea, so same goes to you!
ivicask said:
This is supercool, we wont need to use SETCPU anymore, just flash this and enjoy super battery life, big thanks FloHimself!
Click to expand...
Click to collapse
That's the reason we are doing it this way: make the governor switching a bit more low level without SetCPU. But remember, this is not a update.zip and not flashable from recovery...
nice work. i really appreciate this. lets hope all the devs see this
FloHimself said:
Attached init script changes the CPU frequency governor based on the screen state:
Code:
screen on -> interactive governor
screen off -> powersave governor
Don't use this with SetCPU!
Thanks NeoPhyTe.x360 for the idea...
Click to expand...
Click to collapse
Useless... Interactive governor sets low speed when idle.
sbricout said:
Useless... Interactive governor sets low speed when idle.
Click to expand...
Click to collapse
You are right, the interactive governor sets the lowest speed when idle. But idle != screen off.
sbricout said:
Useless... Interactive governor sets low speed when idle.
Click to expand...
Click to collapse
Applications and services can still ramp up the CPU speed during the screen being off, so not useless at all. Switching to the powersave governor for when the screen is off, will stop it ramping up during this time.
I modified the script abit to include frequencies for min and max.
http://linux-box.nl/~sjoer/90screenstate_scaling
sfjuocekr said:
I modified the script abit to include frequencies for min and max.
http://linux-box.nl/~sjoer/90screenstate_scaling
Click to expand...
Click to collapse
Nice, that`s something I`ve done later, too :
http://dl.dropbox.com/u/31174/android/90screenstate_scaling
Thought about extending it some more...
don't punch me, but... how can this be installed?
Kinda complicated, you`ll need a modified init.rc to run the scripts from /system/etc/init.d/ at startup, you have to push the governor modules and perflock_disabler module compiled for your kernel in /system/lib/modules/ the insmod scripts for the governors, perflock_disabler script and the script above to /system/etc/init.d/
FloHimself thank you very much for the scripts and the modules.
Is it me or is this script constantly looping with no breaks/sleeps?
I've installed Neophytes' ArauxtSense 7.1 rom and he already added this on his rom. The question is, do I have to uninstall my SetCPU now? I have my referred settings on it and don't know how to disable it. I have unchecked the "Set on Boot" but everytime I boot my device, I can see that the SetCPU is still running on the background. Any advice? Any risks when having them both?
sub0min0us said:
I've installed Neophytes' ArauxtSense 7.1 rom and he already added this on his rom. The question is, do I have to uninstall my SetCPU now? I have my referred settings on it and don't know how to disable it. I have unchecked the "Set on Boot" but everytime I boot my device, I can see that the SetCPU is still running on the background. Any advice? Any risks when having them both?
Click to expand...
Click to collapse
There shouldn't be any risks, but one of them will force its set freq, and the other one will be constantly changing it
Sent from my HTC Desire using XDA App
Thanks for clearing that out. I guess I'll have to uninstall it then not unless I install another rom. Thank you...

[Q] Setting CPU governor to stop music clicking?

I have a small question regarding setting a CPU Governor. I searched for a while but couldn't find any answer.
I am running AcesMod007-Lite, which has the cpu governor set to smartass. It seems to be okay, but especially when playing music it has some trouble, because it is trying to save too much battery. The music has a small click now and then. And i'm hoping changing the governor will help (if it won't please say so, then I can stop trying ).
So I want to change it to Interactive. This should be possible according to the ROM description (- Available Freqs: CPU interactive, smartass, powersave, ondemand, performance - by snq-)
What I tried to change it:
In recovery (after mounting system):
adb shell echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
(Here I got an error: The system can't find the specified path)
adb echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
(Same error)
adb pull /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor G:\
(This wrote a file with userspace? I changed it to interactive, then pushed it)
adb push G:\scaling_governor /sys/devices/system/cpu/cpu0/cpufreq/
(Upon reboot I checked it, and it was set back to smartass)
When the phone was on:
I tried thesame as in recovery, and got the same errors, only when using adb pull, the content of the file was "smartass".
Does anybody have an idea how to make this work?
I don't have Ace on my phone at the minute, but from what I remember I'm pretty sure there's a scaling script in the system/etc/init.d folder. Use root explorer or similar and long press, open with text editor, then change smartass to the governor you want.
Reboot the phone and it should now be using the one you selected, I hope
Use ondemand governor. Also had problems with music playing with smartass governor in other roms. After switching to ondemand they never occurred again.
Swyped from Oxygen with Transparent XDA App
@mick
Thanks! You were right. Now it automatically switches to ondemand (thanks MatDrOiD).
But for some reason the music still clicks . Should I increase the processor max freq for screen off, or does anybody know any other solutions?
I dont really know any other solution other than to ask, did you change both governors, screen on and screen off?
btw the screen off I use "min 128000" and "max 384000"
yes, try upping the max til the clicking stops
Yes I did changed them both.
My frequencies are for screenoff (in that same file):
SLEEP_GOVERNOR_FREQUENCY_MIN="245000"
SLEEP_GOVERNOR_FREQUENCY_MAX="384000"
So I think that should be okay.
Somewhere I read that it was an possible issue with every Sense HD ROM, because there was an error in the HTC code. Then it would be unsolvable.
I am going to try setting the min to 128, maybe that magically helps.
PerfectLight said:
Somewhere I read that it was an possible issue with every Sense HD ROM, because there was an error in the HTC code. Then it would be unsolvable.
Click to expand...
Click to collapse
I use insertcoin at the moment and don't notice it.
It might not be the cpu settings, I don't know what else is tweaked in the rom, but if there are other things then it could possibly be that, memory etc.
I'm pretty sure I read in the thread when I used Aces that installing setcpu would disable the scaling script. Maybe install it and see if your problem clears, nothing to lose
It has been solved! I now use a different build.prop, which seems optimized in some way.
The clicking is gone, and the entire phone seems more responsive .
Thanks for the great help!

[MOD]Flashable OverClocking Daemon- Use with any ROM

First off i take no credit for the virtuous oc daemon itself, it was developed by rmk40.
And credit goes to -viperboy- for the idea, i used his rom and really liked the oc daemon and saw the difference it makes. Check his rom out here. It has a nice interface to control the oc daemon and other features of the rom.
You can get more info here
DON'T use any apps to adjust cpu with this ie., setcpu, cpumaster, etc.
Ok, here is the deal flash the zip file the script will run by itself the only adjustment you have to make is the virtuous oc settings. This should work with any rom and probably any device i just don't have any other devices to test it on.
Here is how:
Open root explorer (or whatever file manager you use) and navigate to /system/etc/virtuous_oc, you will see 6 files named:
sleep_governor
sleep_max_freq
sleep_min_freq
wake_governor
wake_max_freq
wake_min_freq
These are the files you edit to your liking, i only edited wake_max_freq to read 1863000 or 1.8ghz
The two governor file have different settings and they are:
conservative
userspace
powersave
ondemand
performance
Again edit to your liking i left them ondemand myself seems to work good. I don't really know what the settings do exactly when it comes to these but they seem pretty self explanatory.
To see if it's working all you need to do is open terminal emulator or adb shell and type one of the following:
Current CPU frequency
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
Current CPU governor
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Current min CPU Freq
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
Current max CPU Freq
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
It autostarts using init.d, so MAKE SURE your rom supports init.d, if it doesn't you can still use it but it has to be started manually by entering the following in terminal emulator:
Code:
/system/xbin/virtuous_oc
If you overclock MAKE SURE your kernel supports it, I'm not responsible for any damage incurred
In the future i want to make an app to control the settings but i am still learning that part.
Big thanks to rmk40 for this awesome daemon and -viperboy- the bad ass idea !!​
EDIT:
A basic rundown of the oc daemon is it scales up your cpu when you screen is on and scales it down when it is off, so your cpu is not overclocked continuously. It does save on battery as long as you don't get crazy with the overclocking.
rugedraw said:
The frequencies are:
Underclock: 192000 384000 432000 486000 540000 594000 648000 702000 756000 810000 864000 918000 972000 1026000 1080000 1134000 1188000 (stock)
Overclock: 1188000 (stock) 1296000 1404000 1512000 1620000 1782000 1836000 1944000 2052000
There may be some extra ones not listed here. From doing basic math, it seems you have to go up or down in increments of 54,000 when adjusting the CPU speeds. So if you want to UC higher than 192000 but lower than 384000, then you SHOULD be able to add 54,000 to 192000 and use that, or subtract 54,000 from 384000 and go that route.
Click to expand...
Click to collapse
Changelog:
-Added Juwe11 ram optimization script
-Added speed up SD hack (Set at 3072) Details here
I tested this for the My Touch 4G last night and it works great, installs in seconds. I'll help out watching the thread and answering questions for those whom need it if Smokin isn't around to answer them.
What does this exactly do for your phone?
Sent from my HTC Glacier using XDA Premium App
codey895 said:
What does this exactly do for your phone?
Sent from my HTC Glacier using XDA Premium App
Click to expand...
Click to collapse
This is an OC Daemon, its designed to control the processing speeds of your device. SetCPU does the same thing but this method is more stable and works without using any voltage. You can read some of the information listed in the links above.
whats the difference of the 2 zip files?
bstylz911 said:
whats the difference of the 2 zip files?
Click to expand...
Click to collapse
Changelog:
-Added Juwe11 ram optimization script
-Added speed up SD hack (Set at 3072) Details here
Click to expand...
Click to collapse
That's the information for the second ZIP file, the other one doesn't have that optimization.
so is it safe to say that i can use this on my MT4G running CM7 latest nightly?
I'm a little confused here. I got this up and running using the intstructions in the OP. But the frequencies don't match my kernels frequencies. Shouldn't they match?
Sent from my HTC Glacier using XDA App
estallings15 said:
I'm a little confused here. I got this up and running using the intstructions in the OP. But the frequencies don't match my kernels frequencies. Shouldn't they match?
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
No, the kernel gives you a range of highest to lowest frequency range in which they are able to run. You tune the kernel to run at the frequency that you want it too so if you run the kernel at the highest frequency the phone will run fast but you will use the battery faster, if you tune the kernel to run slow the phone will run slower but your battery will last longer.
What your looking to do is adjust the kernel to the closest frequency to give you the best performance but low enough to continue to keep a long battery life.
Kernels run by using Governors, if you select "OnDemand" as your governor it will run what ever Highest frequency you set it for when ever your device is out of sleep mode, (Example: MAX 1836000 and Minimum 192000) when ever you put the device in sleep mode it will automatically run at the lowest setting. This conserves battery while you still use better performance when actually using the phone.
Hope this clears it up for you.
itzsmokey: so is it safe to say that i can use this on my MT4G running CM7 latest nightly?
Click to expand...
Click to collapse
Yes this will work for that ROM, it's designed to be flashed after the ROM is installed, there are ways to check if it is working for you in the "OP". I would take the time to look through the links provided in the OP as well.
Orical said:
No, the kernel gives you a range of highest to lowest frequency range in which they are able to run. You tune the kernel to run at the frequency that you want it too so if you run the kernel at the highest frequency the phone will run fast but you will use the battery faster, if you tune the kernel to run slow the phone will run slower but your battery will last longer.
What your looking to do is adjust the kernel to the closest frequency to give you the best performance but low enough to continue to keep a long battery life.
Kernels run by using Governors, if you select "OnDemand" as your governor it will run what ever Highest frequency you set it for when ever your device is out of sleep mode, (Example: MAX 1836000 and Minimum 192000) when ever you put the device in sleep mode it will automatically run at the lowest setting. This conserves battery while you still use better performance when actually using the phone.
Hope this clears it up for you.
Click to expand...
Click to collapse
Lol. Thank you, but that's not what I meant. My kernel uses different frequencies. It has a range of 122000 to 203000. The numbers don't directly match up to the numbers in the OP, even in multiples of 54,000. See what I mean?
Sent from my HTC Glacier using XDA App
That was my point, your using MIUIs kernel it looks like, yes the kernel says 2.03 for the Max and 122 for the min the frequency in the output says 1188000 for the Max, that's what the daemon was preset too you go in and edit the files yourself. I first tested this before it was released on MIUI and it worked fine, look through and you'll find info on how to change the frequencies
Sent from my HTC Glacier using XDA App
Orical said:
That was my point, your using MIUIs kernel it looks like, yes the kernel says 2.03 for the Max and 122 for the min the frequency in the output says 1188000 for the Max, that's what the daemon was preset too you go in and edit the files yourself. I first tested this before it was released on MIUI and it worked fine, look through and you'll find info on how to change the frequencies
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
CM7 kernel. I'm obviously not making myself clear, so I'll just figure it out myself. Thank you for your help, though.
Sent from my HTC Glacier
Is there a smartass version or one being worked on?
Sent from my HTC Glacier using XDA App
estallings15 said:
CM7 kernel. I'm obviously not making myself clear, so I'll just figure it out myself. Thank you for your help, though.
Sent from my HTC Glacier
Click to expand...
Click to collapse
OK I'll put it like this..
The daemon your flashing is preset, you have to go in the files and change them to what ever frequencies your kernel is set for if you want them to work for the minimum and maximum settings.
I can't make you understand it, I hope you figure it out but personally before I do anything that could potentially be harmful to my device I read everything I can find before doing anything to it.
jayb222 said:
Is there a smartass version or one being worked on?
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
This is directly made from Virtuous Unity, the Governors associated are pretty much in every kernel release but the OP was mainly released for those interested in using the daemon it's self and it wasn't modified because there was no permission to do so.
Sorry about that though but I know Smokin isn't trying to step on any toes with this so that's why it remains as it was originally released.
Orical said:
change them to what ever frequencies your kernel is set for if you want them to work for the minimum and maximum settings.
Click to expand...
Click to collapse
That answered my question. Thanks buddy. I read the OP repeatedly and this isn't my first custom kernel or ROM. I crack flash like nobody's business. Drives my wife nuts. I'm no stranger to frequencies or voltages, but this is my first OC daemon. My confusion was in how specific the OP was in its frequency listing.
Sent from my HTC Glacier using XDA App
jayb222 said:
Is there a smartass version or one being worked on?
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
I edited the governor type file to smartass. Terminal output says smartass. Voila!
Sent from my HTC Glacier using XDA App
Just use the Viper app mentioned in the OP, it makes editing easier and much quicker, with a nice UI instead.
Ace42 said:
Just use the Viper app mentioned in the OP, it makes editing easier and much quicker, with a nice UI instead.
Click to expand...
Click to collapse
That's what I suggested before it was posted but I think it's important that people learn where all of the files are and how to edit the files and set the permissions for them.
Sent from my HTC Glacier using XDA App
I like the idea of this setup. It works well in Virtuous unity.
I know they have a GUI app that makes it easier to set this up. It would be great if we could get this daemon and GUI flashable for all ROMs.
The GUI app will probably need an auto detect CPU speeds function added for those that use custom kernels. Maybe we can talk to some of the overclock app devs (like the SetCPU dev) And see if we can get this functionality built into them.
It would be great if we could get this daemon in all ROMs and get the overclock app devs on board as well. As this app disables itself if there are overclock apps we would need them to be on board as those apps have so many other benefits (like profiles for low battery and the like) that I would hate to lose that as well. The apps could have the option to to enable or disable the daemon and then control it as well. The custom GUI app could be included in the ROMs for those that do not need or want to use the overclock apps.

First time undervolting

Ok so im getting 12 hours tops running blazer 3.7 rom with the el29 1.4.0 gunslinger kernel and ek02 baseband
I have set cpu all I have done so far is just make the profiles. I need some help its my first time trying the undervolting I want that 16 hour plus battery life
Sent from my HTC Glacier using XDA App
Why not just try -25mV for each frequency that you're using? Test it for a few days. Then try -50mV, repeat test, and compare performance differences.
If you're overclocking, undervolting can freeze or boot loop your device
Switch over to Rogue Stock EL29 and undervolt + underclock using Tegrak. I guarantee you'll get 16+. Right now I'm getting 24+ hours with these settings:
CPU Scaling: 200-800Mhz
Internal Voltage: -75mV from default.
Core Voltage: -75mV from default.
GPU Level 0 Frequency: 200Mhz
GPU Level 0 Voltage: 850mV
GPU Level 1 Frequency: 100Mhz
GPU Level 1 Voltage: 750mV
Tweaks: cfq changed to noop
System will constantly reboot if you use Tegrak with Gunslinger so don't do it. Just get Rogue Stock EL29.
R0CKSTAR3N3RGY said:
Switch over to Rogue Stock EL29 and undervolt + underclock using Tegrak. I guarantee you'll get 16+. Right now I'm getting 24+ hours with these settings:
CPU Scaling: 200-800Mhz
Internal Voltage: -75mV from default.
Core Voltage: -75mV from default.
GPU Level 0 Frequency: 200Mhz
GPU Level 0 Voltage: 850mV
GPU Level 1 Frequency: 100Mhz
GPU Level 1 Voltage: 750mV
Tweaks: cfq changed to noop
System will constantly reboot if you use Tegrak with Gunslinger so don't do it. Just get Rogue Stock EL29.
Click to expand...
Click to collapse
Can you list your CPU scaling at each level? Thanks
Make your self an overclock profile and copy paste this into it in through a text editor:
level=5
frequency=1200000,1000000,800000,500000,200000
core_voltage=1150,1100,1000,900,850
int_voltage=1000,975,950,925,900
scaling_governor=ondemand
scaling_min_freq=200000
scaling_max_freq=800000
author=Chris Brinzo
If you don't know where to find your overclock profiles, go to where your applications install, such as sdcard, the directory will be sdcard/Tegrak/overclock/ then the file will be <profile name>.oc
Use something like file expert to open it as a text, then simply copy paste.
**This is a custom profile not to the specs I listed before, it is very good for battery life**
R0CKSTAR3N3RGY said:
Make your self an overclock profile and copy paste this into it in through a text editor:
level=5
frequency=1200000,1000000,800000,500000,200000
core_voltage=1150,1100,1000,900,850
int_voltage=1000,975,950,925,900
scaling_governor=ondemand
scaling_min_freq=200000
scaling_max_freq=800000
author=Chris Brinzo
If you don't know where to find your overclock profiles, go to where your applications install, such as sdcard, the directory will be sdcard/Tegrak/overclock/ then the file will be <profile name>.oc
Use something like file expert to open it as a text, then simply copy paste.
**This is a custom profile not to the specs I listed before, it is very good for battery life**
Click to expand...
Click to collapse
i noticed it said TEGRAK in that field...so this wouldnt work on gunslinger and setcpu? just wondering...cause im looking into this aswell
I'm not entirely sure if it would work with setcpu. I don't know what kind of data it uses.
This is for Tegrak only, as far as I know.
Tegrak will not work on Gunslinger, I use it on Rogue Stock EL29.
This profile for Tegrak delivers excellent battery life while still remaining smooth and stable. As long as you don't murder your phones battery life with applications and data you should get 24 hours + with moderate use.
R0CKSTAR3N3RGY said:
I'm not entirely sure if it would work with setcpu. I don't know what kind of data it uses.
This is for Tegrak only, as far as I know.
Tegrak will not work on Gunslinger, I use it on Rogue Stock EL29.
This profile for Tegrak delivers excellent battery life while still remaining smooth and stable. As long as you don't murder your phones battery life with applications and data you should get 24 hours + with moderate use.
Click to expand...
Click to collapse
alright, im gonna do a nandroid in a bit (im currently on a perfect setup lol) then flash back to stock EL29, then grab tegrak and try this. so i just make a profile on tegrak..go into a root explorer and edit with the data you put up and what? simple copy and paste?
Yes, simply copy and paste, just tested it out to confirm it will work. Once you copy- paste the data you need to reapply the profile in Tegrak. In order for the profile to apply every start up you will need the full version of Tegrak.
R0CKSTAR3N3RGY said:
Yes, simply copy and paste, just tested it out to confirm it will work. Once you copy- paste the data you need to reapply the profile in Tegrak. In order for the profile to apply every start up you will need the full version of Tegrak.
Click to expand...
Click to collapse
Thanks a lot man! Im on calks ROM...and this tegrak setup you recommended and so far sooo good. will update and see if i can get 24hrs out of it!
thanks for the help guys im undervolted -50 using set cpu and yesterday i pulled 12 hours under really heavy use that was with 4 hpurs of screen on time and listen to music all day at work. i been off the charger now for a hour and only lost 3% battery so far but thanks guys dor the help
Sent from my SPH-D710 using XDA App
R0CKSTAR3N3RGY said:
Yes, simply copy and paste, just tested it out to confirm it will work. Once you copy- paste the data you need to reapply the profile in Tegrak. In order for the profile to apply every start up you will need the full version of Tegrak.
Click to expand...
Click to collapse
in order to set that profile it asks to load module...but now all of a sudden it wont.. why? now i cant set that profile..i have the free version.
Carbajal3009 said:
in order to set that profile it asks to load module...but now all of a sudden it wont.. why? now i cant set that profile..i have the free version.
Click to expand...
Click to collapse
Are you pressing load overclock module before you apply it?
Or is there some form if error?
EDIT: Sorry just realized you MUST have the full version to set profiles. (99% Sure of that one)
R0CKSTAR3N3RGY said:
Are you pressing load overclock module before you apply it?
Or is there some form if error?
EDIT: Sorry just realized you MUST have the full version to set profiles. (99% Sure of that one)
Click to expand...
Click to collapse
oh.... well that just blows..any other ideas? have you tried setcpu?
I'm sure you can find the full version of Tegrak somewhere.
I tried SetCPU with Gunslinger and I wasn't a fan. Never got the battery life that I did with Tegrak.
R0CKSTAR3N3RGY said:
I'm sure you can find the full version of Tegrak somewhere.
I tried SetCPU with Gunslinger and I wasn't a fan. Never got the battery life that I did with Tegrak.
Click to expand...
Click to collapse
Ya I tried that... it trys to check the license before I use it...

[KERNEL][STOCK][TW][3.0.66] CERUX TW v1.02 JB 4.1.2 | 2013-05-23

Cerux Kernel for TW JB 4.1.2 ROMs:
For Samsung Stock = TouchWiz 4.1.2 ROMs
Features:
Updated kernel to 3.0.66 (will continue updating it as build continues)
OC up 1836 Mhz
GPU OC: 2D 160-266, 3D 266-320 MHz
Kernel msm_thermal control
Force min/max frequency changes for both cores when changes are applied to one core, this is useful for those using built-in performance settings or using a cpu app that changes only core0 while keeping core1 intact. (enabled by default)
Modified ondemand governor with touch boost to have a snappier scrolling/typing, and with a second phase which will go first to configured frequency 1242 MHz before reaching max.
Kernel based mpdecision. This will control CPU secondary core (core 1) hot-plugging and unplugging depending on CPU load
Frandom support
Fixed a bug where phone hard reboot after trying to make a call before device is ready.
Added BadAss governor
Added SmartAssV2 governor
Added Wheatley governor
Added Intellidemand governor
Added V/R scheduler
Added SIO scheduler
Added BFQv6 release 1 (read second post)
Added BLN support (you need software/rom support)
Ondemand is the default governor
BFQ is the default scheduler
Other things I might forgot and will add later
List of commits in 3rd post
Click to expand...
Click to collapse
Download link: http://goo.im/devs/elbermu/cerux_kernel_tw_v1.02_signed.zip
Recommend using this ROM and if coming from a different kernel wipe.
ROM: http://forum.xda-developers.com/showthread.php?t=2249770
Go thanks: @Rushing
Please don't report problems without wiping.
If you get on splash screen after a reboot on any rom try this in recovery:
Code:
adb shell
e2fsck -yfDC0 /dev/block/mmcblk0p25
then reboot.
TricksterMod recommended for the tweaks
Few notes:
To other devs:
Lets play fair, if you are going to use any source of this kernel, make a pull request and/or PM me any findings you have.
To user: don't compare this kernel to other ones, I consider it rude. If you like other, you are free to use them.
No ETAs
No Sweep2Wake... I will look into it later
Don't Hi-Jack my thread...
Source: https://github.com/elbermu/cerux_kernel-touchwiz
Enjoy the kernel.
Since version v1.02 BFQv6r1 has been added and set as default scheduler. Advantages of BFQ:
Low latency for interactive applications - Whatever the background load is, the disk is virtually as responsive as if it was idle. Normally applications experience high latencies or become unresponsive until the workload terminates (especially SSDs)
Low latency for soft real-time applications - soft real-time applications, such as audio and video players or audio and video-streaming applications. These applications do not suffer from almost any glitch due to the background workload.
See a demo here: http://youtu.be/J-e7LnJblm8
Reading and others features of BFQ here: http://algo.ing.unimo.it/people/paolo/disk_sched/description.php
Change log for v1.02: https://github.com/elbermu/cerux_kernel-touchwiz/compare/a337aa0...HEAD
Holy sh*t. INSTALLING NAOH AJSVZIANAHSH16283638
Sent from my SGH-T989 using xda app-developers app
Thanks... So funny.. I just switched back from embryo to update my carbon nanandroid... gon back to embryo to try... Thanks again
OMG ....GRACIAS ELBERMU...
Sent fr
Thanks cerux for tw
Phone freeze when trying to pickup
Call then reboot by itself.
Im using badass gov, default freq, and sio.
I have to hard reset to get passed the boot screen.
The kernel back to the default setting (Ondemand gov)
Sent from my SGH-T989 using xda app-developers app
Love this kernel want to ask does it have fast charge and would love if it come with sweep to wake one day
winga45 said:
Love this kernel want to ask does it have fast charge and would love if it come with sweep to wake one day
Click to expand...
Click to collapse
Yes:
https://github.com/elbermu/cerux_kernel-touchwiz/commit/93c2ee845ce21a04de771867cfff52f1986f7f41
Use trickstermod to enable it...
Edit:S2W will come... and maybe screen sweep, not just the keypad
elbermu said:
Yes:
https://github.com/elbermu/cerux_kernel-touchwiz/commit/93c2ee845ce21a04de771867cfff52f1986f7f41
Use trickstermod to enable it...
Edit:S2W will come... and maybe screen sweep, just not the keypad
Click to expand...
Click to collapse
Thanks elbermu u rock
usb storage
when connected to computer it doesnt show up but when i flash a diffrent kernel it shows up need to fix usb storage
winga45 said:
when connected to computer it doesnt show up but when i flash a diffrent kernel it shows up need to fix usb storage
Click to expand...
Click to collapse
Probably you have fast charge enabled... It works excelent for me.
Check with:
cat /sys/kernel/fast_charge/force_fast_charge
elbermu said:
Probably you have fast charge enabled... It works excelent for me.
Check with:
cat /sys/kernel/fast_charge/force_fast_charge
Click to expand...
Click to collapse
Thanks elbermu but what should I do with that sys/kernel/fast_charge/force_fast_charge should I delete it or no
winga45 said:
Thanks elbermu but what should I do with that sys/kernel/fast_charge/force_fast_charge should I delete it or no
Click to expand...
Click to collapse
Don't delete it. Just change it to "no".
Sent from my Nexus 4 using Tapatalk 2
android88 said:
Don't delete it. Just change it to "no".
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Thanks android88 but it says 0 should I change it or leave it
winga45 said:
Thanks android88 but it says 0 should I change it or leave it
Click to expand...
Click to collapse
0 means it is disabled. Are you testing in windows? I always use Linux, windows just in the office but I will try with it.
Sent from my Nexus 4 using Tapatalk 2
elbermu said:
0 means it is disabled. Are you testing in windows? I always use Linux, windows just in the office but I will try with it.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
I use windows
winga45 said:
I use windows
Click to expand...
Click to collapse
Ok, I am out but I will check later when I get home...
Sent from my Nexus 4 using Tapatalk 2
elbermu said:
reserved
Click to expand...
Click to collapse
Did u got my pm message elbermu

Categories

Resources