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

Can't scrcpy mirror the screen when the screen displays the password? #4951

Closed
2 tasks done
Ud1nG4con opened this issue May 28, 2024 · 4 comments
Closed
2 tasks done

Comments

@Ud1nG4con
Copy link

Ud1nG4con commented May 28, 2024

  • I have read the FAQ.
  • I have searched in existing issues.

Environment

  • OS: Windows
  • scrcpy version: 2.4
  • device model: Redmi note 11

my scrcpy run normal as usual, but when i open the apps that required a password the screen just show a black screen, just like when I open a chat that contains stickers on Telegram it only displays a black screen, but when the sticker is no longer visible on the screen, scrcpy is normal as it should be.

@rom1v
Copy link
Collaborator

rom1v commented May 28, 2024

Because your launcher app set the "secure flag" to prevent the screen to be captured.

Refs #36 #2129

@Ud1nG4con
Copy link
Author

Because your launcher app set the "secure flag" to prevent the screen to be captured.

Refs #36 #2129

Because your launcher app set the "secure flag" to prevent the screen to be captured.

Refs #36 #2129

tanks for the answer
and how i fix that?

@rom1v
Copy link
Collaborator

rom1v commented May 29, 2024

and how i fix that?

That's an Android limitation, there is nothing to "fix". There are basically 3 ways to bypass it:

  • run the app on a device having Android < 12
  • root your device (ref #3049 #3515)
  • decompile/recompile your app to disable the "secure flag" (with a tool like apk.sh)

@Ud1nG4con
Copy link
Author

Because your launcher app set the "secure flag" to prevent the screen to be captured.

Refs #36 #2129

and how i fix that?

That's an Android limitation, there is nothing to "fix". There are basically 3 ways to bypass it:

  • run the app on a device having Android < 12
  • root your device (ref #3049 #3515)
  • decompile/recompile your app to disable the "secure flag" (with a tool like apk.sh)

okay then thanks for the advice.

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