urain39 / MzFoxRestoreTemplate

MzFox精简计划恢复模板
0 stars 0 forks source link

Removable App List #2

Open urain39 opened 4 years ago

urain39 commented 4 years ago
file_list='
DirectService
EBook
GameCenter
GameSDKService
IflytekSpeechService
Life
Mall
MeizuPay
MzCompaign
MzStore
NetContactService
Pedometer
Reader
RoamingPay
RemoteCooperation
Search
VideoClips
VoiceAssistant
Wallet
mCareNew
'

cd /system; for d in $file_list; do
    find . -type d  -name $d | xargs -r rm -r
done
urain39 commented 4 years ago

#
# Added by urain39@cyfan.cf
#

# VM Memory Limit
dalvik.vm.heapminfree=3m
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=144m
dalvik.vm.heapsize=384m
dalvik.vm.heaptargetutilization=0.85
dalvik.vm.heapmaxfree=8m

# OOM Killer Optimize
ro.HOME_APP_ADJ=-10
urain39 commented 4 years ago

2.76 -> 1.27 0.4601449275

urain39 commented 4 years ago

注意:因为Flyme8放弃了对旧版地图的支持,以及Flyme8对AI化的宣传,所以VoiceAssistant(语音助手和部分AI功能是相关的)将不会被删除。

urain39 commented 4 years ago

压缩比:0.3421

urain39 commented 4 years ago
- DirectService
+ DataMigration
+ DsGame
+ FamilyGuard
+ MzUpdate
- Pedometer
+ SogouInputMz
- VoiceAssistant
urain39 commented 4 years ago

删除文件后直接打包系统,额外的更改(比如桌面布局)交给patch命令完成。

这样的好处是可以简化流程,减少重复打包次数。

urain39 commented 4 years ago

别忘了su.disabled啊= =

urain39 commented 4 years ago

ZRAM设置为768M

urain39 commented 4 years ago

可以考虑精简掉“系统更新”

urain39 commented 4 years ago
DataMigration
DsGame
EBook
FamilyGuard
GameCenter
GameSDKService
IflytekSpeechService
Life
Mall
MeizuPay
MzCompaign
MzStore
MzUpdate
NetContactService
Reader
RoamingPay
RemoteCooperation
Search
SogouInputMz
VideoClips
Wallet
mCareNew