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

How to unlcok screen lock? #5391

Open
WaleedMortaja opened this issue Oct 21, 2024 · 5 comments
Open

How to unlcok screen lock? #5391

WaleedMortaja opened this issue Oct 21, 2024 · 5 comments

Comments

@WaleedMortaja
Copy link

When I try to control my device, it works perfect when it is already unlocked (or does not have screen lock). However, when the screen is locked, and I try to enter the pin/pattern, all I see is a black screen.

How can I unlock the screen lock when connecting using scrcpy? Is this a privacy feature from scrcpy that can be modified?

Side question: I, of course, would appreciate not to send the pin/pattern in clear text. I did not see any mention for encryption in the codebase. However, I am not really sure. So, Is the scrcpy connection encrypted securely?

@rom1v
Copy link
Collaborator

rom1v commented Oct 21, 2024

Your lock screen app set the "secure flag" not to be captured. Since Android 12 this is enforced even for shell user, so scrcpy can't capture the screen. See #36 #2129

Scrcpy uses adb, which is not encrypted.

@WaleedMortaja
Copy link
Author

Can you provide an encryption in scrcpy itself?

@WaleedMortaja
Copy link
Author

As for screen lock, It seems that it cannot be solved without root

@rom1v
Copy link
Collaborator

rom1v commented Oct 22, 2024

Can you provide an encryption in scrcpy itself?

In theory, yes, but not planned for a near future.

Initially, scrcpy is intended to be used over USB. But yes it woild be useful for wireless connection.

@WaleedMortaja
Copy link
Author

Would you mind opening a separate issue yourself for the encryption feature request?

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