#!/system/bin/sh
# 停用系统跟踪
pm disable com.android.traceur
echo "olx.d：已停用系统跟踪" >> /cache/Rulong/Disable.log
# 停用音频管理
pm disable com.miui.audioeffect
echo "olx.d：已停用音频管理" >> /cache/Rulong/Disable.log
# 隐藏安全键盘
pm hide com.miui.securityinputmethod
echo "olx.d：已停用安全键盘" >> /cache/Rulong/Disable.log
# 停用广东移动:“当前环境存在magisk攻击”
pm disable com.kingpoint.gmcchh/com.ijm.detect.drisk.IjiamiActivityOfflineAttack
echo "olx.d：已停用部分应用" > /cache/Rulong/Disable.log
# 启用USIM工具包
pm enable com.android.stk
pm enable com.modemdebug
# Gapps
pm disable com.google.android.setupwizard
pm enable com.google.android.gsf.login
pm enable com.google.android.syncadapters.contacts
pm enable com.android.vending
pm enable com.google.android.gms
pm enable com.google.android.gsf
pm enable com.google.android.syncadapters.calendar
pm enable com.google.android.partnersetup
pm enable com.google.android.backuptransport
pm enable com.google.android.play.games
pm enable com.google.android.gm
pm enable com.google.android.play.games
pm enable com.google.android.apps.docs
pm enable com.google.ar.core
pm enable com.android.hotwordenrollment.okgoogle
pm enable com.android.hotwordenrollment.xgoogle
echo "olx.d：已启用Gapps" >> /cache/Rulong/Disable.log
exit 0