I keep reading a lot of about how people use scripts to change their governor, CPU, voltage, and other settings.
Where are these scripts located? Is there one in the phone already? What program do I use to modify it? Also, are there scripts that will work on other phones but not our T989?
What I'm essentially asking for is to be pointed in the right direction to learn how to use these scripts.
I've been using System Tuner and I don't like how it maxes out the CPU every time I use it. Also, even when I fix it back to the correct CPU settings, the phone would refuse to go into Deep Sleep mode. My main goal right now is to use the script to undervolt my phone.
Bump. Can anyone point me in the right direction?
Hey I'm waiting on a response as well...
I know you probably got all excited that someone responded to your thread dry but maybe another post will help bring attention to it.
Casperi
Sent from my SGH-T989 using xda premium
the script usually applies if the kernel developer wrote an easy enough script for us to change the values to our liking. The general population does not know how to write our own so I wouldn't bother.
I know TDJ's darkside kernel has a section in his script that allows you change somethings
gideon's script is also straight forward, it is found at the bottom where you can change the max and min and the voltages.
gideon's script apparently works on any kernels but I would advise not flashing it on every kernel possible because it will overwrite what the developers wrote in themselves such as the darkside kernel.
You guys should check out faux's thread and tdj's thread, I think there are instructions floating around there somewhere.
gideon's script is in faux's thread too I believe.. haven't used it in forever.
I was hoping to learn how to change the CPU settings. Sure I can do it in sys tuner which I do but that's after the phone boots with the CPU set at 1.78 which is a battery killer for me. If I can learn how to simply change it in the script like say the resolution from 240 to 200 for example then I'm all good. That way I never have to **** with it again and I learn something along the way. Problem is I have no idea where to look for this.
Casperi
Sent from my SGH-T989 using xda premium
Related
I've used SetCPU in the past and have determined that my max stable clock speed is 113600; I've also read that using SetCPU to control clock speed can create some problems.
How would one go about manually overclocking the phone without using SetCPU? I was looking around in /sys/devices/system/cpu/cpu0/cpufreq and it looks like there are kernel settings there, just want to make sure I don't bork anything in the process
Thanks in advance!
From my understanding is that if you get an overclock kernel it will basically run in the same fashion as your current kernel (as far as governing speed goes) except you'll have a higher max frequency.
Rrrracer said:
I've used SetCPU in the past and have determined that my max stable clock speed is 113600; I've also read that using SetCPU to control clock speed can create some problems.
How would one go about manually overclocking the phone without using SetCPU? I was looking around in /sys/devices/system/cpu/cpu0/cpufreq and it looks like there are kernel settings there, just want to make sure I don't bork anything in the process
Thanks in advance!
Click to expand...
Click to collapse
SetCPU is the GUI to do what you are talking about... Are you looking to go past 1.113? I can only get to 1.113, but if I run Hyrda's OCOV kernel I can get to 1.15.
I would say if you don't know what you are doing, I wouldn't mess with it. Nandroid is handy if you do.
I'm running invisiblek's #16 kernel but max clock speed is showing 998. Not trying to go over 1.13 but thought I read somewhere about being able to manually change it in the system files somewhere without using SetCPU.
IIRC the idea was to use SetCPU to determine your max stable clock speed, then change it manually in a system file somewhere and then not use SetCPU.
Sent from my ADR6300 using XDA App
Try uninstalling/reinstalling setCPU. I've had issues every once in a while when flashing a new ROM, then doing the app only restore from a TI backup cause issues.
Personally I can't say I've ever had any problems using SetCPU, but if there's a way to make it default to 1.13 without having another process running then I am all for it, thus my question. Just don't know where to change it
I can tell you i am 99.9% sure that you were right with the file location in your first post.
If you check chads thread SOMEWHERE in there i think its mentioned... Sorry to say but i have no idea where.
Here's a script that Ziggy wrote, you can edit it to your needs and flash it and fix permissions. Without editing it's set at 1.113GHz Interactive screen on and .384GHz Ondemand screen off if I remember correctly. It also has another tweak (memory management I believe?). But hey, it's a start.
Much appreciated guys, I will check out Chad's thread again and look at that script. I just don't see the need for SetCPU if I can just plug in my known stable values and roll it like that Thanks again!
Fixed lol sorry
Sent from my Droid Incredible running Myn's Warm Two Point Two RLS4.
LOL Blah! :-D
I have tried editing those files and it does not seem to change the clock speed. Anyone who has successfully done it manually could you please list all the specific files. Also im going to examine the script that was linked and see if i can tweak it a bit. Ill post any findings here.
I use the custom kernel #18 and setcpu, clocked to 1.115 easily with cm6.1. works awesome and smokin fast.
trunksta said:
I have tried editing those files and it does not seem to change the clock speed. Anyone who has successfully done it manually could you please list all the specific files. Also im going to examine the script that was linked and see if i can tweak it a bit. Ill post any findings here.
Click to expand...
Click to collapse
I edited Ziggy's script using EditPad lite (free, just Google it) since I'm on Windows so as not to change the format. Flashed from recovery then fixed permission in Root Explorer. Worked like a charm.
I am trying to figure out the best setting for the rom. I am only getting like 6 to 8 hours on my phone. When I've seen others get close to 24 with light to moderate use. Like I stated in the Title The rom is Dewizzed 2.0, and I know the some people have the same rom while using tuner pro. I would ask the dev in the devolpment section, but I don't have permissions to do so. Also Hello everyone in xda. I am a long time visitor since the G1 days. I made this account a long time ago, but recently got tired of touchwiz, and decided to give it the boot lol.
from what I have heard... for dewizzed... if you use Faux, just flash gideon's script you might want to bump the clock just a bit over 1ghz to make it smoother... i believe synergy kernel works really well with dewizzed from the getgo (haven't tried it i get good results from faux).... if using gideon's script.. don't use a cpu tuner, you want to manually adjust the values in the script.
Teo032 said:
from what I have heard... for dewizzed... if you use Faux, just flash gideon's script you might want to bump the clock just a bit over 1ghz to make it smoother... i believe synergy kernel works really well with dewizzed from the getgo (haven't tried it i get good results from faux).... if using gideon's script.. don't use a cpu tuner, you want to manually adjust the values in the script.
Click to expand...
Click to collapse
See this is where I seen people on here talk about scripts. While yes I hear great things about it. I'm pretty stupid in to what it it, does, or how to apply lol. As to say why My idiot self uses setcpu, but apparently setcpu gets stuck on conservative which was creating a noticeable lag. Which in turn lead me to tuner pro. Which in turn leads me to look for the appropriate settings I want. Just don't know how to achieve that. Things sure have changed since the G1. -sigh- Sorry if I'm more of a pain in the bottom. :\
Sent from my SGH-T989 using xda premium
scripts are basically tweaks to your phone. They're PreProgrammed tweaks that runs when your phone is booted.
Basically gideon's script controls your phone's clockspeed and voltages without the need of a 3rd party app. Therefore when running tuner pro it overrides the script... go to faux's kernel thread... it's in the 3rd post. You flash the script through cwm.. check out synergy's thread for its own configuration.. i haven't really checked it out yet (i should)... heard great things about that kernel
Here is a link to Gideon's scripts. Before you flash them uninstall system tuner, and wipe cache and dalvik. I suggest putting the revert script on your sd card also. In case your phone doesnt like being under volted. You can boot into recovery and flash the revert script.
http://forum.xda-developers.com/showpost.php?p=20946429&postcount=574
I am running Dewizzed 2.0 with Synergy kernel and using System Tuner Pro, 1.62max 384min, 384max and 192min with screen off and am not UV because Synergy is already UV. Getting well over 21 hours of use, light to moderate usage,
Sounds like you have a app that is using a lot of battery.
Teo032 said:
scripts are basically tweaks to your phone. They're PreProgrammed tweaks that runs when your phone is booted.
Basically gideon's script controls your phone's clockspeed and voltages without the need of a 3rd party app. Therefore when running tuner pro it overrides the script... go to faux's kernel thread... it's in the 3rd post. You flash the script through cwm.. check out synergy's thread for its own configuration.. i haven't really checked it out yet (i should)... heard great things about that kernel
Click to expand...
Click to collapse
Thanks for helping this Dummy out with the scripts bro. When I flash dewizzed 2.0 again. Ill flash gideon right over it.
Sent from my SGH-T989 using xda premium
GreggoryD502 said:
Here is a link to Gideon's scripts. Before you flash them uninstall system tuner, and wipe cache and dalvik. I suggest putting the revert script on your sd card also. In case your phone doesnt like being under volted. You can boot into recovery and flash the revert script.
http://forum.xda-developers.com/showpost.php?p=20946429&postcount=574
Click to expand...
Click to collapse
Thanks bro for the revert script. Will definitely check that out. Thanks for the replies, but when I was up last night. My phone said 15% before I left my room to talk to someone came back say 15-20 min. It was dead and I had just did a reboot at that time. :/
Sent from my SGH-T989 using xda premium
adclem said:
I am running Dewizzed 2.0 with Synergy kernel and using System Tuner Pro, 1.62max 384min, 384max and 192min with screen off and am not UV because Synergy is already UV. Getting well over 21 hours of use, light to moderate usage,
Sounds like you have a app that is using a lot of battery.
Click to expand...
Click to collapse
If so battery management hasn't been reporting it running. Could It be social hub? I only Facebook other hour. Sync is always once a day. As well as managing my settings.
Sent from my SGH-T989 using xda premium
Does anyone know how to edit Calkulin's processor speed scripts to run at 800MHz all the time instead of using the following preset profiles of 1.2GHz - 100-85%, 1.0GHz - 84-36%, 800MHz - 35-0%?
Simply put, I don't need the faster processor speeds and would rather have the benefits of the longer battery life that running at 800MHz provides. Problem is there are several scripts and I don't know what values to change to accomplish a constant state of 800MHz. If anyone can help me out, I would appreciate it.
FYI I sent Calkulin a message several weeks ago asking this question and presume he is very busy as I have not received a response. I thought I'd try asking the community.
Have you tried to view your screenstate scaling... the profiles are right there you can change where it say 120000 to 80000 similar to battery profile 2 as well as where it says MaxCPu speed.... you can change that to your desired speed.... just use root explorer or notepad+
Its really pretty simple... if you have rom toolbox you can change it there as well which as a whole program is pretty damn useful
Sent from my Xoom using Tapatalk
You can use a third party app, like Setcpu, to established the desired clock. If you want to do it manually without an app, you can open the script file with a text editor and change the values. Look in /system/etc/init.d for the script.
Easiest way is to use Setcpu so you can edited on the fly.
Easy way would be edit the line "MAX_CPU_SPEED_PROFILE_1="1200000"" to show "MAX_CPU_SPEED_PROFILE_1="800000""
I am new to the whole idea of undervolting. I have previously overclocked my phone's but never undervolted. Is there a how to guide anywhere in the forums that i failed to find, if not can someone explain the steps and settings that they found stable on their phones with out a significant performance decrease. I am already rooted and have an overclock/undervolt kernal installed. I apologize if i missed this topic in a search.
Sent from my SGH-I747M using xda app-developers app
First step would be to go to the kernel thread and see how/what app should be used for the under volt/governor/i/o scheduler settings and install that. Different kernel makers may want you to use different methods.
Second, under volt settings will be different for every phone as the hardware is different. The best way is to take down every frequency 25mV at a time and do not use set at boot or any option like that. The reason for this is that you need to make sure your phone will be stable. If you set at boot and go too far and your phone reboots, you may be stuck in a boot loop and have to reinstall your ROM. After trying your phone for awhile and it seems stable reduce the voltage again and try it out continuing these steps until your phone becomes unstable/reboots/lags then raise your voltages the next step up. Try again for a bit and if all is well then you can utilize the set at boot option.
Remember every phone is different, only lower your voltages till what is good for you, doesn't matter if someone else with same ROM kernel can under volt further, they just have different hardware.
sent from my iPhone killer using tapatalk 2
I would check this page out too..
http://forum.xda-developers.com/showthread.php?t=1369817
I just rooted my s3 and would like to overclock it a little. Just wondering what the best settings would be and if Set cpu is indeed the best app for this. Thanks in advance and I apologize in advance if I'm in the wrong section.
First you're going to need to flash a kernel that has overclocking capabilities. I highly recommend ktoonsez however if you are not familiar with extreme customization, then faux or lean kernel are better suggestions
Sent from my SGH-T999 using Tapatalk 2
I also suggest that whatever app you do use (I use SetCPU as well but they all generally work the same), DO NOT SET ON BOOT.
Since you aren't quite sure you know what you are doing yet, if you input a wrong value or your CPU can't handle "that high" an overclock or your CPU cannot handle "that low" of an undervolt and have it Set On Boot, you will be stuck and have to Nandroid back.
Once you know if certain values work for you, then use Set On Boot.