rorosaurus / scrcpy-wireless-tutorial

A document and simple script to connect to scrcpy wirelessly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scrcpy-wireless-tutorial

A document and simple scripts to connect to your Android device via scrcpy wirelessly.

If you don't use Windows...

This guide will focus on Windows, but you can find information for other OS's here:

First things first, get scrcpy working over USB

  1. Set up USB debugging for your device, and ensure you meet the other requirements: https://github.com/Genymobile/scrcpy#requirements
  2. Plug your device into your computer. If USB debugging is set up correctly, it should prompt you to trust the computer.
  3. Download the latest version, prebuilt for Windows: https://github.com/Genymobile/scrcpy#windows. Extract the folder.
  4. Double click scrcpy.exe. A cmd prompt window will open, then your phone screen should appear. Confirm you can operate your phone at this stage.

If you can't see your device screen, you might need to unlock the device at first. If your screen locks while you're connected, you can unlock your device with a right click, I believe.

Everything working? Great!

Alright, now let's do it wirelessly

  1. Download this repository (Green Code button -> Download ZIP), extract, and copy scrcpy-wireless-setup.bat and scrcpy-wireless-connect.bat to the extracted scrcpy folder from earlier.
  2. Double click scrcpy-wireless-setup.bat and follow the instructions. Now your device can connect to adb wirelessly. Unplug your device from your PC.
  3. Double click scrcpy-wireless-connect.bat and follow the instructions. You can find your device's IP address from Settings -> About. Make sure your device is on the same network as your Windows computer.
  4. Profit!

If you plan to connect to this device often, I recommend allocating it a static IP address via your router settings. That way you can create shortcut to open it easily.

You can right-click and edit scrcpy-wireless-connect.bat to set a default IP address and quality setting. Then you can simply double click this .bat file (or add a shortcut) to connect to your device!

About

A document and simple script to connect to scrcpy wirelessly


Languages

Language:Batchfile 100.0%