I'm not responsible for any damage you do to your phone!! Read instructions carefully!
Thanks to:
for the guidance & good conversation.
for the original thread on XDA & putting in the work & tweak time to make the extra governors/schedulers work on our Razrs!
for the great writeup on governors/schedulers.
Before doing anything, if you'd like some background information on what governors & schedulers are, what they do, & which ones are available for our Razrs, .
To install additional some extra kernel modules, CPU governors, and I/O schedulers, read all directions and the rest of the thread carefully, make a backup, then flash both files from this post:
Once you have successfully installed everything, to enable your choice of governors and schedulers to boot up as the defaults, follow these steps:
1.) Open up Notepad/ or something similar
2.) Copy & paste the following into a new document:
insmod /system/lib/modules/symsearch.ko
insmod /system/lib/modules/cpufreq_pegasusq.ko
echo "pegasusq" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "sio" > /sys/block/mmcblk0/queue/scheduler
3.) Go to "Save As" and choose whatever name you want for the file.
4.) Under the "Save As Type" dropdown menu in Notepad, change from a text document (.TXT) and select "All Files". Using , under the "Save As Type" choose unspecified file type.
5.) Before you click save, make sure your file name ends with .sh (ie: GovSched.sh)
6.) Place the file you've just created on your INTERNAL SD CARD - It won't work if run from the SD-EXT!!
7.) If you don't already have a copy of downloaded (or some other app to run scripts) go download it from the .
8.) Using Script Manager: Menu -> Browser -> locate and select the script you created & open it as a Script/Executable
8.) Enable Superuser permission for the script and set it to run at boot. Click save.
9.) Reboot
10.) Profit!
To verify your settings worked correctly, use SetCPU, Rom Toolbox or the like.
I used the pegasusq governor & the SIO scheduler - this has given ME the best battery life. Depending on your own usage patterns, your mileage may vary. If you want to use something different, just edit the parts of the script I highlighted in red so that it reflects your choice of governor/scheduler.
Post in this thread if it worked for you, and if you found this useful, please hit the LIKE button!