miui-packages-slimming

2025-05-13 267

There are many advertisements in MIUI system. today I use adb to remove some apps which are non-used.

  1. install adb

    download from here
    setup $PATH variable in your terminal.
    exec adb version to check if it’s ok.

  2. connect phone to adb

    authorize your PC to connect your phone

  3. Remove packages

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    adb shell pm uninstall --user 0 com.miui.analytics
    adb shell pm uninstall --user 0 com.miui.systemAdSolution
    adb shell pm uninstall --user 0 com.miui.hybrid
    adb shell pm uninstall --user 0 com.miui.hybrid.accessory
    adb shell pm uninstall --user 0 com.miui.personalassistant
    adb shell pm uninstall --user 0 com.miui.newhome
    adb shell pm uninstall --user 0 com.android.quicksearchbox
    adb shell pm uninstall --user 0 com.milink.service
    adb shell pm uninstall --user 0 com.xiaomi.ab
    adb shell pm uninstall --user 0 com.miui.contentextension
    adb shell pm uninstall --user 0 com.miui.player
    adb shell pm uninstall --user 0 com.miui.video
    adb shell pm uninstall --user 0 com.miui.bugreport
    adb shell pm uninstall --user 0 com.miui.miservice
    adb shell pm uninstall --user 0 com.miui.bugreport
    adb shell pm uninstall --user 0 com.mipay.wallet
    adb shell pm uninstall --user 0 com.xiaomi.payment
    adb shell pm uninstall --user 0 com.android.wallpaper.livepicker
    adb shell pm uninstall --user 0 com.miui.miwallpaper
    adb shell pm uninstall --user 0 com.miui.voiceassist

    if you want to restore package:

    1
    adb shell pm install-existing com.sohu.inputmethod.sogou.xiaomi
  4. There are some packages you must not delete, or your phone will get bricked.

    1
    2
    3
    4
    5
    com.miui.cloudservice 
    com.xiaomi.account
    com.android.updater
    com.miui.cloudbackup
    com.xiaomi.market

Reference:
   关闭广告
   包列表