Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB Debugging #4914

Open
Gabriel-githud opened this issue May 11, 2024 · 5 comments
Open

USB Debugging #4914

Gabriel-githud opened this issue May 11, 2024 · 5 comments

Comments

@Gabriel-githud
Copy link

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
Copy link
Author

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

@rom1v
Copy link
Collaborator

rom1v commented May 11, 2024

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).

@Gabriel-githud
Copy link
Author

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
Copy link
Author

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

@exciar
Copy link

exciar commented May 13, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants