Genymobile / gnirehtet

Gnirehtet provides reverse tethering for Android
Apache License 2.0
6.13k stars 565 forks source link

Permission denied problem on Redmi Note3 Android 6.0.1 #53

Closed Meowzz95 closed 6 years ago

Meowzz95 commented 6 years ago

The phone client won't start when the server on PC is on and calling the START intent, the info in logcat shows that system has denied the broadcasting intent. During this process, no prompt asks for permission on phone side.

I guess there's some permission checking and granting requesting need to be done in the android client?

Here's the logcat output.

10-25 16:35:29.436 2739 2757 D com.android.server.pm.PackageManagerServiceInjector: MIUILOG- permission denied android.permission.WRITE_SECURE_SETTINGS 10-25 16:35:29.436 2739 2757 W BroadcastQueue: Permission Denial: broadcasting Intent { act=com.genymobile.gnirehtet.START flg=0x10 cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver } from null (pid=15564, uid=2000) requires android.permission.WRITE_SECURE_SETTINGS due to receiver com.genymobile.gnirehtet/.GnirehtetControlReceiver 10-25 16:35:29.438 15564 15564 D AndroidRuntime: Shutting down VM

Thanks!

rom1v commented 6 years ago

Duplicate of https://github.com/Genymobile/gnirehtet/issues/5?