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

No VPN etablished #112

Closed
MoienBowen opened this issue May 24, 2018 · 4 comments
Closed

No VPN etablished #112

MoienBowen opened this issue May 24, 2018 · 4 comments
Labels

Comments

@MoienBowen
Copy link

Hi,
I have an Android 7.1.2 no-root.
it's connected as dev on mode charging or MTP (I tried both), and adb devices could list my device.

I did ./gnirehtet run:
2018-05-24 17:02:43.483 INFO Main: Starting relay server...
2018-05-24 17:02:43.483 INFO Relay: Relay server started
2018-05-24 17:02:43.483 INFO Main: Checking gnirehtet client...
2018-05-24 17:02:43.549 INFO Main: Starting client...
Broadcasting: Intent { act=com.genymobile.gnirehtet.START cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver }
Broadcast completed: result=0

There is only pop-up for installing the app, no more pop-up of VPN nor else.

@MoienBowen
Copy link
Author

Also, I tried RNDIS mode in dev.
That gonna lose the adb connection.

2018-05-24 17:24:32.040 INFO Main: Starting relay server...
2018-05-24 17:24:32.041 INFO Relay: Relay server started
2018-05-24 17:24:32.041 INFO Main: Checking gnirehtet client...
2018-05-24 17:24:32.044 ERROR Main: Cannot start client: Command adb ["shell", "dumpsys", "package", "com.genymobile.gnirehtet"] returned with value 1

@philippemilletresearch
Copy link

Hi,
I got that very same issue.
Android 8.1.0
adb:
Android Debug Bridge version 1.0.39
Version 27.0.0-4455170

Using RUST version on Linux Ubuntu 16.04.

./gnirehtet run
2019-02-24 16:17:35.651 INFO Main: Starting relay server...
2019-02-24 16:17:35.651 INFO Relay: Relay server started
2019-02-24 16:17:35.651 INFO Main: Checking gnirehtet client...
2019-02-24 16:17:35.752 INFO Main: Installing gnirehtet client...
Success
2019-02-24 16:17:41.131 INFO Main: Starting client...
Broadcasting: Intent { act=com.genymobile.gnirehtet.START flg=0x400000 cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver }
Broadcast completed: result=0

What shall I do to check what's wrong?

@rom1v rom1v added the nodialog label Feb 24, 2019
@rom1v
Copy link
Collaborator

rom1v commented Feb 24, 2019

It's often due to a specific settings on your Android ROM which by default does not permit gnirehtet to start.

For example: #161 (comment)

But the option is different for many devices.

Check https://github.com/Genymobile/gnirehtet/issues?q=label%3Anodialog.

@rom1v
Copy link
Collaborator

rom1v commented Sep 7, 2019

Should be fixed by f868180.

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

No branches or pull requests

3 participants