[Uninstall any apps] via adb [No ROOT] - Android General

How to uninstall system app or any app without having rooted?
1) Connect your phone via USB
2) Turn android debugging on
3) Go to android shell using $ adb shell
how to remove apps now
use this command now
pm uninstall -k --user 0 com.my.demo.app
comment below
to undo the changes:
adb shell cmd package install-existing com.my.demo.app

Would I still be able to update my software without issues in my Galaxy s9 for instance after removing bloat via this method?? If yes, would it bring the apps back??

dannyella said:
Would I still be able to update my software without issues in my Galaxy s9 for instance after removing bloat via this method?? If yes, would it bring the apps back??
Click to expand...
Click to collapse
Yes you will be able to to update your device without any issue.
No your app will not be back unless the app's apk is present in the update package.

Hi,
Do you have any ideea how to re-install an app uninstalled by miskate?
Thanks

This pm uninstall -k --user 0 com.my.demo.app only removes the app from user 0 ( current user )
Sooo to reinstall and app, you will need to factory default your device

Please Help~
I've done the steps on your video https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/ .... but the result is always "failure" not found ... can you please help me. Thank You.

This might be silly, but how do we get the app's identifier, like com.demo.my.app? Settings > Apps does not seem to have that info.

akki-k said:
This might be silly, but how do we get the app's identifier, like com.demo.my.app? Settings > Apps does not seem to have that info.
Click to expand...
Click to collapse
Code:
adb shell pm list packages | grep <search-term>
Example: You can type "chrome" instead of <search-term> to find the Chrome browser.
For graphical solution you can install the app named "Package Name Viewer 2.0" by csing. :good:
edit: You can see the article Debloat: https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/

dannyella said:
Would I still be able to update my software without issues in my Galaxy s9 for instance after removing bloat via this method?? If yes, would it bring the apps back??
Click to expand...
Click to collapse
Yes

adipaval said:
Hi,
Do you have any ideea how to re-install an app uninstalled by miskate?
Thanks
Click to expand...
Click to collapse
I´m still looking for a solution.
Already tried pm enable or pm install -r with the apk. no success. any clue?

When after enabling Android debugging I am giving the command adb she'll from terminal in my lunix laptop I am getting an output "nicklaus_f:/
What is this?
But when I am giving the command ' adb shell pm list packages' the output I am getting is
/System/bin/sh: adb: not found
127!nicklaus_f:/$
Please advise what to do

gsantra said:
When after enabling Android debugging I am giving the command adb she'll from terminal in my lunix laptop I am getting an output "nicklaus_f:/
What is this?
But when I am giving the command ' adb shell pm list packages' the output I am getting is
/System/bin/sh: adb: not found
127!nicklaus_f:/$
Please advise what to do
Click to expand...
Click to collapse
Try reinstalling adb drivers for your device.
---------- Post added at 02:35 AM ---------- Previous post was at 02:34 AM ----------
Would give this a try as soon as i get my hands on a proper pc. The korean apps on my phone are very annoying.

Is there a command to enable apps without factory reset?

gsantra said:
When after enabling Android debugging I am giving the command adb she'll from terminal in my lunix laptop I am getting an output "nicklaus_f:/
What is this?
But when I am giving the command ' adb shell pm list packages' the output I am getting is
/System/bin/sh: adb: not found
127!nicklaus_f:/$
Please advise what to do
Click to expand...
Click to collapse
I would say
1. Download from android themselves:
developer.android.com/studio/releases/platform-tools
2. Extract the .zip file somewhere on your computer and add that folder to your windows PATH variable so you can reference it from anywhere using command prompt (cmd.exe).

kdm6389 said:
How to uninstall system app or any app without having rooted?
1) Connect your phone via USB
2) Turn android debugging on
3) Go to android shell using $ adb shell
how to remove apps now
use this command now
pm uninstall -k --user 0 com.my.demo.app
comment below
Click to expand...
Click to collapse
Any way to install user app as system apps from adb ?

[GS] said:
Any way to install user app as system apps from adb ?
Click to expand...
Click to collapse
There technically is a way. Just not as "graceful"
android.stackexchange.com/questions/27/how-do-i-properly-install-a-system-app-given-its-apk

adipaval said:
Hi,
Do you have any ideea how to re-install an app uninstalled by miskate?
Thanks
Click to expand...
Click to collapse
pm default-state app.name

Im trying to unistall a system app and after running pm uninstall -k --user 0 'com.icoolme.android.weather' nothing happens.
There no sucess or failure message.
Anyone knows why that happens and what can I do to fix it?

https://forum.xda-developers.com/picture.php?albumid=15288&pictureid=58390
I had to do it twice, because I didn't turn off auto update in Galaxy Apps and didn't uninstall Secure Folder before I started. I'm not 100% of the connection, but somehow Bixby came back, but I uninstalled Secure Folder, turned off Auto Update, and it worked great. They got root for my device like two days later, so kind of pointless, but it helped a lot! Thanks! :good:

please I need help how can I enable an application that I uninstall by mistake ('com.google.android.apps.photos'), without factory reset, besides which is the command that I should use to disable an application?
nota: the options that are in previous comments do not work

Related

[No root][8th gen] Permanently disabling Amazon apps on Fire HD 8 2018

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.

Disable Motorola Update Services?

Hey everyone,
I'm rooted, so obviously the OTA security update fails every time for me. Since I did a hard restart on my phone, the update tries to be applied non stop, hogging up CPU usage and slowing the phone down. It says it fails and immediately tries to apply it again, in an endless loop.
I haven't found a way to disable it. Any suggestions? I tried to delete Motorola Update Services through titanium backup but it keeps coming back after a restart.
Any suggestions? I don't really want to go through the hassle of updating for a security patch, re rooting, and setting up my highly customized device again.
Thanks in advance!
Try the following
Enable usb debugging
Connect phone to PC & run the following adb command substituting package name with the package name of the app you want to disable E.g com.xyz.myapp
Code:
adb shell pm uninstall --user 0 packagename
If you get an error about this app can't be uninstalled try
Code:
adb shell pm disable-user --user 0 packagename
I just wanted to update anyone in case they are looking at this thread.
The first command to remove it did not work. The second command to disable it DOES work, and survives a reboot. The package name is "com.motorola.ccc.ota"
I have Motorola Update Services frozen via Titanium seems to have killed that update pop up on 4 Motos i have. oh and disable updates in Dev mode too.
Bookmarked for later.
I'm going to bump this thread because the command is not working on Android 10. Any solutions? TB also just crashes for me.
adb simply returns "package non disable" or something along those lines. Meanwhile I keep getting that extremely annoying popup. Honestly, may it's worth switching to lineage. At least there I can be rooted and also get updates.
WaterMan! said:
I just wanted to update anyone in case they are looking at this thread.
The first command to remove it did not work. The second command to disable it DOES work, and survives a reboot. The package name is "com.motorola.ccc.ota"
Click to expand...
Click to collapse
i second this. the second command works in my experience too.
Just an update for anyone that finds this...
On another forum, I came across this
adb shell pm disable-user --user 0 com.motorola.ccc.ota
It worked for me on a Moto G6
Hi
It doesn't work on my device. Though I have the Moto G Power 2022 (Tonga), running A11 stock WITHOUT su (root); neither the pm uninstall or pm disable commands perform their function. Rather, it tells me the package is "non-disable" and remains installed and unable to disable. It's the motorola ota package I'm trying to freeze so it can stop with the SPAM POPUPS (no shame calling it what it is) with absolutely no option to hide or suppress them altogether. And No, going to Smart Updates and turning it off there or on Developer Options have no bearing. If anything it's become relentlessly frequent, to the point I would refer to it as spamming.
There must be something I'm missing or doing wrong. I've always been able to disable packages this way and never really encountered this problem before. Are there any other pm commands that may do the trick? Could my ADB utilities be outdated and could that be what's causing it to fail. Or have we simply reached a dead-end with software and Android 11 no longer providing a method of removing system packages WITHOUT root or unlocking bootloader.
I still have not found a way to disable this package and the popups are driving me insane!
Is there really no working method for this??

Need the package name for the app named 'Game Center'

I am debloating my Real Me 5 Pro using adb commands.
I can't seem to find the package name for the app named 'Game Center'. Please help with it!?
Secondly, is it advisible to remove the Game Center (I am not speaking about Game Space) app itself?
Screenshot showing the app icon: https://i.imgur.com/sAgkAg4.jpg
Solved//
It is baked in the coloros. The package name is com.nearme.gamecenter.
Edit: No, you can't remove it.
Same issue
I am also looking for same. But i have different issue after removing realme browser, app market and roaming app i am facing battery drain issue(i have done it multiple times to confirm). Did you face any issue?
mit_bhalodi said:
I am also looking for same. But i have different issue after removing realme browser, app market and roaming app i am facing battery drain issue(i have done it multiple times to confirm). Did you face any issue?
Click to expand...
Click to collapse
Disable them, don't uninstall them.
As far removing the browser, app market and roaming app I didn't notice any drain.
jakolantern69 said:
It is baked in the coloros. The package name is com.nearme.gamecenter.
Edit: No, you can't remove it.
Click to expand...
Click to collapse
Thankyou! :good:
Chrome
I want to uninstall chrome.I put the following command in the powershell
.\adb shell pm uninstall -k --user 0 com.google.android.apps.chrome.Main
But the powershell says the command 0 is invalid.So what is the correct command to uninstall Chrome?
pnsdhrn said:
I want to uninstall chrome.I put the following command in the powershell
.\adb shell pm uninstall -k --user 0 com.google.android.apps.chrome.Main
But the powershell says the command 0 is invalid.So what is the correct command to uninstall Chrome?
Click to expand...
Click to collapse
Use:
Code:
.\adb shell pm disable-user --user 0 com.android.chrome
OR
Code:
pm uninstall –k ––user 0 com.android.chrome
Thank you please.I want to know the package name of Chrome and Game Center also.
Deejssj said:
I am debloating my Real Me 5 Pro using adb commands.
I can't seem to find the package name for the app named 'Game Center'. Please help with it!?
Secondly, is it advisible to remove the Game Center (I am not speaking about Game Space) app itself?
Screenshot showing the app icon: https://i.imgur.com/sAgkAg4.jpg
Solved//
Click to expand...
Click to collapse
How did you solve the issue of uninstalling Game Center?
pnsdhrn said:
How did you solve the issue of uninstalling Game Center?
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=81160105&postcount=2
Deejssj said:
https://forum.xda-developers.com/showpost.php?p=81160105&postcount=2
Click to expand...
Click to collapse
Thank you Deejssj.Your quoted thread says Game Center can't be uninstalled.But you said in the first post that your problem is SOLVED.So I am very much eager to learn that how it is solved?
Deejssj said:
Disable them, don't uninstall them.
As far removing the browser, app market and roaming app I didn't notice any drain.
Click to expand...
Click to collapse
Hi may I ask what's app market package name have been trying to find it using package names viewer but can't find it and I did try to google it still can't find the name.
are bhai ...play store se download kar VIEW PACKAGE NAME
DefaultJ said:
Hi may I ask what's app market package name have been trying to find it using package names viewer but can't find it and I did try to google it still can't find the name.
Click to expand...
Click to collapse
package name of app market is com.oppo.market
package name of the game center is com.nearme.gamecenter
But i am unable able to uninstall it.
saad maqsood said:
package name of the game center is com.nearme.gamecenter
But i am unable able to uninstall it.
Click to expand...
Click to collapse
After I try any method of removing bloatware using adb debug without root on Android 12 and 13, finally I've got method that worked both Android 12 or 13.
if regular adb disable/uninstall commands do not work, then
For Android 13 try
Code:
adb shell service call package 131 s16 com.abc.xyz i32 0 i32 0
for Android 12 try
Code:
adb shell service call package 134 s16 com.abc.xyz i32 0 i32 0
more Explanation : Click Here

Pre installed app removal?

It appears that some apps that come pre installed on the 8t can be deleted...rather than disabled. For example, Google One.
If I delete them, will they reinstall with a factory reset or were they installed separate from the factory image?
Been several years since I had a new phone and am use to only being able to disable pre installed apps.
Thanks
Well if you root you can debloat it
brad34471 said:
It appears that some apps that come pre installed on the 8t can be deleted...rather than disabled. For example, Google One.
If I delete them, will they reinstall with a factory reset or were they installed separate from the factory image?
Been several years since I had a new phone and am use to only being able to disable pre installed apps.
Thanks
Click to expand...
Click to collapse
You can use ABD for delete your apps, follow the guide, you can create a txt file with all your adb commands and copy/past once
the best link for all method/scrits : here
the adb method link directly : here
spart0n said:
Well if you root you can debloat it
Click to expand...
Click to collapse
False... You can easily debloat/delete apps from adb without root, on all smartphone, OnePlus, Sasmsung Redmi/Xiaomi
Best way is obviously to use adb method if you're not willing to root. Enter adb shell
Code:
adb shell
A simple search like this will give all packages with google in it's name. You can replace 'google' with 'oneplus' or 'facebook' etc to find the package names.
Code:
pm list packages | grep 'google'
You can use this to delete the app after finding package name using this.
Code:
pm uninstall --user 0 com.facebook.appmanager
Note that this removes apps only from default user and not from system. They will return if you do a factory reset.
KrishTej said:
Best way is obviously to use adb method if you're not willing to root. Enter adb shell
Code:
adb shell
A simple search like this will give all packages with google in it's name. You can replace 'google' with 'oneplus' or 'facebook' etc to find the package names.
Code:
pm list packages | grep 'google'
You can use this to delete the app after finding package name using this.
Code:
pm uninstall --user 0 com.facebook.appmanager
Note that this removes apps only from default user and not from system. They will return if you do a factory reset.
Click to expand...
Click to collapse
Package Info from the PlayStore is also another good way to see the package names of what is installed to make the apps you want to get rid of easier to remove. Personally, I save a text file of the apps I remove for each device I have to make it easier to remove them if I ever have to factory reset the device or remove them for others.

Remove Apps via ADB

Have installed Lineage 9.0 and working fine but want to remove more apps llike the below
Email
Messaging
Phone
Browser
Calculator
Calender
I just want to strip it right down as for kids so just have the basics
Have the driver but anyone any guide how to remove the above via adb?
Thanks
funkyirishman said:
Have installed Lineage 9.0 and working fine but want to remove more apps llike the below
Email
Messaging
Phone
Browser
Calculator
Calender
I just want to strip it right down as for kids so just have the basics
Have the driver but anyone any guide how to remove the above via adb?
Thanks
Click to expand...
Click to collapse
You can move these files from its directories to a different storage in case you need to restore, then wipe data (not needed to format data/factory reset) then restart your device and see how it goes. I think it would be fine, not essential apps if you don't need them. Browsing with a root explorer and taking a copy (moving them this way) probably you will find more apps to get rid of.
I don't want to restore them as just using it for kid's for you tube and some loaded cartoons etc saved on micro SD card
I just want to remove them via adb but don't know the command when running PowerShell
Looking for these commands
funkyirishman said:
I don't want to restore them as just using it for kid's for you tube and some loaded cartoons etc saved on micro SD card
I just want to remove them via adb but don't know the command when running PowerShell
Looking for these commands
Click to expand...
Click to collapse
Saving the apps in other place is just in case you have something like an annoying warning message, but this is just for a few minutes to check that all is fine.
To remove apps through ADB you can use this guide https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/ with this process really you are hiding the "head" of the app doing them unreachable (I assume your real interest) for the end user.
SubwayChamp said:
Saving the apps in other place is just in case you have something like an annoying warning message, but this is just for a few minutes to check that all is fine.
To remove apps through ADB you can use this guide https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/ with this process really you are hiding the "head" of the app doing them unreachable (I assume your real interest) for the end user.
Click to expand...
Click to collapse
Thanks
This is what I am looking for
So for example trying to remove the below
package:com.android.email
So in powershell type the below
pm uninstall -k --user 0 <com.android.email>
but keep getting the below
syntax error: unexpected 'newline'
Typing it correctly or am I as not getting anywhere with removing it
funkyirishman said:
Thanks
This is what I am looking for
So for example trying to remove the below
package:com.android.email
So in powershell type the below
pm uninstall -k --user 0 <com.android.email>
but keep getting the below
syntax error: unexpected 'newline'
Typing it correctly or am I as not getting anywhere with removing it
Click to expand...
Click to collapse
Remove -k (this preserve data and cache what you don't need) I guess you are not using the keys <>
Be sure that this is the name of package and run adb shell and then pm uninstall --user 0 com.android.email
or simply pm uninstall com.android.email This will remove the app from any user.
Also you have this GUI tool https://forum.xda-developers.com/t/...mate-app-manager-debloat-tool-tweaks.4147837/

Categories

Resources