Skip to content

Instantly share code, notes, and snippets.

@nsdevaraj
Created June 18, 2020 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nsdevaraj/61ef4017c4ed3662647c46dff612c7bf to your computer and use it in GitHub Desktop.
Save nsdevaraj/61ef4017c4ed3662647c46dff612c7bf to your computer and use it in GitHub Desktop.
1. Connect the device to the same Wi-Fi as your computer
2. Get your device IP address (in Settings → About phone → Status)
3. Enable adb over TCP/IP on your device: adb tcpip 5555
4. Connect to your device: adb connect DEVICE_IP:5555 (replace DEVICE_IP)
5. Unplug your device
6. Run scrcpy as usual
To switch back to USB mode: adb usb.
@nsdevaraj
Copy link
Author

adb tcpip 5555
adb connect 192.168.29.252:5555

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