RieGan / Ideapad-S340-15iwl-Hackintosh

Tutorial and configuration about creating hackintosh using OpenCore for Lenovo Ideapad S340-15iwl
11 stars 1 forks source link
hackintosh hackintosh-laptop lenovo-hackintosh opencore opencore-config

Ideapad-S340-15iwl-Hackintosh

OpenCore MacOS-Stable STATUS MacOS-Stable STATUS

Introduction

This is my second hackintosh project. This hackintosh configuration is built for Lenovo Ideapad S340-15iwl. This repository is intended for educational purpose. Personally, I don't have much money for buying mac device, so... this is my approach.

Disclaimer

Please read entire guide from Dortania OpenCore Guides and this ReadMe before you using this config. I am not responsible for any damage. If you want to improve this repo, please make issue or pull request. Any help would be greatly appreciated.

Laptop Configuration

SMBIOS: MacBookPro15,4

Hardware

Category Component
CPU Intel i5-8265u
GPU UHD 620
NVME WD SN520
Wireless Card BCM93450ZAE

BIOS Configuration

ALCN33WW(V2.10) Settings Value
fastboot disabled
Secure Boot disabled
Intel PTT disabled
CSM disabled
SATA Mode AHCI
VT-d disabled
Intel SGX Mode disabled
Above 4G decoding disabled
CFG Lock disabled

Kext

Name Version
AirportBrcmFixup 2.1.5
AppleALC 1.7.2
BrcmPatchRAM 2.6.2
BrightnessKeys 1.0.2
CPUFriend 1.2.5
NVMeFix 1.0.9
VoodooI2C 2.7
VoodooPS2 2.2.8
Lilu 1.6.0
VirtualSMC 1.2.9
WhateverGreen 1.5.9

Advanced BIOS Menu

Fully power off the laptop. Enter the BIOS by pressing F2 at boot. Power off the laptop again. Quickly enter the following code:

     F1 → 1 → Q → A → Z

     F2 → 2 → W → S → X

     F3 → 3 → E → D → C

     F4 → 4 → R → F → V

     F5 → 5 → T → G → B

     F6 → 6 → Y → H → N

Power on the laptop while pressing F2 at boot. You'll see a lot of debug options. Don't mess with them. We only need to change this settings.

Config How-to
CFG-LOCK Advanced → Power & Performance → CPU-Power Management Control → CPU Lock Configuration → CFG Lock → Disabled
Above 4G decoding Advanced → System Agent Conf → Above 4GB MMIO BIOS assigment -> disabled
VT-d Advanced → System Agent Conf → VT-d → disabled

Exit and Save, and your laptop is ready to install.

OpenCore Config Before Installation

1 : Creating USB Installation - open

2 : Disable dGPU - open

If your laptop have discrete GPU, disable it first. MacOS Doesn't have support for those laptop's dGPU

3 : Wireless Card Configuration

Using ProperTree open config.plist

  PlatformInfo → Generic → MLB = GenSMBIOS:Board Serial

  PlatformInfo → Generic → ROM = Your Wireless Card MAC Address without ":"

  PlatformInfo → Generic → SystemSerialNumber = GenSMBIOS:Serial

  PlatformInfo → Generic → SystemUUID = GenSMBIOS:SmUUID

5 : Copy your edited EFI folder to USB

6 : Have fun with your installation

Working & Not-Working

Working

Not-Working

Fixing Audio Jack after sleep

This is common problem for ALC 295. After sleep, usually OS (windows/linux) send some signal to reactivate audio jack. But, in this case (hackintosh) that thing doesn't happen. So, we need to send that signal manually after every wakeup. Fortunately, we have tool to automated that.

Download ALCPlugFix for Ideapad S340 Iwl

Download the files from here

Extract and run

Extract the files and run install.sh from terminal

Import Config for ALC295

Drag and drop ALC295.plist to terminal

Restart

Audio jack problem solved after restart

Credits

This build wouldn't happen without these people:

Another Section

Post-install Recommendation

ACPI Patch