Hello there people I have been trying to uninstall few android apps from a Xiaomi device but it seems some of them are throwing this error
whyred:/ $ pm uninstall -k --user 0 "com.xiaomi.calendar" Failure [-1000]
Does anyone have any idea how do I go about fixing this problem ? I would really appreciate any kind of help.
Thanks
My guess is the mentioned app is installed as a system-privileged app: such apps can only get uninstalled by a user with elevated rights, means he/she must be superuser.
BTW:
Uninstalling an app is applied with command
Code:
adb uninstall <PKG-NAME>
Related
I used the method of typing
pm uninstall --user 14 com.android.app
To uninstall some system apps. Since I have root, I did not use the -k parameter, but I uninstalled it for another user on my phone. I have the app on my user, but not on the other user. Whenever I try to reinstall it for the other user using
pm install --user 14 /data/app/com.android.app-1/base.apk
I get an error saying the app is already installed. Is there a way I can add the app to the user? Like I said earlier I have root access.
I am still with locked bootloader and unrooted for now. Anytime in the future I will probably switch to a custom ROM, but for now I want to 'experience the miui'. I am however removing some bloatware. I was able to do it via the pm uninstall command via adb shell. I removed all (system)apps I wanted to remove but for some reason I could not remove:
com.google.inputmethod.pinyin
It gives me this result:
whyred:/ $ pm uninstall -k --user 0 com.google.inputmethod.pinyin
Failure [not installed for 0]
I disabled MIUI optimization in Develop options and rebooted, but this did not help..
Does anyone know why I cannot uninstall this keyboard?
EDIT: Never mind, it was not a system app I guess. Just uninstalled it via the phone.. LOL :silly:
I'm in a same positionnement as you, I'd be interested if you knowing information to debloat the phones.
thx
dumbl3 said:
I am still with locked bootloader and unrooted for now. Anytime in the future I will probably switch to a custom ROM, but for now I want to 'experience the miui'. I am however removing some bloatware. I was able to do it via the pm uninstall command via adb shell. I removed all (system)apps I wanted to remove but for some reason I could not remove:
com.google.inputmethod.pinyin
It gives me this result:
whyred:/ $ pm uninstall -k --user 0 com.google.inputmethod.pinyin
Failure [not installed for 0]
I disabled MIUI optimization in Develop options and rebooted, but this did not help..
Does anyone know why I cannot uninstall this keyboard?
EDIT: Never mind, it was not a system app I guess. Just uninstalled it via the phone.. LOL :silly:
Click to expand...
Click to collapse
Can you please tell how to debloated the system with commands I also like to do so but lack the knowledge
Using adb shell I was able to uninstall and disable most of the Amazon apps for user 0 which saved me a bunch of storage and ram...
The tablet was performing wonderfully, unfortunately most of the Amazon apps were automatically re enabled and updated... Anyone here knows what system process is responsible for this? Anyone knows how to permanently disable Amazon apps without rooting????
Mobkore said:
Using adb shell I was able to uninstall and disable most of the Amazon apps for user 0 which saved me a bunch of storage and ram...
The tablet was performing wonderfully, unfortunately most of the Amazon apps were automatically re enabled and updated... Anyone here knows what system process is responsible for this? Anyone knows how to permanently disable Amazon apps without rooting????
Click to expand...
Click to collapse
Depends on what you were trying to disable.
None of the apps re-enabled so far by using THIS Tool Box on a HD 8" 2018 model.
tnsmani said:
Depends on what you were trying to disable.
None of the apps re-enabled so far by using THIS Tool Box on a HD 8" 2018 model.
Click to expand...
Click to collapse
I use the tool you mention in the link. Today my daughter brought her tablet because the fire launcher was there. I just reran the remove Amazon and it was gone again. I'm guessing there was an update. I didn't run the disable updates from the tool.
That being said ... For OP. I recommend the same tool as even if they re-enable. Plug in and disable again with the tool. Takes 30 seconds.
Sent from my Mi A1 using Tapatalk
I tried it
Code:
adb shell pm disable --user 0 com.amazon.device.software.ota
and got a failed.
AmznUser444 Dev said:
I tried it
Code:
adb shell pm disable --user 0 com.amazon.device.software.ota
and got a failed.
Click to expand...
Click to collapse
Code:
[STRIKE]adb shell pm disable --user 0 com.amazon.device.software.ota[/STRIKE]
Code:
adb shell pm [COLOR="Red"]uninstall [/COLOR]--user 0 com.amazon.device.software.ota
Mobkore said:
Using adb shell I was able to uninstall and disable most of the Amazon apps for user 0 which saved me a bunch of storage and ram...
The tablet was performing wonderfully, unfortunately most of the Amazon apps were automatically re enabled and updated... Anyone here knows what system process is responsible for this? Anyone knows how to permanently disable Amazon apps without rooting????
Click to expand...
Click to collapse
Use another commands:
Code:
adb shell pm disable-user --user 0 com.amazon.device.software.ota
I have disabled all Amazon junks. Look my screenshot below ↓↓
I'm used "adb shell pm disable-user --user 0" command to completely disabled all Amazon junks (i.e. OTA, Amazon Video, Appstore, and etc).
i am using
adb shell pm disable-user com.amazon.kindle.otter.oobe.forced.ota
i am not adding --user 0 and it still work.
After a while looking at the firmware to flash the device and have everything ready, I got an error because I needed the repair firmware, the point is that after installing a repair firmware I find that what I installed came with a course nook, something that was not there before and that after doing some research I discover that it has to do with a digital book reader; So my question is, do I install the other OS on top or do I leave this one for your daily use?
just do "pm uninstall -k --user 0 <name of package>” on adb to uninstall the cockbook
ineedroot69 said:
just do "pm uninstall -k --user 0 <name of package>” on adb to uninstall the cockbook
Click to expand...
Click to collapse
but the problem is if the installed firmware would cause problems (not being the original)
Dhnl_xvii said:
but the problem is if the installed firmware would cause problems (not being the original)
Click to expand...
Click to collapse
then uninstall all app linked to that bloatware
Hello, is there any guide in how to uninstall pre-installed apps like youtube and youtube music from the stock rom please?
Also another question - is it safe using apps like Shelter or Insular to use them for banking apps and outlook emails?
you can use adb commands.
first do
Code:
adb shell
then check ur user id (typically 0 but if it isnt then replace accordingly)
Code:
pm list users
to disable or uninstall apps for your user do
Code:
pm disable-user --user 0 com.some.package.name
pm uninstall --user 0 com.some.package.name
to enable or re-install apps for your user do
Code:
pm enable com.some.package.name
pm install-existing com.some.package.name
no idea about your second question, maybe open another thread for it, I doubt many people will find it here after reading the title is about installing apps.