YJNome 发表于 2017-6-7 18:30

LENOVO 小新 V2000 Bigger 版 macOS Sierra 10.12.5 成功

本帖最后由 远古小兵 于 2017-6-8 07:24 编辑

作为小白,一路摸爬滚打,查阅了很多各路大神的心得,由于太多太多都没有一一记住 :(
不过分享小白我的心路历程以表谢意!

我已经改的很努力了,如果效果不太好大家可以去这里查看:
https://github.com/Fansaly/xiaoHei-Practice/blob/master/README.md

小黑修炼记
修炼目标
mac OS: macOS Sierra 10.12.5
SMBIOS: MacBookPro11,2

小黑原形如下 ✨

设备型号
主板LENOVO 9BCN29WW
主板芯片组Intel Lynx Point-LP 南桥, Intel Haswell 北桥
CPUIntel(R) Core(TM) i7-4510U CPU @ 2.00GHz 可睿频至 3.1GHz
集显Intel HD Graphics 4400 Haswell-ULT GT2
独显NVIDIA GeForce 840M
声卡Conexant CX20751/2
有线Realtek RTL8168/8111 PCI-E Realtek RTL8168GU
无线和蓝牙Intel 3160 AC--更换为-->Broadcom BCM4352 802.11AC
触控板ELAN




制作 macOS U盘

BIOS 设置
[*]To access BIOS/UEFI Setup, press and hold Delete on a USB Keyboard while the system is booting up
[*]Load Optimized Defaults
[*]If your CPU supports VT-d, disable it
[*]If your system has CFG-Lock, disable it
[*]If your system has Secure Boot Mode, disable it
[*]Set OS Type to Other OS
[*]If your system has IO SerialPort, disable it
[*]Set XHCI Handoff to Enabled
[*]If you have a 6 series or x58 system with AWARD BIOS, disable USB 3.0
[*]Save and exit.


DSDT/SSDTs 修改
[*]Patching LAPTOP DSDT/SSDTs
工具: https://assets-cdn.github.com/images/icons/emoji/unicode/0031-20e3.png iasl https://assets-cdn.github.com/images/icons/emoji/unicode/0032-20e3.png patchmatic https://assets-cdn.github.com/images/icons/emoji/unicode/0033-20e3.png MaciASL

[*]显卡
Intel HD4400, Haswell-ULT GT2

[*]重命名节点 GFX0 -> IGPU
修改的表: DSDT.dsl SSDT-1.dsl SSDT-3.dsl SSDT-4.dsl SSDT.dsl
参考补丁: rename GFX0 to IGPU
完成补丁: https://assets-cdn.github.com/images/icons/emoji/unicode/1f4c4.png 核心未做修改
[*]屏蔽独显
修改的表: DSDT.dsl
参考补丁: Disable from _REG (DSDT)
                Disable/Enable on_WAK/_PTS (DSDT)
完成补丁: https://assets-cdn.github.com/images/icons/emoji/unicode/1f4c4.png 核心未做修改
[*]注入集显 device-id, ig-platform-id
修改的表: SSDT-3.dsl
参考补丁: Haswell HD4400/HD4600/HD5000
完成补丁: https://assets-cdn.github.com/images/icons/emoji/unicode/1f4c4.png

id 获取 两种途径: tonymacx86 | pcbeta


[*]声卡
Conexant CX20751/2
https://assets-cdn.github.com/images/icons/emoji/unicode/1f4a1.png 注入 layout-id
修改的表: DSDT.dsl
参考补丁: Audio Layout 12
完成补丁: https://assets-cdn.github.com/images/icons/emoji/unicode/1f4c4.png

layout-id: github

驱动文件: AppleALC , Lilu
AppleALC 1.1.1 : Requires Lilu 1.1.0 or newer
AppleALC 1.1.0 : AppleALC now has its kernel patcher moved to Lilu.kext
AppleALC 1.0.19: Added Conexant CX20751_2 HDMI/DisplayPort Output fix by syscl


[*]有线网卡
Realtek RTL8168GU
驱动文件: RealtekRTL8111.kext

[*]无线网卡 https://assets-cdn.github.com/images/icons/emoji/unicode/1f47b.png
Broadcom BCM4352 802.11AC (BCM94352Z)
https://assets-cdn.github.com/images/icons/emoji/unicode/1f4a1.png 在 Windows 操作系统下 移除白名单 之后,更换新的无线网卡
驱动文件: FakePCIID_Broadcom_WiFi.kext 依赖 FakePCIID.kext

Broadcom WiFi BCM94352 requires additional patches

The patch was created by the-darkvoid.

eg. in KextsToPatch:
Comment: AirPortBrcm4360 - fcvo, 10.12.x (credit the-darkvoid)
MatchOS: 10.12.x
Name: AirPortBrcm4360
Find: <81f952aa 00007529>
Replace: <81f952aa 00006690>

Additional background: insanelymac


[*]蓝牙 https://assets-cdn.github.com/images/icons/emoji/unicode/1f47b.png
驱动文件: BrcmFirmwareData.kext , BrcmPatchRAM2.kext

[*]键盘/触摸板
ELAN
驱动文件: ApplePS2SmartTouchPad.kext

[*]电源管理
https://assets-cdn.github.com/images/icons/emoji/unicode/1f4a1.png 加载原生 AppleLPC
修改的表: DSDT.dsl
参考补丁: Haswell LPC
完成补丁: https://assets-cdn.github.com/images/icons/emoji/unicode/1f4c4.png

id 查找方法: pcbeta

[*]亮度
修改的表: SSDT-3.dsl
参考补丁: Brightness fix (Haswell/Broadwell)
完成补丁: https://assets-cdn.github.com/images/icons/emoji/unicode/1f4c4.png 核心未做修改

驱动制作:

[*]修复 macOS 10.12.4 较早版本的亮度
[*]需要这里的 PatchAppleBacklight_v2.zip 文件
[*]修复 macOS 10.12.4 版本的亮度 获得制作的两个文件 •SSDT-PNLF.aml •AppleBacklightInjector.kext

Additional
The patch was created by RehabMan.

eg. in KextsToPatch:
Comment: change F%uT%04x to F%uTxxxx in AppleBacklightInjector.kext (credit RehabMan)
Name: com.apple.driver.AppleBacklight
Find: <46257554 25303478 00>
Replace: <46257554 78787878 00>

Additional background of Installation: tonymacx86


[*]电池
https://assets-cdn.github.com/images/icons/emoji/unicode/1f4a1.png 电池状态
修改的表: DSDT.dsl
完成补丁: https://assets-cdn.github.com/images/icons/emoji/unicode/1f4c4.png
驱动文件: ACPIBatteryManager.kext

补丁制作: tonymacx86 | pcbeta (后者为前者的中译版)

[*]睿频
Intel i7-4510U CPU @ 2.00GHz Turbo 3.1GHz
脚本: ssdtPRGen.sh

[*]USB
https://assets-cdn.github.com/images/icons/emoji/unicode/1f4a1.png 加载原生 USB 3.0 驱动,解决睡眠立即自动唤醒等问题
修改的表: DSDT.dsl
参考补丁: 7-series/8-series USB
完成补丁: https://assets-cdn.github.com/images/icons/emoji/unicode/1f4c4.png 核心未做修改

[*]睡眠
✖️...✖️ (我先去睡会...)



[*]还需要的其它驱动 by RehabMan

Relative DevicesDrive nameURL
SystemFakeSMC.kextbitbucket
System• FakePCIID.kextbitbucket
GPU• FakePCIID_Intel_HD_Graphics.kextibid.
HD-Audio• FakePCIID_Intel_HDMI_Audio.kextibid.
USB• FakePCIID_XHCIMux.kextibid.
GPUIntelGraphicsFixup.kextbitbucket
USBGenericUSBXHCI.kextbitbucket
USBUSBInjectAll.kextbitbucket




Bad Apple
Graphics boot glitch patch for 10.12

A new patch is required.

eg. in KextsToPatch:
Comment: Boot graphics glitch, 10.12.dp1 (credit denskop)
MatchOS: 10.12.x
Name: IOGraphicsFamily
Find: <01000075 25>
Replace: <010000eb 25>

Read also here for further information/tips: tonymacx86

For those too lazy to read, keep in mind:
- the glitch fix does not remove the glitch entirely... it only reduces the severity
- the glitch fix is most effective if CSM/legacy boot is enabled in BIOS


同步 Windows 与 macOS 时间
在 Windows 系统中,以管理员身份运行 CMD 执行下面的命令 最简便的方法
reg add HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation /v RealTimeIsUniversal /t REG_DWORD /d 1


The end. Enjoy https://assets-cdn.github.com/images/icons/emoji/unicode/1f607.png


https://raw.githubusercontent.com/Fansaly/xiaoHei-Practice/master/whoami.jpg

YJNome 发表于 2017-6-7 19:47

本帖最后由 YJNome 于 2017-6-11 22:25 编辑

感谢 小兵都督 帮助编辑,么么哒 {:8_518:}

在打上面 1 楼的补丁之前先将这些打好 >.<
DSDT.dsl
"Rename _DSM methods to XDSM"   ==> rename_DSM.txt
"IRQ Fix"                                       ==> system_IRQ.txt
"SMBUS Fix"                                 ==> system_SMBUS.txt
"RTC Fix"                                       ==> system_RTC.txt
"OS Check Fix (Windows 8)"            ==> system_OSYS_win8.txt
"AC Adapter Fix"                            ==> system_ADP1.txt
"Fix _WAK Arg0 v2"                        ==> system_WAK2.txt
"Add IMEI"                                    ==> system_IMEI.txt

"Rename GFX0 to IGPU"                  ==> graphics_Rename-GFX0.txt
"Rename B0D3 to HDAU"                ==> graphics_Rename-B0D3.txt(有修改)

"USB3 _PRW 0x6D (instant wake)"   ==> usb_prw_0x6d_xhc.txt(有修改)
SSDT*.dsl
"Rename _DSM methods to XDSM"   ==> rename_DSM.txt
"Rename GFX0 to IGPU"                  ==> graphics_Rename-GFX0.txt
"Rename B0D3 to HDAU"               ==> graphics_Rename-B0D3.txt(有修改)


楼上的补丁文件将在不久之后删除,不过不用担心,已在附件中提供,
并且将会在这里保持更新:
https://github.com/Fansaly/xiaoHei-Practice/blob/master/README.md

附件中包含:原始 DSDT、SSDTs、所需要的补丁,
最终可供 CLOVER 使用的 config.list、 DSDT、SSDTs 和 kexts。



https://raw.githubusercontent.com/Fansaly/xiaoHei-Practice/master/progress/progress.png

这里还有更为细致的:https://bbs.pcbeta.com/viewthread-1744406-1-1.html






mrmg 发表于 2017-6-7 20:04

恭喜恭喜恭喜

haoran61 发表于 2017-6-7 22:27

驱动呢,放上来,也方便后来人以及他们完善

YJNome 发表于 2017-6-7 22:32

mrmg 发表于 2017-6-7 20:04 https://www.pcbeta.com/static/image/common/back.gif
恭喜恭喜恭喜

感谢祝贺,嚯嚯 {:8_552:}

YJNome 发表于 2017-6-7 22:34

haoran61 发表于 2017-6-7 22:27 https://www.pcbeta.com/static/image/common/back.gif
驱动呢,放上来,也方便后来人以及他们完善

一直在编辑帖子,心好累 {:8_554:}
稍后所有都会以 链接 的形式给出。。。

shiy05 发表于 2017-6-8 23:38

YJNome 发表于 2017-6-7 22:34 https://www.pcbeta.com/static/image/common/back.gif
一直在编辑帖子,心好累
稍后所有都会以 链接 的形式给出。。。

顶一下,恭喜恭喜。当初也应该买个15寸的。

ziqing520 发表于 2017-6-9 09:00

楼主好人链接分享出来吧

YJNome 发表于 2017-6-9 22:26

shiy05 发表于 2017-6-8 23:38
顶一下,恭喜恭喜。当初也应该买个15寸的。

过完年再换一个咯

1848883224 发表于 2017-6-10 00:09

触控板能移动,能点击,但是打开设置是一面空白啊

YJNome 发表于 2017-6-10 02:53

1848883224 发表于 2017-6-10 00:09 https://www.pcbeta.com/static/image/common/back.gif
触控板能移动,能点击,但是打开设置是一面空白啊

建议使用 4.7 BETA 5 版。或者可以搜索论坛解决“空白”

LiuJiangshan 发表于 2017-6-10 09:15

求分享uefi

YJNome 发表于 2017-6-10 09:21

LiuJiangshan 发表于 2017-6-10 09:15 https://www.pcbeta.com/static/image/common/back.gif
求分享uefi

审核出来了,请前往沙发

hgses 发表于 2017-6-10 10:48

写得真好,楼主这个帖子花了很多心思吧。这么用心的帖子要支持。

YJNome 发表于 2017-6-10 10:55

嗯,快已成为我的孩子了,额,好像哪里不对。。。
感谢支持 {:9_369:}

YJNome 发表于 2017-6-10 10:56

hgses 发表于 2017-6-10 10:48 https://www.pcbeta.com/static/image/common/back.gif
写得真好,楼主这个帖子花了很多心思吧。这么用心的帖子要支持。

嗯,快已成为我的孩子了,额,好像哪里不对。。。
感谢支持 {:9_369:}

hgses 发表于 2017-6-10 11:06

YJNome 发表于 2017-6-10 10:56 https://www.pcbeta.com/static/image/common/back.gif
嗯,快已成为我的孩子了,额,好像哪里不对。。。
感谢支持

哈哈,你是妹子吗。

YJNome 发表于 2017-6-10 12:28

hgses 发表于 2017-6-10 11:06 https://www.pcbeta.com/static/image/common/back.gif
哈哈,你是妹子吗。

妹子哪有搞小黑的,都是别人送小白 {:9_359:}

ynkmlb00 发表于 2017-8-8 14:33

多谢楼主的无私分享,十分感激

jinzi27 发表于 2017-10-9 21:46

本帖最后由 jinzi27 于 2017-10-9 21:49 编辑

大神,亮度不能调节怎么搞?
页: [1] 2
查看完整版本: LENOVO 小新 V2000 Bigger 版 macOS Sierra 10.12.5 成功