1

I've noticed that, when I do

adb reverse tcp:12345 tcp:12345

and then later disconnect/reconnect the phone, adb reverse --list will come up empty.

Is there a way to persist this port forwarding? That is, I'd like it so that, whenever I connect to a device (either through USB or OpenSTF), the port forwarding is automatically established.

1
  • 1
    Write yourself a batch file that connects and establishes the port forwarding.
    – Robert
    Jun 22 at 14:56

0

You must log in to answer this question.

Browse other questions tagged .