Boycott China, the buss word of the hour. On my personal front I do support, but what to do, with the products that i am currently using. With News in all the platform are currently encouraging to reduce or boycott Chinese software in first phase, so was thinking, is there something that I can do to support this.
As am using an Redmi phone bought about 4 yrs back, although it is still working as a charm, but one of the problem that I found was, most of these MI's phone show advertisement, that pop's up, from all most every Mi's app or setting. Also there are many bloatware app which I may never use, So how about getting rid of them.
After reading few of the blogs and technical articles found this could be a simple cup of a tea.
Following step I followed to remove them
1. Install adb tool in PC to connect your device and execute adb commands, (how to install : follow the references share in last)
2. Enable USB Debugging in you device (steps are available in references)
3. Connect the device to PC via USB Cable.
4. Check if your device is detected via adb drivers. Command : adb devices
? adb devicesList of devices attachedaa768dd device
5. Now since the device is connected, enter in adb shell using command adb shell
? adb shellwhyred:/
6. On entering the shell you will find adb command prompt.
7. Now to verify all the packages installed execute command pm list packages -f
whyred:/ $ pm list packages -fpackage:/data/app/com.miui.screenrecorder-Kh-YC44bqQAWaMG7sarQoA==/base.apk=com.miui.screenrecorderpackage:/data/app/nps.nps-D3Wnpo-ZjDqNroDyemQPaw==/base.apk=nps.npspackage:/system/priv-app/CtsShimPrivPrebuilt/CtsShimPrivPrebuilt.apk=com.android.cts.priv.ctsshimpackage:/data/app/com.google.android.youtube-RkQlEjnW0bU-uCXqC9_HSA==/base.apk=com.google.android.youtubepackage:/system/app/Perfdump/Perfdump.apk=com.qualcomm.qti.perfdump------
8. Check the package names that you want to uninstall
9. To uninstall execute command pm uninstall -k — user 0 <package name>
whyred:/ $ pm uninstall -k --user 0 com.miui.msa.globalSuccesswhyred:/ $ pm uninstall -k --user 0 com.android.browserSuccesswhyred:/ $ pm uninstall -k --user 0 com.miui.videoplayerSuccesswhyred:/ $ pm uninstall -k --user 0 com.mipay.wallet.inSuccesswhyred:/ $ pm uninstall -k --user 0 com.miui.playerSuccesswhyred:/ $ pm uninstall -k --user 0 com.mipay.wallet.idSuccesswhyred:/ $ pm uninstall -k --user 0 com.xiaomi.midropSuccesswhyred:/ $ pm uninstall -k --user 0 com.xiaomi.mipicksSuccesswhyred:/ $ pm uninstall -k --user 0 com.xiaomi.paymentSuccesswhyred:/ $ pm uninstall -k --user 0 com.miui.notesSuccesswhyred:/ $ pm uninstall -k --user 0 com.miui.cleanmasterSuccesswhyred:/ $
you may uninstall all app that you don't need any how. If you think what if any thing goes wrong, don't worry, give your device an factory reset, after taking backup of all your important data and you will have all the uninstalled apps back again.
Following is the list of packages with command to uninstall, if you are interested.
GetAppspm uninstall –k ––user 0 com.xiaomi.mipicksBrowserpm uninstall –k ––user 0 com.android.browserCalculatorpm uninstall –k ––user 0 com.miui.calculatorCalendarpm uninstall –k ––user 0 com.android.calendarCompasspm uninstall –k ––user 0 com.miui.compasspm uninstall –k ––user 0 com.android.emailFeedbackpm uninstall –k ––user 0 com.miui.bugreportFile Explorerpm uninstall –k ––user 0 com.mi.android.globalFileexplorerFM Radiopm uninstall –k ––user 0 com.miui.fmGallerypm uninstall –k ––user 0 com.miui.galleryGamespm uninstall –k ––user 0 com.xiaomi.glgmMi Droppm uninstall –k ––user 0 com.xiaomi.midropMi Paypm uninstall –k ––user 0 com.mipay.wallet.idpm uninstall –k ––user 0 com.mipay.wallet.inMi Paymentpm uninstall –k ––user 0 com.xiaomi.paymentMi Recyclepm uninstall –k ––user 0 com.xiaomi.mirecycleMi Roamingpm uninstall –k ––user 0 com.miui.virtualsimMi Videopm uninstall –k ––user 0 com.miui.videoplayerMusicpm uninstall –k ––user 0 com.miui.playerNotespm uninstall –k ––user 0 com.miui.notesRecorderpm uninstall –k ––user 0 com.android.soundrecorderScannerpm uninstall –k ––user 0 com.xiaomi.scannerScreen Recorderpm uninstall –k ––user 0 com.miui.screenrecorderWallpaperpm uninstall –k ––user 0 com.miui.miwallpaperWeatherpm uninstall –k ––user 0 com.miui.weather2pm uninstall –k ––user 0 com.miui.providers.weatherYellow Pagespm uninstall –k ––user 0 com.miui.yellowpageAntiSpampm uninstall –k ––user 0 com.miui.antispamSIM Activate Servicespm uninstall –k ––user 0 com.xiaomi.simactivate.serviceMSApm uninstall –k ––user 0 com.miui.msa.globalGoogle Drivepm uninstall –k ––user 0 com.google.android.apps.docsGoogle Duopm uninstall –k ––user 0 com.google.android.apps.tachyonGmailpm uninstall –k ––user 0 com.google.android.gmGoogle Play Musicpm uninstall –k ––user 0 com.google.android.musicGoogle Play Videospm uninstall –k ––user 0 com.google.android.videosGoogle Photospm uninstall –k ––user 0 com.google.android.apps.photosTalkbackpm uninstall –k ––user 0 com.google.android.marvin.talkbackFacebook Appspm uninstall –k ––user 0 com.facebook.appmanagerpm uninstall –k ––user 0 com.facebook.servicespm uninstall –k ––user 0 com.facebook.systemCleanmasterpm uninstall -k ––user 0 com.miui.cleanmaster
References:
- https://medium.com/@mail.anonymous.root/services-bloatware-safe-to-remove-on-xiaomi-devices-via-android-debug-bridge-2e5bcd94dfa0
- https://www.fonearena.com/blog/275578/how-to-uninstall-apps-on-xiaomi-without-root.html
- https://c.mi.com/thread-2137684-1-0.html
- https://github.com/Szaki/XiaomiADBFastbootTools
- https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/