I hid some apps (adb shell pm hide package) back when I got this tablet for my mom and lost the list of everything I hid. She tried to shop the kindle store for books and is getting the error, "The requested action is not permitted. Check parental controls settings and retry."
I don't know if one of the hidden apps is what's causing the issue but can anyone help on this issue?
InunoTaishou said:
I hid some apps (adb shell pm hide package) back when I got this tablet for my mom and lost the list of everything I hid. She tried to shop the kindle store for books and is getting the error, "The requested action is not permitted. Check parental controls settings and retry."
I don't know if one of the hidden apps is what's causing the issue but can anyone help on this issue?
Click to expand...
Click to collapse
Yes, the issue an app is hidden
see Adb Shell Pm Hide as much bloat and amazon as you can by k3ll0gs
You can start un-hiding apps, rebooting maybe necessary for some of them
Just do not unhide com.amazon.otaverifier and com.amazon.device.software.ota
Code:
adb shell pm unhide com.amazon.webapp
adb shell pm unhide com.amazon.kindle.otter
adb shell pm unhide com.amazon.kindle.otter.oobe
adb shell pm unhide com.amazon.kindle
adb shell pm unhide com.audible.application.kindle
adb shell pm unhide com.amazon.tahoe
adb shell pm unhide com.amazon.client.metrics
adb shell pm unhide com.amazon.device.backup
adb shell pm unhide com.amazon.platform
adb shell pm unhide com.amazon.photos
adb shell pm unhide com.nuance.edr.androidservice.service
adb shell pm unhide com.amazon.whisperlink.core.android
adb shell pm unhide com.goodreads.kindle
adb shell pm unhide com.amazon.csapp
adb shell pm unhide com.amazon.venezia
adb shell pm unhide com.amazon.h2settingsfortablet
adb shell pm unhide com.amazon.weather
adb shell pm unhide com.amazon.kindle.personal_video
adb shell pm unhide com.amazon.avod
adb shell pm unhide com.amazon.windowshop
adb shell pm unhide com.amazon.cloud9
adb shell pm unhide com.amazon.ags.app
adb shell pm unhide com.amazon.mp3
adb shell pm unhide com.amazon.photos.importer
adb shell pm unhide com.amazon.zico
adb shell pm unhide com.amazon.calculator
adb shell pm unhide com.android.calendar
adb shell pm unhide com.android.email
adb shell pm unhide com.android.contacts
adb shell pm unhide com.amazon.camera
adb shell pm unhide com.amazon.kindle.kso
adb shell pm unhide com.amazon.kor.provider.permission.READ_PROVIDER
I'm not sure which apps are required for what services, for sure.
You may find gatesjunior's Debloader tool, here on xda, helpful for seeing which of the apps in sd_shadow's list are hidden/disabled--and re-enabling them.
DoLooper said:
You may find gatesjunior's Debloader tool, here on xda, helpful for seeing which of the apps in sd_shadow's list are hidden/disabled--and re-enabling them.
Click to expand...
Click to collapse
This? V3.90 Debloater(Lets remove all that carrier bloat !! Root not required..) by gatesjunior
sd_shadow said:
This? V3.90 Debloater(Lets remove all that carrier bloat !! Root not required..) by gatesjunior
Click to expand...
Click to collapse
Thanks for link. You know this, yes?
DoLooper said:
Thanks for link. You know this, yes?
Click to expand...
Click to collapse
seen it mentioned before, but have not used it my self.
sd_shadow said:
seen it mentioned before, but have not used it my self.
Click to expand...
Click to collapse
Oh, hope you'll give it a try! I usually give pm commands from console, but Debloader is great for testing and easily seeing what's hidden/disabled.
Fantastic! Thanks for the replies, I'll check out the Debloater and see if I can find the culprit
Related
run adb shell pm hide com.fw.upgrade
I cant seem to grant the write secure settings permission.
For example, I tried allowing tasker and navigation gestures to have the permission. Heres the read out:
PS C:\Users\Owner 2\Desktop> adb shell pm grant net.dinglisch.android.taskerm android.permisson.WRITE_SECURE_ Bad argument: java.lang.IllegalArgumentException: Unknown permission: android.permisson.WRITE_SECURE_ usage: pm path [--user USER_ID] PACKAGE pm dump PACKAGE pm install [-lrtsfd] [-i PACKAGE] [--user USER_ID] [PATH] pm install-create [-lrtsfdp] [-i PACKAGE] [-S BYTES] [--install-location 0/1/2] [--force-uuid internal|UUID] pm install-write [-S BYTES] SESSION_ID SPLIT_NAME [PATH] pm install-commit SESSION_ID pm install-abandon SESSION_ID pm uninstall [-k] [--user USER_ID] [--versionCode VERSION_CODE] PACKAGE pm set-installer PACKAGE INSTALLER pm move-package PACKAGE [internal|UUID] pm move-primary-storage [internal|UUID] pm clear [--user USER_ID] PACKAGE pm enable [--user USER_ID] PACKAGE_OR_COMPONENT pm disable [--user USER_ID] PACKAGE_OR_COMPONENT pm disable-user [--user USER_ID] PACKAGE_OR_COMPONENT pm disable-until-used [--user USER_ID] PACKAGE_OR_COMPONENT pm default-state [--user USER_ID] PACKAGE_OR_COMPONENT pm set-user-restriction [--user USER_ID] RESTRICTION VALUE pm hide [--user USER_ID] PACKAGE_OR_COMPONENT pm unhide [--user USER_ID] PACKAGE_OR_COMPONENT pm grant [--user USER_ID] PACKAGE PERMISSION pm revoke [--user USER_ID] PACKAGE PERMISSION pm reset-permissions pm set-app-link [--user USER_ID] PACKAGE {always|ask|never|undefined} pm get-app-link [--user USER_ID] PACKAGE pm set-install-location [0/auto] [1/internal] [2/external] pm get-install-location pm set-permission-enforced PERMISSION [true|false] pm trim-caches DESIRED_FREE_SPACE [internal|UUID] pm create-user [--profileOf USER_ID] [--managed] [--restricted] [--ephemeral] [--guest] USER_NAME pm remove-user USER_ID pm get-max-users NOTE: 'pm list' commands have moved! Run 'adb shell cmd package' to display the new commands. pm path: print the path to the .apk of the given PACKAGE. pm dump: print system state associated with the given PACKAGE. pm install: install a single legacy package pm install-create: create an install session -l: forward lock application -r: replace existing application -t: allow test packages -i: specify the installer package name -s: install application on sdcard -f: install application on internal flash -d: allow version code downgrade (debuggable packages only) -p: partial application install -g: grant all runtime permissions -S: size in bytes of entire session pm install-write: write a package into existing session; path may be '-' to read from stdin -S: size in bytes of package, required for stdin pm install-commit: perform install of fully staged session pm install-abandon: abandon session pm set-installer: set installer package name pm uninstall: removes a package from the system. Options: -k: keep the data and cache directories around after package removal. pm clear: deletes all data associated with a package. pm enable, disable, disable-user, disable-until-used, default-state: these commands change the enabled state of a given package or component (written as "package/class"). pm grant, revoke: these commands either grant or revoke permissions to apps. The permissions must be declared as used in the app's manifest, be runtime permissions (protection level dangerous), and the app targeting SDK greater than Lollipop MR1. pm reset-permissions: revert all runtime permissions to their default state. pm get-install-location: returns the current install location. 0 [auto]: Let system decide the best location 1 [internal]: Install on internal device storage 2 [external]: Install on external media pm set-install-location: changes the default install location. NOTE: this is only intended for debugging; using this can cause applications to break and other undersireable behavior. 0 [auto]: Let system decide the best location 1 [internal]: Install on internal device storage 2 [external]: Install on external media pm trim-caches: trim cache files to reach the given free space. pm create-user: create a new user with the given USER_NAME, printing the new user identifier of the user. pm remove-user: remove the user with the given USER_IDENTIFIER, deleting all data associated with that user
Click to expand...
Click to collapse
What do I do?
You really tried command?:
Code:
adb shell pm grant net.dinglisch.android.taskerm android.permisson.WRITE_SECURE_
How about:
Code:
adb shell pm grant net.dinglisch.android.taskerm android.permisson.WRITE_SECURE_SETTINGS
Spere said:
You really tried command?:
How about:
Click to expand...
Click to collapse
I did end it with SETTINGS. Thats just how its returned after execution.
Shadow Assassin said:
I did end it with SETTINGS. Thats just how its returned after execution.
Click to expand...
Click to collapse
Yeah, that's what I thought and why I asked.
Are you on a Mac or a PC?
Praks93 said:
Are you on a Mac or a PC?
Click to expand...
Click to collapse
PC
I have also same problem pls help me
pasupathimadaka said:
I have also same problem pls help me
Click to expand...
Click to collapse
Hey, I finally got it to work. Im not sure how but.
1. My phone updated
2. I clean installed the april 2018 windows 10 OS on my computer and installed all updates.
3. I used minimal adb and fastboot.
If you need any files or help, let me know.
I cant guarentee your success but ill help as best as I can.
Shadow Assassin said:
I cant seem to grant the write secure settings permission.
For example, I tried allowing tasker and navigation gestures to have the permission. Heres the read out:
What do I do?
Click to expand...
Click to collapse
you had a typo, you were missing an "i" in "permission". It should be android.permission.WRITE_SECURE_SETTINGS
adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS
.
Hi just to check how do i resolve play store error 190 for my black shark helo ?
Whenever i tried downloading games with large files, this error appear.
Appreciate for the advise, thank u
Hi I have resolve this problem with adb, you need grant permission storage,
adb shell
pm grant com.android.vending android.permission.WRITE_EXTERNAL_STORAGE
pm grant com.android.vending android.permission.READ_EXTERNAL_STORAGE
after reboot you have resolve your problem
Sime90ita said:
Hi I have resolve this problem with adb, you need grant permission storage,
Adb pm grant com.android.vending android.permission.WRITE_EXTERNAL_STORAGE
Adb pm grant com.android.vending android.permission.READ_EXTERNAL_STORAGE
after reboot you have resolve your problem
Click to expand...
Click to collapse
Thank you Sime90ita I have managed to run the adb command and everything is now working fine.
I had to modify the command by adding "shell" as below
Adb shell pm grant com.android.vending android.permission.WRITE_EXTERNAL_STORAGE
Adb shell pm grant com.android.vending android.permission.READ_EXTERNAL_STORAGE
All the best.
thanks for the report I will immediately correct my post
maroine80 said:
Thank you Sime90ita I have managed to run the adb command and everything is now working fine.
I had to modify the command by adding "shell" as below
Adb shell pm grant com.android.vending android.permission.WRITE_EXTERNAL_STORAGE
Adb shell pm grant com.android.vending android.permission.READ_EXTERNAL_STORAGE
All the best.
Click to expand...
Click to collapse
Hi, Can u do some tutorial on this, I also have the same problem.
keroro85 said:
Hi, Can u do some tutorial on this, I also have the same problem.
Click to expand...
Click to collapse
search "how to use adb" and use the commands listed above
How do I disable Samsung Internet?
In App Settings, the disable button is ghosted.
Using "Force Stop" is not permanent.
This app starts up frequently on its own and is annoying.
Firefox is set as my default browser.
Phone is Galaxy S10 SM-G973U
Airstream25 said:
How do I disable Samsung Internet?
In App Settings, the disable button is ghosted.
Using "Force Stop" is not permanent.
This app starts up frequently on its own and is annoying.
Firefox is set as my default browser.
Phone is Galaxy S10 SM-G973U
Click to expand...
Click to collapse
Samsung internet can be uninstalled on G973F...
Dkzs said:
Samsung internet can be uninstalled on G973F...
Click to expand...
Click to collapse
My Phone is Galaxy S10 SM-G973U
You can uninstall it with adb:
Code:
adb shell pm.uninstall -k --user 0 com.sec.android.app.sbrowser
For disabling it enter:
Code:
adb shell pm disable com.sec.android.app.sbrowser
adb command to disable Samsung Internet browser
That command was not successful, see below;
PS C:\adb\platform-tools> .\adb shell pm disable com.sec.android.app.sbrowser
Security exception: Shell cannot change component state for com.sec.android.app.sbrowser/null to 2
java.lang.SecurityException: Shell cannot change component state for com.sec.android.app.sbrowser/null to 2
at com.android.server.pm.PackageManagerService.setEnabledSetting(PackageManagerService.java:25067)
at com.android.server.pm.PackageManagerService.setApplicationEnabledSetting(PackageManagerService.java:24817)
at com.android.server.pm.PackageManagerShellCommand.runSetEnabledSetting(PackageManagerShellCommand.java:1610)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:199)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:25942)
at android.os.Binder.shellCommand(Binder.java:642)
at android.os.Binder.onTransact(Binder.java:540)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:3329)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4763)
at android.os.Binder.execTransact(Binder.java:739)
PS C:\adb\platform-tools>
And what does the uninstall command do?
You can reinstall the browser via play or galaxy store.
Jannomag said:
And what does the uninstall command do?
You can reinstall the browser via play or galaxy store.
Click to expand...
Click to collapse
S C:\adb\platform-tools> .\adb devices
List of devices attached
RF8M20Z.... device
PS C:\adb\platform-tools> .\adb shell pm.uninstall -k --user 0 com.sec.android.app.sbrowser
/system/bin/sh: pm.uninstall: not found
PS C:\adb\platform-tools>
Airstream25 said:
S C:\adb\platform-tools> .\adb devices
List of devices attached
RF8M20Z.... device
PS C:\adb\platform-tools> .\adb shell pm.uninstall -k --user 0 com.sec.android.app.sbrowser
/system/bin/sh: pm.uninstall: not found
PS C:\adb\platform-tools>
Click to expand...
Click to collapse
My
You have a . It should be pm uninstall
jobhax said:
My
You have a . It should be pm uninstall
Click to expand...
Click to collapse
PS C:\adb\platform-tools> .\adb shell pm uninstall -k --user 0 com.sec.android.app.sbrowser
Success
PS C:\adb\platform-tools>
Wow, you guys are great, thanks!
Sorry...I miss typed the pm command with a dot instead of space.
uninstalling samsung internet
Greetings,
I tried uninstalling Samsung internet through ADB prompt
below is the code I used and error.
C:\WINDOWS\system32>adb shell
d2q:/ $ pm uninstall -k --user 0 com.sec.andriod.app.sbrowser
Failure [not installed for 0]
1|d2q:/ $
Please help me. Thanks
---------- Post added at 04:49 PM ---------- Previous post was at 04:45 PM ----------
Airstream25 said:
PS C:\adb\platform-tools> .\adb shell pm uninstall -k --user 0 com.sec.android.app.sbrowser
Success
PS C:\adb\platform-tools>
Wow, you guys are great, thanks!
Click to expand...
Click to collapse
Greetings,
I tried uninstalling Samsung internet through ADB prompt
below is the code I used and error.
C:\WINDOWS\system32>adb shell
d2q:/ $ pm uninstall -k --user 0 com.sec.andriod.app.sbrowser
Failure [not installed for 0]
1|d2q:/ $
Please help me. Thanks
Have you tried to disable it with the CCSWE app available in Play.
E:\platform-tools_r30.0.2-windows\platform-tools>adb.exe shell pm uninstall -k --user 0 com.sec.android.app.sbrowser
adb.exe: more than one device/emulator
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
... probably NOT in the S21ULTRA thread....
armankang said:
If anyone can help me in this issue i would really be thankful
Click to expand...
Click to collapse
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.
Ipse_Tase said:
... probably NOT in the S21ULTRA thread....
Click to expand...
Click to collapse
sorry bro i will change it i was just confused as it was my 3rd time only using xda threads to ask questions
mzsquared said:
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.
Click to expand...
Click to collapse
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.
without root you wont be able to delete system level apps.
uicnren said:
without root you wont be able to delete system level apps.
Click to expand...
Click to collapse
ok bro thanks
armankang said:
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.
Click to expand...
Click to collapse
Are Google Apps, system apps?
****Hawk said:
Are Google Apps, system apps?
Click to expand...
Click to collapse
Afaik every app that you can't uninstall without adb is a system app