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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

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