You can save battery and have great performance by undervolting/overclocking cpu and underclocking gpu, the best way i found is a script in rom toolbox.
i run on maverick 4.5 and try this day on 4.0
and this link :
http://rootzwiki.com/topic/14511-opptimizer-projekt-milestone-overclock-for-omap4-devices/
for me my values are:
for cpu
mpu_opps[3] rate=1200000000 opp_id=3 vsel=61 u_volt=1345000
mpu_opps[2] rate=800000000 opp_id=2 vsel=55 u_volt=1200000
mpu_opps[1] rate=600000000 opp_id=1 vsel=43 u_volt=1100000
mpu_opps[0] rate=300000000 opp_id=0 vsel=26 u_volt=1005000
for gpu
gpu_opps[1] rate=307200000 opp_id=1 u_volt=1125000
I started all the values with romtoolbox and create a script at boot
open rom toolbox / open tools / open scripter / then create new script
script name:
overclock
commands:
#su
echo 3 1200000000 1345000 > /proc/overclock/mpu_opps
save, and click on your new script and select "at boot"
re create a new script for the other values, for me a total of 5 script, 4 for the cpu and one for the gpu
The governor is mot_hotplug or boostedassV2.
I tried a lot of voltage values, the more stable are here for me.
I think this run on many rom, not only on maverick
The dev can implement this in rom ?
Can you export your scripts and upload it here?
nasty007 said:
Can you export your scripts and upload it here?
Click to expand...
Click to collapse
I just create a line in rom toolbox, not a zip or flashable script
i know, but you have option to export or import script, you can save it to sd
Sent from my DROID3 using Tapatalk 2
nasty007 said:
i know, but you have option to export or import script, you can save it to sd
here my backup of script
this note zip just rename without zip extension
Click to expand...
Click to collapse
Thank you, i imported scripts, set it at boot, rebooted but its not working for me.
In set cpu my max freq is still 1000.
im on ICS Gummy rom, i will try on another ROM
nasty007 said:
Thank you, i imported scripts, set it at boot, rebooted but its not working for me.
In set cpu my max freq is still 1000.
Try in terminal emulator (on rom toolbox or other)
To verify your value or your script after boot
#su
cat /proc/overclock/mpu_opps
To validate one value (for example)
#su
echo 3 1100000000 1360000 > /proc/overclock/mpu_opps
Then press enter
Then re verify (cat /proc/overclock/mpu_opps)
Click to expand...
Click to collapse
Does it work on stock?
Sent from my XT860 using xda app-developers app
AragornPE said:
Does it work on stock?
Sent from my XT860 using xda app-developers app
Click to expand...
Click to collapse
Tested on maverick 4 and 4.5, on liberty rom, i think yes it work on stock rom
Related
**** Do Not Repost! Link back to this thread! ****
*** Update: This works on Thrill/Optimus 3D. There are seperate kernel modules for Froyo/GingerBread/CyanogenMod kernels***
Here ya go... I prefer this method rather than hard coding changes in the kernel. Assuming you have both kernel modules extracted to /sdcard
Switch to root
Code:
$ su
Copy files from sdcard to /system/lib/modules directory - You only do this once
Code:
# cp /sdcard/symsearch.ko /system/lib/modules/symsearch.ko
# cp /sdcard/opperator.ko /system/lib/modules/opperator.ko
Load modules, always do symsearch.ko first - You do this every time you reboot
Code:
# insmod /system/lib/modules/symsearch.ko
# insmod /system/lib/modules/opperator.ko
Set Frequency - You do this when you want to change frequency - in hz, that's 6 additions Zero's to make Mhz
Code:
# echo 1188000000 > /proc/opperator
This uses SYMSEARCH by Skrilax_CZ
https://github.com/SkrilaxCZ
Inspired by Milestone Overclock by Tiago Sousa, but totally rewritten for omap kernel 2.6.35-7 and above.
http://code.google.com/p/milestone-overclock/
This is a stripped down version. I'm working on a fully featured version, that will allow you to play with voltage as well. There are some hurdles to overcome before that is ready for prime time... In the mean time, lets see what stock voltage can do... 1188 is my sweet spot on stock voltage, what is yours? I get up to 1235 without reboots, or real noticeable lags but the linkpacks are all over the place, where it stays in the 80's at 1188. And remember, the number is in hz a.k.a. cycles per second, so to get Mhz, you must add 'Six Zeroes' to the end of your desired Mhz.
* Note2Devs: Feel free to put this in your ROM, but please do credit me for the Overclock in your release, and link back to this thread. You can also post a link to your ROM here as a way to make myself and other aware of it. Thanks...
* Echts shows us how he integrate's the module into his own ROM. TY, Echts...
http://forum.xda-developers.com/showpost.php?p=19542521&postcount=52
* Thanks to greenbats for helping figure out the O3D gingerbread kernel issue!
** And don't ask to put it in an app. I won't be happy about that. I'm serious! **
Here go some of my Recording Engineer work...
http://www.youtube.com/watch?v=Je8K_hCej3s
http://www.youtube.com/watch?v=yfBfcdSL1pc
http://www.youtube.com/watch?v=iIU8DO4rdKI
http://www.youtube.com/watch?v=msavF7LIdvY
Essentially, hardware wise, the Thrill has exactly the same specs as the Optimus 3D ? I mean, CPU wise.
It's the same hardware
omgomg said:
Essentially, hardware wise, the Thrill has exactly the same specs as the Optimus 3D ? I mean, CPU wise.
Click to expand...
Click to collapse
Yes, give this a go on the O3D, the module is actually compiled against the cyanogenmod cosmo kernel, which is really for the O3D. Should work.
for test \
How do I install this on the optimus 3D?
greenbat said:
How do I install this on the optimus 3D?
Click to expand...
Click to collapse
No real installing... It's just the modules... You can throw them in /system/lib/modules, and then use an init script to load them up, then set the frequency, but don't do that until you know what works *STABLE* for you.
If you have a favorite ROM, let the dev know about this, and maybe they'll integrate it.
I'm not sure if custom kernels like acurateam's might be too different to work properly at this point. But it won't hurt to try. Just don't start loading it at boot right away.
tekahuna said:
No real installing... It's just the modules... You can throw them in /system/lib/modules, and then use an init script to load them up, then set the frequency, but don't do that until you know what works *STABLE* for you.
If you have a favorite ROM, let the dev know about this, and maybe they'll integrate it.
I'm not sure if custom kernels like acurateam's might be too different to work properly at this point. But it won't hurt to try. Just don't start loading it at boot right away.
Click to expand...
Click to collapse
Thanx for your advice and Great find!!!
I have send your xda link to acura. Hopefully he can integrate it.
greenbat said:
Thanx for your advice and Great find!!!
I have send your xda link to acura. Hopefully he can integrate it.
Click to expand...
Click to collapse
I didn't find this. I made it! First OC'd OMAP4 period! Unless you count RAZR's... hah
Great invention
tekahuna said:
I didn't find this. I made it! First OC'd OMAP4 period! Unless you count RAZR's... hah
Click to expand...
Click to collapse
Great invention and congratulations!
Great job.... we use to use this type of script in motorola defy and moto bravo. It was easier with those because of the 2nd init recovery booting.
Sent from my LG-P925 using XDA App
tekahuna said:
**** Do Not Repost! Link back to this thread! ****
Here ya go... I prefer this method rather than hard coding changes in the kernel. Assuming you have both kernel modules extracted to /sdcard
Switch to root
Code:
$ su
Copy files from sdcard to /system/lib/modules directory - You only do this once
Code:
# cp /sdcard/symsearch.ko /system/lib/modules/symsearch.ko
# cp /sdcard/opperator.ko /system/lib/modules/opperator.ko
Load modules, always do symsearch.ko first - You do this every time you reboot
Code:
# insmod /system/lib/modules/symsearch.ko
# insmod /system/lib/modules/opperator.ko
Set Frequency - You do this when you want to change frequency - in hz, that's 6 additions Zero's to make Mhz
Code:
# echo 1188000000 > /proc/opperator
Is it possible for you to change this into a scriptmanager file?
Click to expand...
Click to collapse
Type this in scriptmanager shell.
greenbat said:
tekahuna said:
**** Do Not Repost! Link back to this thread! ****
Here ya go... I prefer this method rather than hard coding changes in the kernel. Assuming you have both kernel modules extracted to /sdcard
Switch to root
Code:
$ su
Copy files from sdcard to /system/lib/modules directory - You only do this once
Code:
# cp /sdcard/symsearch.ko /system/lib/modules/symsearch.ko
# cp /sdcard/opperator.ko /system/lib/modules/opperator.ko
Load modules, always do symsearch.ko first - You do this every time you reboot
Code:
# insmod /system/lib/modules/symsearch.ko
# insmod /system/lib/modules/opperator.ko
Set Frequency - You do this when you want to change frequency - in hz, that's 6 additions Zero's to make Mhz
Code:
# echo 1188000000 > /proc/opperator
Is it possible for you to change this into a scriptmanager file?
Click to expand...
Click to collapse
What I'd really like is for the ROM making dev's to come to a consensus as to how to integrate this... Mainly, the best place to throw the script that does this at boot on these phones. I know how we did it on droid X, but I haven't dug deep enough into this phone just yet to be sure... I'll update the OP as methods improve and I get more feedback.
Click to expand...
Click to collapse
Or use callmearia kernel and make script for system/etc/init folder... havent tried his kernel but it should support the script at boot up. Acura roms should work that way too.
The way most roms use overclock is the init script that starts at boot...
Sent from my LG-P925 using XDA App
rdannar said:
Great job.... we use to use this type of script in motorola defy and moto bravo. It was easier with those because of the 2nd init recovery booting.
Sent from my LG-P925 using XDA App
Click to expand...
Click to collapse
Those would have been based on Milestone Overclock... Which is where I gained most of my knowledge by contributing to getting the droidx/2 side of things working. MO's method of manipulating frequency and voltage no longer works on OMAP4, or rather kernel 2.6.35+... I had to come up with a new way of doing things, which didn't fit well under the existing framework of MO. So, I started from scratch... This is just the tip of the iceberg... Basic, basic, basic...
i get insmod: init_module /system/lib/modules/symsearch.ko failed (exec format error).
What am i doing wrong?
I also get the same error: insmod: init_module '/system/lib/modules/symsearch.ko' failed (exec format error)
Is it because I have gingerbread?
Must I use froyo?
borelis said:
i get insmod: init_module /system/lib/modules/symsearch.ko failed (exec format error).
What am i doing wrong?
Click to expand...
Click to collapse
Both O3D's, huh? What kernel are you running? give me output of
# dmesg
and
# busybox uname -a
And if it's acurateam, a link to their kernel source
tekahuna said:
What kernel are you running? give me output of
# dmesg
and
# busybox uname -a
And if it's acurateam, a link to their kernel source
Click to expand...
Click to collapse
"LINK Boot_2.0 More RAM, No Lags, More Speed.." from acura. Think he uses stock kernel. Im on GB by the way.
Outputs is a bit over my head. Tell me how and i´ll provide it for you.
I know that a lot of people are asking how to make voodoo settings stick. I found the following to work even on roms without init.d. I suppose this means Rom Toolbox could be used to run all your scripts
For those that do not know how to write scripts this is easy.
This works on roms without init.d as well.
Download ROM Toolbox from market. Open scripter. Create new script. Copy and paste the following:
#! /sys/bin/sh
echo 2309122400 >/sys/class/misc/voodoo_color/red_multiplier
echo 2309122400 >/sys/class/misc/voodoo_color/green_multiplier
echo 2701672960 >/sys/class/misc/voodoo_color/blue_multiplier
echo -44 >/sys/class/misc/voodoo_color/blue_v1_offset
echo -50 >/sys/class/misc/voodoo_color/red_v1_offset
echo -53 >/sys/class/misc/voodoo_color/green_v1_offset
These settings are from samoled. You can change the numbers to your preference. Save the script. You can then run the script and set to run at boot all from ROM Toolbox.
damnmisur said:
I know that a lot of people are asking how to make voodoo settings stick. I found the following to work even on roms without init.d. I suppose this means Rom Toolbox could be used to run all your scripts
For those that do not know how to write scripts this is easy.
This works on roms without init.d as well.
Download ROM Toolbox from market. Open scripter. Create new script. Copy and paste the following:
#! /sys/bin/sh
echo 2309122400 >/sys/class/misc/voodoo_color/red_multiplier
echo 2309122400 >/sys/class/misc/voodoo_color/green_multiplier
echo 2701672960 >/sys/class/misc/voodoo_color/blue_multiplier
echo -44 >/sys/class/misc/voodoo_color/blue_v1_offset
echo -50 >/sys/class/misc/voodoo_color/red_v1_offset
echo -53 >/sys/class/misc/voodoo_color/green_v1_offset
These settings are from samoled. You can change the numbers to your preference. Save the script. You can then run the script and set to run at boot all from ROM Toolbox.
Click to expand...
Click to collapse
Sweet! Do you know if there's a way to make the sound settings stick as well? (bass booster)
derekwilkinson said:
Sweet! Do you know if there's a way to make the sound settings stick as well? (bass booster)
Click to expand...
Click to collapse
I can post more script for that in a bit.
edit: damn if I can't find the files for the bass boost settings.
Sent from the bowels of hell
Those are my exact settings preference, thanks
Sent from my Nexus S
Doesn't the voodoo control app work?
Voodoo settings aren't sticking with ics based roms.
Sent from the bowels of hell
Does this work on stock cm7.101? (stock cm7.1 kernel)
This works on all roms I believe. The files are in the system folder which are common between roms. Correct me if i'm wrong.
Sent from the bowels of hell
Erm.... What the heck are Voodoo colors?
Voodoo control plus on the market if you don't know about it you better find out
sent from my Nexus NScollab
evoschecter said:
Erm.... What the heck are Voodoo colors?
Click to expand...
Click to collapse
Voodoo colors offer an adjustment to rooted phones. Its like the color adjustment on a t.v.
Sent from my Nexus S using xda premium
Damnmisur, can you create a script to automatically change the "Background Process Limit" to at most 3 processes?
Seems like this is another one of those things that don't stick upon restarting. Many people like to set their limits instead of letting apps stay in memory.
Thanks!
Enhanced said:
Damnmisur, can you create a script to automatically change the "Background Process Limit" to at most 3 processes?
Seems like this is another one of those things that don't stick upon restarting. Many people like to set their limits instead of letting apps stay in memory.
Thanks!
Click to expand...
Click to collapse
Didn't realize that didn't stock either lol thanks for the heads up
Sent from my Nexus S 4G using Tapatalk
Enhanced said:
Damnmisur, can you create a script to automatically change the "Background Process Limit" to at most 3 processes?
Seems like this is another one of those things that don't stick upon restarting. Many people like to set their limits instead of letting apps stay in memory.
Thanks!
Click to expand...
Click to collapse
Wish I could. I'm a noob and figured out the voodoo colors script by looking at system files. I don't really know how to make the script for what you are asking for.
Sent from the bowels of hell
damnmisur said:
Wish I could. I'm a noob and figured out the voodoo colors script by looking at system files. I don't really know how to make the script for what you are asking for.
Sent from the bowels of hell
Click to expand...
Click to collapse
Just need to figure out where those values are stored at just like the voodoo ones
Sent from my Nexus S 4G using Tapatalk
Someone figure it out!
sweet!! gonna try this out. now i can stop using franco.Kernel 11/25 lol
Hoping a dev stumbles on this thread for an answer to process limits. This will be most likely solved when Nexus S ICS code is released.
Sent from the bowels of hell
Omg you're a god! And the options you chose actually look really nice! My screen looks juicy and bright instead of neon!
damnmisur said:
I know that a lot of people are asking how to make voodoo settings stick. I found the following to work even on roms without init.d. I suppose this means Rom Toolbox could be used to run all your scripts
For those that do not know how to write scripts this is easy.
This works on roms without init.d as well.
Download ROM Toolbox from market. Open scripter. Create new script. Copy and paste the following:
#! /sys/bin/sh
echo 2309122400 >/sys/class/misc/voodoo_color/red_multiplier
echo 2309122400 >/sys/class/misc/voodoo_color/green_multiplier
echo 2701672960 >/sys/class/misc/voodoo_color/blue_multiplier
echo -44 >/sys/class/misc/voodoo_color/blue_v1_offset
echo -50 >/sys/class/misc/voodoo_color/red_v1_offset
echo -53 >/sys/class/misc/voodoo_color/green_v1_offset
These settings are from samoled. You can change the numbers to your preference. Save the script. You can then run the script and set to run at boot all from ROM Toolbox.
Click to expand...
Click to collapse
Awesome now I don't need to manually do it
Sent from my Nexus S using xda premium
This will only modify what needs to be tweak in the build.prop.
It will not modify anybody else's build.prop work.
This means it can be used after you install a custom ROM and
keep any changes your dev has made to their own build.prop.
I have screen shots of my 3 Mps DSL Line and my LTE.
If it gives any indication about how much more performance gain there is
WiFi gives me up to 2.9 Mbps normally.
LTE gives me close to 30 Mbps normally.
Revision 2:
little less aggressive on the phone itself
little bit better WiFi and LTE speeds
cleaned up TONS of code and named everything!
Also the 2nd version will save a backup so you
can restore your old build.prop if you do not like
the changes that were made from from the tweaks.
AND it should keep the original build.prop.
Mind you, the undoer will only work with version 2.
you can also make a swap file (paging file like windows)
command will be
# busybox mkswap /dev/block/zram0
# chmod 077 /dev/block/zram0
# reboot
how did you install an ULV kernel on your droid 4?
dewhashish said:
how did you install an ULV kernel on your droid 4?
Click to expand...
Click to collapse
through an inti.d script
Won't install
I can't get these to install, using safestrap 3.0. Any ideas what I am doing wrong?
zeroktal said:
I can't get these to install, using safestrap 3.0. Any ideas what I am doing wrong?
Click to expand...
Click to collapse
it has only been tested on SS211.
I believe there are differences in the way it reads
and mounts the partitions...
what does the error say?
Not to sound stupid, but will this work on Eclipse 1.3.4 for D4?
Sent from my DROID4 using xda app-developers app
panamakevin said:
Not to sound stupid, but will this work on Eclipse 1.3.4 for D4?
Sent from my DROID4 using xda app-developers app
Click to expand...
Click to collapse
the way It is set it up -should- in theory work with any ROM made for the D4.
Can we get this written for ss305?
jkieffer46 said:
Can we get this written for ss305?
Click to expand...
Click to collapse
yes give me a little while to install and reconfigure for ss3
jkieffer46 said:
Can we get this written for ss305?
Click to expand...
Click to collapse
I have tried and failed miserably! I am no means a "true" programmer BUT
I have a work around for the people with SS3. Although it does involve a
terminal emulator which is free and the Google Play Store link is BAM!
I will make a flashable fix in the morning with instructions on how to do it.
I will also have a screenshot of what to type as well. The script will still do
the same thing as the flashable BUT in the terminal (manual way)
Just ran the .sh
I just modified and ran the SH from the command line. Only had to remove one > per file. Thanks, my speed increase isn't amazing, but its solid. You are Awesome.
Is there a way to flash this in ss305 yet or what
No, I'm sorry, haven't time to work on it. right now the work around is through a shell and reboot
Sent from my DROID4 using xda premium
Ok ill wait. I dont know how to do anything other than flash zips
Does it have any tweaks for GSM/HSDPA? The 3G is really poor on Droid 4.
Is there a possible method to change default governor like "ondemand" to "conservative" before flashing the ROM ??? What I mean is can any user change any ROM value in any file to achieve the same so that ROMS which does not have CPU Control ( Like AOSP ) can boot up with conservative governor ???
biswatmak said:
Is there a possible method to change default governor like "ondemand" to "conservative" before flashing the ROM ??? What I mean is can any user change any ROM value in any file to achieve the same so that ROMS which does not have CPU Control ( Like AOSP ) can boot up with conservative governor ???
Click to expand...
Click to collapse
AFAIR,in kernel config u need to change this while compiling:
# CONFIG_CPU_FREQ_DEFAULT_
GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_
GOV_USERSPACE=y
Or use an init.d script,copy paste this and set permissions
echo "governor-name" > /sys/devices/system/cpu/cpu0/
cpufreq /scaling_governor
side_effect said:
AFAIK, in kernel config u need to change this while compiling:
# CONFIG_CPU_FREQ_DEFAULT_
GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_
GOV_USERSPACE=y
Or use an init.d script,copy paste this and set permissions
echo "governor-name" > /sys/devices/system/cpu/cpu0/
cpufreq /scaling_governor
Click to expand...
Click to collapse
FTFY
Sent from my GT-S5830 using xda premium
side_effect said:
AFAIR,in kernel config u need to change this while compiling:
# CONFIG_CPU_FREQ_DEFAULT_
GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_
GOV_USERSPACE=y
Or use an init.d script,copy paste this and set permissions
echo "governor-name" > /sys/devices/system/cpu/cpu0/
cpufreq /scaling_governor
Click to expand...
Click to collapse
Look I was looking a more user point of view. Suppose I don't wan't to compile, then can I change the ROM's governor traits ????
biswatmak said:
Look I was looking a more user point of view. Suppose I don't wan't to compile, then can I change the ROM's governor traits ????
Click to expand...
Click to collapse
Read carefully.I already gave a method.
Or use an init.d script,copy paste this
and set permissions
echo "governor-name" > /sys/devices/
system/cpu/cpu0/
cpufreq /scaling_governor
Click to expand...
Click to collapse
edit:-.- quote fail
I have a problem with Zencefil V17 on stock kernel. I can't overclock my CPU i tried with no frill's CPU and Antutu CPU master but maximum is only the stock 600 Mhz.
Pls help me.
DeathX8 said:
I have a problem with Zencefil V17 on stock kernel. I can't overclock my CPU i tried with no frill's CPU and Antutu CPU master but maximum is only the stock 600 Mhz.
Pls help me.
Click to expand...
Click to collapse
Does it have the overclock module and does it load properly? As far as I know if you have stock kernel the only way to overclock is via module.
Check system/lib/modules if you have x8oc.ko. I suppose that's the file you're going to use to overclock the phone. If you don't then download it and put it there.
If you have it, open Terminal Emulator and write:
su
dmesg | grep x8oc
You should receive the output that it loaded successfully. If you get no output, the module isn't running.
If you have it and it isn't running, then open Terminal Emulator and write:
su
insmod system/lib/modules/x8oc.ko
This should run the module and allow you to switch frequencies. Start testing the frequencies with whatever CPU app you use.
When you're satisfied with the performance, add the insmod command to hw_config in system/etc and echo the clock value that suits you. You can find more information about this in the x8oc thread. Don't worry about reboots, make a backup before trying, and make sure you don't edit the hw_config file until you're sure the clock is stable.
Thank you it helped. I can now overclock
Hi where pattern settings in the framework.i want change pattern
Sent from my E15i using Tapatalk 2
I think the question above is to be asked in the ROM's specific thread. There are several guys in that thread that are more than willing to help you.