How do I uninstall an APK? - LG G Watch

So I used ADB install to install got248, but now I've installed a better 2048 clone for android wear from the play store, so I how do I uninstall the old APK?

Uclydde said:
So I used ADB install to install got248, but now I've installed a better 2048 clone for android wear from the play store, so I how do I uninstall the old APK?
Click to expand...
Click to collapse
I am wondering the same thing bc literally I did the same thing as you with 2048 haha. I'm guessing you could try this command: adb uninstall got2048.apk

Uclydde said:
So I used ADB install to install got248, but now I've installed a better 2048 clone for android wear from the play store, so I how do I uninstall the old APK?
Click to expand...
Click to collapse
In order to uninstall the application you need to know it's package name (ie com.someapp.app) then use the following adb command to uninstall, adb uninstall com.someapp.app.
If you are not sure what the package name is then you can run the following adb commands in order to get a list of apps installed:
adb shell
su
cd /data/app
ls
This should give you a list of apps on the watch/ Hope this helps.

Related

[Q]Can I uninstall an app via adb?

Is there a command/parameter that I can use to uninstall an app from the emulator or even a device?
I have gone through settings and I also blanked out the emulator session, but both are very time consuming. I thought maybe there was an easier way. Any suggestions?
Thanks...
Sent from my SAMSUNG-SGH-I897 using XDA App
adb remove (full app filename, no extension) eg adb remove com.developer.appname
or adb shell rm /data/app/(full app filename with apk extension)
to find the file name, use adb shell ls /data/app/
Thanks, I'll give it a try. I find it interesting though that the docs don't have the remove command. Also, I found an adb wiki that also does not have the remove command but does have an uninstall command. Why the differences? Oh well, even though I did not see it in the docs I should have at least tried the uninstall for grins before I posted. It is late so I will try both tomorrow.
Thanks again.
Sent from my...
Device Admin
Hello,
This uninstall parameter is being fail to remove app which is privileged as Device Admin.
How to deactivate Device Admin Privilege on any app thru adb ?
How to uninstall Device Admin App thru ADB ?

Need VpnDialogs.apk

Hi guys, I accidentally remove my VpnDialogs.apk on my device and now I can't use Vpn service. :crying:
is there anyone who have the backup for this app?
and how to install to system?
thanks before.
Reuw said:
Hi guys, I accidentally remove my VpnDialogs.apk on my device and now I can't use Vpn service. :crying:
is there anyone who have the backup for this app?
and how to install to system?
thanks before.
Click to expand...
Click to collapse
This is a old post but will respond incase anyone else runs into this issue. This works with any un-installed packages.
Use adb shell pm list packages -u to list un-installed apps
Then use cmd package install-existing packagenamehere
Example: cmd package install-existing com.android.vpndialogs
There's a good cheat sheet for ADB here
CriminalMuppet said:
This is a old post but will respond incase anyone else runs into this issue. This works with any un-installed packages.
Use adb shell pm list packages -u to list un-installed apps
Then use cmd package install-existing packagenamehere
Example: cmd package install-existing com.android.vpndialogs
There's a good cheat sheet for ADB here
Click to expand...
Click to collapse
You saved my life dude thanks

" cmd package install-existing" doesn´t work in Android 7, how can I reinstall apk ?

" cmd package install-existing" doesn´t work in Android 7, how can I reinstall apk ?
I used this guide to uninstall some apps:
https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
The problem is, I want to install one of them back, I tried the option mentioned on the guide:
adb shell cmd package install-existing <name of package>
But the "install-existing" doesn´t work in my Android 7.0 (Samsung A5 2016).
Tried downloading the APK from the internet and installing but it doesn´t work (says that app is already installed)
Checked if the app is installed, and it only shows in "pm list package -u", so it´s uninstalled for the current (default) user.
Any way to get it back without the install-existing ? (as it doesn´t exist in my android 7.0)
Thanks
anyone ?
anyone pls help, i also got stuck in the same situation, using Note 5 Android 7.0
Run
Code:
adb devices
adb shell "pm list packages -u"
to see what packages are re-installable.
https://forum.xda-developers.com/t/...diatek-armv8-2020-08-24.3922213/post-84201415

[MOTO G8+] "You cannot install this app because another user..."

Hi,
I want to reinstall a Motorola firmware app.
I uninstalled the firmware a year ago on my Moto G8+ with adb using the following command:
"pm uninstall -k --user 0 com.motorola.faceunlock"
Now when I want to install the app from the Play Store I can't. I get the following error message:
"You cannot install this app because another user has already installed an incompatible version on this device."
Click to expand...
Click to collapse
I already tried a few things I found in other threads and forums but nothing really worked. I'm a single user, however the guest function allows me to find the Moto face unlock App as an installed app. In settings I can't find any option that allows me to "uninstall the app for all users" or to "reinstall" or "restore" it. Factory Reset is not an option for me.
I was thinking about maybe reinstalling the package via adb for the main user again, if that's possible? I only have little knowledge about adb.
Has somebody an idea or command I could try out?
Thanks in advance
@sokrvtxs
The ADB command you used removed the the mentioned system-app ( leaving its data untouched ) only for user 0, that's the current user, what means that the deleted app still remains available for other users of the Android device - it didn't get removed from device's storage space at all. That's basically a good thing because you can easily restore an app if you uninstall it by mistake or need it later.
This brings the system-app back:
Code:
adb devices
adb shell "cmd package install-existing com.motorola.faceunlock"
adb reboot
If your Android is rooted then you can update the system-app in question
Code:
adb devices
adb push <PATH_TO_UPDATE_APK> /data/local/temp
adb shell "pm install -r /data/local/tmp/<UPDATE_APK>"
adb shell "rm /data/local/tmp/<UPDATE_APK>"
adb reboot
Thank you so much, my phone is not rooted. The first code worked and my issue is solved completely. This helped me a lot.

Disabling unwanted apps through ADB

Hi guys,
Just purchased a Moto G8 Power and want to disable som Google preinstalled apps that I won't use.
I've already done this on a Huawei P30 Pro so I know how to do it.
Here are my questions.
If I disable the unwanted apps through ADB will this prevent future OTA updates?
Also, will future OTA updates reactivate the apps that I disabled through ADB?
Thanks!
Assuming you are rooted. Why disable when you can completely remove apps you consider to be bloatware?
The uninstall command to using in ADB is:
Code:
adb shell pm uninstall -k --user 0 PASTE_PACKAGE_NAME_HERE
Use the command below to get a list of the installed package apps on your phone. You want to use the part that starts with: com.some_package_name when using the command above to uninstall an app from your phone using ADB.
Code:
adb shell pm list packages
This version of the same command should help you find the list of packages associated with the facebook app so you can nuke it from orbit.
Code:
adb shell pm list packages facebook
This worked on my 2020 Moto G Power phone and I hope it works for you. And yes I know most of this can be found by doing a search online.

Categories

Resources