khanhtran-cse / lenovo-ideapad-l340-hackintosh

43 stars 13 forks source link

Updated: I purchused a Macbook Pro 16 and didn't use L340 anymore. This repository will not be maintain.

Lenovo Ideapad L340 Gaming Hackintosh

Cover

System Specification

IdeaPad L340-15IRH Gaming specification:

Type Name Note
CPU Intel Core i5 9300H
Graphics Intel UHD Graphics 630 Disabled GTX 1050
Display 15.6in FullHD
RAM 16GB DDR4 Upgraded from 8GB DDR4
Wifi BCM94352Z - DW1560 Default Intel Wifi does't work.
NVME SSD Samsung SSD 970 EVO Plus 250GB No SSD default
SATA Disk WDC WD10SPZX-24Z10 1TB
USB 2 USB 3.1 + 1 USB 3.1 Type C
Trackpad Synaptics SYNA2B52
Audio Realtek ALC 257
BIOS version BGCN28WW - BGCN29WW
OSX version Catalina 10.15.5

Not working?

To do

  1. Separate Trackpad patch from DSDT.aml for OpenCore.

Installation notes - CLOVER

Installation notes - CLOVER

For trackpad

alt text

Some reasons prevented trackpad work on interrupt mode. I think it is a DSDT bug. So you must run trackpad on Polling mode. The latest VoodooI2CSynaptic.kext does support Polling mode.

Make sure that you changed device name in Info.plist file of VoodooI2CSynaptic.kext to your trackpad code. Example, my trackpad is Synaptic SYNA2B52:

Trackpad code

Note 1: If your trackpad don't work, please make sure this is run in Polling mode. For more detail, visit here

Update 1: I have implemented Quiet After Typing feature for Synaptic Trackpad to avoid unexpected tap while typing. You can use my version if you preferred. Link here

Update 2: I added code to my VoodooI2cSynaptic.kext to disable/enable trackpad via PrtSc key. If you want to disable/enable trackpad, you can press PrtSc key. Rarely, trackpad doesn't work after wake up, disable and re-enable make it work again (using PrtSc key).

Enable HiDPI

On the default resolution (1920x1080), text is too small to read (my experience). No way to change text size except change resolution. But if you change resolution without enable HiDPI, text is blurry.

To enable HiDPI, you can use one-key-hidpi. I tested different resolutions and only 1424x802 work properly after wake up.

hidpi

For Audio

Headphone will be noise after wake up. To fix it, use my ALCPlugfix.

The audio have some minor issues, there are:

Fix no sound after wake up

For HDMI

You cannot use HDMI because HDMI is connected with GTX 1050 that was disabled in DSDT. To resolve this problem, I bought a USB 3.0 to HDMI adapter (about 30$). The quality of Audio and Video is acceptable (Full HD - 60fps) .

Here is some adapters that support Mac OS/Windows/Linux:

After got it, you must download kext/driver for it from DisplayLink page.

Note: Almost USB type C to HDMI adapter will not work. The type C port of this laptop doesn't support DP - DISPLAYPORT. So you must use USB Type A to HDMI Adapter.

Credits

Fix bug log

Mar 2020

Mar 19 2020

Mar 8 2020

Mar 7 2020

Jan 15 2020 - Updated at Mar 8 2020

Dec 20 2019

Nov 18 2019

Oct 17 2019

Oct 16 2019