Skip to content

Instantly share code, notes, and snippets.

@zunjae
Last active June 28, 2023 13:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zunjae/f834745767648622a192631171937f63 to your computer and use it in GitHub Desktop.
Save zunjae/f834745767648622a192631171937f63 to your computer and use it in GitHub Desktop.
How To Remote scrcpy
1) Install scrcpy over at https://github.com/Genymobile/scrcpy#get-the-app OR if you prefer using a graphical user interface https://github.com/Tomotoes/scrcpy-gui
2) Enable Developer mode on your Android Phone. (Instructions: https://www.howtogeek.com/129728/how-to-access-the-developer-options-menu-and-enable-usb-debugging-on-android-4.2/)
3) Connect your Android phone to your PC with a USB cable
4) Run scrcpy. The easiesy way to do this is by typing `scrcpy` in your command line or by using the GUI (the second link in step 1)
5) You'll receive a message on your phone, asking for your permission so your PC can connect to your Android device. Accept that
6) Enter `adb tcpip 5555` on your PC terminal
7) Look up the IP address of your Android Device (Instructions: https://www.makeuseof.com/tag/find-ip-address-mobile-smartphone/).
8) Enter `adb connect YOUR_ANDROID_IP:5555` on your PC terminal
That's it. You can also read the instructions yourself here https://github.com/Genymobile/scrcpy#connection on how to establish a wireless connection. If you're fine with playing wired then start reading from here https://github.com/Genymobile/scrcpy#run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment