question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

gnirehtet-run does not broadcast intent

See original GitHub issue

I had a connection established to my phone the other day using Gnirehtet, but now I am unable to do so. I have confirmed through adb devices that my phone is indeed connected but it won’t work.

Whenever I try to run now, it does not show the “Broadcast intent” message.

D:\Program Files (HDD)\gnirehtet\gnirehtet-java>gnirehtet run
2018-11-03 19:51:14.380 I Gnirehtet: Checking gnirehtet client...
2018-11-03 19:51:14.380 I Gnirehtet: Starting relay server...
2018-11-03 19:51:14.453 I Relay: Relay server started

When I manually send a connection request it does appear on my phone, but no data can be transmitted.

D:\Program Files (HDD)\gnirehtet\gnirehtet-java>adb shell am broadcast -a com.genymobile.gnirehtet.START     -n com.genymobile.gnirehtet/.GnirehtetControlReceiver
Broadcasting: Intent { act=com.genymobile.gnirehtet.START cmp=com.genymobile.gni
rehtet/.GnirehtetControlReceiver launchParam=MultiScreenLaunchParams { mDisplayI
d=0 mFlags=0 } }
Broadcast completed: result=0
D:\Program Files (HDD)\gnirehtet\gnirehtet-java>

As I said above, this does create a VPN connection to my phone but no data can be transmitted, and it immediately says the VPN connection has been dropped.

NOTE: the first chunk does actually run continuously, the second one stops immediately after. Also of interest perhaps: whenever I plug my phone into my computer via USB, it pops up twice with the action selection window.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12

github_iconTop GitHub Comments

2reactions
rom1vcommented, Nov 22, 2018

Do you have a line Reject to launch app? I had this on a Asus device, and solved it by authorizing gnirehtet in the “auto-start manager”: https://stackoverflow.com/a/39776715/1987178

1reaction
TheDebriescommented, Nov 3, 2018

no, it did not, neither did turning the PC on & off again nor reinstalling USB drivers nor restarting phone.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Genymobile - Bountysource
So when I close Gnirehtet on the phone, and plug the cable out and in again, it usually works just fine. Also, mobile...
Read more >
Gnirehtet VPN created, but there is no internet - Stack Overflow
I have started the relay server and enable USB debugging on the tablet. The connection has been successful and it looks like there...
Read more >
[Tool][Windows Only][Root] Android Reverse Tethering 3.19
Hi there, I found a free method to reverse tether on Android 5.0+. It's called "gnirehtet" and works on Windows 10. Here is...
Read more >
Gnirehtet rewritten in Rust - Hacker News
I'm not entirely sure which style/patterns are more idiomatic. ... The purpose was to show that something lifetime-bound to a part of a ......
Read more >
Gnirehtet - XIAOMI error [Solved]. - YouTube
Gnirehtet - Reverse Tethering on Android without RootProgram służący do udostępniania internetu z komputera na telefon z androidem przez ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found