Skip to content

Commit

Permalink
ReduceMIUI 2.82
Browse files Browse the repository at this point in the history
整理并排版了包名精简列表
更改某些注释
install.sh新增dex2oat编译模式
  • Loading branch information
DavidPisces committed Nov 18, 2021
1 parent 1908fb4 commit aae6b4a
Show file tree
Hide file tree
Showing 5 changed files with 216 additions and 103 deletions.
7 changes: 5 additions & 2 deletions common/dex2oat.prop
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# ReduceMIUI dex2oat默认优化列表

# 在这里是关于需要编译dex2oat的应用,默认以Everything模式编译
# 编译的应用可以根据需要增加包名,可以自己添加
# 注意,如果你编译的软件太多,第一次编译可能会导致发热和耗电
# 如果更新系统,dex2oat可能会重新编译,导致发热很正常,不升级系统编译一次一般不会重复编译了
# 注意,如果你编译的软件太多,第一次编译可能会导致发热和耗电!
# 如果更新系统,dex2oat可能会重新编译,导致发热很正常,一般更新系统后只需要编译一次

com.miui.home
com.android.settings
com.miui.notification
Expand Down
3 changes: 1 addition & 2 deletions common/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,10 @@ echo "20" >/proc/sys/vm/stat_interval

sleep 15
# 禁用MSA和Analytics

pm disable com.miui.systemAdSolution >/dev/null
pm disable com.miui.analytics >/dev/null

# 以Everything模式优化系统应用
# 以Everything模式优化应用
dex2oat_list="$(cat ${MODDIR}/dex2oat.prop)"
for app_list in ${dex2oat_list}; do
cmd package compile -m everything ${app_list} >/dev/null
Expand Down
3 changes: 3 additions & 0 deletions common/兼容精简.prop
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# ReduceMIUI 兼容精简列表

# 这里面都是远古版本MIUI才有的目录
# 如果包名精简不能正常工作,可以使用兼容精简

/system/app/MSA-CN-NO_INSTALL_PACKAGE
/system/app/mid_test
/system/app/FidoCryptoService
Expand Down
Loading

0 comments on commit aae6b4a

Please sign in to comment.