[ADB] Mi Note 10 Debloat (no root) Global and EU

Search This thread

Gregzi

Senior Member
Feb 27, 2011
518
188
On the sunny side of the Alps
how can i re-install some stuff back after uninstalling?
Guys:
Keep in mind that nothing is uninstalled!
You are just disabling the apps for the current user - that means YOU.
To enable the app again just type:" adb shell cmd package install-existing --user 0 <name of package>

Edit: If you do a Factory Reset all disabled stuff will pop-up again...
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    Hi All

    This is the first version of a debloat for the Mi Note 10. I'm not an expert at this, so I've been very cautious (I hope).

    Remember: You use this at your own risk. Please read through the batch file to make sure you understand each package and are sure you don't want it.

    If you delete something by mistake, you may be able to re-install it from Google Play. If not, you may need to do a factory reset so BACKUP FIRST.

    If you don't backup and have to factory reset, please let me know so I can laugh at you :D

    With all the disclaimers out the way, you need to:

    1) Enable Developer Options (Settings/About Phone/Keep tapping MIUI Version)
    2) Turn on USB Debugging (Settings/Additional Settings/Developer Options/USB Debugging)
    3) Make sure ADB is installed on your pc
    4) Plug in your phone and it will say "Charging via USB" change this to File Transfer. The first time you do this, you will be asked to authorise USB debugging. Agree this otherwise the batch file won't work and you get an "Unauthorised" message when it tries to uninstall.
    5) Read the entire contents of the batch file and make sure it's OK for you to delete all the listed packages
    6) Run the batch file

    The batch file is attached as a txt file as .bat is not allowed, so just rename it. I've tested the file on my phone and all looks fine so far.

    If anyone with more experience than me wants to add to this, please let me know and I'll update the batch file for everyone else.

    Cheers

    Steve

    edit: Changed the name of original file to Global and added an EU debloater
    3
    Another slightly nerdy method

    (1) Install SDK tools by google. Google it.

    (2) On finishing be SURE to check the box and install Android SDK tools, Android SDK build - tools and Android SDK platform tools. Dont forget.

    (3) Install the universal ADB drivers (Google it to find...i am not allowed to post links here)

    (4) Install phone drivers drivers if needed although I havnt needed them for mi note 10 phone curiously enough

    (5) Install app inspector on the android phone (Google play store it)

    (6) Enable USB debugging on the android phone after enabling developer options on the phone.

    (7) Allow USB debugging when phone is plugged in

    (8) Open CMD by typing cmd in search in your windows computer

    (9) Type "cd C:\Program Files (x86)\Android\android-sdk\platform-tools" (Or just copy this without the quotes)

    (10) Type "adb devices"...You should see a string of random numbers and letters followed by "device." This indicates you can send commands. If you don't see this, try checking your USB cable to ensure it is fully plugged in.

    (11) Type "adb shell"

    (12) Type "pm uninstall -k --user 0 com.app.name.here" to uninstall the apps, also disable in apps menu later for extra safety. To find out the name of the app - return to Your phone and open App Inspector. Select an app from the list that you wish to remove. Under "Package name," you will find the package name of the app, which you will need. These all are safe to remove. If any app says Not Installed For User 0, It simply means that specific app is not installed in your phone. Simply ignore it.




    XIAOMI Mi Note 10 only debloat - simply copy and paste these in the command prompt and press enter. All the below apps will get disabled. Can be enabled from app settings if needed.


    pm disable-user --user 0 com.miui.analytics
    pm disable-user --user 0 com.google.android.contacts
    pm disable-user --user 0 com.google.at.lens
    pm disable-user --user 0 com.netflix.partner.activation
    pm disable-user --user 0 com.android.browser
    pm disable-user --user 0 com.android.printspooler
    pm disable-user --user 0 com.android.printspooler
    pm disable-user --user 0 com.miui.userguide
    pm disable-user --user 0 com.miui.player
    pm disable-user --user 0 com.mi.global.shop
    pm disable-user --user 0 com.xiaomi.miplay_client
    pm disable-user --user 0 com.miui.phrase
    pm disable-user --user 0 com.android.cellbroadcastreceiver
    pm disable-user --user 0 com.google.android.videos
    pm disable-user --user 0 com.xiaomi.payment
    pm disable-user --user 0 com.miui.notes
    pm disable-user --user 0 com.mi.health
    pm disable-user --user 0 com.opera.preinstall
    pm disable-user --user 0 com.android.bips
    pm disable-user --user 0 com.micredit.in
    pm disable-user --user 0 com.android.browser
    pm disable-user --user 0 com.miui.calculator
    pm disable-user --user 0 com.miui.mishare.connectivity
    pm disable-user --user 0 com.microsoft.skydrive
    pm disable-user --user 0 com.google.android.tts
    pm disable-user --user 0 com.miui.micloudsync
    pm disable-user --user 0 com.miui.weather2
    pm disable-user --user 0 com.miui.cloudbackup
    pm disable-user --user 0 cn.wps.xiaomi.abroad.lite
    pm disable-user --user 0 com.android.chrome
    pm disable-user --user 0 com.xiaomi.mirecycle
    pm disable-user --user 0 com.mipay.wallet.id
    pm disable-user --user 0 com.mi.android.globalFileexplorer
    pm disable-user --user 0 com.mipay.wallet.in
    pm disable-user --user 0 com.miui.cloudservice
    pm disable-user --user 0 com.google.android.feedback
    pm disable-user --user 0 com.miui.yellowpage
    pm disable-user--user 0 com.google.android.apps.tachyon
    pm disable-user --user 0 com.miui.videoplayer
    pm disable-user --user 0 com.xiaomi.midrop
    pm disable-user --user 0 com.miui.cleanmaster
    pm disable-user --user 0 com.google.android.apps.youtube.music
    pm disable-user --user 0 com.google.ar.lens
    pm disable-user --user 0 com.xiaomi.glgm


    BONUS - Check out this live wallpaper...its simply gorgeous. Google this term and get it from the apkpure wensite
    hacker-matrix-live-wallpaper/hackerlivewallpaper.appseries.com.skynetlabz
    2
    Bash script for de-installing apps

    For those on linux, I've put the de-install commands into a bash script and make it loop over an array of apks.. So you can just list the apks you don't want, and then the script will figure out if it's installed as user or system app and delete it. No harm if the app is not installed, as it will just inform about it.

    My list gets rid of practically everything in Global, including almost all goggle apps, so please adjust to your needs!

    Code:
    #!/bin/bash
    # list any packages you want to deinstall
    apk=(
    	#xiaomi
    	com.micredit.in
    	cn.wps.xiaomi.abroad.lite
    	com.mi.health
    	com.mi.global.shop
    	com.mi.global.bbs
    	com.xiaomi.glgm
    	com.xiaomi.mipicks
    	com.mipay.wallet.in
    	com.xiaomi.payment
    	com.xiaomi.midrop
    	com.xiaomi.joyose
    	com.miui.weather2
    	com.miui.yellowpage
    	com.miui.android.fashiongallery
    	com.miui.cloudservice
    	com.miui.cloudbackup
    	com.miui.msa.global
    	com.miui.analytics
    	com.miui.bugreport
    	com.miui.notes
    	com.miui.videoplayer
    	com.miui.player
    	com.miui.hybrid
    	com.miui.huanji
    	com.miui.miservice
    	com.miui.fm
    	com.miui.calculator
    	com.miui.compass
    	com.miui.gallery
    	com.miui.screenrecorder
    	com.miui.aod
    	com.miui.cleanmaster
    	#google
    	com.google.android.apps.docs
    	com.google.android.videos
    	com.google.android.apps.tachyon
    	com.google.android.googlequicksearchbox
    	com.google.android.gm
    	com.google.android.apps.maps
    	com.google.android.youtube
    	com.google.android.apps.youtube.music
    	com.google.android.apps.photos
    	com.google.android.apps.wellbeing
    	com.google.android.syncadapters.calendar
    	com.google.android.syncadapters.contacts
    	com.google.android.tts
    	com.google.ar.lens
    	com.google.android.marvin.talkback
    	com.google.android.inputmethod.latin
    	com.google.android.projection.gearhead
    	#android
    	com.android.browser
    	com.android.chrome
    	#3rd party
    	com.facebook.katana
    	com.netflix.mediaclient
    	com.linkedin.android
    	cn.wps.moffice_eng
    	com.duokan.phone.remotecontroller.peel.plugin
    	com.duokan.phone.remotecontroller
    	com.alibaba.aliexpresshd
    	com.amazon.mShop.android.shopping
    	com.ebay.mobile
    	com.ebay.carrier
    	com.block.puzzle.game.hippo.mi
    	com.sukhavati.gotoplaying.bubble.BubbleShooter.mint
    	com.bubble.free.bubblestory
    	com.crazy.juicer.xm
    	com.logame.eliminateintruder3d
    	com.facebook.appmanager
    	com.facebook.system
    	com.facebook.services
    	com.netflix.partner.activation
    	com.ucloudlink.cloudsim.xiaomi
    	)
    
    for m in "${apk[@]}"	#loop through the list of packages
    do
    package=$(adb shell pm path ${m})	#get installation path for each package
    	if [ -z $package ]	#if no path is found
    	then
    		echo "Can't find package ${m}"	#then notify
    	else
    		if [[ $package == *"system"* ]]	#else if package is installed in system path
    		then
    		echo "Removing system $package:"
    		adb shell pm uninstall --user 0 ${m}	#then remove it as a system app
    		else	#else package is installed in user path
    		echo "Removing user $package:"
    		adb shell pm uninstall ${m}	#so remove it as an user app
    		fi
    	fi
    done
    2
    Hello friends!

    I recommend trying my new program for managing applications on android - ADB AppControl.
    With it you will forget about the command line. Disable and remove bloatware with an easy-to-use graphical interface. Save disabled apps to a preset and share with others users. Download and install applications. As well as many other cool features, including a convenient console.

    I created a preset for ADB AppControl from the list of apps in this thread and you can apply it easily.

    You can choose which applications to disable when you load it into the program. If you disable something wrong, you can easily enable it again.

    en1.jpg en2.jpg

    Download ADB AppControl
    1
    i don"t remember all apps sorry but i remove ( Browser , Compass, Health , Mi Coin , Notes , MI Ai ) and others and the phone work fine

    Alright, thank you for the reply . Do you mind if i ask something else? It's not so related to debloating, if you don't mind.

    I'm pretty new to xiaomi, but if i recall xiaomi has default recovery like twrp right? Does that mean if i brick my phone i can always use the stock recovery? Because i will try to debloat some apps, but I'm scared that i would brick my new phone.

    I'm not so experienced in tweaking androids, i only knew twrp and custom rom recently from flashing a custom rom on my Samsung note 5.

    Thank you in advance!