macOS Catalina | macOS Mojave | macOS High Sierra |
---|---|---|
10.15.4 (19E266) | 10.14.6 (18G87) | 10.13.6 (17G2112) |
10.15.3 (19D76) | 10.14.5 (18F132) | 10.13.6 (17G65) |
10.15.2 (19C57) | 10.14.4 (18E226) | |
10.15.1 (19B88) | 10.14.3 (18D42) | |
10.15 (19A583) | 10.14.2 (18C54) | |
10.14.1 (18B75) | ||
10.14 (18A389) |
- Device : Dell XPS 13 9360
- CPU : Intel i7-8550U
- GPU : Intel UHD 620 Kaby Lake
- RAM : SK Hynix 16GB 2133 MHz LPDDR3
- Sound : Realtek ALC256 (ALC3246)
- SSD : WD Black SN750 (WDS100T3X0C) 1TB NVMe PCIe SSD
- Display : FHD (1920x1080) on XPS | QHD (2560x1440) on external display (CHIMEI 27P10Q)
- Camera : UVC Camera VendorID_3034 ProductID_22155
- Wifi-Card : Swapped the original
Killer 1535
withDW1560
- Thunderbolt 3 Dongle : Dell DA300
- Dual-Boot OS: macOS Catalina
10.15.2 (19C57)
& Ubuntu18.04 LTS
- BIOS Version:
2.8.1
- Thunderbolt Version:
NVM 26
- Bluetooth Version:
v14 c5668
with BrcmPatchv2.5.2
- Default bootloader: Clover
r5103
- Running Downloader, then download the version you prefer.
- Make bootable drive with balenaEtcher.
- Copy the whole repository to EFI partition.
- Enter
BIOS/Boot Sequence
, addBoot Entry
withCLOVER/tools/DVMT.efi
, then run the following commands
setup_var 0x4de 0x00 // Disable CFG Lock
setup_var 0x785 0x06 // Increase DVMT pre-allocated size to 192M For FHD version, it's also recommended setting to 192M
setup_var 0x786 0x03 // Increase CFG Memory to maximum
- Choose any Linux distribution you like, I prefer Ubuntu
- Formatting SSD to
4K sectors
withnvme-cli
... for working better withAPFS
, seeStep 2
in this guide.
Get compatible with LITEON and PLEXTOR SSD - If you are not using with LITEON or PLEXTOR SSD, skip it.
- To solve the problem,
config.plist
with patches is needed. - The
config.plist
with patches is under the path config for LITEON. - Rename to
config.plist
and try one at each time, one of them would be capatible with your SSD.
-
Sata: AHCI
-
Enable SMART Reporting
-
Disable thunderbolt boot and pre-boot support
-
USB security level: disabled
-
Enable USB powershare
-
Enable Unobtrusive mode
-
Disable SD card reader (saves 0.5W of power)
-
TPM Off
-
Deactivate Computrace
-
Enable CPU XD
-
Disable Secure Boot
-
Disable Intel SGX
-
Enable Multi Core Support
-
Enable Speedstep
-
Enable C-States
-
Enable TurboBoost
-
Enable HyperThread
-
Disable Wake on USB-C Dell Dock
-
Battery charge profile: Standard
-
Numlock Enable
-
FN-lock mode: Disable/Standard
-
Fastboot: minimal
-
BIOS POST Time: 0s
-
Enable VT
-
Disable VT-D
-
Wireless switch OFF for Wifi and BT
-
Enable Wireless Wifi and BT
-
Allow BIOS Downgrade
-
Allow BIOS Recovery from HD, disable Auto-recovery
-
Auto-OS recovery threshold: OFF
-
SupportAssist OS Recovery: OFF
-
Disable Camera (Optional)
-
Copy all folders and files from this repository to EFI partition.
-
Enter
BIOS/Boot Sequence
, and adding new entry with path/CLOVER/CLOVERX64.efi
-
To activate Wifi and Bluetooth functions for
DW1560
, follow next step, or skip it.
- Copying kexts from path
/DW1560
to/EFI/CLOVER/kexts/Other
is needed, and then running command to rebuild cache.
sudo diskutil mount /dev/disk0s1
bash /Volumes/EFI/XPS.sh --rebuild-cache
If booting with OpenCore Configurator rather than Clover Configurator, the three kexts above has existed in /OC/Kexts
already, you still have to copy them to /Library/Extensions
, and then running previous command to rebuild cache.
- Change
SMBIOS
settings for your device- With Clover Configurator, enter the
SMBIOS Mode
ofconfig.plist
. - Generate new
Serial Number
,SMUUID
, save the changes ---> REBOOT
- With Clover Configurator, enter the
If booting with OpenCore Configurator rather than Clover Configurator, install OpenCore Configurator, then enter SMBIOS
to do same things above.
- After mounting the EFI partition with Clover Configurator or running the following commands below in terminal..
- Mount EFI partition with the command below
sudo diskutil mount /dev/disk0s1
- Running
XPS.sh
to compile DSDT
bash /Volumes/EFI/XPS.sh --compile-dsdt
- Running
XPS.sh
to Allow 3rd party Applications to install on macOS
bash /Volumes/EFI/XPS.sh --enable-3rdparty
- Running
XPS.sh
to fix Headphone Jack
bash /Volumes/EFI/XPS.sh --combo-jack
- Running
XPS.sh
to enable TRIM support on SSD
bash /Volumes/EFI/XPS.sh --enable-trim
- Running
XPS.sh
to rebuild cache
bash /Volumes/EFI/XPS.sh --rebuild-cache
- Running
XPS.sh
to enable better sleep support
bash /Volumes/EFI/XPS.sh --better-sleep
- Running
XPS.sh
to Disable 4-Digit Pin Required on macOS
bash /Volumes/EFI/XPS.sh --pin-custom
Open System Preferences/Sound/Input
- Default SMBIOS settings of this repo is
MacbookPro15,2
. Serial Number
andSmUUID
are erased beforehand, you need to generaete on your own.
- The kexts and SSDT for
i7-8550U
has put here, by working SMBIOS withMacbookPro15,2
. - You have to put
CPUFriend.kext
&CPUFrindDataProvider.kext
in both/CLOVER/kexts/Other
andLibrary/Extensions
, then rebuild cache. - Furthermore, you also have to put
SSDT-CPUF.aml
in/CLOVER/ACPI/patched
for working as normal after awake.
To do that you need to edit Info.plist
in VoodooI2CHID.kext
:
- Open the
Info.plist
in theVoodooI2CHID.kext
with any Text Editor(I use Atom) - Finding the
QuietTimeAfterTyping
- Changing the
value
you prefer
Refer to Commands for more customization.
- Use one-key-HiDPI
Enter BIOS/Boot Sequence
then add new Boot with CLOVER/tools/DVMT.efi
, run the following commands
- Overclock, CFG, WDT & XTU enable
setup_var 0x4DE 0x00
setup_var 0x64D 0x01
setup_var 0x64E 0x01
- Undervolting values:
setup_var 0x653 0x64 // CPU: -100 mV
setup_var 0x655 0x01 // Negative voltage for 0x653
setup_var 0x85A 0x1E // GPU: -30 mV
setup_var 0x85C 0x01 // Negative voltage for 0x85A
- You need an external NVMe reader to carry your new SSD as an external drive.
- Under macOS environment, using
Disk Utility
format your new SSD asAPFS
format. - Using Carbon Copy Cloner, to clone the whole System Disk to your new drive.
- Before upgrading, remember to backup with
Time Machine
through external drive. - Creating bootable USB drive with the version of macOS you prefer, and replace EFI partition with this repo. [Download Link] [balenaEtcher]
- After booting sucessfully, copy the whole repo to you EFI partition. (The commands to mount EFI partition is provided above.)
- If you use
DW1560
, follow the guide. - Refer to shell script part, and follow the commands.
- Follow the guide to set your CPUFriend.
- Recovery you data and settings from your backup through
Migration Assistant
.
- According to ioregistryExplorer,
Framebuffer@0 (Connector 0)
is LVDS (Internal Display). Framebuffer@1 (Connector 1)
,Framebuffer@2 (Connector 2)
are pointing to DisplayPort and HDMI respectively.- Refer to gfxutil, path of iGPU is
DevicePath = PciRoot(0x0)/Pci(0x2,0x0)
- HDMI is working perfectly, video and audio output are both working flawlessly.
ID: 59160000, STOLEN: 34 MB, FBMEM: 0 bytes, VRAM: 1536 MB, Flags: 0x00000B0B
TOTAL STOLEN: 35 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 103 MB, MAX OVERALL: 104 MB (109588480 bytes)
GPU Name: Intel HD Graphics 620
Model Name(s): MacBookPro14,2
Camelia: Disabled, Freq: 1388 Hz, FreqMax: 1388 Hz
Mobile: 1, PipeCount: 3, PortCount: 3, FBMemoryCount: 3
[0] busId: 0x00, pipe: 8, type: 0x00000002, flags: 0x00000098 - LVDS
[1] busId: 0x05, pipe: 9, type: 0x00000400, flags: 0x00000187 - DP
[2] busId: 0x04, pipe: 10, type: 0x00000800, flags: 0x00000187 - HDMI
00000800 02000000 98000000
01050900 00040000 87010000
02040A00 00080000 87010000
- Known info
Digital Audio (HDMI / DVI / DP)
To enable digital audio it is necessary to set the necessary properties and, usually, patch the connectors.
To enable audio in general and HDMI in particular use WEG along with AppleALC.kext.
On 10.10.5 and above, WEG automatically changes the connector-type of DP (00040000) to HDMI (00080000) if no custom patches are used.
The actual connection may be of any type (HDMI / DVI / DP), but for the digital audio to function the connector-type must explicitly be HDMI.
When HDMI plugged in, macOS would recognize as DP (busID: 0x05), not HDMI (busID: 0x04).
- List of busID and ports recognized in macOS:
DP | HDMI | DVI |
---|---|---|
0x02 | 0x00 | 0x01 |
0x04 | 0x02 | 0x02 |
0x05 | 0x04 | 0x04 |
0x06 | 0x06 | 0x06 |
framebuffer-conX-enable
01000000
-> Enable,00000000
-> Disableframebuffer-conX-type
00000800
-> HDMI output,00000400
-> DP outputframebuffer-conX-index
fffffff
-> Blockframebuffer-unifiedmem
00000080
-> VRAM to 2048M,000000C0
-> VRAM to 3072Mframebuffer-fbmem
00009000
-> 9M for FHD,00000003
-> 48M for QHD/UHD- All framebuffer values can be insert as
NUMBER
type, exceptig-platform-id
.
darkwake=4
Thedarkwake
flag has to do with sleep. More information can be found in this thread.igfxcflbklt=opcode
To work withWhateverGreen.kext
, fixing BackLight.brcmfx-country=XX
Change the country code to XX (US, CN, #a, ...) For Broadcom WiFi card.brcmfx-country=#a
Enables 80MHz wide channels on the 5GHz spectrum. For Broadcom WiFi card.agdpmod=vit9696
Disable check forboard-id
.
- To activate
shutdown dialog
, it's necessary toRename PBTN to PWRB
. - Although
SSDT-PWRB
is added, rename part is also needed inLPCB
.