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

So far, iOS 5.x is supported for iPhone 3GS. The patches themselves should be very close or exactly the same. Only real differences between devices is where everything gets loaded. 5.x have been tested and all of them restore without issues.

iOS 6.1.3 support was added as of version 1.0.5. This is also the best version so far since it contains fixes to the code itself.

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.0.5.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

pykernelpatch-1.0.5-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pykernelpatch-1.0.5.tar.gz
Algorithm Hash digest
SHA256 9e05f3908cd82d265d9ff914eb2f338f932cae6c962ba75b1ebcf51ea445f827
MD5 486797c87b12d3ac4ec2dba735381884
BLAKE2b-256 2d1b064b33e864d138689a424cc06c34d79828da9ed82dfc1dcce1fa622aaba5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pykernelpatch-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ebcfebac921c076aee43ecef0d290f893e3ee0ba8513f13267ad6105b2207ca7
MD5 735b792ec85864217ea587222fbc7ff8
BLAKE2b-256 665eaf50f7e9691852388553a41cef8e0fbbc1f958b1066e91bdc342b78977ec

See more details on using hashes here.

Supported by

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