Sometimes you can recover files that you delete or format carelessly on HTC cell phones, while sometimes you can't. What's the rule? Actually there isn't one. It just depends on where you delete or format the files and what you've done after the accident.
If you deleted or formatted files from the SD / cf card of your HTC Android phone, congratulations! There's a good chance you can retrieve them. All you need is a data recovery tool. Of course, you're not supposed to edit any data on your HTC mobile phone or the card after the files are deleted. Otherwise, this may overwrite your deleted files and make them impossible to recover.
HTC phone data recovery
The HTC phone data recovery software is easy to use, just few mouse clicks and you can recover deleted photos, videos, contacts, messages, and songs from HTC android phones, including HTC HTC U11, 10, One M8, M9, Desire 10 Pro, One, One X, U Ultra, Desire 626, Desire 820, One X10, One A9, Desire 628, Desire 828 dual sim, One X9, Desire 816, Desire 728 dual sim, U Play, One M9+, etc.
How to recover deleted files from SD card
Android data recovery
How to restore lost files from unrooted Android