sms – Can I copy data to be restored, if phone is stuck in bootloop?

My phone is stuck in a bootloop. I can get into TWRP recovery, which has a file manager. I can also connect the USB cable to computer and see the phones internal memory. Is there a way to copy text messages and WhatsApp messages so I can restore them on another phone?

I’m afraid the filesystem may have been corrupted. When I go to /data/data/ I expect to see names like “WhatsApp” or “Facebook” but everything is random…like +NiZZaTrs3RFzYegpkEk