MagicMie 发表于 2017-6-20 00:55

【翻译】Dell XPS13-9360 (2016) Sierra-10.12.2

本帖最后由 MagicMie 于 2017-6-20 22:28 编辑

看到论坛里有人翻译tonymacx86里关于XPS-13 9360黑苹果的LTS文章,地址如下:https://bbs.pcbeta.com/viewthread-1745809-1-2.html我本来也想翻译来着,可是之前一直没有时间,现在看到他在翻译我就翻译了该论坛的另一篇文章,内容更简洁,如果想看原帖子,直接百度我这篇文章的标题就应该能找到。

我也是看到XPS9360系列比较容易吃上hackintosh才买的这一款,可是买到手换了wifi模块之后一直没有黑成功,目前的状态是只能U盘启动,转到硬盘启动就会显示禁行标志。

当然希望这篇翻译能有作用,让更多的人能吃上黑苹果,然后先富带动后富啦!如果能有同样适用9360安装成功的朋友,希望能上传一份你的clover配置,感激不尽。注:GitHub网址可能需自备梯子访问。
Welcometo the Dell XPS-13 9360 guide for macOS Sierra 10.12.2. The guide is incompletebut will continue to be updated as more fixes get figured out. The aim was toget as many of the patches hotpached via Clover as possible, in order to (intheory) remove the need to re-patch the DSDT after BIOS updates, etc. As itstands now, even with this minimal amount of patches everything is 100% stable,haven’t had a single KP in 2 weeks of daily driver use.
欢迎阅读Dell XPS-13 9360的macOS Sierra 10.12.2安装指南。这个指南目前还不够完整,不过会随着更多问题的被解决而持续更新。而这篇文章的目的是为了让尽可能多的补丁通过Clover的热修补的方式进行,来尽避免在BIOS升级后还需要重新给DSDT打补丁等等。就目前的情况来说,就算只用了最少量的补丁,所有的功能都还是100%稳定的,在两周的日常使用当中没有出现一次死机。
I recommend starting with an emptyhd-620.plist from RehabMan’s repo andresearching each patch at you go, using this thread as a guide instead ofcopying the attached Clover folder verbatim. This will help you learn more andbe of more value to the community.我建议你从RehabMan的一个全新的hd-620.plist开始入手,搜索每一个你用得到的补丁,把这个流程当做一个指导,而不是一字不差地复制我附件中的Clover文件夹。这会使你学到更多的东西,也能对这个论坛更有价值。

Please read the full guide before gettingstarted.在你动手操作之前,请完整地阅读这篇指南。

DellXPS 13-MLK 9360:



[*]Intel i7-7500U 2.7GHz
[*]Intel HD Graphics 620
[*]8GB LPDDR3 1866MHz
[*]256GB SSD (Toshiba NVMe)
[*]13.3” FHD (1920 x 1080) IPS
[*]Broadcom 802.11ac BCM94352Z   M.2 NGFF

Note:
注意:
Kaby Lake processors are not currentlysupported by macOS and it is uncertain when or if they will be. Luckily KabyLake is similar enough to Skylake that we are able to use a Skylake FakeCPUIDand SMBIOS and have it run almost flawlessly.
KabyLake的处理器目前还没有被macOS支持,也不知道它什么时候或者是否会被兼容。幸运的是Kaby Lake跟Skylake的架构足够相似,所以我们可以使用一个Skylake的FakeCPUID和SMBIOS来让它几乎毫无问题的运行。
At the time of writing, BIOS version is:XPS_9360_1.2.3.
在我写这篇文章的时候,BIOS的版本是:XPS_9360_1.2.3。

Installation:
安装

[*]Set DVMT-prealloc to 64MB
[*]将DVMT-Prealloc设置到64M


[*]Create bootable macOS USB
[*]创建一个macOS的USB启动盘


[*]Copy all Pike’s NVMe patches   from install-config.plist (attached) into your config.plist on your   bootable USB. Alternatively, use my plist to install, it is the one I keep   on my USB (don’t forget to rename to config.plist).
[*]从附件中的install-config.plist中复制所有Pike的NVMe补丁,粘贴到你的启动盘config.plist里。或者,使用我的plist去安装,那是我保存在我USB盘里的(不要忘了重命名为config.plist)。


[*]Boot USB and install.
[*]通过USB启动并安装。


Post-Install Patches:
安装后补丁:
Clover DSDT Patches: Enable change _DSM to XDSM and _OSI to XOSI,these will prevent clashes with injected SSDTs in ACPI/patched. Also copySSDT-XOSI.aml to CLOVER/ACPI/patched, this is the Windows OS-check fix.
CloverDSDT补丁:把_DSM换成XDSM,把_OSI换成XOSI,这些会避免和ACPI/patched中注入的那些SSDT发生冲突。同样的,复制SSDT-XOSI.aml到 CLOVER/ACPI/patched文件夹下,这是修复Windows的系统检测。
Don’t forget to copy kexts/Other to/System/Library/Extensions (/S/L/E).不要忘了复制kexts/Other文件夹到/System/Library/Extensions(/S/L/E)下面。NVMe: Create your own SSDT-NVMe-Pcc.aml and HackrNVMeFamily.kext, andremove Pike’s patches from your plist. Do Not try booting withneither or both the patches and the SSDT, it most likely will not end well. Forreference, my ACPI path is _SB.PCI0.RP09.PXSX, yours could be different. NVMe:生成你自己的SSDT-NVMe-Pcc.aml和HackrNVMeFamily.kext,然后从你的plist中移除Pike的补丁。绝对不要同时使用这两份补丁和SSDT,也不要同时禁用,这样做绝大部分的结果都不理想。作为参考,我的ACPI路径是_SB.PCI0.RP09.PXSX,你的路径可能不一样。

CPU PM: Generate your own ssdtPRGen using Pike’s script. It is probablyrequired to have your SMBIOS set up before this. https://github.com/Piker-Alpha/ssdtPRGen.shCPU PM:使用Pike的脚本来生成你自己的ssdtPRGen。当然,这可能需要你提前设置好你的SMBIOS。IGPU PM: Enable change GFX0 to IGPU in Clover DSDT Patches and copySSDT-IGPU.aml to ACPI/patched.IGPUPM:在Clover的DSDT中把GFX0替换为IGPU,再把SSDT-IGPU.aml复制到ACPI/patched中。

Audio: Change HDAS to HDEF in Clover DSDT patches + inject layout 13,copy SSDT-HDEF.aml to ACPI/patched, and copy cloverHDA.kext to /S/L/E. EnableClover NewWay patch FIX_RTC, as well as all the AppleHDA patches in CloverKernel and Kext Patches. https://github.com/insanelydeepak/cloverHDA-for-Mac-OS-Sierra-10.12声音:在DSDT的补丁中把HDAS换成HDEF加上注入layout13,复制SSDT-HDEF.aml到ACPI/patched中,同时复制cloverHDA.kext到/S/L/E。开启Clover NewWay补丁FIX_RTC,还有Clover Kernel和Kext中的所有AppleHDA补丁
Wifi: Enable AirPortBrcm4360 - fcvo in Clover Kernel and Kext Patches,copy BrcmFirmwareRepo.kext, BrcmPatchRAM2.kext, FakePCIID_Broadcom_WiFi.kext to/S/L/E. https://github.com/RehabMan/OS-X-BrcmPatchRAM, https://github.com/RehabMan/OS-X-FakeSMC-kozlekWifi:开启Clover Kernel和Kext Patches中的AirPortBrcm4360 – fcvo,复制BrcmFirmwareRepo.kext,BrcmPatchRAM2.kext, FakePCIID_Broadcom_WiFi.kext到/S/L/E里.
Brightness: Copy SSDT-Brightness.aml to ACPI/patched andIntelBacklight.kext to /S/L/E. https://github.com/RehabMan/OS-X-Intel-Backlight亮度调节:复制SSDT-Brightness.aml到ACPI/patched里,复制IntelBacklight.kext到/S/L/E里。
Battery: Copy ACPIBatteryManager.kext to /S/L/E. Note: did not have anyEC fields larger than 8 in DSDT so no battery patches necessary. https://github.com/RehabMan/OS-X-ACPI-Battery-Driver电池:复制ACPIBatteryManager.kext到/S/L/E里。注意:因为DSDT没有超过8的EC fields,所以主板原生支持,不需要打电池补丁的必要。(感谢10楼soto2080的解释)
Sierra GFX Glitch: Enable all IntelGFX patches in CloverDevices/Add Properties.SierraGFX Glitch:开启Clover Devices/Add Properties中的所有IntelGFX补丁。
热补丁参考: https://www.tonymacx86.com/threads/guide-using-clover-to-hotpatch-acpi.200137/


Notworking:无法工作的:



[*]Brightness keys (couldn’t   get any of the methods to work)

[*]亮度控制键(没有任何方法让它有效)




[*]Headphone jack (neither of   insanelydeepak’s cloverALC’s have it)

[*]耳机接口(insanelydeepak’s   cloverALC’s两种方式都不行)




[*]Card-reader (might be   universal hackintosh problem)

[*]读卡器(也许是所有黑苹果的通病)




[*]Battery life is definitely   worse than Windows

[*]电池的持续使用时间明显不如在Windows下




[*]Not Tested: Thunderbolt /   USB-C port

[*]未测试:雷电/USB-C接口

Misc:其他:

SMBIOS: I use MacBookPro13,2. So far it has been workingwithout problems. Whether or not this needs to be set before installation, Idon't know. I've changed mine to iMac17,1, MacBook9,1, and the currentMacBookPro13,2 all after the initial install, and I haven't had issues so far.The only problem I had was the MacBook9,1 threw a KP when booted with Pike'sssdtPRGen.SMBIOS:我使用了MacBookPro13,2。目前使用没有问题我不知道这个是否需要在安装前设置好。在最初的安装之后,我先后使用过iMac17,1, MacBook9,1和目前的MacBookPro13,2,都没有出过问题。唯一一个有问题的是MacBook9,1在用Pike的ssdtPRGen启动时遇到一次KP。
CPU PM + Fans: Fans only kick in when CPU is at 90C+, whichis way above my comfort zone. A possible solution to this is to not use Pike’sssdtPRGen SSDT and disable TurboBoost through Clover. Temperatures are moremanageable like this, hardly ever rising above 80C, but it is definitely lesssnappy and battery life appears to be somehow worse than with Pike’s SSDT aswell. Additionally, my experiments with HWPEnabler found no benefits over theprevious two methods.CPU PM+风扇:风扇只有当CPU到90℃以上才会启动,这时候已经远超过了我的舒适区。针对这个现象的解决方法是不要用Pike的ssdtPRGen SSDT,同时通过Clover禁用TurboBoost。这样的话温度就可控多了,几乎不会超过80℃,可是这样的话电池的持续使用时间不如禁用前。另外,我关于HWPEnabler的试验对比发现前面的两种方式没有任何优势。
Common Patches not implemented: "SMBUS Fix", "Fix Mutex withnon-zero SyncLevel". So far everything seems to be running fine withoutthem.未执行的普通补丁: "SMBUS Fix", "Fix Mutex with non-zeroSyncLevel",目前系统没有这两个补丁也运行良好。
iMessage修复: https://www.tonymacx86.com/threads/an-idiots-guide-to-imessage.196827/

If you have any improvements or optimizationsyou think could benefit this build, please post them here and I will add them.如果你有任何改进或者优化这个指南流程的方法,请把想法回复出来,我会把他们添加进去的。

Thanks for reading, best of luck and enjoy!感谢阅读,1024好人一生平安!


l892125565 发表于 2017-6-20 01:49

感谢楼主翻译能不能一并翻一下9560http://www.insanelymac.com/forum/topic/324366-dell-xps-15-9560-4k-touch-1tb-ssd-32gb-ram-100-adobergb%E2%80%8B/

339342348 发表于 2017-6-20 02:06

好老的帖子了,其实翻译的意义并不大,最新的10.13和10.12.6beta3其实都已经可以原生的支持kaby lake了,不过分享也是一种精神

sleepnet 发表于 2017-6-20 06:13

不错哦,感谢

p.H 发表于 2017-6-20 07:35

排版建议,中英文可以换个颜色。另外文章过于紧凑了

MagicMie 发表于 2017-6-20 10:08

p.H 发表于 2017-6-20 07:35 https://www.pcbeta.com/static/image/common/back.gif
排版建议,中英文可以换个颜色。另外文章过于紧凑了

好的,当时排版的时候从word里直接复制的微软雅黑的字体,感觉行距还挺大的,没想到发出来这么紧,晚上下班我重排一下。

MagicMie 发表于 2017-6-20 10:31

339342348 发表于 2017-6-20 02:06 https://www.pcbeta.com/static/image/common/back.gif
好老的帖子了,其实翻译的意义并不大,最新的10.13和10.12.6beta3其实都已经可以原生的支持kaby lake了,不 ...

论坛里没人写9360相关的教程啊,我晚点去找找新的教程看看。

MagicMie 发表于 2017-6-20 10:32

l892125565 发表于 2017-6-20 01:49 https://www.pcbeta.com/static/image/common/back.gif
感谢楼主翻译能不能一并翻一下9560http://www.insanelymac.com/forum/topic/324366-dell-xps-15-9560-4 ...

我还是想先翻译一些9360相关的,如果找不到更新的文章,就翻译你的这一篇。

jspzhao 发表于 2017-6-20 11:00

楼主,牛逼啊

soto2080 发表于 2017-6-20 11:08

Battery: Copy ACPIBatteryManager.kext to /S/L/E. Note: did not have anyEC fields larger than 8 in DSDT so no battery patches necessary. https://github.com/RehabMan/OS-X-ACPI-Battery-Driver

這個意思是你的OEM本身DSDT寫法就符合規範,所以原生支援不需要修改.

l892125565 发表于 2017-6-21 02:52

MagicMie 发表于 2017-6-20 10:32 https://www.pcbeta.com/static/image/common/back.gif
我还是想先翻译一些9360相关的,如果找不到更新的文章,就翻译你的这一篇。

{:5_280:} 这一篇9560的还算是比较新了 期待啊

tony_weibs 发表于 2017-6-22 09:06

虽然没有dell任何东西,本着学习的态度来看看。

会飞的穗子 发表于 2017-6-25 11:04

谢谢楼主分享

ztrxp 发表于 2017-7-10 10:22

我也是9360,用的另外一个帖安装的。。现在只是安装好系统,好多都没驱动

soryer 发表于 2017-9-20 22:19

真的很赞   感谢楼主~~

306669650 发表于 2017-9-30 18:08

学习了谢谢

306669650 发表于 2017-9-30 18:09

学习了谢谢

306669650 发表于 2017-9-30 18:09

学习了谢谢

ganhuarong 发表于 2018-4-3 21:15


谢谢楼主分享

panshengmou 发表于 2018-12-31 17:04

刚入手一个XPS 139360 , 就是冲着黑苹果来的, 先学习学习
页: [1]
查看完整版本: 【翻译】Dell XPS13-9360 (2016) Sierra-10.12.2