Metadata-Version: 2.1
Name: deleo
Version: 0.1
Summary: A Python CLI tool for downgrading i(Pad)OS devices.
Home-page: https://github.com/m1stadev/deleo
License: MIT
Author: m1stadev
Author-email: adamhamdi31@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: click (>=8.1.6,<9.0.0)
Requires-Dist: coloredlogs (>=15.0.1,<16.0.0)
Requires-Dist: ipsw-parser (>=1.1.5,<2.0.0)
Requires-Dist: pymobiledevice3 (==2.34.0)
Requires-Dist: remotezip (>=0.12.1,<0.13.0)
Requires-Dist: tqdm (>=4.65.0,<5.0.0)
Project-URL: Bug Tracker, https://github.com/m1stadev/deleo/issues
Project-URL: Repository, https://github.com/m1stadev/deleo
Description-Content-Type: text/markdown

<h1 align="center">
deleo
</h1>
<p align="center">By <a href="https://github.com/m1stadev">m1sta</a>.

<p align="center">
  <a href="https://github.com/m1stadev/deleo/blob/master/LICENSE">
    <image src="https://img.shields.io/github/license/m1stadev/deleo">
  </a>
  <a href="https://github.com/m1stadev/deleo">
    <image src="https://tokei.rs/b1/github/m1stadev/deleo?category=code&lang=python&style=flat">
  </a>
  <a href="https://github.com/m1stadev/deleo/stargazers">
    <image src="https://img.shields.io/github/stars/m1stadev/deleo">
  </a>
    <br>
</p>

<p align="center">
A Python CLI tool for downgrading i(Pad)OS devices.
</p>

## Usage
```
Usage: deleo [OPTIONS] IPSW LATEST_IPSW

  A Python CLI tool for downgrading i(Pad)OS devices.

Options:
  --ecid INTEGER
  -v, --verbose
  --version                    Show the version and exit.
  -t, --shsh-blob FILENAME     SHSH blob for target restore.  [required]
  -u, --update                 Keep user data during restore (not recommended if downgrading).
  -o, --ota-manifest FILENAME  OTA build manifest for latest IPSW.
  --help                       Show this message and exit.
```
## Notes
- deleo only supports 64-bit devices.
- You can only restore using a signed 15.x or below IPSW as latest.
    - More info on that <a href="https://gist.github.com/Cryptiiiic/b82133ac290070939189e1377dc3ac85">here</a>.
- In place of an actual IPSW file in the `IPSW` or `LATEST_IPSW` arguments, you can pass a URL to an IPSW instead.
  - This is not recommended for the `IPSW` argument, as downloading the RootFS dmg directly from the ZIP will take quite a while...
- Ensure that whatever version you are restoring to is compatible with the SEP version in the latest IPSW.
    - You can find a spreadsheet that will show you what iOS versions are compatible with the latest SEP version <a href="https://docs.google.com/spreadsheets/d/1Mb1UNm6g3yvdQD67M413GYSaJ4uoNhLgpkc7YKi3LBs">here</a>.

## Requirements
- Python 3.8 or higher
- Valid SHSH blobs

## Installation
- Install from [PyPI](https://pypi.org/project/deleo/):
    - ```python3 -m pip install deleo```
- Local installation:
    - `./install.sh`
    - Requires [Poetry](https://python-poetry.org)

## Support

For any questions/issues you have, [open an issue](https://github.com/m1stadev/deleo/issues).

