Skip to main content

iOS kernelcache patcher

Project description

About the project

This is a WIP iOS 32-bit (atm) kernel patcher. The project is by all means not to be used in any sort of production environment. This is and will always be a library to help understand, develop, and automate certain patches to an iOS kernel in particular.

How the project works

So far, the only thing that is being done is that a binary file is being passed to find offsets with a given pattern and is patching 1 or more bytes to disable certain aspects of a decrypted kernelcache to enable restoring unsigned firmware. This does not patch the kernel to be used in a jailbroken environment. That requires more patches, but will be added to this project eventually.

What's being patched

Unfortunately, I'm not fully certain what these patches do, however I know that the patches that are being used tie into codesigning, amfi, signature checking, and more. I'm not aware exactly what is being patched, but the patches that are being used are derived from the sn0wbreeze project, which provides patched iOS ipsw's which can be used to either jailbreak or to preserve the baseband that comes with the ipsw. So far, the patches that are from the baseband preservation mode that sn0wbreeze offers are being used in this project.

What versions and devices are supported

iPhone 3GS:

  • 4.0, 4.0.1, 4.0.2, 4.1, 4.2.1, 4.3, 4.3.1, 4.3.2, 4.3.3
  • 5.0, 5.0.1, 5.1, 5.1.1
  • 6.0, 6.0.1, 6.1, 6.1.2, 6.1.3, 6.1.6

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pykernelpatch-1.1.2.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pykernelpatch-1.1.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file pykernelpatch-1.1.2.tar.gz.

File metadata

  • Download URL: pykernelpatch-1.1.2.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for pykernelpatch-1.1.2.tar.gz
Algorithm Hash digest
SHA256 c91ff975eaf99709a334f1693a06f81b7ff9876d8ac40fd011df325c0cc51ab8
MD5 c9b3a3c1573e13c5a36bdc788cbe01bb
BLAKE2b-256 d16e09199fe575618103c18ad2c744f6e3ca8ead3baf1240b37ca74f6ccf4d77

See more details on using hashes here.

File details

Details for the file pykernelpatch-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: pykernelpatch-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for pykernelpatch-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fa98844d578d21798ee7ebab7e3e81a2363cf05e75f803d3ee1a6366851636da
MD5 9720d54df2d5af97cb04621a2a9d8e42
BLAKE2b-256 f959dedf4133e9b9e0a894a3edbe98011c396eeea4748e566ef2f69cb616cc7b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page