Giter Site home page Giter Site logo

cryptexfixup's Introduction

CryptexFixup

Build Status Scan Status

Lilu Kernel extension for installing Rosetta Cryptex in macOS Ventura. Applicable for both OS installation and updates.


With macOS Ventura, Apple finally dropped the last Mac that lacked the AVX2.0 CPU instruction, the 2013 Trash Can Mac Pro (MacPro6,1). With this, systems lacking AVX2.0 can no longer boot Ventura natively as Apple has stripped the legacy non-AVX2.0 dyld shared caches from the OS. However due to compatibility issues with Rosetta 2, Apple is forced to retain a pre-AVX2.0 dyld shared cache on Apple Silicon systems.

Thus to support older machines, this kext will force the macOS installer/updater to install the Apple Silicon Cryptex (OS.dmg) instead of the stock Intel variant. More information can be found under macOS Ventura and OpenCore Legacy Patcher Support: Issue 998. Additionally this kext will disable Cryptex hash verification in APFS.kext.

Additional notes:

  • Delta Updates will not be supported with patched Cryptexes, Full Updates will be requested instead.
    • Delta: 1-3GB~
    • Full Update: 12GB
  • Rapid Secuirty Response Updates are currently not supported at this time.
    • macOS only distributes x86_64h-based deltas on x86 machines, which are incompatible with the Rosetta Cryptex.
  • If CryptexFixup determines your system already supports AVX2.0, it will not do anything (unless explicitly requested).
    • Systems supporting AVX2.0 natively:
      • Intel Haswell and newer
      • AMD Excavator/Ryzen and newer
    • Systems lacking AVX2.0:
      • Intel Ivy Bridge and older
      • AMD Bulldozer/Piledriver/Steamroller and older
  • This kext does not drop the requirement for AVX2.0 in some of Ventura's Graphics Stack
    • AMD Polaris, Vega and Navi Drivers in Ventura will not function without AVX2.0 support, end users will need to find alternative ways to achieve graphics acceleration
    • Apple's Paravirtualized Graphics Stack still supports pre-AVX2.0 systems
      • ex. VMware Fusion on Monterey host lacking AVX2.0, guest VM running Ventura

Boot arguments

  • -cryptoff (or -liluoff) to disable
  • -cryptdbg (or -liludbgall) to enable verbose logging (in DEBUG builds)
  • -cryptbeta (or -lilubetaall) to enable on macOS newer than 14
  • -crypt_allow_hash_validation to disable APFS.kext patching
  • -crypt_force_avx to force install the Rosetta Cryptex on AVX2.0 systems

Credits

cryptexfixup's People

Contributors

andrey1970applelife avatar khronokernel avatar pmheart avatar vit9696 avatar wy414012 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.