If you lost your favorite pictures due to various causes such as ROM flashing, factory resetting, deleting, rooting or others, please calm down and don't get mad. Here I will recommend you Android Data Recovery to assist you to regain deleted or lost photos on your HTC mobile phone. As long as the lost data is not overwritten, Android Data Recovery can help you scan them out and let you preview as well as retrieve them. So, stop using your phone after data loss in case of data overwriting.
Download and install the recovery tool on your computer. Launch the program, you will get the window as below. Then use the USB cable to connect your HTC phone to PC.
In this step, you very need to enable USB debugging. Here are three ways for different Android version. According to the steps, please enable USB debugging on your HTC.
If you click "Select all", you are able to recover data from Android device.
Here are two scanning modes to select. As the professional suggestion, choosing "Standard Mode" should be your first choice. If this mode can not be satisfied your requirement, you had better select another one.
Stop scanning when the needed photos have been scanned out. Now you can preview the lost photos one by one and select you are wanted to retrieve. Click 'Recover', this program will save them onto your computer. The recovering will be finished in minutes.