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

otg mirroring not working #5850

Open
unefficentpalpatine opened this issue Feb 16, 2025 · 3 comments
Open

otg mirroring not working #5850

unefficentpalpatine opened this issue Feb 16, 2025 · 3 comments

Comments

@unefficentpalpatine
Copy link

I connected a phone that has no touch or screen, cause of an accident, via usb
started otg mode and inserted the serial number and a window with the standard android logo but no actual image displaying appears
if I click the window my mouse pointer vanish and I'm not able to control the mouser anymore, I had to restart the computer
any idea of what is happening and solutions?
thanks

Image
@rom1v
Copy link
Collaborator

rom1v commented Feb 16, 2025

started otg mode and inserted the serial number and a window with the standard android logo but no actual image displaying appears

OTG mode does not provide mirroring, only keyboard/mouse control.

If I click the window my mouse pointer vanish and I'm not able to control the mouser anymore

That's the expected behavior, the cursor is on the device, not on your computer.

If you press the shortcut mod alone (Alt), you get the control back to your computer.

https://github.com/Genymobile/scrcpy/blob/master/doc/mouse.md#physical-mouse-simulation

@unefficentpalpatine
Copy link
Author

That's the expected behavior, the cursor is on the device, not on your computer.

makes perfect sense now I see it
sorry for the dumb question

and how can I mirror the screen to se what I'm clicking?

cause touch and LCD are both gone so I just se black
thanks

@rom1v
Copy link
Collaborator

rom1v commented Feb 16, 2025

You can't in OTG mode, you need the "normal mode" which requires USB debugging to be enabled.

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

2 participants