Unable to uninstall a version of google app on nexus 6p - Nexus 6P Q&A, Help & Troubleshooting

A few weeks ago I installed google app version 5.14.15.NYC.21.arm64 on my nexus 6p running android n dp3. Now this app is not getting any updates from the playstore and not letting me install any of its update in the usual method.
If I try, it gives me an error saying:
"The package conflicts with an existing package by the same name"
I tried through adb using:
adb shell pm uninstall -k com.google.android.googlequicksearchbox
command but I got the following error:
Failure [DELETE_FAILED_INTERNAL_ERROR].
The newest version of this app is version 6.0.17.21. Also there is no option coming up on the phone to uninstall this update. What should I do?

agpt8 said:
A few weeks ago I installed google app version 5.14.15.NYC.21.arm64 on my nexus 6p running android n dp3. Now this app is not getting any updates from the playstore and not letting me install any of its update in the usual method.
If I try, it gives me an error saying:
"The package conflicts with an existing package by the same name"
I tried through adb using:
adb shell pm uninstall -k com.google.android.googlequicksearchbox
command but I got the following error:
Failure [DELETE_FAILED_INTERNAL_ERROR].
The newest version of this app is version 6.0.17.21. Also there is no option coming up on the phone to uninstall this update. What should I do?
Click to expand...
Click to collapse
I have the same problem...If you figure it out...let me know.

Related

Disable system apps without root (even those with disabled Disable button)

You can disable all system apps without root even those that cannot be disabled from Settings - like Mcafee an LG Health:
- Install adb
- connect your phone and turn on usb debugging
- find the name of the app you want to block with:
adb shell pm list packages
(You can filter the results on windows by adding | findstr "TERM" or | grep "TERM" on linux / mac where you would replace TERM with the word you are looking for. This would look like:
- adb shell pm list packages | findstr "inputmethod"
adb shell pm list packages | grep "inputmethod"
- "Hide" the app with:
adb shell pm hide "packagename"
(where you would replace "packagename" with the name acquired in step 3)
(https://www.reddit.com/r/Android/comments/3eav7t/get_rid_of_unwanted_system_apps_adb_shell_pm_hide/)
I thought it just hides apps, but I googled it and it seams it really disables apps. I tried it with com.lge.mlt, Mcafee and LG Health and now I get more than 5 hours of SoT compared to 3 hours before.
If you have LG PC Suite installed, you already have working adb in its folder...
Little correction to above manual: Once you run adb shell you don't have to keep running it. You're already in the shell.
adb shell
pm list packages -e (the e will show only ones that are enabled)
pm hide "package.name"
exit
Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.
KuGeL94 said:
Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.
Click to expand...
Click to collapse
It worked when the initial post was made - seems that Android stopped that in an update around August 2016.
However, since this comes up high on a google search (which I just did) I thought I'd post for anyone running across it.
You can achieve similar on even Oreo, at least on a Huawei device, by using "pm uninstall -k --user 0 packagename" (Replace packagename with relevant full package name).
This uninstalls the app for the current user only (user 0) (so doesn't need root) so if you do a factory reset (and I guess an OTA upgrade) the app will return. It does seem to uninstall rather than hide though - so obviously be cautious and take a back up first in case you have to do a factory reset.
Hope that helps the next person finding this thread on a search!
gonzo99 said:
It worked when the initial post was made - seems that Android stopped that in an update around August 2016.
However, since this comes up high on a google search (which I just did) I thought I'd post for anyone running across it.
You can achieve similar on even Oreo, at least on a Huawei device, by using "pm uninstall -k --user 0 packagename" (Replace packagename with relevant full package name).
This uninstalls the app for the current user only (user 0) (so doesn't need root) so if you do a factory reset (and I guess an OTA upgrade) the app will return. It does seem to uninstall rather than hide though - so obviously be cautious and take a back up first in case you have to do a factory reset.
Hope that helps the next person finding this thread on a search!
Click to expand...
Click to collapse
Ha! yeah, I was just doing some research and you are right on all three accounts.
1. This is top in google search
2. The PM Uninstall command works great!
3. Its really really gone so be careful!
gonzo99 said:
It worked when the initial post was made - seems that Android stopped that in an update around August 2016.
However, since this comes up high on a google search (which I just did) I thought I'd post for anyone running across it.
You can achieve similar on even Oreo, at least on a Huawei device, by using "pm uninstall -k --user 0 packagename" (Replace packagename with relevant full package name).
This uninstalls the app for the current user only (user 0) (so doesn't need root) so if you do a factory reset (and I guess an OTA upgrade) the app will return. It does seem to uninstall rather than hide though - so obviously be cautious and take a back up first in case you have to do a factory reset.
Hope that helps the next person finding this thread on a search!
Click to expand...
Click to collapse
should become a sticky. we could make a script for samsung bloatware
gonzo99 said:
It worked when the initial post was made - seems that Android stopped that in an update around August 2016.
However, since this comes up high on a google search (which I just did) I thought I'd post for anyone running across it.
You can achieve similar on even Oreo, at least on a Huawei device, by using "pm uninstall -k --user 0 packagename" (Replace packagename with relevant full package name).
This uninstalls the app for the current user only (user 0) (so doesn't need root) so if you do a factory reset (and I guess an OTA upgrade) the app will return. It does seem to uninstall rather than hide though - so obviously be cautious and take a back up first in case you have to do a factory reset.
Hope that helps the next person finding this thread on a search!
Click to expand...
Click to collapse
Thanks, this is exactly what I was looking for. Even on Marshmallow, the hide and unblock commands don't work, so this is probably the only way to get rid of bloatware. But the uninstall command is a bit dangerous since the changes are permanent, is there a way to get the app back once uninstalled?
Great, the pm uninstall command working perfectly on a MI6 without root, I've successfully removed some annoying apps
This didn't work on my Samsung but I am not surprised.
iloveoreos said:
This didn't work on my Samsung but I am not surprised.
Click to expand...
Click to collapse
I have a galaxy note 9 with Oreo and I do not want to update it to Pie so i was trying to disable com.wssyncmlmd but with no success with the commands in this thread, the problem is that I want to disable it, not uninstall it!
If you want to uninstall bloatware apps you can use:
pm uninstall -k --user 0 "app.name"
I can tell you it works uninstalling system apps like linkedin and facebook
If you could help me figuring out a way to only disable (or at least back up) the system update app I'd be very thankful!
prahladyeri said:
Thanks, this is exactly what I was looking for. Even on Marshmallow, the hide and unblock commands don't work, so this is probably the only way to get rid of bloatware. But the uninstall command is a bit dangerous since the changes are permanent, is there a way to get the app back once uninstalled?
Click to expand...
Click to collapse
Yes just run
adb shell pm unhide "packagename"

[Q] How to reinstall a System App thru ADB?

I mistakenly uninstalled the com.android.phone package using the command:
Adb shell pm uninstall -k --user 0 com.android.phone
I thought I was just uninstalling Samsungs dialer but I uninstalled the system app to handle phone calls, now every time I try to call someone I get an error. Is there any way to restore the app ? Please help !
I'm not rooted btw!

T-Mobile Bloat

Does anyone know what the following pre-installed packages are:
Code:
com.tmobile.pr.adapt
com.tmobile.rsuadapter.qualcomm
com.tmobile.rsusrv
I got my unlock token flashed and I'm thinking about converting to the international ROM and relocking the bootloader. I'm trying to figure out what this T-Mobile garbage is and whether I can try uninstalling it:
Code:
pm uninstall -k --user 0 <name of package>
So far I tried uninstalling the com.tmobile.pr.adapt and the response to the command was "Success." The T-Mobile app still shows up in the app list (under settings -> Apps & notifications) with some text next to it indicating "not installed for this user"
I tried several searches but can't find anything about these packages. I think I'm just going to wipe and install the OP6T international ROM.

[Fire HD 10 2019 rooted 7.3.1.0] Restore deleted Amazon apps

Hi,
I deleted almost all the Amazon apps on my HD 10 2019(7.3.1.0). But now I need to use the prime video app and Kindle app. I can install Kindle app from Play store but after installing and logging in nothing works. The app doesn't go beyond syncing account.
PHP:
When I try to install prime video from Play store, it fails to install.
What can I do to fix this
Thanks.
tbrar said:
Hi,
I deleted almost all the Amazon apps on my HD 10 2019(7.3.1.0). But now I need to use the prime video app and Kindle app. I can install Kindle app from Play store but after installing and logging in nothing works. The app doesn't go beyond syncing account.
PHP:
When I try to install prime video from Play store, it fails to install.
What can I do to fix this
Thanks.
Click to expand...
Click to collapse
You can do over ADB
Code:
adb shell pm enable <package-name>
//Example
adb shell pm enable com.amazon.avod
AmznUser444 Dev said:
You can do over ADB
Code:
adb shell pm enable <package-name>
//Example
adb shell pm enable com.amazon.avod
Click to expand...
Click to collapse
I tried both
Code:
adb shell pm enable com.amazon.avod
adb shell pm enable --user 0 com.amazon.avod
and in both cases I get
Code:
Package com.amazon.avod new state: enabled
But the application is still missing
Play store version of Amazon app is different from the one for Fire OS so it will not work. as for using adb commands, there may be more than 1 package that needs to be re-enabled for Prime Video or Kindle to work.
before u can re-enable any app, did u delete or only disable those Amazon apps? if u have deleted them, u cannot re-enable them of cus. it will a pain to hunt down those packages. OS version 7.3.1.0 is never published n quickly replaced by 7.3.1.1 n newer ones. those are all patched to prevent root access via mtk-su.
if u dont care about root, the easiest way to get back Prime Video and Kindle app is to download and install the current OS from here: https://www.amazon.com/gp/help/customer/display.html?nodeId=G2JXLC4L34GX73TE

adb commands are not effective

Hello
According to the forum research if i
- perform factory reset then the previously debloated apps will be reinstalled
- they can be reinstalled by adb command adb shell cmd package install-existing com.android.something without needing to factory reset.
- disabled (frozen) apps can be enabled through adb pm enable <packagename>
I have tried al three but it does not work. the commands were correctly used.
- If i perform factory reset (tried only through twrp recovery clearing cache, dalvik,data) then after initial setup the previously debloated apps are not back (i did not try factory reset through system settings yet because i dont know how it affects magisk)
Edit: only Kids mode got reinstalled. strange!
- If i use adb command adb shell cmd package install-existing com.android.something the terminal gives back that "the app was succesfully installed to user 0" but after checking the tablet the app is nowhere. I have tried it using the newest adb fastboot toolkit which has a nice terminal UI so i can reinstall all apps at once- which apps should be present on the tablet they give back "the app was succesfully installed to user 0" (they were uninstalled from user 0 so installing to user 0 should be fine) but they are not reinstalled.
- Titanium backup had accidentally frozen two apps, one is smart things, the second it android system webview- i cannot defrost them through titanium backup. I have tried several apps but none of them defrosts back. I have tried adb command pm enable <packagename> which gives me message "package succesfully enabled" but after checking state through adb pm list packages -d or tablet app setting they are still frozen.
My samsung tablet is rooted (at least i believe rooting was succesful because root checker says that) and on stock ROM.. It is strange that none of these commands are effective.
Does anybody have any clue why?
Thank you

Categories

Resources