Black shark helo play store error 190 - Xiaomi Black Shark Helo Questions & Answers

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

Related

Kindle Store - Requested action is not permitted

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

Magisk/E: Unknown id: pm, with "pm uninstall" shell command

Hi, i have a Nexus 6P based on 7.1.1 with Magisk root v14.0 with Magisk manager v14.0.
With the terminal emulator app i'm trying to execute this commands:
Code:
su
pm uninstall org.telegram.messenger
But i got an error: Android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died etc..
But if i connect my Nexus 6P to my pc, and via ADB i try to push this command
Code:
adb shell pm uninstall org.telegram.messenger
It works. I don't know if it's related to Magisk, but i tried to build an app made by that execute "pm uninstall org.telegram.messenger" after "su" to get root shell but nothing, i got only an error on my android monitor: "E/Magisk: Unknow id: pm" and obviously telegram has this package name and it is installed as user app. Someone can help me ?
smartandroidtech said:
Hi, i have a Nexus 6P based on 7.1.1 with Magisk root v14.0 with Magisk manager v14.0.
With the terminal emulator app i'm trying to execute this commands:
Code:
su
pm uninstall org.telegram.messenger
But i got an error: Android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died etc..
But if i connect my Nexus 6P to my pc, and via ADB i try to push this command
Code:
adb shell pm uninstall org.telegram.messenger
It works. I don't know if it's related to Magisk, but i tried to build an app made by that execute "pm uninstall org.telegram.messenger" after "su" to get root shell but nothing, i got only an error on my android monitor: "E/Magisk: Unknow id: pm" and obviously telegram has this package name and it is installed as user app. Someone can help me ?
Click to expand...
Click to collapse
Are you able to uninstall the normal way thought settings>apps?
Sent from my H1611 using Tapatalk

Write Secure Settings adb command not working.

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
.

Alarm stats APPOPS_USAGE_STATS permission unknown

Any idea why the alarm stats permission is unknown?
Phone is a Huawei P Smart 2019 with EMUI 9.1.0.264 (Android 9.0).
Code:
adb -d shell pm grant com.asksven.betterbatterystats android.permission.APPOPS_USAGE_STATS
Exception occurred while executing:
java.lang.IllegalArgumentException: Unknown permission: android.permission.APPOPS_USAGE_STATS
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:1417)
at com.android.server.pm.permission.PermissionManagerService.access$900(PermissionManagerService.java:93)
at com.android.server.pm.permission.PermissionManagerService$PermissionManagerInternalImpl.grantRuntimePermission(PermissionManagerService.java:2112)
at com.android.server.pm.PackageManagerService.grantRuntimePermission(PackageManagerService.java:6057)
at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:1773)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:239)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:23637)
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:2804)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4427)
at com.android.server.pm.HwPackageManagerService.onTransact(HwPackageManagerService.java:432)
at android.os.Binder.execTransact(Binder.java:739)
After installing betterbatterystats_xdaedition_debug_2.5-341.apk I also had your exact error. Magisk was installed before installing the app. I started the app and granted the root permission in the Magisk popup.
The app weirdly still required two permissions (READ_PHONE_STATE and APPOPS_USAGE_STATS), which were shown with a red background in the app:
$ sudo adb shell
[email protected]:/ $ su
[email protected]:/ # pm grant com.asksven.betterbatterystats_xdaedition android.permission.READ_PHONE_STATE
Click to expand...
Click to collapse
worked (I restarted phone and the red background color went away), but
# pm grant com.asksven.betterbatterystats_xdaedition android.permission.APPOPS_USAGE_STATS
Click to expand...
Click to collapse
didn't work and the error you have came up. I solved it by clicking on the bottom "OK" error message on the app and rechecked [it was already set to the right/allow] the permissions slider.
Having the same problem. Can't fix it...
Same here. On first installation and permissions configuration was working OK. Maybe it scanned the system further and noticed that it didnt have the proper permissions. Not rebooted yet. Probably will try to reboot and also I will read some thing in this forum.
Of course I enabled again all the USB debugging things and tried to add the permission, without success:
Code:
~\AppData\Local\Android\Sdk\platform-tools> .\adb.exe -d shell pm grant com.asksven.betterbatterystats_xdaedition android.permission.APPOPS_USAGE_STATS
Exception occurred while executing 'grant':
java.lang.IllegalArgumentException: Unknown permission: android.permission.APPOPS_USAGE_STATS
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermissionInternal(PermissionManagerService.java:1467)
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:1426)
at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:2287)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:249)
at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
at android.os.ShellCommand.exec(ShellCommand.java:44)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:22207)
at android.os.Binder.shellCommand(Binder.java:932)
at android.os.Binder.onTransact(Binder.java:816)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4687)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4419)
at android.os.Binder.execTransactInternal(Binder.java:1162)
at android.os.Binder.execTransact(Binder.java:1126)
But @fdxw solution solved it. However you should probably add your solution with more emphasis, I didnt see it the first time.
Solution
I solved it by clicking on the bottom "OK" error message on the app and rechecked it was already set to allow (disable it, enable it again) the permissions slider.
Click to expand...
Click to collapse
+1 Xiaomi Mi9

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

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

Categories

Resources