minirev icon indicating copy to clipboard operation
minirev copied to clipboard

compare the adb reverse with the minirev

Open likezjuisee opened this issue 8 years ago • 7 comments

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.

likezjuisee avatar Mar 06 '17 02:03 likezjuisee

You can check STF for usage. It uses minirev for port forwarding.

On Mon, Mar 6, 2017 at 11:43 like [email protected] wrote:

The adb reverse is included from the api5.1, 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.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openstf/minirev/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB-_TTdvOX9ngvYeOR3mRIZMWy5xj9kks5ri3K0gaJpZM4MTqrf .

sorccu avatar Mar 06 '17 04:03 sorccu

somewhere code in stf?the minirev example

xiaozhi1995 avatar Feb 23 '18 07:02 xiaozhi1995

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.

sorccu avatar Feb 23 '18 07:02 sorccu

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

xiaozhi1995 avatar Feb 23 '18 11:02 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?

xiaozhi1995 avatar Feb 24 '18 03:02 xiaozhi1995

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.

sorccu avatar Feb 24 '18 07:02 sorccu

yes, please. Thanks a lot.

xiaozhi1995 avatar Feb 24 '18 09:02 xiaozhi1995