Control Android Phone From PC | Scrcpy

Scrcpy :-

Scrcpy application provides display and control android phone from PC devices connected to USB (or over TCP/IP). It does not require any root access. It works on Windows, macOS, and GNU/Linux.

When your phone was not working properly or screen broken then you can use these techniques and control your Android Phone. Here we provide some steps and screenshot for you can easily understand – how to control android phone using Scrcpy? Here you can access your android phone using USB Debugging or remotely control using TCP/IP .

Control Android Phone From PC With Scrcpy
Control Android Phone From PC With Scrcpy

Requirements:-

  • The Android device requires at least API 21 or Android 5.0.
  • Make sure you enabled adb debugging on your PC.

How To Download And Install This App :-

Windows :-

In Windows, for simplicity with all the dependencies (including adb) is available bellow download link :

It is also available in Chocolatey:

choco install scrcpy
choco install adb    # if don't have it

And in Scoop:

scoop install scrcpy
scoop install adb    # if don't have it

macOS :-

The application is available in Homebrew and just install it:

brew install scrcpy

You need adb, accessible from your PATH. If don’t have it :

brew cask install android-platform-tools

Linux :-

On Debian and Ubuntu (20.04):

apt install scrcpy

Run Using USB :-

Plug an Android device with your PC and also turn on USB Debugging option,After that Open Command Prompt or Terminal in where you download or install this app and execute in :-

scrcpy

Exapmle:-

Control Android Mobile From PC Using USB
Control Android Mobile From PC Using USB

Run Wirelessly :-

Scrcpy uses adb to communicate with the device you want to connect, and adb can connect to a device over TCP/IP :-

  • Connect the device to the same Wi-Fi as your computer.
  • Get your device IP address (in Settings → About phone → Status).
  • Enable adb over TCP/IP on your device:
adb tcpip 5555
  • Unplug your device.
  • Connect to your device:
adb connect DEVICE_IPAddress:5555 (replace DEVICE_IPAddress)
  • Run
scrcpy

Example :-

Control Android Mobile From PC Using Tcp/IP
Control Android Mobile From PC Using Tcp/IP

Some Additional Features :-

It is useful to decrease the bit-rate:

scrcpy -b2M -m800

If several devices are listed in adb devices list, you must specify the serial no of the device:

scrcpy -s 0123456789abcdef

If the device is connected over TCP/IP:

scrcpy -s 192.168.0.1:5555

To prevent the device to sleep after some delay when the device is plugged in:

scrcpy --stay-awake
scrcpy -w

It is possible to turn the device screen off while mirroring on start with a command-line option:

scrcpy --turn-screen-off
scrcpy -S

Or by pressing Ctrl+o at any time.

The window may be rotated:

scrcpy --rotation 1
  • 0: no rotation
  • 1: 90 degrees counterclockwise
  • 2: 180 degrees
  • 3: 90 degrees clockwise

The rotation can also be changed dynamically with Ctrl+ (left) and Ctrl+ (right).

Sometimes, it is useful to mirror an Android device at a lower definition to increase performance.

scrcpy -m 1024

It accepts command-line arguments, listed by:

scrcpy --help

Audio is not forwarded by scrcpy.

Shortcuts :-

ActionShortcutShortcut (macOS)
Switch fullscreen modeCtrl+fCmd+f
Rotate display leftCtrl+← (left)Cmd+← (left)
Rotate display rightCtrl+→ (right)Cmd+→ (right)
Resize window to 1:1 (pixel-perfect)Ctrl+gCmd+g
Resize window to remove black bordersCtrl+x | Double-click¹Cmd+x | Double-click¹
Click on HOMECtrl+h | Middle-clickCtrl+h | Middle-click
Click on BACKCtrl+b | Right-click²Cmd+b | Right-click²
Click on APP_SWITCHCtrl+sCmd+s
Click on MENUCtrl+mCtrl+m
Click on VOLUME_UPCtrl+↑ (up)Cmd+↑ (up)
Click on VOLUME_DOWNCtrl+↓ (down)Cmd+↓ (down)
Click on POWERCtrl+pCmd+p
Power onRight-click²Right-click²
Turn device screen off (keep mirroring)Ctrl+oCmd+o
Turn device screen onCtrl+Shift+oCmd+Shift+o
Rotate device screenCtrl+rCmd+r
Expand notification panelCtrl+nCmd+n
Collapse notification panelCtrl+Shift+nCmd+Shift+n
Copy device clipboard to computerCtrl+cCmd+c
Paste computer clipboard to deviceCtrl+vCmd+v
Copy computer clipboard to device and pasteCtrl+Shift+vCmd+Shift+v
Enable/disable FPS counter (on stdout)Ctrl+iCmd+i

Official development GitHub Page :- https://github.com/Genymobile/scrcpy

If want to visit developer page then click:

https://github.com/Genymobile/scrcpy/blob/master/DEVELOP.md

Leave a Reply

Your email address will not be published. Required fields are marked *