Wednesday, 7 May 2025

Scrcpy

 

Manual

Alternatively, it is possible to enable the TCP/IP connection manually using adb:

  1. Plug the device into a USB port on your computer.

  2. Connect the device to the same Wi-Fi network as your computer.

  3. Get your device IP address, in Settings → About phone → Status, or by executing this command:

    adb shell ip route | awk '{print $9}'

  1. Enable adb over TCP/IP on your device: adb tcpip 5555.

  2. Unplug your device.

  3. Connect to your device: adb connect DEVICE_IP:5555 (replace DEVICE_IP with the device IP address you found).

  4. Run scrcpy as usual.

  5. Run adb disconnect once you're done.

Since Android 11, a wireless debugging option allows you to bypass having to physically connect your device to your computer.

Share:

0 comments:

Post a Comment