实现MOTO E6的PKG文件自启

现在E6能安装的许多PKG文件都不能自启,玩家使用起来很不方便 。其实让它们实现自启也很容易 。许多玩家都知道在安装YAN0助手后在TF卡上得到一个startup.txt文件目录(自启文件) 。用手机连接电脑 。然后打开它,把下面的自启脚本复制进去即可 。
信安易:/mmc/mmca1/.system/QTDownLoad/MCleaner/MCleaner&
【实现MOTO E6的PKG文件自启】短相回执:/mmc/mmca1/.system/QTDownLoad/elauncher/other/smson.lin
按日期更换墙纸:#!/bin/bash
. /home/native/.profile
#按日期更换墙纸,by zhongang
export TZ=GMT-08:00
echo "zhongang" > /tmp/checkdate
cd /tmp
ls -l /tmp/checkdate > checkdate
j=0
for i in Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
do
j=$(($j 1))
grep $i checkdate
if [ $? -eq 0 ]
then
zgm $i`
zgye=`echo $j`
if [ $zgye -le 9 ]
then
zgyz="0"$zgye
else
zgyz=`echo $zgye`
fi
fi
done
zgr=`ls -l /tmp/checkdate`
for i in 1 2
do
zgr=${zgr% *}
done
zgr=${zgr#*$zgmonth}
zgr=${zgr#*$ }
zgrz=`echo $zgr`
j=0
for i in 1 2 3 4 5 6 7 8 9
do
j=$(($j 1))
if [ $zgr -eq $j ]
then
zgrz=`echo 0$j`
fi
done
if [ -f /mmc/mmca1/themes/31/$zgyz$zgrz.bmp ]
then
cp -f /mmc/mmca1/themes/31/$zgyz$zgrz.bmp /mmc/mmca1/themes/desk.bmp
else
if [ -f /mmc/mmca1/themes/31/$zgrz.bmp ]
then
cp -f /mmc/mmca1/themes/31/$zgrz.bmp /mmc/mmca1/themes/desk.bmp
fi
fi
zgr=`date -I`
zgy=`date -I`
zgn=`date -I`
zgy=${zgy%-*}
zgy=${zgy#*-}
for i in 1 2
do
zgr=${zgr#*-}
zgn=${zgn%-*}
done
if [ -f /mmc/mmca1/themes/31/$zgn$zgy$zgr.bmp ]
then
cp -f /mmc/mmca1/themes/31/$zgn$zgy$zgr.bmp /mmc/mmca1/themes/desk.bmp
else
if [ -f /mmc/mmca1/themes/31/$zgy$zgr.bmp ]
then
cp -f /mmc/mmca1/themes/31/$zgy$zgr.bmp /mmc/mmca1/themes/desk.bmp
else
if [ -f /mmc/mmca1/themes/31/$zgr.bmp ]
then
cp -f /mmc/mmca1/themes/31/$zgr.bmp /mmc/mmca1/themes/desk.bmp
fi
fi
fi
sleep 10
sleep 30
以上脚本复制好后 。在手机上点击startup.txt运行即可 。

    推荐阅读