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.
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.
Category | Component |
---|---|
CPU | Intel i5-8265u |
GPU | UHD 620 |
NVME | WD SN520 |
Wireless Card | BCM93450ZAE |
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 |
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 |
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.
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
-
First Option
Change to BCM93450ZAE -
Second Option * HARD
Using ProperTree open config.plistKernel → 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
- 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 ✅
- 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
*Using PL1:12.5w and PL2:25w, default BIOS config using a lot more than that
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 the files from here
Extract the files and run install.sh
from terminal
Drag and drop ALC295.plist
to terminal
Audio jack problem solved after restart
This build wouldn't happen without these people:
- Dortania for OpenCore Guide
- corpnewt for all the tools
- Acidanthera for too many things
- OpenCore project for the bootloader
- VoodooI2C for the trackpad kext
- headkaze for Hackintool
- black-dragon74 for ALCPlugFix-Swift
- curtistn for the framebuffer patch
- WraithWinterly for CFG-Lock disabling tutorial