[ASUS ZenFone 8] bnsmb:
If the touch screen of a phone is not working anymore you might be able to fetch the data from the phone using this approach:

1. boot the phone into the bootloader using the power button and the volume up and volume down button

2. reboot the phone from a TWRP image for the phone using fastboot:

fastboot boot <twrp_image_file>

3. connect to the phone via adb and use the command twrp to decrypt the encrypted partition:

twrp decrypt password

(see the TWRP documentation for the syntax for the password)

Example:

#
# -> without entering the password the data partition is encrypted:
#
ASUS_I006D:/ # ls /data/me
media/ mediadrm/
ASUS_I006D:/ # ls /data/media/0/
+lnodCAAAAAnYFLObBoWS5ZNb5yVMpze DWk4KDAAAAA,B1xVDmT3dZI87g2C0IS8 M6jcmCAAAAAU,4gn9o0zoBZmkysyXy49 haPcnBAAAAw9o2lLF97zpPTaC+byP92s
0nUvhAAAAAQ9ptz+L5qPQrpzcAt4G06K EcHrdAAAAAglBtbhNWl0NvyX8aW+3CHN O5ZVrDAAAAAlKd7PPpo7CaQmkFbZzKRm mSKc8BAAAAwm+12sMClHPf+zwtHAeW+Q
4nFjMBAAAAwv2oUczXEpKUDfRIOi+nR5 FA1aZAAAAAg2XNF+M859lpPY,3rUC2cY Vda+LCAAAAwR+g6Tav35+h,Epc8latGR rMJEjAAAAAgwTgx,vA5ewWMVizc2LAos
5yL8gCAAAAgekBDBUi4,W78rJAkgFcMF FHf6sBAAAAAvsMrihjbmRxtr4wiLWjgw VvEV4DAAAAgRgoqCfrypNqryZxRACnfr xfaFHCAAAAwvXPP3IbMXPgyWUPMSXi+z
8CsF+DAAAAwI3tImfOqIS9aHCQ3S7Cdg JpuFgAAAAAwdEzuQerx4681dzGLjlK3X W9W9SCAAAAgh6lwoP0mNiEK9VIWJoH6L
8KdHMCAAAAQOgtDHq,XdSfFPW+XURA2M KlfTJCAAAAwL93jkH2ugnU4eUG3Zzm7M bE7t0CAAAAQ2YuHL9styNaf,iSf2cCO,
ASUS_I006D:/ #

#
# decrypt the data partition using TWRP (12345 is the password in this example)
#
ASUS_I006D:/ # twrp decrypt 12345
Attempting to decrypt data partition or user data via command line.
Attempting to decrypt FBE for user 0...
User 0 Decrypted Successfully
Data successfully decrypted
Updating partition details...
...done
ASUS_I006D:/ #

#
# Now the files in the data partition can be read and copied to the PC using for example adb pull
#
ASUS_I006D:/ # ls /data/media/0/
Alarms Audiobooks Documents Movies Notifications Podcasts Ringtones test.img
Android DCIM Download Music Pictures Recordings TWRP test1.img
ASUS_I006D:/ #

If you're running Linux on the PC you could use tar to download all files from the phone, e.g.

OmniRom 13 Dev - xtrnaw7@t15g /data/develop/android ] $ adb shell tar -czf - /data/media/0 | cat >./data_on_the_phone.tar
removing leading '/' from member names
[ OmniRom 13 Dev - xtrnaw7@t15g /data/develop/android ] $

[ OmniRom 13 Dev - xtrnaw7@t15g /data/develop/android ] $ tar -tvf ./data_on_the_phone.tar | head -10
drwxrws--- media_rw/media_rw 0 2023-04-23 17:27 data/media/0
drwxrws--x media_rw/media_rw 0 2023-04-22 12:31 data/media/0/Android/
drwxrws--x media_rw/ext_data_rw 0 2023-04-22 13:15 data/media/0/Android/data/
-rw-rw---- u0_a116/ext_data_rw 0 2023-04-22 12:31 data/media/0/Android/data/.nomedia
drwxrws--- u0_a143/ext_data_rw 0 2023-04-22 13:12 data/media/0/Android/data/org.fdroid.fdroid/
drwxrws--- u0_a143/ext_data_rw 0 2023-04-22 13:12 data/media/0/Android/data/org.fdroid.fdroid/files/
drwxrws--- u0_a146/ext_data_rw 0 2023-04-22 13:12 data/media/0/Android/data/com.mixplorer/
drwxrws--- u0_a146/ext_data_rw 0 2023-04-22 13:15 data/media/0/Android/data/com.mixplorer/cache/
drwxrws--- u0_a146/ext_data_rw 0 2023-04-22 13:15 data/media/0/Android/data/com.mixplorer/cache/temp/
drwxrws--- u0_a146/ext_data_rw 0 2023-04-22 13:17 data/media/0/Android/data/com.mixplorer/cache/log/
[ OmniRom 13 Dev - xtrnaw7@t15g /data/develop/android ] $