Contribute
Register

Lenovo Yoga 2 Pro HAckintosh

Status
Not open for further replies.

Attachments

  • EFI.zip
    4.7 MB · Views: 96
  • MacBook.zip
    1.3 MB · Views: 68
  • RehabMan.zip
    29.3 KB · Views: 76
Here we go!


Code:
13    2 0xffffff7f82870000 0x65000    0x65000    com.apple.driver.AppleACPIPlatform (3.1) <12 11 7 6 5 4 3 1>


no output


Code:
103    0 0xffffff7f82276000 0x3000     0x3000     com.apple.driver.AppleLPC (1.7.3) <102 12 5 4 3>

What is DVMT-prealloc set to? Make sure the framebuffer is patched to match it.

Also, you might try changing cursor bytes/framebuffer size. 0xa2e0008 uses 34mb/21mb (framebuffer/cursor). Maybe try 34mb/34mb. With more resolution than retina Macs, it may be necessary to have more cursor bytes memory.

Notes:
- GFX0 should be renamed to IGPU
- BCM94352HMB does not require whitelist patch
- MacBookPro11,x might be a better SMBIOS (because of retina class display) [likely doesn't matter though]
- FakePCIID can be used instead of AirportExtreme patch (both should not be used together)
- GenericUSBXHCI should be avoided
 
Thanks RehabMan,
DVMT-prealloc is set to 96 MB.

I will correct everything as you wrote and report soon.

BTW here is a patch for backlight control keys:
Code:
into method label _Q39 replace_content
    begin
    // Brightness Down\n
        Notify(\_SB.PCI0.LPCB.PS2K, 0x0205)\n
        Notify(\_SB.PCI0.LPCB.PS2K, 0x0285)\n
    end;
    into method label _Q38 replace_content
    begin
    // Brightness Up\n
        Notify(\_SB.PCI0.LPCB.PS2K, 0x0206)\n
        Notify(\_SB.PCI0.LPCB.PS2K, 0x0286)\n
    end;
 
Thanks RehabMan,
DVMT-prealloc is set to 96 MB.

0xa2e0008 assumes DVMT-prealloc 64mb.

Not sure how important it is for these to match, but it seems like something to try (patching frame buffer to match your setting). Easy enough to do with a Clover patch. There are examples in my config.plist files linked from my Clover guide.
 
Here we go again! It worked, thank you! Call me an idiot. I had it in my old config.plist, but deleted it in a delirium...

Code:
<key>KernelAndKextPatches</key>
<dict>
<key>KextsToPatch</key>
<array>
<dict>
<key>Comment</key>
<string>HD4400 Azul Framebuffer Size 96MB</string>
<key>Find</key>
<string>
08002e0a01030303000000040000200200005001
</string>
<key>Name</key>
<string>AppleIntelFramebufferAzul</string>
<key>Replace</key>
<string>
08002e0a01030303000000060000200200005001
</string>
</dict>
</array>
</dict>

Next problem: It takes about a minute until it goes to sleep and wakes up without a login and lost audio support.
 
...
Next problem: It takes about a minute until it goes to sleep and wakes up without a login and lost audio support.

Using Apple->Sleep?

Test for assertions prior to testing sleep:
Code:
pmset -g assertions

Any assertions preventing sleep must clear before sleep will begin.

Also, there is a 15-20sec delay built in from sleep request to sleep begin, even in the absence of any assertions.

If you have hibernation enabled, it will take additional time to write contents of ram to HDD/SSD.

Hibernation should be disabled:
Code:
sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage

As for lost audio on wake, install CodecCommander: https://github.com/RehabMan/EAPD-Codec-Commander

Not sure what you mean by "without a login"...
 
How do I activate it?

The ioreg | grep EngineOutput is AppleHDAEngineOutput@1B,0,1,1, but I can't find an option in info.plist where I can instert it.

Ignore out-of-date/obsolete README. Just install the kext as-is.
 
It works. I can't find any other problems.

Is there a software that allows touchscreen gestures like scrolling, zooming etc.?
 
Status
Not open for further replies.
Back
Top