赵小福

赵小福

scrcpyはAndroidのスクリーンミラーリングツールです(コンピュータでのスマートフォン操作が可能)。

scrcpy allows you to mirror the screen of an Android phone to a computer through adb debugging, and you 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:

  1. When the phone screen is broken and not visible, connect the phone to the computer for backup operations.
  2. 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.
  3. When you need to operate the phone with a computer.

Prerequisites#

  • Download scrcpy software for your computer (https://github.com/Genymobile/scrcpy)
  • Android 5.0 or above, enable Developer options and USB debugging
  • Connect the phone to the computer via USB and allow USB debugging, trust this computer
Download Software#

Download the installation package for your corresponding platform from Github
https://github.com/Genymobile/scrcpy

Download

Here, I will take the Windows platform as an example and extract it to the local:

scrcpy software

Configure the Phone#

First, prepare an Android phone with version 5.0 or above (most phones nowadays support it), and enable Developer options (I won't go into detail on how to enable it, it's simple, you can search it on your own), and enable USB debugging.
If you cannot operate the phone on the computer during screen mirroring, it may be because your phone has a USB simulated click 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

# Check devices with adb
adb.exe devices

# Start screen mirroring
scrcpy.exe

cmd

phone

Shortcut keys:

  1. Alt + O Turn off the phone screen, and the computer can still control the phone (more secure when slacking off)
  2. Alt + F Switch to fullscreen
  3. 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 on 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 on 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

WIFI Connection

Conclusion#

Continuously explore more features.

読み込み中...
文章は、創作者によって署名され、ブロックチェーンに安全に保存されています。