I had a dead screen on a phone, so I was able to enable screenreader mode, used that to navigate to enable USB debugging and allow scrcpy screensharing.
That process cost me a couple of days and a similar working phone for testing, but it worked and I could save all the data on the phone.
I work doing mobile app development and scrcpy along with iphone mirroring for iphone have made it much easier to do typing which is super helpful when testing flows that involve filling out forms.
Only gripe with scrcpy (and an extremely minor one at that) is that tab doesnt automatically advance input fields in the app, while it does in iphone mirroring
That process cost me a couple of days and a similar working phone for testing, but it worked and I could save all the data on the phone.