Remove All Ads from XDA

[GUIDE][ROOT]Reduce LAGS At Realtime

n/a posts
Thanks Meter: 0
By RenzkiPH, Guest on 19th March 2014, 02:56 PM
Post Reply Email Thread
Hi Guys, Im Here To Share You My Guide About Reducing Lag At Realtime. But First Heres The Requirements

Note: Use This If You Dont Have Battery Issues. This Method Is Only For Gaming And Multitasking.



-An Android Device Running With 4.0.x And Above(Not Sure If Will Work On GB)
-Root Permission
-Busybox Stable Build(Higher Version Is Recommended)
-Terminal Emulator Or Script Manager App From Play Store
-A Custom Recovery Like ClockWorkMod Or Team Win Recovery Project
-Droidedit App From Play Store



1. Reboot To Recovery Mode
2. Backup Your Device Using Recovery
3. After Backing Up Your Phone, Open DroidEdit App From App Drawer
4. Write The Following Line On DroidEdit App:


mount -o rw,remount /system 2>/dev/null
mount -o rw,remount rootfs 2>/dev/null
mount -o rw,remount / 2>/dev/null

cat >> /system/bin/kill_lag <<EOF
# Lag Reducer

while true; do
     echo 3 >> /proc/sys/vm/drop_caches;
     sleep 2
     echo 2 >> /proc/sys/vm/drop_caches;

chmod 755  /system/bin/kill_lag 2>/dev/null
chown 0:0  /system/bin/kill_lag 2>/dev/null

nohup /system/bin/kill_lag &

exit 0
5. Save It At The Root Of Your Sdcard Then Named It As
6. Open Script Manager App
7. Find The at /sdcard
8. Tap Then Tap Su Icon, Last, Tap Run
9. Wait Then Done


This Method Will Work On Any Android Device Unless You Have Root


To All Users, Dont Copy This Guide With Out My Permission.

Thanks To

-Busybox Developers For BusyBox
-All Devs Here At XDA And Also You, Users
19th March 2014, 05:58 PM |#2  
polobunny's Avatar
Senior Member
Flag Montreal
Thanks Meter: 2,496
Setting drop_caches to 3 then back to 2 to free pagecache is a bit of a myth.
It will obviously free some RAM, but it will also spike up the CPU because there's a load as cache is being rebuilt. Ideally drop_cache doesn't need to played with, or at least not a lot (once a day?) otherwise you're just going to trade the false sense of "performance" for battery life.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes