tech

Scrcpy Setup Guide: Mirror And Control Android On Pc

Controlling your Android phone directly from a desktop monitor without bloated third party apps or paid subscriptions is entirely possible using scrcpy . Developed by Genymobile, this free, open sourc

Scrcpy Setup Guide: Mirror And Control Android On Pc
In this story

Controlling your Android phone directly from a desktop monitor without bloated third-party apps or paid subscriptions is entirely possible using scrcpy. Developed by Genymobile, this free, open-source utility lets you mirror your phone screen and operate it with your physical keyboard and mouse. It runs with minimal latency, requires zero rooting, and works natively across Windows, macOS, and Linux.

Whether you need to manage notifications while typing on a physical keyboard, test mobile apps, or record tutorials without screen glare, this utility handles the task efficiently. Setting it up takes just a few minutes once you know the exact commands and prerequisites.

What is Scrcpy and How Does It Work?

Scrcpy stands for "screen copy." Unlike traditional screen-sharing apps that broadcast a video stream over Wi-Fi through an external server or browser tab, this tool communicates directly with your hardware via the Android Debug Bridge.

When you launch the program on your computer, it pushes a lightweight server component to your phone over a USB cable or local network connection. That server captures your display as an H.264 or H.265 video stream, sends it to your PC, and decodes it instantly. Because it operates locally with hardware-accelerated rendering, you get fluid 60 frames-per-second performance with negligible CPU usage.

Step 1: Prepare Your Android Device

Before connecting to your computer, you must enable developer permissions on your phone. This process is standard for all Android devices running Android 5.0 or later.

  1. Open your phone Settings and tap About phone.
  2. Scroll down until you find Build number.
  3. Tap Build number seven times rapidly until a toast notification confirms that you are now a developer.
  4. Go back to the main Settings menu, open System or Developer options, and toggle USB debugging on.
  5. Confirm the warning prompt that appears on your screen.

Step 2: Download and Install on Your Computer

Always grab the official release package directly from the Scrcpy GitHub Repository to ensure you have the latest stable build containing security updates and audio support.

  • Windows: Download the 64-bit zip archive (e.g., scrcpy-win64-vX.X.zip) and extract the contents to a dedicated folder on your drive, such as C:\scrcpy. The package includes the necessary adb binaries, so you don't need to install Android Studio.
  • macOS: Open your terminal and install the tool using Homebrew by typing brew install scrcpy.
  • Linux: Install it directly from your package manager. For Debian or Ubuntu distributions, run sudo apt install scrcpy.

Step 3: Connect and Mirror Your Screen

With your software ready and your phone prepared, establish your first connection using a physical cable.

  1. Connect your phone to your PC using a reliable USB 3.0 cable.
  2. When your phone displays a prompt asking to Allow USB debugging, check the box to always allow from this computer and tap Allow.
  3. On Windows, open the extracted folder, type cmd in the address bar or open a terminal inside that directory, type scrcpy, and press Enter. On Mac or Linux, open your terminal and run scrcpy.

Your phone screen instantly appears in a separate window on your desktop. You can now click buttons, type text with your computer keyboard, and scroll through apps using your mouse.

Going Wireless: Cutting the Cord

Once your initial wired connection succeeds, you can configure a wireless session over your local Wi-Fi network. Both your computer and your phone must be connected to the same Wi-Fi router.

💡 You might also like: How to Zoom Out on Your PC Screen
  1. Keep your phone plugged in via USB and open your terminal.
  2. Run the command adb tcpip 5555 to restart the daemon on port 5555.
  3. Disconnect your USB cable.
  4. Find your phone's local IP address under Settings > About phone > Status, or use your router's device list.
  5. Run adb connect <your-phone-ip>:5555 in your terminal.
  6. Once connected, run scrcpy normally.

Essential Keyboard Shortcuts and Advanced Controls

Scrcpy uses a designated shortcut modifier key (MOD) to execute commands. On Windows and Linux, MOD is your Right Alt key. On macOS, it is Right Cmd.

  • Toggle Fullscreen: Press MOD + F to expand the mirroring window to fit your entire monitor.
  • Turn Phone Screen Off: Press MOD + O to shut off your physical phone display while keeping the mirroring session active, saving battery and preventing accidental phantom touches.
  • Take a Screenshot: Press MOD + R to instantly capture your phone screen and save it as a PNG file in your working directory.
  • Copy and Paste: Your system clipboards are synced automatically. Pressing Ctrl + C or Ctrl + V on your PC transfers text straight to active Android text fields.

If you experience stuttering or lag on older hardware, you can lower the rendering resolution by adding a size limit argument to your startup command, such as scrcpy --max-size 1024, which scales down the display while preserving your aspect ratio.

Common Mistakes to Avoid

  • Using a charge-only cable: Some cheap replacement cables only carry power pins and lack data lines. If adb devices returns an empty list, swap your cable for a data-transfer-capable wire.
  • Ignoring USB mode prompts: When you plug your phone in, pull down the notification shade and verify that the USB preference is set to File Transfer (MTP) rather than Charging this device.
  • Forgetting device authorization: If your terminal shows your device as unauthorized, unlock your phone screen and accept the RSA fingerprint prompt that asks to trust the connected computer.

Frequently Asked Questions

Does scrcpy require root access?

No. The application relies entirely on official Android developer APIs and the Android Debug Bridge. Your phone remains completely unrooted and secure.

Can I transmit audio from my phone to my PC?

Yes. On Android 11 and newer, scrcpy automatically forwards real-time device audio to your computer speakers or headphones alongside the video stream.

What should I do if my phone screen is completely broken?

If touch input is unresponsive or the display is black, you can still control your device by launching the tool with OTG mode (scrcpy --otg). This turns your computer keyboard and mouse into direct peripheral controllers for the phone.

Can I mirror multiple devices at the same time?

Yes. If you plug in multiple phones, run adb devices to view their serial numbers, then launch separate instances using the target serial flag: scrcpy --serial <device_serial>.

CR

Written by

Chloe Ramirez

Chloe Ramirez excels at making complicated information accessible, turning dense research into clear narratives that engage diverse audiences.

More from tech