[Android Software/Hacking General [Developers Only]] gu5t3r:
Yes, copied to PC and serached for "-lt 3"...is there...

+ echo zOOM... zOOM...
zOOM... zOOM...
+ echo ================================================
================================================
+ echo -=Engine Flush-O-Matic=- by -=zeppelinrox=-
-=Engine Flush-O-Matic=- by -=zeppelinrox=-
+ echo ================================================
================================================
+ echo

+ busybox sleep 1
+ id
+ id=uid=0(root) gid=0(root)
+ id=0(root) gid=0(root)
+ id=0
-=Engine Flush-O-Matic=- is already in memory!

Do you want to flush now anyway?

If you do, you can access Options too...

...but you can't enter another "Flush Cycle".

Enter Y for Yes, any key for No: Y^J
================================================
Alrighty Then!
================================================

+ :
+ sed -n 2p
+ awk { print $2 }
+ free
+ ram=341
+ awk { print $3 }
+ free
+ sed -n 2p
+ ramused=304
+ sed -n 2p
+ awk { print $4 }
+ free
+ ramkbytesfree=38000
+ cat /proc/meminfo
+ grep Cached
+ awk {print $2}
+ sed -n 1p
+ ramkbytescached=52868
+ ramfree=37
+ ramcached=51
+ ramreportedfree=88
+ echo Note that "Used RAM" INCLUDES Cached Apps!!
Note that "Used RAM" INCLUDES Cached Apps!!
+ echo

+ sleep 1
+ echo ================================================
================================================
+ echo RAM Stats BEFORE Engine Flush...
RAM Stats BEFORE Engine Flush...
+ echo ================================================
================================================
+ echo

+ sleep 1
+ echo Total: 341 MB Used: 304 MB True Free: 37 MB
Total: 341 MB Used: 304 MB True Free: 37 MB
+ echo

+ sleep 1
+ echo Reported Free by most tools: 88 MB Free RAM!
Reported Free by most tools: 88 MB Free RAM!
+ echo

+ sleep 1
+ echo ================================================
================================================
+ echo True Free 37 MB = "Free" 88 - Cached Apps 51
True Free 37 MB = "Free" 88 - Cached Apps 51
+ echo ================================================
================================================
+ echo

+ sleep 1
+ echo ...OR... True Free RAM 37
...OR... True Free RAM 37
+ echo Cached Apps + 51
Cached Apps + 51
+ echo ========
========
+ echo Reported "Free" RAM = 88 MB
Reported "Free" RAM = 88 MB
+ echo

+ sleep 1
+ busybox sync
+ echo ================================================
================================================
+ echo -n Engine Flush In Progress...
Engine Flush In Progress... + busybox sysctl -w vm.drop_caches=3
vm.drop_caches = 3
+ echo ================================================
================================================
+ echo

+ sleep 3
+ busybox sysctl -w vm.drop_caches=1
+ sed -n 2p
+ awk { print $3 }
+ free
+ ramused=294
+ awk { print $4 }
+ free
+ sed -n 2p
+ ramkbytesfree=48880
+ grep Cached
+ awk {print $2}
+ cat /proc/meminfo
+ sed -n 1p
+ ramkbytescached=44404
+ ramfree=47
+ ramcached=43
+ ramreportedfree=90
+ echo ================================================
================================================
+ echo ...RAM Stats AFTER Engine Flush
...RAM Stats AFTER Engine Flush
+ echo ================================================
================================================
+ echo

+ sleep 1
+ echo Total: 341 MB Used: 294 MB True Free: 47 MB
Total: 341 MB Used: 294 MB True Free: 47 MB
+ echo

+ sleep 1
+ echo Reported Free by most tools: 90 MB Free RAM!
Reported Free by most tools: 90 MB Free RAM!
+ echo

+ sleep 1
+ echo ================================================
================================================
+ echo True Free 47 MB = "Free" 90 - Cached Apps 43
True Free 47 MB = "Free" 90 - Cached Apps 43
+ echo ================================================
================================================
+ echo

+ sleep 1
+ echo ...OR... True Free RAM 47
...OR... True Free RAM 47
+ echo Cached Apps + 43
Cached Apps + 43
+ echo ========
========
+ echo Reported "Free" RAM = 90 MB
Reported "Free" RAM = 90 MB
+ echo

+ sleep 1
+ echo ================================================
================================================
+ echo ...Enjoy Your Quick Boost ;^]
...Enjoy Your Quick Boost ;^]
+ echo ================================================
================================================
+ echo

+ sleep 1
+ [ 4 -ne 0 ]
+ echo =====================================
=====================================
+ echo ) Engine Flush-O-Matic Completed! (
) Engine Flush-O-Matic Completed! (
+ echo =====================================
=====================================
+ echo

+ sleep 1
+ echo If desired, you can change options for...
If desired, you can change options for...
+ echo

+ sleep 1
+ echo ================================================
================================================
+ echo -=Engine Flush-O-Matic=-
-=Engine Flush-O-Matic=-
+ echo ================================================
================================================
+ echo

+ sleep 1
+ echo Current Status...
Current Status...
+ echo

+ sleep 1
+ [ 4 -ne 0 ]
+ echo Engine Flush-O-Matic is ON @ 4 hour intervals!
Engine Flush-O-Matic is ON @ 4 hour intervals!
+ echo ==============================================
==============================================
+ echo

+ sleep 1
+ echo You can turn it on or off...
You can turn it on or off...
+ echo

+ sleep 1
+ echo ...or just change how often it runs ;^]
...or just change how often it runs ;^]
+ echo

+ sleep 1
Note that when it's enabled...

================================================
-=Engine Flush-O-Matic=- on boot is AUTOMATIC!
================================================

Since it is loaded via *99SuperCharger... heh.

+ echo Change Options? You have 20 seconds to decide!
Change Options? You have 20 seconds to decide!
+ echo

+ sleep 1
+ echo -n Enter Y for Yes, any key for No:
Enter Y for Yes, any key for No: + [ Y ]
+ changeoptions=Y
+ echo Y
Y
+ echo

+ echo ================================================
================================================
+ changedopt=yes
+ mount -o remount,rw /system
+ busybox mount -o remount,rw /system
+ busybox mount
+ sed -n 1p
+ awk {print $1,$3}
+ grep system
+ busybox mount -o remount,rw /dev/block/mtdblock0 /system
+ echo -=Engine Flush-O-Matic=- Options
-=Engine Flush-O-Matic=- Options
+ :
+ echo ================================================
================================================
+ echo

+ sleep 1
+ echo -n Enter E to Enable, D to Disable:
Enter E to Enable, D to Disable: + read able
E
+ echo

+ echo ================================================
================================================
+ echo -=Engine Flush-O-Matic=- ENABLED!!
-=Engine Flush-O-Matic=- ENABLED!!
+ echo ================================================
================================================
+ echo

+ sleep 1
+ echo How often do you want it to flush?
How often do you want it to flush?
+ :
+ echo

+ sleep 1
+ echo -n Enter a value from 1 to 24 (hours):
Enter a value from 1 to 24 (hours): + read flushOmaticHours
4
+ echo

+ echo ================================================
================================================
+ echo Engine Flush-O-Matic Set To Run Every 4 Hours!
Engine Flush-O-Matic Set To Run Every 4 Hours!
+ break 2
+ sed -i s/^flushOmaticHours=.*/flushOmaticHours=4/ /data/V6_SuperCharger/!FastEngineFlush.sh
+ mount -o remount,ro /system
+ busybox mount -o remount,ro /system
+ grep system
+ awk {print $1,$3}
+ busybox mount
+ sed -n 1p
+ busybox mount -o remount,ro /dev/block/mtdblock0 /system
+ echo ================================================
================================================
+ echo

+ sleep 1
+ [ 4 -eq 0 ]
+ echo ================================================
================================================
-=Engine Flush-O-Matic=- is already in memory!
================================================

69|root@android:/sdcard #