[MIUI] Xiaomi Global Debloater by The4Anoni

Search This thread

The4anoni

Senior Member
k-GEw-YH5-Tn5-Tdg2j-BJHZtif.jpg

Windows script for freezing/removing system/user pre-installed bloatware on all Xiaomi devices running Global Stable ROM without ROOT/Unlocked Bootloader!
How to use:
0. Before using this script read this post!
https://forum.xda-developers.com/showpost.php?p=78441264&postcount=11
1. Download archive and extract (If you got unpack error use latest 7-Zip!)
2. If you (still) don't have ADB/Fastboot Drivers install them from archive.
3. Turn on USB Debugging on your phone.
4. Connect your phone to PC and then click on debloat.bat and follow the on-screen instructions.
5.Profit ? ;)


Q&A
If you have problems try to enable "Install via USB" and "USB debugging (Security settings)" in Developer Options
Which apps are removed from phone ? (If you want to have app removed by script just install it from Google Play ;) )
  • Google Drive
  • Google Maps
  • Google Photos
  • Google Duo
  • Google App
  • Chrome (Use Bromite instead)
  • Google Music
  • Google Movies & TV
  • Google Lens
  • Youtube (Bro use Youtube Vanced from official link ;) )
  • Gmail
  • Hangouts
  • Android Accessibility Suite
  • MIUI Forum
  • Joom
  • Amazon Shopping & Amazon Telemetry
  • Mi Remote
  • Peel add-on for Mi Remote
  • Mi Roaming
  • Daily Lock Screen Wallpapers
  • Facebook app and its services (com.facebook.services ; com.facebook.system ; com.facebook.appmanager)
  • com.netflix.partner.activation
  • Mi Community
  • MSA
  • ShareMe (Mi Drop)
  • Mi Apps
  • Miui Feedback
  • Miui & Qualcomm telemetry (This doesn't mean you can't use this script on MTK Xiaomi devices!)
  • And junk I even don't remember



Download: Here
Current Version: v1.9


Linux Version: https://forum.xda-developers.com/showpost.php?p=80613307&postcount=10 (Thanks @miku86coding).
 
Last edited:

miku86coding

Member
Sep 25, 2017
7
11
I updated the code for Linux users.

As always: Backup before doing it (e.g. TWRP).
Activate USB debugging.

Open your terminal and go to the directory, where adb lives.
Paste the code from the code field at the bottom.

If the package wasn't on your system, you get an error for this package, but the uninstall continues.

If you want to keep a package (e.g. Google Maps), delete the appropriate line BEFORE pasting.
Sorted it alphabetically for readability.

As always: Backup before doing it. (e.g. TWRP)

Code:
./adb uninstall --user 0 com.amazon.appmanager
./adb uninstall --user 0 com.amazon.mShop.android.shopping
./adb uninstall --user 0 com.android.chrome
./adb uninstall --user 0 com.duokan.phone.remotecontroller
./adb uninstall --user 0 com.duokan.phone.remotecontroller.peel.plugin
./adb uninstall --user 0 com.facebook.appmanager
./adb uninstall --user 0 com.facebook.katana
./adb uninstall --user 0 com.facebook.services
./adb uninstall --user 0 com.facebook.system
./adb uninstall --user 0 com.google.android.apps.docs
./adb uninstall --user 0 com.google.android.apps.maps
./adb uninstall --user 0 com.google.android.apps.photos
./adb uninstall --user 0 com.google.android.apps.tachyon
./adb uninstall --user 0 com.google.android.gm
./adb uninstall --user 0 com.google.android.googlequicksearchbox
./adb uninstall --user 0 com.google.android.marvin.talkback
./adb uninstall --user 0 com.google.android.music
./adb uninstall --user 0 com.google.android.talk
./adb uninstall --user 0 com.google.android.videos
./adb uninstall --user 0 com.google.android.youtube
./adb uninstall --user 0 com.google.ar.lens
./adb uninstall --user 0 com.joom
./adb uninstall --user 0 com.mi.global.bbs
./adb uninstall --user 0 com.mipay.wallet.in
./adb uninstall --user 0 com.miui.analytics
./adb uninstall --user 0 com.miui.android.fashiongallery
./adb uninstall --user 0 com.miui.bugreport
./adb uninstall --user 0 com.miui.daemon
./adb uninstall --user 0 com.miui.enbbs
./adb uninstall --user 0 com.miui.msa.global
./adb uninstall --user 0 com.miui.virtualsim
./adb uninstall --user 0 com.miui.vsimcore
./adb uninstall --user 0 com.netflix.partner.activation
./adb uninstall --user 0 com.qualcomm.qti.haven.telemetry.service
./adb uninstall --user 0 com.xiaomi.midrop
./adb uninstall --user 0 com.xiaomi.mipicks
 
  • Like
Reactions: VD171 and The4anoni

sengottuvel

Member
Jan 23, 2015
14
2
Erode
1.7 Update


If you have some other packages, which should be removed just quote this post and write it ;)

Could you please add the following apps too?
Mi Music
Mi Video
Mi Cleaner
File Manager
Browser

Please! by the way, I appreciate your help! it worked like a charm.
 

The4anoni

Senior Member
Could you please add the following apps too?
Mi Music
Mi Video
Mi Cleaner
File Manager
Browser

Please! by the way, I appreciate your help! it worked like a charm.

Hi.
I don't want to add these apps to script, but if you want to remove them open cmd in folder with script and copy and paste following commands (each of them must be run separate).
adb_notwide uninstall --user 0 com.miui.player
adb_notwide uninstall --user 0 com.miui.videoplayer
Mi Cleaner isn't app - it's a shortcut to Miui Security which triggers cleaner. Just remove shortcut.
adb_notwide uninstall --user 0 com.mi.android.globalFileexplorer
adb_notwide uninstall --user 0 com.android.browser

I hope this will help :)
 

exodius48

Senior Member
Apr 7, 2013
3,558
677
Yori's Heart
Xiaomi Mi 11 Ultra
Hi.
I don't want to add these apps to script, but if you want to remove them open cmd in folder with script and copy and paste following commands (each of them must be run separate).
adb_notwide uninstall --user 0 com.miui.player
adb_notwide uninstall --user 0 com.miui.videoplayer
Mi Cleaner isn't app - it's a shortcut to Miui Security which triggers cleaner. Just remove shortcut.
adb_notwide uninstall --user 0 com.mi.android.globalFileexplorer
adb_notwide uninstall --user 0 com.android.browser

I hope this will help :)

How to remove mi enhancer?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    k-GEw-YH5-Tn5-Tdg2j-BJHZtif.jpg

    Windows script for freezing/removing system/user pre-installed bloatware on all Xiaomi devices running Global Stable ROM without ROOT/Unlocked Bootloader!
    How to use:
    0. Before using this script read this post!
    https://forum.xda-developers.com/showpost.php?p=78441264&postcount=11
    1. Download archive and extract (If you got unpack error use latest 7-Zip!)
    2. If you (still) don't have ADB/Fastboot Drivers install them from archive.
    3. Turn on USB Debugging on your phone.
    4. Connect your phone to PC and then click on debloat.bat and follow the on-screen instructions.
    5.Profit ? ;)


    Q&A
    If you have problems try to enable "Install via USB" and "USB debugging (Security settings)" in Developer Options
    Which apps are removed from phone ? (If you want to have app removed by script just install it from Google Play ;) )
    • Google Drive
    • Google Maps
    • Google Photos
    • Google Duo
    • Google App
    • Chrome (Use Bromite instead)
    • Google Music
    • Google Movies & TV
    • Google Lens
    • Youtube (Bro use Youtube Vanced from official link ;) )
    • Gmail
    • Hangouts
    • Android Accessibility Suite
    • MIUI Forum
    • Joom
    • Amazon Shopping & Amazon Telemetry
    • Mi Remote
    • Peel add-on for Mi Remote
    • Mi Roaming
    • Daily Lock Screen Wallpapers
    • Facebook app and its services (com.facebook.services ; com.facebook.system ; com.facebook.appmanager)
    • com.netflix.partner.activation
    • Mi Community
    • MSA
    • ShareMe (Mi Drop)
    • Mi Apps
    • Miui Feedback
    • Miui & Qualcomm telemetry (This doesn't mean you can't use this script on MTK Xiaomi devices!)
    • And junk I even don't remember



    Download: Here
    Current Version: v1.9


    Linux Version: https://forum.xda-developers.com/showpost.php?p=80613307&postcount=10 (Thanks @miku86coding).
    2
    I updated the code for Linux users.

    As always: Backup before doing it (e.g. TWRP).
    Activate USB debugging.

    Open your terminal and go to the directory, where adb lives.
    Paste the code from the code field at the bottom.

    If the package wasn't on your system, you get an error for this package, but the uninstall continues.

    If you want to keep a package (e.g. Google Maps), delete the appropriate line BEFORE pasting.
    Sorted it alphabetically for readability.

    As always: Backup before doing it. (e.g. TWRP)

    Code:
    ./adb uninstall --user 0 com.amazon.appmanager
    ./adb uninstall --user 0 com.amazon.mShop.android.shopping
    ./adb uninstall --user 0 com.android.chrome
    ./adb uninstall --user 0 com.duokan.phone.remotecontroller
    ./adb uninstall --user 0 com.duokan.phone.remotecontroller.peel.plugin
    ./adb uninstall --user 0 com.facebook.appmanager
    ./adb uninstall --user 0 com.facebook.katana
    ./adb uninstall --user 0 com.facebook.services
    ./adb uninstall --user 0 com.facebook.system
    ./adb uninstall --user 0 com.google.android.apps.docs
    ./adb uninstall --user 0 com.google.android.apps.maps
    ./adb uninstall --user 0 com.google.android.apps.photos
    ./adb uninstall --user 0 com.google.android.apps.tachyon
    ./adb uninstall --user 0 com.google.android.gm
    ./adb uninstall --user 0 com.google.android.googlequicksearchbox
    ./adb uninstall --user 0 com.google.android.marvin.talkback
    ./adb uninstall --user 0 com.google.android.music
    ./adb uninstall --user 0 com.google.android.talk
    ./adb uninstall --user 0 com.google.android.videos
    ./adb uninstall --user 0 com.google.android.youtube
    ./adb uninstall --user 0 com.google.ar.lens
    ./adb uninstall --user 0 com.joom
    ./adb uninstall --user 0 com.mi.global.bbs
    ./adb uninstall --user 0 com.mipay.wallet.in
    ./adb uninstall --user 0 com.miui.analytics
    ./adb uninstall --user 0 com.miui.android.fashiongallery
    ./adb uninstall --user 0 com.miui.bugreport
    ./adb uninstall --user 0 com.miui.daemon
    ./adb uninstall --user 0 com.miui.enbbs
    ./adb uninstall --user 0 com.miui.msa.global
    ./adb uninstall --user 0 com.miui.virtualsim
    ./adb uninstall --user 0 com.miui.vsimcore
    ./adb uninstall --user 0 com.netflix.partner.activation
    ./adb uninstall --user 0 com.qualcomm.qti.haven.telemetry.service
    ./adb uninstall --user 0 com.xiaomi.midrop
    ./adb uninstall --user 0 com.xiaomi.mipicks
    1
    Weird, why are there no reactions to this? Thanks for the hard work.
    1
    Weird, why are there no reactions to this? Thanks for the hard work.

    I just want to anyone enjoy my hard work :)