-
-
Save Biswa96/81fe477079fa5279f7cfd7b98d5519c7 to your computer and use it in GitHub Desktop.
@echo off | |
set /p Y=Enter adb.exe folder path: | |
cd /d %Y% | |
adb devices | |
pause | |
for %%X in ( | |
"com.amazon.appmanager" | |
"com.android.browser" | |
"com.android.chrome" | |
"com.android.email" | |
"com.android.thememanager" | |
"com.android.wallpaper.livepicker" | |
"com.facebook.services" | |
"com.facebook.system" | |
"com.facebook.appmanager" | |
"com.google.android.apps.docs" | |
"com.google.android.apps.maps" | |
"com.google.android.apps.photos" | |
"com.google.android.apps.tachyon" | |
"com.google.android.feedback" | |
"com.google.android.gm" | |
"com.google.android.googlequicksearchbox" | |
"com.google.android.marvin.talkback" | |
"com.google.android.music" | |
"com.google.android.syncadapters.calendar" | |
"com.google.android.syncadapters.contacts" | |
"com.google.android.talk" | |
"com.google.android.tts" | |
"com.google.android.videos" | |
"com.google.android.youtube" | |
"com.mfashiongallery.emag" | |
"com.mi.android.globalpersonalassistant" | |
"com.mi.dlabs.vr" | |
"com.mi.globalTrendNews" | |
"com.mi.global.bbs" | |
"com.mi.global.shop" | |
"com.mi.webkit.core" | |
"com.micredit.in" | |
"com.milink.service" | |
"com.mipay.wallet.id" | |
"com.mipay.wallet.in" | |
"com.miui.analytics" | |
"com.miui.android.fashiongallery" | |
"com.miui.bugreport" | |
"com.miui.cloudbackup" | |
"com.miui.cloudservice" | |
"com.miui.cloudservice.sysbase" | |
"com.miui.micloudsync" | |
"com.miui.hybrid" | |
"com.miui.hybrid.accessory" | |
"com.miui.klo.bugreport" | |
"com.miui.miservice" | |
"com.miui.miwallpaper" | |
"com.miui.msa.global" | |
"com.miui.player" | |
"com.miui.providers.weather" | |
"com.miui.screenrecorder" | |
"com.miui.translationservice" | |
"com.miui.translation.kingsoft" | |
"com.miui.translation.xmcloud" | |
"com.miui.translation.youdao" | |
"com.miui.touchassistant" | |
"com.miui.userguide" | |
"com.miui.videoplayer" | |
"com.miui.virtualsim" | |
"com.miui.weather2" | |
"com.miui.yellowpage" | |
"com.netflix.partner.activation" | |
"com.swiftkey.languageprovider" | |
"com.swiftkey.swiftkeyconfigurator" | |
"com.xiaomi.account" | |
"com.xiaomi.discover" | |
"com.xiaomi.glgm" | |
"com.xiaomi.joyose" | |
"com.xiaomi.location.fused" | |
"com.xiaomi.micloud.sdk" | |
"com.xiaomi.midrop" | |
"com.xiaomi.mipicks" | |
"com.xiaomi.miplay_client" | |
"com.xiaomi.mirecycle" | |
"com.xiaomi.oversea.ecom" | |
"com.xiaomi.payment" | |
"com.xiaomi.providers.appindex" | |
"com.xiaomi.xmsf" ) do ( | |
adb shell pm uninstall %%X | |
adb shell pm uninstall --user 0 %%X | |
) | |
pause | |
::Optional | |
::Play Store ==> "com.android.vending" | |
::Play Store Service ==> "com.google.android.gms" | |
::Gboard ==> "com.google.android.inputmethod.latin" | |
::Google Login Service ==> "com.google.android.gsf.login" | |
::Android System WebView ==> "com.google.android.webview" | |
::Explorer ==> "com.mi.android.globalFileexplorer" | |
::Find device ==> "com.xiaomi.finddevice" | |
::END-100# |
There are two commands I have added in the gist. 1. adb shell pm uninstall <package_name>
2. adb shell pm uninstall --user 0 <package_name>
. Try both.
There are two commands I have added in the gist. 1.
adb shell pm uninstall <package_name>
2.adb shell pm uninstall --user 0 <package_name>
. Try both.
@Biswa96
Tried both earlier, they aren't working... :(
I have also tried adb shell pm uninstall -k com.miui.android.fashiongallery
I can't uninstall
com.miui.android.fashiongallery
, it returnsFailure [-1000]
I am on MIUI 12 and earlier I was able to uninstall it from the app manager in my Xiaomi note 9 pro max
Can someone please tell me how to fix this🙏🙏🙏
just disable it with adb shell pm disable-user com.miui.android.fashiongallery
Do not uninstall com.xiaomi.account if you've already logged in MI account.
You will get "This device is locked" message and won't be able to unlock it!
Hi !! I believe I might have messed up the same. Am stuck on being unable to unlock bootloader at all. Message shows "account locked please try another". Any solution to the same?
I can't uninstall
com.miui.android.fashiongallery
, it returnsFailure [-1000]
I am on MIUI 12 and earlier I was able to uninstall it from the app manager in my Xiaomi note 9 pro max
Can someone please tell me how to fix this🙏🙏🙏
I had a similar issue with wallpaper, calender and weather. I flashed my Poco F1 back to 11.09 stable ROM. Uninstalled those apps and then updated to miui 12 with 702 mb data. The wallpaper carrousel showed up but was able to uninstall it easily then as I believe the installation files were uninstalled.
I can't uninstall
com.miui.android.fashiongallery
, it returnsFailure [-1000]
I am on MIUI 12 and earlier I was able to uninstall it from the app manager in my Xiaomi note 9 pro max
Can someone please tell me how to fix this🙏🙏🙏just disable it with
adb shell pm disable-user com.miui.android.fashiongallery
I can't uninstall
com.miui.android.fashiongallery
, it returnsFailure [-1000]
I am on MIUI 12 and earlier I was able to uninstall it from the app manager in my Xiaomi note 9 pro max
Can someone please tell me how to fix this🙏🙏🙏just disable it with
adb shell pm disable-user com.miui.android.fashiongallery
I had a similar issue with wallpaper, calender and weather. I flashed my Poco F1 back to 11.09 stable ROM. Uninstalled those apps and then updated to miui 12 with 702 mb data. The wallpaper carrousel showed up but was able to uninstall it easily then as I believe the installation files were uninstalled.
Or as suggested you can try uninstalling / disabling it through ADB / jar file tool
I can't uninstall
com.miui.android.fashiongallery
, it returnsFailure [-1000]
I am on MIUI 12 and earlier I was able to uninstall it from the app manager in my Xiaomi note 9 pro max
Can someone please tell me how to fix this🙏🙏🙏just disable it with
adb shell pm disable-user com.miui.android.fashiongallery
I can't uninstall
com.miui.android.fashiongallery
, it returnsFailure [-1000]
I am on MIUI 12 and earlier I was able to uninstall it from the app manager in my Xiaomi note 9 pro max
Can someone please tell me how to fix this🙏🙏🙏just disable it with
adb shell pm disable-user com.miui.android.fashiongallery
I had a similar issue with wallpaper, calender and weather. I flashed my Poco F1 back to 11.09 stable ROM. Uninstalled those apps and then updated to miui 12 with 702 mb data. The wallpaper carrousel showed up but was able to uninstall it easily then as I believe the installation files were uninstalled.
Or as suggested you can try uninstalling / disabling it through ADB / jar file tool
try use -t
:
command: adb shell pm uninstall -t --user 0
Is there any linux equivalent of these available?
ADB is available in any GNU/Linux distribution. You just need to change the script here.
Do note that removing any of
com.miui.securitycenter com.miui.securityadd com.xiaomi.finddevice
will result in a soft brick requiring a full format, at least on current MIUI EEA 10 on Redmi 9T.
Redmi 6a also
is it safe to remove message app
Hi Kiran726, I can say yes, it is safe to remove message app. In fact I have removed the stock messaging and phone app from my phone and using Truecaller as a combined app for both. I have even removed the rest of all the apps except for security centre, phone settings (which you will need for call forwarding etc) Xiaomi framework, of tc to name a few basic but essential phone functioning modules
Is there any linux equivalent of these available?
https://gist.github.com/danisztls/73fa9619754bc0d0474c2b5413529a19
Привет!у ми 9 т мои звонке WhatsApp автоматически включается селфи камера.подскажите что сделать чтобы она не активировалась в кармане Hi! Mi 9 t my WhatsApp calls automatically turn on the selfie camera. Tell me what to do so that it does not activate in my pocket
finddevice has been keeping one core on my phone constantly awake wasting battery like no tomorrow. When I disabled it on MIUI 12, it gave me the constant ticker of "Find Device has been destroyed", so I re-enabled it. It has been fine for a month or so, but past couple of days the "Find Device" battery issue has become too much to ignore. I have disabled it and there is no warning ticker anymore, but most search results say if I attempt a reboot it will go in bootloop and a factory reset.
I am not sure I should keep it disabled, but I don't want the massive battery drain either. I am charging my 5000 mA battery device 3 times a day and its getting ridiculous. Has anyone faced this before? There are some search results for this battery drain but no concrete solution. Any help appreciated.
finddevice has been keeping one core on my phone constantly awake wasting battery like no tomorrow. When I disabled it on MIUI 12, it gave me the constant ticker of "Find Device has been destroyed", so I re-enabled it. It has been fine for a month or so, but past couple of days the "Find Device" battery issue has become too much to ignore. I have disabled it and there is no warning ticker anymore, but most search results say if I attempt a reboot it will go in bootloop and a factory reset.
Why would device go in bootloop? Find device is offered from google as well, no?
BTW - how did you disabled it?
If one removes syncadapters for calendar and contacts - the meetings and contacts won't sync with G cloud, right?
Why remove it at all?
Why would device go in bootloop? Find device is offered from google as well, no?
The package name is com.xiaomi.finddevice
. I think this is the other end of Find Device functionality where device reports its location, and the 'Find device' from google is the UI showing the location when needed.
Even in this thread there are posts saying it (com.xiaomi.finddevice
) will cause bootloop if disabled.
BTW - how did you disabled it?
I disabled it via adb (pm uninstall
). After constant ticker message, I re-enabled it, but apparently that wasn't enough. It went well for few weeks, but since past week it kept device awake all time. Then two days ago device started rebooting after every 5 minutes or so. Not sure if its related to that, but I'm taking much more conservative approach in disabling packages now.
On a Redmi Note 10 Pro I've uninstalled nearly everything related to Xiaomi and Miui, except these:
-
Warnings that removing them might soft brick
com.miui.securitycenter
com.miui.securityadd
com.xiaomi.finddevice
com.miui.securitycore -
No idea what these do and couldn't find any info on google
com.miui.core
com.miui.rom
com.miui.system
com.lbe.security.miui -
Functionality I wannt to keep
com.xiaomi.xmsf
com.xiaomi.bsp.gps.nps
com.miui.screenshot
com.miui.aod
com.miui.cit
com.xiaomi.cameratools
com.miui.extraphoto
Note com.miui.aod is supposed to be related the always on display. However, while I can still change the settings for AOD, the actually functionality has gone. EDIT: actually after a restart it seems to be fine.
Using it for a couple of days now. Everything seems to be working ok with some minor exceptions:
- wallpapers have stopped working (I don't mind about this)
- the status bar now goes beyond the curved screen edges so the clock is partly cut off
- The "recent apps" AKA "recents screen" functionality is now gone - in other words, when (long) pressing the menu button, nothing happens
- A lot of the removed functionality is still in the settings, but changing the settings does nothing (e.g. wallpaper, themes)
I used .\adb.exe shell pm uninstall --user 0
to remove all the apps. I think it failed for a couple but I ignored those.
BTW to list all packages use:
adb shell pm list packages
for currently installedadb shell pm list packages -d
include disabledadb shell pm list packages -u
include uninstalled
Some other useful commands from here:
# Disable app
pm disable-user app.package.name
# Re-enable it
pm enable app.package.name
# Uninstall app
# Sometimes uninstall command may not work without -k option on un-rooted devices
# -k: Keep the data and cache directories around after package removal.
pm uninstall --user 0 app.package.name
# Install uninstalled system app
pm install --user 0 $(pm dump app.package.name | awk '/path/{ print $2 }')
# Another way to install uninstalled system app
pm install-existing app.package.name
Warning: don't remove com.miui.home
without installing another launcher first as your phone won't have a launcher!
I use Niagara launcher so removing this didn't cause any issues.
Doing a bit more research into why the recents screen is not working - it seems like removing the launcher com.miui.home
may have removed it.
However, it seems like MIUI doesn't allow third party launchers to control the recents screen so removing the MIUI launcher removes this functionality.
Hi. Using the listed packages above as a guide, I removed all these packages given below; and now I can no longer change ringtones on my Poco X3 Pro. Which one(s) do I reinstall to be able to do so?
com.android.hotwordenrollment.okgoogle
com.android.hotwordenrollment.xgoogle
com.facebook.appmanager
com.facebook.services
com.facebook.system
com.facemoji.lite.xiaomi
com.google.android.apps.googleassistant
com.google.android.apps.nbu.paisa.user
com.google.android.apps.subscriptions.red
com.google.android.apps.wellbeing
com.google.android.gm
com.google.android.gms.location.history
com.google.android.googlequicksearchbox
com.google.android.marvin.talkback
com.google.android.syncadapters.calendar
com.google.android.syncadapters.contacts
com.google.android.tts
com.google.android.youtube
com.mi.android.globallauncher
com.mipay.wallet.in
com.miui.analytics
com.miui.android.fashiongallery
com.miui.backup
com.miui.bugreport
com.miui.cleanmaster
com.miui.cloudbackup
com.miui.cloudservice
com.miui.cloudservice.sysbase
com.miui.daemon
com.miui.global.packageinstaller
com.miui.hybrid
com.miui.hybrid.accessory
com.miui.micloudsync
com.miui.miservice
com.miui.mishare.connectivity
com.miui.miwallpaper
com.miui.msa.global
com.miui.player
com.miui.weather2
com.miui.yellowpage
com.netflix.partner.activation
com.tencent.soter.soterserver
com.xiaomi.glgm
com.xiaomi.joyose
com.xiaomi.midrop
com.xiaomi.mipicks
com.xiaomi.miplay_client
com.xiaomi.payment
@AA-Saf
Have you rebooted ur phone? Is same issue happening after reboot?
I would give packages with name global in them a try to install. All other looks ok to kick out.
Yep, did that the first thing.
I re-enabled "com.mi.android.globallauncher" as without it the recent apps drawer wasn't working.
Tried re-enabling other global packages, and it's still not working. 😔
I can't uninstall
com.miui.android.fashiongallery
, it returnsFailure [-1000]
I am on MIUI 12 and earlier I was able to uninstall it from the app manager in my Xiaomi note 9 pro max
Can someone please tell me how to fix this🙏🙏🙏