Disable app
pm disable-user app.package.name
Re-enable it
pm enable app.package.name
Uninstall app
Sometimes uninstall command may not work without -k option on un-rooted devices
-k: Keep the data and cache directories around after package removal.
pm uninstall --user 0 app.package.name
Install uninstalled system app
pm install --user 0 $(pm dump app.package.name | awk '/path/{ print $2 }')
Another way to install uninstalled system app
pm install-existing app.package.name
adb shell pm disable-user com.android.bluetoothmidiservice
adb shell pm disable-user com.android.bookmarkprovider
adb shell pm disable-user com.android.browser
adb shell pm disable-user com.android.calendar
adb shell pm disable-user com.android.carrierdefaultapp
adb shell pm disable-user com.android.cellbroadcastservice
adb shell pm disable-user com.android.companiondevicemanager
adb shell pm disable-user com.android.dreams.basic
adb shell pm disable-user com.android.dreams.phototable
adb shell pm disable-user com.android.emergency
adb shell pm disable-user com.android.htmlviewer
adb shell pm disable-user com.android.ons
adb shell pm disable-user com.android.printspooler
adb shell pm disable-user com.android.providers.calendar
adb shell pm disable-user com.android.quicksearchbox
adb shell pm disable-user com.android.simappdialog
adb shell pm disable-user com.android.stk
adb shell pm disable-user com.android.traceur
adb shell pm disable-user com.android.wallpaper.livepicker
adb shell pm disable-user com.bsp.catchlog
adb shell pm disable-user com.google.android.configupdater
adb shell pm disable-user com.google.android.marvin.talkback
adb shell pm disable-user com.google.android.onetimeinitializer
adb shell pm disable-user com.google.android.printservice.recommendation
adb shell pm disable-user com.milink.service
adb shell pm disable-user com.miui.analytics
adb shell pm disable-user com.miui.aod
adb shell pm disable-user com.miui.audioeffect
adb shell pm disable-user com.miui.audiomonitor
adb shell pm disable-user com.miui.bugreport
adb shell pm disable-user com.miui.cit
adb shell pm disable-user com.miui.cloudbackup
adb shell pm disable-user com.miui.cloudservice
adb shell pm disable-user com.miui.cloudservice.sysbase
adb shell pm disable-user com.miui.hybrid
adb shell pm disable-user com.miui.hybrid.accessory
adb shell pm disable-user com.miui.maintenancemode
adb shell pm disable-user com.miui.micloudsync
adb shell pm disable-user com.miui.miservice
adb shell pm disable-user com.miui.mishare.connectivity
adb shell pm disable-user com.miui.misound
adb shell pm disable-user com.miui.nextpay
adb shell pm disable-user com.miui.personalassistant
adb shell pm disable-user com.miui.phrase
adb shell pm disable-user com.miui.smsextra
adb shell pm disable-user com.miui.systemAdSolution
adb shell pm disable-user com.miui.touchassistant
adb shell pm disable-user com.miui.translation.kingsoft
adb shell pm disable-user com.miui.translation.xmcloud
adb shell pm disable-user com.miui.translation.youdao
adb shell pm disable-user com.miui.translationservice
adb shell pm disable-user com.miui.voiceassist
adb shell pm disable-user com.miui.voicetrigger
adb shell pm disable-user com.miui.vsimcore
adb shell pm disable-user com.miui.wmsvc
adb shell pm disable-user com.mobiletools.systemhelper
adb shell pm disable-user com.qti.confuridialer
adb shell pm disable-user com.qti.qualcomm.datastatusnotification
adb shell pm disable-user com.qti.snapdragon.qdcm_ff
adb shell pm disable-user com.qti.xdivert
adb shell pm disable-user com.qualcomm.atfwd
adb shell pm disable-user com.qualcomm.embms
adb shell pm disable-user com.qualcomm.qcrilmsgtunnel
adb shell pm disable-user com.qualcomm.qti.autoregistration
adb shell pm disable-user com.qualcomm.qti.dynamicddsservice
adb shell pm disable-user com.qualcomm.qti.lpa
adb shell pm disable-user com.qualcomm.qti.remoteSimlockAuth
adb shell pm disable-user com.qualcomm.qti.uim
adb shell pm disable-user com.qualcomm.wfd.service
adb shell pm disable-user com.wapi.wapicertmanage
adb shell pm disable-user com.xiaomi.ab
adb shell pm disable-user com.xiaomi.aiasst.service
adb shell pm disable-user com.xiaomi.bluetooth
adb shell pm disable-user com.xiaomi.gamecenter.sdk.service
adb shell pm disable-user com.xiaomi.joyose
adb shell pm disable-user com.xiaomi.mi_connect_service
adb shell pm disable-user com.xiaomi.micloud.sdk
adb shell pm disable-user com.xiaomi.migameservice
adb shell pm disable-user com.xiaomi.miplay_client
adb shell pm disable-user com.xiaomi.mircs
adb shell pm disable-user com.xiaomi.mirror
adb shell pm disable-user com.xiaomi.payment
adb shell pm disable-user com.xiaomi.powerchecker
adb shell pm disable-user com.xiaomi.simactivate.service
adb shell pm disable-user com.xiaomi.xmsf
What about MIUI SDK? Package name : com.miui.core
MIUI GLOBAL 13.0.4 STABLE