Jump to content

[ALL] [MOD/Other] Disable/Enable *SWAP *zRam *Fstrim

Recommended Posts

in script 77fstrim error...


# Extends flash memory life and holds speed over time

busybox mount -o remount,rw -t auto /system;
busybox mount -o remount,rw -t auto /data;

if [ -e /data/Trim.log ]; then
rm /data/Trim.log

echo "* $(date +"%m-%d-%Y %r") *" >> $LOG
echo "*In /data*" >> $LOG
fstrim -v /data >> $LOG
echo "*In /cache*" >> $LOG
fstrim -v /cache >> $LOG
echo "*In /system*" >> $LOG
fstrim -v /system >> $LOG
echo "" >> $LOG
echo "Victod's Scripts" >> $LOG
echo "___________________________________**" >> $LOG
echo "" >> $LOG

need correct:


LOG=/data/trim.log like this LOG=/data/Trim.log

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

By using this site, you agree to our Terms of Use.