-
Notifications
You must be signed in to change notification settings - Fork 77
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
No android secured screen in Android 12 #34
Comments
from my information, visual display for secure screen only available for SYSTEM PROCESS from Android 12. |
@JesseCodeBones Anybody change this code about secure flag?
but i could not build for aosp part. here is my logs mkdir -p libs/android-31/armeabi-v7a i need help. |
Hi @hyeongminjum, @koral-- and @JesseCodeBones |
Due to some urgency I was not able to build it but tonight with above changes I will build and share the result soon. |
Hi @hyeongminjum, @koral-- and @JesseCodeBones I have build the OS with bool secure */ true, |
hi @varundtsfi |
HI @hyeongminju sorry for the delay that means It is not working with the suggestion which you have suggested Even If you try Chrome in incognito mode in any Android 12 version device, This solution will not work even the Video Streaming too. Google Have applied some restriction on display. Right now I am working on Android 13 if I will get the time, I will again try this. |
UPDATE: IT IS IMPOSSIBLE TO "FIX" (bypass) this system security feature tl;dr: @JesseCodeBones said it a year ago - only System (Services) are allowed to, but minicap in userland is not reading discussion Genymobile/scrcpy#2129 again (see also Genymobile/scrcpy#36 ) the relevant one is: wether you set this flag or not, it is ignored! see also same same on AWS DeviceFarm since no third party gets privileged process access!! see also somehow perhaps there is a way via a custom work DPC but I don't see anything at first glance and I would be wondering beeing the first digging there so, no @khaledAbbasExperitest . unless you get root / customRom you will get the black screen by security-design! WE CAN FINALLY CLOSE THIS AS "CAN'T BE SOLVED" related to Genymobile/scrcpy#3323 > Genymobile/scrcpy#2129
They create a "secure" display scrcpy android 12 too this in 1.18
-even I don't understand anything of this code :D perhaps this helps to fix it in minicap too? - and that's where @varundtsfi comment comes in back and is absolutely the correct answer:
but looks like it is fixed in #29 isn't it? 🎉 eba5a1f missed to be added in https://github.com/DeviceFarmer/minicap/blob/master/Makefile so even in 2.7.1 prebuild https://yarnpkg.com/package/@devicefarmer/minicap-prebuilt?files android-31 is missing
|
What is the issue or idea you have?
Have you tried STF?
Using latest JNI update
I am still unable to get secured screens(for example, changing pin code)
This behavior is only happening on Android 12 devices
The text was updated successfully, but these errors were encountered: