I managed to use scrcpy's awesome KVM feature to do just this: it simulates a keyboard and mouse, so fumbling through hitting tab multiple times and enter, the phone showed up as MTP device and I could download the pictures.
Phone had dead display+touchscreen like yours.
Couldn't manage to enable usb debugging so no backups of texts though :/
Phone had dead display+touchscreen like yours.
Couldn't manage to enable usb debugging so no backups of texts though :/