How to adb use in windows wirelessly

 To start scrcpy wirelessly via Command Prompt (CMD) on Windows, follow these steps:

Prerequisites:

  1. Android Device: Ensure your Android device is connected to the same Wi-Fi network as your Windows PC.
  2. ADB (Android Debug Bridge): Make sure ADB is installed and configured on your PC.

Steps to Start scrcpy Wirelessly:

  1. Connect Android Device via USB (First Time Setup)

    • Connect your Android device to your PC via USB.
    • Open Command Prompt (CMD) on your PC.
  2. Verify ADB Connection

    • Run the following command in CMD to verify your device is recognized
adb devices
You should see your device listed. If not, troubleshoot your ADB setup.

Start ADB over TCP/IP

  • Run the following command to start ADB in TCP/IP mode (default port is 5555):
    yaml
    adb tcpip 5555

Disconnect USB and Get Device IP Address

  • Disconnect your Android device from the USB.
  • Find out the IP address of your Android device. You can usually find this in Settings > About phone > Status or Wi-Fi settings.
  • Start scrcpy Wirelessly

    • Open Command Prompt (CMD) and navigate to the directory where scrcpy is located using the cd command. For example:

      bash
      cd C:\path\to\scrcpy

      Replace C:\path\to\scrcpy with the actual path where you have scrcpy installed.

    • Once inside the scrcpy directory, you can start scrcpy wirelessly using the following command:

      css
      scrcpy -s <device-ip-address>:5555

      Replace <device-ip-address> with the actual IP address of your Android device.

  • Using scrcpy Wirelessly

    • After executing the command, scrcpy should connect to your Android device wirelessly, and you should see your Android screen mirrored on your PC.
  • Interaction with scrcpy

    • You can interact with your Android device using your PC's keyboard and mouse while scrcpy is running. Use your mouse to click, scroll, and drag, and use the keyboard for typing and controlling apps.
  • Comments

    Popular posts from this blog

    SAMBA SERVER 2.0 #server

    Setup SSH for accessing outside from network

    Speech tools - espeak and festival etc.