Skip to content

Latest commit

 

History

History
96 lines (74 loc) · 4.41 KB

INSTALL.md

File metadata and controls

96 lines (74 loc) · 4.41 KB

Installation

iOS Backup Explorer is plain Python: there is no installer, no build step and no configuration file. You need Python, one small package, and the files of this repository.

What you need

Needed for How
Python 3.9 or newer everything python.org. The tests run on 3.9 and 3.13
tkinter the window Included with Python on Windows and macOS. On Linux: sudo apt install python3-tk
iphone_backup_decrypt encrypted backups pip install -r requirements.txt (the only required package)

iphone_backup_decrypt is only loaded when you open an encrypted backup: unencrypted backups and already-extracted backup folders open without it. It is small, so install it anyway.

Get the program

git clone https://github.com/slammingprogramming/iOS-backup-explorer.git
cd iOS-backup-explorer
pip install -r requirements.txt
python ios_backup_explorer.py

Or, without git, download iOS-Backup-Explorer-X.Y.Z.zip (or .tar.gz) from the releases page, unpack it and run the same two commands inside the folder. The release also has a SHA256SUMS file to check the download against (sha256sum -c SHA256SUMS, or Get-FileHash <file> in PowerShell); see Versioning and releases.

To see the version without opening the window:

python ios_backup_explorer.py --version

It is a good idea to use a virtual environment so the packages stay out of your system Python:

python -m venv .venv
.venv/Scripts/activate        # Windows (PowerShell: .venv\Scripts\Activate.ps1)
source .venv/bin/activate     # macOS and Linux
pip install -r requirements.txt

Optional extras

None of these is needed to run the program; each adds something. Without one, the program says what is missing and the original files can still be saved.

pip install -r requirements-optional.txt
Package What it adds
Pillow Picture previews in Photos and in notes, and conversion of pictures to JPEG
pillow-heif The same for HEIC pictures, which is what iPhones take by default
fpdf2 PDF export of notes
tzdata A time zone database, which the Health tab's Sleep per night needs to place each night on a day (Windows has none; Linux and macOS do)
ffmpeg (a separate program, not a pip package; ffmpeg.org) Mixing the two sides of a call recording into one .m4a
mfusepy (pip install -r requirements-mount.txt) Mounting a backup as a drive or folder; also needs WinFsp, macFUSE/FUSE-T or FUSE, see the file browser
libimobiledevice's tools and usbmuxd (separate programs, not pip packages; libimobiledevice.org) Pairing with a plugged-in iPhone or iPad, backing it up and managing its backup encryption, from the Devices & backups window. How to install them for each system is in Devices and backups. Everything else in that window needs nothing extra
hashcat (a separate program, not a pip package; hashcat.net) The "Hashcat" tab of Forgot password?, see Forgot a password?
CUPP (a separate program, not a pip package; github.com/Mebus/cupp) Building a wordlist from things you remember about yourself, inside that same tab

Platform notes

  • Windows. Works as is. Windows has no time zone database, which only matters for the Health tab's Sleep per night: install the optional tzdata package (pip install tzdata) to get that table.
  • macOS. Works as is. If Python was installed from python.org, tkinter is included.
  • Linux. Install python3-tk. iTunes and Finder do not exist there, so to make a backup install libimobiledevice's tools and use the Devices & backups window (Devices and backups); or copy a backup over from a Windows or macOS computer.

Running the tests

python -m unittest discover -s tests -t .

The window tests need a display and skip themselves without one. See Testing.

Uninstalling

Delete the folder. The program writes nothing outside the temporary folders described in SECURITY.md, which it removes itself when you close it.