scrcpy

Display and control your Android device on a desktop.

TLDR

Display a mirror of a connected device

$ scrcpy
copy


Display a mirror of a specific device based on its ID or IP address (find it under the adb devices command)
$ scrcpy --serial [0123456789abcdef|192.168.0.1:5555]
copy


Start display in fullscreen mode
$ scrcpy --fullscreen
copy


Rotate the display screen. Each incremental value adds a 90 degree counterclockwise rotation
$ scrcpy --rotation [0|1|2|3]
copy


Show touches on physical device
$ scrcpy --show-touches
copy


Record display screen
$ scrcpy --record [path/to/file.mp4]
copy


Set target directory for pushing files to device by drag and drop (non-APK)
$ scrcpy --push-target [path/to/directory]
copy

Copied to clipboard