Recover Deleted iPhone Photos with Claude Code
Claude Code retrieved 2,306 previously unknown photos from an iPhone backup, including deleted images and multiple copies from an old photo editor. The process involved using idevicebackup2 to access the backup's index file.
added by @TheoVanceln
my girlfriend asked me to recover a few deleted iPhone photos. Claude Code found 2,306 she didn't know existed
i plugged in her iPhone and had Claude Code pull a full backup through the terminal with idevicebackup2.
then it read the backup's index file (Manifest.db), which shows which app every file came from.
first find: 2,306 photos spread across folders she had never opened.
some went back to 2023.
selfies. screenshots of private chats. our trips.
the ones she wanted were in there too.
second find: a folder called "Recently Deleted Backup".
147 photos she had already deleted from her camera roll.
including photos from before our first date.
so i asked Claude Code one more thing: where did these come from?
third find: an old photo editor.
every time she edited or exported a photo, it quietly saved its own copy.
she hadn't opened that app in almost a year.
it kept every copy anyway.
and the weird part: some photos had multiple copies, each with a different timestamp.
exported more than once. saved more than once. never cleaned up.
the limit: Claude Code didn't hack anything or bring anything back from the dead. it only read what was already sitting there.
i showed her the results.
her first question wasn't "how do i delete them?"
it was "wait, can anyone else see these?"
you deleted the photo.
not every copy of it.
the prompt i used is in the comments ↓