Question Pm uninstall - Failure [DELETE_FAILED_INTERNAL_ERROR] - Lenovo P11

I was under the impression that "pm uninstall" via adb can un-bloat most of the android devices. Have there been new "protections" in this regard? Namely, I tried to uninstall some of the apps from Xiaoxin Pad Pro, but received "Failure [DELETE_FAILED_INTERNAL_ERROR]" instead of "Success". Among these - com.google.android.youtube, com.google.android.apps.googleassistant, com.netflix.mediaclient...
Some others, on the other hand, resulted in "Success" (e.g. com.google.android.apps.maps, com.google.android.apps.wellbeing, com.google.android.contacts...).
However... when I checked the tablet I noticed that basically all of them (failed or success) were then re-enabled (i.e. they reappeared in the app drawer, and the updates section of Play Store was populated with their respective pending updates). So essentially nothing was uninstalled at all.
Any idea what's going on here? Some Lenovo "specialty" I'm yet unaware of? Because in the past I was able to "pm uninstall" pretty much anything I didn't need on Samsung, Alldocube, Chuwi, Teclast etc. devices.

the correct command is "adb shell pm uninstall -user 0 <name of packages>"

Neuromancer said:
I was under the impression that "pm uninstall" via adb can un-bloat most of the android devices. Have there been new "protections" in this regard? Namely, I tried to uninstall some of the apps from Xiaoxin Pad Pro, but received "Failure [DELETE_FAILED_INTERNAL_ERROR]" instead of "Success". Among these - com.google.android.youtube, com.google.android.apps.googleassistant, com.netflix.mediaclient...
Some others, on the other hand, resulted in "Success" (e.g. com.google.android.apps.maps, com.google.android.apps.wellbeing, com.google.android.contacts...).
However... when I checked the tablet I noticed that basically all of them (failed or success) were then re-enabled (i.e. they reappeared in the app drawer, and the updates section of Play Store was populated with their respective pending updates). So essentially nothing was uninstalled at all.
Any idea what's going on here? Some Lenovo "specialty" I'm yet unaware of? Because in the past I was able to "pm uninstall" pretty much anything I didn't need on Samsung, Alldocube, Chuwi, Teclast etc. devices.
Click to expand...
Click to collapse
You can't uninstall system apps like the bloatware that comes on phones these days. What you can do is disable them with this command:
Code:
adb shell pm disable-user --user 0 <app.name.here>
Here's a link to describe the procedure if it gives you any troubles. https://www.xda-developers.com/disable-system-app-bloatware-android/

My bad, I was able to uninstall all bloatware with "pm uninstall --user 0 package_name" (for "current user") later on.
For some reason I thought omitting "--user 0" would still work. (But it was just the "-k" part that deserved omitting.)

Related

[GUIDE][NO ROOT] Remove Amazon apps on Fire 10 HD 2019

Requires ADB to be installed on system, here's the list of commands that will get rid most of the amazon apps including OTA.
Legal Notices
adb shell pm disable-user --user 0 com.amazon.legalsettings
Forced OTA
adb shell pm disable-user --user 0 com.amazon.kindle.otter.oobe.forced.ota
adb shell pm disable-user --user 0 com.amazon.device.software.ota
adb shell pm disable-user --user 0 com.amazon.device.software.ota.override
Weather
adb shell pm disable-user --user 0 com.amazon.weather
adb shell pm disable-user --user 0 com.amazon.platform
System updates
adb shell pm disable-user --user 0 com.amazon.settings.systemupdates
Kindle books
adb shell pm disable-user --user 0 com.amazon.kindle
Prime video
adb shell pm disable-user --user 0 com.amazon.avod
Special offers
adb shell pm disable-user --user 0 com.amazon.kindle.kso
Content Management service
adb shell pm disable-user --user 0 com.amazon.kindle.cms
Kindle store
adb shell pm disable-user --user 0 com.amazon.webapp
adb shell pm disable-user --user 0 com.amazon.tahoe
adb shell pm disable-user --user 0 com.amazon.iris
adb shell pm disable-user --user 0 com.audible.application.kindle
adb shell pm disable-user --user 0 com.amazon.cloud9.kids
adb shell pm disable-user --user 0 com.amazon.cloud9.contentservice
Silk browser
adb shell pm disable-user --user 0 com.amazon.cloud9
Amazon app store
adb shell pm disable-user --user 0 com.amazon.venezia
Amazon goodreads share
adb shell pm disable-user --user 0 com.amazon.unifiedsharegoodreads
Goodreads
adb shell pm disable-user --user 0 com.goodreads.kindle
Amazon gamecircle
adb shell pm disable-user --user 0 com.amazon.ags.app
Amazon Maps
adb shell pm disable-user --user 0 com.amazon.geo.mapsv2.services
adb shell pm disable-user --user 0 com.amazon.geo.mapsv2
adb shell pm disable-user --user 0 com.amazon.geo.client.maps
Shop Amazon
adb shell pm disable-user --user 0 com.amazon.windowshop
adb shell pm disable-user --user 0 com.amazon.csapp
adb shell pm disable-user --user 0 amazon.alexa.tablet
adb shell pm disable-user --user 0 com.amazon.dee.app
adb shell pm disable-user --user 0 com.amazon.mp3
adb shell pm disable-user --user 0 com.amazon.photos
Calendar/Contacts/Email
adb shell pm disable-user --user 0 com.android.calendar
adb shell pm disable-user --user 0 com.android.contacts
adb shell pm disable-user --user 0 com.android.email
OTA Photo Importer
adb shell pm disable-user --user 0 com.amazon.photos.importer
Device Setup
adb shell pm disable-user --user 0 com.amazon.kindle.otter.oobe
Hey, I tried a few of these and they worked, I think its just disabling them but either way I dont have to see their faces, I mostly did the updates OTA, Maps and good reads so I cant speak for the others. Thanks for the tip.
fourteen00 said:
Hey, I tried a few of these and they worked, I think its just disabling them but either way I dont have to see their faces, I mostly did the updates OTA, Maps and good reads so I cant speak for the others. Thanks for the tip.
Click to expand...
Click to collapse
Many will come back over time as disabling system apps using this method is not durable. Rinse and repeat as needed.
DB126 said:
Many will come back over time as disabling system apps using this method is not durable. Rinse and repeat as needed.
Click to expand...
Click to collapse
This ^. I'm pretty sure Amazon will re-enable apps via OTA updates, unless you disable them via some script or via exploit which will be found in around 2 weeks
Sent from my Fire using Tapatalk
DB126 said:
Many will come back over time as disabling system apps using this method is not durable. Rinse and repeat as needed.
Click to expand...
Click to collapse
Why would they come back? I also disabled Amazon Appstore and OTA updater.
BXM500 said:
Why would they come back? I also disabled Amazon Appstore and OTA updater.
Click to expand...
Click to collapse
Because they want you to use their services and Google banned them for using their services, at least that's what I know so we have to use their super idiotic services
Sent from my Fire using Tapatalk
Xinto said:
Because they want you to use their services and Google banned them for using their services, at least that's what I know so we have to use their super idiotic services
Sent from my Fire using Tapatalk
Click to expand...
Click to collapse
I understand that but I have literally blocked them from everything. Amazon has no control over my tablet anymore. I won't do any OTA updates.
BXM500 said:
I understand that but I have literally blocked them from everything. Amazon has no control over my tablet anymore. I won't do any OTA updates.
Click to expand...
Click to collapse
Well, if you disabled OTA via some script them ok, but if you didn't they will install automatically even if you don't press install button, I assume you disabled it via script
Sent from my Fire using Tapatalk
Xinto said:
Well, if you disabled OTA via some script them ok, but if you didn't they will install automatically even if you don't press install button, I assume you disabled it via script
Sent from my Fire using Tapatalk
Click to expand...
Click to collapse
Hmm.. That's interesting. I didn't use any script. But how are they going to install when all related packages are disabled?
I guess we'll see
BXM500 said:
Hmm.. That's interesting. I didn't use any script. But how are they going to install when all related packages are disabled?
I guess we'll see
Click to expand...
Click to collapse
I believe they hid something on root level, so I don't think using only adb is going to solve any problem, I would suggest waiting 2 weeks to 1 month and unlock tablet
Sent from my Fire using Tapatalk
BXM500 said:
Why would they come back? I also disabled Amazon Appstore and OTA updater.
Click to expand...
Click to collapse
If you nutered (renamed) DeviceSoftwareOTA.apk then most apps disabled via "pm disable-user ..." will remain in that state. Otherwise, they are easily reenabled via other processes or OTA activity. Disabling the previously mentioned app (none of the others really matter) and/or the Amazon app store via 'pm disable-user ...' is not durable as has been demonstrated on numerous occasions. FireOS will periodically re-enable apps/services it deems essential.
Caveat: I do not currently own a 2019 HD 10 (one is on the way) so it's possible behavior may be different on the FIreOS variant loaded on this devices. That said, FireOS has been behaving this way since early v3.x builds released in 2012. I see no reason why Amazon would reverse positions now as Fire devices are intended to be captive portals into the Amazon ecosystem, not general purpose Android gizmos.
---------- Post added at 12:57 PM ---------- Previous post was at 12:46 PM ----------
Xinto said:
Because they want you to use their services and Google banned them for using their services, at least that's what I know so we have to use their super idiotic services
Click to expand...
Click to collapse
Not entirely accurate. While Amazon does want you to use their app store as it serves as a source of revenue to subsidize the low cost of hardware (not to mention the rest of the Amazon ecosystem) they do not explicitly block the installation of Google Play Service/Store. Google did not 'ban' Amazon devices. While FireOS is a heavily skinned Android variant it does not meet the criteria to have Google Play Service pre-installed given the presence of a competitive app store. All of the major players operate this way. It would be nice to see Amazon offer Fire devices in two flavors (one with a generic Android build including the Play Store at a higher price point) but there is no economic incentive to do so. If you want that buy an Onn or Samsung device.
DB126 said:
If you nutered (renamed) DeviceSoftwareOTA.apk then most apps disabled via "pm disable-user ..." will remain in that state. Otherwise, they are easily reenabled via other processes or OTA activity. Disabling the previously mentioned app (none of the others really matter) and/or the Amazon app store via 'pm disable-user ...' is not durable as has been demonstrated on numerous occasions. FireOS will periodically re-enable apps/services it deems essential.
Caveat: I do not currently own a 2019 HD 10 (one is on the way) so it's possible behavior may be different on the FIreOS variant loaded on this devices. That said, FireOS has been behaving this way since early v3.x builds released in 2012. I see no reason why Amazon would reverse positions now as Fire devices are intended to be captive portals into the Amazon ecosystem, not general purpose Android gizmos.
---------- Post added at 12:57 PM ---------- Previous post was at 12:46 PM ----------
Not entirely accurate. While Amazon does want you to use their app store as it serves as a source of revenue to subsidize the low cost of hardware (not to mention the rest of the Amazon ecosystem) they do not explicitly block the installation of Google Play Service/Store. Google did not 'ban' Amazon devices. While FireOS is a heavily skinned Android variant it does not meet the criteria to have Google Play Service pre-installed given the presence of a competitive app store. All of the major players operate this way. It would be nice to see Amazon offer Fire devices in two flavors (one with a generic Android build including the Play Store at a higher price point) but there is no economic incentive to do so. If you want that buy an Onn or Samsung device.
Click to expand...
Click to collapse
I don't like the fact that they're trying to tell us that fireos is not an Android when it clearly is, heck it even removed split screen feature, which is easy to change if you have root access but still, their policy is super strange, I would like fireos if it had option to change launcher and remove lockscreen completely (I don't really like lock screens because I want to jump straight to content where I left it) otherwise fireos is well optimised for this tab, I currently have HD8 with Lineage 14 and it is a super stable ROM, will test 16 when graphics problem is solved
Sent from my Fire using Tapatalk
Xinto said:
I believe they hid something on root level, so I don't think using only adb is going to solve any problem, I would suggest waiting 2 weeks to 1 month and unlock tablet
Sent from my Fire using Tapatalk
Click to expand...
Click to collapse
Thank you for the clarification. Yes, I'll be waiting for the bootloader unlock, twrp, root and lineage os port like most of us.
BXM500 said:
Thank you for the clarification. Yes, I'll be waiting for the bootloader unlock, twrp, root and lineage os port like most of us.
Click to expand...
Click to collapse
I believe engineers missed something with HD10 2019 too so we can put bootrom to download mode as we did so with HD8
Sent from my Fire using Tapatalk
Xinto said:
I don't like the fact that they're trying to tell us that fireos is not an Android when it clearly is...
Click to expand...
Click to collapse
Semantics. Just because FireOS is based on Android does not mean it has to behave like AOSP or contain the same feature set. Most consumer (and many commercial) products share a common base that is customized to the sellers liking. I appreciate you and many others have a different opinion on the matter but it falls into the 'want' category. Amazon, Samsung and a handful of other manufactures that heavily skin Android are (mostly) playing by the rules established by Google. If there was sufficient consumer demand for an alternative Amazon or some other manufacture would sell it.
---------- Post added at 01:26 PM ---------- Previous post was at 01:16 PM ----------
Xinto said:
I believe engineers missed something with HD10 2019 too so we can put bootrom to download mode as we did so with HD8
Click to expand...
Click to collapse
Engineers? All recent Amazon devices are re-purposed commodity grade hardware already on the market. Amazon isn't going to heavily invest in writing custom bootloaders/kernels, radio firmware, etc beyond flipping switches to disable functionality (eg: nutter fastboot command set). FireOS is simply a skinned Android variant that angles users toward Amazon's ecosystem. Stated another way, it makes little economic sense to lock down hardware to deter the 1% enthusiast club that make up XDA and similar boards.
DB126 said:
Semantics. Just because FireOS is based on Android does not mean it has to behave like AOSP or contain the same feature set. Most consumer (and many commercial) products share a common base that is customized to the sellers liking. I appreciate you and many others have a different opinion on the matter but it falls into the 'want' category. Amazon, Samsung and a handful of other manufactures that heavily skin Android are (mostly) playing by the rules established by Google. If there was sufficient consumer demand for an alternative Amazon or some other manufacture would sell it.
Click to expand...
Click to collapse
Well, I didn't say that they need to integrate AOSP to their tabs, I say that they should make Android more Android-y or something like that, I don't mind skinning Android as I myself love OneUI, btw your idea that they should make something with Google play available is a good idea, probably something like "Amazon Fire HD 10 Google Play edition" it would be a lot better
Sent from my Fire using Tapatalk
Xinto said:
Well, I didn't say that they need to integrate AOSP to their tabs, I say that they should make Android more Android-y or something like that, I don't mind skinning Android as I myself love OneUI, btw your idea that they should make something with Google play available is a good idea, probably something like "Amazon Fire HD 10 Google Play edition" it would be a lot better
Click to expand...
Click to collapse
I personally believe Amazon is quite happy with their Android skin (aka FireOS) just the way it is with only minor evolutionary tweaks. Been more-or-less the same for the past 4 major revisions. Keep in mind the economic drivers; becoming more "Android-y" doesn't necessarily drive sales in the Amazon ecosystem. Tech enthusiasts see it differently but that's not the demographic they're after.
Contributed to a sustained OT rush (guilty as charged); let's bring this thread back to what the thread title suggests.
If anyone is interested, install alternate launcher and disable amazons, i used trebuchet cm 13.... INSTALL LAUNCHER FIRST....
adb shell pm disable-user --user 0 com.amazon.firelauncher
Hi. Does there exits a list where I can assing what command Is for what app? I can not assing every command to a known app ( e.g. com.amazon.tahoe or com.amazon.iris)
BXM500 said:
Why would they come back? I also disabled Amazon Appstore and OTA updater.
Click to expand...
Click to collapse
Using this method only disables the packages for user 0. They are still active at a system level, and are capable of restoring themselves. Amazon has always done this.
You could potentially run a startup script with init.d script support, or run it however often the packages restore.
gosch2912 said:
Hi. Does there exits a list where I can assing what command Is for what app? I can not assing every command to a known app ( e.g. com.amazon.tahoe or com.amazon.iris)
Click to expand...
Click to collapse
Code:
adb shell
pm list packages
Edit NVM, completely misunderstood. This list from the last fire 10 should be mostly the same:
https://docs.google.com/spreadsheets/d/19KAt3uzWB-13F9utW56ITkZaPBNIYF_jYl2tvQV0hrc/htmlview

Successfully uninstalled upday, now I have sohu news. Can I uninstall that too?

Hi folks,
after the latest system update to my S8+ G955FD from yesterday I suddenly had a new app called "upday" proudly prodding unsolicited news into my face and using up my mobile data volume.
So I went to the ADB section here on xda-developers, installed minimal ADB + fastboot, found the appropriate package name, put the phone to USB debugging as you do, and successfully uninstalled that using this command
>adb shell pm uninstall -k --user 0 de.axelspringer.yana.zeropage
Success
So that's gone now which is good. I also had it disabled in settings - apps - show system apps, but for good measure uninstalled using ADB as well.
Beautiful.
However: When I long press my desktop, and scroll over to the left, I expected to see nothing any more where upday has been. But unfortunately, instead there is something else now, called "Sohu News" which is disabled but visible, showing a Samsung logo and a few asian characters which I am unable to read.
Tried to search for it but came up empty. Please accept my apologies if I didn't search good enough.
I haven't enabled this yet to check what it does, and I haven't seen any disturbing notifications yet (just uninstalled the new upday package a few minutes ago).
Nevertheless this "Sohu News" somehow bothers me.
My question:
Can this be uninstalled using ADB just like upday, and can anybody tell me the corresponding package name?
Thanks heaps!
I know this is an old thread, but I have the solution and wanted to share it.
Once you remove the apps with the ADB, restart the phone into the recovery mode and erase the cache partition.

Pixel 4a Debloat

Now that factory images have finally been posted, we got to work with what many people have pre-installed (qd4a.200805.003). Pretty clear of bloat compared to many of the other manufactures, but there are still some apps we really don't need, and some that we can definitely do without, especially those that nibble away simultaneously at your privacy, data allotment, and battery. We have tried to categorize each type, and comment a little regarding each entry.
Probably the easiest way to debloat on this phone today is to issue the "pm disable-user --user 0" command via ADB as explained here:
https://www.xda-developers.com/disable-system-app-bloatware-android/
Without further ado, here is what we came up with:
PHP:
# Google Pixel 4a qd4a.200805.003 Debloat Script
# ================================================
#
# Generally Undesirable or un-nessary Pre-Loaded Apps
#-------------------------------------------------
# bookmark provider
pm disable-user --user 0 com.android.bookmarkprovider
# Device Personalization Services
pm disable-user --user 0 com.google.android.as
# Google Partner Setup
pm disable-user --user 0 com.google.android.partnersetup
# Google Market Feedback Agent
pm disable-user --user 0 com.google.android.feedback
# Google Carrier App Logging
pm disable-user --user 0 com.google.android.apps.carrier.log
# Google Connectivity Metrics
pm disable-user --user 0 com.android.connectivity.metrics
# Partner Bookmarks
pm disable-user --user 0 com.android.providers.partnerbookmarks
# Google Wearables Companion
pm disable-user --user 0 com.google.android.apps.wearables.maestro.companion
# OTA / Dynamic System Updates (if you prefer to manually update)
pm disable-user --user 0 com.android.dynsystem
pm disable-user --user 0 com.google.android.factoryota
# Tethering (Un)Entitlement
pm disable-user --user 0 com.google.android.tetheringentitlement
#
# Verizon - Specific Stuff
# -------------------------------------------------
pm disable-user --user 0 com.verizon.mips.services
pm disable-user --user 0 com.customermobile.preload.vzw
pm disable-user --user 0 com.verizon.llkagent
pm disable-user --user 0 com.verizon.obdm_permissions
pm disable-user --user 0 com.android.vzwomatrigger
pm disable-user --user 0 com.customermobile.preload.vzw
#
# Pre-Loaded Google Apps I personally dont use
#-------------------------------------------------
# Chrome
pm disable-user --user 0 com.android.chrome
# Stock Youtube App
pm disable-user --user 0 com.google.android.youtube
# 1st Run Setup Wizard
pm disable-user --user 0 com.google.android.setupwizard
# Digital Wellbeing (battery drain)
pm disable-user --user 0 com.google.android.apps.wellbeing
# GMail
pm disable-user --user 0 com.google.android.gm
# Google Docs
pm disable-user --user 0 com.google.android.apps.docs
# Youtube Music
pm disable-user --user 0 com.google.android.apps.youtube.music
# Google Play Movies & TV
pm disable-user --user 0 com.google.android.videos
# Google Photos (uses lots of data...use other gallery app instead)
pm disable-user --user 0 com.google.android.apps.photos
#
This is just our first draft of what we have done so far on our phone, so please feel free to comment, add, and delete.
I was surprised to learn that my device came with all of these Verizon services preloaded (but disabled at least) even though I purchased the unlocked version. Its kind of disturbing to learn the amount of influence Verizon has on device manufacturers, I was happy to see it gone. Thanks for the helpful list!
---------- Post added at 05:23 AM ---------- Previous post was at 05:19 AM ----------
Actually, has anyone tested using this command to uninstall the Phone application? i use Google Hangouts exclusively for phonecalls, meaning that every call I receive on my SIM number is either a missdial or spam, and since Android doesn't let you mute those notifications, it can be pretty annoying as you might expect. Some devices tolerate the uninstallation of the Phone app just fine, while others will crash and reboot from an incoming call with no application to handle it. I'm planning to go with a custom ROM once one is available, so I will test this personally soon to see how the 4a behaves
PhobiaSoft said:
I was surprised to learn that my device came with all of these Verizon services preloaded (but disabled at least) even though I purchased the unlocked version. Its kind of disturbing to learn the amount of influence Verizon has on device manufacturers, I was happy to see it gone. Thanks for the helpful list!
Click to expand...
Click to collapse
I have an unlocked phone and there is no Verizon apps. If you bought it from Verizon that's the problem.
Riku98523 said:
I have an unlocked phone and there is no Verizon apps. If you bought it from Verizon that's the problem.
Click to expand...
Click to collapse
I didn't buy it from Verizon, I bought the unlocked version from the Google Store. The apps don't appear on the phone itself, only when you push "Adb shell pm list package -d". Try it for yourself.
same here...mine is Fi directly from Google Fi store and it had all those Verizon apps even though Fi does not use Verizon!
I have an unlocked phone and the Verizon apps are on it, but disabled and not visible. They do show up in Titanium Backup, which is the only way I knew they were there.
I bought my phone unlocked from Google and it grabbed a bunch of AT&T bloatware. I use an AT&T sim so I figure it sends a pull request and grabs that garbage on first run. Easy to uninstall but pretty ****ty.
yaggermr said:
I bought my phone unlocked from Google and it grabbed a bunch of AT&T bloatware. I use an AT&T sim so I figure it sends a pull request and grabs that garbage on first run. Easy to uninstall but pretty ****ty.
Click to expand...
Click to collapse
Definitely possible. The weird thing is that I use a T Mobile SIM. So no idea where my Verizon stuff came from unless Google flashes the same image to every phone and then "activates" the Verizon apps if you buy the Verizon version? I have no idea truthfully. If so, what a ****ty way to do it...
Turning off, or freezing Photos, breaks the camera preview of recent shots you've taken. I just tried it and got a black screen. It wouldn't access my third-party gallery app. When I unfroze Photos, the preview worked (again). I don't want Photos running nor do I want to use it, but it seems like that camera functionality is broken without it(?)
I thought the "# Tethering (Un)Entitlement " would be where the phone checks to see if you can tether or not. When I disabled it the tethering option was greyed out and couldn't even tether through my visible card. My plan is so old that they didn't say we could or could not use hotspot but with the 4a now it tells me I can't if I try to enable it.
I'm gonna give this a shot, thanks for posting!
With this method, do system updates or factory resets undo this debloating?
hey so i just noticed you're disabling these and not uninstalling. any particular reason why we wouldn't want to issue pm uninstall -k --user 0 <name of package> instead of pm disable-user --user 0 <name of package> also located a few more verizon apps to add to the list
Code:
sunfish:/ $ pm list packages | grep 'vzw'
package:com.vzw.apnlib
package:com.customermobile.preload.vzw
package:com.android.vzwomatrigger
sunfish:/ $ pm list packages | grep 'verizon'
package:com.verizon.mips.services
package:com.verizon.obdm_permissions
package:com.verizon.services
package:com.verizon.obdm
package:com.verizon.llkagent
Thanks for the post.
Do you know what to disable to remove the obnoxious date and weather "widget" from the home screen?
PhxCliff said:
Thanks for the post.
Do you know what to disable to remove the obnoxious date and weather "widget" from the home screen?
Click to expand...
Click to collapse
i am not running the stock google nexus launcher but iirc, you just hold down that date/weather widget (while on the home screen obviuously) for a second or two and then either drag the widget to the top of the screen OR select remove if a menu appears. i run nova launcher and that widget can be added or removed similarly and it's referred to as google's "At A Glance" widget. i ran grep on "google" which produced a bigger list, also "glance", which produced nothing, and finally "widget". that output is below:
Code:
sunfish:/ $ pm list packages | grep "widget"
package:com.google.android.apps.genie.geniewidget
there's the "At A Glance" widget
I'm wondering if some of these actually are necessary. Settings has been acting strange and force closing a lot since disabling these. Haven't made any other sort of system changes.
dpaine88 said:
I'm wondering if some of these actually are necessary. Settings has been acting strange and force closing a lot since disabling these. Haven't made any other sort of system changes.
Click to expand...
Click to collapse
Debloaters are netoriously aggressive w/o a demonstrated benefit for each item on the scratch list. Adverse side effects are common. My advise is to use the tools already built into Android to identify offenders and only act on those that are truly egregious. Share your experiences so others can learn.
dpaine88 said:
I'm wondering if some of these actually are necessary. Settings has been acting strange and force closing a lot since disabling these. Haven't made any other sort of system changes.
Click to expand...
Click to collapse
bruh, you're going to need to be more detailed with your responses in order to receive help. specifically, which p4a do you have (verizon, fi, or whatever) on android 10 or 11? which of the apps did you disable and have you installed any apps post disabling some of the system apps?. can you give us a display output from
adb shell pm list packages
adb shell pm list packages -d
adb shell pm list packages -u
dpaine88 said:
I'm wondering if some of these actually are necessary. Settings has been acting strange and force closing a lot since disabling these. Haven't made any other sort of system changes.
Click to expand...
Click to collapse
I don't use the method in the OP to disable apps. I use Titanium Backup (requires root) because if something screwy happens, it's easier to find the culprit and reverse it.
I disabled everything in the OP except Tethering, 1st run, and Photos. So far, so good on A10 running Nova launcher. I haven't had a Settings crash.
A bad disabling can cause that, but so can a poorly matched launcher, or an older app that Hooks Settings that isn't updated for the latest Android version.
Are you rooted?
Also try clearing the cache/data in Google Play Services. I've found a corrupt Play Services update can crash Settings. In the past, I've had to revert to an older version manually and let it update again.
DB126 said:
Debloaters are netoriously aggressive w/o a demonstrated benefit for each item on the scratch list. Adverse side effects are common. My advise is to use the tools already built into Android to identify offenders and only act on those that are truly egregious. Share your experiences so others can learn.
Click to expand...
Click to collapse
xxTECRAxx said:
bruh, you're going to need to be more detailed with your responses in order to receive help. specifically, which p4a do you have (verizon, fi, or whatever) on android 10 or 11? which of the apps did you disable and have you installed any apps post disabling some of the system apps?. can you give us a display output from
adb shell pm list packages
adb shell pm list packages -d
adb shell pm list packages -u
Click to expand...
Click to collapse
digger16309 said:
I don't use the method in the OP to disable apps. I use Titanium Backup (requires root) because if something screwy happens, it's easier to find the culprit and reverse it.
I disabled everything in the OP except Tethering, 1st run, and Photos. So far, so good on A10 running Nova launcher. I haven't had a Settings crash.
A bad disabling can cause that, but so can a poorly matched launcher, or an older app that Hooks Settings that isn't updated for the latest Android version.
Are you rooted?
Also try clearing the cache/data in Google Play Services. I've found a corrupt Play Services update can crash Settings. In the past, I've had to revert to an older version manually and let it update again.
Click to expand...
Click to collapse
Damn you guys kick ass. I wasn't even really asking for help and certainly not expecting it but thank you!!! I was just gonna try to fix things on my own.
I was about to try the Android 11 beta anyways so I went ahead and updated to that which has helped SOME- Settings still will back out on its own or jump around but hasnt FC'd since. It is especially wonky on the battery page and will sometimes go back to home on its own.
So this is my first Android phone(going back to OG Droid) that I have NOT rooted. I normally would just freeze via TiBu myself too. I am also using Nova Launcher. I am using TMobile on the phone FWIW.
Here is the disabled packages list . I can do the others too but its quite long and didnt want to clog it up.
Code:
PS D:\Downloads\platform-tools_r30.0.3-windows\platform-tools> .\adb shell pm list packages -d
package:com.google.omadm.trigger
package:com.google.android.youtube
package:com.vzw.apnlib
package:com.android.sdm.plugins.connmo
package:com.verizon.mips.services
package:com.verizon.obdm_permissions
package:com.android.sdm.plugins.usccdm
package:com.android.sdm.plugins.sprintdm
package:com.verizon.services
package:com.android.sdm.plugins.diagmon
package:com.google.android.apps.wellbeing
package:com.google.android.apps.carrier.log
package:com.android.chrome
package:com.google.android.partnersetup
package:com.customermobile.preload.vzw
package:com.google.android.feedback
package:com.android.sdm.plugins.dcmo
package:com.android.providers.partnerbookmarks
package:com.android.bookmarkprovider
package:com.google.android.projection.gearhead
package:com.verizon.obdm
package:com.google.android.tetheringentitlement
package:com.android.omadm.service
package:com.google.android.apps.wearables.maestro.companion
package:com.google.android.hiddenmenu
package:com.google.android.apps.youtube.music
package:com.android.connectivity.metrics
package:com.verizon.llkagent
This one is interesting
package:com.google.android.hiddenmenu
Looks like in general a lot of apps are disabled by default? Cause there's plenty I don't see in the OP list but I have only done things on that list.
Can anyone who has not disabled anything post their disabled list please?
All I removed via adb was Carrier services , Chrome , Google voice and assistant and the Verizon tripe.

Cannot uninstall Huawei Optimiser - Block list bug

Hi,
In the most recent software update of my Honor Magic 2, I got a very annoying (what I assume to be) bug.
Some SMS messages that come through from a company name (not a number) like Amazon 2fa codes will go straight to the blocked list in optimiser.
There is no way to add them to the trustlist as it only supports adding numbers, not the senders of these automated messages which just appear as text.
Adding to the trustlist "from blocked messages" looks like it is going to work, then doesn't. It's like the system was only ever designed around messages received from a number.
I'd like to just remove the dumpster fire that is optimiser from my phone. The blocklist is obviously flawed and any power optimisation it offers is detrimental to the usability of the phone (unless you like missing notifications).
I have tried:
adb shell pm uninstall --user 0 com.huawei.systemmanager
Failure [DELETE_FAILED_INTERNAL_ERROR]
adb shell pm uninstall com.huawei.systemmanager
Failure [DELETE_FAILED_INTERNAL_ERROR]
adb shell pm disable-user --user 0 com.huawei.systemmanager
Error: not allowed to disable this package
adb shell pm disable com.huawei.systemmanager
Error: not allowed to disable this package
Any other ideas on how to remove it?
Ideally I would like it to be reversible in case this causes some unexpected issue.
Thanks!
Model: TNY-AL00
Build Number: 11.0.0.130(C00E125R1P6)
Magic UI version: 4.0.0
Android version: 10

General List of Safely Removable Packages Over ADB

Hi everyone,
Z Flip 3 finally arrived and now it's time for me to clean it up .
Over ADB i've removed those packages:
Code:
com.samsung.android.app.settings.bixby
com.samsung.systemui.bixby2
com.samsung.android.bixby.service
com.samsung.android.bixby.agent
com.samsung.android.bixbyvision.framework
com.samsung.android.bixby.wakeup
com.samsung.android.app.routines
com.samsung.android.visionintelligence
com.microsoft.appmanager
com.microsoft.skydrive
com.samsung.android.aremoji
com.samsung.android.aremojieditor
com.samsung.android.ardrawing
com.sec.android.app.samsungapps
yet, there are other apps that I would like to remove but i dont know the name of the packages:
AR Space ( Spazio AR )
Samsung Free
Emoji AR Stickers ( i've removed 2 packages but still i can see the app in the app list on android as disabled )
Google Duo
upday
Vodafone AppBox
If anyone has any other package that could be safely removed, list it here and descirbe what is it related too.
Quick Debloat ATT (SM-711U1)
No for non-rooted/stock/bootlocked phones This is my debloat list, simply copy paste into ADB. I still run some Google and Samsung services but this takes out all the carrier, Microsoft, Facebook and Samsung garbage that they lock into the...
forum.xda-developers.com
Just tweak it [ZFlip3] - debloat, root, plugins, battery...
ZFlip3 stock setup model used: Z Flip 3 SM-F711B, Android 11, October 2021 firmware, Europe (EUX), then Android 12, Februaru 2022. adding an article in a flagship marathon ..->V30->Note9->6T->Mi9->S10->7T->Tab S6->Tab...
forum.xda-developers.com
twistedumbrella said:
Quick Debloat ATT (SM-711U1)
No for non-rooted/stock/bootlocked phones This is my debloat list, simply copy paste into ADB. I still run some Google and Samsung services but this takes out all the carrier, Microsoft, Facebook and Samsung garbage that they lock into the...
forum.xda-developers.com
Just tweak it [ZFlip3] - debloat, root, plugins, battery...
ZFlip3 stock setup model used: Z Flip 3 SM-F711B, Android 11, October 2021 firmware, Europe (EUX), then Android 12, Februaru 2022. adding an article in a flagship marathon ..->V30->Note9->6T->Mi9->S10->7T->Tab S6->Tab...
forum.xda-developers.com
Click to expand...
Click to collapse
I don't have all those packages as in the first post and I would like to keep things stock, just want to remove those over ADB. Running a command for each package looks simple and safer to me.
Still works for the ones you do, but it will go faster.
[HOW-TO][DEBLOAT][ADB] The ultimate ADB debloating thread for the S20/+/U series
Hi, i´ve seen some threads and questions about debloating in the s20 forum, but by having a quick look at them, theres not much information for beginners. Thats why I decided to sign up and join the xda community. I would like to make this the...
forum.xda-developers.com
twistedumbrella said:
Still works for the ones you do, but it will go faster.
[HOW-TO][DEBLOAT][ADB] The ultimate ADB debloating thread for the S20/+/U series
Hi, i´ve seen some threads and questions about debloating in the s20 forum, but by having a quick look at them, theres not much information for beginners. Thats why I decided to sign up and join the xda community. I would like to make this the...
forum.xda-developers.com
Click to expand...
Click to collapse
Still, i need to know the name of those packages:
AR Space ( Spazio AR )
Samsung Free
Emoji AR Stickers ( i've removed 2 packages but still i can see the app in the app list on android as disabled )
Google Duo
upday
Vodafone AppBox
MySelf_v1 said:
Still, i need to know the name of those packages:
AR Space ( Spazio AR )
Samsung Free
Emoji AR Stickers ( i've removed 2 packages but still i can see the app in the app list on android as disabled )
Google Duo
upday
Vodafone AppBox
Click to expand...
Click to collapse
Search them in Google Play / Galaxy Store from a browser.
Samsung Members - Apps on Google Play
Expert support, community connection & exclusive perks. Possibility starts here.
play.google.com
See how the URL comes up as id=com.samsung.android.voc?
com.samsung.android.voc is the package
It's really not something you need a spreadsheet to find out.
twistedumbrella said:
Search them in Google Play / Galaxy Store from a browser.
Samsung Members - Apps on Google Play
Expert support, community connection & exclusive perks. Possibility starts here.
play.google.com
See how the URL comes up as id=com.samsung.android.voc?
com.samsung.android.voc is the package
It's really not something you need a spreadsheet to find out.
Click to expand...
Click to collapse
We're not all developers here
MySelf_v1 said:
We're not all developers here
Click to expand...
Click to collapse
You don't need to be a developer. There is no code involved in the above instructions.
Install "Package Disabler Pro" on your Smartphone.
This app list the real name of the app.
Example:
Vodafone Appbox = package:com.aura.oobe.samsung.gl
Delete it with adb:
start with developer options, then you have to do:
"adb shell"
"pm uninstall -k --user 0 com.aura.oobe.samsung.gl"
An other example:
Samsung Free = package:com.samsung.android.app.spage
"pm uninstall -k --user 0 com.samsung.android.app.spage"
Astalavista baby
The first time I saw this topic (that is, easy-debloat without using a rooted version of Android) was from this article, which is a bit out of date but explains the basic premise:
https://www.xda-developers.com/disable-system-app-bloatware-android/
If you're not familiar with the Google program "adb" this may be helpful too:
https://www.xda-developers.com/install-adb-windows-macos-linux/
And even some documentation from the authors of the ADB command:
https://developer.android.com/studio/command-line/adb/
As you know, many pre-installed applications can be removed via Settings→Apps, as you'd expect. If removal is prevented then try using Google's Android Device Bridge command (running on a PC or Mac; I use Linux) using the adb command.
You're right to be concerned about what applications are related to a package disabled or uninstalled by any of these methods. An application may have prerequisites or corequisites. As always, use care making changes like this!
Example​Imagine you prefer Google's Contacts application, rather than Samsung's. As best I can tell, on Android 12, the Samsung Contacts application cannot be uninstalled or disabled by a novice user via Settings-->Apps. But what might happen if you could successfully remove Samsung's Contacts application? I tried this scenario and here's what I found: Samsung's Contacts application appears to be required for Settings-->Safety and emergency-->Medical info.
How did I test this? Well, it's possible to force a disable Samsung Contacts using a command similar to:
adb shell pm disable-user --user 0 com.samsung.android.app.contacts​Package com.samsung.android.app.contacts new state: disabled-user​
If you now try to navigate to Settings-->Safety and emergency-->Medical info, you'll get a pop-up message saying something like:
Unable to open Contacts. Tap SETTINGS,​go to App info > Permissions, then allow​the following permissions and try again:​Contacts​
This is why I think Samsung’s Contacts is a prerequisite for some services. Services which do need Samsung’s Contacts application’s services will notify you with a pop-up message, like the one above. (And no, installing Google’s Contacts application doesn’t help.)
In any case, if you're unhappy, you can easily undo what you've done so far with this command:
adb shell pm enable com.samsung.android.app.contacts​Package com.samsung.android.app.contacts new state: enabled​
Your phone should be none the worse for trying this example. But for fun, let's continue the scenario, Samsung Contacts can be uninstalled rather than merely disabled:
adb shell pm uninstall --user 0 com.samsung.android.app.contacts​Success​
However now it’s not possible to even navigate to Settings-->Safety and emergency-->Medical info. The item remains under the Safety and emergency settings, but it is not grayed out (a common way to know you can’t tap on an item), and clicking it doesn't work (no error message). So I think Samsung's Contacts application is a hard prereq for Medical info. ("Hard", as in "There's no way around it.") What's more, the Emergency contacts (also under the Safety and emergency entry in Settings) item doesn't work. So more than one feature isn't working.
If you change your mind you can reinstall the package:
adb shell pm install-existing com.samsung.android.app.contacts​Package com.samsung.android.app.contacts installed for user: 0​
After a reinstall I'm pretty sure your phone is again working well. End of example.
I'm not an expert on this topic. And I don't mean to start a new discussion about this topic on this thread. I thought you'd like an answer to your question, with what I hope are specific examples and links. There's another (one of many, actually) active discussion, which mentions certain corequisite and prerequisite packages, by name, and why you might want to keep some. See:
[ADB] [NO-ROOT] Samsung Optimization Guide - A Better Experience
PS: At the end of my playing around I decided to keep Samsung's Contacts application, and hide it as best I can by using a feature in Nova Launcher Prime. Why? It was important for me to have my phone able to display medical info (allergies).
wpscully said:
The first time I saw this topic (that is, easy-debloat without using a rooted version of Android) was from this article, which is a bit out of date but explains the basic premise:
https://www.xda-developers.com/disable-system-app-bloatware-android/
If you're not familiar with the Google program "adb" this may be helpful too:
https://www.xda-developers.com/install-adb-windows-macos-linux/
And even some documentation from the authors of the ADB command:
https://developer.android.com/studio/command-line/adb/
As you know, many pre-installed applications can be removed via Settings→Apps, as you'd expect. If removal is prevented then try using Google's Android Device Bridge command (running on a PC or Mac; I use Linux) using the adb command.
You're right to be concerned about what applications are related to a package disabled or uninstalled by any of these methods. An application may have prerequisites or corequisites. As always, use care making changes like this!
Example​Imagine you prefer Google's Contacts application, rather than Samsung's. As best I can tell, on Android 12, the Samsung Contacts application cannot be uninstalled or disabled by a novice user via Settings-->Apps. But what might happen if you could successfully remove Samsung's Contacts application? I tried this scenario and here's what I found: Samsung's Contacts application appears to be required for Settings-->Safety and emergency-->Medical info.
How did I test this? Well, it's possible to force a disable Samsung Contacts using a command similar to:
adb shell pm disable-user --user 0 com.samsung.android.app.contacts​Package com.samsung.android.app.contacts new state: disabled-user​
If you now try to navigate to Settings-->Safety and emergency-->Medical info, you'll get a pop-up message saying something like:
Unable to open Contacts. Tap SETTINGS,​go to App info > Permissions, then allow​the following permissions and try again:​Contacts​
This is why I think Samsung’s Contacts is a prerequisite for some services. Services which do need Samsung’s Contacts application’s services will notify you with a pop-up message, like the one above. (And no, installing Google’s Contacts application doesn’t help.)
In any case, if you're unhappy, you can easily undo what you've done so far with this command:
adb shell pm enable com.samsung.android.app.contacts​Package com.samsung.android.app.contacts new state: enabled​
Your phone should be none the worse for trying this example. But for fun, let's continue the scenario, Samsung Contacts can be uninstalled rather than merely disabled:
adb shell pm uninstall --user 0 com.samsung.android.app.contacts​Success​
However now it’s not possible to even navigate to Settings-->Safety and emergency-->Medical info. The item remains under the Safety and emergency settings, but it is not grayed out (a common way to know you can’t tap on an item), and clicking it doesn't work (no error message). So I think Samsung's Contacts application is a hard prereq for Medical info. ("Hard", as in "There's no way around it.") What's more, the Emergency contacts (also under the Safety and emergency entry in Settings) item doesn't work. So more than one feature isn't working.
If you change your mind you can reinstall the package:
adb shell pm install-existing com.samsung.android.app.contacts​Package com.samsung.android.app.contacts installed for user: 0​
After a reinstall I'm pretty sure your phone is again working well. End of example.
I'm not an expert on this topic. And I don't mean to start a new discussion about this topic on this thread. I thought you'd like an answer to your question, with what I hope are specific examples and links. There's another (one of many, actually) active discussion, which mentions certain corequisite and prerequisite packages, by name, and why you might want to keep some. See:
[ADB] [NO-ROOT] Samsung Optimization Guide - A Better Experience
PS: At the end of my playing around I decided to keep Samsung's Contacts application, and hide it as best I can by using a feature in Nova Launcher Prime. Why? It was important for me to have my phone able to display medical info (allergies).
Click to expand...
Click to collapse
You bring up a very good point, and that is so helpful
kat3k said:
You bring up a very good point, and that is so helpful
Click to expand...
Click to collapse
Like many here, I remove bloatware the easy way, when I can. If not then I use Nova Launcher to simply hide the rest from the application drawer. Out of sight, out of mind, as they say. ;-)

Categories

Resources