Coder Social home page Coder Social logo

autotss's Introduction

autotss

Automatically save shsh2 blobs for signed iOS firmwares using tsschecker and the IPSW.me API

Quality Gate Status Code Smells

Motivation

tsschecker is not only meant to be used to check signing status, but also to explore Apple's tss servers. By using all of its customization possibilities, you might discover a combination of devices and iOS versions that is now getting signed but wasn't getting signed before. -tihmstar (author of tsschecker)

@leftyfl1p and I were curious to see if Apple ever accidentally signs firmwares that should no longer be signed (they do). While tsschecker is great for this, a tool to automate the process did not yet exist.

Usage

  1. Place your device info in devices.ini
    • Find your device identifier
    • Find your device ECID (both hex and dec are accepted)
    • Determine if your iOS device requires a board config. iOS devices with multiple available board configs will require you to manually specify a board config. Check this list to see if your device is applicable.
    • Put this information in devices.ini in the appropriate format (see below for formatting)
  2. Unzip the latest tsschecker release, and place the unzipped folder in the same directory as autotss.py
    • Once the unzipped tsschecker folder is in the same directory as autotss.py, the binary for your operating system will be automatically selected
    • Or you can manually provide a path to your tsschecker binary:
      • autotss('/Users/codsane/tsschecker/tsschecker_macos')
      • python3 autotss.py -p /Users/codsane/tsschecker/tsschecker_macos
  3. Run python3 autotss.py
  4. (Optional) Schedule autotss to run frequently to save blobs for firmwares as they are signed

Config File

Your devices.ini file should follow the format below. Specifying a board config is optional but may be required for your device model.

[Device Name]
identifier = iPhone9,4
ecid = 1438617935153

Example:

[codsane's iPhone SE]
identifier = iPhone8,4
ecid = A1032047B013A
boardconfig = n69uap

Known Issues

  • iOS 11.2 Build 15C113

    • This specific iOS 11.2 build doesn't like to work with tsschecker for some reason. tsschecker works fine with iOS 11.2 Build 15C114 so that build can be used instead.
  • Outdated version of tsschecker at tsschecker's repo

Requirements

To Do

  • Add support for Beta/OTA firmwares

autotss's People

Contributors

leftyfl1p avatar sourcery-ai[bot] avatar sycured 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.