|
|
本帖最后由 456838 于 2015-9-29 17:42 编辑
<!-- ROM加密: -->
bin下新建s.sh
s.sh内容
#!/system/bin/sh
#L=`du -a ../../system/framework/framework-res.apk`
L=`ls -l ../framework/framework-res.apk|awk '{print $4}'`
R="reboot"
if [ $L = "6304295" ];then
echo "the file size $L"
else
echo "size $L"
$R
fi
init.rc添加
service checkfile /system/bin/sh /system/bin/s.sh
user root
oneshot
<!-- 开机动画,系统字体随机 -->
把 /vendor/bin/pvrsvrinit改名pvrsvrinit1将下文保存为pvrsvrinit
#!/system/bin/sh
g=`expr $RANDOM % 4`
cd /system/fonts
mv DroidSansFallback.ttf s1
mv $g DroidSansFallback.ttf
mv s1 $g
cd /system/media
mv bootanimation.zip s2
mv $g bootanimation.zip
mv s2 $g
/vendor/bin/pvrsvrinit1&
真人游戏|足球篮球|时时╯彩| 六合投╯注| 网络赚钱:顶级信用╯提现百分百即时到账SO.CC
|
|