- Joined
- Jan 11, 2016
- Messages
- 21
- Motherboard
- Lenovo Yoga 2 13" (Clover v3330)
- CPU
- Intel i5 4210U / 8 Series Chipset
- Graphics
- Intel HD 4400 / 1920x1080
- Mac
- Classic Mac
- Mobile Phone
This guide assumes you have High Sierra already installed on your Yoga and you can boot into it (default installation guide should work https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/ ).
I installed High Sierra with NO APFS conversion option.
https://www.tonymacx86.com/threads/...n-high-sierra-update-or-fresh-install.232855/
The guide is about solving problems after the install.
My hardware:
Working:
First of all you will need to install/update Clover to this version: https://www.tonymacx86.com/resources/clover-uefi-boot-mode-v2-4k-r4522.393/
After the install, mount EFI partition and replace /EFI/CLOVER/config.plist with RehabMan's one for HD4400.
https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/config_HD4600_4400_4200.plist
GPU problems
inject device-id=0x0412 is already present and activated in RehabMan's config plist. You just have to install the latest FakePCIID.kext and FakePCIID_Intel_HD_Graphics.kext which can be found here:
https://bitbucket.org/RehabMan/os-x-fake-pci-id/downloads
Lag shortly after boot
In config.plist/KernelAndKextPatches/KextsToPatch disable (by setting Disabled to true) "Enable 9MB cursor bytes, 0x0a260006" patch.
Add these two patches:
9MB cursor bytes (vbo), 2 ports only (RehabMan)
disable 0204 port, change 0105 DP port to 0204 HDMI (RehabMan)
Can be found in attached config.plist or here.
Graphics boot glitch (garbled screen)
In config.plist/KernelAndKextPatches/KextsToPatch add patch:
Boot graphics glitch, 10.13 beta (based on denskop patch)
Can be found in attached config.plist or here.
Wi-Fi and Bluetooth problems
If you have Broadcom Wi-Fi just follow this guide:
https://www.tonymacx86.com/threads/broadcom-wifi-bluetooth-guide.242423/#post-1664577
Battery indication problems
Battery indication should work without DSDT patching by only installing ACPIBatteryManager.kext available here:
https://bitbucket.org/RehabMan/os-x-acpi-battery-driver/downloads/
Advice: If after any sort of experiments your battery indication is behaving unexpectedly (drops battery level from xx% to 0%, showing not charging or slow charging status, even under Windows) you will have to reset your EC by opening notebook's case, physically detaching the battery and pressing power button for 30 seconds.
Pathcing laptop DSDT (MUST READ)
All the solutions above are fully or partially based on patching laptop DSDT. Here is a link to the guide:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
For Lenovo Yoga 2 13, you should NOT use refs.txt while disassembling and should use the latest iasl and MaciASL from RehabMan.
Patches I applied to DSDT:
"Fix _WAK Arg0 v2"
"HPET Fix"
"SMBUS Fix"
"IRQ Fix"
"RTC Fix"
"OS Check Fix (Linux)"
"Fix Mutex with non-zero SyncLevel"
"Audio layout 28" (see Audio problems below)
Brightness buttons patch (see Brightness problems below)
"USB3 _PRW 0x0D (instant wake)" (see Sleep problems below)
Audio problems
To get ALC235 working there is a solution from vit9696. Download the latest AppleALC.kext and Lilu.kext and put them CLOVER/kexts/Other folder. The reason to put them there is because AppleALC should load earlier than AppleHDA. AppleALC requires Lilu to work.
AppleALC.kext: https://github.com/vit9696/AppleALC/releases
Lilu.kext: https://github.com/vit9696/Lilu/releases
You will also need to apply DSDT "Audio Layout" patch. layout-id should be set to 28. Here is a DSDT patch for this:
Brightness problems
To fix brightness controls use this guide: https://www.tonymacx86.com/threads/...rol-using-applebacklightinjector-kext.218222/
Then, for F11 (_Q11) and F12 (_Q12) keyboard buttons to work as brightness controllers you will have to edit your DSDT. Apply this patch:
Sleep problems
To fix sleep problems I had to only apply "USB3 _PRW 0x0D (instant wake)" patch, because that was the only wake reason (EH02 XHC) in my case. If your laptop will have instant wake problem you can search the wake reason using: log show | grep -i "Wake reason". I also advise you to change SMBIOS to MacBookAir6,2 in config.plist.
Big thanks to RehabMan for all the guides and solutions!
I installed High Sierra with NO APFS conversion option.
https://www.tonymacx86.com/threads/...n-high-sierra-update-or-fresh-install.232855/
The guide is about solving problems after the install.
My hardware:
- CPU: Intel Core i5-4200U
- GPU: Intel HD Graphics 4400
- Wi-Fi: Broadcom BCM4352
- Audio: Realtec ALC235
- Storage: M2 SSD (Samsung MZNTE512HMJH)
Working:
- CPU (including native power management)
- GPU (with no glithes and lags after boot)
- WiFi and Bluetooth
- Audio
- USB ports (USB 3.0 too)
- Battery indication
- Brightness and brightness buttons
- Touchscreen
- Webcam
- Sleep
- HDMI out
- HDMI audio
First of all you will need to install/update Clover to this version: https://www.tonymacx86.com/resources/clover-uefi-boot-mode-v2-4k-r4522.393/
After the install, mount EFI partition and replace /EFI/CLOVER/config.plist with RehabMan's one for HD4400.
https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/config_HD4600_4400_4200.plist
GPU problems
inject device-id=0x0412 is already present and activated in RehabMan's config plist. You just have to install the latest FakePCIID.kext and FakePCIID_Intel_HD_Graphics.kext which can be found here:
https://bitbucket.org/RehabMan/os-x-fake-pci-id/downloads
Lag shortly after boot
In config.plist/KernelAndKextPatches/KextsToPatch disable (by setting Disabled to true) "Enable 9MB cursor bytes, 0x0a260006" patch.
Add these two patches:
9MB cursor bytes (vbo), 2 ports only (RehabMan)
disable 0204 port, change 0105 DP port to 0204 HDMI (RehabMan)
Can be found in attached config.plist or here.
Graphics boot glitch (garbled screen)
In config.plist/KernelAndKextPatches/KextsToPatch add patch:
Boot graphics glitch, 10.13 beta (based on denskop patch)
Can be found in attached config.plist or here.
Wi-Fi and Bluetooth problems
If you have Broadcom Wi-Fi just follow this guide:
https://www.tonymacx86.com/threads/broadcom-wifi-bluetooth-guide.242423/#post-1664577
Battery indication problems
Battery indication should work without DSDT patching by only installing ACPIBatteryManager.kext available here:
https://bitbucket.org/RehabMan/os-x-acpi-battery-driver/downloads/
Advice: If after any sort of experiments your battery indication is behaving unexpectedly (drops battery level from xx% to 0%, showing not charging or slow charging status, even under Windows) you will have to reset your EC by opening notebook's case, physically detaching the battery and pressing power button for 30 seconds.
Pathcing laptop DSDT (MUST READ)
All the solutions above are fully or partially based on patching laptop DSDT. Here is a link to the guide:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
For Lenovo Yoga 2 13, you should NOT use refs.txt while disassembling and should use the latest iasl and MaciASL from RehabMan.
Patches I applied to DSDT:
"Fix _WAK Arg0 v2"
"HPET Fix"
"SMBUS Fix"
"IRQ Fix"
"RTC Fix"
"OS Check Fix (Linux)"
"Fix Mutex with non-zero SyncLevel"
"Audio layout 28" (see Audio problems below)
Brightness buttons patch (see Brightness problems below)
"USB3 _PRW 0x0D (instant wake)" (see Sleep problems below)
Audio problems
To get ALC235 working there is a solution from vit9696. Download the latest AppleALC.kext and Lilu.kext and put them CLOVER/kexts/Other folder. The reason to put them there is because AppleALC should load earlier than AppleHDA. AppleALC requires Lilu to work.
AppleALC.kext: https://github.com/vit9696/AppleALC/releases
Lilu.kext: https://github.com/vit9696/Lilu/releases
You will also need to apply DSDT "Audio Layout" patch. layout-id should be set to 28. Here is a DSDT patch for this:
Code:
into method label _DSM parent_label HDEF remove_entry;
into device label HDEF insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"layout-id", Buffer() { 28, 0x00, 0x00, 0x00 },\n
"hda-gfx", Buffer() { "onboard-1" },\n
"PinConfigurations", Buffer() { },\n
//"MaximumBootBeepVolume", 77,\n
})\n
}\n
end;
into method label _DSM parent_label HDAS remove_entry;
into device label HDAS insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"layout-id", Buffer() { 28, 0x00, 0x00, 0x00 },\n
"hda-gfx", Buffer() { "onboard-1" },\n
"PinConfigurations", Buffer() { },\n
//"MaximumBootBeepVolume", 77,\n
})\n
}\n
end;
Brightness problems
To fix brightness controls use this guide: https://www.tonymacx86.com/threads/...rol-using-applebacklightinjector-kext.218222/
Then, for F11 (_Q11) and F12 (_Q12) keyboard buttons to work as brightness controllers you will have to edit your DSDT. Apply this patch:
Code:
into method label _Q11 replace_content
begin
// Brightness Down\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x0405)\n
end;
into method label _Q12 replace_content
begin
// Brightness Up\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x0406)\n
end;
Sleep problems
To fix sleep problems I had to only apply "USB3 _PRW 0x0D (instant wake)" patch, because that was the only wake reason (EH02 XHC) in my case. If your laptop will have instant wake problem you can search the wake reason using: log show | grep -i "Wake reason". I also advise you to change SMBIOS to MacBookAir6,2 in config.plist.
Big thanks to RehabMan for all the guides and solutions!