补充内容:
1.更改为普通脚本版,省去机油的繁琐勾选
2.修复关机后黑屏不能正常重启bug
3.补充短信归属地
4.还有一些细节上的处理 请大家刷机体验
5.此ROM以棒棒糖为基调,按照以往经验,本地化了,破解原签名,开机简体中文等
6.加入汉化的高级菜单重启
7.3M电池汉化版 去广告版 感谢豆豆提供
8.汉化版滑动任务管理器 感谢天使
9.自定义 经过考虑 暂定不放入,防止误会
10.百度定位
11.
其他细微调整记不清了,请大家刷机体验吧
12.集成了RE管理器,一些APP不喜欢的可以卸载,莫喷,谢谢各位了!
13.对了内部内置软件 现在玩联网都要逗留几天 感谢大家支持
复制代码:
性能优化:
if file_getprop("/tmp/aroma-data/mods.prop","item.0.1") == "1" then
ui_print("3G数据速度提升");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB1.sh", "/tmp/DrKetanB1.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB1.sh");
run_program("/tmp/DrKetanB1.sh");
delet("/tmp/DrKetanB1.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
ui_print("电池节能");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB2.sh", "/tmp/DrKetanB2.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB2.sh");
run_program("/tmp/DrKetanB2.sh");
delet("/tmp/DrKetanB2.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB3.sh", "/tmp/DrKetanB3.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB3.sh");
run_program("/tmp/DrKetanB3.sh");
delet("/tmp/DrKetanB3.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
ui_print("深度睡眠");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB4.sh", "/tmp/DrKetanB4.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB4.sh");
run_program("/tmp/DrKetanB4.sh");
delet("/tmp/DrKetanB4.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB5.sh", "/tmp/DrKetanB5.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB5.sh");
run_program("/tmp/DrKetanB5.sh");
delet("/tmp/DrKetanB5.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
ui_print("提高Inetrnet速度");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB6.sh", "/tmp/DrKetanB6.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB6.sh");
run_program("/tmp/DrKetanB6.sh");
delet("/tmp/DrKetanB6.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
ui_print("增加触感响应");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB7.sh", "/tmp/DrKetanB7.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB7.sh");
run_program("/tmp/DrKetanB7.sh");
delet("/tmp/DrKetanB7.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
ui_print("快速启动");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB8.sh", "/tmp/DrKetanB8.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB8.sh");
run_program("/tmp/DrKetanB8.sh");
delet("/tmp/DrKetanB8.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
ui_print("更快滚动");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB9.sh", "/tmp/DrKetanB9.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB9.sh");
run_program("/tmp/DrKetanB9.sh");
delet("/tmp/DrKetanB9.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
ui_print("GPS 优化");
package_extract_dir("A4TW/tweaks/GPS", "/system");
ui_print(" 磁碟优化");
package_extract_dir("A4TW/tweaks/defrag", "/system");
ui_print("SQLite资料库 优化");
package_extract_dir("A4TW/tweaks/Sqlite", "/system");
ui_print("Zipalign 优化");
package_extract_dir("A4TW/tweaks/zipalign", "/system");
endif;
if file_getprop("/tmp/aroma-data/mods.prop","item.0.2") == "1" then
ui_print("电池节能");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB2.sh", "/tmp/DrKetanB2.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB2.sh");
run_program("/tmp/DrKetanB2.sh");
delet("/tmp/DrKetanB2.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
endif;
if file_getprop("/tmp/aroma-data/mods.prop","item.0.3") == "1" then
ui_print("无线网络连接断开速度");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB3.sh", "/tmp/DrKetanB3.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB3.sh");
run_program("/tmp/DrKetanB3.sh");
delet("/tmp/DrKetanB3.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
endif;
if file_getprop("/tmp/aroma-data/mods.prop","item.0.4") == "1" then
ui_print("深度睡眠");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB4.sh", "/tmp/DrKetanB4.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB4.sh");
run_program("/tmp/DrKetanB4.sh");
delet("/tmp/DrKetanB4.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
endif;
if file_getprop("/tmp/aroma-data/mods.prop","item.0.5") == "1" then
ui_print("图像质量优化");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB5.sh", "/tmp/DrKetanB5.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB5.sh");
run_program("/tmp/DrKetanB5.sh");
delet("/tmp/DrKetanB5.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
endif;
if file_getprop("/tmp/aroma-data/mods.prop","item.0.6") == "1" then
ui_print("提高Inetrnet速度");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB6.sh", "/tmp/DrKetanB6.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB6.sh");
run_program("/tmp/DrKetanB6.sh");
delet("/tmp/DrKetanB6.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
endif;
if file_getprop("/tmp/aroma-data/mods.prop","item.0.7") == "1" then
ui_print("增加触感响应");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB7.sh", "/tmp/DrKetanB7.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB7.sh");
run_program("/tmp/DrKetanB7.sh");
delet("/tmp/DrKetanB7.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
endif;
if file_getprop("/tmp/aroma-data/mods.prop","item.0.8") == "1" then
ui_print("快速启动");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB8.sh", "/tmp/DrKetanB8.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB8.sh");
run_program("/tmp/DrKetanB8.sh");
delet("/tmp/DrKetanB8.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
endif;
if file_getprop("/tmp/aroma-data/mods.prop","item.0.9") == "1" then
ui_print("更快滚动");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB9.sh", "/tmp/DrKetanB9.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB9.sh");
run_program("/tmp/DrKetanB9.sh");
delet("/tmp/DrKetanB9.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
endif;
if file_getprop("/tmp/aroma-data/mods.prop","item.0.10") == "1" then
ui_print("GPS 优化");
package_extract_dir("A4TW/tweaks/GPS", "/system");
endif;
if file_getprop("/tmp/aroma-data/mods.prop","item.0.11") == "1" then
ui_print(" 磁碟优化");
package_extract_dir("A4TW/tweaks/defrag", "/system");
endif;
if file_getprop("/tmp/aroma-data/mods.prop","item.0.12") == "1" then
ui_print("SQLite资料库 优化");
package_extract_dir("A4TW/tweaks/Sqlite", "/system");
endif;
if file_getprop("/tmp/aroma-data/mods.prop","item.0.13") == "1" then
ui_print("Zipalign 优化");
package_extract_dir("A4TW/tweaks/zipalign", "/system");
endif;
if file_getprop("/tmp/aroma-data/mods.prop","item.0.14") == "1" then
ui_print("3G数据速度提升");
package_extract_file("A4TW/tweaks/build.prop/DrKetanB1.sh", "/tmp/DrKetanB1.sh");
set_perm(0, 0, 0777, "/tmp/DrKetanB1.sh");
run_program("/tmp/DrKetanB1.sh");
delet("/tmp/DrKetanB1.sh");
set_perm(0, 0, 0644, "/system/build.prop");
ui_print("Tweak applied");
endif;