Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returned with value of 255 #302

Closed
Bitik24 opened this issue May 19, 2020 · 11 comments
Closed

Returned with value of 255 #302

Bitik24 opened this issue May 19, 2020 · 11 comments

Comments

@Bitik24
Copy link

Bitik24 commented May 19, 2020

Hiii. can anyone please help me with this error. This is what I always get when I try to run gnirehtet.
dddd

@Bitik24
Copy link
Author

Bitik24 commented May 19, 2020

and this what happens when I type adb devices
sads

@rom1v
Copy link
Collaborator

rom1v commented May 19, 2020

Show the whole error message, by copying the text instead of screenshots.

@Bitik24
Copy link
Author

Bitik24 commented May 19, 2020

2020-05-19 15:57:33.638 INFO Main: Starting relay server on port 31416...
2020-05-19 15:57:33.645 INFO Main: Checking gnirehtet client...
2020-05-19 15:57:33.670 INFO Relay: Relay server started
2020-05-19 15:57:33.798 INFO Main: Starting client...
Starting: Intent { act=com.genymobile.gnirehtet.START cmp=com.genymobile.gnireht
et/.GnirehtetActivity }
Security exception: Permission Denial: starting Intent { act=com.genymobile.gnir
ehtet.START flg=0x10000000 cmp=com.genymobile.gnirehtet/.GnirehtetActivity } fro
m null (pid=24576, uid=2000) requires android.permission.WRITE_SECURE_SETTINGS

java.lang.SecurityException: Permission Denial: starting Intent { act=com.genymo
bile.gnirehtet.START flg=0x10000000 cmp=com.genymobile.gnirehtet/.GnirehtetActiv
ity } from null (pid=24576, uid=2000) requires android.permission.WRITE_SECURE_S
ETTINGS
        at com.android.server.am.ActivityStackSupervisor.checkStartAnyActivityPe
rmission(ActivityStackSupervisor.java:1964)
        at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.j
ava:1106)
        at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.j
ava:667)
        at com.android.server.am.ActivityStarter.startActivityMayWait(ActivitySt
arter.java:2051)
        at com.android.server.am.ActivityStarter.execute(ActivityStarter.java:60
5)
        at com.android.server.am.ActivityManagerService.startActivityAsUser(Acti
vityManagerService.java:5915)
        at com.android.server.am.ActivityManagerService.startActivityAsUser(Acti
vityManagerService.java:5889)
        at com.android.server.am.ActivityManagerShellCommand.runStartActivity(Ac
tivityManagerShellCommand.java:479)
        at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityM
anagerShellCommand.java:161)
        at android.os.ShellCommand.exec(ShellCommand.java:103)
        at com.android.server.am.ActivityManagerService.onShellCommand(ActivityM
anagerService.java:18380)
        at android.os.Binder.shellCommand(Binder.java:634)
        at android.os.Binder.onTransact(Binder.java:532)
        at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:35
14)
        at com.android.server.am.ActivityManagerService.onTransact(ActivityManag
erService.java:3732)
        at com.android.server.am.OppoActivityManagerService.onTransact(OppoActiv
ityManagerService.java:919)
        at android.os.Binder.execTransact(Binder.java:731)
2020-05-19 15:57:33.980 ERROR Main: Cannot start client: Command adb ["shell", "
am", "start", "-a", "com.genymobile.gnirehtet.START", "-n", "com.genymobile.gnir
ehtet/.GnirehtetActivity"] returned with value 255

@rom1v
Copy link
Collaborator

rom1v commented May 19, 2020

It's #5 then.

@Bitik24
Copy link
Author

Bitik24 commented May 19, 2020

I got it. Apparantly I can just disable permission monitoring in the developer options. Thanks for responding though. ♥

@Bitik24 Bitik24 closed this as completed May 19, 2020
@Bitik24 Bitik24 reopened this May 19, 2020
@Bitik24 Bitik24 closed this as completed May 19, 2020
@MidoFares22
Copy link

I got it. Apparantly I can just disable permission monitoring in the developer options. Thanks for responding though. ♥

thanks alot finally solved the problem

@Jazzwind
Copy link

I got it. Apparantly I can just disable permission monitoring in the developer options. Thanks for responding though. ♥

Could u post a picture of the "disable permission monitoring"? Cause I have the same problem but I can't find it in my developer opinion. Using ColorOS 11.1

@MidoFares22
Copy link

I got it. Apparantly I can just disable permission monitoring in the developer options. Thanks for responding though. ♥

Could u post a picture of the "disable permission monitoring"? Cause I have the same problem but I can't find it in my developer opinion. Using ColorOS 11.1

it is named disable permission monitoring here is screen shot for it i also have coloros
Screenshot_2021-11-19-10-08-10-53_fc704e6b13c4fb26bf5e411f75da84f2

@Jazzwind
Copy link

I got it. Apparantly I can just disable permission monitoring in the developer options. Thanks for responding though. ♥

Could u post a picture of the "disable permission monitoring"? Cause I have the same problem but I can't find it in my developer opinion. Using ColorOS 11.1

it is named disable permission monitoring here is screen shot for it i also have coloros Screenshot_2021-11-19-10-08-10-53_fc704e6b13c4fb26bf5e411f75da84f2

! oh!!! Thanks a lot! I tried to find it in "Debugging" part, but it turns out that it's in "Application" part. I found it, thanks!

为了中文用户,在开发者选项中的“禁止权限监控”,打开就可以了

@timoTHE-OS
Copy link

this still doesnt work on redmi 11

@srivetriselvan
Copy link

still dosent work on redmi devices

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants