scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

USB Debugging

Open Gabriel-githud opened this issue 9 months ago • 6 comments

Environment

  • OS: Windows
  • scrcpy version: V2.4
  • installation method: Windows Release
  • device model: Samsung Z Flip
  • Android version: 11 Or Something

When I Try Use Scrcpy It Says: scrcpy 2.4 https://github.com/Genymobile/scrcpy INFO: Killing adb server (if any)... ERROR: Could not find any USB device

And Trying A Phone With USB Debugging Enabled But Not Authorised It Works?

Commands: scrcpy --otg

Any Fixes?

Gabriel-githud avatar May 11 '24 08:05 Gabriel-githud

Also Enabling It Won't Work Due To My Screen Being Broken

Gabriel-githud avatar May 11 '24 08:05 Gabriel-githud

On Windows: https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#otg-issues-on-windows And if USB debugging is enabled, then it will conflict with adb.

If you have access to a computer with Linux or macOS, use it, it should work out-of-the-box.

And Trying A Phone With USB Debugging Enabled But Not Authorised It Works?

If USB debugging is already enabled but not authorized:

  1. plug your device over USB.
  2. run scrcpy --otg.
  3. type your PIN and press Enter.
  4. press Tab, Enter, Tab, Tab, Enter to validate the USB debugging popup (replace Enter by Space on some devices).
  5. USB debugging should now be authorized (scrcpy OTG should close due to USB reconfiguration).
  6. run scrcpy normally (with scrcpy --turn-screen-off to avoid performance issues with a broken screen due to vsync).

rom1v avatar May 11 '24 08:05 rom1v

On Windows: https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#otg-issues-on-windows And if USB debugging is enabled, then it will conflict with adb.

If you have access to a computer with Linux or macOS, use it, it should work out-of-the-box.

And Trying A Phone With USB Debugging Enabled But Not Authorised It Works?

If USB debugging is already enabled but not authorized:

1. plug your device over USB.

2. run `scrcpy --otg`.

3. type your PIN and press Enter.

4. press Tab, Enter, Tab, Tab, Enter to validate the USB debugging popup (replace Enter by Space on some devices).

5. USB debugging should now be authorized (scrcpy OTG should close due to USB reconfiguration).

6. run scrcpy normally (with `scrcpy --turn-screen-off` to avoid performance issues with a broken screen due to vsync).

I've got the correct drivers and all but when trying to unlock it just doesn't want to also my phone screen is black and I can't do anything about it any fixes?

Gabriel-githud avatar May 11 '24 16:05 Gabriel-githud

And I just figured out it's a pattern not a PIN any way to unlock it now?

Gabriel-githud avatar May 11 '24 17:05 Gabriel-githud

And I just figured out it's a pattern not a PIN any way to unlock it now?

you have to authorize your device to your pc for usb debugging to work

I think you're just gonna have to have your screen replaced, sorry

exciar avatar May 13 '24 16:05 exciar

i only have swiping to unlock and it doesn't enable te usb debugging (my screen is black but touch is working)

lmehdi49 avatar Jun 23 '24 18:06 lmehdi49

此外,由于我的屏幕坏了,启用它不起作用

换个屏幕吧 Let's change the screen

YanYiGe2023 avatar Sep 16 '24 14:09 YanYiGe2023