10
2019
05

联想V330使用cover安装黑苹果


    Laptop.png

    概述


    欢迎大家观看我的教程:Lenovo V330-15IKB 安装黑苹果Mojave。

    本指南不使用Unibeast或Multibeast,而是使用 @RehabMan的 Clover 引导加载程序,这是目前最稳定、优化最完善的引导系统。 我也使用Clover的UEFI热修补方法,而不是ACPI静态修补方法。这种方法是黑客入侵的未来,它是一种更通用的修补方法,允许每个人使用我为本指南创建的文件,而不是每个人单独修补他们更容易出错的ACPI集。(该段没看懂,摘自百度翻译)

    我的电脑配置


    -英特尔酷睿i5-8250四核处理器
    -英特尔UHD 620核心显卡
    - 8GB DDR4 - 2400MHz内存
    - 15.6英寸全高清显示屏
    - I2C Elan precision多手势触摸板
    -戴尔DW1560蓝牙和无线网卡(BCM94352Z)
    - 2 x type-C端口和2 x USB 3.0端口
    - HDMI和VGA显示输出
    - SD卡读卡器
    -三星850pro 256GB 2.5英寸固态硬盘


    升级

    DW1560无线和蓝牙卡


    可以正常工作的设备

    -英特尔UHD 620核心显卡

    - 2 x type-C端口和2 x USB 3.0端口

    - 有线网卡
    - 声卡包括输入和输出
    - 休眠与唤醒
    - HDMI 和 HDMI 声音输出
    - VGA 
    - 无线 2.4GHz & 5GHz
    - 蓝牙 4.x LE

    - 中央处理器和智能电源管理

    - 电池状态

    - 亮度

    - 功能键 (Fn)

    -带手势的精密触摸板
    -集成摄像头
    - SD卡读卡器

    -我忘记列出的其他东西,以及其他没有列在“什么不起作用”清单上的设备

    什么不起作用

    - 指纹-苹果有自己的安全设备
    - AMD Radeon 530 (苹果不支持双显卡)

    你需要准备以下东西
    -联想V330-15IKB笔记本电脑
    -从苹果应用商店下载的苹果操作系统莫哈维
    -8GB+u盘
    -从我的Github项目下载联想-V330-15IKB,如下图所示: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.pngThat 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.pngSelect / 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.pngIf you need FileVault 2, checkmark the FileVault drivers by selecting / check marking the ones listed below on the screenshot:
    FileVault 2 UEFI.pngThemes
    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 ZIPhttp://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

    文章转载自:https://www.tonymacx86.com/threads/guide-lenovo-v330-15ikb-using-clover-uefi-hotpatch.265841/

    翻译:馨梦

    « 上一篇 下一篇 »

    发表评论:

    ◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。