Victod

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

79 posts in this topic

Witt a stock kernel no

0

Share this post


Link to post
Share on other sites

Probably no

0

Share this post


Link to post
Share on other sites

in script 77fstrim error...

 

#!/system/bin/sh
# 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
fi


LOG=/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

0

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

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.