Not sure you can get it other than adb but if nothing else just replace the screen.
Android
A place to discuss anything related to Android or Android adjacent.
INFO:
-
No attacking others based on their phone preferences. Criticizing OEMs/devices is allowed. Attacking users because a different brand/device works for them isn't.
-
Obvious spam will be removed.
-
Anything directly or indirectly related to Android is allowed.
Check Out Our Partner Communities:
Does the device boot up completely? did you have usb debugging enabled? Is your from PC approved to use USB debugging?
If your PC is already allowed to used adb, you could try scrcpy to see if you can get the screen to mirror.
If your PC isn't approved for USB debugging, you could try using a mouse through the USB port. You might need an OTG cable for this. I'm not actually sure about this as I haven't tried this myself but a mouse should work as I've heard.
On my cheeseburger guinea pig device with a broken screen what I do is enable ADB in the system via some shell commands in TWRP recovery and then use scrcpy to use the phone "normally".
#!/usr/bin/env bash
adb shell "
twrp mount system
twrp remountrw system
echo '' >> /system_root/system/build.prop
echo '# Enable ADB' >> /system_root/system/build.prop
echo 'persist.service.adb.enable=1' >> /system_root/system/build.prop
echo 'persist.service.debuggable=1' >> /system_root/system/build.prop
echo 'persist.sys.usb.config=mtp,adb' >> /system_root/system/build.prop
"
adb push ~/.android/adbkey.pub /data/misc/adb/adb_keys
(You need to generate an ADB keypair first ofc.)
This does not require decrypting data but you do need a writeable system and data partition. In TWRP, data is mounted by default and the first two commands mount system writeable at /system_root/
. I've never done it with Lineage recovery but in theory, it should be possible somehow. (Obviously not using the TWRP command.)