Scrcpy
pronounced "screen copy"
Last updated
pronounced "screen copy"
Last updated
This application mirrors Android devices (video and audio) connected via USB or , and allows to control the device with the keyboard and the mouse of the computer. It does not require any root access. It works on Linux, Windows and macOS.
Tutorial for ADB over TCP/IP, .
Just type this command for default mode:
For docs, .
This script is using for auto connect, make sure your ADB is already connected to your PC using pair code.
Notes: This is modification code from scrcpy-noconsole.vbs
IP and port sometimes changes if you reconnect wireless connection. Make sure to change this everytime it changes.
Troubleshoot:
Mouse and keyboard do not work
On some devices, you may need to enable an option to allow simulating input. In developer options, enable:
USB debugging (Security settings) Allow granting permissions and simulating input via USB debugging
Rebooting the device is necessary once this option is set.
Useful daily commands
Create virtual display:
Running APKs on virtual display:
Running input only (no audio and video)