Can't ADB uninstall bloatware apps - Samsung Galaxy Note 10 Questions & Answers

I just purchased a Note10+. I tried to delete the bloatware using platform tools on linux. I am unable to do this. I am entering adb uninstall -k and then the package. I get an error saying the -k function can't work because it can't delete the data. It mentions doing an ADB shell which I have no idea how to do. Any suggestions as to what will work to delete the bloatware. I used this command on my Note9 and it worked then. Please advise.

Follow the tutorial/thread over at S10 forum. Worked fine for me

The general command is as follows:
Code:
adb shell pm uninstall -k --user 0 <package name>
As an example:
Code:
adb shell pm uninstall -k --user 0 com.samsung.android.app.spage
The complete for adb packages for the Note 9 is here,and it worked for my Note 10+
Give it a read and see if it helps.

Related

Facebook issue

I just got my new OnePlus 8 and after setting it up I found when I open the Facebook app it closes/crashes before I get the chance to log in.
I did look on the OnePlus forum and a few people have got the same problem with no solution.
Anyone on here had this problem and found a fix?
maxal said:
I just got my new OnePlus 8 and after setting it up I found when I open the Facebook app it closes/crashes before I get the chance to log in.
I did look on the OnePlus forum and a few people have got the same problem with no solution.
Anyone on here had this problem and found a fix?
Click to expand...
Click to collapse
Do you have adb drivers installed? if you don't download the latest platform tools I will link and make sure you have your OnePlus drivers installed, open CMD in the platform tools folder, reboot your phone into fastboot, plug in phone to computer and run these commands:
pm uninstall --user 0 com.facebook.system
pm uninstall --user 0 com.facebook.appmanager
pm uninstall --user 0 com.facebook.services
pm uninstall --user 0 com.facebook.orca
this will uninstall all Facebook services, then just redownload Facebook and messenger from the play store
https://developer.android.com/studio/releases/platform-tools
Some_Ghost said:
Do you have adb drivers installed? if you don't download the latest platform tools I will link and make sure you have your OnePlus drivers installed, open CMD in the platform tools folder, reboot your phone into fastboot, plug in phone to computer and run these commands:
pm uninstall --user 0 com.facebook.system
pm uninstall --user 0 com.facebook.appmanager
pm uninstall --user 0 com.facebook.services
pm uninstall --user 0 com.facebook.orca
this will uninstall all Facebook services, then just redownload Facebook and messenger from the play store
https://developer.android.com/studio/releases/platform-tools
Click to expand...
Click to collapse
Hi, thank you for replying but unfortunately the command pm was not recognized.
maxal said:
Hi, thank you for replying but unfortunately the command pm was not recognized.
Click to expand...
Click to collapse
Hey! You should actually be running those commands from the ADB shell.
Command worked from adb shell thanks, but after reinstalling Facebook app the original problem is still there.
maxal said:
Run from adb shell ike you said but still the same result
Click to expand...
Click to collapse
You tried them like this?
adb shell pm uninstall --user 0 com.facebook.system
adb shell pm uninstall --user 0 com.facebook.appmanager
adb shell pm uninstall --user 0 com.facebook.services
adb shell pm uninstall --user 0 com.facebook.orca
mattyb132 said:
You tried them like this?
adb shell pm uninstall --user 0 com.facebook.system
adb shell pm uninstall --user 0 com.facebook.appmanager
adb shell pm uninstall --user 0 com.facebook.services
adb shell pm uninstall --user 0 com.facebook.orca
Click to expand...
Click to collapse
I entered adb shell and once there I didn't type adb shell again as I was already in adb shell
I typed the commands below and got a message success each time.
pm uninstall --user 0 com.facebook.system
pm uninstall --user 0 com.facebook.appmanager
pm uninstall --user 0 com.facebook.services
pm uninstall --user 0 com.facebook.orca
maxal said:
I entered adb shell and once there I didn't type adb shell again as I was already in adb shell
I typed the commands below and got a message success each time.
pm uninstall --user 0 com.facebook.system
pm uninstall --user 0 com.facebook.appmanager
pm uninstall --user 0 com.facebook.services
pm uninstall --user 0 com.facebook.orca
Click to expand...
Click to collapse
Awesome! You should be able to reinstall the Facebook app from the Play Store now
mattyb132 said:
Awesome! You should be able to reinstall the Facebook app from the Play Store now
Click to expand...
Click to collapse
Thanks I did but it still crashes before I get a chance to login
maxal said:
Thanks I did but it still crashes before I get a chance to login
Click to expand...
Click to collapse
On mine I had a similar issue and I just kept launching it until it stayed open and now it works normally
mattyb132 said:
On mine I had a similar issue and I just kept launching it until it stayed open and now it works normally
Click to expand...
Click to collapse
Good to know thanks. Facebook Lite app works fine for now.
sorry I forgot the adb shell bit ?
Some_Ghost said:
sorry I forgot the adb shell bit
Click to expand...
Click to collapse
No worries mate. Thanks for your help anyway

Sprint V50 in Europe?

Hey there, if I import Sprint version from Ebay will I be able to use it in Europe without any problems? Because I heard that some problems may occur:
1. It cannot be updated either by OTA, or manually?
2. This is the most concerning problem - I heard there is a problem with the mobile internet(data) that it's not always working, is that true and is it possible to be fixed?
3. If i get the Sprint version is it possible to rebrand it to Global or Korean version?
4. Is there a secure way to remove the Activation notice after each reboot?
Thanks in advance for your asnwers!
No one knows?
straightup said:
Hey there, if I import Sprint version from Ebay will I be able to use it in Europe without any problems? Because I heard that some problems may occur:
1. It cannot be updated either by OTA, or manually?
2. This is the most concerning problem - I heard there is a problem with the mobile internet(data) that it's not always working, is that true and is it possible to be fixed?
3. If i get the Sprint version is it possible to rebrand it to Global or Korean version?
4. Is there a secure way to remove the Activation notice after each reboot?
Thanks in advance for your asnwers!
Click to expand...
Click to collapse
1) I bought a sprint unlocked LG V50 5G from Amazon. It was a brand new device with a factory sealed box. I was able to use the device with my local service provider here in Canada. It came with Android 10 out of the box and I was able to update through OTA for Aug 2020 security patch.
2) I am able to make calls, receive calls, send and receive texts and connect to data. I am not able to send and receive MMS. Also the internet speed is not great, could be related to band compatibility. I am not crazy for internet speeds. I am okay as long as it connects to internet. So, I am good here.
3) As far as I know, it is not possible to re-brand it. Might be possible in the future.
4) I have seen threads in XDA which seems to work in removing activation notice. I didn't bother to do it. It doesn't bother me. It occurs only when the device is restarted.
Generally, I find the phone really good and value for money given the low prices.
straightup said:
Hey there, if I import Sprint version from Ebay will I be able to use it in Europe without any problems? Because I heard that some problems may occur:
1. It cannot be updated either by OTA, or manually?
2. This is the most concerning problem - I heard there is a problem with the mobile internet(data) that it's not always working, is that true and is it possible to be fixed?
3. If i get the Sprint version is it possible to rebrand it to Global or Korean version?
4. Is there a secure way to remove the Activation notice after each reboot?
Thanks in advance for your asnwers!
Click to expand...
Click to collapse
I bought.mine from eBay and I am using it in Sweden. After a few minutes of setting it up the first time, I got a notification to update. I successfully updated by OTA to the August security patch without hiccups.
I was able to remove the sprint activation nonsense at the beginning by uninstalling all sprint apps through adb. One of them uninstalled the LG messaging app. I don't care though since I don't use it.
adb shell pm uninstall -k --user 0 com.lookout
adb shell pm uninstall -k --user 0 com.coremobility.app.vnotes
adb shell pm uninstall -k --user 0 com.sprint.w.installer
adb shell pm uninstall -k --user 0 com.sprint.ms.cdm
adb shell pm uninstall -k --user 0 com.sprint.zone
adb shell pm uninstall -k --user 0 com.sprint.ecid
adb shell pm uninstall -k --user 0 com.sprint.extension
adb shell pm uninstall -k --user 0 com.sprint.care
adb shell pm uninstall -k --user 0 com.sprint.ce.updater
adb shell pm uninstall -k --user 0 com.lge.sprintnativewfc.smf
adb shell pm uninstall -k --user 0 com.sprint.ms.smf.services
adb shell pm uninstall -k --user 0 com.lge.sprintserver
adb shell pm uninstall -k --user 0 com.lge.lgdmsclientspr
I am using LG v50 Sprint phone in Vietnam. Everything is working properly, there are some junk apps on your phone and you can temporarily remove them with adb.
Nice guys! Thank you very much for your help. And do you have any issues with mobile data (LTE mostly) in your countries, because that's one of my biggest concerns.
LTE mobile network used normally in Vietnam.
lallolu said:
I bought.mine from eBay and I am using it in Sweden. After a few minutes of setting it up the first time, I got a notification to update. I successfully updated by OTA to the August security patch without hiccups.
I was able to remove the sprint activation nonsense at the beginning by uninstalling all sprint apps through adb. One of them uninstalled the LG messaging app. I don't care though since I don't use it.
adb shell pm uninstall -k --user 0 com.lookout
adb shell pm uninstall -k --user 0 com.coremobility.app.vnotes
adb shell pm uninstall -k --user 0 com.sprint.w.installer
adb shell pm uninstall -k --user 0 com.sprint.ms.cdm
adb shell pm uninstall -k --user 0 com.sprint.zone
adb shell pm uninstall -k --user 0 com.sprint.ecid
adb shell pm uninstall -k --user 0 com.sprint.extension
adb shell pm uninstall -k --user 0 com.sprint.care
adb shell pm uninstall -k --user 0 com.sprint.ce.updater
adb shell pm uninstall -k --user 0 com.lge.sprintnativewfc.smf
adb shell pm uninstall -k --user 0 com.sprint.ms.smf.services
adb shell pm uninstall -k --user 0 com.lge.sprintserver
adb shell pm uninstall -k --user 0 com.lge.lgdmsclientspr
Click to expand...
Click to collapse
Hello! Where can I learn how to use adb? I must do this with the LG v50 too

Easy way to remove Indian specific software (Cloud, Redcable, etc.) from Indian 8T?

Hello,
is there an easy way to remove Indian software and notifications from an Indian 8T?
I have this "Login with OnePlus account" in Settings that I don't want to use for instance.
Thanks for your advice,
Nicolas.
Nice, I've managed to remove Cloud, Red Cable Club and the "Login with OnePlus account" in Settings without rooting by executing:
Code:
adb shell pm uninstall --user 0 com.oneplus.membership
adb shell pm uninstall --user 0 com.heytap.cloud
adb shell pm uninstall --user 0 com.heytap.openid
adb shell pm uninstall --user 0 com.heytap.mcs
Then rebooting.

debloat uninstall apps with -k or without -k

Hello guys,
some guides say uninstall apps with -k and some say without -k, does it make any difference at all?
I noticed at my last debloat without -k there was a problem at OTA update, maybe it was because of uninstalling the apps without keeping the data... Idk tbh.
What did you at debloat? Do you use "pm uninstall -k --user 0" or "pm uninstall --user 0"?
Thanks!
To get completely rid off of an app then of course without -k.
Always use
Code:
adb uninstall <PACKAGE-NAME>
instead of
Code:
adb shell "pm uninstall ...."

adb shell pm enable does not persist after reboot

I accidentally copied the wrong command and used adb shell pm disable-user --user 0 $app instead of adb shell pm uninstall --user 0 $app
I can uninstall / install-existing it just fine but for some reason using enable doesn't work.
When I do adb shell pm enable $app I get an error message, when I use su it works, and when I first unfreeze it with sdmaid and then use the enable command it works too, however it is back to being disabled again after reboot.
I also tried adb shell pm default-state --user 0 $app with the same result.
It works just fine with other apps, but they are typically either disabled or uninstalled.
Now "com.android.sdm.plugins.connmo", "com.android.sdm.plugins.dcmo" and "com.android.sdm.plugins.diagmon" are both disabled and uninstalled.
I somehow was able to reinstall them and have that persist after reboot but they were still disabled after that.
Always get correct user id of user who should get prevented to run an app
Code:
adb shell "pm list users"
before running shell command like this
Code:
adb shell "pm disable --user <USER-ID> <PKG-NAME>"
and this using the same user id
Code:
adb shell "pm enable --user <USER-ID> <PKG-NAME>"
instead of stupidly using user id 0
What's the matter with just: pm disable com.annoying.app ?
The --user <USER-ID> parameter is usually needed on newer Android versions to specify which user ID the pm utility needs to apply the changes to.
jwoegerbauer said:
Always get correct user id of user who should get prevented to run an app
Code:
adb shell "pm list users"
before running shell command like this
Code:
adb shell "pm disable --user <USER-ID> <PKG-NAME>"
and this using the same user id
Code:
adb shell "pm enable --user <USER-ID> <PKG-NAME>"
instead of stupidly using user id 0
Click to expand...
Click to collapse
UserInfo{0:Owner:c13} running
My user ID is 0
would be great if it would work like that except it doesn't for whatever reason.
Is there a difference using "disable-user --user <USER-ID> <PKG-NAME>" vs "disable --user <USER-ID> <PKG-NAME>"?
I mean thats not rly my problem as I wanna *enable* it again, but yea..
running either enable or disable command in non elevated shell results in
java.lang.SecurityException: Shell cannot change component state for null to 1
which is weird as it does work for literally any other app.
using elevated shell it works, however it resets back to disabled state on reboot, which is even weirder given that the default state of this package would be enabled=1
and I should note that it mustve worked before as well, as it was originally enabled and I slipped in the wrong line and accidentally copied the command to disable apps instead of what I wanted to do.
And for some reasom that worked..
specifically the command I used was adb shell pm disable-user --user 0 com.android.sdm.plugins.connmo and it works for any other app to disable it and i can enable them right back.

Categories

Resources