I have tried a number of times to connect a phone with broken/dead screen. Touch and audio works.
I have probably managed to enter pin and login but clicking 'Allow usb debugging' checkbox when I run scrcpy is apparently impossible or may be I am missing from some other critical step.
Has someone done anything like that using this tool? It seems like a perfect use case.
The first thing I do whenever I get a new phone (or OS update on an old phone) is enable USB debugging, plug it into my computer, and then click trust this device. It's insurance for the time when the phone screen inevitably dies, because then I can plug it back in and immediately drive it using scrcpy. It's saved me twice so far.
With newer android versions, you might want to check the "disable adb authorization timeout" option too. Otherwise, phone will "forget" your computer's adb key after a week.
Not using this tool, but actually to use this tool. My nexus device had a cracked screen like yours and I ended up running an android emulator to find where to blindly click to finally allow adb
Once the authorization popup is on the screen, press Tab, Enter, Tab, Tab, Enter (of course, it's more difficult if USB debugging is not enabled at all).
It's worth learning how to use TalkBack anyway because of the insight it gives you into how accessibility tooling works, and also it's perfect for this use-case.
Can I turn the talk back on blindly? This phone is a pixel 2. Again, this does sound like a very good advice which I can try on emulator first. Thanks.
Most phones seem to have the default accessibility shortcut set to enable TalkBack -- I've needed to turn it off (for someone with dyspraxia) more than I've needed to turn it on.
Try holding down the two volume buttons down together for a few seconds, it might well activate.
I have probably managed to enter pin and login but clicking 'Allow usb debugging' checkbox when I run scrcpy is apparently impossible or may be I am missing from some other critical step.
Has someone done anything like that using this tool? It seems like a perfect use case.