Contribute
Register

Lenovo Yoga 2 Pro HAckintosh

Status
Not open for further replies.
I'm working on it! :D

But for now, I put togther all the DSDT and SSDT patches which I used:

DSDT:
Fix _WAK Arg0 v2 (RehabMan)
HPET Fix (RehabMan)
SMBUS Fix (RehabMan)
IRQ Fix (RehabMan)
RTC Fix (RehabMan)
OS Check Fix (Windows 8) (RehabMan)
Fix Mutex with non-zero SyncLevel (RehabMan)
Fix PNOT/PPNT (RehabMan)
Add IMEI (RehabMan)
7-series/8-series USB (RehabMan)
Lenovo Yoga Pro Battery (RehabMan and me)
Brightness Keys Yoga2Pro (RehabMan and me)
Rename GFX0 to IGPU (RehabMan)
Audio Layout 86 (RehabMan)

optional
+ Airport-Broadcom-BCM94352 (toleda)


SSDT0:
Rename GFX0 to IGPU (RehabMan)

SSDT3:
Remove _PSS placeholders (RehabMan)

SSDT7:
Rename GFX0 to IGPU (RehabMan)
Brightness fix (Haswell) (RehabMan)
 

Attachments

  • patches.zip
    9 KB · Views: 118
I'm working on it! :D

But for now, I put togther all the DSDT and SSDT patches which I used:

DSDT:
Fix _WAK Arg0 v2 (RehabMan)
HPET Fix (RehabMan)
SMBUS Fix (RehabMan)
IRQ Fix (RehabMan)
RTC Fix (RehabMan)
OS Check Fix (Windows 8) (RehabMan)
Fix Mutex with non-zero SyncLevel (RehabMan)
Fix PNOT/PPNT (RehabMan)
Add IMEI (RehabMan)
7-series/8-series USB (RehabMan)
Lenovo Yoga Pro Battery (RehabMan and me)
Brightness Keys Yoga2Pro (RehabMan and me)
Rename GFX0 to IGPU (RehabMan)
Audio Layout 86 (RehabMan)

optional
+ Airport-Broadcom-BCM94352 (toleda)


SSDT0:
Rename GFX0 to IGPU (RehabMan)

SSDT3:
Remove _PSS placeholders (RehabMan)

SSDT7:
Rename GFX0 to IGPU (RehabMan)
Brightness fix (Haswell) (RehabMan)

Looks fine except that WiFi DSDT patch is not needed.
 
I use it instead of FakePCIID.

IMHO, FakePCIID is a better solution:
- avoids a DSDT patch which is difficult for novices to customize
- avoids patching for Airport branding (the patch can be OS X version dependent)

eg. it fixes two things at once:
- lack of support for the device in native Info.plist
- lack of Airport branding (in the event of using normal injector kext or DSDT _DSM inject)
 
As nobody will use Yosemite in 1-2 month, I will try to update to El Capitan and write my tutorial after it. Is there anything I have to care for (aside from updating kexts and resolution repatching)?
 
As nobody will use Yosemite in 1-2 month, I will try to update to El Capitan and write my tutorial after it. Is there anything I have to care for (aside from updating kexts and resolution repatching)?

Well... you'll find out when you try to install it and begin working through the new problems...

Summary:
- SIP (new Clover and new config.plist flags to disable it)
- Clover kext injection is broken, install kexts to /S/L/E or /L/E
- USB stack is all new (need port injector kext customized for the USB configuration)
- may need FakePCIID_XHCIMux and additional DSDT patches to deal with new USB2 routing on XCHI controller
- new patches for various things (boot glitch, BT handoff)
- BrcmPatchRAM.kext no longer needed for some BT hardware (other BT hardware not working)
- BrcmBluetoothInjector.kext instead
- new version of ACPIBacklight.kext and revisions to the backlight patch
- IOKit patch is updated
- new AppleHDA patch required


I'm sure there will be more changes before final release...
 
Installation and first boot worked well with InjectIntel=No.


- IOKit patch is updated
The old one works great.


- new version of ACPIBacklight.kext and revisions to the backlight patch

I downloaded the latest Version of ACPIBacklight (today's version) and repatched my SSDT7.aml without success. Backlightcontrol doesn`t work at all.


- SIP (new Clover and new config.plist flags to disable it)
- new patches for various things (boot glitch, BT handoff)
- BrcmPatchRAM.kext no longer needed for some BT hardware (other BT hardware not working)
- BrcmBluetoothInjector.kext instead
Everything works great with your latest config.plist and the BT patch for 10.11



- USB stack is all new (need port injector kext customized for the USB configuration)
- may need FakePCIID_XHCIMux and additional DSDT patches to deal with new USB2 routing on XCHI controller
- new AppleHDA patch required
Will test it soon. MacIASL crashed when using HPET fix.
 
...
The old one works great.

Definitely it is updated: https://github.com/the-darkvoid/XPS9530-OSX/commit/39984bb112f31e3ff7e2f5964ab5fdd0c1662f68

. If you're using the-darkvoid's script, you'll notice no difference in procedure.

I downloaded the latest Version of ACPIBacklight (today's version) and repatched my SSDT7.aml without success. Backlightcontrol doesn`t work at all.

You probably have incorrect ACPIBacklight.kext or incorrect patch. Or both.

Download patchmatic: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2015-0107.zip
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
if [ -d ~/Downloads/RehabMan ]; then rm -R ~/Downloads/RehabMan; fi
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Note: It is easier if you use copy/paste instead of typing the commands manually.

Post contents of Downloads/RehabMan directory (as ZIP).

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
kextstat|grep -y applelpc

Also, post EFI/Clover folder.
 
Backlight works after the latest update to Beta 4. Unfortunally the 96 MB Framebuffer-Patch do not work in 10.11, but I patched AppleIntelFramebufferAzul.kext using AppleIntelFramebufferAzul.sh by Piker.
 
Status
Not open for further replies.
Back
Top