Use scrcpy to Mirror Android Devices On Your Desktop

scrcpy demo

scrcpy is a great open source application that “provides display and control of Android devices connected via USB or over TCP/IP.” In other words, one may screen-mirror and control their Android device from their desktop with scrcpy!

Platforms: Windows, Mac and Linux

Key features:

  • Screen mirroring and recording
  • Copy-paste in both directions
  • Android device as a webcam (Linux only)
  • Physical keyboard simulation
  • Physical mouse simulation

Preparing your Android device

  1. Go to ‘Developer options’
  2. Enable USB debugging
  3. Enable USB debugging (Security settings) -Allow granting permissions and simulating input via USB debugging
  4. Enable Wireless debugging
  5. Connect your Android device to machine via USB
  6. Ensure your device is on the same network as your machine

Installing scrcpy for Linux:

1. On Debian and Ubuntu:

sudo apt install scrcpy

2. Run:

adb tcpip 5555

3. Now run:

adb connect <your android's ip address>:5555

4. Disconnect the USB connection and run scrcpy