Jump to content
vit9696

Lilu — kext and process patcher

330 posts in this topic

Recommended Posts

12 minutes ago, vit9696 said:

Redo the panic with the latest debug binaries please.

Retry with debug version lilu v1.3.3 + weg v1.2.6, panic log:

Anonymous UUID:       BD838D05-146F-2A90-40D5-F5C700EC7110

Fri Feb  8 00:39:42 2019

*** Panic Report ***
panic(cpu 0 caller 0xffffff800ecdbe8d): Kernel trap at 0xffffff7f9291a58c, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0xffffff7f929899ea, CR3: 0x00000004a49b301d, CR4: 0x00000000003626e0
RAX: 0xffffff7f9291a588, RBX: 0xffffff81bf0a7000, RCX: 0x000000000000000a, RDX: 0x0000000000000018
RSP: 0xffffff922f753560, RBP: 0xffffff922f753560, RSI: 0xffffff8043f7eb80, RDI: 0x0000000000000002
R8:  0xffffff922f7535bc, R9:  0x0000000000000780, R10: 0x0000000000000438, R11: 0x0000000000000780
R12: 0xffffff81bf0a95ac, R13: 0xffffff8043f7eb80, R14: 0xffffff8042219600, R15: 0xffffff922f753608
RFL: 0x0000000000010286, RIP: 0xffffff7f9291a58c, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0xffffff7f929899ea, Error code: 0x0000000000000003, Fault CPU: 0x0, PL: 0, VF: 2

Backtrace (CPU 0), Frame : Return Address
0xffffff922f753030 : 0xffffff800ebae9dd mach_kernel : _handle_debugger_trap + 0x47d
0xffffff922f753080 : 0xffffff800ecea355 mach_kernel : _kdp_i386_trap + 0x155
0xffffff922f7530c0 : 0xffffff800ecdbc6a mach_kernel : _kernel_trap + 0x50a
0xffffff922f753130 : 0xffffff800eb5bc90 mach_kernel : _return_from_trap + 0xe0
0xffffff922f753150 : 0xffffff800ebae3f7 mach_kernel : _panic_trap_to_debugger + 0x197
0xffffff922f753270 : 0xffffff800ebae243 mach_kernel : _panic + 0x63
0xffffff922f7532e0 : 0xffffff800ecdbe8d mach_kernel : _kernel_trap + 0x72d
0xffffff922f753450 : 0xffffff800eb5bc90 mach_kernel : _return_from_trap + 0xe0
0xffffff922f753470 : 0xffffff7f9291a58c as.vit9696.Lilu : __ZN13KernelPatcher20tempExecutableMemoryE + 0xcc
0xffffff922f753560 : 0xffffff7f929c1682 as.vit9696.WhateverGreen : __ZN4IGFX20wrapComputeLaneCountEPvS0_jiPi + 0x92
0xffffff922f7535a0 : 0xffffff7f92fff2ac com.apple.driver.AppleIntelSKLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController11SetupClocksEP21AppleIntelFramebufferP21AppleIntelDisplayPathPK29IODetailedTimingInformationV2PNS_10CRTCParamsE + 0x39e
0xffffff922f7535f0 : 0xffffff7f92ffe3dc com.apple.driver.AppleIntelSKLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController9hwSetModeEP21AppleIntelFramebufferP21AppleIntelDisplayPathPK29IODetailedTimingInformationV2 + 0xea
0xffffff922f753960 : 0xffffff7f92fd8a99 com.apple.driver.AppleIntelSKLGraphicsFramebuffer : __ZN21AppleIntelFramebuffer14setDisplayModeEii + 0x47f
0xffffff922f7539c0 : 0xffffff7f92ea0565 com.apple.iokit.IOGraphicsFamily : __ZN13IOFramebuffer16doSetDisplayModeEii + 0xb3
0xffffff922f753a00 : 0xffffff7f92ea043a com.apple.iokit.IOGraphicsFamily : __ZN13IOFramebuffer17extSetDisplayModeEP8OSObjectPvP25IOExternalMethodArguments + 0x9a
0xffffff922f753a90 : 0xffffff800f284d28 mach_kernel : __ZN12IOUserClient14externalMethodEjP25IOExternalMethodArgumentsP24IOExternalMethodDispatchP8OSObjectPv + 0x1d8
0xffffff922f753ae0 : 0xffffff7f92ea6438 com.apple.iokit.IOGraphicsFamily : __ZN23IOFramebufferUserClient14externalMethodEjP25IOExternalMethodArgumentsP24IOExternalMethodDispatchP8OSObjectPv + 0x74
0xffffff922f753b30 : 0xffffff800f28e1d2 mach_kernel : _is_io_connect_method + 0x212
0xffffff922f753c70 : 0xffffff800ec962a6 mach_kernel : _iokit_server_routine + 0x5e46
0xffffff922f753d80 : 0xffffff800ebb421c mach_kernel : _ipc_kobject_server + 0x12c
0xffffff922f753dd0 : 0xffffff800eb8ec41 mach_kernel : _ipc_kmsg_send + 0xd1
0xffffff922f753e50 : 0xffffff800eba34ae mach_kernel : _mach_msg_overwrite_trap + 0x3ce
0xffffff922f753ef0 : 0xffffff800ecc3007 mach_kernel : _mach_call_munger64 + 0x257
0xffffff922f753fa0 : 0xffffff800eb5c476 mach_kernel : _hndl_mach_scall64 + 0x16
      Kernel Extensions in backtrace:
         as.vit9696.Lilu(1.3.3)[7EF6F471-1BD8-3456-9074-66EB028D5EE9]@0xffffff7f92910000->0xffffff7f92988fff
         as.vit9696.WhateverGreen(1.2.6)[76B394AE-05C5-3ED3-8489-4EC73630F74E]@0xffffff7f929bd000->0xffffff7f92a37fff
            dependency: as.vit9696.Lilu(1.3.3)[7EF6F471-1BD8-3456-9074-66EB028D5EE9]@0xffffff7f92910000
            dependency: com.apple.iokit.IOPCIFamily(2.9)[39E2286B-5167-30C4-A36A-0BAEBD2C2B1B]@0xffffff7f8f4eb000
         com.apple.iokit.IOGraphicsFamily(530.59)[AD9697FA-4A10-3E28-BD0B-2332C31BCE61]@0xffffff7f92e85000->0xffffff7f92ecffff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[39E2286B-5167-30C4-A36A-0BAEBD2C2B1B]@0xffffff7f8f4eb000
         com.apple.driver.AppleIntelSKLGraphicsFramebuffer(12.0.8)[FD4E977D-A29B-3939-B2E6-64B473279EC2]@0xffffff7f92fc0000->0xffffff7f931e0fff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[39E2286B-5167-30C4-A36A-0BAEBD2C2B1B]@0xffffff7f8f4eb000
            dependency: com.apple.iokit.IOACPIFamily(1.4)[CBA0870F-6617-3D78-9075-26A2E8A9B691]@0xffffff7f8f4e2000
            dependency: com.apple.iokit.IOAcceleratorFamily2(404.8)[D5E9849D-22E0-380F-B560-A115614960D5]@0xffffff7f92f11000
            dependency: com.apple.iokit.IOReportFamily(47)[0578B054-D103-32EB-B468-D145EFCE0AA2]@0xffffff7f8f4db000
            dependency: com.apple.AppleGraphicsDeviceControl(3.30.12)[505935DB-B28B-3C9E-8A5C-3D38D70055CD]@0xffffff7f92fb6000
            dependency: com.apple.iokit.IOGraphicsFamily(530.59)[AD9697FA-4A10-3E28-BD0B-2332C31BCE61]@0xffffff7f92e85000

BSD process name corresponding to current thread: WindowServer
Boot args: dart=0 brcmfx-country=#a -lilubetaall agdpmod=vit9696 -v keepsyms=1 debug=0x100 -rootdmg-ramdisk auth-root-dmg=file:///macOS%20Install%20Data/Locked%20Files/BaseSystem.dmg

Mac OS version:
18E184e

Kernel version:
Darwin Kernel Version 18.5.0: Thu Jan 31 01:17:54 PST 2019; root:xnu-4903.250.319~62/RELEASE_X86_64
Kernel UUID: 65EC7A82-220E-3FD8-91E2-5AECA8B2FEF1
Kernel slide:     0x000000000e800000
Kernel text base: 0xffffff800ea00000
__HIB  text base: 0xffffff800e900000
System model name: MacBookPro13,3 (Mac-A5C67F76ED83108C)

System uptime in nanoseconds: 52748949770
last loaded kext at 52090521544: com.apple.driver.AppleGraphicsDevicePolicy	3.30.12 (addr 0xffffff7f93666000, size 81920)
loaded kexts:
org.rehabman.voodoo.driver.PS2Mouse	1.9.1
org.rehabman.voodoo.driver.PS2Trackpad	1.9.1
org.rehabman.voodoo.driver.PS2Keyboard	1.9.1
com.no-one.BrcmPatchRAM2	2.2.10
com.no-one.BrcmFirmwareStore	2.2.10
org.rehabman.driver.FakePCIID	1.3.14
com.alexandred.VoodooI2C	2.1.4
org.coolstar.VoodooGPIO	1.1
org.rehabman.voodoo.driver.PS2Controller	1.9.1
as.vit9696.SMCProcessor	1.0.2
as.vit9696.AppleALC	1.3.5
as.lvs1974.AirportBrcmFixup	1.1.9
com.XPS.VerbStub	1.0.3
as.lvs1974.BT4LEContiunityFixup	1.1.2
as.vit9696.WhateverGreen	1.2.6
org.vanilla.driver.CPUFriend	1.1.5
ru.usrsse2.SMCBatteryManager	1
com.alexandred.VoodooI2CServices	1
ru.usrsse2.SMCLightSensor	1
as.vit9696.VirtualSMC	1.0.2
as.lvs1974.HibernationFixup	1.2.4
xyz.racermaster.NoTouchID	1.0.1
as.vit9696.Lilu	1.3.3
com.apple.driver.AppleGraphicsDevicePolicy	3.30.12
com.apple.driver.pmtelemetry	1
com.apple.iokit.IOUserEthernet	1.0.1
com.apple.iokit.IOBluetoothSerialManager	6.0.11d3
com.apple.driver.X86PlatformShim	1.0.0
com.apple.driver.AGPM	110.25.2
com.apple.driver.ApplePlatformEnabler	2.7.0d0
com.apple.Dont_Steal_Mac_OS_X	7.0.0
com.apple.driver.AppleHDAHardwareConfigDriver	282.51
com.apple.driver.AppleHV	1
com.apple.driver.AGDCBacklightControl	3.30.12
com.apple.driver.AppleHDA	282.51
com.apple.driver.ACPI_SMC_PlatformPlugin	1.0.0
com.apple.driver.AppleMCCSControl	1.5.6
com.apple.driver.AppleOSXWatchdog	1
com.apple.driver.AppleIntelPCHPMC	2.0.1
com.apple.driver.AppleSMCLMU	212
com.apple.driver.AppleLPC	3.1
com.apple.driver.AppleIntelSKLGraphicsFramebuffer	12.0.8
com.apple.driver.AppleIntelSlowAdaptiveClocking	4.0.0
com.apple.driver.AppleFIVRDriver	4.1.0
com.apple.driver.AppleBacklight	170.12.11
com.apple.filesystems.ntfs	3.13
com.apple.nke.webcontentfilter	5
com.apple.private.KextAudit	1.0
com.apple.driver.DiskImages.ReadWriteDiskImage	493.0.0
com.apple.driver.DiskImages.SparseDiskImage	493.0.0
com.apple.driver.DiskImages.UDIFDiskImage	493.0.0
com.apple.driver.DiskImages.HTTPBackingStore	493.0.0
com.apple.driver.DiskImages.FileBackingStore	493.0.0
com.apple.driver.DiskImages.RAMBackingStore	493.0.0
com.apple.driver.AppleFileSystemDriver	3.0.1
com.apple.filesystems.hfs.kext	407.200.4
com.apple.BootCache	40
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless	1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib	1.0.0
com.apple.AppleSystemPolicy	1.0
com.apple.filesystems.apfs	945.250.122
com.apple.driver.AirPort.BrcmNIC	1400.1.1
com.apple.driver.AppleAHCIPort	329.200.2
com.apple.driver.AppleSmartBatteryManager	161.0.0
com.apple.driver.AppleACPIEC	6.1
com.apple.driver.AppleACPIButtons	6.1
com.apple.driver.AppleRTC	2.0
com.apple.driver.AppleHPET	1.8
com.apple.driver.AppleSMBIOS	2.1
com.apple.driver.AppleAPIC	1.7
com.apple.nke.applicationfirewall	190
com.apple.security.TMSafetyNet	8
com.apple.driver.AppleGraphicsControl	3.30.12
com.apple.iokit.IOSerialFamily	11
com.apple.iokit.IOAVBFamily	740.1
com.apple.plugin.IOgPTPPlugin	740.2
com.apple.iokit.IOEthernetAVBController	1.1.0
com.apple.iokit.IOSkywalkFamily	1
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport	6.0.11d3
com.apple.iokit.IOBluetoothHostControllerUSBTransport	6.0.11d3
com.apple.iokit.IOBluetoothHostControllerTransport	6.0.11d3
com.apple.driver.DspFuncLib	282.51
com.apple.kext.OSvKernDSPLib	528
com.apple.driver.IOPlatformPluginLegacy	1.0.0
com.apple.AppleGPUWrangler	3.30.12
com.apple.driver.AppleSMBusController	1.0.18d1
com.apple.driver.AppleUSBAudio	315.6
com.apple.driver.AppleHDAController	282.51
com.apple.iokit.IOHDAFamily	282.51
com.apple.iokit.IOAudioFamily	206.5
com.apple.vecLib.kext	1.2.0
com.apple.driver.AppleSMBusPCI	1.0.14d1
com.apple.driver.X86PlatformPlugin	1.0.0
com.apple.driver.IOPlatformPluginFamily	6.0.0d8
com.apple.AppleGraphicsDeviceControl	3.30.12
com.apple.iokit.IOAcceleratorFamily2	404.8
com.apple.iokit.IOSurface	255.4.2
com.apple.iokit.IOSlowAdaptiveClockingFamily	1.0.0
com.apple.driver.AppleBacklightExpert	1.1.0
com.apple.iokit.IONDRVSupport	530.51
com.apple.iokit.IOGraphicsFamily	530.59
com.apple.driver.usb.IOUSBHostHIDDevice	1.2
com.apple.driver.DiskImages.KernelBacked	493.0.0
com.apple.driver.usb.cdc	5.0.0
com.apple.driver.usb.networking	5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice	1.2
com.apple.filesystems.hfs.encodings.kext	1
com.apple.driver.AppleXsanScheme	3
com.apple.iokit.IOAHCIBlockStorage	301.250.5
com.apple.driver.AppleUSBHostMergeProperties	1.2
com.apple.iokit.IO80211Family	1200



EOF
Model: MacBookPro13,3, BootROM 251.0.0.0.0, 4 processors, Intel Core i7, 2.59 GHz, 16 GB, SMC 2.38f7
Graphics: Intel HD Graphics 530, Intel HD Graphics 530, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR4, 2400 MHz, Corsair, CMSX16GX4M2A2400C16
Memory Module: BANK 1/DIMM0, 8 GB, DDR4, 2400 MHz, Corsair, CMSX16GX4M2A2400C16
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x24), Broadcom BCM43xx 1.0 (7.77.61.1 AirPortDriverBrcmNIC-1305.2)
Bluetooth: Version 6.0.10f1, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: Crucial_CT525MX300SSD1, 525.11 GB
USB Device: USB 3.0 Bus
USB Device: Integrated_Webcam_HD
USB Device: BCM2045A0
USB Device: USB Receiver
Thunderbolt Bus: 

 

Share this post


Link to post
Share on other sites
Advertisement
15 minutes ago, vit9696 said:

Ok, please upload AppleIntelSKLGraphicsFramebuffer.kext from /S/L/E somewhere.

emmm...I think the panic was generated by [Boot macOS Install from xxxxx], not from [Boot macOS from xxxxx], where should I get the AppleIntelSKLGraphicsFramebuffer.kext ?

 

I mount the BaseSystem.dmg

$ cd /macOS\ Install\ Data
$ sudo hdiutil attach Locked\ Files/BaseSystem.dmg
$ cd /Volumes/macOS\ Base\ System/System/Library/Extensions
$ cp -R AppleIntelSKLGraphicsFramebuffer.kext ~/Downloads

then copy from /S/L/E:

AppleIntelSKLGraphicsFramebuffer.kext.zip

Edited by darkhandz
complete command line

Share this post


Link to post
Share on other sites
20 minutes ago, vit9696 said:

Awesome work, the panic gone away.

I can get into the 10.14.4 db2 installation and finished the update, thanks for your help :)

Edited by darkhandz

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By noisegate
      Hi,
       
      I use AppleALC v1.3.5, I can see the device in system info but no sound. Any idea?
       
      Thanks!
       
    • By olvko
      As I found no binary kext for DiskArbitrationFixup Lilu plugin from https://github.com/Goldfish64/DiskArbitrationFixup, I compiled current version. Attached below, as it may be useful for other people.
       
      This Lilu plug-in disables error "The disk you inserted was not readable by this computer" after macOS boot in case you have eg. Linux partitions in the same computer.
       
      Compiled under macOS 10.14.3 without debugging symbols against Lilu 1.3.4 headers. Requires Lilu.kext (https://github.com/acidanthera/Lilu) alongside to work.
       
      I do not give any warranty for its work and I am not an author of original code.
      DiskArbitrationFixup-08032019.zip
    • By poles89
      Hi guys,
       
      Though native graphics acceleration is supported on i3 from Mojave, I'm not able to manage to get it.
       
      This is my system configuration :
      Motherboard:  Asus Prime H370-Plus
      CPU: i3-8100 (UHD 630)
      OS: Mojave 10.14.2
       
      I'm trying every possible way to get full graphics acceleration. But whatever I try it shows only 4MB video memory or leads to Kernal Panic. Here are some ways I have tried so far:
       
      Prerequisites: 
      Installed latest Lilu+WEG on L/E. set DMVT prealloc to 64MB on bios.  
      Option 1: IntelGFX-> 0x3E928086, ig-platform-id-> 0x3E9B0007, Inject Intel = true. Output:  Kernal Panic
      Option 2: Blank IntelGFX, blank ig-platform-id, Inject Intel = false Output:  Kernal Panic
      Option 3:  IntelGFX-> 0x3E928086, ig-platform-id-> 0x5912000, Inject Intel = true.  Output: Booted Successfully but no graphics acceleration.
                     I knew that ig-platform-id-> 0x5912000 doesn't work in mojave and its works only for high sierra but I set this because with this ig-platform-id I can boot. Another way I can boot it by
                     setting invalid Fake IntelGFX value like 0x12345678.
      Option 4:  Downloaded Intel FBPatcher & followed this guide. But as I opened the app, its shows like this:
       
                     
                    
                     It clearly indicates it neither can detect Intel CPU generation nor GPU memory (currently shows 0 MB). I changed to different PlatformId from the drop down but no improvement. Anyway I
                     applied a patch with SMBIOS ->Macmini8,1 by someione's recommendation . I attached a config file (config_fbpather.plist) for this. Output:  Kernal Panic
       
      I have tried the upper mentioned methods with SMBIOS like  iMac14,2 / iMac18[1,2,3]  and Macmini8,1. I'm using HDMI port for display output. Now I don't know whats wrong with theses methods but maybe someone can help me to figure out this problem. I have also attached those config.plist files.
       
      Thanks in advance.
       
      config_fakeid_0x3E928086.plist
      config_fbpatcher.plist
      config_fbpatcher_with_device_id.plist
      config_platform-id_0x59120000.plist
    • By headkaze
      Framebuffer patching in Mojave
      Binary patching framebuffers using KextsToPatch in Clover is no longer a viable method in Mojave for Skylake and above. Now you need to use Lilu + WhateverGreen.
       
      Not just for Mojave
      This method of framebuffer patching is not only required for Mojave we recommend it for all previous and future releases of macOS.
       
      Coffee Lake Users
      Please note that the new WhateverGreen will not work with fake Kaby Lake platform-id's. You will need to have either macOS 10.14 Beta 4 (18A336e) or macOS High Sierra 10.13.6 (17G2112). The latter is a special build only available to MacBookPro15,1 or MacBookPro15,2 board id's. You can create a macOS High Sierra 10.13.6 (17G2112) installer by running installinstallmacos.py. (Update: vit9696 added back ability to fake Kaby Lake platform-id's)
       
      Lilu + WhateverGreen
      WhateverGreen is going to replace all the other video patching plugins for Lilu (it currently has merged WhateverGreen, IntelGraphicsFixup, NvidiaGraphicsFixup, Shiki and CoreDisplayFixup). Others will likely follow (such as AppleALC, HibernationFixup and IntelGraphicsDVMTFixup). This is aiming to be the all-in-one solution for video.
       
      Preliminary
      1. Remove:
      - FakePCIID_Intel_HD_Graphics
      - IntelGraphicsFixup
      - NvidiaGraphicsFixup
      - CoreDisplayFixup
      - Shiki
      2. Turn off all graphics injections in Clover:
      - config.plist/Graphics/Inject/ATI=NO
      - config.plist/Graphics/Inject/Intel=NO
      - config.plist/Graphics/Inject/NVidia=NO
      - config.plist/Graphics/ig-platform-id=
      - config.plist/Devices/FakeID/IntelGFX=

      3. Disable DSDT Clover fixes:
      - AddHDMI
      - FixDisplay
      - FixIntelGfx
      - AddIMEI
      4. Disable UseIntelHDMI
      5. Remove boot argument: -disablegfxfirmware
      6. Remove any IGPU and HDMI entries from:
      - config.plist/Devices/Arbitrary
      - config.plist/Devices/Properties
      - config.plist/Devices/AddProperties
      7. Remove any IGPU and HDMI related SSDT and DSDT from:
      - CLOVER/ACPI/patched
      8. Renaming GFX0 -> IGPU
      - WhateverGreen will do this automatically (see caveat below)
      - Be aware that WhateverGreen does not rename all instances of GFX0 -> IGPU but should be okay in most cases
      - You may need to include Clover GFX0 -> IGPU rename for other kexts or ACPI patching that require it
       
      Compile Lilu + WhateverGreen
      Download WhateverGreen. Make sure you place the debug version of Lilu into the root of WhateverGreen before you compile. Install Lilu and WhateverGreen kext's into the usual place. Compile WhateverGreen as debug if you want to view debug output.
       
      Having trouble compiling?
      If you're having trouble compiling you can download the official release binaries or download my (unsupported) build_lilu.sh shell script and run it in a folder to download and build Lilu + WhateverGreen using Xcode automatically. I recommend you try the debug versions first (place them into Clover's EFI/Clover/kexts/Other folder).
       
      Get the device path of your IGPU:
      Download and use the gfxutil tool like so:
      $ ./gfxutil -f IGPU DevicePath = PciRoot(0x0)/Pci(0x2,0x0) ig-platform-id
      For the AAPL,ig-platform-id (AAPL,snb-platform-id for Sandy Bridge) entry Clover requires this value to be in Data format so you need to reverse the bytes. So if you want your platform-id to be 0x3EA50009 first reverse the bytes (0900A53E) then use Xcode's plist editor to add the values to Clover's config.plist.

       
      What ig-platform-id should I use for my system?
      You should choose one that is the closest match to your system. I recommend you do some research on this before choosing one. See post #2 for available options. More info can be found here.
       
      You can determine the generation of your CPU by the first digit after the hyphen.
      Examples:
      - Intel(R) Core(TM) i5-2760QM (Gen 2)
      - Intel(R) Core(TM) i7-5257U CPU @ 2.70GHz (Gen 5)
      - Intel(R) Core(TM) m3-6Y30 (Gen 6)
      - Intel(R) Core(TM) i5-8350U (Gen 8)
       
      Spoofing Intel CPU Gen
      If you need to spoof a different Intel CPU generation you can use the lilucpu=N boot flag. The N refers to the following Intel generations:
      4    SandyBridge 5    IvyBridge 6    Haswell 7    Broadwell 8    Skylake 9    KabyLake 10   CoffeeLake To spoof a CPU you will need to set a valid device-id in your GPU entry in Devices/Properties for the appropriate Intel generation.
       
      Eg. Spoofing Skylake (lilucpu=8 boot flag with device-id=0x16190000), Kaby Lake (lilucpu=9 boot flag with device-id=0x12590000).
       
      Here are some recommended frames:
       
      Gen 2: Sandy Bridge (Intel HD Graphics 2000/3000)
      - S/L/E/AppleIntelSNBGraphicsFB.kext
      - Support started with OS X 10.7.x and ended with macOS 10.13.6
      - Metal support is not available
      - device-id: 0x0102 0x0106 0x010A 0x0112 0x0116 0x0122 0x0126
      - AAPL,snb-platform-id (desktop): 0x00030010 (default)
      - AAPL,snb-platform-id (laptop): 0x00010000 (default)
       
      Gen 3: Ivy Bridge (Intel HD Graphics 2500/4000)
      - S/L/E/AppleIntelFramebufferCapri.kext
      - Support started with OS X 10.8.x
      - device-id: 0x0152 0x0156 0x0162 0x0166
      - AAPL,ig-platform-id (desktop): 0x0166000A (default), 0x01620005
      - AAPL,ig-platform-id (laptop): 0x01660003 (default), 0x01660009, 0x01660004
       
      Gen 4: Haswell (Intel HD Graphics 4200-5200)
      - S/L/E/AppleIntelFramebufferAzul.kext
      - Support started with OS X 10.9.x
      - device-id: 0x0D26 0x0A26 0x0A2E 0x0D22 0x0412
      - AAPL,ig-platform-id (desktop): 0x0D220003 (default)
      - AAPL,ig-platform-id (laptop): 0x0A160000 (default), 0x0A260005 (recommended)
       
      Gen 5: Broadwell (Intel HD Graphics 5300-6300)
      - S/L/E/AppleIntelBDWGraphicsFramebuffer.kext
      - Support started with OS X 10.10.2
      - device-id: 0x0BD1 0x0BD2 0x0BD3 0x1606 0x160E 0x1616 0x161E 0x1626 0x1622 0x1612 0x162B
      - AAPL,ig-platform-id (desktop): 0x16220007 (default)
      - AAPL,ig-platform-id (laptop): 0x16260006 (default)
       
      Gen 6: Skylake (Intel HD Graphics 510-580)
      - S/L/E/AppleIntelSKLGraphicsFramebuffer.kext
      - Support started with OS X 10.11.4
      - device-id: 0x1916 0x191E 0x1926 0x1927 0x1912 0x1932 0x1902 0x1917 0x193B 0x191B
      - AAPL,ig-platform-id (desktop): 0x19120000 (default)
      - AAPL,ig-platform-id (laptop): 0x19160000 (default)
       
      Gen 7: Kaby Lake (Intel HD Graphics 610-650)
      - S/L/E/AppleIntelKBLGraphicsFramebuffer.kext
      - Support started with macOS 10.12.6
      - device-id: 0x5912 0x5916 0x591B 0x591C 0x591E 0x5926 0x5927 0x5923 0x87C0
      - AAPL,ig-platform-id (desktop): 0x59160000 (default)
      - AAPL,ig-platform-id (laptop): 0x591B0000 (default)
       
      Gen 8: Coffee Lake (Intel UHD Graphics 630)
      - S/L/E/AppleIntelCFLGraphicsFramebuffer.kext
      - Support started with macOS 10.13.6 (17G2112) / 10.14 beta 4 (18A336e)
      - device-id: 0x3E9B 0x3EA5 0x3E92 0x3E91
      - AAPL,ig-platform-id (desktop): 0x3EA50000 (default), 0x3E9B0007 (recommended)
      - AAPL,ig-platform-id (laptop): 0x3EA50009 (default)
       
      Framebuffer Patching
      WhateverGreen does most of the work automatically for you and in most cases you do not need any extra Framebuffer Patching. At the minimum though you should choose an ig-platform-id suitable for your system and place it in config.plist/Devices/Properties like this:

      Here are some reasons why you might need extra Framebuffer Patching:
      - Setting DVMT for those who can't set it above 32 MB in BIOS (framebuffer-stolenmem / framebuffer-fbmem)
      - Setting higher VRAM for 4K users who experience graphical glitches (framebuffer-unifiedmem)
      - Disabling eGPU (disable-external-gpu)
      - Enable pixel clock patch for 4K support (enable-hdmi20)
      - Disabling connectors to enable sleep (framebuffer-pipecount / framebuffer-portcount / framebuffer-conX-type=-1)
      - Removing CNConnectorAlwaysConnected flag for eDP laptop screens on < 10.13.6 (framebuffer-con0-flags=0x00000090)
      - Changing connector types to match your systems ports (framebuffer-conX-type)
       
      Framebuffer Patching Types
      We have three different types of patches:
       
      1. Arbitrary (Recommended)
      framebuffer-patch-enable (required to enable below) framebuffer-framebufferid (optional; defaults to current platform-id) (all below are optional) framebuffer-mobile framebuffer-pipecount framebuffer-portcount framebuffer-memorycount framebuffer-stolenmem framebuffer-fbmem framebuffer-unifiedmem framebuffer-cursormem (Haswell only) framebuffer-camellia framebuffer-flags framebuffer-conX-enable (required to enable below) framebuffer-conX-index framebuffer-conX-busid framebuffer-conX-pipe framebuffer-conX-type framebuffer-conX-flags 2. All Data
      framebuffer-conX-enable (required to enable below) framebuffer-conX-alldata 3. Find / Replace
      framebuffer-patchX-enable (required to enable below) framebuffer-patchX-framebufferid (optional; defaults to current platform-id) framebuffer-patchX-find framebuffer-patchX-replace framebuffer-patchX-count (optional; defaults to 1) You should place your patches in config.plist/Devices/Properties in Clover config.plist.
       
      Here are some example patches:
      - 32MB BIOS, 19MB stolen (framebuffer) 9MB fbmem (cursor) 2048MB unifiedmem (vram)

       
      - Pipe / Port Count 3 to 2
      - Connector 1 DP to HDMI
      - Connector 2 Disable

       
      Here is an example of the All Data method:

       
      Here is an example of the Find / Replace method:

       
      Framebuffer Dumps
      There are two ways to dump your framebuffer data (both require WhateverGreen + Lilu debug versions):
       
      1. Using -igfxdump boot flag to dump IGPU framebuffer kext to /AppleIntelFramebuffer_X_Y (root of your boot drive)
       
      There are several ways of reading this dump:
      - Using 010 Editor along with the IntelFramebuffer.bt template
      - Using Hackintool File->Open menu
       
      2. Using -igfxfbdump boot flag to dump native and patched framebuffer table to ioreg at IOService:/IOResources/WhateverGreen
       
      There are several ways of reading this dump:
      - Using dump_platformlist.sh shell script
      - Using Hackintool File->Import->IOReg Dump menu
       
      3. Using Hackintool Framebuffer->macOS 10.14 menu
       
      Debug Output
      To get debug output from Lilu use the -liludbgall liludump=60 boot flags. You will need to compile Lilu and WhateverGreen as debug for both of these flags to work. Log files should be located at /var/log/Lilu_*.
       
      To view debug paste the following into Terminal (weglog.txt will output to your home directory):
      log show --predicate 'process == "kernel" AND (eventMessage CONTAINS "WhateverGreen" OR eventMessage CONTAINS "Lilu")' --style syslog --source --last boot >weglog.txt Getting Help

      To help the users of this forum diagnose issues with your configuration please generate a Lilu debug log and then run gen_debug.sh to generate a folder of debug files you can attach to a forum post requesting help.

      Credits
      - vit9696 and lvs1974 for WhateverGreen (Full Credits) and Lilu (Full Credits)
      - Andrey1970 for his guide on applelife.ru
      - RehabMan for all data patching method, ioreg framebuffer dump and other contributions
       


    • By EduardoMenezes
      Good evening, friends of InsanelyMac.
      I have an Acer Aspire E5-571 notebook with Intel processor and Intel Graphics 5500 hd graphics card. When I was using the Sierra, the video card was recognized without problems. Now that I'm using Mojave I can not get the acceleration to work.
      I've been researching something about having to use Lilu.kext and whatevergreen.kext but I do not have enough knowledge to solve this problem.
      I need the help of someone who can explain to me how to solve this acceleration problem. I'm sure it will be of great value to other users like me.
      Thank you very much.

×