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

Black screen on secure apps after updating to Android 12 #3323

Closed
ksio89 opened this issue Jun 11, 2022 · 6 comments
Closed

Black screen on secure apps after updating to Android 12 #3323

ksio89 opened this issue Jun 11, 2022 · 6 comments

Comments

@ksio89
Copy link

ksio89 commented Jun 11, 2022

Describe the bug

I was able to take screenshots/record videos on secure apps on Android 11, but after upgrading my device to 12, all I get is a black screen in them. By secure, I mean the ones which say "Can't take screenshot due to security policy." when you attempt to do that. At the moment, is there a workaround to bypass the block on Android 12?

Environment

  • OS: Windows 10 Pro 19044.1741
  • scrcpy version: 1.24
  • installation method: Windows release
  • device model: Samsung Galaxy A71
  • Android version: 12 (One UI 4.1)
@rom1v
Copy link
Collaborator

rom1v commented Jun 11, 2022

That's expected, the restriction has been applied to the shell user in Android 12. See #2129.

@rom1v rom1v closed this as completed Jun 11, 2022
@ksio89
Copy link
Author

ksio89 commented Jun 11, 2022

That's a shame, I would have stayed on Android 11 if I knew that, screw Google. They blocked call recording as well on 12, so much BS. Thanks anyway.

@NomarCub
Copy link

@rom1v is there any workaround, with scrcpy or some other method?

@domasb2005
Copy link

@rom1v is there any workaround, with scrcpy or some other method?

Need that too.. Have you found something? There is a method with virtualisation, but you have to reinstall the app.

https://www.ticktechtold.com/fix-record-screen-protected-videos/#method-1-install-restricted-app-on-virtual-space:~:text=Conclusion-,Method%201%3A%20Install%20Restricted%20App%20on%20Virtual%20Space,-We%20use%20this

@vncastanheira
Copy link

Same here. I understand maybe why they did this but it's a bit annoying. I'll be watching the thread if anyone finds a way to bypass this.

@RiggiG
Copy link

RiggiG commented Jun 23, 2023

Root users may also use this fork which simply runs the scrcpy-server as the system user: #3049 (comment)

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

6 participants