- May 6, 2014
- Lenovo Ideapad 320-14ikb
- HD 620 (1920x1080)
- Mobile Phone
can I set dvmt total gfx to max
please tell me
please tell me
View attachment 303539
After my DW1560 WIFI module arrived, now everything turn to 99% perfect.
To exchange my promise, this guide will help you if you want to install 10.13 on the similar laptop.
First, thanks to @RehabMan and @cagalindo help for these days. This laptop can be easily installed if you follow the guide and few tips.
The few steps in this guide will follow cagalindo's guide
CPU: Intel Core i7 7500U RAM: 8GB DDR4 x 2 IGPU: Intel HD Graphics 620 DGPU: NVIDIA GeForce 940MX SSD: Sandisk X400 128GB M.2 SATA HDD: Seagate ST1000LM035 Audio: Realtek ALC256 Display: 15.6" AH-IPS (1920x1080) (Made by LG) Wireless/Bluetooth: Broadcom BCM94352Z Ethernet: Realtek RTL8111 Camera: NEC Camera (unknown model) Ports: 2 x USB 3.0 | 1 x USB 2.0 | 1 x HDMI | 1 x SD Card slot | 1 x 3.5mm audio combo jack
Note before install:
For my model, it came with Intel Wireless-AC 3165 module, which is not support by OS X. You need to use other NGFF model based wireless card if you want to get WIFI work.
- Full QE/CI for Intel HD620 (NVIDIA GPU will be disabled.)
- SATA info
- WIFI & Bluetooth (using DW1560)
- Battery info
- Laptop display
- HDMI video output
- Audio works with speaker/HDMI/3.5mm jack
- Keyboard / Trackpad / USB mouse
- Dual boot with Win10 (but in separate disk.)
- Brightness (with key control)
- CPU Power Management
- Heat sink fan (here means fan will not always stayed in low speed or no spin.)
- Film will get glitches if play DRM film from iTunes.
- Trackpad may disappeared sometimes when boot.
You can follow cagalindo's guide to setup BIOS.
Basically, you need to disable Intel VT-d, Secure Boot, and USB secure level.
Notice that sometimes BIOS will not show up your install USB in boot menu. To make USB boot, you can add USB EFI location manually in BIOS/Boot options.
(Note: Please plug your USB stick on the same port since you setup your EFI location in boot options.)
Below is the list that the kexts you should prepare for your installation.
Kexts needed to copy into CLOVER/kexts/others: FakeSMC SATA-100-series-unsupported RealtekRTL8111 USBInjectAll VoodooPS2Controller Lilu IntelGraphicsDVMTFixup VoodooI2C (Optional, only works if using patched DSDT.) VoodooI2CHID (Optional, only works if using patched DSDT.)
Install OS X:
For config.plist, note that you need to check these options or you will get error during OS X install.
Note that if you're going to install OS X on SSD, you may want to avoid APFS conversion during installation.
Please follow this guide to avoid that.
Also you may need SSDT-DiscreteSpoof.aml to avoid dual GPU issue.
You can follow the guide to generate one.
After OS X installation, remember to install CLOVER into your Mac EFI first.
Recommend select RC scripts (include mDSNResponser script) together during CLOVER installation to avoid system wake issue.
Copy kexts, UEFI files, and AML files from USB to disk, then test first to check it can boot from disk or not.
Below is post-installation, will need to install kexts.
Note that you have to install kexts in to /Library/Extensions, I recommend use KextBeast to install them.
All kexts or install tools can be found from ReHabMan's projects and this forum.
(Note: Kexts which put in EFI also need to install together. And DO NOT delete them after installation.
Or it would be a problem when doing OS X update in the future.)
Only HD 620 work in OS X, NVIDIA GPU won't
To make HD 620 work, install below kexts:
Also to disable NVIDIA GPU, you can follow this guide to disable it.Code:
Lilu FakePCIID FakePCIID_Intel_HD_Graphics IntelGraphicsFixup IntelGraphicsDVMTFixup
(Note: NVIDIA GPU will not totally disable if you just use SSDT-discreteSpoof)
(Note2: The guide also included how to patch your own DSDT, I suggest you patch your own DSDT from this guide.)
You can try setting higher DVMT pre-allocate size by hot patch the BIOS in here
IntelGraphicsDVMTFixup will not needed if already patched BIOS.
But note that patching BIOS is very dangerous, use at your own risk!
For ALC256, just install AppleALC.kext, and set layout-id to 13. (Or 56 if use a latest AppleALC.)
For HDMI audio, already set in my config.plist, you can follow it
For 3.5mm audio jack,
please follow here to get it work.
No needed to edit CodecCommander, just install it and put SSDT-ALC256.aml into ACPI/patched in CLOVER.
You can follow my config.plist to set layout-id and hda-gfx (for HDMI audio)
Here is a issue between HDMI display and laptop display. The laptop display may turn blank when you plug HDMI cable.
To fix this issue, you have to insert modified EDID for your laptop display. You can follow the steps from here.
(Attention! DO NOT use EDID file inside the link, please make one for yourself!)
Note: For #5 in the link of steps, you have another 2 options to place the patched EDID.
Follow the guide to build SSDT-PNLF.aml, then put into CLOVER/ACPI/patched
(Note: Idk why I got worked just use SSDT-PNLF and kext patch in config.plist. I didn't install AppleBacklightControl.kext)
For brightness key fix, follow the guide.
(Hint: The patch you need is Windows 10 _OSI patch and BRT6 patch inside the guide.)
Wireless / Bluetooth:
Install the following kexts to get them work.
FakePCIID_Broadcom_WIFI BrcmFirmwareRepo BrcmPatchRAM2 AirportBrcmFixup
And there're few patches need to set into config.plist, you can follow my file.
(Only BT needed.)
To do this, you have two options:
Choose one to make it work.
- Generate SSDT.aml by using ssdtPRGen.sh
- Set config.plist/ACPI/SSDT/Generate/PluginType=true
And set config.plist/CPU/Type=0x0705 (CPU Type for i7)
(Note: For option 2, only works if you're using a latest CLOVER by RehabMan.)
This laptop has USB wake issue which may cause laptop wake immediately when laptop went sleeps in 3~4 sec.
You can patch the DSDT from RehabMan's repo in MaciASL.
(Note: I use 0x6D Skylake patch to fix issue.)
Trackpad: (20180501 update)
In this new DSDT release has included patch that can make trackpad works as I2C mode. That means more gestures can use and smoother than PS2 mode.
To make it work, please follow the steps below:
First, we have to delete or using patch to avoid AppleIntelLpssI2C* occupied device when boot.
Choose one exclusively, I recommend using patch method.
- For deletion, remove AppleIntelLpssI2C*.kext in /S/L/E (may have to delete AppleHPM, too.)
- Enable the patch "Disable AppleIntelLpssI2C" & "Disable AppleIntelLpssI2CController" in config.plist
Note that for deletion method, please backup the kexts first before remove them.
Then install VoodooI2C & VoodooI2CHID into /L/E (kexts can be found here.), and reboot.
For how to patch DSDT to make trackpad work, please follow author's guide and additional works.
Also even it worked, few gestures will be different to original OS X. Some gestures are hard-coded and mapping to hotkeys.
To know how to configure, please follow this guide.
Note: Sometimes trackpad would not work when get into OS X. Please reboot again may turn it back.
I think it's almost done for here.
Really appreciate to people who help me to solve some issues.
Thanks to RehabMan & cagalindo again, also thanks to @feartech .