Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
110.8k stars 10.62k forks source link

Secure Display Limitation (screen turns black on protected view) #3515

Open ghost opened 2 years ago

ghost commented 2 years ago

Huawei nova 3 Android 9 EMUI 9.1.0

when I go to the authorization page in the app gallery, the screen in scrcpy turns black

rom1v commented 2 years ago

On Android 12, it's expected, but not on Android 9… Unless the ROM is modified or the app used some DRM. There's nothing scrcpy can do about it though.

ghost commented 2 years ago

DRM

are there any options how to fix this? What can I change in my phone settings?

Mertica commented 1 year ago

I don't think there's any way to override that without root, but is it possible to eventually develop a way to use scrcpy or something similar to be used without root that can bypass FLAG_SECURE?

I really, REALLY dislike that feature of Android 12. My other phone running Android 8 can use scrcpy with protected content just fine, but it really sucks that the newer Android versions are becoming more dumbed down.

Android 13 seems to be even scarier since they will remove certain directory access, and I really hope that scrcpy won't suffer, and that maybe in the future it'll be able to bypass protected content to once again display it on PC, since I like to use my phone on my other monitor while on my PC to multitask...

KenMacD commented 1 year ago

For situations where you have root, the LSPosed module DisableFlagSecure worked great for me.