https://github.com/half-duplex/titanium-decrypt
Decrypt TitaniumBackup backups
https://github.com/half-duplex/titanium-decrypt
android titaniumbackup
Last synced: about 2 months ago
JSON representation
Decrypt TitaniumBackup backups
- Host: GitHub
- URL: https://github.com/half-duplex/titanium-decrypt
- Owner: half-duplex
- License: eupl-1.2
- Created: 2020-10-25T04:36:32.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-29T23:56:29.000Z (over 4 years ago)
- Last Synced: 2025-07-24T17:25:48.009Z (11 months ago)
- Topics: android, titaniumbackup
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Titanium Decrypt
Decrypt TitaniumBackup backups
## Usage
### Install requirements
You may already have PyCryptodome installed. If not:
```sh
$ virtualenv -p python3 venv
$ . venv/bin/activate
$ pip install -Ur requirements.txt
```
### Run
Activate the virtualenv, if you need to:
```sh
$ . venv/bin/activate
```
Run the script:
```sh
$ ./tdecrypt.py my-encrypted-backup.tar.gz
```
You will be prompted for your passphrase.
Alternatively, for batch operation you can put your passphrase in an
environment variable:
```sh
$ passphrase='hunter2'
$ find . ! -iname '*.properties' -exec ./tdecrypt.py {} \;
```
## Contributing
Contributions are welcome. I use Google's import order, `python-black` for
formatting, and `flake8` for linting.
## Thanks
This was made massively easier by Christian Egger's lost G+ post about the
format, and by @bhafer's
[archive](https://github.com/bhafer/TitaniumBackupDecrypt/blob/master/README.md)
of the post in their similar PHP project.