debloat uninstall apps with -k or without -k - General Questions and Answers

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 ...."

Related

Custom rom for oppo r11s?

is there any custom rom for oppo r11s?
Really can't stand colour os
tanjess said:
is there any custom rom for oppo r11s?
Really can't stand colour os
Click to expand...
Click to collapse
Agree with the ColorOS - it is simply unusable. Does anyone know how to root this thing?? Pretty please??
Same with you!!!!! Cannot stand ColorOS at all!!!!!!!!
Really need some custom rom of ANY ui
wstranger said:
Same with you!!!!! Cannot stand ColorOS at all!!!!!!!!
Really need some custom rom of ANY ui
Click to expand...
Click to collapse
Great phone (hardware) un-useable software.
i need a custom rom for this phone badly. i hope someone can make one soon.
Has anyone had any luck with this yet? please?
Hi guys
There's a TWRP and LineageOS for Oppo R11 / R11 plus, so I think it's a matter of short time.
http://bbs.zhiyoo.com/thread-13493628-1-1.html
I want to buy this phone, so could any of the users write, how does the battery, camera, processor work?
I will be grateful
I have the R11s Plus. The screen and build are great, but the software realy sucks. I wish this phone had the OnePlus 5T software, both phones looks the same.
I uninstalled the original Launcher and was able to install the new launcher
Via ADB
Turn on the usb debugging of your phone.
Install ADB driver on PC
https://phoneusbdrivers.com/oppo-find-7-usb-driver/
Install minimal adb fastboot
https://forum.xda-developers.com/showthread.php?t=2317790
Conect your phone no PC
Permission on the phone screen when requested
open the minimal adb fastboot on PC
type:
adb shell "enter"
type:
pm uninstall -k --user 0 com.coloros.safecenter
pm uninstall -k --user 0 com.oppo.market
pm uninstall -k --user 0 com.oppo.launcher INSTALL SOME LAUNCHER FIST
pm uninstall -k --user 0 com.coloros.safecenter
pm uninstall -k --user 0 com.android.browser
pm uninstall -k --user 0 com.oppo.music
pm uninstall -k --user 0 com.oppo.quicksearchbox
pm uninstall -k --user 0 com.sohu.inputmethod.sogouoem
pm uninstall -k --user 0 com.coloros.video
pm uninstall -k --user 0 com.cleanmaster.sdk
pm uninstall -k --user 0 com.coloros.findmyphone
pm uninstall -k --user 0 com.coloros.speechassist
pm uninstall -k --user 0 com.coloros.speechassist.engine
pm uninstall --user 0 com.oppo.quicksearchbox
Lusorocaba said:
so I uninstalled the original Launcher and was able to install the new launcher
Via ADB
type:
pm uninstall -k --user 0 com.coloros.safecenter
hence just follow the commands for which application you want to uninstall.
pm uninstall -k --user 0 "APP'
Click to expand...
Click to collapse
Hi Lusorocaba,
that's brilliant! Thank you very much!
Would you please provide a bit more info how you uninstalled current launcher and which launcher you installed.
Please provide exact commands with launcher names.
It would really help, because I am not sure what is the full name of the current launcher at R11s.
After you uninstalled old launcher, how did you het new launcher? From Google Play?..
Thank you very much in advance!
tatuk said:
Hi Lusorocaba,
that's brilliant! Thank you very much!
Would you please provide a bit more info how you uninstalled current launcher and which launcher you installed.
Please provide exact commands with launcher names.
It would really help, because I am not sure what is the full name of the current launcher at R11s.
After you uninstalled old launcher, how did you het new launcher? From Google Play?..
Thank you very much in advance!
Click to expand...
Click to collapse
Okay thank you very much tomorrow I will update the list of how to uninstall the Launcher and install another launcher.
UPDATED
tatuk said:
Hi Lusorocaba,
that's brilliant! Thank you very much!
Would you please provide a bit more info how you uninstalled current launcher and which launcher you installed.
Please provide exact commands with launcher names.
It would really help, because I am not sure what is the full name of the current launcher at R11s.
After you uninstalled old launcher, how did you het new launcher? From Google Play?..
Thank you very much in advance!
Click to expand...
Click to collapse
I uninstalled the original Launcher and was able to install the new launcher
Via ADB
Turn on the usb debugging of your phone.
Install ADB driver on PC
https://phoneusbdrivers.com/oppo-find-7-usb-driver/
Install minimal adb fastboot
https://forum.xda-developers.com/showthread.php?t=2317790
Conect your phone no PC
Permission on the phone screen when requested
open the minimal adb fastboot on PC
type:
adb shell "enter"
type:
pm uninstall -k --user 0 com.coloros.safecenter
pm uninstall -k --user 0 com.oppo.market
pm uninstall -k --user 0 com.oppo.launcher INSTALL SOME LAUNCHER FIST
pm uninstall -k --user 0 com.coloros.safecenter
pm uninstall -k --user 0 com.android.browser
pm uninstall -k --user 0 com.oppo.music
pm uninstall -k --user 0 com.oppo.quicksearchbox
pm uninstall -k --user 0 com.sohu.inputmethod.sogouoem
pm uninstall -k --user 0 com.coloros.video
pm uninstall -k --user 0 com.cleanmaster.sdk
pm uninstall -k --user 0 com.coloros.findmyphone
pm uninstall -k --user 0 com.coloros.speechassist
pm uninstall -k --user 0 com.coloros.speechassist.engine
Hi. I have a Oppo r11s and no access to fastboot. Is this normal? It's the Australian variant
Deleted
Whete can I get Oppo color os 3.2 themes !!?
Hi Lusorocaba!
Thank you very much for your manual, but I cannot get drivers for my R11s... The drivers from yr link don't work...
Any advice?..
Anybody got working drivers?..
Hi Lusorocaba!
Thank you very much, I was able to repeat all what you did.
I didn't get it from the beginning how to put the phone to debugging (not only some presses to version no). More over, debugging mode turnes on just for some time, not forever...
Oppo r11s (China)
I have oppo r11s. But volte is not working.. i can use jio's data only. Even i updated my phone to coloros 5.2 beta and Android 8.1 ......Plz tell me how to enable volte...

Can't ADB uninstall bloatware apps

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.

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.

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