A document and simple scripts to connect to your Android device via scrcpy wirelessly.
This guide will focus on Windows, but you can find information for other OS's here:
- https://github.com/Genymobile/scrcpy
- https://www.genymotion.com/blog/open-source-project-scrcpy-now-works-wirelessly/
- Set up USB debugging for your device, and ensure you meet the other requirements: https://github.com/Genymobile/scrcpy#requirements
- Plug your device into your computer. If USB debugging is set up correctly, it should prompt you to trust the computer.
- Download the latest version, prebuilt for Windows: https://github.com/Genymobile/scrcpy#windows. Extract the folder.
- 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!
- Download this repository (Green
Code
button -> Download ZIP), extract, and copyscrcpy-wireless-setup.bat
andscrcpy-wireless-connect.bat
to the extracted scrcpy folder from earlier. - Double click
scrcpy-wireless-setup.bat
and follow the instructions. Now your device can connect to adb wirelessly. Unplug your device from your PC. - 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. - 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!