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

picitup

Senior Member
Jan 9, 2011
205
65
0
Deal
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
 

Attachments

Last edited:

michealbluth

New member
Dec 5, 2019
2
3
0
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
 

picitup

Senior Member
Jan 9, 2011
205
65
0
Deal
Hi @michealbluth thanks for the extra instructions and alternative method.

I've edited the 1st post and renamed the original file to Global as this is the rom it applies to. I've just installed the EU rom (11.04) and had added an extra debloat with an EU suffix. I didn't compare the two, so there may be some duplication.

I've run both of these on my phone and seen no ill effects.
 

jamesawn

Member
Jan 8, 2020
8
1
0
How much does the list differ between global rom and china rom? Can i use the list of k20 pro for example for cc9 pro china rom?

Has anyone with cc9 pro debloated their devices? Please share the debloat list for china rom. Thanks.

Do you think it's safe if i follow the redmi k20 debloat list? As they both are china version of miui11
 
Last edited:

Sylar82

Senior Member
Aug 31, 2015
163
32
58
38
Giza
How much does the list differ between global rom and china rom? Can i use the list of k20 pro for example for cc9 pro china rom?

Has anyone with cc9 pro debloated their devices? Please share the debloat list for china rom. Thanks.

Do you think it's safe if i follow the redmi k20 debloat list? As they both are china version of miui11
yes i do it on my CC9 Pro but i do it manually by using cmd and i show the package name from the app setting in phone then
Type "adb shell pm uninstall -k --user 0 com.app.name.here"
 

jamesawn

Member
Jan 8, 2020
8
1
0
yes i do it on my CC9 Pro but i do it manually by using cmd and i show the package name from the app setting in phone then
Type "adb shell pm uninstall -k --user 0 com.app.name.here"
do you remember what apps are safe to remove in CC9Pro? just ordered mine from China for the 6/128gb version. this is the first time for me using china rom. please help, thanks.
 

Sylar82

Senior Member
Aug 31, 2015
163
32
58
38
Giza
do you remember what apps are safe to remove in CC9Pro? just ordered mine from China for the 6/128gb version. this is the first time for me using china rom. please help, thanks.
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
 

jamesawn

Member
Jan 8, 2020
8
1
0
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!
 
  • Like
Reactions: Sylar82

MoneyFist

Senior Member
Jun 15, 2008
193
34
0
London
Hey guys, I'd really love to do this but does anyone know if it causes any issues with updates, banking apps and Google pay?

I remember doing this on a Galaxy S8 and I recall it complaining about modified system
 

Sylar82

Senior Member
Aug 31, 2015
163
32
58
38
Giza
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!
there is a fastboot method to flash Rom when phone is brick its not hard and the stock recovery so simple if you brick the phone by stop or delete some app you can do factory reset from recovery
 

jamesawn

Member
Jan 8, 2020
8
1
0
there is a fastboot method to flash Rom when phone is brick its not hard and the stock recovery so simple if you brick the phone by stop or delete some app you can do factory reset from recovery
Thank you! Got the device and got the stock recovery ready whenever i do mistakes. anyway do you know how to enable 3rd party launchers? i tried nova launcher and i could not set it to default.
 

Sylar82

Senior Member
Aug 31, 2015
163
32
58
38
Giza
Thank you! Got the device and got the stock recovery ready whenever i do mistakes. anyway do you know how to enable 3rd party launchers? i tried nova launcher and i could not set it to default.
yes , go to setting >> App>> Manage app >> the three dots in right corner >> default apps>> Launcher >> chose Nova

you can try Poco Launcher too its a very Compatible with MIUI
 

jamesawn

Member
Jan 8, 2020
8
1
0
yes , go to setting >> App>> Manage app >> the three dots in right corner >> default apps>> Launcher >> chose Nova

you can try Poco Launcher too its a very Compatible with MIUI
I got an error saying "as launcher apps from third parties may result in problems like data leak, etc etc". I cannot set nova launcher as my default launcher..

Also, i read in other thread that i can force close "Security app". But it keeps reopening. How can i remove / disable this security app without unlocking my phone?
 

Sylar82

Senior Member
Aug 31, 2015
163
32
58
38
Giza
I got an error saying "as launcher apps from third parties may result in problems like data leak, etc etc". I cannot set nova launcher as my default launcher..

Also, i read in other thread that i can force close "Security app". But it keeps reopening. How can i remove / disable this security app without unlocking my phone?
its never happen to me i change the launcher without problem
 

lio028

New member
Aug 5, 2020
2
1
0
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
 
Last edited:
  • Like
Reactions: dondavis007

NiTrOwow

Senior Member
Jul 20, 2010
195
56
0
Seriously why do you sill use Xiaomi.. They started with this way back in 2011?? Last seen for me 2014.
Same exact **** the same packages, nothing has changed how is it possile that they are still allowed by Google to use Android for their spying purposes and how did they become compliant again from being banned?? Money..

com.miui.compass
com.miui.calculator
com.miui.cleanmaster
com.miui.cloudservice

And so forth..
 

Cyber.Cat

Senior Member
May 24, 2020
102
75
38
appcontrol.neocities.org
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
 

Attachments

rdsubhas

New member
Dec 29, 2011
3
0
0
I just did this on my xiaomi.eu ROM, and it ran into a bootloop when I restarted my phone. Had to do a factory reset to make it usable again. Would recommend to do a full backup or uninstall the packages one-by-one, restarting the phone between each install.