I needed to back up my files and pictures from my Pixel 2 to my PC with a dead screen just yesterday. I used the “squeeze” feature and asked the Google assistant to “turn on talkback.” This allows you to blindly navigate the screen (providing the touch functions still work). You can then use this feature combined with the Google assistant and fingerprint reader to open the navigation bar and change the PC connection from “charge only” to PTP. This will allow you to transfer your files. Hope this helps.