Related
In case you don't already know, this script is written for CM6 roms, but has been ported to many others. The main purpose is to increase battery life and performance of the phone it's running on.
To install, simply download the file in the link below, copy it to your SD card, reboot into recovery and flash it.
As always, the latest version still can get around 24+ hours of battery life with normal usage under CM6 on a HTC Hero.
I only test this tweak on the Hero CDMA, but it's possible that it works on other phones. I really do expect that this will be the last version of V3 and will become "final" one we've verified that it works on all phones.
New features:
Allows disk scheduler changes for even faster disk access.
CFS Tweak (disabled by default) modified to play nicer with GPS.
Collin_ph Battery Tweak v3 RC2: http://www.primoweb.com/froyo/collin_ph_battery_tweak_v3_rc2.zip
Documentation: http://www.primoweb.com/froyo/battery_tweak_v3.html
Please check the doc page often as I've not yet updated the battery tweak from other versions yet.
Please note, if you're new, there is a lot of features that aren't covered here, such as the ability to configure nearly every tweak within battery tweak, so PLEASE check out the docs. If you have any questions please let me know. Thanks!
Thanks to:
Decad3nce for porting rc1 to the eris, and for working with me to develop this release.
Tomatosoup for helping work on the next release which will be called tweaktool.
There's not much there now, but keep your eyes peeled on tweaktool.com -- once that tool is available, it should work on many more phones and be available on the market.
NOTE: Several users have let me know that they are getting marked improved performance by changing the scheduler from "ondemand" to "interactive" through the custom settings. The "ondemand" scheduler is the default in RC2, but will most likely be replaced with the "interactive" scheduler in the final release. You may consider choosing a custom option at this point and changing the scheduler to "interactive". I'd appreciate any input you may have on this subject.
-----------------------------------------------------------------------------
By the way, I'm saving up to take my kids to see the last launch of the space shuttle Discovery on November 1st. If you like and use the tweak, please consider donating using the following link:
Or at least upvote my reddit thread
http://www.reddit.com/r/reddit.com/comments/dk53y/garage_sale_to_support_taking_my_kids_to_see_the/
WEWT!!
wewt! you the man
Thanks so much! I'll give this a shot on ZenEXP tonight and let you know how my battery does tomorrow.
So in this update do I still have to run batt-cfg to get everything set up? Also, can I check if it's working the same way? (pidoff bat.sh?)
You don't have to run batt-cfg, it should run as is unless you want to tweak the settings. and the command to check if it is working is pidof batt.sh
Love the battery life I get with you battery tweak. Just installed the rc2, thanks for the awesome work.
Having problems with the link. Anyone else?
Sent from my HERO200 using XDA App
Macanage said:
Having problems with the link. Anyone else?
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Nope, just d/l'd.
Thanks for this collin_ph
Says its down for me.
Sent from my HERO200 using XDA App
The Xda "App" on the phone does not show the attached zip that is at the bottom of the forum post.
Probably will have to go to Xda via the browser.
Sent from my HERO200 using XDA App
Jon.StatiK said:
Says its down for me.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Says down for me also
OOPS Another d/l link at the bottom of the post
Sorry about the site being down folks, had a problem with the server. It's back up and running, luckily I had attached the file to the thread. Sorry for the inconvenience.
collin_ph said:
Sorry about the site being down folks, had a problem with the server. It's back up and running, luckily I had attached the file to the thread. Sorry for the inconvenience.
Click to expand...
Click to collapse
bump. 10char
Works great with cm6 stable. Definitely my preference over setcpu or OC widget. Thanks alot.
Sent from my HERO200 using XDA App
So I was looking through the batt.sh code and saw that swapiness was set to 0. Does this imply that paging in/out drains battery?
Is there any typos in this release? lol jk.. but really
Sent from my HERO200 using XDA App
Is using this tweak with the #14 uncapped kernel ok? should i delete setcpu, before i flashed this tweak i was getting 4.8 linpack after install it went to 3.9 what am i doing wrong lol
dirkydirk23 said:
Is using this tweak with the #14 uncapped kernel ok? should i delete setcpu, before i flashed this tweak i was getting 4.8 linpack after install it went to 3.9 what am i doing wrong lol
Click to expand...
Click to collapse
Make sure you delete set CPU if you're using this tweak. They don't work well together.
After going over the script code, I noticed that the governor is set to "ondemand". Does that provide better battery life than "interactive"? Also, what is the purpose of the disk tweaks? When they were enabled, my battery life was horrible. Perhaps because I use Darktremor's A2SD?
nspot said:
After going over the script code, I noticed that the governor is set to "ondemand". Does that provide better battery life than "interactive"? Also, what is the purpose of the disk tweaks? When they were enabled, my battery life was horrible. Perhaps because I use Darktremor's A2SD?
Click to expand...
Click to collapse
IMO, it really depends on your use.
If you use very intensive applications, you'd want your processor to jump to max right away(ondemand). But lets say that you just unlock your screen to send a quick text, interactive would be a lot better.
Interactive, overall, will always have better battery life. The problem is that it sometimes 'sticks' to the min freq before ramping, making garbage collection crap out something fierce.
Decad3nce said:
IMO, it really depends on your use.
If you use very intensive applications, you'd want your processor to jump to max right away(ondemand). But lets say that you just unlock your screen to send a quick text, interactive would be a lot better.
Interactive, overall, will always have better battery life. The problem is that it sometimes 'sticks' to the min freq before ramping, making garbage collection crap out something fierce.
Click to expand...
Click to collapse
I see. I can't say I've noticed the slow ramp-up with "interactive" before, but the note about garbage collection makes sense. But going back to my earlier question, I noticed that the disk tweaks simply amounted to mounting certain directories to new locations. Still unclear on how these increase performance/battery life.
As an aside, the dalvik VM heap parameter is equivalent to the JVM heap, correct?
I am not the developer of this app. I am not a developer either, I am just an experienced user and just found an application that maight be usefull for our X10's.
Sysctl Config, It can be downloaded from the market.
With the appropiate settings, this app can improve performance and battery life. What it does is that it modifies certain kernel parameters related to virtual memory management.
This appication is only intended for advanced users and there is very little documentation on which are the best settings. I personally noticed a performance boost and now the phone is a lot more responsive, the scrolling is smother and it boots up a lot faster.
You should also notice a boost in 3d performance, specially runing high end games, such as asphalt 5 and avatar.
Probably the settings I used improved performance at battery life cost, but I will need to wait until tomorrow to tell since my battery is almost drained right now anyway and I just plugged it in. I also noticed an increase of my quadrant benchmark from around 1300 to over 1500.
After testing for about 3 months, these are the settings I found work best for me:
min free kbytes: 32568
dirty ratio: 5
dirty background ratio: 3
vfs cache pressure: 0
Oom allocating task: Enabled
For some, setting vfs cache pressure to 0 is risky. I can confirm that this setting was causing ramdom reboots on heavy usage, however, I enabled compache using spare parts app posted in this link and the issue went away:
http://forum.xda-developers.com/showthread.php?p=12310102
BTW I am using CM 6.1.1 ROM.
Well, I think such detailed settings is kind of overkill for devices like phones. I'm not sure you could gain much performance, but it worst a try
BTW http://www.linuxinsight.com/proc_sys_vm_hierarchy.html here you could have more explained features that this app provides.
creage said:
Well, I think such detailed settings is kind of overkill for devices like phones. I'm not sure you could gain much performance, but it worst a try
BTW http://www.linuxinsight.com/proc_sys_vm_hierarchy.html here you could have more explained features that this app provides.
Click to expand...
Click to collapse
I saw the app in a forum about the G1. I havr no doubt that my phone is more responsive now, but im not sure how this is affectijg my battery.
What settings would you recommend?
Sent from my X10i using XDA App
Hey, can anybody post this program download link here? For some reason, i can't download it from market
Farik335 said:
Hey, can anybody post this program download link here? For some reason, i can't download it from market
Click to expand...
Click to collapse
maybe you made a typo. type sysctl and it show be the first result.
burshturs said:
maybe you made a typo. type sysctl and it show be the first result.
Click to expand...
Click to collapse
Oh, thank you, i'm so stupid. Let's see what we have there...
This seems really promising. I used the settings posted by the OP and definitely noticed a performance improvement. I too have very little knowledge about the best settings to use for our X10s and would appreciate some insight by someone does I'm tentative to really modify any of the settings out of fear of doing irreversible damage...if that's even possible.
Hopefully as more of us become aware of this application we'll collectively be able to find the optimal settings! Btw, anyone know the default X10 settings for this app??
hm the settings from the op drops the linpack score from 34 to 30mflops.
maybe we should play with these settings.
A thread here ---> http://forum.xda-developers.com/showthread.php?t=523707
Some more here ---> http://nenolod.net/how-to-improve-user-performance-on-android-phones/
The X10 probably has a BFS kernel which means *some* sysctl commands would NOT execute on our phones.
rvictorg said:
This seems really promising. I used the settings posted by the OP and definitely noticed a performance improvement. I too have very little knowledge about the best settings to use for our X10s and would appreciate some insight by someone does I'm tentative to really modify any of the settings out of fear of doing irreversible damage...if that's even possible.
Hopefully as more of us become aware of this application we'll collectively be able to find the optimal settings! Btw, anyone know the default X10 settings for this app??
Click to expand...
Click to collapse
I think defaults were 2048, 95, 60, 50 and enabled, respectively.
Sent from my X10i using XDA App
setaseti said:
hm the settings from the op drops the linpack score from 34 to 30mflops.
maybe we should play with these settings.
Click to expand...
Click to collapse
Try linpack twice in a row. Make sure it loaded the ads before trying. Also try quadrant, make sure u run twice when benchmarking since this will allow the OS to kill some background tasks so the second time should be a little higher.
Im getting linpak 34.96 and quadrant 1565.
Sent from my X10i using XDA App
javagreen said:
The X10 probably has a BFS kernel which means *some* sysctl commands would NOT execute on our phones.
Click to expand...
Click to collapse
I suspect the settings are applied since the values remain the same after rebooting. However i am not sure if this proves anything.
Sent from my X10i using XDA App
burshturs said:
I suspect the settings are applied since the values remain the same after rebooting. However i am not sure if this proves anything.
Sent from my X10i using XDA App
Click to expand...
Click to collapse
I was actually talking about a few settings I found in one of the pages I linked earlier.
I've used the sysctl app myself and using the exact same values as you are. I feel the phone's 3d performance has taken a hit - let me keep it ON for a couple days and see how it progresses.
javagreen said:
I was actually talking about a few settings I found in one of the pages I linked earlier.
I've used the sysctl app myself and using the exact same values as you are. I feel the phone's 3d performance has taken a hit - let me keep it ON for a couple days and see how it progresses.
Click to expand...
Click to collapse
Have you notice a difference in battery life? I cant say if it has improved or worsen it.
Sent from my X10i using XDA App
javagreen said:
I was actually talking about a few settings I found in one of the pages I linked earlier.
I've used the sysctl app myself and using the exact same values as you are. I feel the phone's 3d performance has taken a hit - let me keep it ON for a couple days and see how it progresses.
Click to expand...
Click to collapse
I did see other configurations that could be changed (or not). You can find them in /proc/sys/vm, however I am not sure how to edit such files without a gui, I guess maybe a hex editir would open it, but I would need to try it first.
Sent from my X10i using XDA App
burshturs said:
Have you notice a difference in battery life? I cant say if it has improved or worsen it.
Sent from my X10i using XDA App
Click to expand...
Click to collapse
I just enabled it a couple hours ago - it's too early to form an opinion, which is why I said i'm planning to keep the settings for atleast 2 days and see how it goes.
burshturs said:
I did see other configurations that could be changed (or not). You can find them in /proc/sys/vm, however I am not sure how to edit such files without a gui, I guess maybe a hex editir would open it, but I would need to try it first.
Sent from my X10i using XDA App
Click to expand...
Click to collapse
Assuming you're rooted, you can use Ghost Commander from the market and use it's inbuilt editor to edit files + save them from within the GUI. Personally, i'd refrain from dabbling with more critical values without full knowledge of what I'm doing.
javagreen said:
I just enabled it a couple hours ago - it's too early to form an opinion, which is why I said i'm planning to keep the settings for atleast 2 days and see how it goes.
Assuming you're rooted, you can use Ghost Commander from the market and use it's inbuilt editor to edit files + save them from within the GUI. Personally, i'd refrain from dabbling with more critical values without full knowledge of what I'm doing.
Click to expand...
Click to collapse
javagreen said:
I just enabled it a couple hours ago - it's too early to form an opinion, which is why I said i'm planning to keep the settings for atleast 2 days and see how it goes.
I totally get you
I dont mind having to reflash, but i did see a couple of values i would like to change. Ill let you guys know what happens
Sent from my X10i using XDA App
Click to expand...
Click to collapse
^Cheers
Actually, I'm thinking of moving up to Z's 2.2.1 B3 as of now. Should I just go ahead? Just asking 'cause you are running it - is it good enough for everyday use by now?
burshturs said:
Have you notice a difference in battery life? I cant say if it has improved or worsen it.
Sent from my X10i using XDA App
Click to expand...
Click to collapse
Personally my battery life has decreased, by how much is hard to say exactly because I've been a little heavier on my phone today than usual. At this point in the day my battery life is expected to be about 10 more hours and right now it's only reading 4--using the juice plotter app.
The phone does seem to be more responsive though and if I can still get through a whole day of moderately heavy use I'm happy.
Again, hopefully other more knowledgeable people here can post optimal settings for our X10s
*UPDATE* Yeah the settings in the OP definitely kill my battery a lot faster. The phone is more responsive for sure, but at the expense of battery performance. I'm running 2.1 Eternity ROM, dual touch, etc etc if that concerns anybody. I think I'll switch back to the default settings and uninstall this app because my battery life is honestly close to half of what it normally would be, I'm surprised no one else has noticed an impact?? :S
I am of course referring to this script:
http://forum.xda-developers.com/showthread.php?t=991276
I tried to implement it about two months ago, and it did not work for me. Phone went into a loop at boot. I just gave up.
Anyone?
It would be really nice to find out if we can benefit from this as well.
benyben123 said:
I am of course referring to this script:
http://forum.xda-developers.com/showthread.php?t=991276
I tried to implement it about two months ago, and it did not work for me. Phone went into a loop at boot. I just gave up.
Anyone?
It would be really nice to find out if we can benefit from this as well.
Click to expand...
Click to collapse
Instead of starting a new Thread why not post in the one you linked to. I am sure the ones there that tested it would be able to help. Any time you post in an old thread it will bring (bump) it to the top and btw it is still an active thread.
GTWalling said:
Instead of starting a new Thread why not post in the one you linked to. I am sure the ones there that tested it would be able to help. Any time you post in an old thread it will bring (bump) it to the top and btw it is still an active thread.
Click to expand...
Click to collapse
Thanks.
I posted it here because I am asking about LG G2x users. In the script thread, you won't find questions about specific devices so much. It's more on how to install, what does it do, and so on.
I tried it didn't bootloop or anything but I didn't notice any difference in performance etc.
I just started using the V6 supercharger about a month and a half ago on my LG G2x and have loved it. before this i was running minfree to change presets but I like V6 because it has lots of options for those that don't fully understand what the presets do. If you use a low setting you probably wont notice much of a difference and I must say that I notice the biggest difference when I am overclocked and using V6 at the same time. If I'm not overclocked and using V6 I don't notice much. same thing when I am just overclocked without V6, not much of a diff. Both together seem to be great.
Also to those with boot loop problems - how long are you leaving your phone before you decide it has looped...a few times i have just had to walk away from my phone for 15-20 minutes just so I'm not tempted to pull the battery and every time i have left it alone i come back to everything running fast, smooth and stable.
Currently running HellFire Phoenix 1.9
placebo effect.
Sent from my LG-P999 using xda premium
Yeah, "I get a performance gain when I'm overclocked with the script, but get no performance gain without OC and the script" so that would be the placebo effect.
However, V6 SuperCharger does work very well at setting the right OOM groupings and also makes everything a lot smoother for me. I'm underclocked to 750mhz and get the performance of the stock 1ghz.
d12unk13astard said:
placebo effect.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
Eh, maybe, if you're on a lower end phone, I think the effect would be more noticeable as well, it would also be noticed if you ran alot of apps at once since multi tasking will take up more RAM than for someone like me who listens to music and browses the forum and maybe uses maps if I don't feel like paying attention to where I am at on the bus.
Sent from my LG-P999 using xda premium
Волк said:
Eh, maybe, if you're on a lower end phone, I think the effect would be more noticeable as well, it would also be noticed if you ran alot of apps at once since multi tasking will take up more RAM than for someone like me who listens to music and browses the forum and maybe uses maps if I don't feel like paying attention to where I am at on the bus.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
All true, but in hypocrats case it is complete placebo since he is using the lower setting.
He says he notices a performance gain with overclocking and the script, but none without overclocking and the script. Performance gain was all overclock.
But the higher settings work well, the script makes everything smooth, even for me at 750mhz, and will fix OOM groupings.
Maybe, but my battery life is better in standby and I have less issues with the stock internet browser. Below 100mb free and it became very buggy for me. I would love it if everyone shared what rom they are using and their settings. I am using close to the recommended settings.I am using New Clip (weapon based) and #5 unleaded.
I have an Inspire and I'm getting slow speeds. I'm on unlimited HSPA+ plan and have the correct sim.
What can I do to get better HSPA+ speeds? Currently I'm getting around 2 down.
Thanks!
Maybe that is as high as you can go in your area.
Agoattamer said:
Maybe that is as high as you can go in your area.
Click to expand...
Click to collapse
My iPhone 4S gets better speeds though. I thought there was a way to root it to make it faster such as fgd radio?
It's not the rado. It's the build.prop that enables the faster speeds. And I would have thought with the gingerbread addition it would have been enabled by default.
But sure you can root it and install a custom ROM made for better speed (all of them) or adjust the build.prop yourself. To root use Advanced Ace Hack Kit. It is stickied so it shouldn't be hard to find.
Agoattamer said:
It's not the rado. It's the build.prop that enables the faster speeds. And I would have thought with the gingerbread addition it would have been enabled by default.
But sure you can root it and install a custom ROM made for better speed (all of them) or adjust the build.prop yourself. To root use Advanced Ace Hack Kit. It is stickied so it shouldn't be hard to find.
Click to expand...
Click to collapse
Thanks how to I adjust the build.prop? I tried to search online but can't find any step by step info.
There is a recent thread in the development section.
mpossoff said:
Thanks how to I adjust the build.prop? I tried to search online but can't find any step by step info.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=982082
I'm curious about the download speeds as well. Whichever rom I've used the max download speed I've been able to achieve has been 2up, 1down. I've even edited the build prop and played around with it for a day, didn't see any significant changes.
Rebooted the phone twice after making the changes, etc..... question is, did i need to leave the changes for a day or two or even more to see if it actually helped?
On the other hand I have a couple of friends that work installing the towers (or whatever you call those things that gives us data) - in a nutshell, they say that the download speeds is hardware related and not software (they know nothing of rooting phones).... that kinda confused me more than my usually state of mind.
Sent from a dream.
Its true to an extent. For example our phones is capable of 14.4 mbps. And say the tower is a 48mbps. Our phones is limited to what its hardware capable but you can do software tweaks to optimize it to reach its Max. This is where builprop edits and apn settings can make a difference
Sent from my Inspire 4G using XDA
Would editing the build.prop values perhaps stop the bug? or possibly add reception?
I have been looking around and in the amaze forum there is a thread that claims that editing some of these values can boost speed so that got me thinking...what do you guys think is this far fetched?
Plz post the link i will try
AndroidDude21 said:
Would editing the build.prop values perhaps stop the bug? or possibly add reception?
I have been looking around and in the amaze forum there is a thread that claims that editing some of these values can boost speed so that got me thinking...what do you guys think is this far fetched?
Click to expand...
Click to collapse
the build.prop setting depends on the ROM your using...
didnt work for me it involved changing the value of the fast dormancy rule.
others say it works, Maybe my phone is faulty ?
As azzledazzle wrote, I'm one of those the fast dormancy cancellation in the build.prop did the trick and made my phone available much more minutes than before.
Fast dormancy works differently on different providers, or not at all on some. Trial and hopefully not too much error