RieGan / Ideapad-S340-15iwl-Hackintosh

Tutorial and configuration about creating hackintosh using OpenCore for Lenovo Ideapad S340-15iwl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  • First Option
    Change to BCM93450ZAE

  • Second Option * HARD
    Using ProperTree open config.plist

    Kernel → Add → BundlePath == "AirportBrcmFixup.kext" → Enabled = False
    
    Kernel → Add → BundlePath == "AirportBrcmFixup.kext/Contents/PlugIns/AirPortBrcmNIC_Injector.kext" → Enabled = False
    
    Kernel → Add → BundlePath == "BrcmBluetoothInjector.kext" → Enabled = False
    
    Kernel → Add → BundlePath == "BrcmFirmwareData.kext" → Enabled = False
    
    Kernel → Add → BundlePath == "BrcmPatchRAM3.kext" → Enabled = False
    
    DeviceProperties → Add → PciRoot(0x0)/Pci(0x1D,0x2)/Pci(0x0,0x0) → *DELETE*
    

    After that, follow this itlwm tutorial

    *For intel wireless card

4 : Generate New Serial using GenSMBIOS

Type: MacBookPro15,4

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

  • Wi-Fi :white_check_mark:
  • GPU Acceleration :white_check_mark:
  • Sleep/Wake :white_check_mark:
  • Shutdown - Restart :white_check_mark:
  • USB Port (Mapped) :white_check_mark:
  • Sound Input-Output :white_check_mark:
  • Brightness Key :white_check_mark:
  • WebCam :white_check_mark:
  • Bluetooth ✅
  • HDMI ✅
  • Touchpad ✅
  • Keyboard ✅

Not-Working

  • Card Reader
  • NumLock Key
  • [Monterey] Bluetooth because of the new implementation of bluetooth
  • [Monterey] Boot-picker and BIOS keyboard after shutdown ( everything is normal after boot or after using other os but monterey) check this

Some of Screenshots

*Using PL1:12.5w and PL2:25w, default BIOS config using a lot more than that Cinnebench R23
Geekbench 5 - CPU
Geekbench 5 - GPU
Hackintool USB

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

About

Tutorial and configuration about creating hackintosh using OpenCore for Lenovo Ideapad S340-15iwl


Languages

Language:ASL 100.0%