當前位置:首頁 » 編程軟體 » v6腳本

v6腳本

發布時間: 2025-06-15 09:22:03

A. 如何添加V6優化腳本提高後台能力

一、在/system/etc/init.d文件夾
a.建立一個文本文件,去掉擴展名,
名為:99SuperCharger
用文本方式打開,復制入以下代碼:
#!/system/bin/sh
# V6 SuperCharger, OOM
Grouping&Priority Fixes created by
zeppelinrox.
execute=0;
currentadj=`cat/sys/mole/
lowmemorykiller/parameters/adj`;
currentminfree=`cat/sys/mole/
lowmemorykiller/parameters/
minfree`;
scadj=`cat /data/SuperChargerAdj`;
scminfree=`cat /data/
SuperChargerMinfree`;
if ["$currentadj"!="$scadj"]; then
execute=1;
elif [[ -n"$scminfree"]]&&
["$currentminfree"!="$scminfree"];
then
execute=1;
fi;
if ["$execute"-eq 1 ]; then
mount-o remount,rw /system 2>/
dev/null;
form in /dev/block/mtdblock*;
do
mount-o remount,rw $m /system
2>/dev/null;
done;
echo$scadj>/sys/mole/
lowmemorykiller/parameters/adj;
echo$scminfree>/sys/mole/
lowmemorykiller/parameters/
minfree;
sed-i '/.*_ADJ/d' /system/
build.prop;
sed-i '/.*_MEM/d' /system/
build.prop;
busyboxsysctl -w
vm.oom_kill_allocating_task=0;
busyboxsysctl -w
vm.panic_on_oom=0;
busyboxsysctl -w
kernel.panic_on_oops=1;
busyboxsysctl -w kernel.panic=0;
mount-o remount,ro /system 2>/
dev/null;
form in /dev/block/mtdblock*;
do
mount-o remount,ro $m /system
2>/dev/null;
done;
fi;
# End of V6 SuperCharged Entries
sh /data/99SuperCharger.sh;
保存退出。

B. SuperCharge V6是什麼

V6 Supercharge為Android的內存優化腳本。
主要作用是:提升手機程序運行的速度

參考資料:http://wingofikaros.tumblr.com/post/33709025688/android-android-v6-supercharge

熱點內容
瓦力編程課 發布:2025-07-31 09:51:13 瀏覽:393
方舟編譯器頭條 發布:2025-07-31 09:38:10 瀏覽:519
不知道寬頻賬號密碼怎麼辦 發布:2025-07-31 09:35:17 瀏覽:498
存儲與訂貨批量 發布:2025-07-31 09:29:02 瀏覽:458
php規則 發布:2025-07-31 09:28:54 瀏覽:433
linux強制刪除文件及文件夾 發布:2025-07-31 09:24:02 瀏覽:85
roblox國際服有哪些裝電腦的伺服器 發布:2025-07-31 09:22:28 瀏覽:823
linux自動化運維 發布:2025-07-31 09:19:10 瀏覽:675
python跨模塊 發布:2025-07-30 23:04:43 瀏覽:300
阿泰編程 發布:2025-07-30 21:36:05 瀏覽:569