Removing Bloatware does not work on MIUI 12 - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Hello Friends,
When I was on MIUI 11, I had removed Mi apps like Mi pay, Mi video, Poco launcher, Mi browser and Mi music by adb. Now I have updated to latest MIUI 12 but I am not able to remove Mi calendar, Mi browser via adb. I get an error message, "failure [-1000]". Why is it happening and how I can remove the bloatware?

Hi Friends,
I am using MIUI 12.0.2.0 China stable ROM on my K20 Pro & I removed all the bloatwares apps included in this rom. For removings apps I use XiaomiADBFastbootTools.jar .I suggest you download this tool & install JDK (java development kit) for the removal process. I am very haappy with this tool. I also use it on XIAOMI.EU rom.
I hope your problem will be solved with this great tool.

On global rom the tool cannot remove these apps, no idea why not.

boomboomer said:
On global rom the tool cannot remove these apps, no idea why not.
Click to expand...
Click to collapse
You try this tool on global ROM?

i try that tool on global miui 12 and it cant remove that apps.
But on latest beta orange fox recovery exist option to remove system apps. didnt try as i change miui 12 global to Xiaomi.eu weekly and tool can remove that apps.
so global stable cant remove and xiaomi.eu weekly can remove

I tried with both Szaki's tool and OrangeFox Recovery tool, none of them work.

I confirm that following apps can't be removed on Global (12.0.1) MIUI 12
Code:
com.mi.android.globalminusscreen
com.mi.globalbrowser
com.xiaomi.calendar
com.miui.player
com.miui.videoplayer
com.miui.weather2
Following error occurs when I try to uninstall any of these apps:
Code:
pm uninstall --user 0 com.mi.android.globalminusscreen
Failure [-1000]

I removed it

renr29 said:
I removed it
Click to expand...
Click to collapse
This affirmation without an explanation is sh*t

bartito said:
This affirmation without an explanation is sh*t
Click to expand...
Click to collapse
we can remove it on custom miui roms

slavke1976 said:
we can remove it on custom miui roms
Click to expand...
Click to collapse
MIUI custom ROMs are not in question.
You allways can remove these sh*t apps on a custom ROM or, if can't be removed by "pm uninstall" command, you can remove by recovery.
The question is to remove these apps from unrooted and unlocked MIUI 12 global

bartito said:
MIUI custom ROMs are not in question.
You allways can remove these sh*t apps on a custom ROM or, if can't be removed by "pm uninstall" command, you can remove by recovery.
The question is to remove these apps from unrooted and unlocked MIUI 12 global
Click to expand...
Click to collapse
I understand, but the answer is that we cant from miui 12 global. My phone is unlocked and i had magisk. and miui global stable, removing that apps is not possible with that debloater tool or commands. Didnt try other metods. but with debloater tools as sakis, it doesnt work.

bartito said:
I confirm that following apps can't be removed on Global (12.0.1) MIUI 12
Following error occurs when I try to uninstall any of these apps:
Click to expand...
Click to collapse
The smallest ADB package for PC that is enough for ADB is Minimal ADB and Fastboot (find a thread on XDA)
According to your error, it was the following ADB command that failed:
adb shell pm uninstall -k --user 0 <pkg-name>
Try instead the other ADB command:
adb shell pm disable-user <pkg-name>
Where <pkg-name> stands for:
com.mi.android.globalminusscreen com.mi.globalbrowser
...
or package name for any other system app you want to disable - use AppInspector from Playstore to read package names corresponding to the apps

I'm not using any windows command but the adb shell command to access the device then exec pm uninstall command.
I also confirm that I've tried also pm disable and pm disable-user and both fails to remove/disable the related apps
zgfg said:
Instead of using a jar (not knowing what's inside), you can use ADB commands - simply install Minimal ADB and Fastboot package to PC
According to your error, jar executes the following ADB command:
adb shell pm uninstall -k --user 0 <pkg-name>
Try instead the other ADB command:
adb shell pm disable-user <pkg-name>
Where <pkg-name> stands for:
or package name for any other system app you want to disable - use AppInspector from Playstore to read package names corresponding to the apps
Click to expand...
Click to collapse

bartito said:
I'm not using any windows command but the adb shell command to access the device then exec pm uninstall command.
I also confirm that I've tried also pm disable and pm disable-user and both fails to remove/disable the related apps
Click to expand...
Click to collapse
By AppInspector, find the system or data folder and apk name where the corresponding app is installed
By using TWRP (root not required) or e.g. MiXPlorer (root required), go to that folder and rename <app-name>.apk to <app-name>.bak and reboot
If you disabled a critical app causing e.g. a boot failure, use TWRP and rename bak file back to the original apk extension

To use twrp root isn't required but bootloader unlocked.
My bootloader is locked
zgfg said:
By AppInspector, find the system or data folder and apk name where the corresponding app is installed
By using TWRP (root not required) or e.g. MiXPlorer (root required), go to that folder and rename <app-name>.apk to <app-name>.bak and reboot
If you disabled a critical app causing e.g. a boot failure, use TWRP and rename bak file back to the original apk
Click to expand...
Click to collapse

zgfg said:
The smallest ADB package for PC that is enough for ADB is Minimal ADB and Fastboot (find a thread on XDA)
According to your error, it was the following ADB command that failed:
adb shell pm uninstall -k --user 0 <pkg-name>
Try instead the other ADB command:
adb shell pm disable-user <pkg-name>
Where <pkg-name> stands for:
com.mi.android.globalminusscreen com.mi.globalbrowser
...
or package name for any other system app you want to disable - use AppInspector from Playstore to read package names corresponding to the apps
Click to expand...
Click to collapse
Thanks a ton!! The MIUI browser (com.mi.globalbrowser) had been bothering me for quite some time, and because of you I was able to get rid of it! Thanks!

I can also confirm that using the disable function works on both the browser and calender apps, you can't uninstall but it will accept disable - problem solved

boomboomer said:
I can also confirm that using the disable function works on both the browser and calender apps, you can't uninstall but it will accept disable - problem solved
Click to expand...
Click to collapse
Btw, there is not much difference in disabling and 'uninstalling' - i.e., don't think that
adb shell pm uninstall -k --user 0 <pkg-name>
would really remove the package from your system
It only uninstalls for the current user 0 - but the app is still available on the system for user 999
And the opposite command:
adb shell cmd package install-existing <pkg-name>
would reinstall it (for user 0), hence package was not really deleted from the system (to save some MBs or so)
---
The only differences between disabling and uninstalling (both make it for user 0) are
- Disabled apps are still visible in Settings, Apps and some of them can be re-enabled by click from there.
Playstore will show you an update of disabled app and if you want to prevent its automatic update (and re-enabling) you have to disable its auto-update in Playstore.
Similarly for System apps updater from Xiaomi (disable auto-updating and when it offers to update an app you have disabled, click to ignore the update)
- 'Uninstalled' ones are not visible in Settings, Apps. If you want to 're-install' them you have to remember what you have 'uninstalled'' and their package names.
Playstore and System apps updater will not bother you about their updates

Thanks, but this is just with the ADBFastbootTools.jar and the uninstall option failed for the new Mi Browser and Calender, but the disable option worked. Both are annoying bloatware that can't be fully removed without root, so this is the next best option.

Related

[Firmware] EMUI 8.1 / 9.0 Flash, Root and Downgrade Guide (L29C432/L29C636)

How to FLASH EMUI 8.1 / 9.0 including latest single base versions (build 197+)
Your device must have the following
1. Bootloader should be unlocked (if you have not already unlocked bootloader, there are paid services available)
2. Enable USB debugging in Settings > Developer options > USB debugging
3. Remove Fingerprint ID, Face lock and Lock screen password. This is very very important otherwise your device will be soft bricked
Firmware Download:
You can download ROM version that you want (EMUI 8.1 / 9.0) from this LINK
If you do not see latest EMUI 9.0 firmwares, use the links below,
EMUI 9.0 Build 204
EMUI 9.0 build 236
EMUI 9.0 build 241
EMUI 9.0 build 243
EMUI 9.0 build 251
Do not try to update to build 241 straight from EMUI 8.0. It will brick your device and you will end up with black screen. Update to build 195 and then update to any later builds.
Files that you will be downloading are,
>> Upto build 195
update.zip
update_full_CLT-L29_hw_eu.zip
>> After build 197 or later
update_full_base.zip
Preparation:
a. Download this Flash tool and extract to your PC
b. Copy downloaded Firmware files to ZIPS-HERE folder (you can find this folder where you have extracted Flash tool
How to flash Firmware
1. Double click to run the file cmd-here.exe. It opens command prompt in the same folder where you are.
2. Once command prompt opens, type FLASH_two_files.bat if you have multiple Firmware files (2 files) or FLASH_full_base.bat if you have single base file from latest EMUI 9.0. Follow steps carefully. Once flashing is complete, it will boot normally.
PLEASE NOTE THAT THIS METHOD OF FLASHING DO NOT WIPE DATA and all the installed apps will be intact. But you will loose ROOT. You have root again.
How to ROOT EMUI 8.1 / EMUI 9.0
For EMUI 8.1:
1. Download this TWRP and flash it in fastboot mode
2. Download Magisk from this LINK
3. Flash in TWRP (using the command fastboot flash recovery_ramdisk images/twrp.img). twrp.img is already in the Flash tool that you downloaded.
For EMUI 9.0: Thanks to @ArtaxXP for the findings and the post is here LINK
1. Pre-patch images you need for different version are below. You will be patching this file yourself with magisk canary version.
RECOVERY_RAMDIS_163.img
RECOVERY_RAMDIS_195.img
RECOVERY_RAMDIS_9.0_204.img
RECOVERY_RAMDIS_9.0_236.img
RECOVERY_RAMDIS_9.0_241.img
RECOVERY_RAMDIS_9.0_243.img
RECOVERY_RAMDIS_9.0_251.img
and copy this img to your device (these recovery_ramdisk file extracted from respective EMUI firmware UPDATE.APP)
2. Download and Install latest magisk manager
3. Open Magisk manager, go to settings > update channel > Custom and use the link below
https://raw.githubusercontent.com/topjohnwu/magisk_files/master/canary_builds/release.json
Click to expand...
Click to collapse
4. Go back to magisk manager default page and refresh (pull down). Install the latest magisk manager version when prompted. Now open magisk manager after installing the updated version and again pull down to refresh
5. Now you will be asked to download and flash the latest magisk version. Click on Install and when the next window comes choose "patch only the boot.img" option. Choose the image file that you have downloaded from the link in step 1 above
6. Wait until patching is complete. The patched image will be found in Download folder in your device. Copy this patched_boot.img to your PC in the same folder where you have extracted the Flash tool you used to flash the ROM
7. Reboot device to fastboot mode and flash patched_boot.img using
fastboot command ===> fastboot flash recovery_ramdisk patched_boot.img
Click to expand...
Click to collapse
8. Now issue command fastboot reboot. Quickly unplug USB cable and hold vol-up button. Now your device will be booted in to rooted ROM
Careful Note:
If you reboot your device normally, it boots in to non-rooted ROM.
To boot to rooted ROM, hold vol-up button until Huawei Logo appears while booting.
IF YOU HAVE PATCHED WITH LATEST MAGISK CANARY BUILD 18.2+, THEN YOU DON'T HAVE TO HOLD VOL UP BUTTON WHEN REBOOTING. JUST POWER YOUR DEVICE NORMALLY AND IT BOOTS IN TO ROOTED ROM
How to DOWNGRADE from EMUI 9.0 to EMUI 8.1 for ROOTED EMUI
1. Remove fingerpring, disable screenlock & password and app lock in Settings / Security & privacy. If you miss this step your device will be soft bricked.
2. Download from here / extract yourself EMUI 9.0 recovery_ramdisk from UPDATE.APP
RECOVERY_RAMDIS_195.img (EMUI 9.0 release 11.01.2019)
3. Flash this RECOVERY_RAMDIS_195.img in fastboot and restart your device normally.
Your device may boot in to eRecovery. Switch off and restart in to fastboot and flash this RECOVERY_RAMDIS_195.img again in fastboot
4. Folllow the steps explained in How to Flash section.
How to DOWNGRADE from EMUI 9.0 to EMUI 8.1 for Non-ROOTED EMUI
Folllow the steps explained in How to Flash section.
GENERAL TWEAKS
AdGuard DNS:
You can read here what is DNS and the goodies of changins it https://www.maketecheasier.com/best-alternate-dns-services/
If anyone wants to change DNS AdGuard which stops ads in browsing. Flash it in magisk. I have done two versions. Default version blocks ads but allows browsing explicit sites and Family Protection block every ads and also explicit contents.
Files attached are,
AdGuard_DNS_(Default).v0.zip
AdGuard_DNS_(Family_Protection).v0.zip
Removal of Apps via ADB command:
If anyone wants to remove bloatware (that you may consider bloat) follow the steps below,
Note: This command doesn't remove the app altogether from your device. It removes the app from the default user 0. To get the apps back, just factory reset your device.
1. Download and unzip ADB files [Link]
2. Make sure that you have enabled USB debugging from Settings / System / Developers options [google search and find how to enable Developer option]
3. Connect your phone to your PC. Go to the folder where you have extracted the file downloaded from step 1 above
4. Double click to run the file cmd-here.exe. It opens command prompt in the same folder where you are
5. Run the command, adb shell
6. Now you can start debloating the apps that you want to (see commands below)
pm uninstall -k --user 0 com.google.android.youtube [YouTube]
pm uninstall -k --user 0 com.android.egg [Easter Egg]
pm uninstall -k --user 0 com.huawei.gameassistant [Playstore Game]
pm uninstall -k --user 0 com.huawei.appmarket [Huawei App market]
pm uninstall -k --user 0 com.android.chrome [Google Chrome]
pm uninstall -k --user 0 com.google.android.apps.docs [
pm uninstall -k --user 0 com.google.android.apps.tachyon [Duo]
pm uninstall -k --user 0 com.android.email [Stock email]
pm uninstall -k --user 0 com.google.android.gm [Gmail]
pm uninstall -k --user 0 com.google.android.videos [Google Play Videos]
pm uninstall -k --user 0 com.google.android.music [Google Music]
pm uninstall -k --user 0 com.huawei.health [Huawei Health app]
pm uninstall -k --user 0 com.huawei.phoneservice [HiCare customer service app]
pm uninstall -k --user 0 com.android.soundrecorder [Stock sound recorder]
pm uninstall -k --user 0 com.huawei.hifolder [App Advisor]
pm uninstall -k --user 0 com.android.mediacenter [Huawei Music app]
pm uninstall -k --user 0 com.huawei.himovie.overseas [Huawei Video player]
pm uninstall -k --user 0 com.huawei.videoeditor [Huawei video editor]
pm uninstall -k --user 0 com.huawei.aod [Always on display]
pm uninstall -k --user 0 com.android.dreams.basic [Daydream]
pm uninstall -k --user 0 com.android.calculator2 [stock calculator]
pm uninstall -k --user 0 com.facebook.system [Facebook App Installer]
pm uninstall -k --user 0 com.facebook.appmanager [Facebook App manager]
pm uninstall -k --user 0 com.facebook.services [Facebook Services]
pm uninstall -k --user 0 com.huawei.android.FloatTasks [Navigation dock]
pm uninstall -k --user 0 com.huawei.livewallpaper.paradise [Paradise Wallpaper]
pm uninstall -k --user 0 com.huawei.android.thememanager [Themes]
If anyone find more debloats please share in this thread
Few debloats submitted by @moonshiner
pm uninstall -k --user 0 com.huawei.search
pm uninstall -k --user 0 com.huawei.hwid
pm uninstall -k --user 0 com.huawei.hitouch
pm uninstall -k --user 0 com.huawei.hidisk [files explorer]
pm uninstall -k --user 0 com.huawei.compass
Nice guide, thanks for the mention!
I should add I did not upload these files. They are from a link shared in the MOD EDIT: TELEGRAM LINK DELETED. Check it out as there's lots of useful information in there.
Oh man! Thanks for this! Just perfect! Loving it =)
dang, i flashed these files on my first day with the p20, on a unknown region (C605) and now i'm having to go through with this rebranding: https://forum.xda-developers.com/huawei-p20-pro/help/strange-rebrand-clt-l09-to-clt-29-c432-t3798978
never that easy, is it?
smohanv said:
Hi
Download Link:
CLICK HERE TO DOWNLOAD
Click to expand...
Click to collapse
Do you need to name the folder anything specific?
Or literally just download those files an put them into a random folder on your phone?
How does the script see them, just looking for some clarity on that.
I understand the process just not that step.
Cheers for the guide and for taking the time.
:good:
dladz said:
Do you need to name the folder anything specific?
Or literally just download those files an put them into a random folder on your phone?
How does the script see them, just looking for some clarity on that.
I understand the process just not that step.
Cheers for the guide and for taking the time.
:good:
Click to expand...
Click to collapse
Yes, Just put the Huru zip with the others files at same folder, the name doesnt matter.
You will Just install the Huru zip att custom recovery. =)
lfpecoraro said:
Yes, Just put the Huru zip with the others files at same folder, the name doesnt matter.
You will Just install the Huru zip att custom recovery. =)
Click to expand...
Click to collapse
Ah so you navigate and flash one at a time via twrp?
Thanks for clarifying
dladz said:
Ah so you navigate and flash one at a time via twrp?
Thanks for clarifying
Click to expand...
Click to collapse
You only select the HuRUpdater zip in twrp for flashing. The script automatically finds and flashes the other files.
Just make sure all the files are in the same folder (including HuRUpdater.zip). The folder can be called anything you want.
This stock ROM is very good and smooth. Any opinions?
Finally, received this via OTA
European model / Dual Sim (L29-C432)
is it normal to have " Chipset Boston 8.1.0.001 (011S3)" in build number ?
After the update I mean
any advantage of upgrading from 131 to 131a?
scook94 said:
any advantage of upgrading from 131 to 131a?
Click to expand...
Click to collapse
I flashed this yesterday. Honestly can't notice any difference. Build number still states 131...
Similarly I upgraded and don't see any difference, probably minor backend stuff. I think it's only really worth upgrading once a month when the new security patch comes. All the hassle for these small incremental updates isn't really worth it.
Hi guys, I have p20 pro l29 c432.
when I finished flashing huru.zip I reboot phone on twrp. Now phone is bricked
Can you help me please?
Matias94pl said:
Hi guys, I have p20 pro l29 c432.
when I finished flashing huru.zip I reboot phone on twrp. Now phone is bricked
Can you help me please?
Click to expand...
Click to collapse
Same here :/
stock rom starts but is stuck after selecting WiFi (skipping doesn't work, some security bla about the necessity to verify via google account), it's stuck in "just a sec..." forever.
eRecovery also doesn't work, saying "failed to get package info" whenever I try.
Anyone with a solution?
Infyrana said:
Same here :/
stock rom starts but is stuck after selecting WiFi (skipping doesn't work, some security bla about the necessity to verify via google account), it's stuck in "just a sec..." forever.
eRecovery also doesn't work, saying "failed to get package info" whenever I try.
Anyone with a solution?
Click to expand...
Click to collapse
Try to clean cache in erecovery and try again. Helped me with a different problem but maybe it works for you as well.
reppi said:
Try to clean cache in erecovery and try again. Helped me with a different problem but maybe it works for you as well.
Click to expand...
Click to collapse
Thanks, but I tried that already, otherwise it wouldn't even start to try getting the recovery package ..
Is debranding necessary to flash this ROM? I'm on CLT-L04 8.1.0.109(C792), been learning Huawei's intricacies but still not understanding the debranding thing and keep hearing it tossed around. Are the ROMs themselves region locked or something?
djparent said:
Is debranding necessary to flash this ROM? I'm on CLT-L04 8.1.0.109(C792), been learning Huawei's intricacies but still not understanding the debranding thing and keep hearing it tossed around. Are the ROMs themselves region locked or something?
Click to expand...
Click to collapse
Yes you do. You need to debrand.. Search for the thread in this Forum. You have to debrand to C432. Check your version from settings.

[SOLVED] FindDevice may cause a boot loop?

Hello.
I uninstalled Find Device (pm uninstall -k --user 0 com.xiaomi.finddevice) to avoid its periodic enabling reminders.
However now sometimes "find device has been destroyed" appears as a toast. Also the Security Status in the Settings now crashes.
After finding this message (despite it is other phone model) I'm frightened about a future reboot of my phone. Can my phone really enter in a boot loop the next time I reboot? I have the miui optimization disabled, though.
I have tried to install it back, downloading the 9.0 apk, but it says INSTALL_FAILED_ALREADY_EXISTS. Using the "-r" switch also doesn't works ("com.xiaomi.finddevice is a persistent app. Persistent apps are not updateable"). I assume that this is due to haven't erased the app data (uninstalled with -k) but "pm clean" doesn't seems to clean it. I also have tried the -p option for partial installation, but returns a null exception.
Ah, my device is not rooted. MIUI Global 10.2 stable.
I managed to restore the application with the following adb command:
Code:
pm install-existing com.xiaomi.finddevice
It also works with applications uninstalled without "-k 0".
By the way, I used to use "pm disable", but now it seems it is called "pm disable-user".
So, next time I'll preferably use it instead of uninstalling, if works as expected.
Note that it doesn't allows to disable finddevice:
Code:
$ pm disable-user com.xiaomi.finddevice
Package com.xiaomi.finddevice new state: default
The package still continues in default state, unlike when it actually works:
Code:
$ pm disable-user com.miui.player
Package com.miui.player new state: disabled-user
Credits for these great discoverings to this blog post (eskerahn.dk/wordpress/?p=2462) [add the https prefix, I can't yet post urls!]
is there a any way to uninstall this application without trouble (without bootloop)?
i have the same question is there a any way to uninstall this application without trouble (without bootloop)?
If it doesn't boot, it's awesome tho.
Without modifying the vendor ROM image there is no way to get rid of it.

Debloating MIUI without Root Access (Manual Method)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Tired of all the pre-installed applications that come with your new phone. Most of them tend to be useless and some tend to be on annoying side with push notifications and battery drains.
One way to get rid of all these intruders is to root your device and delete them using some application or manual purge. Not everyone is comfortable with rooting and it's risks. Also, rooting is not an option on many phones coz of limited support from the developer community. Does that mean one has to learn to live with the bloat?
Thankfully, No. You can get rid of them with the use of ADB (Android Debugging Bridge). The method is safer than manual purge and would not break any system variables, allowing to keep accepting OTAs w/o any issues.
Let's Debloat your Phone.
Note: This method works on every OEM rom as well as custom rom without root access.
Requirements:
Android Platform Tools
Prerequisites:
Disable "App Vault", "Swipe up for google", "Wallpaper Carousel", "Find Device", "Mi Sync"(Don't confuse Mi Sync and Google Sync though)
Follow the steps carefully :
Initial Setup
1. Go to About Phone in Settings.
2. Tap on MIUI version/Build version until it shows You're now a developer. It might ask for password in some cases.
3. Go to Settings>Additional Settings>Developer Options or Settings>System>Developer Options.
4. Enable USB Debugging, Install via USB, USB Debugging(Security Settings). Accept all the prompts thrown.
Note: Most ROMs will only have USB Debugging toggle.
Note: On MIUI, the above step requires an MI Account.
Main Process
Connect your device to the PC now. Recommend using a good quality USB cable for this.
1. Extract the platform tools zip. Navigate to the folder.
2. Shift+Right click and select open command window here.
3. Type adb devices
4. Grant authorization on your phone.
5. Type adb devices again and ensure that it shows your device as connected and authorized.
Note: If your device doesn't show up, you might need to install latest USB drivers for your phone. It usually happens automatically if you have an updated OS. If that's not the case, use this and install the USB drivers.
6. Type adb shell.
7. Type
Code:
pm list packages | grep 'mi'
Here mi is a keyword. You can replace it with whatever you want. This command would return all packages which have the phrase mi in their name.
Type
Code:
pm list packages
for complete list of installed packages.
8. Type
Code:
pm uninstall -k --user 0 <package-name>
Replace the <package-name> with the package you want to remove. The names can be obtained from the list command in the previous step.
Tip: Package name can be found in app list. Just tap on the small 'i' icon on the top right corner of each app page on MIUI. On custom roms, it's usually given at the bottom.
Tip : If you can't see all apps. Tap on the three dots in the top corner on "Manage Apps" page and tap "Show All Apps". SImilarly on custom roms, it can be achieved by selecting "Show System Apps".
I'm not going to cover all the OEMs or Custom Roms. The process is similar across all OEMs and Custom Roms. Packages that are safe to remove on MIUI are given below:
(Skip to the next step if you're not on MIUI)
- Cleaner
Code:
com.miui.cleanmaster
- Tracking Application
Code:
com.miui.daemon
- Ad Serving Application
Code:
com.miui.msa.global
- Xiaomi System Webview
Code:
com.mi.webkit.core
- Tracking Application
Code:
com.xiaomi.joyose
- Facebook Bloat
Code:
com.facebook.services
- Facebook Bloat
Code:
com.facebook.appmanager
- Facebook Bloat
Code:
com.facebook.system
- Tracking Application
Code:
com.miui.analytics
- Wallpaper Carousel
Code:
com.miui.android.fashiongallery
- ShareMe/Mi Drop
Code:
com.xiaomi.midrop
- Broswer with Ads
Code:
com.android.browser
- Calendar with Ads
Code:
com.android.calendar
- Tracking Application
Code:
com.miui.bugreport
- Tracking Application
Code:
com.xiaomi.glgm
- Tracking Application
Code:
com.miui.yellowpage
- Weather Application
Code:
com.miui.weather2
- Tracking Application
Code:
com.miui.miservice
- Music player with Ads
Code:
com.miui.player
- Mi Pay
Code:
com.mipay.wallet.id
- Mi Pay
Code:
com.mipay.wallet.in
- Mi Pay
Code:
com.xiaomi.payment
- Quick Apps
Code:
com.miui.hybrid
- Quick Apps Addon
Code:
com.miui.hybrid.accessory
- Video Player with Ads
Code:
com.miui.videoplayer
- GetApps
Code:
com.xiaomi.mipicks
- Translation Service
Code:
com.miui.translation.kingsoft
- Translation Service
Code:
com.miui.translation.youdao
- Translation Service
Code:
com.miui.translation.xmcloud
- Translation Service
Code:
com.miui.translationservice
- Mi Doc Viewer (XPS based)
Code:
cn.wps.xiaomi.abroad.lite
- Recycle Service
Code:
com.xiaomi.mirecycle
- Ad based App Installer
Code:
com.miui.global.packageinstaller
- Auto Installs from Play Store
Code:
android.autoinstalls.config.Xiaomi.ginkgo
- App Vault
Code:
com.mi.android.globalminusscreen
- Mi Credit
Code:
com.micredit.in
- Mi Health
Code:
com.mi.health
- Downloads Application with Ads
Code:
com.android.providers.downloads.ui
(make sure you have an alternate file explorer installed before you uninstall the next one)
- Ad based File Explorer
Code:
com.mi.android.globalFileexplorer
Google BloatWare
A few Google Applications that always come pre-installed :
- Youtube
Code:
com.google.android.youtube
- Hangouts
Code:
com.google.android.talk
- Play Movies & TV
Code:
com.google.android.videos
- Google Duo
Code:
com.google.android.apps.tachyon
- Google Chrome
Code:
com.android.chrome
- Google Search Application
Code:
com.google.android.googlequicksearchbox
- Digital Wellbeing
Code:
com.google.android.apps.wellbeing
- Android Feedback
Code:
com.google.android.feedback
- Talkback
Code:
com.google.android.marvin.talkback
Note: Removal of Google Search App will Remove Assistant and Google search.
Conclusion
This is not a complete list. You can remove anything that you find annoying using these commands. Just replace the package name with the package you wish to remove.
However, removing some apps could cause issues. Stay away from MI Account, Security and Google Services related apps. If you accidentally remove something and end up experiencing crashes, please follow the following steps.
Type
Code:
adb shell
.
Type
Code:
cmd package install-existing <name-of-package>
Replace <name-of-package> with the name of the package to be restored.
Note : The method doesn't delete the application. It only changes the permissions of each package and hides it in the system. A Factory Reset, OTA update or a Reinstall would restore the application. Also, if you create a new user, he would have access to the removed applications.
MOD EDIT: Telegram link removed, please read the STICKY!
Reserved
using this much easier and faster https://github.com/Szaki/XiaomiADBFastbootTools
if i remember correctly when i was on miui (ginkgo)
i removed "Find Device" and the phone stay in bootloop
anyway ...
the command : pm uninstall -k --user 0 <package-name>
can remove app for user 0
but what if i want to remove the app for all users ???
nneko904 said:
using this much easier and faster https://github.com/Szaki/XiaomiADBFastbootTools
Click to expand...
Click to collapse
It's personal choice. The tool does the same thing. This is for people who want to do it manually without a tool.
Also that tool is specific to the xiaomi devices to an extent. You can use this on any android smartphone. This doesn't have java dependencies as well.
loopypalm said:
if i remember correctly when i was on miui (ginkgo)
i removed "Find Device" and the phone stay in bootloop
anyway ...
the command : pm uninstall -k --user 0 <package-name>
can remove app for user 0
but what if i want to remove the app for all users ???
Click to expand...
Click to collapse
You can't remove an app completely from the system without root access. If you have a second user, you have to remove it for other users as well.
And I haven't mentioned find find device anywhere.
Great, debloated here. Missed play music only.
uncannyjish said:
And I haven't mentioned find find device anywhere.
Click to expand...
Click to collapse
you mentioned it in prerequisites , i tought u r goin to remov it ...
uncannyjish said:
You can't remove an app completely from the system without root access. If you have a second user, you have to remove it for other users as well..
Click to expand...
Click to collapse
i have root access,and no 2nd user
when i use the comand the app is removed just for user 0 but it stays in the system
thats why i asked for a comand to remove it completely
loopypalm said:
you mentioned it in prerequisites , i tought u r goin to remov it ...
i have root access,and no 2nd user
when i use the comand the app is removed just for user 0 but it stays in the system
thats why i asked for a comand to remove it completely
Click to expand...
Click to collapse
Well if you're have root, and can mount system as rw. You could use some root explorer and remove the apk's and there folder. But doing this prevents the ability for OTA update because now the system is changed.
The space saved by doing this is so tiny, you will never notice it.
---------- Post added at 05:22 PM ---------- Previous post was at 04:53 PM ----------
uncannyjish said:
Note : The method doesn't delete the application. It only changes the permissions of each package and hides it in the system. A Factory Reset, OTA update or a Reinstall would restore the application. Also, if you create a new user, he would have access to the removed applications.
Click to expand...
Click to collapse
Very nice thread.
FYI, I have been doing this on stock ROMs for long time. It's nice to see a listed description.
FYI, with this adb method , your debloated apps will remain gone after an OTA update. At least for me they do.
mrmazak said:
Well if you're have root, and can mount system as rw. You could use some root explorer and remove the apk's and there folder. But doing this prevents the ability for OTA update because now the system is changed.
The space saved by doing this is so tiny, you will never notice it
Click to expand...
Click to collapse
i use custom rom and i don't want OTA
i asked for the command because it remove the app + data
i can delete the app manualy by browsing system/app or priv app but i have to look for eatch app data folder
loopypalm said:
i use custom rom and i don't want OTA
i asked for the command because it remove the app + data
i can delete the app manualy by browsing system/app or priv app but i have to look for eatch app data folder
Click to expand...
Click to collapse
Well if you are concerned about the app data being left. Just run the command as in the . OP bit leave the "-k" off. This part of the command is (keep) , it keeps the user data on device. If you run the command without the -k, then it does not keep data.
loopypalm said:
i use custom rom and i don't want OTA
i asked for the command because it remove the app + data
i can delete the app manualy by browsing system/app or priv app but i have to look for eatch app data folder
Click to expand...
Click to collapse
Try running adb root and use the uninstall command on the package without the flags. Since you're rooted, it might just remove app + data.
godoy.rafa said:
Great, debloated here. Missed play music only.
Click to expand...
Click to collapse
Find the package name and remove it. I already explained all command
loopypalm said:
you mentioned it in prerequisites , i tought u r goin to remov it ...
i have root access,and no 2nd user
when i use the comand the app is removed just for user 0 but it stays in the system
thats why i asked for a comand to remove it completely
Click to expand...
Click to collapse
I asked everyone to disable those stuff, so to prevent any app from returning.
mrmazak said:
Well if you are concerned about the app data being left. Just run the command as in the . OP bit leave the "-k" off. This part of the command is (keep) , it keeps the user data on device. If you run the command without the -k, then it does not keep data.
Click to expand...
Click to collapse
i know, i asked for a command that remove the app completly not only for "user 0" and it seems no one knows it
Can i remove gallery? Is it safe? I mean com.miui.gallery .
OliveReeve said:
Can i remove gallery? Is it safe? I mean com.miui.gallery .
Click to expand...
Click to collapse
yes
OliveReeve said:
Can i remove gallery? Is it safe? I mean com.miui.gallery .
Click to expand...
Click to collapse
better not, there's several problems user reported when they remove it
there's many thread over which app you could remove and shouldn't, i recommend you should go search them
nneko904 said:
better not, there's several problems user reported when they remove it
there's many thread over which app you could remove and shouldn't, i recommend you should go search them
Click to expand...
Click to collapse
What problems are related to miui gallery removal? Please tell me I don't want to search over whole xda. It is probably bootloop too but I am not sure (hint from some github page).
---------- Post added at 11:27 AM ---------- Previous post was at 11:24 AM ----------
If I get it it to bootloop by debloating, Can I fix it by adb? I know that I can reinstall app back by adb. I don't have root and twrp so far. Does it respond to adb during this bootloop?
OliveReeve said:
What problems are related to miui gallery removal? Please tell me I don't want to search over whole xda. It is probably bootloop too but I am not sure (hint from some github page).
---------- Post added at 11:27 AM ---------- Previous post was at 11:24 AM ----------
If I get it it to bootloop by debloating, Can I fix it by adb? I know that I can reinstall app back by adb. I don't have root and twrp so far. Does it respond to adb during this bootloop?
Click to expand...
Click to collapse
If you get bootloop from adb app uninstall, you will not get to use adb. Factory reset from recovery will undo the changes.
As for the gallery apk. I had removed it and was no longer able to save any photos, from any camera. I was not able to delete files from device either. The gallery app is somehow forced into needed for /sdcard file permissions. You can set it to "adb hide". If you don't want to see it

What is the best tool / app to backup a Xiaomi Mi 9 lite (MIUI 12)?

Hi,
title says it all: I want to delete the bloatware on the Mi 9 lite (MIUI 12)
is there a special tool or app which is suggested and well documented, how to safe my Data? I installed it now 4 times and I am getting tired of reinstalling and changing all the options, so if someone could suggest me a tool I would be very happy.
I rooted it with:
- TWRP (is this usable to create a backup and is it easy to reimport it?=
- Magisk Manager
I want to use following method to get rid of the bloatware:
adb devices
adb shell
pm uninstall --user 0 com.miui.msa.global
pm uninstall --user 0 com.miui.cloudservice
...
Click to expand...
Click to collapse
thank you very much for your help
V2020 said:
Hi,
title says it all: I want to delete the bloatware on the Mi 9 lite (MIUI 12)
is there a special tool or app which is suggested and well documented, how to safe my Data? I installed it now 4 times and I am getting tired of reinstalling and changing all the options, so if someone could suggest me a tool I would be very happy.
I rooted it with:
- TWRP (is this usable to create a backup and is it easy to reimport it?=
- Magisk Manager
I want to use following method to get rid of the bloatware:
thank you very much for your help
Click to expand...
Click to collapse
I use this tool on my own device:
https://github.com/Szaki/XiaomiADBFastbootTools
Edit: To reinstall a removed app:
adb shell cmd package install-existing <package.name>
Click to expand...
Click to collapse
Saber said:
I use this tool on my own device:
https://github.com/Szaki/XiaomiADBFastbootTools
Edit: To reinstall a removed app:
Click to expand...
Click to collapse
Hi, do you use MIUI 12 or 11?

Removing BLoatware

I found a nice and easy way to get rid of bloatware, WITHOUT root, and using Rakesh's bloatware list.
How To Remove Bloatware From Any Xiaomi Devices (Without Root): Easiest Way!
Have you just gotten a new phone and is it already filled up with a bunch of spooky apps preinstalled? Have you tried long pressing and dragging them up your screen to uninstall? Alas! There isn’t …
technolobe.com
Xiaomi Bloatware List | Remove Bloatware on MIUI 14/13/12
Find the list of safe-to-remove Xiaomi and MIUI bloatware. Learn how to uninstall system apps on MIUI 14, 13 & 12 via Xiaomi ADB/fastboot tools.
technastic.com
But when I try it, I get stuck after installing Java SE Development Kit–and Xiaomi ADB/Fastboot Tools, when the software will not recognize my phone. (USB debugging was done)
This is new phone. What else do I need to have, before this will work? Some accounts? A simcard??
Thank You
I guess adb drivers are missing. To installing that. And why don't you use simple adb after installing drivers.
Adb shell
Pm uninstall --user 0 <package name>
Pm uninstall -k --user 0 <package name>
Would recommend first one, second retains cache and some data.
Yes it's a less intuitive way, but I prefer this doing everything myself, at least trying to rely on less and less dependencies.
But using adb doesn't free up space, it's more like it just disables app, the only difference is that in both the cases APK is still in system, just don't show up in settings like as it will remain shown when disabled.
Applepear said:
I guess adb drivers are missing. To installing that. And why don't you use simple adb after installing drivers.
Adb shell
Pm uninstall --user 0 <package name>
Pm uninstall -k --user 0 <package name>
Would recommend first one, second retains cache and some data.
Yes it's a less intuitive way, but I prefer this doing everything myself, at least trying to rely on less and less dependencies.
But using adb doesn't free up space, it's more like it just disables app, the only difference is that in both the cases APK is still in system, just don't show up in settings like as it will remain shown when disabled.
Click to expand...
Click to collapse
Of course it uses ADB......
No I meant why use .jar program? Ok some people prefer easiness
I have posted the thread some weeks ago and for me it works without any issues.
Miui system apps which are safe to remove
Hello Found this very great thread here in other Xiaomi device forum,so please dont hit thanx here. Have tested and its working good for me even on Miui 12.Have fun.Cheers...
forum.xda-developers.com
-CALIBAN666- said:
I have posted the thread some weeks ago and for me it works without any issues.
Miui system apps which are safe to remove
Hello Found this very great thread here in other Xiaomi device forum,so please dont hit thanx here. Have tested and its working good for me even on Miui 12.Have fun.Cheers...
forum.xda-developers.com
Click to expand...
Click to collapse
Thank you for that list.
My problem is different..... I already have a list and I will of course compare it with yours. What I do not have is ACCESS.
The "usual" system, which I found here:
Does not recognize my phone. Probably, because I use no google or any other accounts. So I need to know what is needed to to access the bloatware, no matter what list I use...

Categories

Resources