Coder Social home page Coder Social logo

`adb reverse` doesn't work about stf HOT 7 OPEN

devicefarmer avatar devicefarmer commented on July 18, 2024
`adb reverse` doesn't work

from stf.

Comments (7)

issue-label-bot avatar issue-label-bot commented on July 18, 2024 2

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.80. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

from stf.

wdjcodes avatar wdjcodes commented on July 18, 2024 1

I had a similar issue. I have openstf (a long with an adb server) running in docker containers on a server. When I do adb reverse it reverses the phone connection into the adb container. I resolved this by putting iptables rules in the adb container to forward the connection back to the intended host

from stf.

koral-- avatar koral-- commented on July 18, 2024

Does it work when you configure it via STF UI?

from stf.

AdbReverse avatar AdbReverse commented on July 18, 2024

Do you mean the "port forward" feature?
It doesn't work for me either.

Those are the logs for the port forward: (I replaced sensitive information with xxxx)

2020-07-20T15:51:10.489Z INF/device:plugins:forward 3954805 [xxxxxxxxxx] Creating reverse port forward "AAAAAAAAAAAAAA" from ":1234" to "1.1.1.38:1234"
2020-07-20T15:51:10.489Z INF/device:plugins:forward 3954805 [xxxxxxxxxx] Connecting to reverse port forwarding service
2020-07-20T15:51:10.497Z INF/device:plugins:forward 3954805 [xxxxxxxxxx] Forward shell says: "Forwarding port 1234"

The log is confusing because it looks like everything works fine. but this is not true.

from stf.

AdbReverse avatar AdbReverse commented on July 18, 2024

I am trying to provide internet connection from USB through Gnirehtet - https://github.com/Genymobile/gnirehtet
Gnirehtet required adb reverse to work in order to provide it.

from stf.

denis99999 avatar denis99999 commented on July 18, 2024

@AdbReverse ,

Look at the openstf#1212 issue in which an example is done for a correct use of adb connect and adb reverse commands!

from stf.

douniwan5788 avatar douniwan5788 commented on July 18, 2024

@denis99999
adb reverse never worked
https://github.com/devicefarmer/adbkit#devicereverseremote-local

It's important to note that if you are connected to a remote ADB server, the reverse will be created on that host.

from stf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.