- Joined
- Jun 3, 2014
- Messages
- 249
- Motherboard
- Dell XPS 13 9360
- CPU
- i5-8250U
- Graphics
- UHD 620 1920*1080
First of all, I want to thank @RehabMan, without his help, I won't be able to find some stupid settings errors that break many features and fix it.
English is not my native language, so if you find typo or grammar problems, please figure it out.
It's not a popular series and not difficult to setup, the following is some tips and notes
Specs
English is not my native language, so if you find typo or grammar problems, please figure it out.
It's not a popular series and not difficult to setup, the following is some tips and notes
Specs
- Intel i7-6700HQ with IGPU Intel HD 530
- 4GB DDR4(2 slots,I add 8GB more personally)
- 1TB HDD+PM951 128G(One SATA3 slot for 2.5-inch HDD and One M.2 slot supports nvme)
- 15,6” IPS 1920x1080 (no touchscreen)
- Nvidia GTX 950M (Can disabled in BIOS)
- Intel AC3165(Replaced with BCM94352Z)
- ALC235(AppleAlc id 11)
- Reltek RTL8111(RJ-45)
- 2x USB 3.0 1x USB 2.0
- Webcam
- Integrated microphone
- Integrated loudspeakers (JBL)
- HDMI Output Port
- SD card reader
- 4-cell, 45Wh(Poor)
Todo - Internal display dim when connect external display
Things broken
- SD Card Reader
- Flight Mode(Fn+F7)
- Please Tell me
8/29: Energy Monitor fix thx to @RehabMan ,Now AppleALC will work with the model.The customized layout id is 11. and some minor fixes. - 6/30:Update AppleALC built with customized ALC235 resources.
7/9:Upload hot-patch build(then you don't need to patch DSDT by yourself). CLOVER.zip is attched
7/23:Update NVMe Driver to 10.12.6, add hot patch--disable discrete graphics and upload plist for Retina
Installation
What you should do is follow this Guide.
Read it carefully, and some tips here.
1.Our device need EmuVariableUefi-64.efi.
2.Kexts must have for installation:FakeSMC,Lilu,IntelGraphicsDVMTFixup,RealtekRTL8111,Anyone PS2 driver
3.For nvme SSD, must have HackrNVMeFamily-10_12_5_spoof, SSDT-NVMe-RP09.aml should be placed at ACPI/Patched
4.For HDD,must have SATA-100-series-unsupported.kext.
5.Coming soon.
Post-installation
Follow the instruction to crate you own build or use my hot patch build(attachment).
1.USB FIX
(via USBInjectAll.kext)
Follow
[Guide] 10.11+ USB changes and solutions
and
[Guide] USB power property injection for Sierra
(Or you can use SSDT-USB.aml in my attachment directly)
then
change EC0 to EC via Clover DSDT patch(Already in @RehabMan's plist)
2.Power Mangement
Choose a model that supports HWP.
Check HWPenable and Generate PStates in Clover.
Change GFX0 to IGPU via Clover DSDT Patch
3.Backlight
[Guide] Laptop backlight control using AppleBacklightInjector.kext
It can be condense to
1.Place SSDT-PNLF.aml at ACPI/Patched.
2.Install AppleBacklightInjector.kext.
3.Add this patch to Clover
Look here:If you don't patch DSDT, use clover to change PNLF to anything else to load it correctly.There already has PNLF in our OEM DSDT.
4.Battery Status
Just install ACPIBatteryManager.kext.
5.Disable discrete graphics
disable it in BIOS or use DisableDGPU from RehabMan's repo.
6.Wi-Fi and BT
1.Wi-FI
After replaced origin one with BCM94352Z,Install FakePCIID and plug-in FakePCIID_Broadcom_WiFi.
Add those patch to Clover
2.BT
Install BrcmPatchRAM2.kext and BrcmFirmwareData.kext
And the remains fix need to pair with dsdt patch, now move on to Dsdt patch
7.DSDT Patch
First of all, get a patchable DSDT(follow this guide
[Guide] Patching LAPTOP DSDT/SSDTs)
Patches I don't give can be found at @RehabMan's repo.
After you get a zero error DSDT,then
1.Rename HDAS to HDEF manually.
2.Rename HECI to IMEI manually.
3.Rename PNLF to anything else or remove it manually.
4.[syn] Rename _DSM methods to XDSM
5.[sys] Fix Mutex with non-zero SyncLevel
6.[sys] IRQ Fix
7.[sys] OS Check Fix (Windows 10)
8.[sys] RTC Fix
9.[sys] Skylake LPC
10.[sys] SMBUS Fix
11.[usb]usb_prw_0x6d_xhc_skl
12.audio_HDEF-layout1
13.Brighteness Keys fix(Pair with ApplePS2Smart driver)
14.Shutdown fix
Not A Patch,Add it under _PTS
15.[sys]HPET Fix
DSDT patch END.
8.Audio Fix
(Must be done after DSDT is patched)
1.Native AppleHDA
This not a guide to make a customized AppleHDA.
So We use AppleALC(Must Paired with Lilu)
Customized layout-id is 11.
How to use AppleALC? Just install it.Rebuild Cache and reboot.
2.No sound after sleep
Place CodecCommander.kext at S/L/E or L/E paired with SSDT-ALC235.aml(in my attachment)
9.HDMI FIX
(Must be done after DSDT is patched and have a working Audio output)
1.Add this to clover plist (AddProperties)
2.Select a model,I use 13,3 personally.
3.Install FakePCIID_Intel_HDMI_Audio.kext
4.Kext Patch(Thanks to @RehabMan )
Find AppleGraphicsDevicePolicy.kext, open info.plist, add your model according to your SMBIOS choice.
As for myself(13,3)
Add this code under ConfigMap.
What you should do is follow this Guide.
Read it carefully, and some tips here.
1.Our device need EmuVariableUefi-64.efi.
2.Kexts must have for installation:FakeSMC,Lilu,IntelGraphicsDVMTFixup,RealtekRTL8111,Anyone PS2 driver
3.For nvme SSD, must have HackrNVMeFamily-10_12_5_spoof, SSDT-NVMe-RP09.aml should be placed at ACPI/Patched
4.For HDD,must have SATA-100-series-unsupported.kext.
5.Coming soon.
Post-installation
Follow the instruction to crate you own build or use my hot patch build(attachment).
1.USB FIX
(via USBInjectAll.kext)
Follow
[Guide] 10.11+ USB changes and solutions
and
[Guide] USB power property injection for Sierra
(Or you can use SSDT-USB.aml in my attachment directly)
then
change EC0 to EC via Clover DSDT patch(Already in @RehabMan's plist)
2.Power Mangement
Choose a model that supports HWP.
Check HWPenable and Generate PStates in Clover.
Change GFX0 to IGPU via Clover DSDT Patch
3.Backlight
[Guide] Laptop backlight control using AppleBacklightInjector.kext
It can be condense to
1.Place SSDT-PNLF.aml at ACPI/Patched.
2.Install AppleBacklightInjector.kext.
3.Add this patch to Clover
Code:
<dict>
<key>Comment</key>
<string>change F%uT%04x to F%uTxxxx in AppleBacklightInjector.kext (credit RehabMan)</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
RiV1VCUwNHgA
</data>
<key>Name</key>
<string>com.apple.driver.AppleBacklight</string>
<key>Replace</key>
<data>
RiV1VHh4eHgA
</data>
</dict>
4.Battery Status
Just install ACPIBatteryManager.kext.
5.Disable discrete graphics
disable it in BIOS or use DisableDGPU from RehabMan's repo.
6.Wi-Fi and BT
1.Wi-FI
After replaced origin one with BCM94352Z,Install FakePCIID and plug-in FakePCIID_Broadcom_WiFi.
Add those patch to Clover
Code:
<dict>
<key>Comment</key>
<string>AirPortBrcm4360 - fcvo</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
gflSqgAAdSk=
</data>
<key>Name</key>
<string>AirPortBrcm4360</string>
<key>Replace</key>
<data>
gflSqgAAZpA=
</data>
</dict>
Code:
<dict>
<key>Comment</key>
<string>10.11.dp1+ BT4LE-Handoff-Hotspot, credit RehabMan based on Dokterdok original</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
SIX/dEdIiwc=
</data>
<key>Name</key>
<string>com.apple.iokit.IOBluetoothFamily</string>
<key>Replace</key>
<data>
Qb4PAAAA60Q=
</data>
</dict>
Code:
<dict>
<key>Comment</key>
<string>Patch CC to #a</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
QYP8/3QsSA==
</data>
<key>Name</key>
<string>AirPortBrcm4360</string>
<key>Replace</key>
<data>
ZscGI2HrKw==
</data>
</dict>
2.BT
Install BrcmPatchRAM2.kext and BrcmFirmwareData.kext
And the remains fix need to pair with dsdt patch, now move on to Dsdt patch
7.DSDT Patch
First of all, get a patchable DSDT(follow this guide
[Guide] Patching LAPTOP DSDT/SSDTs)
Patches I don't give can be found at @RehabMan's repo.
After you get a zero error DSDT,then
1.Rename HDAS to HDEF manually.
2.Rename HECI to IMEI manually.
3.Rename PNLF to anything else or remove it manually.
4.[syn] Rename _DSM methods to XDSM
5.[sys] Fix Mutex with non-zero SyncLevel
6.[sys] IRQ Fix
7.[sys] OS Check Fix (Windows 10)
Code:
into_all method code_regex If\s+\([\\]?_OSI\s+\(\"Windows\s2015\"\)\) replace_matched begin If(LOr(_OSI("Darwin"),_OSI("Windows 2015"))) end;
9.[sys] Skylake LPC
10.[sys] SMBUS Fix
11.[usb]usb_prw_0x6d_xhc_skl
12.audio_HDEF-layout1
Code:
into method label _DSM parent_label HDEF remove_entry;
into device label HDEF insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"layout-id", Buffer() { 1, 0x00, 0x00, 0x00 },\n
"hda-gfx", Buffer() { "onboard-1" },\n
"PinConfigurations", Buffer() { },\n
//"MaximumBootBeepVolume", 77,\n
})\n
}\n
end;
Code:
#Edit methods _Q1D and _Q1C to interface with KBD0 (or PS2K in some systems),
into method label _Q1D replace_content
begin
// Brightness Down\n
Notify (KBD0, 0x20)\n
end;
into method label _Q1C replace_content
begin
// Brightness Up\n
Notify (KBD0, 0x10)\n
end;
Not A Patch,Add it under _PTS
Code:
If (LEqual (0x05, Arg0))
{
If (CondRefOf (\_SB.PCI0.XHC.PMEE))
{
Store (Zero, \_SB.PCI0.XHC.PMEE)
}
}
DSDT patch END.
8.Audio Fix
(Must be done after DSDT is patched)
1.Native AppleHDA
This not a guide to make a customized AppleHDA.
So We use AppleALC(Must Paired with Lilu)
Customized layout-id is 11.
How to use AppleALC? Just install it.Rebuild Cache and reboot.
2.No sound after sleep
Place CodecCommander.kext at S/L/E or L/E paired with SSDT-ALC235.aml(in my attachment)
9.HDMI FIX
(Must be done after DSDT is patched and have a working Audio output)
1.Add this to clover plist (AddProperties)
Code:
<dict>
<key>Device</key>
<string>IntelGFX</string>
<key>Disabled</key>
<false/>
<key>Key</key>
<string>hda-gfx</string>
<key>Value</key>
<string>onboard-1</string>
</dict>
2.Select a model,I use 13,3 personally.
3.Install FakePCIID_Intel_HDMI_Audio.kext
4.Kext Patch(Thanks to @RehabMan )
5.Modify AGDPComment:HDMI-audio, port 0105, 0x191B0000
Name:com.apple.driver.AppleIntelSKLGraphicsFramebuffer
Find:01050900 00040000 87010000
Replace:01050900 00080000 87010000
Find AppleGraphicsDevicePolicy.kext, open info.plist, add your model according to your SMBIOS choice.
As for myself(13,3)
Add this code under ConfigMap.
<key>Mac-A5C67F76ED83108C</key>
<string>none</string>
Retina
You need to create one with your id.
read the post: https://www.tonymacx86.com/threads/adding-using-hidpi-custom-resolutions.133254/
if you have 9e5-65d you can use my config following.
read the post: https://www.tonymacx86.com/threads/adding-using-hidpi-custom-resolutions.133254/
if you have 9e5-65d you can use my config following.
1.Download DisplayProductID-65d.plist.
2.
3.sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true
4.cd /System/Library/Displays/Contents/Resources/Overrides
5.sudo mkdir DisplayVendorID-9e5
6.Restart and use RDM to change to Retina.sudo cp ~/Downloads/DisplayProductID-65d.plist /System/Library/Displays/Contents/Resources/Overrides/DisplayVendorID-9e5/DisplayProductID-65d
Result
Attachments
Last edited: