[TOOL] Bash script for de-installing apps / de-bloating rom - Android General

For those on linux, I want to share a bash script that loops over an array of apks to de-install. So you can just list the apps you don't want in a clear overview, 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.
I put some examples in the list. Please adjust to your needs!
Code:
#!/bin/bash
# list any packages you want to deinstall
apk=(
#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
com.alibaba.aliexpresshd
com.amazon.mShop.android.shopping
com.ebay.mobile
com.ebay.carrier
com.facebook.appmanager
com.facebook.system
com.facebook.services
com.netflix.partner.activation
)
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

Related

[GUIDE] [DEBLOAT] Remove stock MIUI apps WITHOUT ROOT or BOOTLOADER

First install ADB (just you can copy and paste a some files on C:\ADB). Follow this https://www.xda-developers.com/quickly-install-adb/
Use this on CMD, for Windows Shift+Click -> "Open CMD here"
Test if your phone connected: adb devices
The CMD returns:
"List of devices attached
43648### device"
And uninstall the apps that you wants
adb shell pm uninstall -k --user 0 com.android.browser #Mi Browser
adb shell pm uninstall -k --user 0 com.android.calendar #Calendario
adb shell pm uninstall -k --user 0 com.android.deskclock #Reloj
adb shell pm uninstall -k --user 0 com.android.mms #Mensajes
adb shell pm uninstall -k --user 0 com.facebook.appmanager #Facebook App Manager
adb shell pm uninstall -k --user 0 com.facebook.services #Facebook Services
adb shell pm uninstall -k --user 0 com.facebook.system #Facebook App Installer
adb shell pm uninstall -k --user 0 com.google.android.apps.docs #Google Drive
adb shell pm uninstall -k --user 0 com.google.android.apps.maps #Google Maps
adb shell pm uninstall -k --user 0 com.google.android.apps.photos #Google Photos
adb shell pm uninstall -k --user 0 com.google.android.apps.tachyon #Google Duo
adb shell pm uninstall -k --user 0 com.google.android.googlequicksearchbox #Google App
adb shell pm uninstall -k --user 0 com.google.android.inputmethod.latin #Gboard
adb shell pm uninstall -k --user 0 com.google.android.music #Google Music
adb shell pm uninstall -k --user 0 com.google.android.videos #Play Movies
adb shell pm uninstall -k --user 0 com.google.android.youtube #Youtube
adb shell pm uninstall -k --user 0 com.mi.android.globalFileexplorer #Administrador de archivos
adb shell pm uninstall -k --user 0 com.miui.analytics #Analytics
adb shell pm uninstall -k --user 0 com.miui.bugreport #Mi Feedback
adb shell pm uninstall -k --user 0 com.miui.calculator #Calculadora
adb shell pm uninstall -k --user 0 com.miui.compass #Mi Compass
adb shell pm uninstall -k --user 0 com.miui.msa.global #mas (main system advertising)
adb shell pm uninstall -k --user 0 com.miui.notes #Mi Notes
adb shell pm uninstall -k --user 0 com.miui.player #Mi Music
adb shell pm uninstall -k --user 0 com.miui.screenrecorder #Mi Screen Recorder
adb shell pm uninstall -k --user 0 com.miui.videoplayer #Mi Video
adb shell pm uninstall -k --user 0 com.xiaomi.midrop #Mi Drop
adb shell pm uninstall -k --user 0 com.xiaomi.mipicks #Mi Apps
adb shell pm uninstall -k --user 0 com.xiaomi.scanner #Mi Scanner
..
Here's the sh script nobody asked for
github [ dot com ] /KushagraKarira/Unbloat/blob/master/miui.sh
I plan to add all of the miui bloatware on all mi devices,
great keep it up...hate those bloatware
add one more
peter9811 said:
First install ADB (just you can copy and paste a some files on C:\ADB). Follow this https://www.xda-developers.com/quickly-install-adb/
Use this on CMD, for Windows Shift+Click -> "Open CMD here"
Test if your phone connected: adb devices
The CMD returns:
"List of devices attached
43648### device"
And uninstall the apps that you wants
adb shell pm uninstall -k --user 0 com.android.browser #Mi Browser
adb shell pm uninstall -k --user 0 com.android.calendar #Calendario
adb shell pm uninstall -k --user 0 com.android.deskclock #Reloj
adb shell pm uninstall -k --user 0 com.android.mms #Mensajes
adb shell pm uninstall -k --user 0 com.facebook.appmanager #Facebook App Manager
adb shell pm uninstall -k --user 0 com.facebook.services #Facebook Services
adb shell pm uninstall -k --user 0 com.facebook.system #Facebook App Installer
adb shell pm uninstall -k --user 0 com.google.android.apps.docs #Google Drive
adb shell pm uninstall -k --user 0 com.google.android.apps.maps #Google Maps
adb shell pm uninstall -k --user 0 com.google.android.apps.photos #Google Photos
adb shell pm uninstall -k --user 0 com.google.android.apps.tachyon #Google Duo
adb shell pm uninstall -k --user 0 com.google.android.googlequicksearchbox #Google App
adb shell pm uninstall -k --user 0 com.google.android.inputmethod.latin #Gboard
adb shell pm uninstall -k --user 0 com.google.android.music #Google Music
adb shell pm uninstall -k --user 0 com.google.android.videos #Play Movies
adb shell pm uninstall -k --user 0 com.google.android.youtube #Youtube
adb shell pm uninstall -k --user 0 com.mi.android.globalFileexplorer #Administrador de archivos
adb shell pm uninstall -k --user 0 com.miui.analytics #Analytics
adb shell pm uninstall -k --user 0 com.miui.bugreport #Mi Feedback
adb shell pm uninstall -k --user 0 com.miui.calculator #Calculadora
adb shell pm uninstall -k --user 0 com.miui.compass #Mi Compass
adb shell pm uninstall -k --user 0 com.miui.msa.global #mas (main system advertising)
adb shell pm uninstall -k --user 0 com.miui.notes #Mi Notes
adb shell pm uninstall -k --user 0 com.miui.player #Mi Music
adb shell pm uninstall -k --user 0 com.miui.screenrecorder #Mi Screen Recorder
adb shell pm uninstall -k --user 0 com.miui.videoplayer #Mi Video
adb shell pm uninstall -k --user 0 com.xiaomi.midrop #Mi Drop
adb shell pm uninstall -k --user 0 com.xiaomi.mipicks #Mi Apps
adb shell pm uninstall -k --user 0 com.xiaomi.scanner #Mi Scanner
Click to expand...
Click to collapse
adb shell pm uninstall -k --user 0 com.xiaomi.glgm # Mi Games
Thanks it work fine for me
Can anyone make a flashable zip file to remove all google play services and google apps completely
Does removing any of those apps cause any instability or crashes in other apps?
worked fine on Xiaomi Mi 9 (EU)
darkstar107 said:
Does removing any of those apps cause any instability or crashes in other apps?
Click to expand...
Click to collapse
None whatsoever in Redmi Y3 MIUI 10.3.6 Android 9
Command to remove wallpaper carousel app
type the following command to remove the wallpaper carousel app.
pm uninstall -k --user 0 com.miui.android.fashiongallery
Is that any different from simply freezing all this apps via titanium backup?
Test
Test
Thank you
I didn't paid attention to the title, good to know method without root. Thank you.
To uninstall Security center:
adb shell pm uninstall -k --user 0 com.miui.securitycenter #security
I did this, with less uninstallation, and now my Redmi Note 5 Pro is stuck in a constant loop of booting into Mi Recovery. Does anyone have any ideas?
?
Hiyouyo said:
I did this, with less uninstallation, and now my Redmi Note 5 Pro is stuck in a constant loop of booting into Mi Recovery. Does anyone have any ideas?
?
Click to expand...
Click to collapse
Flash stock image via fastboot!
Be carreful at what you remove
It weird that work so easily like this, but i'm not newer in that convenient and some system's app can't be removed without bootloop or brick.
I think as security app who is very deeply integrate to the system.
For more information a person have maked a list of app can be removed (but now i've not have ability to post url) (the xda post name : MIUI 10 De-bloat (Systemless+Automated) and username :Sreekantt)
Hi guys.
I'd like know if there is a list of bloatware apps that I Should remove to get my miui faster and cleaner that that.
Many thanks.

[SOLVED] Camera crashing after debloat (Android 8.0.0)

After removing some unwanted applications and bloatware, my camera is crashing all the time. I can't take single photo.
Do you have any clue which package could be responsible for this and how to fix the problem without doing factory reset?
What I did is:
hero2lte:/ $ pm uninstall --user 0 com.android.chrome
hero2lte:/ $ pm uninstall --user 0 com.android.wallpaper.livepicker
hero2lte:/ $ pm uninstall --user 0 com.enhance.gameservice
hero2lte:/ $ pm uninstall --user 0 com.facebook.appmanager
hero2lte:/ $ pm uninstall --user 0 com.facebook.katana
hero2lte:/ $ pm uninstall --user 0 com.facebook.services
hero2lte:/ $ pm uninstall --user 0 com.facebook.system
hero2lte:/ $ pm uninstall --user 0 com.google.android.apps.photos
hero2lte:/ $ pm uninstall --user 0 com.google.android.music
hero2lte:/ $ pm uninstall --user 0 com.google.android.talk
hero2lte:/ $ pm uninstall --user 0 com.google.android.videos
hero2lte:/ $ pm uninstall --user 0 com.instagram.android ;
hero2lte:/ $ pm uninstall --user 0 com.microsoft.office.powerpoint
hero2lte:/ $ pm uninstall --user 0 com.samsung.android.app.camera.sticker.facear.preload
hero2lte:/ $ pm uninstall --user 0 com.samsung.android.app.camera.sticker.stamp.preload
hero2lte:/ $ pm uninstall --user 0 com.samsung.android.app.sbrowseredge
hero2lte:/ $ pm uninstall --user 0 com.samsung.android.app.talkback
hero2lte:/ $ pm uninstall --user 0 com.samsung.android.game.gamehome
hero2lte:/ $ pm uninstall --user 0 com.samsung.android.game.gametools
hero2lte:/ $ pm uninstall --user 0 com.samsung.android.provider.stickerprovider
hero2lte:/ $ pm uninstall --user 0 com.samsung.android.stickercenter
hero2lte:/ $ pm uninstall --user 0 com.samsung.android.themecenter
hero2lte:/ $ pm uninstall --user 0 com.samsung.android.themestore
hero2lte:/ $ pm uninstall --user 0 com.samsung.android.widgetapp.briefing
hero2lte:/ $ pm uninstall --user 0 com.samsung.android.widgetapp.yahooedge.finance
hero2lte:/ $ pm uninstall --user 0 com.samsung.android.widgetapp.yahooedge.sport
hero2lte:/ $ pm uninstall --user 0 com.samsung.SMT
hero2lte:/ $ pm uninstall --user 0 com.samsung.voiceserviceplatform
hero2lte:/ $ pm uninstall --user 0 com.sec.android.app.billing
hero2lte:/ $ pm uninstall --user 0 com.sec.android.app.chromecustomizations
hero2lte:/ $ pm uninstall --user 0 com.sec.android.app.dictionary
hero2lte:/ $ pm uninstall --user 0 com.sec.android.app.magnifier
hero2lte:/ $ pm uninstall --user 0 com.sec.android.app.sbrowser
hero2lte:/ $ pm uninstall --user 0 com.sec.android.app.shealth
hero2lte:/ $ pm uninstall --user 0 com.sec.android.service.health
hero2lte:/ $ pm uninstall --user 0 com.skype.raider
hero2lte:/ $ pm uninstall --user 0 de.axelspringer.yana.zeropage
hero2lte:/ $ pm uninstall --user 0 legimi.android.main
hero2lte:/ $ pm uninstall --user 0 pl.tvn.player
Click to expand...
Click to collapse
jakub_pl said:
After removing some unwanted applications and bloatware, my camera is crashing all the time. I can't take single photo.
Do you have any clue which package could be responsible for this and how to fix the problem without doing factory reset?
What I did is:
Click to expand...
Click to collapse
Problem fixed!
logcat logs:
Code:
12-30 21:26:03.422 28520 28545 E AndroidRuntime: Process: com.sec.android.app.camera, PID: 28520
12-30 21:26:03.422 28520 28545 E AndroidRuntime: java.lang.SecurityException: Failed to find provider com.samsung.android.provider.stickerprovider for user 0; expected to find a valid ContentProvider for this authority
12-30 21:26:03.422 28520 28545 E AndroidRuntime: at androi
commands executed:
Code:
➜ ~ adb shell cmd package install-existing com.samsung.android.provider.stickerprovider
Package com.samsung.android.provider.stickerprovider installed for user: 0
➜ ~ adb shell cmd package install-existing com.samsung.android.stickercenter
Package com.samsung.android.stickercenter installed for user: 0
➜ ~ adb shell cmd package install-existing com.samsung.android.app.camera.sticker.facear.preload
Package com.samsung.android.app.camera.sticker.facear.preload installed for user: 0
➜ ~ adb shell cmd package install-existing com.samsung.android.app.camera.sticker.stamp.preload
Package com.samsung.android.app.camera.sticker.stamp.preload installed for user: 0
[/[CODE]
Don't know you removed com.samsung.android.themecenter etc.
It's harmless and useful.
Use Karma Firewall to block its internet access when you're not using it.
Can't spot what killed it. It may be a dependency of one or more of those killed.
May be one on the Goggle apks*.
*try this first; clearing the system cache, a hard reboot and clear data on Goggle Play Services and cam apks that are running.

Flash indian Rom on Redmi 9A/9AT Global

Hi guys i have a Global Redmi 9AT with dialer and sms app by google. Can i flash indian rom with miui dialer how i did with my Redmi Note 8? I need the call recorder.
I follow this Guide: MIUI Stock Dialer And SMS app for Global RN8/ RN8 pro
Thx all and sorry for my bad english
hi guys i tried to flash indian rom and work fine byeeeeeeeee
Steps please ?
Just follow the guide for redmi note 8.
1.Unlock bootloader with official tool download from miui.com (7 days wait)
2.Download Indian rom for Redmi 9A/9AT "Dandelion" V12.0.8.0.QCDINXM
3.Flash with Mi Flash Tool download from miui.com and run as administrator
4.Remember to select just "flash all .bat" and not "flash all .bay and relock"
5.Finish
--------------
6.I used adb for uninstall useless apps
Remember there are not all applications this is my list
adb shell pm uninstall -k --user 0 com.google.android.apps.docs # Google Drive
adb shell pm uninstall -k --user 0 com.google.android.apps.maps # Google Maps
adb shell pm uninstall -k --user 0 com.google.android.apps.photos # Google Photos
adb shell pm uninstall -k --user 0 com.google.android.apps.tachyon # Google Duo
adb shell pm uninstall -k --user 0 com.google.android.googlequicksearchbox # Google App
adb shell pm uninstall -k --user 0 com.android.emergency # Informazioni per le emergenze
adb shell pm uninstall -k --user 0 com.android.egg # Android EsterEgg
adb shell pm uninstall -k --user 0 com.google.android.music # Google Play Music
adb shell pm uninstall -k --user 0 com.google.ar.lens # Google Lens
adb shell pm uninstall -k --user 0 com.google.android.marvin.talkback # Google Talkback
adb shell pm uninstall -k --user 0 com.google.android.gm # Gmail
adb shell pm uninstall -k --user 0 com.android.chrome # Google Chrome
adb shell pm uninstall -k --user 0 com.google.android.youtube # Google YouTube
adb shell pm uninstall -k --user 0 com.google.android.apps.docs # Google Docs
adb shell pm uninstall -k --user 0 com.google.android.videos # Google Play Movies
adb shell pm uninstall -k --user 0 com.android.browser # Mi Browser
adb shell pm uninstall -k --user 0 ru.yandex.searchplugin # Yandex
adb shell pm uninstall -k --user 0 com.miui.bugreport # Mi Feedback
adb shell pm uninstall -k --user 0 com.miui.compass # Mi Compass
adb shell pm uninstall -k --user 0 com.miui.notes # Mi Notes
adb shell pm uninstall -k --user 0 com.miui.screenrecorder # Mi Screen Recorder
adb shell pm uninstall -k --user 0 com.miui.videoplayer # Mi Video
adb shell pm uninstall -k --user 0 com.miui.player # Mi Music
adb shell pm uninstall -k --user 0 com.xiaomi.midrop # Mi Drop
adb shell pm uninstall -k --user 0 com.xiaomi.scanner # Mi Scanner
adb shell pm uninstall -k --user 0 com.miui.cloudbackup # Cloud Backup
adb shell pm uninstall -k --user 0 com.miui.calculator # Mi Calculator
adb shell pm uninstall -k --user 0 com.android.calendar # Mi Calendar
adb shell pm uninstall -k --user 0 com.android.email # Email
adb shell pm uninstall -k --user 0 com.mi.android.globalFileexplorer # File Explorer
adb shell pm uninstall -k --user 0 com.miui.fm # Radio FM
adb shell pm uninstall -k --user 0 com.miui.gallery # Gallery
adb shell pm uninstall -k --user 0 com.xiaomi.glgm # Games
adb shell pm uninstall -k --user 0 com.xiaomi.payment # Mi Payment
adb shell pm uninstall -k --user 0 com.xiaomi.mirecycle # Mi Recycle
adb shell pm uninstall -k --user 0 com.miui.virtualsim # Mi Roming
adb shell pm uninstall -k --user 0 com.miui.miservice # Servizi & feedback
adb shell pm uninstall -k --user 0 com.miui.yellowpage # Yellow Pages
adb shell pm uninstall -k --user 0 com.xiaomi.simactivate.service # SIM Active Services
adb shell pm uninstall -k --user 0 com.miui.msa.global # MSA
adb shell pm uninstall -k --user 0 com.miui.analytics # MIUI Analytics
adb shell pm uninstall -k --user 0 com.miui.daemon # MIUI Daemon
adb shell pm uninstall -k --user 0 com.duokan.phone.remotecontroller # Mi Remote controller
adb shell pm uninstall -k --user 0 com.miui.enbbs # Xiaomi MIUI Forum
adb shell pm uninstall -k --user 0 com.duokan.phone.remotecontroller.peel.plugin # Peel Mi Remote
adb shell pm uninstall -k --user 0 com.xiaomi.mipicks # GetApps
adb shell pm uninstall -k --user 0 com.qualcomm.qti.haven.telemetry.service # Qualcomm Telemetry
adb shell pm uninstall -k --user 0 com.amazon.appmanager # Amazon Telemetry
# Cell Broadcast
adb shell pm uninstall -k --user 0 com.android.cellbroadcastreceiver
adb shell pm uninstall -k --user 0 com.android.cellbroadcast.overlay.common
# Facebook Apps
adb shell pm uninstall -k --user 0 com.facebook.appmanager
adb shell pm uninstall -k --user 0 com.facebook.services
adb shell pm uninstall -k --user 0 com.facebook.system
# Mi Pay
adb shell pm uninstall -k --user 0 com.mipay.wallet.id
adb shell pm uninstall -k --user 0 com.mipay.wallet.in

Question How to uninstall bloatware from POCO X3 Pro?

How to uninstall bloatware from POCO X3 Pro?
Is it safe to follow the method described to uninstall bloatware for POCO X3 NFC on this Thread???
I have uninstalled the following and have not faced any issue.
com.google.android.apps.docs | Google Docs
com.google.android.apps.maps | Google Maps
com.google.android.apps.subscriptions.red | Google One
com.google.android.videos | Google Play Movies & TV
com.google.android.feedback | Feedback app
com.google.android.youtube | Youtube
com.miui.analytics | MIUI Analytics (spyware)
com.miui.msa.global | MSA or MIUI Ad Services
com.xiaomi.glgm | Games
com.xiaomi.joyose | Junk and safe to remove
com.xiaomi.xmsf | Xiaomi Service Framework
com.xiaomi.xmsfkeeper | Xiaomi Service Framework
com.facebook.appmanager | Facebook
com.facebook.services | Facebook
com.facebook.system | Facebook
Install xiaomi.eu
Sharing what I have disabled or un-installed without issues so far:
Package com.mi.globalbrowser new state: disabled-user
Package com.miui.analytics new state: disabled-user
Package com.miui.backup new state: disabled-user
Package com.miui.cleanmaster new state: disabled-user
Package com.miui.cloudbackup new state: disabled-user
Package com.miui.cloudservice new state: disabled-user
Package com.miui.micloudsync new state: disabled-user
Package com.miui.cloudservice.sysbase new state: disabled-user
Package com.miui.mishare.connectivity new state: disabled-user
Package com.miui.msa.global new state: disabled-user
Package com.miui.notes new state: disabled-user
Package com.miui.player new state: disabled-user
Package com.miui.yellowpage new state: disabled-user
uninstall -k --user 0 com.facebook.services
uninstall -k --user 0 com.facebook.system
uninstall -k --user 0 com.facebook.appmanager
Package com.google.android.apps.googleassistant new state: disabled-user
Package com.google.android.googlequicksearchbox new state: disabled-user
Package com.android.hotwordenrollment.okgoogle new state: disabled-user
uninstall -k --user 0 com.google.android.apps.subscriptions.red
Package com.miui.videoplayer new state: disabled-user
Note that I want to get rid of Google app, which improves battery life and privacy. This kills Google Assistant (which I don't use myself) and the Discover screen (which I don't use either).
Other Google products I use (gmail, agenda, phone, messages, map, drive, home) still work without any issues.
Well, to get rid of apps on android that you aren't "supposed to get rid of" (the ones that'll only "disable"), one must root their device with SuperSU or Magisk using TWRP.
If that's a success you'd wanna install Titanium Backup which not only backs up apps but can also delete "un-delete-able" apps.
As far as the Google app that BtB mentions, I don't get how it would improve battery life or even more outlandishly protect your "privacy" since it is Google's main focus to intrude on one's privacy.
On another note, somewhat related, I recently got a Moto G6 which came with tons of Google bloat. I did what I suggested to you to do, and I got rid of it all including the Google app (I do not see Google Assistant, on its own, in the app list on Titanium Backup). And I know this bit likely goes into the unpopular view, but I got rid of Google Photos in favor of a local app (that I can't seem to find the download for).
Lahpyrcopa said:
Well, to get rid of apps on android that you aren't "supposed to get rid of" (the ones that'll only "disable"), one must root their device with SuperSU or Magisk using TWRP.
If that's a success you'd wanna install Titanium Backup which not only backs up apps but can also delete "un-delete-able" apps.
As far as the Google app that BtB mentions, I don't get how it would improve battery life or even more outlandishly protect your "privacy" since it is Google's main focus to intrude on one's privacy.
On another note, somewhat related, I recently got a Moto G6 which came with tons of Google bloat. I did what I suggested to you to do, and I got rid of it all including the Google app (I do not see Google Assistant, on its own, in the app list on Titanium Backup). And I know this bit likely goes into the unpopular view, but I got rid of Google Photos in favor of a local app (that I can't seem to find the download for).
Click to expand...
Click to collapse
I don't have any detailed technology proof of what I say, but that's my 3rd phone on which I disable Google app and it yelds 10-20% more available battery after a day of use.
My theory is that this app is constantly updating data (for the discover feed, etc...), listening to you for the hey/ok google hotwords, etc... and disabling that improves battery life.
And as privacy goes, well, I know for sure Google is still slurping a lot of my data, but again, just having assistant off means it's not listening to me all the time :-D
So one suggestion... don't take my word for it, try it and let other know if you have similar results (I'm talking battery life, privacy cannot really be proved anyway).
I now debloated Stock pretty extensively with Xiaomi ADB/Fastboot Tools (Szaki) ~ see what I left in the pic.
Those pages are useful: selivan (last update 2020-11-23), technastic (MIUI 12 De. 2020), devcondition
I just hope a good and updated AOSP/LOS based signature spoofing ROM (I like crDroid) will become available before I would like to update the sys.
I have a weird issue with pic/file sharing in Apps, meaning often I can not send (newly created) pics from Edit Apps to Apps like WhatsApp, etc.
It just does not post the image. "The sharing app did grant permission to access this file".
I suspect it is some image cache (new files) issue, since when I save the file after some time it works in some Apps. However I'm not sure if this is introduced by debloating many of the Xiaomi/MIUI apps.
Did someone experience similar issues?
ChriMo said:
I have a weird issue with pic/file sharing in Apps, meaning often I can not send (newly created) pics from Edit Apps to Apps like WhatsApp, etc.
It just does not post the image. "The sharing app did grant permission to access this file".
I suspect it is some image cache (new files) issue, since when I save the file after some time it works in some Apps. However I'm not sure if this is introduced by debloating many of the Xiaomi/MIUI apps.
Did someone experience similar issues?
Click to expand...
Click to collapse
Hello, I was trying to remove some bloatware and found this thread. I believe I'm having the same issue - for example, If I have a video on Telegram and want to share it on Whatsapp, it returns with a message saying "The file format is not supported". I just don't know if it's it happened because I uninstalled something that I shouldn't.
yogubert said:
I just don't know if it's it happened because I uninstalled something that I shouldn't.
Click to expand...
Click to collapse
See Thread Poco X3 pro bugs
after turning on MIUI optimization, most of the problems are fixed.
Click to expand...
Click to collapse
Had to reenable the developer settings again by tapping multiple times on the MIUI version in the About 12.5.1 section.
Then Phone settings > Additional settings > Developer options > Turn on MIUI optimization (was off)
So I enabled that and so far checking it it really seems to solve the issue. Weird that this is causing such file sharing problems.
Click to expand...
Click to collapse
Hello all,
I have tested my script several times and it works properly. It removes all the Google and Xiaomi stuff except Settings, Camera, Security, Phone and Clock. Playstore was replaced with F-Droid store. Likewise, all the apps I needed were installed from the F-Droid store.
The script was created for the Bash under Linux. For Windows, the file extension can be renamed from .sh to .bat or .cmd.
Here are the links through which I informed myself.
German text
Android: (System-)Apps ohne Root löschen
[GUIDE] List of bloatware on EMUI safe to remove
How to Uninstall Carrier/OEM Bloatware Without Root Access
How To Remove & Uninstall Bloatware on Xiaomi Poco X3 Pro
[GUIDE] Uninstall Poco x3 NFC Bloatware
Xiaomi Bloatware List (Safe to Remove) on MIUI 12/11/10
Code:
# Es werden ca. 4 GByte an Bloatware entfernt
# About 4 GBytes of bloatware are removed
#
# Version MIUI Global V12.0.3.0 (RJUEUXM)
# Android-Sicherheitsupdate: 2021-02-01
# Android Security update: 2021-02-01
adb shell pm uninstall --user 0 com.android.vending
adb shell pm uninstall --user 0 com.google.android.videos
adb shell pm uninstall --user 0 com.google.android.apps.googleassistant
adb shell pm uninstall --user 0 com.google.android.apps.docs
adb shell pm uninstall --user 0 com.google.android.apps.tachyon
adb shell pm uninstall --user 0 com.google.android.apps.magazines
adb shell pm uninstall --user 0 com.google.android.gm
adb shell pm uninstall --user 0 com.google.android.apps.photos
adb shell pm uninstall --user 0 com.google.android.googlequicksearchbox
adb shell pm uninstall --user 0 com.google.android.apps.subscriptions.red
adb shell pm uninstall --user 0 com.android.providers.calendar
#
# Nur "com.android.providers.downloads.ui" löschen!
# Delete "com.android.providers.downloads.ui" only!
#
# Make sure to only remove the .ui package which is made by Xiaomi. You actually need com.android.providers.downloads which is a special Android provider package. Sneaky Xiaomi.
# Stellen Sie sicher, dass Sie nur das .ui-Paket entfernen, das von Xiaomi stammt. Sie benötigen com.android.providers.downloads, das ein spezielles Android-Provider-Paket ist. Hinterhältiges Xiaomi.
#
# adb shell pm uninstall --user 0 com.android.providers.downloads
adb shell pm uninstall --user 0 com.android.providers.downloads.ui
#
#
#
adb shell pm uninstall --user 0 com.google.android.calendar
adb shell pm uninstall --user 0 com.google.android.contacts
adb shell pm uninstall --user 0 com.google.android.apps.maps
adb shell pm uninstall --user 0 com.google.android.youtube
adb shell pm uninstall --user 0 com.google.android.apps.youtube.music
adb shell pm uninstall --user 0 com.google.android.apps.messaging
adb shell pm uninstall --user 0 com.google.android.apps.podcasts
adb shell pm uninstall --user 0 com.miui.gallery
adb shell pm uninstall --user 0 com.miui.android.fashiongallery
adb shell pm uninstall --user 0 com.miui.compass
adb shell pm uninstall --user 0 com.miui.screenrecorder
adb shell pm uninstall --user 0 com.mi.android.globalFileexplorer
adb shell pm uninstall --user 0 com.miui.notes
adb shell pm uninstall --user 0 com.android.browser
adb shell pm uninstall --user 0 com.mi.globalbrowser
adb shell pm uninstall --user 0 com.miui.videoplayer
adb shell pm uninstall --user 0 com.miui.player
adb shell pm uninstall --user 0 com.miui.calculator
adb shell pm uninstall --user 0 com.miui.miservice
#
# securitycenter darf nicht deinstalliert werden (Bootloop -> Werkseinstellung)
# Don't delete securitycenter (Bootloop -> Factory settings)
# adb shell pm uninstall --user 0 com.miui.securityadd
# adb shell pm uninstall --user 0 com.miui.securitycenter
# adb shell pm uninstall --user 0 com.miui.securitycore
# adb shell pm uninstall --user 0 com.lbe.security.miui
#
# finddevice darf nicht deinstalliert werden (Bootloop -> Werkseinstellung)
# Don't delete finddevice (Bootloop -> Factory settings)
# adb shell pm uninstall --user 0 com.xiaomi.finddevice
#
adb shell pm uninstall --user 0 com.android.thememanager
adb shell pm uninstall --user 0 com.android.thememanager.module
#
adb shell pm uninstall --user 0 com.xiaomi.micloud.sdk
adb shell pm uninstall --user 0 com.miui.micloudsync
adb shell pm uninstall --user 0 com.miui.cloudbackup
adb shell pm uninstall --user 0 com.miui.cloudservice
adb shell pm uninstall --user 0 com.miui.cloudservice.sysbase
#
adb shell pm uninstall --user 0 com.xiaomi.xmsf
adb shell pm uninstall --user 0 com.xiaomi.xmsfkeeper
#
adb shell pm uninstall --user 0 com.xiaomi.account
adb shell pm uninstall --user 0 com.miui.hybrid
adb shell pm uninstall --user 0 com.miui.hybrid.accessory
#
adb shell pm uninstall --user 0 com.miui.yellowpage
adb shell pm uninstall --user 0 com.xiaomi.payment
adb shell pm uninstall --user 0 com.mipay.wallet.in
adb shell pm uninstall --user 0 com.micredit.in
adb shell pm uninstall --user 0 cn.wps.xiaomi.abroad.lite
adb shell pm uninstall --user 0 com.miui.cleanmaster
#
adb shell pm uninstall --user 0 com.miui.analytics
adb shell pm uninstall --user 0 com.google.android.marvin.talkback
adb shell pm uninstall --user 0 com.google.android.feedback
adb shell pm uninstall --user 0 com.miui.backup
adb shell pm uninstall --user 0 com.android.hotwordenrollment.okgoogle
adb shell pm uninstall --user 0 com.android.mms
adb shell pm uninstall --user 0 com.android.mms.service
adb shell pm uninstall --user 0 com.xiaomi.misettings
adb shell pm uninstall --user 0 com.android.printspooler
adb shell pm uninstall --user 0 com.google.android.printservice.recommendation
adb shell pm uninstall --user 0 com.google.android.apps.wellbeing
adb shell pm uninstall --user 0 com.miui.phrase
adb shell pm uninstall --user 0 com.xiaomi.joyose
#
#
#
adb shell pm uninstall --user 0 com.miui.fm
adb shell pm uninstall --user 0 com.miui.fmservice
adb shell pm uninstall --user 0 com.miui.weather2
adb shell pm uninstall --user 0 com.ebay.mobile
adb shell pm uninstall --user 0 com.ebay.carrier
adb shell pm uninstall --user 0 com.facebook.katana
adb shell pm uninstall --user 0 com.facebook.services
adb shell pm uninstall --user 0 com.facebook.system
adb shell pm uninstall --user 0 com.facebook.appmanager
adb shell pm uninstall --user 0 com.linkedin.android
adb shell pm uninstall --user 0 com.agoda.mobile.consumer
adb shell pm uninstall --user 0 com.igg.android.lordsmobile
adb shell pm uninstall --user 0 com.amazon.mShop.android.shopping
adb shell pm uninstall --user 0 com.amazon.appmanager
adb shell pm uninstall --user 0 com.booking
adb shell pm uninstall --user 0 com.android.chrome
adb shell pm uninstall --user 0 com.netflix.mediaclient
adb shell pm uninstall --user 0 com.netflix.partner.activation
adb shell pm uninstall --user 0 com.duokan.phone.remotecontroller
adb shell pm uninstall --user 0 com.tencent.igxiaomi
adb shell pm uninstall --user 0 com.tencent.soter.soterserver
adb shell pm uninstall --user 0 com.android.soundrecorder
adb shell pm uninstall --user 0 com.xiaomi.scanner
adb shell pm uninstall --user 0 com.xiaomi.midrop
adb shell pm uninstall --user 0 com.zhiliaoapp.musically
#
#
#
adb shell pm uninstall --user 0 com.android.backupconfirm
adb shell pm uninstall --user 0 com.android.bips
adb shell pm uninstall --user 0 com.android.managedprovisioning
adb shell pm uninstall --user 0 com.android.providers.partnerbookmarks
#
#
# 2nd Phone
adb shell pm uninstall --user 0 com.block.puzzle.game.hippo.mi
adb shell pm uninstall --user 0 com.sukhavati.gotoplaying.bubble.BubbleShooter.mint
adb shell pm uninstall --user 0 com.logame.eliminateintruder3d
adb shell pm uninstall --user 0 com.jewelsblast.ivygames.Adventure.free
adb shell pm uninstall --user 0 com.opera.browser
#
# Erneut ausführen nach Update auf MIUI V12.5.1.0.RJUEUXM
# Run again after update to MIUI V12.5.1.0.RJUEUXM
# Android-Sicherheitsupdate: 2021-05-01
# Android Security update: 2021-05-01

How To Guide Debloat MIUI Apps with Termux

Requirements:
Need root to perform this process.
Install Termux.
Copy these and paste it and wait.
Wait 2 to 3mins.
Reboot.
for i in
com.miui.personalassistant com.miui.analytics com.miui.yellowpage com.miui.msa.global com.miui.touchassistant com.xiaomi.simactivate.service com.xiaomi.xmsf com.xiaomi.xmsfkeeper com.miui.daemon com.miui.vsimcore com.xiaomi.midrop com.xiaomi.mipicks com.miui.miwallpaper.miweatherwallpaper com.miui.miwallpaper.snowmountain com.miui.miwallpaper.geometry com.miui.miwallpaper.saturn com.xiaomi.payment com.xiaomi.joyose com.mfashiongallery.emag com.xiaomi.mi_connect_service com.miui.mishare.connectivity com.xiaomi.miplay_client com.mi.globalbrowser com.mipay.wallet.id com.mipay.wallet.in com.miui.hybrid.accessory com.google.android.apps.wellbeing com.google.android.marvin.talkback com.google.android.marvin.feedback com.android.providers.partnerbookmarks org.mipay.android.manager com.miui.yellowpage com.miui.phrase com.google.android.apps.subscriptions.red com.google.android.youtube com.google.android.feedback com.micredit.in com.miui.hybrid com.miui.miservice com.miui.bugreport com.tencent.soter.soterserver com.android.chrome com.google.android.apps.youtube.music; do
su -c pm uninstall --user 0 $i
done
Many thanks for this!
knigge111 said:
Many thanks for this!
Click to expand...
Click to collapse
you're welcome brother!

Categories

Resources