scrcpy (“screen copy”) is a great utility for displaying and controlling an Android device through a USB connection. No root access is required. It is free and open source software. There are many options built into scrcpy and are very useful. The following command starts scrcpy for a particular device (if multiple Android phones are connected via USB):
$ scrcpy --serial 461100aabcd90df -S
The -S option is for turning the device screen off while mirroring on start.
The serial number is obtained using the following command:
Shubhrendu T is the owner of SpaceCmdTech. He is a Full Stack Web Developer and Mobile App Developer. With over 15 years of experience in the Software Industry, he has worked with numerous technologies and platforms.