# 查看已安装列表:adb shell pm list packages
# 卸载:adb shell pm uninstall --user 0 <package-name>
# 恢复:adb shell cmd package install-existing <package-name>
# 冻结:adb shell pm suspend <package-name>
# 解冻:adb shell pm unsuspend <package-name>
# 禁用:adb shell pm disable-user <package-name>

## 强烈建议卸载

# 内购功能去死
adb shell pm uninstall --user 0 com.heytap.cloud # 云服务
adb shell pm suspend com.oplus.pay # 安全支付(无法卸载/禁用,只能冻结)(用于第一方内购)

## 广告相关
adb shell pm uninstall --user 0 com.heytap.mcs # 系统消息 (广告推送组件)
adb shell pm uninstall --user 0 com.oplus.appdetail # 应用安装器(这个不影响安装,卸载后不会每次安装扫几分钟,也不会乱拦截,强烈建议卸载)
adb shell pm uninstall --user 0 com.oplus.dmp # 融合搜索服务
adb shell pm suspend com.heytap.browser # 浏览器(无法卸载/禁用,只能冻结)(冻结前强烈建议关掉桌面依赖浏览器的一众功能,如底部搜索栏)
adb shell pm suspend com.heytap.market # 应用商店(无法卸载/禁用,只能冻结)(冻结后影响部分应用管理相关功能,如批量卸载,但可以解决部分广告)
adb shell pm suspend com.heytap.pictorial # 乐划锁屏(无法卸载/禁用,只能冻结)(卸载后影响锁屏画报功能……或者说锁屏广告)
adb shell pm suspend com.heytap.quicksearchbox # 全局搜索(无法卸载/禁用,只能冻结)(谁整天搜明星花边新闻啊,绿厂是否对内容有些误解)
adb shell pm suspend com.opos.ads # Commercial Service(无法卸载/禁用,只能冻结)(增强服务选项->商业服务,注意提前关闭)(实际上就是广告推送服务)
adb shell pm suspend com.nearme.instant.platform # 快应用平台(无法卸载/禁用,只能冻结)(冻结后影响部分负一屏卡片功能,但可以解决部分广告)
# com.android.packageinstaller 是实际的安装器,卸下面的后安装会调用它,安装完成后可能底部会有广告关不掉,冻结应用商店并清除数据可解

## 可选,个人建议卸载

adb shell pm uninstall --user 0 com.coloros.scenemode # 简易模式(老年机模式) 
adb shell pm uninstall --user 0 com.oplus.healthservice # 健康数据平台(您好,我用小米手环)
adb shell pm uninstall --user 0 com.oplus.statistics.rom # 用户体验计划

# 预装第一方软件,但不好用,先删了再说
adb shell pm uninstall --user 0 com.android.email # 邮件(这个卸载不掉,建议手动卸载)
adb shell pm uninstall --user 0 com.coloros.backuprestore # 手机搬家(现用现装就行)
adb shell pm uninstall --user 0 com.coloros.shortcuts # 小布指令
adb shell pm uninstall --user 0 com.heytap.book # 书城(这个卸载不掉,建议手动卸载)
adb shell pm uninstall --user 0 com.heytap.member # 我的realme
adb shell pm uninstall --user 0 com.heytap.music # 音乐
adb shell pm uninstall --user 0 com.heytap.smarthome # 智能家居
adb shell pm uninstall --user 0 com.heytap.themestore # 主题商店(这个卸载不掉,建议手动卸载)(毫无审美还好意思收费,删了删了)
adb shell pm uninstall --user 0 com.heytap.yoli # 视频
adb shell pm uninstall --user 0 com.nearme.gamecenter # 游戏中心(这个卸载不掉,建议手动卸载)
adb shell pm uninstall --user 0 com.oneplus.brickmode # 禅定空间
adb shell pm uninstall --user 0 com.oplus.play # 小游戏
adb shell pm uninstall --user 0 com.realme.linkcn # realmi Link
adb shell pm uninstall --user 0 com.realme.storecn # realme商城
adb shell pm uninstall --user 0 com.realmecomm.app # realme社区
adb shell pm uninstall --user 0 com.redteamobile.roaming # 逍遥游/国际上网(竟然是红茶移动的包名,离谱)

# 预装第三方软件,都是远古版本,建议删干净重下
adb shell pm uninstall --user 0 com.achievo.vipshop # 唯品会
adb shell pm uninstall --user 0 com.smile.gifmaker # 快手
adb shell pm uninstall --user 0 com.autonavi.minimap # 高德地图
adb shell pm uninstall --user 0 com.baidu.searchbox # 百度
adb shell pm uninstall --user 0 com.dragon.read # 番茄免费小说
adb shell pm uninstall --user 0 com.eg.android.AlipayGphone # 支付宝
adb shell pm uninstall --user 0 com.jingdong.app.mall # 京东
adb shell pm uninstall --user 0 com.sina.weibo # 微博
adb shell pm uninstall --user 0 com.ss.android.article.news # 今日头条
adb shell pm uninstall --user 0 com.ss.android.ugc.aweme # 抖音
adb shell pm uninstall --user 0 com.wuba # 五八同城
adb shell pm uninstall --user 0 com.ximalaya.ting.android # 喜马拉雅
adb shell pm uninstall --user 0 com.xingin.xhs # 小红书
adb shell pm uninstall --user 0 com.zhihu.android # 知乎
adb shell pm uninstall --user 0 tv.danmaku.bili # 哔哩哔哩
adb shell pm uninstall --user 0 com.youku.phone # 优酷视频

# 密码填充相关,ColorOS 15 以下的不建议动
adb shell pm disable-user com.coloros.codebook # 密码本(个人信不过云服务提供商,且有 Bitwarden 了)
adb shell pm disable-user com.fido.fido2client # 通行密钥(OPPO 瞎改的 FIDO2,会和谷歌还有 Bitwarden 冲突)
adb shell pm disable-user com.oplus.stdsp # 设备安全服务(增强服务选项,注意提前关闭)(影响系统内置密码本的同步功能)

adb shell pm disable-user com.coloros.phonemanager # 手机管家
adb shell pm disable-user com.coloros.securepay # 支付保护(除了给我 Aurora Store 报毒就没起过其他作用)
adb shell pm disable-user com.sohu.inputmethod.sogouoem # 搜狗输入法定制版(卸载前记得至少安装一个其他输入法)
adb shell pm disable-user comoplus.securitykeyboard # 安全键盘(我觉得 Fcitx5 比这东西安全)

# 以下三个软件互相依赖,建议一同卸载
adb shell pm uninstall --user 0 com.coloros.childrenspace # 儿童空间
adb shell pm uninstall --user 0 com.coloros.familyguard # 家庭守护
adb shell pm uninstall --user 0 com.coloros.remoteguardservice # 远程守护服务(影响远程协助功能)

# 速览相关
adb shell pm uninstall --user 0 com.coloros.assistantscreen # 速览(就是负一屏)
adb shell pm uninstall --user 0 com.oplus.smartengine # SmartEngine(速览卡片相关)
adb shell pm uninstall --user 0 com.oplus.ocs # OpenCapabilityService(速览卡片相关)
adb shell pm uninstall --user 0 com.coloros.sceneservice # 智慧数据增强服务(卸载后影响小布指令、部分负一屏功能)


## 可选,个人不建议卸载

#adb shell pm uninstall --user 0 com.coloros.filemanager # 文件管理(卸载后不影响安卓原生文件管理,那个权限更高,但在桌面没有入口)
#adb shell pm uninstall --user 0 com.oplus.consumerIRApp # 红外遥控
#adb shell pm uninstall --user 0 com.oplus.games # 游戏空间
#adb shell pm uninstall --user 0 com.oplus.game.empowerment.folder # 游戏空间文件夹
#adb shell pm uninstall --user 0 com.oplus.matter # Matter 控制中心(用于设备互联)
#adb shell pm uninstall --user 0 com.oplus.melody # 无线耳机
#adb shell pm uninstall --user 0 com.unionpay.tsmservice # 银联可信服务组件

# 天气相关,互相依赖,卸载后影响内置桌面小组件
#adb shell pm uninstall --user 0 com.coloros.weather2 # 天气
#adb shell pm uninstall --user 0 com.coloros.weather.service # 天气服务
#adb shell pm uninstall --user 0 com.android.providers.calendar # 日历存储

# 系统更新相关
#adb shell pm disable-user com.oplus.romupdate
#adb shell pm disable-user com.oplus.sau
#adb shell pm disable-user com.oplus.ota
#adb shell pm suspend com.oplus.sauhelper # 升级提醒(无法卸载/禁用,只能冻结)
#adb shell pm suspend com.coloros.bootreg # 开机注册(无法卸载/禁用,只能冻结)(似乎影响系统更新相关功能,暂不确定具体情况)

以上脚本代码使用 Unlicense Yourself: Set Your Code Free 进行许可,使用前务必仔细检查,原作者对运行脚本导致的一切后果概不负责。