This page looks best with JavaScript enabled

Display and Control Android Device to Windows, Linux, and MacOS

 ·  ☕ 2 min read

Requirements

  • Android device (Android 5.0 up)
  • PC, Laptop (Windows, Linux, MacOS)
  • USB cable for connecting android device to PC/Laptop

Get scrcpy app

Linux

  • Ubuntu 20.04 up, run on terminal apt install scrcpy.
  • Available in snap platform (amd64/arm/i386) scrcpy
    Snap is pre-installed and ready to go on KDE Neon, Solus 3 up, Ubuntu 16.04.4 LTS up, Manjaro, and Zorin OS. Follow installing snap if snap is not installed.
    Then install it from Snap Store or using command sudo snap install scrcpy.

Windows

  • Ready to run ,download scrcpy-win64-v*.zip
  • Available in Chocolatey and from shell/command run
    1
    2
    
    choco install scrcpy
    choco install adb    # if you don't have it yet
    
  • Available in Scoop and from shell/command run
    1
    2
    
    scoop install scrcpy
    scoop install adb    # if you don't have it yet
    

MacOS

Install it with brew install scrcpy

How to Run

Via USB Cable

  • Plug android device with usb cable. To communicate PC/laptop with android, run/execute adb devices from powershell(windows) or terminal. This command is to check connected devices over adb.
  • Then run scrcpy.

Via WiFi

  • First make sure your device is connected via adb tcp/ip. If not, then you need to connect device with usb cable first, then run adb tcpip 5555. Your device and PC/laptop should be in same network. Unplug the device and to check the IP address of the android device Settings -> About Phone -> Status or similar way if android device brand is different.
    Then connect the device with adb connect [IP Address:5555]. For example here adb connect 192.168.0.144:5555. Check if device connected correctly adb devices
  • Run in scrcpy directory with ./scrcpy -s 192.168.0.144:5555
Summary
1
2
3
4
5
# Here is all the command to run over WiFi
adb tcpip 5555
adb connect 192.168.0.144:5555
adb devices
./scrcpy -s 192.168.0.144:5555

End

Now, you can display your device to PC/laptop. What you need is install adb and scrcpy, connect via adb and run scrcpy. It’s pretty simple when you using it many time.
Good luck and thanks for reading. Don’t forget to share this article to your friends 😄

Share on

AlextraPixel
WRITTEN BY
AlextraPixel
DIY Anywhere - Share any knowledge & Experience for everyone