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

Make it possible to record phone unlock screen #212

Open
borfast opened this issue Jun 8, 2024 · 4 comments
Open

Make it possible to record phone unlock screen #212

borfast opened this issue Jun 8, 2024 · 4 comments
Labels
feature-request New feature or request

Comments

@borfast
Copy link

borfast commented Jun 8, 2024

Describe the bug
When the phone screen is locked, it's very hard to enter the unlock code via the VNC viewer because it only shows a black screen.

I can press the buttons to enter the code by trial and error, so the input is still being transmitted to the phone, but the phone screen doesn't seem to be transmitted to the VNC client.

I'm not even sure if this is possible to fix, as it seems like a security feature of Android.

To Reproduce
Steps to reproduce the behavior:
Note: this assumes a phone that shows a lock screen with a code.

  1. Lock the phone while connected to it using a vnc viewer.
  2. Press the power button to show the unlock screen.
  3. The screen is black and the buttons to enter the unlock code are not visible (though, as mentioned above, it is still possible to press them).

Expected Behavior
The phone unlock screen on the VNC viewer should be visible.

Logs/Backtraces
I don't think it's applicable but I can provide them if necesssary.

Your environment (please complete the following information):

  • droidVNC-NG version: 2.4.0 (from F-Droid)
  • Android version: 14 on a Pixel 7
  • Client-side OS and version: Linux Mint 21.3
  • VNC client and version: Remmina 1.4.25

Additional context
Not sure if this is relevant but I'll mention it in case someone thinks of something useful: I'm trying to help a friend who has ALS and cannot move, so he can control his phone from his computer (he controls the computer using an eye tracker).

@borfast borfast added the bug Something isn't working label Jun 8, 2024
@bk138 bk138 added feature-request New feature or request and removed bug Something isn't working labels Jun 9, 2024
@bk138 bk138 changed the title Phone unlock screen is black without Make it possible to record phone unlock screen Jun 9, 2024
@freebrowser1
Copy link

You probably need root for this. I think so.

@StatNoiz
Copy link

I've seen this behavior on Android 12 and up (Samsung Note 10/Tab S7+) but not on Android 10 and lower (Samsung Note 9/Note 8). On Android 10 and lower you can hit the "Home" button on your keyboard to bring up the lock screen.

That said, some apps have a black screen entirely which I'm pretty sure it related to the ability to screen capture which some apps block outright...most my banking apps and a few smart home apps prohibit screen grabs entirely and show a black screen during a VNC session.

@bk138
Copy link
Owner

bk138 commented Jul 24, 2024

I've seen this behavior on Android 12 and up (Samsung Note 10/Tab S7+) but not on Android 10 and lower (Samsung Note 9/Note 8). On Android 10 and lower you can hit the "Home" button on your keyboard to bring up the lock screen.

That could be, but I don't know for sure.

That said, some apps have a black screen entirely which I'm pretty sure it related to the ability to screen capture which some apps block outright...most my banking apps and a few smart home apps prohibit screen grabs entirely and show a black screen during a VNC session.

That's correct.

@StatNoiz
Copy link

StatNoiz commented Jul 24, 2024

I can confirm Samsung devices using Android 10 and lower will show lock screen and unlock pad. (Attaching redacted screenshots.)

Don't think I have anything with Android 11 but Android 12 is definitely a "no-go".

Screenshot 2024-07-24 12 08 06_Redacted
Screenshot 2024-07-24 12 08 27_Refacted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants