CmdID

CmdID / Commands

scrcpy

Display and control your Android device on a desktop. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Display a mirror of a connected device

scrcpyIdentify

Turn the device screen off and prevent it from sleeping while mirroring

scrcpy --turn-screen-off --stay-awakeIdentify

Display a mirror of a specific device based on its ID or IP address (find it under the adb devices command)

scrcpy --serial 0123456789abcdefIdentify

Show touches on physical device

scrcpy --show-touchesIdentify

Record display screen

scrcpy --record path/to/file.mp4Identify

Specify the target directory for pushing files to device by drag and drop (non-APK)

scrcpy --push-target path/to/directoryIdentify

View the phone's camera (requires Android 12 or newer)

scrcpy --video-source cameraIdentify

Create a Video4Linux2 device from the phone's camera (v4l2loopback must be installed)

scrcpy --video-source camera --camera-size 1920x1080 --v4l2-sink /dev/video0 --no-playbackIdentify