Change USB connection mode from PTP to MTP when screen is broken
some phones have recovery modes
xperia for example does. also there are some phones that you can connect to a usb mouse. there is a usb to micro usb converter you'd have to buy though.