Export contacts/text messages in a readable format
At least if using the stock Messaging app SMS Backup + can backup your messages in a readable format to your Gmail. And for contacts I'd recommend syncing them to Google Contacts and exporting them from there (as Chahk mentioned in the comments).