Updated: I purchused a Macbook Pro 16 and didn't use L340 anymore. This repository will not be maintain.
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 |
- GTX 1050 (Disabled)
- HDMI Port (it was connected with GTX 1050)
- Separate Trackpad patch from DSDT.aml for OpenCore.
-
Copy kexts in
Kexts
folders toCLOVER/kexts/Other
. -
If your laptop has 8GB RAM, you must change SMBIOS>Memory>Modules>Size in config.plist file to 8196.
-
If your hackintosh crash at booting, remove my DSDT.aml + SSDT-9-CB-01.aml and try again.
-
Copy kexts in
Kexts
folders toOC/Kexts
. -
If your hackintosh crash at booting, remove my DSDT.aml and try again.
-
Every changes, you must reload config: Open
OC/config.plsit
in ProperTree -> Press Cmd + Shift + R -> Choose OC folder.
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:
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).
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.
Headphone will be noise after wake up. To fix it, use my ALCPlugfix.
The audio have some minor issues, there are:
-
Input method doesn't switch from Internal Microphone to Line In when you pluged in Headphone. You must switch it manual.
-
Sometimes after wake up, no sound on Speaker or Headphone. You must open System Preferences->Sound->Input to make it work again.
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:
- Cable USB 3.0 to HDMI Unitek Y3702. I bought it with 30$.
- Usb 3.0 Naar Hdmi Converter Usb 2.0 Usb 3.0 Naar Hdmi Vga Dvi Converter Voor Windows 10/Mac Os. Displaylink Usb 3.0 Video Converter. Thanks to William Hoedjes who suggested and confirmed this worked.
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.
- tctien342 who supports me fix bugs.
- acidanthera for providing almost all kexts and drivers
- alexandred for providing VoodooI2C
- RehabMan for providing numbers of hotpatches and hotpatch guides
- EmotionalLove who implemented Polling mode for VoodooI2CSynaptics.kext
- xzhih who help enable HiDPI easier.
- Apple for macos
- Change from VoodooTSSync.kext to CpuTscSync.kext and set boot flag darkwake=0 to fix crash while long sleep.
- Update Bluetooth kext to get it work on Catalina.
- I known how to implement Quiet After Typing. The trackpad works as expect.
- The Bluetooth kexts cause slow boot and Wifi issues on Catalina. Remove it and update others before update to Catalina 10.15
-
This laptop has a buggy DSDT, so trackpad cannot use Interrupt mode. I tried to use Polling mode. Thanks to @EmotionalLove who implements Polling mode for VoodooI2CSynaptics.kext. Link here
-
Thanks to @tctien342 who found it.
-
Use below command to fix headphone noise after sleep. After run command, replug headphone.
hda-verb 0x19 SET_PIN_WIDGET_CONTROL 0x25
-
Note: Restart while plugged USB + sleep is persistent on Windows 10. It is seem DSDT bug.
- Patch _Q11 (Brightness down) + _Q12(Brightness up) to change brightness from keyboard
-
Use NoTouchID to fix slow/buggy when show enter password dialog (authentication).
-
Link: NoTouchId
- Custom
Usb inject all
to fix immediately wake up after sleeping. - Change Webcam and Bluetooth to type Internal (255).
- Patch USB3 _PRW 0x6D Skylake if need
-
Use kext
VoodooTSCSync
to fix laggy after waking up. Link: Rehabman version -
Update: Use CpuTscSync.kext instead of VoodooTSCSync.
- Disable dGPU for fix black screen + shutdown when sleeping. Use Rehadman guide.