yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 9 Guides, News, & Discussion] karadavuti:
Commands on Terminal Emulator

Dear All,

I have an unlocked and rooted Mi 9. Can I enter these commands on phone via Terminal Emulator such as Termux etc.

During command entry, do I need to get root permissions?

In addition, what is the cause of boot loops during uninstall? Shall we use completely uninstall or disable apps?

Thanks in advance,

Regards,
[Xiaomi Mi 9 Guides, News, & Discussion] _MartyMan_:
You could try but i recommend using ADB because it was tested that way. Also i don't recommend using root to uninstall apps by any form, it will likely end in a bootloop.

This list will completely uninstall, but you could rewrite if you want to just disable the apps it's up to you.
[Xiaomi Mi 9 Guides, News, & Discussion] 4Freedom:
This is an "extream" debloat.

So, be aware.

I think this is too much for most of people.

It may break system functionality or end in bootloop.

Why remove emergency support?

com.android.emergency

Why remove printer functionality?

com.android.printspooler

Why remove NFC tag?

com.android.apps.tag

Why remove sim toolkit?

com.android.stk

Why remove bluetooth config?

com.android.bluetoothmidiservice

Why remove emergency cell broadcast?

com.android.cellbroadcastreciever

Why remove print service?

com.android.bips

Why remove system webview?

com.android.webview

Why remove documents picker?

com.android.documentsui

Why remove SIM preconfig

com.sec.android.AutoPreconfig

Why remove sound picker?

com.google.android.soundpicker

Why remove setup wizard?

com.google.android.setupwizard

Remove this functionality only if you know what you are doing, you may break other apps or create others problems...

Some apps are not needed and it's ok to remove them but not everything
[Xiaomi Mi 9 Guides, News, & Discussion] nike1973:
Hello, could someone explain this to me please, "- Type adb shell Warning: since MIUI 11, DO NOT use adb shell in its mode !!! It also seems that any application removed by root will cause a bootloop to fastboot mode in MIUI 11." . I am a beginner, I would like to remove all the xiaomi apps that I do not use. "

Someone has already tried it on miui 11.

Currently I have :

Miui 11.0.5. no root - bootloader locked

Thanks for your help.
[Xiaomi Mi 9 Guides, News, & Discussion] _MartyMan_:
These are included because i don't see their purpose. Everything works after removing, and if you need something back, (for ex. Webview) you can get it on Google Play.

Feel free not to remove these if you need them, that's it
[Xiaomi Mi 9 Guides, News, & Discussion] _MartyMan_:
As you have no root nothing wrong should happen. Just follow the instructions :good:
[Xiaomi Mi 9 Guides, News, & Discussion] _anto_:
It works on debloating the system apps on the First Space of my Mi 9 Lite running MIUI Global 11.0.1.

But every time I tried to debloat the system apps on the Second Space, they get reinstalled again after I reboot my phone.

Does anybody have any solution to permanently uninstall the system apps on the Second Space like the ones on the First Spaces?

Thanks a lot in advance.
[Xiaomi Mi 9 Guides, News, & Discussion] 4Freedom:
If you don't see the purpose, it doesnt mean that they have not a purpose. :eek:

Did you try to print?

NFC?

How do select a file to upload to a website if you delete file picker? :confused:

What? Except webview, none of others app in the list I posted above is available on play store ??? :eek::eek:

Obviously! :good:
[Xiaomi Mi 9 Guides, News, & Discussion] nike1973:
Hello, excellent project, thanks for the prompt response, I still have some questions.

1) Does a factory reset reset the apps or remove them permanently?

2) can I delete everything about "# Xiaomi / MIUI / Baidu stuff" without any bootloop or bug? (pm uninstall --user 0 com.xiaomi.simactivate.service = if I remove it I will run out of mobile service?)

3) The whole list, are apps that can be removed without any problem?

Thank you very much, have a nice day.
[Xiaomi Mi 9 Guides, News, & Discussion] _anto_:
I did factory reset several times. All apps will be available again after that.

I think this depends on what you need. For instance, if you don't need Xiaomi Account then you can uninstall com.xiaomi.account. The impact is that you can not even access it from your Settings.

About com.xiaomi.simactivate.service, I also want to uninstall it as for me it does not make sense that I have to register my number in Xiaomi server. As SIM cards are shared between First Space and Second Space, I don't want to activate my SIM cards yet until I can uninstall all system apps from the Second Space without having them getting reinstall again after reboot.

By the way, I had bootloop after I uninstalled com.xiaomi.finddevice. So I have to keep it.
[Xiaomi Mi 9 Guides, News, & Discussion] 4Freedom:
Problems may appears.

As i said before IMHO It's not recommended to remove those packages.

emergency

com.android.emergency

printer functionalit

com.android.printspooler

NFC tag

com.android.apps.tag

sim toolkit

com.android.stk

bluetooth config

com.android.bluetoothmidiservice

emergency cell broadcast

com.android.cellbroadcastreciever

print service

com.android.bips

system webview

com.android.webview

Documents picker

com.android.documentsui

SIM preconfig

com.sec.android.AutoPreconfig

sound picker

com.google.android.soundpicker

setup wizard

com.google.android.setupwizard
[Xiaomi Mi 9 Guides, News, & Discussion] orawnnd:
Thanks for the debloat list. What is the command to reinstall an app? I accidently uninstalled the pdf viewer and calendar and want to reinstall it.
[Xiaomi Mi 9 Guides, News, & Discussion] losthero15:
Maybe try this.

https://android.stackexchange.com/q...l-an-accidentally-uninstalled-app-through-adb
[Xiaomi Mi 9 Guides, News, & Discussion] _MartyMan_:
For me, everything from the list can be removed and no bootloop.
[Xiaomi Mi 9 Guides, News, & Discussion] nike1973:
Hello, in my case, after trying and reinstalling everything, I came to this conclusion:

- #Google apps: it is safe to delete everything.

- # Other stuff: it is safe to delete everything.

- # Xiaomi / MIUI / Baidu stuff: pm uninstall --user 0 com.xiaomi.finddevice this was the cause of the bootloop (I did not have the MI account activated on the device), apart from that everything can be safely removed.

- #Android apps: Do not delete as it gave me some errors or small crashes.

Thanks I hope it will serve someone.
[Xiaomi Mi 9 Guides, News, & Discussion] loopypalm:
Hi ^..........^ !

1-Does this work on any redmi xiaomi device ? (i have redmi note 8)

2-does it remove the "app + it's data" or just the "app" alone ?

3-is there any "EXTREME extreme version" ?

i want to remove everything except the important system stuff (i have my own launcher + file explorer ....) + i don't want any Gapp

EDIT :

NOT compatible with Redmi note 8 -_____- ! (phone will not boot)
[Xiaomi Mi 9 Guides, News, & Discussion] Z750z:
Can I use this on redmi note 7 lavender, miui 11 Android 10, ?
[Xiaomi Mi 9 Guides, News, & Discussion] mixxx5:
Hi, can I remove weather aplication with this?
[Xiaomi Mi 9 Guides, News, & Discussion] Rajeev:
U can disable it via Xiaomi adb fastboot tool jar file.

https://github.com/Szaki/XiaomiADBFastbootTools/releases/download/7.0/XiaomiADBFastbootTools.jar

Need latest java / jdk installed
[Xiaomi Mi 9 Guides, News, & Discussion] mixxx5:
It can... Every other ap can remove, this one can't.

I tried everything, try update from apkmirror and then remove with this, amd still can't. And plus have issue after update, can't run weather aplication, it say instales from unofficial source.

---------- Post added at 08:44 PM ---------- Previous post was at 08:41 PM ----------

It can't ... Every other app can remove, this one can't.

I tried everything, try update from apkmirror and then remove with this, and still can't. And plus have issue after update, can't run weather aplication, it say instales from unofficial source.
[Xiaomi Mi 9 Guides, News, & Discussion] Rajeev:
U can disable whatever app u can with above tool i shared. Simply disable it. If remove not work
[Xiaomi Mi 9 Guides, News, & Discussion] mixxx5:
Actually, I want use this aplication... Clock and wether widget... But can't start.. It say not installed from official source.

Updates can't be unistalled... Tried to remove, to install original version....

Any idea how do that.
[Xiaomi Mi 9 Guides, News, & Discussion] hpto:
I want to remove only the knowed as rogue/spy/telemetry ones, from Stock MIUI... Could someone help me?
[Xiaomi Mi 9 Guides, News, & Discussion] ferk42:
the download link is down
[Xiaomi Mi 9 Guides, News, & Discussion] _MartyMan_:
Added pastebin link :good:
[Xiaomi Mi 9 Guides, News, & Discussion] Mike2030:
1. Can't transfer apps to SD card....Sandisk Pro? in my New Xiaomi Redmi Note 9 Pro.

2. Some useless Mi app, like Ytube, Mi Credit, Compass, Mi mover, Remote, etc that wont go and some useless games....how can one rid these....How does one debloat these required apps??

3. 2 apps, G Chrome and Android System web view won't update??

Thanks.
[Xiaomi Mi 9 Guides, News, & Discussion] lambell2908:
I cannot view or download pastebin link. Pls up it agian, thanks!:good:
[Xiaomi Mi 9 Guides, News, & Discussion] tol3do:
link off
[Xiaomi Mi 9 Guides, News, & Discussion] trd3v3lop:
Hello thanks for great work, can you create a gist because pastebin link is not working too
[Xiaomi Mi 9 Guides, News, & Discussion] 13Neo13:
Dear _MartyMan_,

Thanks for creating this.

Do you have a full clean listing of all Global MIUI 12 apps (at clean install state)?

Also, is there any way we can retrieve back com.android.bips and com.android.printspooler, or any other android app that has been uninstalled (not just disabled)?

I have removed tons of apps, including dialer, messaging, etc and almost have no MIUI or Google apps on my phone and is working fine. As you correctly noted, if you take a minute or two to see what you are removing, you can not go wrong! :)

Thanks!
[Xiaomi Mi 9 Guides, News, & Discussion] @kitokit:
Can you share the list of apps you removed? I am also running MIUI 12 Global and planing to debloat it. I just want to be safe. Doesn't require a unlocked bootloader right?
[Xiaomi Mi 9 Guides, News, & Discussion] Mike2030:
Hi,

Just got a Xiaomi Redmi Note 9 Pro.

Any one care to list what stock apps could I safely remove?

What apps do I need to get a clean debloated MIUI 11.

Thanks.

---------- Post added at 09:45 AM ---------- Previous post was at 09:35 AM ----------

Hi there,

Neither the Extreme debloat txt opens nor doe the QR scan..........

Wanna debloat my Redmi Note 9 Pro.

Thanks.
[Xiaomi Mi 9 Guides, News, & Discussion] 13Neo13:
Hi guys,

As _MartyMan_ already noted you should first backup your phone and while some apps might not be needed for some of us, for others are quite useful. I, for example, have removed mail app (using FairMail), removed dialer (using Simple Dialer), removed massaging (using QKSMS), removed calendar, gallery, camera and so on but I am not sure that everyone whants to do this.

I do not have the full list of apps that I have removed, but I am attaching some of them (quite safe list), even though _MartyMan_ list is pretty complete.

I would suggest to export the full listing of installed apps using

adb shell pm list packages

and take a look what it's in there.

Keep in mind that whatever you remove is at your own risk.

EDIT: Bootloader does not need to be unlocked

Cheers!
[Xiaomi Mi 9 Guides, News, & Discussion] _MartyMan_:
Here's the pastebin link again: https://pastebin.com/qWcqfj5v
[Xiaomi Mi 9 Guides, News, & Discussion] 13Neo13:
You can also check Saki's Tool. It works for all Xiaomi phones
[Xiaomi Mi 9 Guides, News, & Discussion] stoshie:
This is false.

Below is a brilliant Magisk debloater by veez21 that allows rooted phones to debloat and reinstall those same uninstalled apps without fear of bootloops or bricking.

https://xdaforums.com/apps/magisk/module-terminal-debloater-debloat-t3584163
[Xiaomi Mi 9 Guides, News, & Discussion] 4r44444:
Anyone an create flash able zip? My pc dead
[Xiaomi Mi 9 Guides, News, & Discussion] _MartyMan_:
Sorry guys but don't remove Application Extension Service aka com.xiaomi.contentcatcher!! Battery saver won't work without it! I'll upload a new file later today.

EDIT: v2.11 is up
[Xiaomi Mi 9 Guides, News, & Discussion] A22A33A:
Hello,

today i noticed that Battery saver doesn't work. I installed Application Extension Service (com.xiaomi.contentcatcher) again and also Battery and Performance (com.miui.powerkeeper). I always get the bug libpowerkeeper_jni.so needed, when I try to open the app powerkeeper. Does anyone have an idea?

Thank you.
[Xiaomi Mi 9 Guides, News, & Discussion] _MartyMan_:
If i were you i would reflash the whole rom just to be sure...
[Xiaomi Mi 9 Guides, News, & Discussion] zgfg:
User apps (installed to /data) can be uninstalled from Settings/Apps

System apps (adb method does not work for all, neither pm disable-user nor pm uninstall -k --user 0) can be debloated systemlessly by Magisk module (configurable list of cca 50 safe system apps included):

https://xdaforums.com/mi-9t/how-to/magisk-module-systemless-debloater-t4180083

Systemless means that by reconfiguring the input list previously debloated apps will be un-debloated (while the other system apps can be put to debloat).

Or by disabling the module, all apps will be simply un-debloated - hence no risk for permanent demage
[Xiaomi Mi 9 Guides, News, & Discussion] neves4:
Guys, I accidentally removed com.miui.face, which was listed in another tutorial. I think it broke my face unlock, which I use frequently. Any ideas how could I install it?

There's an apk called MIUIBiometrics which should be the same as com.miui.face. Tried to install it via ADB, to no avail:

Also tried normally, which could'nt complete.

Any tips would be appreciated.

Thanks!
[Xiaomi Mi 9 Guides, News, & Discussion] zgfg:
Some recommend whatever for 'debloating' - maybe they would be most happy with formating System to get rid of everything

If you 'uninstalled' by:

adb shell pm uninstall -k --user 0 ...

then the package is still there and you must use (for the same package name):

adb shell cmd package install-existing ...
[Xiaomi Mi 9 Guides, News, & Discussion] neves4:
[MENTION=7786725]zgfg[/MENTION] haha, indeed they would.

Your recommendation worked like a charm.

Thanks a lot and have a good one!
[Xiaomi Mi 9 Guides, News, & Discussion] ketogeno:
Fantastic script. Keep on trimming that ugly fat from Xiaomi.eu ;)

Thanks!
[Xiaomi Mi 9 Guides, News, & Discussion] TheGrave:
More updates after I found out some stuff gets broken by this script. Note added lines at the end - all Google apps (except Play Store) are wiped clean. There is a working open-source alternative for each of them in F-Droid. Bear in mind SimpleDialer apps fails to request permissions to show pop-up/floating notifications (on lock screen too) so you need to enable them manually.

Btw System Update is broken by something coming from the original script, any clue which package(s) should not be removed?
[Xiaomi Mi 9 Guides, News, & Discussion] ketogeno:
What do I need to keep for google sync to work? Calendar, contacts etc...?
[Xiaomi Mi 9 Guides, News, & Discussion] ketogeno:
Why do you remove completely wallpaper feature?
[Xiaomi Mi 9 Guides, News, & Discussion] _MartyMan_:
It isn't completely removed, you can still choose wallpapers. (at least in Paranoid Android, crDroid, and xiaomi.eu)
[Xiaomi Mi 9 Guides, News, & Discussion] Cyber.Cat:
The ADB AppControl is a powerful tool for managing apps via adb. Has a built-in debloat tool and much more. I recommend giving it a try.
[Xiaomi Mi 9 Guides, News, & Discussion] TheGrave:
Thanks but no thanks - I'd like to see what is being removed.

I updated the file again as system updates were broken by the original list so you'll see a few entries commented out.

However, I discovered file transfer to a PC is broken too. I'll upload the file once I figure what breaks it.
[Xiaomi Mi 9 Guides, News, & Discussion] TheGrave:
Thanks to this guide I re-installed some apps that were blown by the original script and file transfer is back!

https://devcondition.com/article/removing-unneeded-miui-applications/

I'll report if something crashes again.
[Xiaomi Mi 9 Guides, News, & Discussion] w1nst0n_fr:
That's a great initiative. Thanks @_MartyMan_

I'm the developer of the Universal Android Debloater (UAD), a community project aiming at providing a debloat tool for any android devices. All the packages (more than 1750 currently) are as well documented as possible in order to provide a better understanding of what you can delete or not.

Given that I don't own all the phones in the world, It would be great to find people who can quickly test the UAD after each big MIUI/UAD update. This way I could quickly fix any issue or add new packages if necessary.

I really think we should all team up instead of recreate debloat lists from scratch. There is too much isolate projects like yours on XDA, for each phones. Let's centralize all of this.

A XDA thread exist if you are interested. :)

https://xdaforums.com/t/script-2021-01-12-v2-8-3-universal-android-debloater.4069209/
[Xiaomi Mi 9 Guides, News, & Discussion] onolox:
I have gone back to the last miui 11(20.3.26) just to get rid of the battery hog called com.xiaomi.finddevice.

Is awful that we can't get rid of this ***t in recent versions...

I've used only the Xiaomi section, added the finddevice service to list, and removed 1 service from the list, screenrecorder.

Edit: My findings in a few days:

I'm having overnight 0,2%/h battery drop! Before was 1.8%

Now I recharge the phone every 2 days, before was everyday!

I will stay in this version forever now. Just great!

Many Thanks @_MartyMan_
[Xiaomi Mi 9 Guides, News, & Discussion] meroupow:
I have the same problem with MIUI 12 the standby drain has increased to about 1,8% in Accubattery.

How did you manage to track that com.xiaomi.finddevice was the culprit and why can't we remove it from MIUI 12?

I tried to analyse wakelocks with betterbatterystats but I see nothing appart from google location services and I don't think it is the problem.
[Xiaomi Mi 9 Guides, News, & Discussion] santiagog242:
For MIUI users: for your safety, if you want to keep enabled "find my device", don't delete com.xiaomi.account package.
[Xiaomi Mi 9 Guides, News, & Discussion] onolox:
As stated in the first post, if finddevice is removed from miui 12 the phone enters bootloop, and that happened to me :p

I used BBS too, and finddevice appears, a lot, even if I disable it in the mi account. In GSam Battery monitor it appears too. And I think other xiaomi garbage are waking the phone too, but finddevive was the biggest.
[Xiaomi Mi 9 Guides, News, & Discussion] pijalaccount:
these recommended debload is complete list of apps and no excuse. why you dont call su rm /system/app ?
[Xiaomi Mi 9 Guides, News, & Discussion] PredKick:
Hi,

I'm pretty new on this forum.

I own a Mi 9 SE.

I want to debloat it, can I with these instructions ? Or there is some special for this edition ?

Thanks.
[Xiaomi Mi 9 Guides, News, & Discussion] 4r44444:
anyone can make aroma script for TWRP
[Xiaomi Mi 9 Guides, News, & Discussion] jirka607:
Does anybody know what com.xiaomi.macro is because when you remove it you can see that the app is called by system sometimes
[Xiaomi Mi 9 Guides, News, & Discussion] 4Freedom:
I can't find any "Xiaomi Macro" app on my device. (MIUI 12.0.4)

I think it's something related to games.

It's new. It appeared on APK Mirror on March 2021

https://www.apkmirror.com/apk/xiaomi-inc/mimacro/

View attachment 5274793
[Xiaomi Mi 9 Guides, News, & Discussion] _MartyMan_:
Guys i sold my Mi 9 so this thread won't be updated with new stuff as i can't test it myself.

I'll create a new thread on Mi 11i or OnePlus 9 forums according to which phone i get.
[Xiaomi Mi 9 Guides, News, & Discussion] Daveaspec:
Hi everyone,

for this moment, I have disabled:

com.qualcomm.qti.qms.service.telemetry and com.qualcomm.atfwd ( I not need screen mirroring)

I ask those who know what they officially do:

QDCM-FF I read safe to kill

QMMI(?) and com.qualcomm.qti.qms.service.connectionsecurity ( I read likes to talk out)

Thanks!!!!!
[Upgrading, Modifying and Unlocking] PUNiZZLE:
Bump.

Anyone? Please help, my phone is a brick pretty much :(
[Upgrading, Modifying and Unlocking] PUNiZZLE:
Updated with a log file
[Motorola One Vision Questions & Answers] Josué Death:
I still have the August security patch, I still don't get the other updates someone :Rodar los ojos:
[Motorola One Vision Questions & Answers] gee2012:
Where do you live and what version Moto Vision do you have?
[Motorola One Vision Questions & Answers] Josué Death:
Lima Peru

XT1970-2
[Xiaomi Poco F1 Questions & Answers] Alrich:
I'm currently on fully stock 11.05 MIUI.

I'm looking for an app that can let me use my fingerprint sensor as a scroll. I've tried a few apps in the Play Store and none of them worked.

Any advice would be greatly appreciated.
[Xiaomi Poco F1 Questions & Answers] Forever Alone:
Fingerprint scanner should have such functionality for gesture which poco doesn't have I THINK!
[Android Auto General] bindasguy:
So my car's system was able to detect my phone earlier. However, now it does not detect my Samsung S10+. I keep getting the error message on my phone (pic attached). The car manages to detect my wife's Google Pixel 3. I have been using the same usb wire to connect all the phones. I have given all permissions to the AA app on my Samsung. Not sure what am I missing here!
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] ince:
I am having really bad data signals here in London , to the point that I might sell and get another phone. I am currently on Syberia Project Rom(Android 10,global firmware).

I am on the Three Network and did not have much problems with my OP 6T , yet with my 9T Pro I get poor data signal in some areas in Central London. I work around London Bridge and have hard time with data signal with 4G and 3G.

Does anyone know what I can do improve this?
[Magisk] Tsifora:
Which is the most root friendly phone where I can set up Magisk ??
[Magisk] TheWaterBug:
I don't know how recent you want, but I have the Axon 7. It's really easily rooted.
[Magisk] Tsifora:
I want 2016+ phones, cheap and which i can root easily, I'm tired to find any.
[Magisk] wilsonhlacerda:
Generally speaking I'd suggest to check models that are in BOTH Lineage and TWRP official support lists:

https://download.lineageos.org/ (click on menu)

https://twrp.me/Devices/

That way besides stock ROM (probably not difficult to root because above availability) you will always have the alternative ROM + Recovery.
[Magisk] anoukaimee:
Also, check which devices are the most popular on XDA forum; there's lots of old but great flagship devices like the OP3 that are still getting tons of attention and are available on the cheap.

The problem is that most of your cheaper phones are either built intentionally to be tough to root, or ppl who buy them just don't care enough to do the extra. I know there was a midrange Moto a few years back and I'm sure it is still getting indie development, but the name escapes me... Try googling "most easily rooted phones" and see what you get. Might just need to get secondhand/older/foreign if cost is an issue.

Edit: just noticed your objection to older phones. You do realize that if you are going to root your phone anyway, you are 20x better off with a flagship 2014 model that has a Qualcomm 8xx PROCESSOR (or even most 7 and 6 series) than an Intel or almost any Mediatek processor? You don't need to worry about the age of it if it's in good condition and there's active development. THAT'S how you'll save money IMO.