Mirror Your Android Phone to Linux with scrcpy

Open-source screen mirroring with mouse and keyboard control over USB or Wi-Fi, no app install on the desktop side beyond scrcpy itself.

LinuxscreenandroidscrcpyphoneLow risk
Connect the phone with USB debugging on and run scrcpy --max-size 1024 to open a mirror window you can click and type into.

01Command

Command
$ scrcpy --max-size 1024

02What it does

scrcpy streams the phone's screen over ADB and injects your mouse/keyboard input, achieving low latency because it requires no root and no extra app on the phone — the client is pushed on the fly. --max-size downscale the video to reduce bandwidth on Wi-Fi; --record file.mp4 captures the session, and --turn-screen-off lets you use the phone with its own display dark. Wireless mode works after pairing with adb tcpip/adb connect.

03Risk

RiskLow risk
Requirementsscrcpy package; Android 5.0+ with USB debugging enabled; adb
!Warning: Wi-Fi mirroring lags behind USB; and scrcpy grants full input control of your phone — never run it on untrusted computers or leave it connected unattended.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • scrcpy(1) — display and control your Android device
    Ubuntu manpages · community · 2026-09-17
    Evidence: Man page describes scrcpy mirroring the device display and documents --max-size, --record and audio options; confirms 'scrcpy', 'mirror' and '--max-size' appear in the text.
  • scrcpy — README (Genymobile)
    Genymobile (GitHub) · community · 2026-09-17
    Evidence: Official README states scrcpy 'provides display and control of Android devices connected on USB' and documents --max-size/--max-width limits and --record; the word 'mirror' appears in the text.

Last verified: 2026-09-19 · Category: System & Settings