That is why I wanted to clarify haha. Was wondering if Android was so exposed by default. Good to hear it’s not.
Discussion
I confess that I the first time I checked the docs with a little apprehension ;)
But if the screen is already broken with the pin you can authorize it via OTG mode! So without anabling the debug mode in advance:
https://www.reddit.com/r/scrcpy/comments/11xh52k/broken_touch_black_screen_and_unauthorized_device/
> You can use scrcpy in OTG mode.
> Once started, unlock your device (e.g. enter your PIN and press enter, hopefully it's not a schema).
> Then you should get the authorization popup (even if you don't see it because your screen is black), so press Tab, > > Enter, Tab, Tab, Enter. This should validate authorization.
> They you should be able to start scrcpy normally (scrcpy --turn-screen-off).
I have to test it, without smashing the screen.
Really handy!