ORIGIN

Use Scrcpy to Control Android Phone from Computer

Android Tools 2 mins413 words

Sometimes when I’m playing games on my phone, ads pop up and I get too lazy to reach for it just to click close. I thought it’d be easier if I could control my phone directly with my mouse while sitting at the computer—and that’s how I ended up using scrcpy.

PC Setup

Install ADB + Scrcpy

  • Windows

    1. Download the official Scrcpy release:
      👉 Scrcpy GitHub Releases
    2. Extract the ZIP to a folder, e.g. C:\scrcpy.
    3. Make sure the folder contains both scrcpy.exe and adb.exe.
  • Mac (Homebrew)

    1
    brew install scrcpy
  • Linux (Debian/Ubuntu)

    1
    sudo apt install scrcpy adb

Phone Setup

My phone Sumsung, so the following steps are based on Sumsung S24.

Enable Developer Options

  1. Go to Settings → About phone → Software information.
  2. Tap Build number seven times, then enter your unlock PIN.
  3. This will enable Developer options.

Enable USB Debugging

  1. Open Settings → Developer options.
  2. Toggle on USB debugging.
  3. (Optional: if you plan to connect wirelessly, also enable Wireless debugging.)

Connection Methods

Step 1: Extract Scrcpy

  • Right-click the downloaded ZIP → Extract All to a folder, e.g.:

    1
    C:\scrcpy
  • The folder should now contain files like scrcpy.exe and adb.exe.

Step 2: Connect Your Phone

  1. Make sure your phone:

    • Has USB debugging enabled
    • Is connected with a USB-C data cable
    • Shows the “Allow USB debugging?” prompt → tap Allow
  2. In the Command Prompt, check the device:

    1
    adb devices

    If you see something like:

    1
    2
    List of devices attached
    R58M12345 device

    your phone is connected successfully.

Step 3: Open Command Prompt

  1. Navigate to the Scrcpy folder:

    1
    cd C:\scrcpy

    (Replace with the path where you extracted Scrcpy.)

Step 4: Start Scrcpy

Run:

1
scrcpy.exe

If everything is set up, you’ll see your phone screen mirrored on your PC, and you can control it with mouse and keyboard.

Option B: Wireless Connection (no cable needed after first setup)

Note: the first connection must be done via USB to authorize debugging.

  1. Ensure your PC and phone are on the same Wi-Fi network.

  2. With the phone connected via USB, run:

    1
    adb tcpip 5555

    (This makes the phone listen for ADB connections on port 5555.)

  3. Find your phone’s IP address:
    Settings → About phone → Status information → IP address.

  4. On your PC, connect to the phone:

    1
    adb connect PHONE_IP:5555

    Example:

    1
    adb connect 192.168.1.25:5555
  5. Disconnect the USB cable, then run:

    1
    scrcpy
  6. Now your phone is fully wirelessly mirrored and controllable on your PC!

TOP
COMMENT
  • ABOUT
  • |
o_oyao
  The Jigsaw puzzle is incomplete with even one missing piece. And I want to be the last piece to make the puzzle complete.
Like my post?
Default QR Code
made with ❤️ by o_oyao
©o_oyao 2019-2025

|