Poweramp permission granting not working - Xiaomi Poco X3 NFC Questions & Answers

Hey,
i wanna give poweramp equalizer permission for players, using adb shell and getting the following error:
Exception occurred while executing 'grant':
java.lang.SecurityException: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS.
at android.app.ContextImpl.enforce(ContextImpl.java:2028)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:2056)
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermissionInternal(PermissionManagerService.java:1445)
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:22148)
at android.os.Binder.shellCommand(Binder.java:929)
at android.os.Binder.onTransact(Binder.java:813)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4687)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4401)
at android.os.Binder.execTransactInternal(Binder.java:1159)
at android.os.Binder.execTransact(Binder.java:1123)
Click to expand...
Click to collapse
What can I do to fix this?

Related

Does anyone know how to fix this problem with Titanium Backup?

I'm using AOSP 2.1, and I rooted as per the instructions in the topic (I got SetCPU and QuickBoot working just fine). I get this error message when ever I start it up:
Busybox works but the "su" command does not elevate to root: "whoami" reports "whoami: unknown uid 10051" instead of uid 0. I think your "Superuser Whitelist" system app does not work. Please check with your ROM provider.
Click to expand...
Click to collapse
Checking in Better Terminal Emulator, I also get the uid of 10051 when I use whoami. The dev suggested that it was a "Superuser Whitelist" problem, but I have no idea what this is. Could anyone help me out?
TheBiles said:
I'm using AOSP 2.1, and I rooted as per the instructions in the topic (I got SetCPU and QuickBoot working just fine). I get this error message when ever I start it up:
Checking in Better Terminal Emulator, I also get the uid of 10051 when I use whoami. The dev suggested that it was a "Superuser Whitelist" problem, but I have no idea what this is. Could anyone help me out?
Click to expand...
Click to collapse
The Superuser Whitelist is superuser.apk, they're saying it's a problem with that app.
No, though i have heard of it.
Just for safety's sake search this forum on whitelist ( has a bad affect on the cdma hero) , before going to market. Also check superuser.apk, it could be your answer. TB is probably using the uid as a semaphore so as to be responsive to SU permissions programs. Busybox does not have a setuid, so you can't #setuid 0.
http://forums.macosxhints.com/archive/index.php/t-3359.html
Edit: I see someone ( with a similar name ) has already asked the developer.
http://androidforums.com/android-applications/42636-titanium-backup-problems-droid.html
Ask the "superuser.apk" developer.
This might help
Are you using Darchstar's ROM? There is a known issue with it not rooting, and setting up the superuser whitelist. Take a look at these instructions and it might fix your issue:
http://forum.xda-developers.com/showpost.php?p=5741316&postcount=1705
willy900wonka said:
No, though i have heard of it.
Just for safety's sake search this forum on whitelist ( has a bad affect on the cdma hero) , before going to market. Also check superuser.apk, it could be your answer. TB is probably using the uid as a semaphore so as to be responsive to SU permissions programs. Busybox does not have a setuid, so you can't #setuid 0.
http://forums.macosxhints.com/archive/index.php/t-3359.html
Edit: I see someone ( with a similar name ) has already asked the developer.
http://androidforums.com/android-applications/42636-titanium-backup-problems-droid.html
Ask the "superuser.apk" developer.
Click to expand...
Click to collapse
Yeah, that was me. He doesn't know the ins and outs of rooting.
josue85 said:
Are you using Darchstar's ROM? There is a known issue with it not rooting, and setting up the superuser whitelist. Take a look at these instructions and it might fix your issue:
http://forum.xda-developers.com/showpost.php?p=5741316&postcount=1705
Click to expand...
Click to collapse
I am. I will try that out and see if it works.
Ok, when trying to fix the superuser whitelist as described, I get the error:
Code:
Unable to chmod su: No such file or directory
after the command
Code:
chmod 06755 su
I rooted following the instructions in the "How to root topic." Any ideas?
TheBiles said:
Ok, when trying to fix the superuser whitelist as described, I get the error:
Code:
Unable to chmod su: No such file or directory
after the command
Code:
chmod 06755 su
I rooted following the instructions in the "How to root topic." Any ideas?
Click to expand...
Click to collapse
did you get my pm?
darchstar said:
did you get my pm?
Click to expand...
Click to collapse
Yeah, performing a nandroid backup now. I have to root it again, right?
Oh, and should I wipe first?
EDIT: Everything works like a charm!
It also finally asks if I want to allow root access from apps.
ON a stock rom you would apply this update, by Mercado79, it gives you the whitelist and sets your uid to 0 upon activation.
The update is described here:
http://forum.xda-developers.com/showthread.php?t=593952&highlight=mercado79
download update zip here:
http://forum.xda-developers.com/attachment.php?attachmentid=252801&d=1259860872
I tested the process and it sets the uid to 0.
Okay I must the most unlucky man on earth:
I rooted my HTC stock ROM, installed Titanium & Busybox, but I get the same su error...
I tried to install the update from mercado79, but after reboot it freezes on htc logo during first boot...
I don't know what else I could possibly do to finally be able to backup all my data and apps :-(

[Q] SuperUser and Binding to privileged ports

Heya!
I couldn't really find any threads describing how to solve my particular problem, so here it goes.
I need to listen on port 80 and 53, for this I figured that I needed both the INTERNET permission and SuperUser (since creation of the sockets throws a permission denied exception).
But the thing is, I have added the app to have root privileges, and the permission is added to the manifest, but I still get the permission denied error.
Any ideas on how I should solve this problem? Any help would be appreciated

Cricket HTC One SV rooted having issues entering superuser mode

I am new to this rooting etc and have a cricket htc one sv that I am just playing around with, more or less trying to learn with. I rooted my phone today and when I go into the terminal app and enter su, it gives me some errors and then freezes for a few seconds and then says permission denied. What I am trying to do is unlock the gsm on the phone and see if I can use another carrier with this phone. I have read that mostly it doesnt work so well and might only get 2g/EDGE speeds etc, but this is just something I am messing around with. Heres a print out of the error log.
java.lang.SecurityException: Permission Denial: broadcast asks to run as user -1
but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL or android.permission.INTERACT_ACROSS_USERS
at android.os.Parcel.readException(Parcel.java:1425)
at android.os.Parcel.readException(Parcel.java:1379)
at android.app.ActivityManagerProxy.broadcastIntent(ActivityManagerNative.java:2158)
at com.android.commands.am.Am.sendBroadcast(Am.java:616)
at com.android.commands.am.Am.run(Am.java:121)
at com.android.commands.am.Am.main(Am.java:82)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)
at dalvik.system.NativeStart.main(Native Method)
Permission denied
anyone input would be greatly appreciated.
thank you
@kwalls8732
Sounds like when you rooted your device that it wasn't properly rooted. Not sure exactly what method you use when attempting to gain root access to your device, but it appears it failed. Make sure you are using SuperSU for your device. Works best thus far.
Sent from my C525c using Tapatalk
Yes I had some issues so I switched to SuperSU and the root went according as the tutorial explained after sometime figuring things out. I have looked through some threads about others having this issue but can't really understand or figure out what they did to fix that issue. Thanks for your input

Terminal: Failure calling service activity Android 8.0 issue

Hey. After updating my OP3 to Oreo. I would like to delete again my day feature from facebook messenger. There is only one problem. When im trying to call service activity in terminal by command:
am start –n „com.facebook.orca/com.facebook.messaging.internalprefs.MessengerInternalPreferenceActivity”
Click to expand...
Click to collapse
I get error:
cmd: Failure calling service activity: Failed transaction (2147483646)
Click to expand...
Click to collapse
Of course i grant root permission to my terminal app. Is there any workaround to call this activity without terminal ?
Hi!
You have to change selinux to permissive.
Wow it really works. Thanks!
TaRsY said:
Hi!
You have to change selinux to permissive.
Click to expand...
Click to collapse
Yes, this works for me too, and it solved the error when executing "pm list packages" as well! (which has started since a long time ago, in nougat system.)
Now I just wanna know, what could be the real reason behind the "pm" problem? Incorrect security context settings on some files, or anything else? Thank you.

[SOLVED] Can't get XDA's "Navigation gesture" working

Hi guys,
bought this wonderful phone on Black Friday. Amazing!
Anyway, I'd like to fully use XDA's Navigation Gesture.
I install it but when I try to get right permission using adb, I get this error:
Code:
$ adb shell pm grant com.xda.nobar android permission.WRITE_SECURE_SETTINGS
Exception occurred while executing:
java.lang.IllegalArgumentException: Unknown permission: android.permission.WRITE_SECURE_SETTINGS at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:1398)
at com.android.server.pm.permission.PermissionManagerService.access$900(PermissionManagerService.java:89)
at com.android.server.pm.permission.PermissionManagerService$PermissionManagerInternalImpl.grantRuntimePermission(PermissionManagerService.java:2093)
at com.android.server.pm.PackageManagerService.grantRuntimePermission(PackageManagerService.java:5533)
at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:1730)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:217)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21518)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2796)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3978)
at android.os.Binder.execTransact(Binder.java:731)
I need your help to understand why I get that & how to fix it.
Thanks
Solved! You need a dot (.) between android and permission
mattia.b89 said:
Solved! You need a dot (.) between android and permission
Click to expand...
Click to collapse
I have problème with my XZ premium
What's fix it
Thanks
Native gesture navigation works!
Guys it has been achieved through ADB
https://forum.xda-developers.com/cr...apps/pie-xperia-10-10-plus-launcher-t3905699/
But you have to use the XPERIA 10 launcher port or else the stock launcher will crash if you try going to recents menu.

Categories

Resources