bk138 / droidVNC-NG

VNC server app for Android that does not require root privileges.
GNU General Public License v2.0
1.22k stars 177 forks source link

Make it possible to record phone unlock screen #212

Open borfast opened 4 weeks ago

borfast commented 4 weeks ago

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):

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).