Git Product home page Git Product logo

iphone-message-export's Introduction

About

This is a hackish tool to export Messages and attachments from an unencrypted iPhone backup. I've only tested it on my backup (which contains messages that date back to 2010ish) with

  • iOS 14.7 on macOS 11.5
  • iOS 15.5 on macOS 11.6

This is meant as a starting point for other people who want to hack around with their backups and not as a finished product of any kind, although it may work the first time for you.

It's my first time using SQL so undoubtedly some of the queries could be run more efficiently. However, the limiting factor seems to be the bandwidth of copying files rather than the queries themselves (and/or the statting which is less than optimal). But this is supposed to be run maybe once a year at most when you want to export your messages, rather than repeatedly.

The output is a series of directories named after the chat identifier (usually the recipient's message handle or chatNNN... for group), inside of which is a JSON messages file. Attachments are copied from the decrypted backup to a subdirectory inside each chat.

This requires at least Python 3.6, and probably 3.7.

Usage:

$ python3 export.py "~/Library/Application Support/MobileSync/Backup/...."
"~/Desktop/iphone-export"

iphone-message-export's People

Contributors

sethrj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.