User Tools

Site Tools


app:scrcpy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

app:scrcpy [2020/12/20 23:55] – created zainalapp:scrcpy [2021/10/10 04:56] (current) zainal
Line 1: Line 1:
 +====== Scrcpy ======
 +
 +https://github.com/Genymobile/scrcpy
 +
 +This application provides display and control of Android devices connected on USB (or over TCP/IP). It does not require any root access. It works on GNU/Linux, Windows and macOS.
 +
 +For windows: https://github.com/Genymobile/scrcpy/releases/download/v1.16/scrcpy-win64-v1.16.zip
 +
 +How to use:
 +  * Ensure 'USB Debugging' is allowed in 'Developer Options'. For Samsung, developer options can be enabled by 7x tap on About>Build No.
 +  * Install usb driver, Samsung: https://developer.samsung.com/mobile/android-usb-driver.html
 +  * Open CMD in scrcpy folder.
 +  * Check list connented devices by ''adb devices'' <code>
 +C:\scrcpy-win64>adb devices
 +List of devices attached
 +* daemon not running; starting now at tcp:5037
 +* daemon started successfully
 +RR8M405BPHM     unauthorized
 +
 +C:\scrcpy-win64>adb devices
 +List of devices attached
 +RR8M405BPHM     device
 +</code>
 +  * Status 'unauthorized' means computer doesn't get permission to access phone data. Reconnect the cable.
 +  * Status 'device' means debugging is ready.
 +  * Start Scrcpy by typing it.
 +<code> scrcpy </code>
 +  * Alt + F is for fullscreen toggle.
 +
 +===== Installation on Ubuntu =====
 +
 +Install from apt. All dependencies including adb will be installed.
 +<code> sudo apt install scrcpy </code>
 +
 +===== Connection via wifi =====
 +  * Connect PC and Android on same wifi
 +  * Find Andorid ip address in Settings > About phone > Status
 +  * Enable adb over TCP/IP on your device
 +
 +<code> adb tcpip 5555 </code>
 +
 +  * Unplug cable
 +  * Connect device via wifi
 +
 +<code> adb connect DEVICE_IP:5555 </code>
 +
 +  * Run Scrcpy
 +<code> scrcpy </code>
 +
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki