How to Optimize Android Phone RAM for faster Performance

In this tutorial you will learn how to optimize your android mobile phones RAM for best results. After followed below tutorial you will get a lots of free memory space for multitasking, Fast launching of apps windows. Even you don’t have to use any Task killer.

  1. First of all create a file and add the below code in it. On Windows Set EOL to UNIX then save file with the name like “S97ramscript”, If you already have other file with “S97″ then use “S96 or “S98″ in your init.d without any extension.
  2. Then put this file to /system/etc/init.d with Root Explorer and set perm to 777 (rwxrwxrwx), if you have in your init.d other script for RAM management for example Darky’s rambooster, so delete it. Now reboot your phone.

File code : Copy the below code and paste it in you new file.

#!/system/bin/sh
# Copyright© 2011 Juwe11
if [ -e /sys/module/lowmemorykiller/parameters/minfree ]; then
	echo "2560,4096,6144,12288,14336,18432" >
/sys/module/lowmemorykiller/parameters/minfree
fi
if [ -e /proc/sys/vm/swappiness ]; then
	echo "50" > /proc/sys/vm/swappiness
fi
if [ -e /proc/sys/vm/vfs_cache_pressure ]; then
	echo "10" > /proc/sys/vm/vfs_cache_pressure
fi
if [ -e /proc/sys/vm/dirty_expire_centisecs ]; then
	echo "500" > /proc/sys/vm/dirty_expire_centisecs
fi
if [ -e /proc/sys/vm/dirty_writeback_centisecs ]; then
	echo "1000" > /proc/sys/vm/dirty_writeback_centisecs
fi
if [ -e /proc/sys/vm/dirty_ratio ]; then
	echo "90" > /proc/sys/vm/dirty_ratio
fi
if [ -e /proc/sys/vm/dirty_background_ratio ]; then
	echo "5" > /proc/sys/vm/dirty_background_ratio

Credit : Juwe

Speak Your Mind