Lilu - Generic kext patcher (neue Grundlage für diverse Kexte)

  • Die Bastler von AppleALC und Shiki haben aus den einzelnen Kexten den sogenannten Lilu.kext, wohl den eigentlichen Kext-, Prozess- und Library-Patcher, herausgelöst und als eigenen Kext bereitgestellt.


    Ohne diesen, lassen sich AppleALC, ab Version 1.1.0, oder Shiki, ab Version 2.0.0, nicht mehr aus der EFI heraus laden.
    EDIT:
    Hier findet ihr eine von @NoirOSX zusammengefasste Liste aller Kexte, die Lilu benötigen -> Lilu & Plugins mit Bootflags und Beispielen

    Ich bin mal gespannt, wielange diese Art der Abhängigkeit bestand haben wird... aber aktuell geht es nicht ohne.

    Dateien

    Gruß
    Al6042


    Asus Prime Z390-A 0602 | i9 9900k | 32GB | Vega56 8GB | NVMe 250 GB | BCM943602CSAX | macOS 10.14.2 | Clover 4842

    GA H170N-WIFI F22e | i5 6600 | 16GB | HD530 1,5GB | NVMe 250 GB | BCM94352Z | macOS 10.14.2 | Clover 4842

    MBP 13,3 | i7 6700HQ | 16GB | Intel HD530 & AMD Pro 450 | NVMe 256 GB | BCM943602CSAX | macOS 10.14.2


    Keine Unterstützung per PN... Eure Anfragen gehören ins Forum, nicht in mein Postfach!

    Einmal editiert, zuletzt von al6042 ()

  • Und auch hier gehts weiter... :)


    Folgende Neuerung wurden eingebaut:
    - Added support for patching different sections/segments
    - Added file writing API by lvs1974
    - Added strrchr API
    - Changed requestAccess to include API version to workaround kext loading issues
    - Updated capstone to 3.0.5 rc2
    - Improved 32-bit userspace patcher
    - Enforced -liluslow in installer and recovery


    Ohne diesen, lassen sich AppleALC, ab Version 1.1.x, oder Shiki, ab Version 2.0.x, nicht mehr aus der EFI heraus laden.

    Dateien

    • Lilu.1.1.0.zip

      (70,59 kB, 208 Mal heruntergeladen, zuletzt: )

    Gruß
    Al6042


    Asus Prime Z390-A 0602 | i9 9900k | 32GB | Vega56 8GB | NVMe 250 GB | BCM943602CSAX | macOS 10.14.2 | Clover 4842

    GA H170N-WIFI F22e | i5 6600 | 16GB | HD530 1,5GB | NVMe 250 GB | BCM94352Z | macOS 10.14.2 | Clover 4842

    MBP 13,3 | i7 6700HQ | 16GB | Intel HD530 & AMD Pro 450 | NVMe 256 GB | BCM943602CSAX | macOS 10.14.2


    Keine Unterstützung per PN... Eure Anfragen gehören ins Forum, nicht in mein Postfach!

  • Ganz frisch aufgetischt... :)
    Version 1.1.1 mit folgenden Neuerungen:
    - Changed loading policy to ignore kexts that are not permitted to load
    - Increased executable memory buffer from 256 to 1024 bytes
    - Allowed different plugins load the same kexts

    Dateien

    • Lilu.1.1.1.zip

      (70,65 kB, 137 Mal heruntergeladen, zuletzt: )

    Gruß
    Al6042


    Asus Prime Z390-A 0602 | i9 9900k | 32GB | Vega56 8GB | NVMe 250 GB | BCM943602CSAX | macOS 10.14.2 | Clover 4842

    GA H170N-WIFI F22e | i5 6600 | 16GB | HD530 1,5GB | NVMe 250 GB | BCM94352Z | macOS 10.14.2 | Clover 4842

    MBP 13,3 | i7 6700HQ | 16GB | Intel HD530 & AMD Pro 450 | NVMe 256 GB | BCM943602CSAX | macOS 10.14.2


    Keine Unterstützung per PN... Eure Anfragen gehören ins Forum, nicht in mein Postfach!

  • vor ein paar Stunden :-)
    v1.1.3

    • Reduced binary size by modding capstone
    • Fixed LiluAPI::onProcLoad return code
    • Added MachInfo::setRunningAddresses for userspace symbol solving
    • Added getKernelMinorVersion for symmetry
    • Added kernel write protection and interrupt state validation

    Note: Please ensure all your plugins contain static OSBundleCompatibleVersion Info.plist property. See details at LiluFriend.

    Dateien

    • Lilu1.1.3.zip

      (255,9 kB, 85 Mal heruntergeladen, zuletzt: )

    iMac17,1 GA-Z170N WiFi F22f |i5-6600 HD530 |RX 560 |16GB RAM |250GB SSD |10.14.2 |Clover r4831

    MacBook 9,1 XiaoMi 12" |m3-6Y30 IntelHD515 |4GB RAM |SSD 128 & 250 GB |10.14.2 |10.14.3 DB |Clover r4842

    MacBookPro14,2 XiaoMi Pro 15,6"(mod Bios)|i5-8250U IntelUHD620 |8GB RAM |250 & 250GB SSD |10.14.2 |Clover r4842

    MacBookPro14,2 Lenovo 510-15IKS |i5-6200U IntelHD520 |8GB RAM |128SSD 1TB HDD |Win10 - 10.14.2 |Clover r4842

    IN ARBEIT

    MacMini HYSTOU P05B| I7 8550U Intel UHD Graphics 620| xxGB RAM| 500GB SSD

  • Was Neues ...


    v1.1.4

    • Slightly improved userspace patcher speed for 10.12
    • Added missing dyld_shared_cache detection with a fallback
    • Defined High Sierra kernel version

    Dateien

    iMac17,1 GA-Z170N WiFi F22f |i5-6600 HD530 |RX 560 |16GB RAM |250GB SSD |10.14.2 |Clover r4831

    MacBook 9,1 XiaoMi 12" |m3-6Y30 IntelHD515 |4GB RAM |SSD 128 & 250 GB |10.14.2 |10.14.3 DB |Clover r4842

    MacBookPro14,2 XiaoMi Pro 15,6"(mod Bios)|i5-8250U IntelUHD620 |8GB RAM |250 & 250GB SSD |10.14.2 |Clover r4842

    MacBookPro14,2 Lenovo 510-15IKS |i5-6200U IntelHD520 |8GB RAM |128SSD 1TB HDD |Win10 - 10.14.2 |Clover r4842

    IN ARBEIT

    MacMini HYSTOU P05B| I7 8550U Intel UHD Graphics 620| xxGB RAM| 500GB SSD

  • Configuration

    • Add -liludbg to enable debug printing (available in DEBUG binaries).
    • Add -liluoff to disable Lilu.
    • Add -liluslow to enable legacy user patcher.
    • Add -lilulowmem to disable kernel unpack (disables Lilu in recovery mode).
    • Add -lilubeta to enable Lilu on unsupported os versions.

    iMac17,1 GA-Z170N WiFi F22f |i5-6600 HD530 |RX 560 |16GB RAM |250GB SSD |10.14.2 |Clover r4831

    MacBook 9,1 XiaoMi 12" |m3-6Y30 IntelHD515 |4GB RAM |SSD 128 & 250 GB |10.14.2 |10.14.3 DB |Clover r4842

    MacBookPro14,2 XiaoMi Pro 15,6"(mod Bios)|i5-8250U IntelUHD620 |8GB RAM |250 & 250GB SSD |10.14.2 |Clover r4842

    MacBookPro14,2 Lenovo 510-15IKS |i5-6200U IntelHD520 |8GB RAM |128SSD 1TB HDD |Win10 - 10.14.2 |Clover r4842

    IN ARBEIT

    MacMini HYSTOU P05B| I7 8550U Intel UHD Graphics 620| xxGB RAM| 500GB SSD

  • v1.1.5

    • Increased executable memory buffer to page size
    • Added auth-root-dmg support High Sierra installer detection (thx Piker-Alpha)
    • Added -liluforce to force enable Lilu in safe mode and recovery
    • Added preliminary Xcode 9 compatibility
    • Added support for unloadable kexts
    • Merged official capstone patches up to c508224

    Dateien

    iMac17,1 GA-Z170N WiFi F22f |i5-6600 HD530 |RX 560 |16GB RAM |250GB SSD |10.14.2 |Clover r4831

    MacBook 9,1 XiaoMi 12" |m3-6Y30 IntelHD515 |4GB RAM |SSD 128 & 250 GB |10.14.2 |10.14.3 DB |Clover r4842

    MacBookPro14,2 XiaoMi Pro 15,6"(mod Bios)|i5-8250U IntelUHD620 |8GB RAM |250 & 250GB SSD |10.14.2 |Clover r4842

    MacBookPro14,2 Lenovo 510-15IKS |i5-6200U IntelHD520 |8GB RAM |128SSD 1TB HDD |Win10 - 10.14.2 |Clover r4842

    IN ARBEIT

    MacMini HYSTOU P05B| I7 8550U Intel UHD Graphics 620| xxGB RAM| 500GB SSD

  • Schon paar Tage auf dem Markt, nur hier hat es keiner aktuallisiert

    v1.1.6

    • Ignored disabled kexts earlier for speed reasons
    • Added High Sierra to the list of compatible OS
    • Added arrsize API
    • Made patch count warning only show in debug mode
    • Made kinfo not found logging only show in debug mode
    • Added routeBlock API for opcode-based routing
    • Centralised user and kernel patcher start time
    • Added c-compliant kern_os_cfree implementation
    • Added a workaround for page fault kernel panics
    • Added a workaround for xnu printf limitations

    Dateien

    iMac17,1 GA-Z170N WiFi F22f |i5-6600 HD530 |RX 560 |16GB RAM |250GB SSD |10.14.2 |Clover r4831

    MacBook 9,1 XiaoMi 12" |m3-6Y30 IntelHD515 |4GB RAM |SSD 128 & 250 GB |10.14.2 |10.14.3 DB |Clover r4842

    MacBookPro14,2 XiaoMi Pro 15,6"(mod Bios)|i5-8250U IntelUHD620 |8GB RAM |250 & 250GB SSD |10.14.2 |Clover r4842

    MacBookPro14,2 Lenovo 510-15IKS |i5-6200U IntelHD520 |8GB RAM |128SSD 1TB HDD |Win10 - 10.14.2 |Clover r4842

    IN ARBEIT

    MacMini HYSTOU P05B| I7 8550U Intel UHD Graphics 620| xxGB RAM| 500GB SSD

  • v1.1.7

    • Merged advanced disassembly API (thx Pb and others)
    • Added HDE disassembler for quick instruction decoding (by Vyacheslav Patkov)
    • Updated capstone to 3.0.5 rc3
    • Fixed load API lock type preventing dynamic memory allocation (thx Pb)
    • Added setInterrupts API
    • Added an option to define custom plugin entry points
    • Added const reference evector API
    • Added FAT_CIGAM Mach-O support
    • Added WIOKit::getComputerInfo API and improved some other WIOKit APIs
    • Added support of storing larger than pointer types in evector
    • Added -lilubetaall boot argument to skip version checking for all plugins

    Dateien

    iMac17,1 GA-Z170N WiFi F22f |i5-6600 HD530 |RX 560 |16GB RAM |250GB SSD |10.14.2 |Clover r4831

    MacBook 9,1 XiaoMi 12" |m3-6Y30 IntelHD515 |4GB RAM |SSD 128 & 250 GB |10.14.2 |10.14.3 DB |Clover r4842

    MacBookPro14,2 XiaoMi Pro 15,6"(mod Bios)|i5-8250U IntelUHD620 |8GB RAM |250 & 250GB SSD |10.14.2 |Clover r4842

    MacBookPro14,2 Lenovo 510-15IKS |i5-6200U IntelHD520 |8GB RAM |128SSD 1TB HDD |Win10 - 10.14.2 |Clover r4842

    IN ARBEIT

    MacMini HYSTOU P05B| I7 8550U Intel UHD Graphics 620| xxGB RAM| 500GB SSD

  • Auch hier noch die Version 1.2.0 mit folgenden Neuerungen:


    Achtung: Nicht alle aktuelle Plugin-Kexte sind mit Lilu 1.2.0 kompatibel. Eine Liste der funktionierenden Typen findet ihr im folgenden Link -> https://github.com/vit9696/Lilu/blob/master/KnownPlugins.md


    - Added more handy reporting macros
    - Enabled Lilu in safe mode by default with all plugins required to declare supported environments
    - Added lzss compression API
    - Added crypto and nvram API
    - Added support for solving kext symbols from kextcache
    - Added memfunc wrappers (e.g. lilu_os_memcpy) to avoid undefined builtins from 10.13 SDK
    - Added -liludbgall boot argument (to be on par with -lilubetaall)
    - Added unexact process path matching
    - Changed compression API logic to support preallocated buffers
    - Changed memory allocation logic in certain APIs
    - Changed kernel protection API to accept a lock for cpu preemption control
    - Changed KextInfo structure to handle disabled and fsonly kexts
    - Changed logging API to enforce more proper style
    - Disabled advanced disassembly APIs by default (create an issue if you need them)
    - Fixed a memory issue in WIOKit::getComputerInfo introduced in 1.1.7
    - Fixed several assertions triggering in 10.13 development kernel
    - Fixed Xcode 9 compiled binary compatibility with older OS
    - Fixed FAT_CIGAM and FAT_MAGIC parsing issues
    - Fixed a number of potential memory issues in mach parsing code
    - Fixed debug and development kextcache loading issues
    - Fixed shutdown issues in -lilulowmem mode
    - Fixed seldom boot slowdown when disabling the plugins via boot arguments

    Dateien

    Gruß
    Al6042


    Asus Prime Z390-A 0602 | i9 9900k | 32GB | Vega56 8GB | NVMe 250 GB | BCM943602CSAX | macOS 10.14.2 | Clover 4842

    GA H170N-WIFI F22e | i5 6600 | 16GB | HD530 1,5GB | NVMe 250 GB | BCM94352Z | macOS 10.14.2 | Clover 4842

    MBP 13,3 | i7 6700HQ | 16GB | Intel HD530 & AMD Pro 450 | NVMe 256 GB | BCM943602CSAX | macOS 10.14.2


    Keine Unterstützung per PN... Eure Anfragen gehören ins Forum, nicht in mein Postfach!

  • Hier die Version v1.2.1


    v1.2.1
    Fixed a rare kernel panic when running Lilu with -liludbg
    Added a workaround for 10.13.2 beta issues
    Fixed compilation with Xcode 8.2
    Added prelink usage detection to avoid confusing different kernels
    Disabled prelink usage for kext address solving by default since it caused many issues

    Dateien

    Grüße und Good Hack Michael


    :hackintosh:

    6 Mal editiert, zuletzt von G4_Hacker ()

  • Hier Vorab schon mal die nächste noch nicht veröffentliche Version.
    Source Code vom 25.11.2017


    v1.2.2
    Acknowledged macOS Install Data and com.apple.recovery.boot prelinkedkernel paths (thx Piker-Alpha)
    Fixed ignoring kcsuffix=<suffix> for kexts and less common names

    Dateien

    Grüße und Good Hack Michael


    :hackintosh:

    Einmal editiert, zuletzt von G4_Hacker ()

  • Source Code vom 25.11.3017


    Wird da auch nicht mehr so schnell was kommen, so alt werden wir alle nicht. :)

    iMac17,1 GA-Z170N WiFi F22f |i5-6600 HD530 |RX 560 |16GB RAM |250GB SSD |10.14.2 |Clover r4831

    MacBook 9,1 XiaoMi 12" |m3-6Y30 IntelHD515 |4GB RAM |SSD 128 & 250 GB |10.14.2 |10.14.3 DB |Clover r4842

    MacBookPro14,2 XiaoMi Pro 15,6"(mod Bios)|i5-8250U IntelUHD620 |8GB RAM |250 & 250GB SSD |10.14.2 |Clover r4842

    MacBookPro14,2 Lenovo 510-15IKS |i5-6200U IntelHD520 |8GB RAM |128SSD 1TB HDD |Win10 - 10.14.2 |Clover r4842

    IN ARBEIT

    MacMini HYSTOU P05B| I7 8550U Intel UHD Graphics 620| xxGB RAM| 500GB SSD

  • Sorry :):) Bin der Zeit voraus. Habe es geändert.

    Grüße und Good Hack Michael


    :hackintosh:

  • v1.2.3

    • Added CPU information API for cpu families and generations
    • Added IGPU information API for framebuffers and stuff
    • Added WIOKit::renameDevice API for device renaming with compatible fixing
    • Added KernelPatcher::routeVirtual API for virtual function swapping
    • Added PCI register and address manipulation API
    • Added basic process modification API
    • Added plugin IOService access
    • Added address-printing macros
    • Added address validation API
    • Added strict kext UUID validation to workaround broken kextcache
    • Added version info reporting to IORegistry for Lilu and plugins
    • Fixed several inline function definitions
    • Fixed crash when loading user patches with no binary patches
    • Reduced long patch length in function routing API

    Dateien

    • Lilu-v1.2.3.zip

      (208,94 kB, 226 Mal heruntergeladen, zuletzt: )

    iMac17,1 GA-Z170N WiFi F22f |i5-6600 HD530 |RX 560 |16GB RAM |250GB SSD |10.14.2 |Clover r4831

    MacBook 9,1 XiaoMi 12" |m3-6Y30 IntelHD515 |4GB RAM |SSD 128 & 250 GB |10.14.2 |10.14.3 DB |Clover r4842

    MacBookPro14,2 XiaoMi Pro 15,6"(mod Bios)|i5-8250U IntelUHD620 |8GB RAM |250 & 250GB SSD |10.14.2 |Clover r4842

    MacBookPro14,2 Lenovo 510-15IKS |i5-6200U IntelHD520 |8GB RAM |128SSD 1TB HDD |Win10 - 10.14.2 |Clover r4842

    IN ARBEIT

    MacMini HYSTOU P05B| I7 8550U Intel UHD Graphics 620| xxGB RAM| 500GB SSD

  • v1.2.4

    • Internalize new APIs from 1.2.3
    • Added new EFI runtime API with custom variable extensions
    • Added new RTC storage API
    • Added centralised entitlement hooking API
    • Added lilu_os_qsort export (the supported interface is Apple-private)
    • Added liludelay=1000 boot argument to insert a 1s delay after each print
    • Added new symbol routing API with simplified interface
    • Fixed a kernel panic in userspace patching code on 10.14b1

    Dateien

    iMac17,1 GA-Z170N WiFi F22f |i5-6600 HD530 |RX 560 |16GB RAM |250GB SSD |10.14.2 |Clover r4831

    MacBook 9,1 XiaoMi 12" |m3-6Y30 IntelHD515 |4GB RAM |SSD 128 & 250 GB |10.14.2 |10.14.3 DB |Clover r4842

    MacBookPro14,2 XiaoMi Pro 15,6"(mod Bios)|i5-8250U IntelUHD620 |8GB RAM |250 & 250GB SSD |10.14.2 |Clover r4842

    MacBookPro14,2 Lenovo 510-15IKS |i5-6200U IntelHD520 |8GB RAM |128SSD 1TB HDD |Win10 - 10.14.2 |Clover r4842

    IN ARBEIT

    MacMini HYSTOU P05B| I7 8550U Intel UHD Graphics 620| xxGB RAM| 500GB SSD

  • v1.2.5

    • Added new DeviceInfo API
    • Added checkKernelArgument API
    • Added enforced LiluAPI interfaces
    • Added KextInfo::switchOff API
    • Added cpuid API
    • Allowed for onKextLoad to accept no callback
    • Removed GPU detection code from CPUInfo API
    • Enabled by default on 10.14

    https://github.com/acidanthera/Lilu/

    Dateien

    iMac17,1 GA-Z170N WiFi F22f |i5-6600 HD530 |RX 560 |16GB RAM |250GB SSD |10.14.2 |Clover r4831

    MacBook 9,1 XiaoMi 12" |m3-6Y30 IntelHD515 |4GB RAM |SSD 128 & 250 GB |10.14.2 |10.14.3 DB |Clover r4842

    MacBookPro14,2 XiaoMi Pro 15,6"(mod Bios)|i5-8250U IntelUHD620 |8GB RAM |250 & 250GB SSD |10.14.2 |Clover r4842

    MacBookPro14,2 Lenovo 510-15IKS |i5-6200U IntelHD520 |8GB RAM |128SSD 1TB HDD |Win10 - 10.14.2 |Clover r4842

    IN ARBEIT

    MacMini HYSTOU P05B| I7 8550U Intel UHD Graphics 620| xxGB RAM| 500GB SSD

  • v1.2.6

    > Added Cannon Lake and Ice Lake definitions
    > Added missing typed getOSData APIs
    > Added -liluuseroff boot-arg to disable user patcher (for e.g. shared cache manipulation)
    > Added lilucpu=N boot-arg to assume CPU generation
    > Added CPU topology detection APIs>
    > Fixed routeMultiple kernel panic and log report
    > Switched to Apple lzvn implementation

    Dateien

    Grüße und Good Hack Michael


    :hackintosh:

    4 Mal editiert, zuletzt von anonymous writer ()

  • v1.2.7

    • Added support for detecting optimus switch-off
    • Added Sanitize target with ubsan support (thx to NetBSD)
    • Added disk log dump in DEBUG builds via liludump=N boot-arg (requires plugin rebuild)
    • Fixed multiple Mach-O parsing issues
    • Fixed support of PCI devices without compatible property
    • Fixed PCI class-code masking not detecting HDEF devices

    Dateien

    iMac17,1 GA-Z170N WiFi F22f |i5-6600 HD530 |RX 560 |16GB RAM |250GB SSD |10.14.2 |Clover r4831

    MacBook 9,1 XiaoMi 12" |m3-6Y30 IntelHD515 |4GB RAM |SSD 128 & 250 GB |10.14.2 |10.14.3 DB |Clover r4842

    MacBookPro14,2 XiaoMi Pro 15,6"(mod Bios)|i5-8250U IntelUHD620 |8GB RAM |250 & 250GB SSD |10.14.2 |Clover r4842

    MacBookPro14,2 Lenovo 510-15IKS |i5-6200U IntelHD520 |8GB RAM |128SSD 1TB HDD |Win10 - 10.14.2 |Clover r4842

    IN ARBEIT

    MacMini HYSTOU P05B| I7 8550U Intel UHD Graphics 620| xxGB RAM| 500GB SSD

  • v1.2.8

    • Fixed CPU generation detection for Coffee Lake-U
    • Fixed PEGP detection with 3D Controller class-code
    • Fixed userspace patcher compatibility with macOS Mojave
    • Allow manually specified reservation in evector
    • Improved version information printing in DEBUG builds

    Dateien

    iMac17,1 GA-Z170N WiFi F22f |i5-6600 HD530 |RX 560 |16GB RAM |250GB SSD |10.14.2 |Clover r4831

    MacBook 9,1 XiaoMi 12" |m3-6Y30 IntelHD515 |4GB RAM |SSD 128 & 250 GB |10.14.2 |10.14.3 DB |Clover r4842

    MacBookPro14,2 XiaoMi Pro 15,6"(mod Bios)|i5-8250U IntelUHD620 |8GB RAM |250 & 250GB SSD |10.14.2 |Clover r4842

    MacBookPro14,2 Lenovo 510-15IKS |i5-6200U IntelHD520 |8GB RAM |128SSD 1TB HDD |Win10 - 10.14.2 |Clover r4842

    IN ARBEIT

    MacMini HYSTOU P05B| I7 8550U Intel UHD Graphics 620| xxGB RAM| 500GB SSD