Maybe try this utility instead, PhotoRec:
<br>
<a href='
http://www.cgsecurity.org/wiki/PhotoRec' target='_blank' class='externalLink' rel='nofollow'>
http://www.cgsecurity.org/wiki/PhotoRec</a>
<br>
<a href='
https://en.wikipedia.org/wiki/PhotoRec' target='_blank' class='externalLink' rel='nofollow'>
https://en.wikipedia.org/wiki/PhotoRec</a>
<br> It's worked out successfully for me in different situations. Note that any valid recovery utility is going to involve some patience (think in terms of hours as opposed to minutes). They scan a storage media block by block, searching for recognized file types so it's going to be a slow process . Also keep in mind that there's a good chance you'll only be able to restore some of your photos, mostly depending on how large a photo library you had, the size of your phone's internal storage, and how long ago the problem occurred. Don't rush the process and don't take any shortcuts, just let the utility run.
<br>
<br> If you're a prolific poster of pics into your social media accounts (Facebook, etc.) perhaps a lot of your photos are still obtainable online?
<br>
<br> And from now on, do be sure to have a backup solution implemented. I like Google Photos, it will automatically backup and sync your photos into your online Google account.
<br>
<a href='
https://play.google.com/store/apps/details?id=com.google.android.apps.photos&amp;hl=en' target='_blank' class='externalLink' rel='nofollow'>
https://play.google.com/store/apps/details?id=com.google.android.apps.photos&amp;hl=en</a>
<br> If you're averse to Google services in general, there are plenty of options too, Dropbox, OneDrive, etc. or manually to a local computer but however you do your backups it's important to do so. Do not rely on your smartphone as a long term storage media, they just aren't that reliable.