scrcpy can mirror the screen of an Android phone to a computer through adb debugging and can also operate the phone.
It does not require root access and does not need to install any software on the phone. It supports Windows, MacOS, and Linux operating systems.
There are two connection methods: USB wired connection and Wifi wireless connection.
Use cases:
- When the phone screen is damaged and cannot be seen clearly, connect the phone to the computer for backup operations.
- When it is inconvenient to use the phone at work, use scrcpy to mirror the phone to the computer and pretend to work on the computer while actually playing with the phone.
- When you need to operate the phone with a computer.
Prerequisites#
- Download scrcpy software on the computer (https://github.com/Genymobile/scrcpy)
- Android 5.0 or above, enable Developer Options and enable USB debugging
- Connect the phone to the computer via USB, allow USB debugging on the phone, and trust this computer
Download Software#
Download the installation package for your corresponding platform from Github
https://github.com/Genymobile/scrcpy
Here, I will take the Windows platform as an example and extract it to the local directory:
Configure the Phone#
First, prepare an Android phone with Android 5.0 or above (most phones nowadays support it), open Developer Options (how to open it is not explained here, it's simple, you can search it on the internet), and enable USB debugging.
If the computer cannot operate the phone during screen mirroring, it may be because your phone has a USB simulated touch option, which also needs to be enabled.
Start Screen Mirroring (Wired Connection)#
Connect the phone to the computer via USB, open cmd and navigate to the scrcpy folder directory
# Check devices with adb
adb.exe devices
# Start screen mirroring
scrcpy.exe
Shortcut keys:
- Alt + O Turn off the phone screen, but the computer can still control the phone (more secure for slacking off)
- Alt + F Switch to fullscreen mode
- Alt + Up/Down Adjust volume
Wireless Connection (WIFI)#
Wireless connection requires that the device has been connected via USB before, and the phone and computer are in the same local network. After the above operations are successful, press Ctrl + C to end the screen mirroring.
Now, let's proceed with the WIFI wireless operation:
# Find the IP address of your phone and make sure it is in the same local network
ping IP address
# For example, if the IP address of your phone is 192.168.0.69
scrcpy --tcpip=192.168.0.69
Conclusion#
Continuously exploring more features.