[Android Stick & Console AMLogic based Computers] floydy007:
I can't see anywhere to upload them as a zip.i can try pasting as code .copy ,save as 02Cleaner. All files. No file extension, then make a folder in the, etc folder called REFINED_LOGs.

Reboot then if it's right , you should see a log file in the folder. Other Init.d use the folder as well :)

#!/system/bin/sh

mount -o remount,rw /

mount -o remount,rw sysfs

mount -o remount,rw /sys

mount -o remount,rw /data

busybox mount -o remount,rw /

busybox mount -o remount,rw sysfs

busybox mount -o remount,rw /sys

busybox mount -o remount,rw /data

RF=/system/etc/REFINED_LOGs/Cleaner.log

busybox rm -f $RF

busybox touch $RF

busybox echo "# REFINED Cleaner log" | tee -a $RF

busybox echo "" | tee -a $RF

busybox echo "$( date +"%m-%d-%Y %H:%M:%S" ) REFINED Cleaner script is running..." | tee -a $RF

busybox sleep 10

# REFINED cleaner

busybox rm -f /cache/*.apk 2 > /dev/null

busybox rm -f /cache/*.tmp 2 > /dev/null

busybox rm -f /cache/*.log 2 > /dev/null

busybox rm -f /cache/*.txt 2 > /dev/null

busybox rm -f /cache/recovery/* 2 > /dev/null

busybox rm -f /data/*.log 2 > /dev/null

busybox rm -f /data/*.txt 2 > /dev/null

busybox rm -f /data/anr/*.log 2 > /dev/null

busybox rm -f /data/anr/*.txt 2 > /dev/null

busybox rm -f /data/backup/pending/*.tmp 2 > /dev/null

busybox rm -f /data/cache/*.* 2 > /dev/null

busybox rm -f /data/dalvik-cache/*.apk 2 > /dev/null

busybox rm -f /data/dalvik-cache/*.tmp 2 > /dev/null

busybox rm -f /data/dalvik-cache/*.log 2 > /dev/null

busybox rm -f /data/dalvik-cache/*.txt 2 > /dev/null

busybox rm -f /data/data/*.log 2 > /dev/null

busybox rm -f /data/data/*.txt 2 > /dev/null

busybox rm -f /data/log/*.log 2 > /dev/null

busybox rm -f /data/log/*.txt 2 > /dev/null

busybox rm -f /data/local/*.apk 2 > /dev/null

busybox rm -f /data/local/*.log 2 > /dev/null

busybox rm -f /data/local/*.txt 2 > /dev/null

busybox rm -f /data/local/tmp/*.log 2 > /dev/null

busybox rm -f /data/local/tmp/*.txt 2 > /dev/null

busybox rm -f /data/last_alog/*.log 2 > /dev/null

busybox rm -f /data/last_alog/*.txt 2 > /dev/null

busybox rm -f /data/last_kmsg/*.log 2 > /dev/null

busybox rm -f /data/last_kmsg/*.txt 2 > /dev/null

busybox rm -f /data/mlog/* 2 > /dev/null

busybox rm -f /data/tombstones/*.log 2 > /dev/null

busybox rm -f /data/tombstones/*.txt 2 > /dev/null

busybox rm -f /data/system/*.log 2 > /dev/null

busybox rm -f /data/system/*.txt 2 > /dev/null

busybox rm -f /data/system/usagestats/*.log 2 > /dev/null

busybox rm -f /data/system/usagestats/*.txt 2 > /dev/null

busybox rm -rf /sd*/LOST.DIR 2 > /dev/null

export sampling_rate=10000

export up_threshold=80

busybox echo "memory cleaner--------[OK]" | tee -a $RF

if [ -e /data/anr/*.* ]; then

busybox echo "-anr not cleaned" | tee -a $RF

else

busybox echo "-anr cleaned" | tee -a $RF

fi

if [ -e /data/local/tmp/*.* ]; then

busybox echo "-local/tmp not cleaned" | tee -a $RF else

busybox echo "-local/tmp cleaned" | tee -a $RF

fi

if [ -e /data/cache/*.* ]; then

busybox echo "-cache not cleaned" | tee -a $RF

else

busybox echo "-cache cleaned" | tee -a $RF

fi

if [ -e /data/last_log/*.* ]; then

busybox echo "-log not cleaned" | tee -a $RF

else

busybox echo "-log cleaned" | tee -a $RF

fi

if [ -e /data/tombstones/*.* ]; then

busybox echo "-tombstones not cleaned" | tee -a $RF

else

busybox echo "-tombstones cleaned" | tee -a $RF

fi

busybox echo "" | tee -a $RF

busybox echo "$( date +"%m-%d-%Y %H:%M:%S" ) All junk directories are now cleaned" | tee -a $RF

---------- Post added at 09:46 PM ---------- Previous post was at 09:36 PM ----------

make a folder in data called Fly-On Save and name the file, 03ram_manager No extension

#!/system/bin/sh
#================================================
#================================================
#=== Fly-On Mod™ RAM manager by Slaid480@XDA ====
#================================================
#================================================

#============ Copyright (C) 2013 Salah Abouabdallah(Slaid480)===========#

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

#=======================================================================#

FLY=/data/Fly-On/02ram_manager.log

busybox rm -f $FLY
busybox touch $FLY

echo "# Fly-On Mod™ LOGGING ENGINE" | tee -a $FLY
echo "" | tee -a $FLY
echo "$( date +"%m-%d-%Y %H:%M:%S" ) Tweaking minfree values & adj lowmem values..." | tee -a $FLY;
# ADJ Values

echo "0,1,3,5,7,15" > /sys/module/lowmemorykiller/parameters/adj;

# Minfree Values
echo "2560,4096,7680,14336,17284,21240" > /sys/module/lowmemorykiller/parameters/minfree;

echo "" | tee -a $FLY
echo "$( date +"%m-%d-%Y %H:%M:%S" ) RAM manager values successfully applied" | tee -a $FLY;

---------- Post added at 09:49 PM ---------- Previous post was at 09:46 PM ----------

name the file, with no extension

05dalviktocache

#!/system/bin/sh

CACHESIZE=$(df -k /cache | tail -n1 | tr -s ' ' | cut -d ' ' -f2)
if [ $CACHESIZE -gt 80000 ]
then
echo "Large cache detected, moving dalvik-cache to /cache"
if [ ! -d /cache/dalvik-cache ]
then
busybox rm -rf /cache/dalvik-cache /data/dalvik-cache
mkdir /cache/dalvik-cache /data/dalvik-cache
fi

busybox chown 1000:1000 /cache/dalvik-cache
busybox chmod 0771 /cache/dalvik-cache

# bind mount dalvik-cache so we can still boot without the sdcard
busybox mount -o bind /cache/dalvik-cache /data/dalvik-cache
busybox chown 1000:1000 /data/dalvik-cache
busybox chmod 0771 /data/dalvik-cache
else
echo "Small cache detected, dalvik-cache will remain on /data"
fi