Guest User

Untitled

a guest
Mar 22nd, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. connect to my device over tcp .bat file
  2. ---
  3. first of all connect to the same local network that your pc is connected.
  4. then get your phone ip in your local network
  5. and create a .bat file with the following commands.
  6. start that bat file to connect to your phonr over tcp with wifi.
  7. now you can unplug your device cable.
  8. no cable needed any more.
  9.  
  10. ```bat
  11. rem get list of devices\/\/\/
  12. adb devices
  13.  
  14. rem start tcp in your port\/\/\/
  15. adb tcpip 5555
  16.  
  17.  
  18. rem enter your ip and port here to connect \/\/\/
  19. adb connect 192.168.1.116:5555
  20.  
  21. rem get list of devices again\/\/\/
  22. adb devices
  23.  
  24. @echo off
  25.  
  26. set /p foo=if any problem,try one more time :D
  27. ```
Add Comment
Please, Sign In to add comment