What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[Tutorial]Sysctl and you, A guide to better preformance and battery life.

I cant get root explorer to mount r/w to edit the text why is that i click on it and it does nothing.



ow to set the values that Sysctl will be changing, also done with root explorer. This will be done in the /etc folder. Navigate yourself to the /etc folder and see if you already have a sysctl.conf. If not, click the menu softkey and then click more>new file. Name this new file sysctl.conf . Mount the system RW now and open the file in the text editor again. Now type exaclty these lines into the file. (It's ok to delete what's there if anything and replace it with this.)


vm.swappiness = 0
vm.min_free_kbytes = 4096
vm.dirty_ratio = 90
vm.dirty_background_ratio = 70
vm.vfs_cache_pressure = 1
vm.panic_on_oom = 2
vm.oom_kill_allocating_task = 1
kernel.panic = 5
kernel.shmmax = 2268435456
kernel.shmall = 16777216
 
This is an awesome tutorial! Thanks so much. Got a quick question, if we use Cache cleaner and have it set to clear cache everyday is that the same thing as entering that terminal command or rebooting the phone?

Oh and I know this is for the D2 but I'm guessing it can work for the X too? Lol
Sent from my DROIDX using Tapatalk
 
@Jboxen, I just uninstalled the toolbox again, reinstalled it again, and re-entered all the #'s, ran the terminal command again, and all the numbers look right - will you doublecheck?

thanks so much for all your help! :)

snap20110208_200501.png
 
Last edited:
This is an awesome tutorial! Thanks so much. Got a quick question, if we use Cache cleaner and have it set to clear cache everyday is that the same thing as entering that terminal command or rebooting the phone?

Oh and I know this is for the D2 but I'm guessing it can work for the X too? Lol
Sent from my DROIDX using Tapatalk

I had been told that even turning your phone off every night will suffice in cleaning out the cache.

Also, in Liberty Settings, there is a "Clear Cache" tickbox. I wonder if you can just check that box and it will be done for you automatically? (and I wonder why we would need to check that box if I was told that just turning off the phone will clean out the cache???)
 
Exit root explorer, open the terminal, type in sysrw , go back to root explorer and try again.
 
still not Jboxen ;) but yours look exactly like my numbers.

@Jboxen, I just uninstalled the toolbox again, reinstalled it again, and re-entered all the #'s, ran the terminal command again, and all the numbers look right - will you doublecheck?

thanks so much for all your help! :)

snap20110208_200501.png
 
Thank you Jboxen. Now I just have to wait and see if I can notice a increase in battery life.
 
Back
Top