Question HOW TO FIX "Failure [not installed for 0]" , WHILE UNINSTALLING SYSTEM APPS

Search This thread

armankang

Member
Apr 14, 2021
20
0
Using ADB shell i was able to uninstall bloatware apps from my OPPO F9 pro ,and all those apps that i uninstalled using -

Code:
adb shell
pm uninstall -k --user 0 <package_name>

were also those apps being identified by app inspector ,means i was able to see the their package name in app inspector and they were system apps as well but ,there are some other system apps like oppo appstore,compass, oppo theme store,oppo game center,etc those are neither shown in app inspector(idk why) where package information of other system+user apps is available and nor i can delete them ,BUT they are installed in my phone.
I receive the following error while uninstalling these system apps(taking example when i try 2 uninstall game center)-

Code:
adb shell
pm uninstall -k --user 0 com.coloros.gamespace
Failure [not installed for 0]

Now , "Failure [not installed for 0]" is the error when i try to uninstall any app that already is uninstalled (OR) doesn't exist on the android, BUT again ,these apps those im facing error to uninstall are actually there in my phone.

You might also wish 2 know that for these same apps ,how do i got the package name like the one in the example;com.coloros.gamespace since its package was not even shown in app inspector(or any other app) ,then i would like 2 tell u that i just searched in google typing "list of oppo bloatware" ,searched for the package name of these apps from websites those app inspector was unable to identify.

If anyone can help me in this issue i would really be thankful:):):):):)
 

mzsquared

Senior Member
Feb 22, 2018
613
235
CT
If anyone can help me in this issue i would really be thankful:):):):):)

Not an OPPO thread but you need to look for your phone specific packages with:

adb shell pm list packages​


Using the above ADB Shell command, you can print the list of the app package names for all apps installed on your Android device. You can use this command with different parameters to get a more specific list of app packages.

For instance, if you want to list the system apps only, use

adb shell pm list packages -s
In order to list all third-party apps installed on your Android phone or tablet, you issue the following command.

adb shell pm list packages -3
Do you want ADB Shell to show the list of all enabled or disabled apps on your device, try the command with parameters like ‘-d‘ (for disabled apps), ‘-e‘ (for enabled apps), and ‘-u‘ (for uninstalled apps).

adb shell pm list packages -d
adb shell pm list packages -epm list packages
adb shell pm list packages -u
To list app packages with specific keywords filter.

adb shell pm list packages <keywords>
To find the list of apps along with their associated packages, execute the following command

adb shell pm list packages -f
You can easily get a list of group packages by a certain manufacturer, or come common term. For instance, if you want to list all apps by Google, you can use the following command.

adb shell pm list packages | grep 'google'
You can replace “google” with “samsung”, “huawei”, “xiaomi”, “miui”, “evenwell”, “android”, “facebook”, etc. to get desired list of packages.
 
  • Like
Reactions: armankang

armankang

Member
Apr 14, 2021
20
0

Not an OPPO thread but you need to look for your phone specific packages with:

adb shell pm list packages​


Using the above ADB Shell command, you can print the list of the app package names for all apps installed on your Android device. You can use this command with different parameters to get a more specific list of app packages.

For instance, if you want to list the system apps only, use

adb shell pm list packages -s
In order to list all third-party apps installed on your Android phone or tablet, you issue the following command.

adb shell pm list packages -3
Do you want ADB Shell to show the list of all enabled or disabled apps on your device, try the command with parameters like ‘-d‘ (for disabled apps), ‘-e‘ (for enabled apps), and ‘-u‘ (for uninstalled apps).

adb shell pm list packages -d
adb shell pm list packages -epm list packages
adb shell pm list packages -u
To list app packages with specific keywords filter.

adb shell pm list packages <keywords>
To find the list of apps along with their associated packages, execute the following command

adb shell pm list packages -f
You can easily get a list of group packages by a certain manufacturer, or come common term. For instance, if you want to list all apps by Google, you can use the following command.

adb shell pm list packages | grep 'google'
You can replace “google” with “samsung”, “huawei”, “xiaomi”, “miui”, “evenwell”, “android”, “facebook”, etc. to get desired list of packages.
Thanks for replying bro.
So i got to know that i was getting that "Failure [not installed for 0]" error because the app packages given(for the same apps) those i searched for in google were not the same as for mine device's system apps ,so i got that error.
So when i just opened the list of packages using "pm list packages -___" i got the package names for those apps ,BUT still even now when i try to uninstall
those system apps using adb command with their correct package name i get a new error-

Code:
adb shell
pm uninstall --user 0 <package_name>
Failure [DELETE_FAILED_INTERNAL_ERROR]

In fact i can't even disable them like usually i can disable other system apps/user apps.
*When i use command pm disable for those apps showing no error-

Code:
adb shell
pm disable-user --user 0 <pkg_name>
Package <pkg_name> new state: disabled-user
*When i get error(maybe not error but app stays in default state with no change) for other system apps-

Code:
adb shell
pm disable-user --user 0 <pkg_name>
Package <pkg_name> new state: default

In short, neither i am able to uninstall them nor i can disable them, if it is because the system isn't giving me permission to do so then is there any other adb command that needed to be executed before these to get access first and then uninstall/disable.
BTW im fully relying on ADB shell to grant permissions or perform any operation ,i don't have root in my phone ,so plz tell if there is any method for non-rooted devices,thx
PLZ help.:(:(:(
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    ... probably NOT in the S21ULTRA thread....
    1
    If anyone can help me in this issue i would really be thankful:):):):):)

    Not an OPPO thread but you need to look for your phone specific packages with:

    adb shell pm list packages​


    Using the above ADB Shell command, you can print the list of the app package names for all apps installed on your Android device. You can use this command with different parameters to get a more specific list of app packages.

    For instance, if you want to list the system apps only, use

    adb shell pm list packages -s
    In order to list all third-party apps installed on your Android phone or tablet, you issue the following command.

    adb shell pm list packages -3
    Do you want ADB Shell to show the list of all enabled or disabled apps on your device, try the command with parameters like ‘-d‘ (for disabled apps), ‘-e‘ (for enabled apps), and ‘-u‘ (for uninstalled apps).

    adb shell pm list packages -d
    adb shell pm list packages -epm list packages
    adb shell pm list packages -u
    To list app packages with specific keywords filter.

    adb shell pm list packages <keywords>
    To find the list of apps along with their associated packages, execute the following command

    adb shell pm list packages -f
    You can easily get a list of group packages by a certain manufacturer, or come common term. For instance, if you want to list all apps by Google, you can use the following command.

    adb shell pm list packages | grep 'google'
    You can replace “google” with “samsung”, “huawei”, “xiaomi”, “miui”, “evenwell”, “android”, “facebook”, etc. to get desired list of packages.
    1
    without root you wont be able to delete system level apps.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone