This is a step by step HOWTO Clean you Xiaomi CN ROM from all of the MIUI Bloatware.
As I explained already in my previous Xiaomi 13 Ultra HOWTOs I received 594 hours wait time in order my bootloader to be unlocked.
Because of that almost a month I'm forced to use the default MIUI CN ROM.
This is almost impossible task if you keep on your phone running all the MIUI Bloatware and crap which comes preinstalled with the default China ROM.
At the moment I'm using the latest version of MIUI available: MIUI 14.0.20
And YES, I'm not upgrading to HyperOS because my bootloader is locked.
If you make the mistake to upgrade you will have a lot of serious problems when decide to unlock your bootloader.
Anybody can clean it's own phone from all the MIUI Bloatware and crap without unlock and no root.
In order to do that you have to enable Developer Options, USB debug and Install via USB from the Settings menu of your phone.
Step by step instructions how to do it you can find in my HOWTO here: Replace MIUI Launcher with Nova Launcher & Gestures on Xiaomi CN ROM
After that you have to install adb and fastboot.
If you are windows user fallow this guide: How to Install ADB & Fastboot drivers on PC
If you are using Linux then install adb and fastboot available for your distro.
I have created Windows and Linux a scripts for full MIUI CN bloatware uninstall.
Also I'm providing a script which you can use if you want to restore all the programs to the its original state.
Full MIUI clean up
Using the scripts bellow I'm cleaning almost ALL of the MIUI CN bloatware.
Also the script is disabling some of the System apps.
Be aware that using the REinstall script all the uninstalled and the disabled apps will be restored.
At the beginning of each script as a comment I have mentioned few very important apps which have to be left intact.
If you unistall or disable some of them you will receive a soft bricked device in a BOOT LOOP ...
I'm sharing the list of the apps which I personally uninstalled and disabled and the system is working with no any problems.
Important Disclaimer:
Please be aware that this guide is a sharing of personal experience and a solution that has been tested and works for me. Keep in mind that I am in no way responsible if you decide to use the personal experience I have shared and something goes wrong on your end. You, and you alone, are responsible for everything you do with your phone.
Bellow are the scripts for MIUI CN bloatware uninstall / reinstall on Linux:
MIUI Bloatware Clean:
rc.xiaomi-13-ultra-bloatware-UNinstall.sh
MIUI Bloatware Restore:
rc.xiaomi-13-ultra-bloatware-REinstall.sh
Bellow are the scripts for MIUI CN bloatware uninstall / reinstall on Windows:
MIUI Bloatware Clean:
rc.xiaomi-13-ultra-bloatware-UNinstall.bat
MIUI Bloatware Restore:
rc.xiaomi-13-ultra-bloatware-REinstall.bat
Bellow you can find a full list of all the MIUI Bloatware and crap I'm cleaning from my Xiaomi 13 Ultra MIUI CN 14.0.20
#!/bin/bash
##DO NOT UNINSTALL:
#com.miui.securitycenter
#com.miui.securityadd
#com.xiaomi.finddevice##BOOT LOOP if uninstalled:
#com.google.android.ext.shared
#com.google.android.ext.services##NOT UNINSTALLED:
#com.android.stk
#com.android.mms
#com.android.mms.service
#com.android.wallpaper.livepicker
#com.android.wallpaperbackup
#com.android.wallpapercropper
#com.mi.android.globallauncher
#com.miui.screenrecorder
#com.miui.securityinputmethod
#com.miui.system
#com.miui.miwallpaper
#com.xiaomi.account
#com.xiaomi.bluetooth
#com.xiaomi.cameratools
#com.xiaomi.mirecycle
#com.xiaomi.misettings#ANDROID
adb shell pm uninstall -k --user 0 com.android.bips
adb shell pm uninstall -k --user 0 com.android.browser
adb shell pm uninstall -k --user 0 com.android.calendar
adb shell pm uninstall -k --user 0 com.android.cellbroadcastreceiver
adb shell pm uninstall -k --user 0 com.android.cellbroadcastreceiver.overlay.common
adb shell pm uninstall -k --user 0 com.android.dreams.basic
adb shell pm uninstall -k --user 0 com.android.emergency
adb shell pm uninstall -k --user 0 com.android.printspooler
adb shell pm uninstall -k --user 0 com.android.statementservice
adb shell pm uninstall -k --user 0 com.google.android.cellbroadcastreceiver.overlay.miui
adb shell pm uninstall -k --user 0 com.google.android.configupdater
adb shell pm uninstall -k --user 0 com.google.android.gms.location.history
adb shell pm uninstall -k --user 0 com.google.android.marvin.talkback
adb shell pm uninstall -k --user 0 com.google.android.onetimeinitializer
adb shell pm uninstall -k --user 0 com.google.android.overlay.modules.ext.services.cn
adb shell pm uninstall -k --user 0 com.google.android.printservice.recommendation#MIUI
adb shell pm uninstall -k --user 0 com.miui.aod
adb shell pm uninstall -k --user 0 com.miui.analytics
adb shell pm uninstall -k --user 0 com.miui.audioeffect
adb shell pm uninstall -k --user 0 com.miui.audiomonitor
adb shell pm uninstall -k --user 0 com.miui.backup
adb shell pm uninstall -k --user 0 com.miui.bugreport
adb shell pm uninstall -k --user 0 com.miui.carlink
adb shell pm uninstall -k --user 0 com.miui.cit
adb shell pm uninstall -k --user 0 com.miui.cloudbackup
adb shell pm uninstall -k --user 0 com.miui.cloudservice
adb shell pm uninstall -k --user 0 com.miui.contentcatcher
adb shell pm uninstall -k --user 0 com.miui.daemon
adb shell pm uninstall -k --user 0 com.miui.extraphoto
adb shell pm uninstall -k --user 0 com.miui.fm
adb shell pm uninstall -k --user 0 com.miui.freeform
adb shell pm uninstall -k --user 0 com.miui.greenguard
adb shell pm uninstall -k --user 0 com.miui.health
adb shell pm uninstall -k --user 0 com.miui.huanji
adb shell pm uninstall -k --user 0 com.miui.hybrid
adb shell pm uninstall -k --user 0 com.miui.maintenancemode
adb shell pm uninstall -k --user 0 com.miui.micloudsync
adb shell pm uninstall -k --user 0 com.miui.miservice
adb shell pm uninstall -k --user 0 com.miui.mishare.connectivity
adb shell pm uninstall -k --user 0 com.miui.misound
adb shell pm uninstall -k --user 0 com.miui.newmidrive
adb shell pm uninstall -k --user 0 com.miui.nextpay
adb shell pm uninstall -k --user 0 com.miui.personalassistant
adb shell pm uninstall -k --user 0 com.miui.phrase
adb shell pm uninstall -k --user 0 com.miui.player
adb shell pm uninstall -k --user 0 com.miui.qr
adb shell pm uninstall -k --user 0 com.miui.systemAdSolution
adb shell pm uninstall -k --user 0 com.miui.systemui.carriers.overlay
adb shell pm uninstall -k --user 0 com.miui.touchassistant
adb shell pm uninstall -k --user 0 com.miui.translation.kingsoft
adb shell pm uninstall -k --user 0 com.miui.translation.xmcloud
adb shell pm uninstall -k --user 0 com.miui.translationservice
adb shell pm uninstall -k --user 0 com.miui.voiceassist
adb shell pm uninstall -k --user 0 com.miui.voiceassistoverlay
adb shell pm uninstall -k --user 0 com.miui.voicetrigger
adb shell pm uninstall -k --user 0 com.miui.vsimcore
adb shell pm uninstall -k --user 0 com.miui.weather2
adb shell pm uninstall -k --user 0 com.miui.wmsvc
adb shell pm uninstall -k --user 0 com.miui.yellowpage#OTHER
adb shell pm uninstall -k --user 0 com.achievo.vipshop
adb shell pm uninstall -k --user 0 com.autonavi.minimap
adb shell pm uninstall -k --user 0 com.baidu.input_mi
adb shell pm uninstall -k --user 0 com.baidu.searchbox
adb shell pm uninstall -k --user 0 com.bsp.catchlog
adb shell pm uninstall -k --user 0 com.dragon.read
adb shell pm uninstall -k --user 0 com.duokan.phone.remotecontroller
adb shell pm uninstall -k --user 0 com.eg.android.AlipayGphone
adb shell pm uninstall -k --user 0 com.iflytek.inputmethod.miui
adb shell pm uninstall -k --user 0 com.milink.service
adb shell pm uninstall -k --user 0 com.mobiletools.systemhelper
adb shell pm uninstall -k --user 0 com.mipay.wallet
adb shell pm uninstall -k --user 0 com.mipay.android.manager
adb shell pm uninstall -k --user 0 com.Qunar
adb shell pm uninstall -k --user 0 com.sina.weibo
adb shell pm uninstall -k --user 0 com.smile.gifmaker
adb shell pm uninstall -k --user 0 com.sohu.inputmethod.sogou.xiaomi
adb shell pm uninstall -k --user 0 com.ss.android.article.news
adb shell pm uninstall -k --user 0 com.ss.android.ugc.aweme
adb shell pm uninstall -k --user 0 com.tencent.soter.soterserver
adb shell pm uninstall -k --user 0 com.UCMobile
adb shell pm uninstall -k --user 0 com.xiaomi.vipaccount
adb shell pm uninstall -k --user 0 com.ximalaya.ting.android
adb shell pm uninstall -k --user 0 com.xingin.xhs
adb shell pm uninstall -k --user 0 com.xunmeng.pinduoduo
adb shell pm uninstall -k --user 0 com.youku.phone
adb shell pm uninstall -k --user 0 com.zhihu.android
adb shell pm uninstall -k --user 0 cn.wps.moffice_eng.xiaomi.lite
adb shell pm uninstall -k --user 0 ctrip.android.view
adb shell pm uninstall -k --user 0 tv.danmaku.bili
adb shell pm uninstall -k --user 0 com.qxr.feed##qualcomm
adb shell pm uninstall -k --user 0 com.qti.qcc
adb shell pm uninstall -k --user 0 com.qualcomm.uimremoteserver#XIAOMI
adb shell pm uninstall -k --user 0 com.xiaomi.aiasst.service
adb shell pm uninstall -k --user 0 com.xiaomi.aiasst.vision
adb shell pm uninstall -k --user 0 com.xiaomi.gamecenter.sdk.service
adb shell pm uninstall -k --user 0 com.xiaomi.gnss.polaris
adb shell pm uninstall -k --user 0 com.xiaomi.joyose
adb shell pm uninstall -k --user 0 com.xiaomi.location.fused
adb shell pm uninstall -k --user 0 com.xiaomi.mibrain.speech
adb shell pm uninstall -k --user 0 com.xiaomi.mi_connect_service
adb shell pm uninstall -k --user 0 com.xiaomi.micloud.sdk
adb shell pm uninstall -k --user 0 com.xiaomi.migameservice
adb shell pm uninstall -k --user 0 com.xiaomi.mirror
adb shell pm uninstall -k --user 0 com.xiaomi.payment
adb shell pm uninstall -k --user 0 com.xiaomi.simactivate.service
adb shell pm uninstall -k --user 0 com.xiaomi.smarthome
adb shell pm uninstall -k --user 0 com.xiaomi.xmsf
adb shell pm uninstall -k --user 0 com.xiaomi.xmsfkeeper
adb shell pm uninstall -k --user 0 com.xiaomi.youpin#DISABLE some unused System apps
adb shell pm disable-user --user 0 com.android.soundrecorder
adb shell pm disable-user --user 0 com.android.email
adb shell pm disable-user --user 0 com.miui.calculator
adb shell pm disable-user --user 0 com.miui.compass
adb shell pm disable-user --user 0 com.miui.notes
adb shell pm disable-user --user 0 com.miui.video
adb shell pm disable-user --user 0 com.miui.virtualsim
adb shell pm disable-user --user 0 com.mfashiongallery.emag
adb shell pm disable-user --user 0 com.xiaomi.gamecenter
adb shell pm disable-user --user 0 com.xiaomi.scanner