Mirror Your Android Phone to Your Laptop with Scrcpy (Free, No Root)

2026-12-05来源 dev.toEnglish

Scrcpy (pronounced "screen copy") is a free, open-source tool from Genymobile that shows your Android phone's screen in a window on your laptop — and lets you control it with your mouse and keyboard. No app installed on the phone, no root, no account, no ads. Everything runs over a plain USB cable or your local Wi-Fi.

The setup is three steps. First, enable USB debugging: open Settings > About phone, tap Build number seven times to unlock Developer Options, then turn on USB debugging inside it. Xiaomi, Redmi, and POCO phones need one extra toggle, "USB debugging (Security settings)", or mouse and keyboard input will fail. Second, install scrcpy: on Windows, download the official ZIP from the GitHub releases page (adb is bundled) or run winget install --exact Genymobile.scrcpy; on macOS, brew install scrcpy; on Linux, sudo apt install scrcpy or grab the official release binary for the latest version. Third, plug the phone in, approve the "Allow USB debugging?" prompt, and type scrcpy. Your screen appears in about a second.

I tested the Linux path myself with the official scrcpy 5.0.1 release: I verified its SHA256 checksum against the release page, and scrcpy --version confirmed 5.0.1 with SDL 3.4.18. With no phone attached, adb devices returned an empty list and scrcpy stopped with the honest error ERROR: Could not find any ADB device — the same message you will see if your cable is charge-only or USB debugging is off. I also checked the math: at scrcpy's default 8 Mbps video bitrate, recording costs about 60 MB per minute (600 MB per 10 minutes, 3.5 GB per hour), so a 4 Mbps cap halves that. A USB 2.0 cable is more than enough, since 8 Mbps uses only about 3% of its real throughput.

A few flags are worth knowing: scrcpy --record=file.mp4 records your screen while mirroring, scrcpy --turn-screen-off --stay-awake (or -Sw) keeps mirroring while the phone screen stays dark, and scrcpy -m 1024 -b 4M lightens the load on a slow connection. For wireless mirroring, Android 11 and newer support pairing through Wireless debugging; older phones need one USB session first (adb tcpip 5555, then adb connect <phone-ip>:5555).

There is also an OTG mode (scrcpy --otg) that forwards only keyboard and mouse, with no video and no USB debugging required — built for a phone whose screen is broken but still powered on. Note that regular scrcpy uses a normal USB data cable, not an OTG cable; OTG mode is a separate feature.

The full Indonesian guide, with the complete troubleshooting table for the six most common errors, is on my blog: Scrcpy Mirror HP Android ke Laptop (Gratis, Tanpa Root). If you mirror your phone to a laptop regularly, scrcpy is the simplest tool I have found — one command, and your phone is on the big screen.

原文:https://www.a8q9.cn/en/article/mirror-your-android-phone-to-your-laptop-with-scrcpy-free-no-root-c6ecfa.html

相关文章