Contribute
Register

[Guide] Lenovo V330-15IKB using Clover UEFI hotpatch

Sniki

Moderator
Joined
Jan 5, 2016
Messages
1,373
Motherboard
Lenovo V330 - 15IKB
CPU
i5-8250U
Graphics
UHD 620 /1920x1080
Mobile Phone
iOS
Laptop.png


Overview
Welcome everyone to my Lenovo V330-15IKB macOS Mojave guide.
This guide does not use Unibeast nor Multibeast, but instead uses @RehabMan's Clover bootloader builds as that's the most stable and optimized version of Clover bootloader for Laptops. I'm also using the Clover UEFI hotpatching method as opposed to ACPI static patching method. This method is the future of hackintoshing and it is a more versatile patching method which allows everyone to use my files that i created for this guide rather than each one individually patching their ACPI set which is more prone for errors.

My Laptop Specifications
- Intel core i5 - 8250U Quad Core CPU (KabyLake R)
- Intel UHD 620 Graphics
- 8GB DDR4 - 2400MHz Ram
- 15.6" Full HD Display
- I2C Elan precision TouchPad with multi-gestures
- Dell DW1560 Bluetooth & Wireless card (BCM94352Z)
- 2 x USB-C ports & 2 x USB 3.0 Ports
- HDMI & VGA Display output
- SD Card Reader
- Samsung 850 Pro 256GB 2.5" SSD

Upgrades
DW1560 Wireless & Bluetooth card
Links: AliExpress, eBay, Amazon, NewEgg (to be added soon)

What works
- Intel UHD 620 Graphics QE/CI
- USB 3 and USB-C Ports
- Realtek Ethernet
- Audio (All Inputs & Outputs)
- Sleep and Wake
- HDMI and HDMI Audio
- VGA / D-Sub Port
- Dual Band AC Wireless 2.4GHz & 5GHz
- Bluetooth 4.x LE
- CPU and IGPU Power Management
- Battery Status
- Brightness
- Function Keys (Fn)
- Precision TouchPad with Gestures
- Integrated Camera
- SD Card Reader
- Rest of the things that i forgot to list & non listed on "what doesn't work"

What doesn't work
- FingerPrint Reader (disabled as there's no support for it on macOS, Apple uses their own TouchID Hardware)
- AMD Radeon 530 (disabled on ACPI as there's no support for switchable graphics on macOS)

What you need
- Lenovo V330-15IKB Laptop
- macOS Mojave downloaded from the Mac App Store
- 8GB+ USB flash drive
- Downloaded Lenovo-V330-15IKB Project from my Github (click on Lenovo-V330-15IKB) and download as zip like shown below:
Repo.png

Bios
Press F2 repeatedly after powering on the laptop to enter BIOS (more informations will be added soon, work in progress)

Creating USB Installer
Before proceeding with this guide i would highly suggest that you begin with a clean install rather than upgrading as the method and kexts are different than what you might be currently using on your laptop.

Step 1:
Download Clover Bootloader version of @RehabMan:
https://bitbucket.org/RehabMan/clover/downloads/

Step 2:
Format USB Drive as HFS+J with GPT partition table and make sure to name it: install_osx

Step 3:
Download macOS Mojave from the Mac App Store, after the download process has finished, now create the USB Installer by opening terminal and writing the following command:
Code:
sudo "/Applications/Install macOS Mojave.app/Contents/Resources/createinstallmedia" --volume  /Volumes/install_osx --nointeraction
Press "Enter" and it will ask for your User password, after you entered password, wait for the process to end, it should take around 10-30 minutes.

Step 4:
Download all the needed kexts for "Pre" and "Post" installation. I listed all the needed kexts down below which are in form of hyperlinks and should direct you straight to the download page:

FakeSMC.kext
FakeSMC_ACPISensors.kext
FakeSMC_LPCSensors.kext
FakeSMC_CPUSensors.kext

VoodooPS2Controller.kext
VoodooI2C.kext - attached at the end of the guide
VoodooI2CELAN.kext - attached at the end of the guide
USBInjectAll.kext
ACPIBatteryManager.kext
RealtekRTL8111.kext
AppleBacklightFixup.kext
CodecCommander.kext
EFICheckDisabler.kext - attached at the end of the guide
Lilu.kext
WhateverGreen.kext
AppleALC.kext
AirportBrcmFixup.kext
BT4LEContinuityFixup.kext
BrcmFirmwareRepo.kext
BrcmPatchRam2.kext


Step 5:
Prepare USB Drive with the correct configuration, kexts, Bootloader, config.plist and ACPI
Install Clover Bootloader by carefully following the steps explained down below:
If you are using a real MacBook or iMac, if you accidentally install Clover Bootloader into the real iMac / MacBook that you are using, you might brick it, so be careful and choose the USB drive for installation!
Open Clover bootloader installer, click on continue, agree, continue and when you reach this screen:
Installation Type.png

Make sure to click on "Change Install Location..." like in the screenshot above and then select the USB Drive as shown in the screenshot down below:
USB Install.png

After you selected your USB Drive, click "Continue", now after this step, click on "Customize" as seen in the screenshot down below:
Customize.png
That brings us into the customization section of Clover Bootloader where we select the appropriate configuration for our hardware like seen in the screenshot down below:
Clover UEFI.png
Select / Checkmark the settings as listed on the picture above or listed down below:

- Clover for UEFI booting only
- Install Clover in the ESP

Make sure you don't touch the UEFI Drivers as they are already pre-configured but just in case to make sure everything is correct, make sure to check the picture down below to see if all needed drivers are selected accordingly:
UEFI Drivers.png
If you need FileVault 2, checkmark the FileVault drivers by selecting / check marking the ones listed below on the screenshot:
FileVault 2 UEFI.png
Themes
Select BGM (Black Green Moody) as it's the one that i already set on the config.plist for installation and usage. You can change it later to whatever theme that you want, steps will be explained in the customization section of the guide.

Now click Install, it will open a prompt for your Username Password, write it and press Enter, the installation will start.

After bootloader installation ends, your EFI partition of the USB Drive will be mounted.
Open the EFI partition of your USB Drive and go to:
EFi/Clover/
Replace the config.plist with the config.plist from the downloaded Lenovo-V330-15IKB repository of my Github
Into EFI/Clover/ACPI/Patched add the SSDT-V330.aml from the downloaded Lenovo-V330-15IKB repository of my Github
Into EFI/Clover/Drivers64UEFI make sure to add HFSPlus.efi (click on it to download it)
Into EFI/Clover/kexts/Others make sure to add the following kexts listed down below:

FakeSMC.kext
VoodooPS2Controller.kext
VoodooI2C.kext - attached at the end of the guide
VoodooI2CELAN.kext - attached at the end of the guide
USBInjectAll.kext
ACPIBatteryManager.kext
RealtekRTL8111.kext
EFICheckDisabler.kext - attached at the end of the guide
Lilu.kext
WhateverGreen.kext
AirportBrcmFixup.kext

Step 6:
Backup all your important data because we will continue with the installation process on the next step.
Backup Clover Bootloader installer into the USB Drive for installation (not on the USB EFI folder !)
Backup my Lenovo-V330-15IKB folder download from the Github repository

Installation

Step 1:

Reboot your laptop, after the laptop screen turns on, press F12 repeatedly to enter into the Boot Menu.
On the Boot Menu, choose the USB Drive and press "Enter"
Now it should bring you into the Clover Bootloader menu, select Install macOS Mojave (USB Drive) and press enter.
The Installer now should boot and reach installation menu.

Step 2:
From the installation menu, open Disk Utility, select the partition that you plan to install macOS, format it as APFS and name for the purpose of this guide we will name it "Mac". Exit Disk Utility after the format process has finished, this will bring you back to the Installer Main Menu.
Now select install macOS Mojave, agree to the "terms and conditions", select your HDD/SSD that you formatted and the installation process will begin. this will be the part 1 install. Part 1 should take around 5 minutes.

Step 3:
Laptop will automatically reboot when Part 1 installation ends. now as soon as Clover Bootloader menu shows up, this time you select the "Mac" partition to boot from, the installer will continue with Part 2 now and show the progress bar with time remaining under the Apple boot logo.
Note: Sometimes as soon as the time remaining shows up under the Apple boot logo, the laptop will reboot once more, if this happens, choose again to boot from the "Mac" partition and part 2 installation will continue and complete.
After the installation has been completed, laptop will reboot and bring you to the part 3 - first boot user setup.

Step 4:
Select Language, Continue, Connecting to Internet is optional or you can skip it for now.
When you reach the menu to sign with your Apple ID, make sure to skip this step, it will be important if you want to setup iMessage & FaceTime.

Post Installation

Step 1:

Run Apps from anywhere is now missing from SysPrefs > Security & Privacy > General.
Open terminal and enter the following command:
Code:
sudo spctl --master-disable
This allows you to install Applications downloaded from Internet / Outside of the Mac App Store.

Step 2:
Open Clover Bootloader installer and continue with bootloader installation into the HDD/SSD that we installed macOS.
The procedures are exactly the same as on the Creating USB Installer - Step 5 of the guide except that this time, instead of the USB Drive, we select the "Mac" HDD/SSD that we installed macOS.

Step 3:
Now we need to install all the needed kexts into the HDD/SSD where we installed macOS: the "Mac" partition.
All kexts should be installed into /Library/Extensions

Download all the kexts if you still didn't:

FakeSMC.kext
FakeSMC_ACPISensors.kext
FakeSMC_LPCSensors.kext
FakeSMC_CPUSensors.kext

VoodooPS2Controller.kext
VoodooI2C.kext - attached at the end of the guide
VoodooI2CELAN.kext - attached at the end of the guide
USBInjectAll.kext
ACPIBatteryManager.kext
RealtekRTL8111.kext
AppleBacklightFixup.kext
CodecCommander.kext
EFICheckDisabler.kext - attached at the end of the guide
Lilu.kext
WhateverGreen.kext
AppleALC.kext
AirportBrcmFixup.kext
BT4LEContinuityFixup.kext
BrcmFirmwareRepo.kext
BrcmPatchRam2.kext


Extract them and make sure to copy each & only the ones listed above by selecting the "Release" folder of the kexts.
Create a folder on desktop called "kexts", copy all the listed kexts into that "kexts" folder into desktop
Open Terminal and write this command to install kexts into Library/Extensions/:
Code:
cd desktop/kexts

sudo cp -R *.kext /Library/Extensions/
Hit enter, write your Username password and all the kexts will be copied/installed into /Library/Extensions
Now we need to rebuild caches with the following terminal command:
Code:
sudo kextcache -i /
Wait for the process to end, after the process is completed, reboot.

Step 4: Disable Hibernation
Be aware that hibernation (suspend to disk or S4 sleep) is not supported on hackintosh.

You should disable it:
Code:
sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage
Always check your hibernatemode after updates and disable it. System updates tend to re-enable it, although the trick above (making sleepimage a directory) tends to help.

And it may be a good idea to disable the other hibernation related options:
Code:
sudo pmset -a standby 0
sudo pmset -a autopoweroff 0
Step 5:
Create a new folder on desktop and name it: tools
copy hda-verb, patchmatic, iasl and paste them on the "tools" folder that you created on desktop

Get "hda-verb" from the CodecCommander.zip that you downloaded from the kext links
Get "patchmatic" by clicking on this: Link
Get "iasl" by click on this: Link

Open terminal and write the following commands to install these tools:
Code:
cd desktop/tools
sudo cp iasl /usr/local/bin
sudo cp patchmatic /usr/local/bin
sudo cp hda-verb /usr/local/bin
iMessage and FaceTime
In order to setup your hackintosh machine to use Apple Services, iMessage & FaceTime, please follow @P1LGRIM guide:
https://www.tonymacx86.com/threads/an-idiots-guide-to-imessage.196827/

It has step by step screenshot and written instructions for you to easily set it up.

Customization
Will be added soon.

Problem Reporting
It is impossible to diagnose a problem without data that shows how your system is configured.

Also, impossible to analyze any data that you might provide without a clear understanding of your hardware. So make sure your profile is filled as per the first question in this FAQ, "Q. Where do I start?".

If you can't boot, a bare minimum is:
- Boot verbose, attach photo
- Attach EFI/Clover folder as ZIP (press F2 then F4 at main Clover screen just before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.

Note: Some Keyboards swap Fn+Fx for Fx. For those Keyboards, press Fn+F2 then Fn+F4. If you're not sure, press F2, then F4, then Fn+F2, then Fn+F4. You can also verify by pressing F1 (or Fn+F1) to see which one brings the menu.

If you can boot, but are having some other problem, describe the problem clearly and provide data...

Download patchmatic: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2015-0107.zip
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
if [ -d ~/Downloads/RehabMan ]; then rm -R ~/Downloads/RehabMan; fi
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract
Note: It is easier if you use copy/paste instead of typing the commands manually.

Attach contents of Downloads/RehabMan directory as ZIP.

Attach ioreg as ZIP: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

Provide output (in Terminal):
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
kextstat|grep -y applelpc
kextstat|grep -y applehda
ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
pmset -g assertions
pmset -g
system_profiler SPSerialATADataType|grep TRIM
Attach EFI/Clover folder as ZIP (press F2 then F4 at main Clover screen just before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.

Note: Some Keyboards swap Fn+Fx for Fx. For those Keyboards, press Fn+F2 then Fn+F4. If you're not sure, press F2, then F4, then Fn+F2, then Fn+F4. You can also verify by pressing F1 (or Fn+F1) to see which one brings the menu.

For 10.11 and later, attach output of (in Terminal):
Code:
sudo kextcache -i /
Older versions:
Code:
sudo touch /System/Library/Extensions && sudo kextcache -u /
Compress all files as ZIP. Do not use external links. Attach all files using site attachments only.


Q. Is there a script that will collect all Problem Reporting data automatically?

Yes! (almost)

User @black.dragon74 has created a script (gen_debug.sh) that automates most of the "Problem Reporting" tasks (as described in the previous question).

The part it cannot do is pressing F2 and F4 for you at the main Clover screen.
And of course, it only works for the case you can boot into your system. If you have a problem booting, you must obtain and collect the verbose boot photo manually (and EFI/Clover).

Full details are here:
https://www.tonymacx86.com/threads/tool-generate-proper-problem-reporting-files.235953/
 

Attachments

Last edited:

Sniki

Moderator
Joined
Jan 5, 2016
Messages
1,373
Motherboard
Lenovo V330 - 15IKB
CPU
i5-8250U
Graphics
UHD 620 /1920x1080
Mobile Phone
iOS
Future post #2 "Reserved"
 

Sniki

Moderator
Joined
Jan 5, 2016
Messages
1,373
Motherboard
Lenovo V330 - 15IKB
CPU
i5-8250U
Graphics
UHD 620 /1920x1080
Mobile Phone
iOS
Future post #3 "Reserved"
 
Joined
Aug 7, 2017
Messages
30
Motherboard
Lenovo Ideapad 330-15IKB (81DE)
CPU
i5-8250U
Graphics
UHD 620
Hi !
i have the same laptop i.e Lenovo ideapad 320-15IKB (81DE) . Just basically doesnt have a V prefix in the model number.
so my question is, does the SSDT patch will differ as i have a slightly different model ?
 
Last edited:

Sniki

Moderator
Joined
Jan 5, 2016
Messages
1,373
Motherboard
Lenovo V330 - 15IKB
CPU
i5-8250U
Graphics
UHD 620 /1920x1080
Mobile Phone
iOS
Hi !
i have the same laptop i.e Lenovo ideapad 320-15IKB (10DE) . Just basically doesnt have a V prefix in the model number.
so my question is, does the SSDT patch will differ as i have a slightly different model ?
Please open a separate thread, post problem reporting files and quote me on your new thread, i will take a look into your files and help you.
 
Joined
May 6, 2014
Messages
176
Motherboard
Lenovo Ideapad 320-14ikb
CPU
i5-7200U
Graphics
Intel HD graphics 620 (13,9 1920x1080)
Mac
MacBook Pro
Mobile Phone
Other
VoodooI2c v2.0.3 worked perfect on my machine when i install voodooi2c v 2.1.4 didn't work right click and left click did you fix your right click and left click that you were described your issue on voodooI2c and help thread
 

Sniki

Moderator
Joined
Jan 5, 2016
Messages
1,373
Motherboard
Lenovo V330 - 15IKB
CPU
i5-8250U
Graphics
UHD 620 /1920x1080
Mobile Phone
iOS
VoodooI2c v2.0.3 worked perfect on my machine when i install voodooi2c v 2.1.4 didn't work right click and left click did you fix your right click and left click that you were described your issue on voodooI2c and help thread
No, no fix for right click yet, use the kexts attached on the guide, they are 2.1.4 versions modified to fix scaling issues, left click works, for right click, change Sysprefs > TrackPad and change two finger tap for right click as a current workaroud.

These attached kexts, they fix and enable all the gestures.
 
Joined
May 6, 2014
Messages
176
Motherboard
Lenovo Ideapad 320-14ikb
CPU
i5-7200U
Graphics
Intel HD graphics 620 (13,9 1920x1080)
Mac
MacBook Pro
Mobile Phone
Other
Thanks worked your modified VoodooI2c.kext
 
Joined
May 16, 2013
Messages
75
Motherboard
Lenovo Ideapad 330-15IKB
CPU
i7-8550U
Graphics
UHD620 and Radeon 530
Mobile Phone
iOS


Overview

Welcome everyone to my Lenovo V330-15IKB macOS Mojave guide.
This guide does not use Unibeast nor Multibeast, but instead uses @RehabMan's Clover bootloader builds as that's the most stable and optimized version of Clover bootloader for Laptops. I'm also using the Clover UEFI hotpatching method as opposed to ACPI static patching method. This method is the future of hackintoshing and it is a more versatile patching method which allows everyone to use my files that i created for this guide rather than each one individually patching their ACPI set which is more prone for errors.

My Laptop Specifications
- Intel core i5 - 8250U Quad Core CPU (KabyLake R)
- Intel UHD 620 Graphics
- 8GB DDR4 - 2400MHz Ram
- 15.6" Full HD Display
- I2C Elan precision TouchPad with multi-gestures
- Dell DW1560 Bluetooth & Wireless card (BCM94352Z)
- 2 x USB-C ports & 2 x USB 3.0 Ports
- HDMI & VGA Display output
- SD Card Reader
- Samsung 850 Pro 256GB 2.5" SSD

Upgrades
DW1560 Wireless & Bluetooth card
Links: AliExpress, eBay, Amazon, NewEgg (to be added soon)

What works
- Intel UHD 620 Graphics QE/CI
- USB 3 and USB-C Ports
- Realtek Ethernet
- Audio (All Inputs & Outputs)
- Sleep and Wake
- HDMI and HDMI Audio
- VGA / D-Sub Port
- Dual Band AC Wireless 2.4GHz & 5GHz
- Bluetooth 4.x LE
- CPU and IGPU Power Management
- Battery Status
- Brightness
- Function Keys (Fn)
- Precision TouchPad with Gestures
- Integrated Camera
- SD Card Reader
- Rest of the things that i forgot to list & non listed on "what doesn't work"

What doesn't work
- FingerPrint Reader (disabled as there's no support for it on macOS, Apple uses their own TouchID Hardware)
- AMD Radeon 530 (disabled on ACPI as there's no support for switchable graphics on macOS)

What you need
- Lenovo V330-15IKB Laptop
- macOS Mojave downloaded from the Mac App Store
- 8GB+ USB flash drive
- Downloaded Lenovo-V330-15IKB Project from my Github (click on Lenovo-V330-15IKB) and download as zip like shown below:

Bios
Press F2 repeatedly after powering on the laptop to enter BIOS (more informations will be added soon, work in progress)

Creating USB Installer

Before proceeding with this guide i would highly suggest that you begin with a clean install rather than upgrading as the method and kexts are different than what you might be currently using on your laptop.

Step 1:
Download Clover Bootloader version of @RehabMan:
https://bitbucket.org/RehabMan/clover/downloads/

Step 2:
Format USB Drive as HFS+J with GPT partition table and make sure to name it: install_osx

Step 3:
Download macOS Mojave from the Mac App Store, after the download process has finished, now create the USB Installer by opening terminal and writing the following command:
Code:
sudo "/Applications/Install macOS Mojave.app/Contents/Resources/createinstallmedia" --volume  /Volumes/install_osx --nointeraction
Press "Enter" and it will ask for your User password, after you entered password, wait for the process to end, it should take around 10-30 minutes.

Step 4:
Download all the needed kexts for "Pre" and "Post" installation. I listed all the needed kexts down below which are in form of hyperlinks and should direct you straight to the download page:

FakeSMC.kext
FakeSMC_ACPISensors.kext
FakeSMC_LPCSensors.kext
FakeSMC_CPUSensors.kext

VoodooPS2Controller.kext
VoodooI2C.kext - attached at the end of the guide
VoodooI2CELAN.kext - attached at the end of the guide
USBInjectAll.kext
ACPIBatteryManager.kext
RealtekRTL8111.kext
AppleBacklightFixup.kext
CodecCommander.kext
EFICheckDisabler.kext - attached at the end of the guide
Lilu.kext
WhateverGreen.kext
AppleALC.kext
AirportBrcmFixup.kext
BT4LEContinuityFixup.kext
BrcmFirmwareRepo.kext
BrcmPatchRam2.kext


Step 5:
Prepare USB Drive with the correct configuration, kexts, Bootloader, config.plist and ACPI
Install Clover Bootloader by carefully following the steps explained down below:
If you are using a real MacBook or iMac, if you accidentally install Clover Bootloader into the real iMac / MacBook that you are using, you might brick it, so be careful and choose the USB drive for installation!
Open Clover bootloader installer, click on continue, agree, continue and when you reach this screen:

Make sure to click on "Change Install Location..." like in the screenshot above and then select the USB Drive as shown in the screenshot down below:

After you selected your USB Drive, click "Continue", now after this step, click on "Customize" as seen in the screenshot down below:
That brings us into the customization section of Clover Bootloader where we select the appropriate configuration for our hardware like seen in the screenshot down below:
Select / Checkmark the settings as listed on the picture above or listed down below:

- Clover for UEFI booting only
- Install Clover in the ESP

Make sure you don't touch the UEFI Drivers as they are already pre-configured but just in case to make sure everything is correct, make sure to check the picture down below to see if all needed drivers are selected accordingly:
If you need FileVault 2, checkmark the FileVault drivers by selecting / check marking the ones listed below on the screenshot:
Themes
Select BGM (Black Green Moody) as it's the one that i already set on the config.plist for installation and usage. You can change it later to whatever theme that you want, steps will be explained in the customization section of the guide.

Now click Install, it will open a prompt for your Username Password, write it and press Enter, the installation will start.

After bootloader installation ends, your EFI partition of the USB Drive will be mounted.
Open the EFI partition of your USB Drive and go to:
EFi/Clover/
Replace the config.plist with the config.plist from the downloaded Lenovo-V330-15IKB repository of my Github
Into EFI/Clover/ACPI/Patched add the SSDT-V330.aml from the downloaded Lenovo-V330-15IKB repository of my Github
Into EFI/Clover/Drivers64UEFI make sure to add HFSPlus.efi (click on it to download it)
Into EFI/Clover/kexts/Others make sure to add the following kexts listed down below:

FakeSMC.kext
VoodooPS2Controller.kext
VoodooI2C.kext - attached at the end of the guide
VoodooI2CELAN.kext - attached at the end of the guide
USBInjectAll.kext
ACPIBatteryManager.kext
RealtekRTL8111.kext
EFICheckDisabler.kext - attached at the end of the guide
Lilu.kext
WhateverGreen.kext
AirportBrcmFixup.kext

Step 6:
Backup all your important data because we will continue with the installation process on the next step.
Backup Clover Bootloader installer into the USB Drive for installation (not on the USB EFI folder !)
Backup my Lenovo-V330-15IKB folder download from the Github repository

Installation

Step 1:

Reboot your laptop, after the laptop screen turns on, press F12 repeatedly to enter into the Boot Menu.
On the Boot Menu, choose the USB Drive and press "Enter"
Now it should bring you into the Clover Bootloader menu, select Install macOS Mojave (USB Drive) and press enter.
The Installer now should boot and reach installation menu.

Step 2:
From the installation menu, open Disk Utility, select the partition that you plan to install macOS, format it as APFS and name for the purpose of this guide we will name it "Mac". Exit Disk Utility after the format process has finished, this will bring you back to the Installer Main Menu.
Now select install macOS Mojave, agree to the "terms and conditions", select your HDD/SSD that you formatted and the installation process will begin. this will be the part 1 install. Part 1 should take around 5 minutes.

Step 3:
Laptop will automatically reboot when Part 1 installation ends. now as soon as Clover Bootloader menu shows up, this time you select the "Mac" partition to boot from, the installer will continue with Part 2 now and show the progress bar with time remaining under the Apple boot logo.
Note: Sometimes as soon as the time remaining shows up under the Apple boot logo, the laptop will reboot once more, if this happens, choose again to boot from the "Mac" partition and part 2 installation will continue and complete.
After the installation has been completed, laptop will reboot and bring you to the part 3 - first boot user setup.

Step 4:
Select Language, Continue, Connecting to Internet is optional or you can skip it for now.
When you reach the menu to sign with your Apple ID, make sure to skip this step, it will be important if you want to setup iMessage & FaceTime.

Post Installation

Step 1:

Run Apps from anywhere is now missing from SysPrefs > Security & Privacy > General.
Open terminal and enter the following command:
Code:
sudo spctl --master-disable
This allows you to install Applications downloaded from Internet / Outside of the Mac App Store.

Step 2:
Open Clover Bootloader installer and continue with bootloader installation into the HDD/SSD that we installed macOS.
The procedures are exactly the same as on the Creating USB Installer - Step 5 of the guide except that this time, instead of the USB Drive, we select the "Mac" HDD/SSD that we installed macOS.

Step 3:
Now we need to install all the needed kexts into the HDD/SSD where we installed macOS: the "Mac" partition.
All kexts should be installed into /Library/Extensions

Download all the kexts if you still didn't:

FakeSMC.kext
FakeSMC_ACPISensors.kext
FakeSMC_LPCSensors.kext
FakeSMC_CPUSensors.kext

VoodooPS2Controller.kext
VoodooI2C.kext - attached at the end of the guide
VoodooI2CELAN.kext - attached at the end of the guide
USBInjectAll.kext
ACPIBatteryManager.kext
RealtekRTL8111.kext
AppleBacklightFixup.kext
CodecCommander.kext
EFICheckDisabler.kext - attached at the end of the guide
Lilu.kext
WhateverGreen.kext
AppleALC.kext
AirportBrcmFixup.kext
BT4LEContinuityFixup.kext
BrcmFirmwareRepo.kext
BrcmPatchRam2.kext


Extract them and make sure to copy each & only the ones listed above by selecting the "Release" folder of the kexts.
Create a folder on desktop called "kexts", copy all the listed kexts into that "kexts" folder into desktop
Open Terminal and write this command to install kexts into Library/Extensions/:
Code:
cd desktop/kexts

sudo cp -R *.kext /Library/Extensions/
Hit enter, write your Username password and all the kexts will be copied/installed into /Library/Extensions
Now we need to rebuild caches with the following terminal command:
Code:
sudo kextcache -i /
Wait for the process to end, after the process is completed, reboot.

Step 4: Disable Hibernation
Be aware that hibernation (suspend to disk or S4 sleep) is not supported on hackintosh.

You should disable it:
Code:
sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage
Always check your hibernatemode after updates and disable it. System updates tend to re-enable it, although the trick above (making sleepimage a directory) tends to help.

And it may be a good idea to disable the other hibernation related options:
Code:
sudo pmset -a standby 0
sudo pmset -a autopoweroff 0
Step 5:
Create a new folder on desktop and name it: tools
copy hda-verb, patchmatic, iasl and paste them on the "tools" folder that you created on desktop

Get "hda-verb" from the CodecCommander.zip that you downloaded from the kext links
Get "patchmatic" by clicking on this: Link
Get "iasl" by click on this: Link

Open terminal and write the following commands to install these tools:
Code:
cd desktop/tools
sudo cp iasl /usr/local/bin
sudo cp patchmatic /usr/local/bin
sudo cp hda-verb /usr/local/bin
iMessage and FaceTime
In order to setup your hackintosh machine to use Apple Services, iMessage & FaceTime, please follow @P1LGRIM guide:
https://www.tonymacx86.com/threads/an-idiots-guide-to-imessage.196827/

It has step by step screenshot and written instructions for you to easily set it up.

Customization
Will be added soon.

Problem Reporting
It is impossible to diagnose a problem without data that shows how your system is configured.

Also, impossible to analyze any data that you might provide without a clear understanding of your hardware. So make sure your profile is filled as per the first question in this FAQ, "Q. Where do I start?".

If you can't boot, a bare minimum is:
- Boot verbose, attach photo
- Attach EFI/Clover folder as ZIP (press F2 then F4 at main Clover screen just before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.

Note: Some Keyboards swap Fn+Fx for Fx. For those Keyboards, press Fn+F2 then Fn+F4. If you're not sure, press F2, then F4, then Fn+F2, then Fn+F4. You can also verify by pressing F1 (or Fn+F1) to see which one brings the menu.

If you can boot, but are having some other problem, describe the problem clearly and provide data...

Download patchmatic: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2015-0107.zip
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
if [ -d ~/Downloads/RehabMan ]; then rm -R ~/Downloads/RehabMan; fi
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract
Note: It is easier if you use copy/paste instead of typing the commands manually.

Attach contents of Downloads/RehabMan directory as ZIP.

Attach ioreg as ZIP: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

Provide output (in Terminal):
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
kextstat|grep -y applelpc
kextstat|grep -y applehda
ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
pmset -g assertions
pmset -g
system_profiler SPSerialATADataType|grep TRIM
Attach EFI/Clover folder as ZIP (press F2 then F4 at main Clover screen just before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.

Note: Some Keyboards swap Fn+Fx for Fx. For those Keyboards, press Fn+F2 then Fn+F4. If you're not sure, press F2, then F4, then Fn+F2, then Fn+F4. You can also verify by pressing F1 (or Fn+F1) to see which one brings the menu.

For 10.11 and later, attach output of (in Terminal):
Code:
sudo kextcache -i /
Older versions:
Code:
sudo touch /System/Library/Extensions && sudo kextcache -u /
Compress all files as ZIP. Do not use external links. Attach all files using site attachments only.


Q. Is there a script that will collect all Problem Reporting data automatically?

Yes! (almost)

User @black.dragon74 has created a script (gen_debug.sh) that automates most of the "Problem Reporting" tasks (as described in the previous question).

The part it cannot do is pressing F2 and F4 for you at the main Clover screen.
And of course, it only works for the case you can boot into your system. If you have a problem booting, you must obtain and collect the verbose boot photo manually (and EFI/Clover).

Full details are here:
https://www.tonymacx86.com/threads/tool-generate-proper-problem-reporting-files.235953/


Thank you very much and congratulations.
Great work that to those of us who are not experts like me helps us a lot.
Thanks to this post I have been able to configure my Lenovo Ideapad 300 laptop and it works really well with MacOS Mojave Regards
 
Joined
Aug 7, 2017
Messages
30
Motherboard
Lenovo Ideapad 330-15IKB (81DE)
CPU
i5-8250U
Graphics
UHD 620
@Sniki
sadly ! i am still not able to fix my Touchpad issue yet .
please any suggestions ?
 
Top