Genymobile / gnirehtet

Gnirehtet provides reverse tethering for Android
Apache License 2.0
6.1k stars 564 forks source link

scrcpy's ogt function and gnirehtet at the same time #442

Open Guilherme7N opened 2 years ago

Guilherme7N commented 2 years ago

Hi! I need to make the new scrcpy's otg function and the gnirehtet work at the same time, but when I try to do this gnirehtet doesn't work.

I am using Windows 10 / 64 bits

First I run scrcpy's otg function, then when I open gnirehtet I receive the following message:

"2022-05-09 22:13:45.731 ERROR Main: Cannot start client: Command adb ["shell", "dumpsys", "package", "com.genymobile.gnirehtet"] returned with value 1"

And when I run gnirehtet first and then I run scrcpy's otg function I receive the following error:

2022-05-09 22:15:52.579 INFO TunnelServer: Client #0 disconnected

Is it possible to make them both work at the same time?

(I am sorry about my english, I am trying to learn it)

rom1v commented 2 years ago

Not on Windows due to drivers limitations: https://github.com/Genymobile/scrcpy/issues/3050

But it should work on Linux.