[Sprint HTC One (M7)] Tardeaux:
So maybe it's just me, but I've been taken off guard by the wipe features on the HTC One clearing /sdcard along with the usual user data a few times. It's a bit of a struggle to find your "happy place" after remembering a couple minutes too late that the bootloader unlock actually erases the media storage too...so much for that nandroid backup you made just in case :eek:

Luckily, these phones come with all sorts of backup options right out of the box - but these (DropBox image backup specifically) have a few "quirks" that don't really work in our favor. One that especially ground my gears was the fact that dropbox doesn't play nice with the ZOE's filename-based groupings. So now those 12 ZOE shots you had now show up as 252 individual files. Neat.

So, since I'm overall a very lazy person it's safe to assume I had little to no interest in manually renaming each and every one of these files to make my Zoe collections work again. Ain't nobody got time for that. That's exactly what I made this tool to do for me, because hastily writing a few lines of code sounded way more appealing than fixing all those files just hitting the delete key.

Now, I can't reiterate enough that I'm really lazy. That being said, this tool is poorly written. I even decided that it was easier to simply disable the ability to minimize it rather than bother messing with a crash bug related to that option. Don't worry though, there's still plenty of ways to make this program crash horribly.

So without further ado: I made a thingy, and I'm sharing this thingy that I made with you. In case you're stupid about backing up your media storage, like me.

DISCLAIMER: I AM AN AWFUL PROGRAMMER AND I PUT VERY LITTLE TIME OR EFFORT INTO THIS. I ALSO MAY OR MAY NOT HAVE COAUTHORED THIS WORK IN PARTNERSHIP WITH A BOTTLE OF VODKA. USE AT YOUR OWN RISK, MAKE BACKUPS, AND GENERALLY JUST BE READY FOR DISAPPOINTMENT. I AM NOT RESPONSIBLE FOR ANYTHING THIS APPLICATION MAY OR MAY NOT DO.

Using this app is pretty simple.

1) Copy your defiled Zoe images to a new folder (I can't promise you that this thing won't screw up, so make sure to work with COPIES of the files!). I didn't trust this with my original backups and neither should you!

2) Open the application and choose the directory that you copied the files to.

3) All the JPG files in that folder will be listed in the upper list, these may or may not be in correct order because the backup function doesn't even name them in a way that always sorts correctly. Focus on one Zoe at a time and use the arrows to put the files from that set in the correct order.

4) Use Ctrl/Shift+Click to select all 20 images from that Zoe's set.

5) Once you've selected 20, the app will try to guess which MP4 file to choose in the box below. This feature is super basic, make sure to double check that it has selected the correct file, correct this selection as necessary.

6) Look in your phone's /DCIM/100media folder to see how high the file numbering goes for the images on your phone. There's a box on the application bottom-right to fill in a number. Type in a number that is NOT already associated with another image on your phone.

7) If everything is selected correctly, the "Rebuild my ZOE" button should become usable. Click it. It should (hopefully) tell you that it has finished working on the selected files.

8) Move the newly renamed IMAGXXXX_ZOEXXX files back onto your phone's internal storage.

9) Rinse and repeat until all your files are renamed appropriately to be recognized as ZOEs.

PS - This application was was written in VB2012 using the .net framework 4.5, if you get errors starting it, make sure you have this framework installed. Source code is available upon request if anyone actually wants to put time into making this suck less, but for me it's "good enough".