P40 Pro debloating guide - Huawei P40 Pro Guides, News, & Discussion

Hey everyone,
I've spent the last couples days going through all the installed packages, cross-referencing different debloating guides and testing my changes. I'm running the latest EMUI 10.1.0.158 (C636).
RECOMMENDATIONS: if you can, follow this debloating guide right after a factory reset; this simply guarantees a fresh clean start. Otherwise, start by backing up your apps and important files to an external device. The built-in backup app is ideal for preserving your apps and their settings, but make sure to move these backups OFF THE PHONE. Then, you can either remove all the apps (in my guide) all at once, or remove a few at a time and reboot the phone in between. Rebooting in between reduces the chance of "shocking" the OS with too many changes all at once which could result in boot looping. Just keep in mind that I did not find that to be necessary when debloating right after a factory reset, but your mileage may vary.
Here is what I personally debloated without any adverse effect, after 2 weeks of daily use:
adb shell pm uninstall --user 0 com.huawei.hicloud ****** Huawei cloud features
adb shell pm uninstall --user 0 com.huawei.browser ****** Stock browser, replaced with Mozilla
adb shell pm uninstall --user 0 com.huawei.browserhomepage ****** Stock browser component
adb shell pm uninstall --user 0 com.android.bookmarkprovider ****** Stock bookmark content
adb shell pm uninstall --user 0 com.android.providers.partnerbookmarks ****** Stock bookmark content
adb shell pm uninstall --user 0 com.huawei.wallet ****** Huawei Wallet app
adb shell pm uninstall --user 0 com.huawei.music ****** Stock music application, replaced with PowerAmp (use the APK from their website, it does not rely on Google Services)
adb shell pm uninstall --user 0 com.huawei.phoneservice ****** Huawei customer support, also known as HiCare
adb shell pm uninstall --user 0 com.huawei.hifolder ****** AppAdvisor
adb shell pm uninstall --user 0 com.huawei.parentcontrol ****** Digital balance, parental control features
adb shell pm uninstall --user 0 com.huawei.hicard ****** Huawei Cards, no info but recommended in some guides, no negative consequences
adb shell pm uninstall --user 0 com.huawei.hitouch ****** Allows you to shop for an object that you took a picture of
adb shell pm uninstall --user 0 com.huawei.hiassistantoversea ****** HiVoice. Huawei's voice assistant to replace "Hey Google"
adb shell pm uninstall --user 0 com.huawei.fastapp ****** Quick App Center, another type of app distribution
adb shell pm uninstall --user 0 com.huawei.imedia.sws ****** Histen. Special sound effects found in the sound settings. I only care about my EQ settings in PowerAmp
adb shell pm uninstall --user 0 com.huawei.intelligent ****** Huawei Assistant. Shopping recommendations
adb shell pm uninstall --user 0 com.huawei.magazine ****** Magazine unlock. Downloads wallpapers for your lock screen. I don't need my phone needlessly connecting to remote servers
adb shell pm uninstall --user 0 com.huawei.hwblockchain ****** I don't do anything blockchain related
adb shell pm uninstall --user 0 com.huawei.hwstartupguide ****** A one-time setup app that is no longer needed
adb shell pm uninstall --user 0 com.android.onetimeinitializer ****** A one-time setup app that is no longer needed
adb shell pm uninstall --user 0 com.huawei.android.instantonline ****** No information but recommended in some guides, no negative consequences
adb shell pm uninstall --user 0 com.huawei.hwpanpayservice ****** This is payment related, I don't use my phone as a payment method nor do I use Huawei Wallet
adb shell pm uninstall --user 0 com.bjbyhd.screenreader_huawei ****** An accessibility feature for visually impaired people
adb shell pm uninstall --user 0 com.huawei.search ****** HiSearch. This does not affect the search bar in the Settings
adb shell pm uninstall --user 0 com.huawei.hwdetectrepair ****** Smart Diagnosis app. It diagnoses hardware problems which I could do myself
adb shell pm uninstall --user 0 com.huawei.hiview ****** This supposedly displays details/attributes of pictures. After removing this, I can still access the picture attributes in the stock Gallery so I'm not sure what this is actually about
adb shell pm uninstall --user 0 com.huawei.hiviewtunnel ****** Related to HiView.
adb shell pm uninstall --user 0 com.huawei.hidisk ****** Stock file explorer, replaced with File Manager +
adb shell pm uninstall --user 0 com.huawei.android.chr ****** HwChrService, this collects data about your usage of the cellular network. No thanks
adb shell pm uninstall --user 0 com.huawei.bd ****** Huawei User Experience app
adb shell pm uninstall --user 0 com.huawei.android.karaoke ****** Self explanatory
adb shell pm uninstall --user 0 com.huawei.desktop.explorer ****** EMUI Desktop Mode for connecting to an external display
adb shell pm uninstall --user 0 com.huawei.android.FloatTasks ****** Navigation Dock, I don't care for that UI feature
adb shell pm uninstall --user 0 com.huawei.languagedownloader ****** According to some guides, this is unsafe but I don't need another downloader for something that I'll never use
adb shell pm uninstall --user 0 com.huawei.lbs ****** Location Service. Sounds scary but I am still able to use all my GPS and location services. My location based weather widgets, Waze and Google Maps connect just as fast and accurately as before
adb shell pm uninstall --user 0 com.huawei.featurelayer.sharedfeature.map ****** Huawei Map Service. I removed it and have no issues using Waze and Google Maps
adb shell pm uninstall --user 0 com.hisi.mapcon ****** This is apparently not recommended when using WiFi calling, which I don't
adb shell pm uninstall --user 0 com.huawei.himovie.overseas ****** Stock video application, replaced with VLC. This integrates perfectly with the stock Camera and Gallery apps
adb shell pm uninstall --user 0 com.android.stk ****** SIM Toolkit. Not supported by US SIM cards
adb shell pm uninstall --user 0 com.android.mms ****** Stock SMS application, replaced with Pulse. I can still send/receive SMS & MMS. Textra looks like a good alternative too
adb shell pm uninstall --user 0 com.huawei.HwMultiScreenShot ****** Scrollshot. Basic screenshots still work, I don't use the knock feature
adb shell pm uninstall --user 0 com.huawei.smartshot ****** Smart screenshot. Basic screenshots still work, I don't use the knock feature
adb shell pm uninstall --user 0 com.huawei.bluetooth ****** Allows importing phone contacts via Bluetooth, something I've never done in my life
adb shell pm uninstall --user 0 com.swiftkey.swiftkeyconfigurator ****** Older version of SwiftKey, replaced with the latest SwiftKey APK
adb shell pm uninstall --user 0 com.touchtype.swiftkey ****** Older version of SwiftKey, replaced with the latest SwiftKey APK. Do not do this before downloading the APK for your new keyboard otherwise you won't have a keyboard to use to search for a replacement
adb shell pm uninstall --user 0 com.huawei.pcassistant ****** Used when connecting your phone to your PC using HiSuite
adb shell pm uninstall --user 0 com.android.egg ****** A hidden animation that no one needs to see
adb shell pm uninstall --user 0 com.android.backupconfirm ****** Google Backup, unusable without Google Services. This does not affect Huawei's backup app, I was able to back up all my apps and settings
adb shell pm uninstall --user 0 com.android.calllogbackup ****** Google Call Log Backup/Restore. This does not affect Huawei's backup app, I was able to back up my calls successfully
adb shell pm uninstall --user 0 com.huawei.scanner ****** AI Lens. Shop for objects that you take a picture of. I can't stand these "features" that revolve around shopping. This de-clutters the camera interface by removing the AI Lens button on the top left corner and does not break the AR Measure app.
adb shell pm uninstall --user 0 com.huawei.contacts ****** Dialer & contacts app. I first installed my dialer replacement, True Phone (version 2.0.0-hw rev 99 from the AppGallery) and then ran this command. Although this should not actually delete your contacts, make sure to back them up. I've had absolutely 0 issue making or receiving calls after deleting the stock dialer.
adb shell pm uninstall --user 0 com.huawei.hwsearch ****** Petal Search widget. I personally use APKPure and sometimes the AppGallery.
adb shell pm uninstall --user 0 package:com.huawei.android.hwupgradeguide ****** New package that came with .158. There is no description online but judging from the name, I don't need it
NOTICE THAT I DO NOT INCLUDE THE -k PARAMETER IN MY COMMANDS, unlike most guides found online. I do not get any error running the commands as such, and it actually clears the data created by those apps. In other words, we're not only debloating your user interface but also your storage!
To restore any app removed via ADB:
adb shell cmd package install-existing <package_name>
I always try to uninstall apps through Android before resorting to ADB. I did not really keep track of apps that I uninstalled through the menu, so it's just easier to tell you which stock apps I kept installed. By stock app, I ONLY MEAN actual apps that you can open from the home screen:
-AppGallery. This requires com.huawei.hwid to work. I needed it to get Snapchat, I might ADB-uninstall it now that Snapchat is installed
-Phone Clone. This could always be useful for porting apps over
-Optimizer
-Themes
-Live wallpaper (com.huawei.livewallpaper.paradise, also known as Brocade)
-Calendar widget/app
-Camera. Obviously. Who in their right mind would get this phone lacking a major component of Android (Play Services), if not for the camera
-Gallery. For pictures and editing
-Contacts. This is also the phone dialer. I have now uninstalled this app and replaced it with True Dialer 2.0 by Hamster Beat (available on AppGallery)
-Compass. Works great
-Smart Remote. If I ever decide to make use of my IR blaster
-AR Measure. I usually don't care for stuff like this but this actually works great and looks awesome
Here are apps/system processes that actually have an uninstall button but that I DID NOT UNINSTALL:
-Backup (com.huawei.KoBackup). I use this app to create backups periodically. Without root, this native app is able to backup a lot more than any other 3rd party backup app
-com.huawei.game.kitserver (I don't play games but if I ever decide to, I'd like to avoid breaking features)
-Contacts Sync (com.huawei.contacts.sync). I have now uninstalled this app as I no longer use the stock dialer (com.huawei.contacts)
-Storage manager (com.android.storemanager)
My goal is to remove low quality, "spyware" or unnecessary apps without removing or breaking useful features. "Useful" is always a little subjective, so decide for yourself based on my descriptions and comments!

I added AI Lens to my debloat list.
I just updated to 10.1.0.122 and did not find new packages installed or restored as part of the ROM update.

thank you very much my friend ! just did this on Mate XS !!!
finally !

avetny said:
thank you very much my friend ! just did this on Mate XS !!!
finally !
Click to expand...
Click to collapse
You're more than welcome. I've been doing some network analysis using the AdGuard Firewall and I might update this guide with my findings. I found out the phone is phoning back home (to China) quite a bit, especially Huawei Cloud and HiCloud servers despite not using any of these apps or Huawei cloud services.

how do i do this?
i cant use adb i have developer options and usb debugging on but adb devices dont show the phone

It's probably a driver problem. Take a look at this guide: https://androidmtk.com/download-minimal-adb-and-fastboot-tool

H-Emmanuel said:
It's probably a driver problem. Take a look at this guide: https://androidmtk.com/download-minimal-adb-and-fastboot-tool
Click to expand...
Click to collapse
thank you got i to work had to revoke usb debugging

H-Emmanuel said:
Hey everyone,
I've spent the last couples days going through all the installed packages, cross-referencing different debloating guides and testing my changes. I'm running the latest EMUI 10.1.0.114 and here's what I debloated so far:
adb shell pm uninstall --user 0 com.huawei.hicloud ****** Huawei cloud features
adb shell pm uninstall --user 0 com.huawei.browser ****** Stock browser, replaced with Mozilla
adb shell pm uninstall --user 0 com.huawei.browserhomepage ****** Stock browser component
adb shell pm uninstall --user 0 com.android.bookmarkprovider ****** Stock bookmark content
adb shell pm uninstall --user 0 com.android.providers.partnerbookmarks ****** Stock bookmark content
adb shell pm uninstall --user 0 com.huawei.wallet ****** Huawei Wallet app
adb shell pm uninstall --user 0 com.huawei.music ****** Stock music application, replaced with PowerAmp (use the APK from their website, it does not rely on Google Services)
adb shell pm uninstall --user 0 com.huawei.phoneservice ****** Huawei customer support, also known as HiCare
adb shell pm uninstall --user 0 com.huawei.hifolder ****** AppAdvisor
adb shell pm uninstall --user 0 com.huawei.parentcontrol ****** Digital balance, parental control features
adb shell pm uninstall --user 0 com.huawei.hicard ****** Huawei Cards, no info but recommended in some guides, no negative consequences
adb shell pm uninstall --user 0 com.huawei.hitouch ****** Allows you to shop for an object that you took a picture of
adb shell pm uninstall --user 0 com.huawei.hiassistantoversea ****** HiVoice. Huawei's voice assistant to replace "Hey Google"
adb shell pm uninstall --user 0 com.huawei.fastapp ****** Quick App Center, another type of app distribution
adb shell pm uninstall --user 0 com.huawei.imedia.sws ****** Histen. Special sound effects found in the sound settings. I only care about my EQ settings in PowerAmp
adb shell pm uninstall --user 0 com.huawei.intelligent ****** Huawei Assistant. Shopping recommendations
adb shell pm uninstall --user 0 com.huawei.magazine ****** Magazine unlock. Downloads wallpapers for your lock screen. I don't need my phone needlessly connecting to remote servers
adb shell pm uninstall --user 0 com.huawei.hwblockchain ****** I don't do anything blockchain related
adb shell pm uninstall --user 0 com.huawei.hwstartupguide ****** A one-time setup app that is no longer needed
adb shell pm uninstall --user 0 com.android.onetimeinitializer ****** A one-time setup app that is no longer needed
adb shell pm uninstall --user 0 com.huawei.android.instantonline ****** No information but recommended in some guides, no negative consequences
adb shell pm uninstall --user 0 com.huawei.hwpanpayservice ****** This is payment related, I don't use my phone as a payment method nor do I use Huawei Wallet
adb shell pm uninstall --user 0 com.bjbyhd.screenreader_huawei ****** An accessibility feature for visually impaired people
adb shell pm uninstall --user 0 com.huawei.search ****** HiSearch. This does not affect the search bar in the Settings
adb shell pm uninstall --user 0 com.huawei.hwdetectrepair ****** Smart Diagnosis app. It diagnoses hardware problems which I could do myself
adb shell pm uninstall --user 0 com.huawei.hiview ****** This supposedly displays details/attributes of pictures. After removing this, I can still access the picture attributes in the stock Gallery so I'm not sure what this is actually about
adb shell pm uninstall --user 0 com.huawei.hiviewtunnel ****** Related to HiView.
adb shell pm uninstall --user 0 com.huawei.hidisk ****** Stock file explorer, replaced with File Manager +
adb shell pm uninstall --user 0 com.huawei.android.chr ****** HwChrService, this collects data about your usage of the cellular network. No thanks
adb shell pm uninstall --user 0 com.huawei.bd ****** Huawei User Experience app
adb shell pm uninstall --user 0 com.huawei.android.karaoke ****** Self explanatory
adb shell pm uninstall --user 0 com.huawei.desktop.explorer ****** I don't need Huawei doing anything on my PC
adb shell pm uninstall --user 0 com.huawei.android.FloatTasks ****** Navigation Dock, I don't care for that UI feature
adb shell pm uninstall --user 0 com.huawei.languagedownloader ****** According to some guides, this is unsafe but I don't need another downloader for something that I'll never use
adb shell pm uninstall --user 0 com.huawei.lbs ****** Location Service. Sounds scary but I am still able to use all my GPS and location services. My location based weather widgets and Waze connect just as fast and accurately as before
adb shell pm uninstall --user 0 com.huawei.featurelayer.sharedfeature.map ****** Huawei Map Service. I removed it and have no issues using Waze
adb shell pm uninstall --user 0 com.hisi.mapcon ****** This is apparently not recommended when using WiFi calling, which I don't
adb shell pm uninstall --user 0 com.huawei.himovie.overseas ****** Stock video application, replaced with VLC. This integrates perfectly with the stock Camera and Gallery apps
adb shell pm uninstall --user 0 com.android.stk ****** SIM Toolkit. Not supported by US SIM cards
adb shell pm uninstall --user 0 com.android.mms ****** Stock SMS application, replaced with Pulse. I can still send/receive SMS & MMS. Textra looks like a good alternative too
adb shell pm uninstall --user 0 com.huawei.HwMultiScreenShot ****** Scrollshot. Basic screenshots still work, I don't use the knock feature
adb shell pm uninstall --user 0 com.huawei.smartshot ****** Smart screenshot. Basic screenshots still work, I don't use the knock feature
adb shell pm uninstall --user 0 com.huawei.bluetooth ****** Allows importing phone contacts via Bluetooth, something I've never done in my life
adb shell pm uninstall --user 0 com.swiftkey.swiftkeyconfigurator ****** Older version of SwiftKey, replaced with the latest SwiftKey APK
adb shell pm uninstall --user 0 com.touchtype.swiftkey ****** Older version of SwiftKey, replaced with the latest SwiftKey APK
adb shell pm uninstall --user 0 com.huawei.pcassistant ****** Used when connecting your phone to your PC using HiSuite
adb shell pm uninstall --user 0 com.android.egg ****** A hidden animation that no one needs to see
adb shell pm uninstall --user 0 com.android.backupconfirm ****** Google Backup, unusable without Google Services. This does not affect Huawei's backup app, I was able to back up all my apps and settings
adb shell pm uninstall --user 0 com.android.calllogbackup ****** Google Call Log Backup/Restore. This does not affect Huawei's backup app, I was able to back up my calls successfully
adb shell pm uninstall --user 0 com.huawei.scanner ****** AI Lens. Shop for objects that you take a picture of. I can't stand these "features" that revolve around shopping. This de-clutters the camera interface by removing the AI Lens button on the top left corner and does not break the AR Measure app.
NOTICE THAT I DO NOT INCLUDE THE -k PARAMETER IN MY COMMANDS, unlike most guides found online. I do not get any error running the commands as such, and it actually clears the data created by those apps. In other words, we're not only debloating your user interface but also your storage!
To restore any app removed via ADB:
adb shell cmd package install-existing <package_name>
I always try to uninstall apps through Android before resorting to ADB. I did not really keep track of apps that I uninstalled through the menu, so it's just easier to tell you which stock apps I kept installed. By stock app, I ONLY MEAN actual apps that you can open from the home screen:
-AppGallery. This requires com.huawei.hwid to work. I needed it to get Snapchat, I might ADB-uninstall it now that Snapchat is installed
-Phone Clone. This could always be useful for porting apps over
-Optimizer
-Themes
-Live wallpaper (com.huawei.livewallpaper.paradise, also known as Brocade)
-Calendar widget/app
-Camera. Obviously. Who in their right mind would get this phone lacking a major component of Android (Play Services), if not for the camera
-Gallery. For pictures and editing
-Contacts. This is also the phone dialer
-Compass. Works great
-Smart Remote. If I ever decide to make use of my IR blaster
-AR Measure. I usually don't care for stuff like this but this actually works great and looks awesome
Here are apps/system processes that actually have an uninstall button but that I DID NOT UNINSTALL:
-com.huawei.game.kitserver (I don't play games but if I ever decide to, I'd like to avoid breaking features)
-Contacts Sync (com.huawei.contacts.sync). I use the stock dialer and I'm not sure whether this can be safely removed
-Storage manager (com.android.storemanager)
My goal is to remove low quality, "spyware" or unnecessary apps without removing or breaking useful features. "Useful" is always a little subjective, so decide for yourself based on my descriptions and comments!
Click to expand...
Click to collapse
Thanks for this have you noticed any improvement with battery life after debloating all of these apps?
Any issues after debloating?
Also, can you please tell me the exact command you have to type to debloat? Starting from ADB shell, what is the next command please? And what software /hardware do I need to debloat?

Thanos88 said:
Thanks for this have you noticed any improvement with battery life after debloating all of these apps?
Any issues after debloating?
Also, can you please tell me the exact command you have to type to debloat? Starting from ADB shell, what is the next command please? And what software /hardware do I need to debloat?
Click to expand...
Click to collapse
setting click build 7 times enable developer mode
go in developer mode enable usb debugging
download adb
open folder shift + right click
open commend window
adb devices to see if your device is found
then copy paste each commend

Thanos88 said:
Thanks for this have you noticed any improvement with battery life after debloating all of these apps?
Any issues after debloating?
Also, can you please tell me the exact command you have to type to debloat? Starting from ADB shell, what is the next command please? And what software /hardware do I need to debloat?
Click to expand...
Click to collapse
No issues, no crashes and no weird behavior. If you read my comments, I explain what each command does and whether or not it's removing an important feature.
You simply have to copy/paste the commands in bold, these are the full commands.
I pretty much debloated the phone as soon as I got it so I can't really speak about battery life improvement.
A few days ago I even removed the stock Huawei dialer in favor of True Phone (2.0.0.0-hw rev 99 found on the AppGallery). I just updated my first post to reflect that.

H-Emmanuel said:
No issues, no crashes and no weird behavior. If you read my comments, I explain what each command does and whether or not it's removing an important feature.
You simply have to copy/paste the commands in bold, these are the full commands.
I pretty much debloated the phone as soon as I got it so I can't really speak about battery life improvement.
A few days ago I even removed the stock Huawei dialer in favor of True Phone (2.0.0.0-hw rev 99 found on the AppGallery).
Click to expand...
Click to collapse
Thanks!! I stupidly uninstalled something I shouldn't have, restarted the phone and phone wouldn't boot past the huawei logo ?? had to perform factory reset. Be very careful with what you uninstall

Thanos88 said:
Thanks!! I stupidly uninstalled something I shouldn't have, restarted the phone and phone wouldn't boot past the huawei logo had to perform factory reset. Be very careful with what you uninstall
Click to expand...
Click to collapse
Do you remember what you uninstalled specifically? There's a chance you could have restored the missing apps using ADB in Fastboot Mode instead of doing a factory reset.
The list of apps in my post is what I personally removed right after a factory reset (to make sure I was starting from scratch).

H-Emmanuel said:
Do you remember what you uninstalled specifically? There's a chance you could have restored the missing apps using ADB in Fastboot Mode instead of doing a factory reset.
The list of apps in my post is what I personally removed right after a factory reset (to make sure I was starting from scratch).
Click to expand...
Click to collapse
I have no idea what I removed but even after removing it and restating the phone, there was no way to reinstall the app because the phone wouldn't load last the huawei logo meaning I couldn't get it into adb mode at all.

Alright. If I understand correctly, you also removed things that were not on my list, correct?

H-Emmanuel said:
Alright. If I understand correctly, you also removed things that were not on my list, correct?
Click to expand...
Click to collapse
That's correct yes. You won't really know if the things you've removed were safe to remove until you've restarted the phone pretty much

Yep that's true! I wrote this guide after doing many reboots, I'll update my post to add some guidelines.

H-Emmanuel said:
Yep that's true! I wrote this guide after doing many reboots, I'll update my post to add some guidelines.
Click to expand...
Click to collapse
excellent, as long as you rebooted your device after the debloats you've mentioned in your post that's good ?? I still have some more debloats left to do from your list. I was seriously hoping for better battery life, I hope debloating will improve it

Works like a charm, thanks

faceliler said:
Works like a charm, thanks
Click to expand...
Click to collapse
Glad to hear you've had success with this guide

Awesome thank you very much , i thought we need root permissions to do that

Related

Debloat System Apps Without Root

This Guide Assumes You Know How To Use ADB, And Already Have Access To It. You Can Possibly Mess Up Your Phone Disabling The Wrong Thing, And I'm Not Liable For Any Damage, Including Missing Your Anniversary Dinner Due To Alarm App Being Disabled =P.
Plus Side? A Factory Reset Will Fix It.
Step One :
Download Android Platform Tools (ADB/Fastboot)
https://ln.sync.com/dl/984ab7480/azzmqpk8-8km5ysir-6fz7v9rz-mvfu2tqf
Step Two :
Enable USB Debugging
--Settings, About Phone, Tap Build Number 5 Times,
Go To "Developer Options", And Enable USB Debugging.
Step Three :
Download Application Inspector
https://play.google.com/store/apps/details?id=com.ubqsoft.sec01&hl=en
Step Four :
Extract The ZIP File From Step One. Open
The Directory, Hold Down Shift, Right Click, And Click
"Open Command Prompt Here".
Step Five:
Unlock Your Phone And Plug In Into Your PC, Then Type
"adb devices" (without quotes) Into The Command Prompt.
On Your Phone, Check "Always Allow" On Your Phone, And
Then Okay.
Step Six : type "adb shell" (without quotes)
---------------------------------
Here's Where The Debloating Begins.
---------------------------------
Once you type adb shell, you'll start using commands to
disable apps "permanantly". Instead of disabling them, and
them coming back when you do play store updates. This
has worked with anything i've thrown at it so far. Using
application inspector (linked above), to get the package
name, you'll then type in the command below to "remove"
that package from the current user. when done, reboot.
"pm uninstall -k --user 0 PACKAGE_NAME"
------------------------------------------
original thread with this method from the G5 Plus
forums. linked below. i didn't come up with this method,
but it works well on our phones. pics coming when i get
home, to help others out. i'll probably rewrite this to make
it cleaner as well
https://forum.xda-developers.com/g5-plus/how-to/amazon-ads-removal-moto-g5-t3598515
no luck. I need to disable voicemail, carrierhub, callerID but it gaves me en error "Failure"
I am rooted Stock Android 8.0 Sprint
and this actually worked for me
Make sure you have Root, I can not guarantee it works without it.
1st) VERY important) Make sure to activate the phone and let Sprint install all the garbage bloatware all the way, it can take a good half an hour
Make sure your wifi calling and all your sprint stuff works and your phone is fully activated otherwise you will end up with SPRINT ID download error 400 and the only way to get rid of that is with FACTORY RESET.
2) use a batch uninstaller app and remove all the garbage users app in one shot , close to 18 of them
Restart and follow the above
USB Debug enabled
ADB Shell
and copy paste the following lines from my list below
reboot and done,
Sprint ID did not reinstall the bloatware again.
be careful it is case sensetive!
=======================
nash:/ $ pm uninstall -k --user 0 com.facebook.katana
Success
nash:/ $ pm uninstall -k --user 0 com.lookout
Success
nash:/ $ pm uninstall -k --user 0 com.facebook.orca
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.clouddrive.photos
Success
nash:/ $ pm uninstall -k --user 0 com.instagram.android
Success
nash:/ $ pm uninstall -k --user 0 com.audible.application
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.mp3
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.kindle
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.mShop.android.shopping
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.avod.thirdpartyclient
Success
nash:/ $ pm uninstall -k --user 0 com.google.android.calendar
Success
pm uninstall -k --user 0 com.google.android.youtube
pm uninstall -k --user 0 com.google.android.marvin.talkback
pm uninstall -k --user 0 com.google.android.videos
pm uninstall -k --user 0 com.google.android.inputmethod.pinyin
pm uninstall -k --user 0 com.google.android.inputmethod.japanese
pm uninstall -k --user 0 com.google.android.inputmethod.korean
pm uninstall -k --user 0 com.google.android.apps.tachyon
pm uninstall -k --user 0 com.google.android.apps.walletnfcrel
pm uninstall -k --user 0 com.google.vr.vrcore
doctorman said:
I am rooted Stock Android 8.0 Sprint
and this actually worked for me
Make sure you have Root, I can not guarantee it works without it.
1st) VERY important) Make sure to activate the phone and let Sprint install all the garbage bloatware all the way, it can take a good half an hour
Make sure your wifi calling and all your sprint stuff works and your phone is fully activated otherwise you will end up with SPRINT ID download error 400 and the only way to get rid of that is with FACTORY RESET.
2) use a batch uninstaller app and remove all the garbage users app in one shot , close to 18 of them
Restart and follow the above
USB Debug enabled
ADB Shell
and copy paste the following lines from my list below
reboot and done,
Sprint ID did not reinstall the bloatware again.
be careful it is case sensetive!
=======================
nash:/ $ pm uninstall -k --user 0 com.facebook.katana
Success
nash:/ $ pm uninstall -k --user 0 com.lookout
Success
nash:/ $ pm uninstall -k --user 0 com.facebook.orca
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.clouddrive.photos
Success
nash:/ $ pm uninstall -k --user 0 com.instagram.android
Success
nash:/ $ pm uninstall -k --user 0 com.audible.application
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.mp3
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.kindle
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.mShop.android.shopping
Success
nash:/ $ pm uninstall -k --user 0 com.amazon.avod.thirdpartyclient
Success
nash:/ $ pm uninstall -k --user 0 com.google.android.calendar
Success
Click to expand...
Click to collapse
This worked great. Planning on removing bloat as the days go on.
Can anyone please confirm if this works on unrooted stock firmware?. I am unable to make whatsapp calls because Sprinthub keeps terminating it.
Please if anyone has better idea of debloating Sprint crap, then let me know.
thanks
I have a XT1789-06 (Indian) and i use this method to debloat my Moto Phones (Moto Z , Moto Z2 Force , Moto Z Play) all running on stock and locked BL. This works quite well to uninstall apps (such as Moto Voice , Motorola SLPC System , Checkin , Device Management etc.. )
It doesn't have any carrier specific app , but it should succeed .

Delete Bloatware with this script

Hello guys, as you know, we can't unlock the bootloader, so we are stuck with stock firmware.
I have a 3gb/ ram and 32gb/rom tablet, some of you may have lower specs 2/32 , or even 1/16 in many models.
With this script you can gain a bit of extra performance, because you'll have less apps using the ungenerous ram that comes with the device.
Instructions:
1) Install the device's drivers and enable usb debugging on your tablet.
2) Download the file and extract it.
3) Connect your tablet to the pc and open a cmd window and type adb shell.
4) You'll see a message on your tablet, just tap to allow the connection.
5) Now, run the bat file and wait, sometimes you need run it again.
If you open the .txt file, you'll see all the apps that are going to be disable and uninstalled, if you want to keep an app, just add a "#" at the start of the command and it well be skipped.
Download link:
https://drive.google.com/file/d/117sGCj5Ep6K6ZNGTD28s0FD5c46ckegD/view?usp=drivesdk
Have a good day and stay safe.
Cheers guys.
sfoot13 said:
Hello guys, as you know, we can't unlock the bootloader, so we are stuck with stock firmware.
I have a 3gb/ ram and 32gb/rom tablet, some of you may have lower specs 2/32 , or even 1/16 in many models.
With this script you can gain a bit of extra performance, because you'll have less apps using the ungenerous ram that comes with the device.
Instructions:
1) Install the device's drivers and enable usb debugging on your tablet.
2) Download the file and extract it.
3) Connect your tablet to the pc and open a cmd window and type adb shell.
4) You'll see a message on your tablet, just tap to allow the connection.
5) Now, run the bat file and wait, sometimes you need run it again.
If you open the .txt file, you'll see all the apps that are going to be disable and uninstalled, if you want to keep an app, just add a "#" at the start of the command and it well be skipped.
Download link:
https://drive.google.com/file/d/117sGCj5Ep6K6ZNGTD28s0FD5c46ckegD/view?usp=drivesdk
Have a good day and stay safe.
Cheers guys.
Click to expand...
Click to collapse
Hello and thank you for this.
Could you provide a brief explanation on the txt file next to each item (or here) as to what would happen when you disable or uninstall each item?
Most of them are self explanatory but I have trouble with a few ie:
pm disable-user --user 0 com.huawei.android.hwouc ??
pm uninstall --user 0 com.google.android.feedback ??
pm uninstall --user 0 com.android.providers.contacts ??
pm disable-user --user 0 com.android.contacts (I will need a new contacts app, wont I)
pm disable-user --user 0 com.huawei.camera (I will need a new camera app)
pm uninstall --user 0 com.android.bookmarkprovider ??
pm uninstall --user 0 com.android.providers.partnerbookmarks ??
pm disable-user --user 0 com.android.providers.calendar ??
pm disable-user --user 0 com.google.android.gm ??
pm uninstall --user 0 com.google.android.onetimeinitializer ??
pm disable-user --user 0 com.huawei.phoneservice (will I be able to call?)
pm disable-user --user 0 com.huawei.nearby ??
pm disable-user --user 0 com.android.emergency ??
pm disable-user --user 0 com.google.android.partnersetup ??
pm disable-user --user 0 com.android.cellbroadcastreceiver ??
pm uninstall --user 0 com.google.android.syncadapters.contacts ??
pm uninstall --user 0 com.google.android.syncadapters.calendar ??
pm uninstall --user 0 com.swiftkey.swiftkeyconfigurator
pm uninstall --user 0 com.touchtype.swiftkey (will I need a new keyboard? do i need to install it before I uninstall this one?)
pm disable-user --user 0 com.google.android.backuptransport ??
pm disable-user --user 0 com.google.android.backupconfirm ??
pm uninstall --user 0 com.google.android.tts ??
#pm disable-user --user 0 com.android.location.fused ?? why are you not disabling this one?
pm disable-user --user 0 com.google.android.printservice.recommendation ??
pm disable-user --user 0 com.android.keyguard ??
pm disable-user --user 0 com.huawei.android.FloatTasks ??
pm disable-user --user 0 com.huawei.hwid ??
pm disable-user --user 0 com.android.printspooler ??
pm disable-user --user 0 com.huawei.omacp ??
#pm disable-user --user 0 com.android.vending
#pm disable-user --user 0 com.google.android.gsf
#pm disable-user --user 0 com.google.android.gms
#pm disable-user --user 0 com.google.android.overlay.gmsconfig
#pm disable-user --user 0 com.google.android.marvin.talkbackNEVERDELETEIT,BECAUSEPHONEWILLENDINBOOTLOOP
And why are you not diabling the last five items?
Thanks in advance
Hi, in this thread, there is a comprehensive list of packages, with the description, and whether or not is safe to remove:
https://forum.xda-developers.com/mate-20-x/how-to/guide-remove-apps-adb-t3870727
Here below I’m sharing my experience about what I safely removed from my T5:
package:com.google.android.feedback
package:com.huawei.hifolder
package:com.huawei.hicloud
package:com.android.providers.partnerbookmarks
package:com.android.bookmarkprovider
package:com.google.android.music
package:com.google.android.videos
package:com.huawei.android.totemweatherwidget
package:com.huawei.android.totemweather
package:com.huawei.android.totemweatherapp
package:com.google.android.youtube
package:com.touchtype.swiftkey
package:com.huawei.kidsmode.kidspaint
package:com.example.android.notepad
package:com.swiftkey.swiftkeyconfigurator
package:com.facebook.system
package:com.android.email
package:com.android.mediacenter
package:com.huawei.himovie.overseas
package:com.google.android.gms
package:com.google.android.apps.photos
package:com.android.providers.calendar
package:com.android.calendar
package:com.android.contacts
package:com.android.providers.downloads
package:com.android.providers.downloads.ui
package:com.google.android.apps.tachyon
package:com.android.wallpaper.livepicker
package:com.android.providers.contacts
package:com.facebook.services
package:com.facebook.appmanager
package:com.huawei.hiview
package:com.huawei.iaware
package:com.huawei.android.chr
package:com.google.android.onetimeinitializer
package:com.huawei.nearby
package:com.huawei.android.FloatTasks
package:com.huawei.appmarket
package:com.huawei.phoneservice
package:com.huawei.screenrecorder
package:com.android.partnerbrowsercustomizations.tmobile
package:com.huawei.hiviewtunnel
package:com.hisi.mapcon
package:com.google.android.apps.work.oobconfig
package:com.huawei.hwid
packageackage:com.android.backupconfirm
package:com.huawei.android.instantshare
package:com.android.statementservice
package:com.google.android.setupwizard
package:com.android.sharedstoragebackup
package:com.huawei.HwMultiScreenShot
package:com.huawei.hwstartupguide
package:com.huawei.android.mirrorshare
package:com.huawei.android.wfdft
package:com.android.emergency
package:com.huawei.hwdetectrepair
package:com.huawei.bd
Probably I could remove more things safely, but I’m using them (launcher, file manager, camera,…)
Have a nice day
Thanks for this, will use it later today
Hey Im planning to use a debloat script as well! I've seen in the txt it removes the camera (useful to me) and swiftkey keyboard (isn't that dangerous if not having other keyboards?).
Hi again. I've used the script but now the Update app is disabled and can't enable it again! X_X any idea about how to fix that?
sfoot13 said:
Hello guys, as you know, we can't unlock the bootloader, so we are stuck with stock firmware.
I have a 3gb/ ram and 32gb/rom tablet, some of you may have lower specs 2/32 , or even 1/16 in many models.
With this script you can gain a bit of extra performance, because you'll have less apps using the ungenerous ram that comes with the device.
Instructions:
1) Install the device's drivers and enable usb debugging on your tablet.
2) Download the file and extract it.
3) Connect your tablet to the pc and open a cmd window and type adb shell.
4) You'll see a message on your tablet, just tap to allow the connection.
5) Now, run the bat file and wait, sometimes you need run it again.
If you open the .txt file, you'll see all the apps that are going to be disable and uninstalled, if you want to keep an app, just add a "#" at the start of the command and it well be skipped.
Download link:
https://drive.google.com/file/d/117sGCj5Ep6K6ZNGTD28s0FD5c46ckegD/view?usp=drivesdk
Have a good day and stay safe.
Cheers guys.
Click to expand...
Click to collapse
Hi!
I'm having a proble with the Windows shell command. If you run "abd shell" in cmd, it just says
'abd' is not recognized as an internal or external command,
operable program or batch file.
What am I doing wrong?
Thanks!
UC666 said:
try "adb" instead of "abd"
Click to expand...
Click to collapse
Holy dyslexia, Batman! Thanks!
Still hangs though:
adb shell
error: device not found
Developer mode is on, the tab is connected via USB: Tab gives the 8-digit code that HiSuite asks -> insert code -> "connected to desktop ******** via USB. Then -> cmd
adb shell
error: device not found
When cmd is run in the platform tools folder:
adb shell
adb server version (32) doesn't match this client (41); killing...
* daemon started successfully
adb.exe: no devices/emulators found
UC666 said:
- The correct drivers installed? I used "HUAWEI USB COM 1.0 driver.zip".
- Allowed data transfer after connecting the USB cable?
Click to expand...
Click to collapse
I just had the tab connected via HiSuite. Can't seem to install the driver you mentioned. No installer and Windows won't let me install via Device Manager, not that I know which file I should choose anyway...
A few weeks ago I debloated my MediaPad T5 using the script, adapted it to my needs before, and I am very happy with it
It made the tablet faster, fresher and more battery friendly.
Thanks a lot!
cappuccini said:
A few weeks ago I debloated my MediaPad T5 using the script, adapted it to my needs before, and I am very happy with it
It made the tablet faster, fresher and more battery friendly.
Thanks a lot!
Click to expand...
Click to collapse
How did you adapt the list?
jazzh said:
How did you adapt the list?
Click to expand...
Click to collapse
First, I used an ADB command to list all the packages, copied the list, compared it to the packages in the script, and copy/pasted it.
Be careful, if you remove too much, the tablet will not boot and you will have to reinstall the operating system via eRecovery.
Helpful ABD commands can be found under the link:
Adb useful commands list
Adb useful commands list. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
jazzh said:
How did you adapt the list?
Click to expand...
Click to collapse
Did you manage to successfully debloat your device?

⋆ [2022-09-28] Remove system apps on Realme UI 2.0 using ADB ⋆

Remove system apps on Realme UI 2.0 using ADB
Updated : 2022-09-28​
Tested On:
Model: RMX2001
Hardware Version: RMX_2001_11​
RealmeUI Version: V2.0
ColorOS Version: V11​
Android Version: 11
Android Security Update: 2022-03-05
Build Number: RMX2001_11_C.18​
Baseband Version: M_V3_P10,M_V3_P10​
Kernel Version: 4.14.186+​
Notes:
DO NOT INSTALL OTA UPDATE ON A DEBLOATED PHONE. YOU WILL FACE BOOT LOOPS.
RE-INSTALL / RE-ENABLE BLOATWARE APPS, RESTART PHONE AND THEN INSTALL OTA UPDATE.
This method should not delete your phone data, however always take full backup of your phone for safety.
This method uninstalls/disables the apps for user 0. It does not physically remove the apps from your system partition.
Requirements:
Your phone
A computer with Windows/Linux/MacOS
Enable "Use USB to : File Transfer" from notification menu after connecting your phone to PC, else ADB will not work.
Install ADB + Fastboot Drivers : https://www.xda-developers.com/install-adb-windows-macos-linux
Setup ADB + Fastboot Interface : https://www.xda-developers.com/adb-fastboot-any-directory-windows-linux
Un-install a system app
Code:
adb shell pm uninstall -k --user 0 <package.name>
List all system apps which you have un-installed
Code:
adb shell "(pm list packages -u && pm list packages) | sed 's/^package://' | sort | uniq -u"
Re-install a system app
Code:
adb shell cmd package install-existing <package.name>
Re-install all uninstalled apps at once on a Linux machine
Code:
for i in $(adb shell "(pm list packages -u && pm list packages) | sed 's/^package://' | sort | uniq -u"); do adb shell "cmd package install-existing ${i}"; done
Disable a system app
Code:
adb shell pm disable-user --user 0 <package.name>
List all system apps which you have disabled
Code:
adb shell "pm list packages -d | sed 's/^package://' | sort | uniq -u"
Re-enable a system app
Code:
adb shell pm enable --user 0 <package.name>
Re-enable all disabled system apps at once on a Linux Machine
Code:
for i in $(adb shell "pm list packages -d | sed 's/^package://' | sort | uniq -u"); do adb shell "pm enable --user 0 ${i}"; done
Code:
# AOSP & Google Apps
adb shell pm uninstall -k --user 0 com.android.chrome
adb shell pm uninstall -k --user 0 com.android.hotwordenrollment.okgoogle
adb shell pm uninstall -k --user 0 com.android.stk
adb shell pm uninstall -k --user 0 com.google.android.apps.nbu.paisa.user
adb shell pm uninstall -k --user 0 com.google.android.feedback
adb shell pm uninstall -k --user 0 com.google.android.googlequicksearchbox
adb shell pm uninstall -k --user 0 com.google.android.youtube
# ColorOS & Oppo Apps
adb shell pm uninstall -k --user 0 com.coloros.assistantscreen
adb shell pm uninstall -k --user 0 com.coloros.backuprestore
adb shell pm uninstall -k --user 0 com.coloros.childrenspace
adb shell pm uninstall -k --user 0 com.coloros.compass2
adb shell pm uninstall -k --user 0 com.coloros.healthcheck
adb shell pm uninstall -k --user 0 com.coloros.healthservice
adb shell pm uninstall -k --user 0 com.coloros.personalassistant.overlay.common
adb shell pm uninstall -k --user 0 com.coloros.phonemanager
adb shell pm uninstall -k --user 0 com.coloros.securepay
adb shell pm uninstall -k --user 0 com.coloros.securitykeyboard
adb shell pm uninstall -k --user 0 com.coloros.video
adb shell pm uninstall -k --user 0 com.coloros.weather2
adb shell pm uninstall -k --user 0 com.oppo.quicksearchbox
adb shell pm uninstall -k --user 0 com.oppo.music
# 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
# Heytap Apps
# You can remove all if you dont use Realme/Heytap online account
adb shell pm uninstall -k --user 0 com.heytap.market
adb shell pm uninstall -k --user 0 com.heytap.themestore
adb shell pm uninstall -k --user 0 com.heytap.browser
adb shell pm uninstall -k --user 0 com.heytap.cloud
adb shell pm uninstall -k --user 0 com.heytap.habit.analysis
adb shell pm uninstall -k --user 0 com.heytap.mcs
adb shell pm uninstall -k --user 0 com.heytap.openid
adb shell pm uninstall -k --user 0 com.heytap.pictorial
adb shell pm uninstall -k --user 0 com.heytap.usercenter
# Nearme & Realme Apps
# Secure Payment Protection Feature
adb shell pm uninstall -k --user 0 com.nearme.atlas
adb shell pm uninstall -k --user 0 com.realme.securitycheck
# Red Tea Mobile Apps
# Get new SIM, recharge data plans when abroad.
adb shell pm uninstall -k --user 0 com.redteamobile.roaming
# Tencent Apps
adb shell pm uninstall -k --user 0 com.tencent.soter.soterserver
# Misc Apps
adb shell pm uninstall -k --user 0 com.glance.internet
adb shell pm uninstall -k --user 0 com.finshell.fin
Credits:
Doug Lynch of XDA Portal : https://www.xda-developers.com/author/doug-lynch/
Original Article : https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access
Changelog
#1 : 15 June 2020
Initial Release
#2 : 20 June 2020
Added more AOSP, Google, MediaTek apps
#3 : 11 September 2020
Removed critical apps from the list
Remade the list for B45 update.
#4 : 15 September 2020
Added system app - com.heytap.mcs
#5 : 17 September 2020
Removed critical system app - com.coloros.safecenter
Removed critical system app - com.coloros.encryption
Removed system-locked app - com.coloros.lockassistant
#6 : 26 September 2020
Added new info
Added more devices apart from Realme 6
#7 : 10 October 2020
Added "pm disable-user --user 0" method
#8 : 12 May 2021
Remade the list, removed apps that were causing issues.
Added commands for batch re-installing and re-enabling apps of apps
#9 : 13 May 2021
Added more apps
#10 : 1 October 2021
Removed critical system app - com.coloros.weather2
Removed critical system app - com.coloros.weather.service
Guide is only applicable to Realme 6 (Realme UI 2.0, Android 11)
#11: 28 September 2022
Added OTA bootloop warning
Fixed adb commands
Added testing device information for transparency
#12 : 26 February 2023
Replaced com.coloros.weather.service with com.coloros.weather2
Added Finshell Pay and Glance apps
Reserved #2
Savior ????
thx
Remove hot apps and hot games
After the newest update of Jul, I have got two new icons/folder that tries to list entries from app market. Any way to remove those?
I might have remove those before using the mentioned approach but dont remember which packages were they.
udfaq8888 said:
After the newest update of Jul, I have got two new icons/folder that tries to list entries from app market. Any way to remove those? I might have remove those before using the mentioned approach but dont remember which packages were they.
Click to expand...
Click to collapse
Those are launcher activities from App Market App. Open App Market > Settings > Hot Games/Apps > Disable. It should now be hidden inside your stock launcher. They might re-appear again. Best way is to use a custom launcher and hide Hot App/Games permanently.
Can I remove all this packages? Is it safe?
Shirswa said:
Can I remove all this packages? Is it safe?
Click to expand...
Click to collapse
Yes, you can remove but be aware before removing any essential package required for proper device functioning.
Shirswa said:
Can I remove all this packages? Is it safe?
Click to expand...
Click to collapse
Technically its safe to remove all packages, I tested it personally and my phone was able to boot. If you dont need a particular app or functionality, you can safely remove that package.
the app security check drove me crazy, thanks for adding it!
too bad still now way to remove App Market. Can disable everything from the settings within the app and disable permissions
hi im using realme 6 pro is this applicable? using automatic? all listed there?
davejimson said:
hi im using realme 6 pro is this applicable? using automatic? all listed there?
Click to expand...
Click to collapse
yes you can use it on Realme 6 Pro too. I would recommend manual method instead.
prathameshsd said:
yes you can use it on Realme 6 Pro too. I would recommend manual method instead.
Click to expand...
Click to collapse
Thanks, anyway i can't understand the steps how to to automatic, i tried copying the code and save it as .bat , i clicked it run like blink only, nothing happens
davejimson said:
Thanks, anyway i can't understand the steps how to to automatic, i tried copying the code and save it as .bat , i clicked it run like blink only, nothing happens
Click to expand...
Click to collapse
make sure you have
installed adb drivers properly
added adb directory to system PATH variable
device gets detected in adb
set USB mode to file transfer
pasted the .bat file inside adb directory
if running bat file fails, go for manual method.
Removing com.coloros.encryption breaks the stock launcher.
Also trying to remove com.coloros.lockassistant returns "Failure [DELETE_FAILED_INTERNAL_ERROR]".
Everything else works fine :good:
Dont remove com.coloros.safecenter ! It breaks "display over other apps" permission!
wenna.speedy said:
Dont remove com.coloros.safecenter ! It breaks "display over other apps" permission!
Click to expand...
Click to collapse
zahid ramirez said:
Removing com.coloros.encryption breaks the stock launcher.
Also trying to remove com.coloros.lockassistant returns "Failure [DELETE_FAILED_INTERNAL_ERROR]".
Everything else works fine :good:
Click to expand...
Click to collapse
thanks for the heads up, I have updated the post.
Hello guys.
I uninstalled a lot of bloat from my realme 6i, but I accidentally deleted the phone and contacts app! And I don't know how they are called. Can anybody help me here? Just the stock android phone app would do. Thank you.
erw23 said:
Hello guys.
I uninstalled a lot of bloat from my realme 6i, but I accidentally deleted the phone and contacts app! And I don't know how they are called. Can anybody help me here? Just the stock android phone app would do. Thank you.
Click to expand...
Click to collapse
Phone app : adb shell cmd package install-existing com.android.phone
Contacts app : adb shell cmd package install-existing com.android.contacts
Messages app : adb shell cmd package install-existing com.androidm.mms
Also
adb shell "(pm list packages -u && pm list packages) | sort | uniq -u | cut -c 9-"
for all packages you have uninstalled.

Miui with no xiaomi or google spyware?

Hello,
as the title says, is there any miui without any of xiaomi or googles spyware? I am currently using iodeOS but I kinda miss the look and feel of miui.
Debloat by ADB commands apps (by their package names) you don't like.
E.g., to disable GMail:
adb shell pm disable-user com.google.android.gm
Hi @thirday95,
there are a few good pages you can find with google, which explain the adb stuff more, I "played" around with it yesterday, but messed up a bit.
Please be pretty careful with this.
I kind of "briked" mine. Make sure to actually have an actual backup of your total system, when you do this.
and restart after every uninstal, so you can reinstall, if it doesn't boot up back into android / miui
I tried following:
disabling:
adb devices
adb shell
pm disable-user com.xiaomi.mipicks (didn't work)
Click to expand...
Click to collapse
uninstall:
adb devices
adb shell
pm uninstall --user 0 com.miui.cloudservice
Success
pyxis:/ $
pm uninstall --user 0 com.miui.cloudbackup
Success
pyxis:/ $
pm uninstall --user 0 com.xiaomi.payment
Success
pm uninstall --user 0 com.facebook.services
Success
pyxis:/ $
pm uninstall --user 0 com.facebook.system
Success
pyxis:/ $
pm uninstall --user 0 com.facebook.appmanager
Success
255|pyxis:/ $
pm uninstall --user 0 com.xiaomi.mipicks
Success
pyxis:/ $
pm uninstall --user 0 com.miui.msa.global
Success
pyxis:/ $
pm uninstall --user 0 com.miui.cloudservice
Success
pyxis:/ $
pm uninstall --user 0 com.miui.cloudbackup
Success
pyxis:/ $
pm uninstall --user 0 com.xiaomi.payment
Success
Click to expand...
Click to collapse
But there is an information that you have to deactivate certain functions in MIUI or on your Xiaomi device first. If you do not do that, it could be that the phone doesn't start anymore.
Thank you both for your replies. I went ahead and got one of the xiaomi.eu roms and then ran the debloat script by @_MartyMan_ which worked super well! I do have one other question if anyone can help me. I read somewhere about a zip that is flashable through twrp which runs before startup that blocks all apps from calling home. I'm not sure where I saw it but i would be interested to learn more about it.
thirday95 said:
I read somewhere about a zip that is flashable through twrp which runs before startup that blocks all apps from calling home. I'm not sure where I saw it but i would be interested to learn more about it.
Click to expand...
Click to collapse
You probably thought about the following one. Working from TWRP, debloating but by permanently removing apps, and optimizing kernel. AFAIK, last time officially updated for MIUI 11:
https://forum.xda-developers.com/mi-9t/themes/miui-debloat-optmizations-t3973371
Another approach, debloating apps by use of Magisk module. Systemlessly, i.e., changes will be in effect only while Magisk and the module are active. Based on QFJEUXM 12.0.2, with explanation how to add more (or remove some) apps for debloating list (it will require a reboot then):
https://forum.xda-developers.com/showpost.php?p=83405237&postcount=35
thirday95 said:
Hello,
as the title says, is there any miui without any of xiaomi or googles spyware? I am currently using iodeOS but I kinda miss the look and feel of miui.
Click to expand...
Click to collapse
there is a new Debloat script thread, haven't tested but might be what you search for.

App/task switcher not appearing after using adb

Hi everyone,
I've done a quick search, sorry if this has been covered.
I've done something dumb. I followed a few steps of a guide to remove bloatware of Huawei but I was probably not careful enough. I've removed several apps:
adb shell pm uninstall -k --user 0 com.huawei.android.thememanager
adb shell pm uninstall -k --user 0 com.huawei.android.launcher
adb shell pm uninstall -k --user 0 com.android.mediacenter
adb shell pm uninstall -k --user 0 com.huawei.mediacenter
adb shell pm uninstall -k --user 0 com.huawei.vassistant
adb shell pm uninstall -k --user 0 com.huawei.appmarket
adb shell pm uninstall -k --user 0 com.huawei.search
Most of these removals I was happy with, but it took a bit of effort the get an app launcher again (nova launcher), because I removed the only one that was active. But with adb I could access the app store and install it. However, now I'm unable to access the "active apps" (that you normally get when swiping up and holding) or go to the Home Screen with a gesture. No recent apps appear.
It could be that I'm missing a system app now that is required for this functionality. My last resort is to do a full re-install, but I am hoping that someone knows an alternative to try?
Security-wise I'm a bit too paranoid to simply download .apk files from some random website. So the full reinstall might be my only option.
I do realize that I've done something dumb to uninstall these apps, so I may need to bite the bullet. The phone is still usable, but it's definitely not great not being able to switch tasks.
Any suggestions are very welcome! Thanks!

Categories

Resources