Skip to content

compare the adb reverse with the minirev #2

Open

Description

@likezjuisee

The adb reverse is included from the android5.0, the older versions don't support it. So minirev can work on all the versions?
Could you give me some detail descriptions about the minirev, or some examples in use.
The minirev seems like a proxy, I guess the application in the device connect to it, and it forwards the packets to the host? But not very clearly.

Activity

  1. sorccu commented on Mar 6, 2017

    @sorccu
    Member
  2. xiaozhi1995 commented on Feb 23, 2018

    @xiaozhi1995

    somewhere code in stf?the minirev example

  3. sorccu commented on Feb 23, 2018

    @sorccu
    Member

    It's used for the port forwarding feature. Follow https://github.com/openstf/stf/blob/31b320510096c384d360f5b4dd0f0fbc8efe1d81/lib/units/device/plugins/forward/index.js if you're interested. No support will be provided however, so you're on your own. I would recommend using adb reverse now.

  4. xiaozhi1995 commented on Feb 23, 2018

    @xiaozhi1995

    Thank you very much. I want to use it in some devices which below Android 5.0。

  5. xiaozhi1995 commented on Feb 24, 2018

    @xiaozhi1995

    Port reverse binding: I can now reach a socket on the PC with the request of the phone, how to access the specified port request and return the result, did you implement this part?

  6. sorccu commented on Feb 24, 2018

    @sorccu
    Member

    I have no time to help you with this. The source code is there and you can use it as reference. Try the port forwarding function in STF and see if it works like you want.

  7. xiaozhi1995 commented on Feb 24, 2018

    @xiaozhi1995

    yes, please. Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions