The SCRCPY application is a software application that allows you to quickly project your phone’s screen onto a laptop or PC, as well as control it from there. The SCRCPY is a open source project.
You can cast screen/share screen to laptop in 2 ways:
- Wired: using USB connected to Phone.
- Wireless: over TCP/IP.
Mandatory Requirement
This are the Mandatory Requirement to share screen to laptop using scrcpy
- Android: Version 5.0 & above, (API level 21).
- Enable USB Debugging.
How to Enable adb debugging
- Connect Android Device to Laptop via USB.
- Goto Settings > About Phone > Build Number.
Click 5 Times on Build Number to turn on developer option. - Search for developer Option
Setting > System > Advanced > Developer Option. (path may very) - Turn On Developer Mode and Enable USB Debugging
How to download scrcpy?
Linux: Install scrcpy on Linux OS using Terminal
Open Terminal and run below cmd
sudo apt install scrcpy
macOS: Install scrcpy on Linux OS using Terminal
Open Terminal and run below cmd
brew install scrcpy
Windows: How to scrcpy download in Windows
https://github.com/Genymobile/scrcpy/releases/download/v1.22/scrcpy-win64-v1.22.zip
Download the application from above button, The Zip file will get downloaded unzip it.
How to Cast Mobile Screen to Laptop using USB Debugging – WIRED
Connect your phone to your laptop or PC and make sure USB Debugging is enabled in your mobile, Then just run scrcpy.exe file as Run As Admin.
And thus phone screen mirroring will start on your laptop through Wired.
How to Cast Phone Screen to Laptop WIRELESS using TCP/IP
By using Scrcpy you can even share your mobile screen to laptop wirelessly using TCP/IP
Step to follow
- Both Device(Mobile & Laptop) should be connected to same Network(WIFI)
- Find IP Address of Mobile Device ( Goto Settings > About Phone > Status)
- Laptop: Turn on adb TCP/IP, Open Terminal and Run
adb tcpip 5555
- Set adb connection to your device IP address
adb connect DEVICE_IP:5555
(ReplaceDEVICE_IP
with your mobile IP) - Run scrcpy.exe as usual (run as admin)
adb not recognized?
Set adb Path in Envirnoment System Variable
Reference:
https://protocoderspoint.com/how-to-screen-mirror-phone-to-laptop-using-scrcpy-cast/
https://github.com/Genymobile/scrcpy