scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

Unable to control S23 Ultra (Read-Only Mode) / Can't use mouse & Keyboard

Open homeo26 opened this issue 1 year ago • 8 comments

  • [x] I have read the FAQ.
  • [x] I have searched in existing issues.

Environment

  • OS: [Ubuntu 23.10]
  • scrcpy version: [2.3.1]
  • installation method: [apt]
  • device model: S918U (Samsung S23 Ultra)
  • Android version: [14]

Issue Description:

  • I ran scrcpy it mirrored the screen but I'm unable to to control the device using the mouse and keyboard.
  • The shared phone screen on my Ubuntu is on Read-Only mode.

NOTE: I don't have USB debugging (Security Settings) setting on my Samsung S23 Ultra


Ask:

  • Is there any equivalent setting to the USB debugging (Security Settings) that must be enabled to be able to control the phone ?
  • Or is this caused by an other issue ?

homeo26 avatar Jan 25 '24 20:01 homeo26

installation method: [apt-> updated using pull request]

What do you mean?

What is the full output in the console?

rom1v avatar Jan 25 '24 21:01 rom1v

installation method: [apt-> updated using pull request]

What do you mean?

What is the full output in the console?

  • I installed it using apt then updated it using a git pull request surly.
  • The output of the console:
scrcpy 2.3.1 <https://github.com/Genymobile/scrcpy>
* daemon not running; starting now at tcp:5037
* daemon started successfully
INFO: ADB device found:
INFO:     -->   (usb)  R5CW30HCHCA                     device  SM_S918U
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 94.5 MB/s (66007 bytes in 0.001s)
[server] INFO: Device: [samsung] samsung SM-S918U (Android 14)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6.0 NVIDIA 535.154.05
INFO: Trilinear filtering enabled
INFO: Texture: 1080x2312
INFO: Texture: 2312x1080

homeo26 avatar Jan 26 '24 19:01 homeo26

Run scrcpy -Vverbose, and press some keys and click with the mouse, then copy the whole console output.

rom1v avatar Jan 26 '24 19:01 rom1v

  • I ran scrcpy -Vverbose, and here is the output of the console:
VERBOSE: input: touch [id=finger] move position=637,1685 pressure=1.000000 action_button=000000 buttons=000001
VERBOSE: input: touch [id=finger] move position=729,1685 pressure=1.000000 action_button=000000 buttons=000001
VERBOSE: input: touch [id=finger] move position=827,1685 pressure=1.000000 action_button=000000 buttons=000001
VERBOSE: input: touch [id=finger] move position=924,1685 pressure=1.000000 action_button=000000 buttons=000001
VERBOSE: input: touch [id=finger] move position=1016,1685 pressure=1.000000 action_button=000000 buttons=000001
VERBOSE: input: touch [id=finger] move position=1089,1680 pressure=1.000000 action_button=000000 buttons=000001
VERBOSE: input: touch [id=finger] move position=1148,1675 pressure=1.000000 action_button=000000 buttons=000001
VERBOSE: input: touch [id=finger] move position=1189,1670 pressure=1.000000 action_button=000000 buttons=000001
VERBOSE: input: touch [id=finger] up   position=1189,1670 pressure=0.000000 action_button=000001 buttons=000000
VERBOSE: [Audio] Buffering: target=2400 avg=3748.159180 cur=3772 compensation=-1348
VERBOSE: input: touch [id=finger] down position=121,1687 pressure=1.000000 action_button=000001 buttons=000001
...

homeo26 avatar Jan 26 '24 20:01 homeo26

OK, so everythings looks fine (except that your device does not react).

Focus some text area / text field on your device, and execute from your computer:

adb shell input text hello

Does it inject "hello"?

rom1v avatar Jan 26 '24 20:01 rom1v

Having the same issue - scrcpy is detecting interaction but the phone does not reply.

adb shell input text hello works

Nothing Phone 2 - OS 2.5.2 Android 14

gazhay avatar Feb 02 '24 13:02 gazhay

Having the same issue - scrcpy is detecting interaction but the phone does not reply.

adb shell input text hello works

Nothing Phone 2 - OS 2.5.2 Android 14

I am having this input issue as well. "adb shell input text hello" works properly. I'm on a Pixel 6 Pro, running Android 14.

Please let me know of you'd like further information, happy to help.

Chuckaluphagus avatar Feb 05 '24 02:02 Chuckaluphagus

adb shell input text hello works

If you run scrcpy --prefer-text, are you able to enter text ("hello") manually?

rom1v avatar Feb 05 '24 07:02 rom1v