Jump to content

[Guide] Dell Inspiron 3x37 - 5x37 -7x37 Clover, Yosemite/El Capitan


macgihan

Recommended Posts

Dell Inspiron 3x37 - 5x37 -7x37 Clover Install Guide for Yosemite/El Capitan .

Mainly for Dell Inspiron 3437, 3537, 3737, 5437, 5537, 5737, 7437, 7537, 7737

original guide by  pokenguyen

Dell Inspiron 3x37-5x37-7x37 Mavericks/Yosemite Clover Install Guide

 

Requirements :

  1. Your Dell 3x37 - 5x37 -7x37 series laptop .. with internet connection .
  2. OS X El Capitan.app from App Store(currently version 10.11.1) or if you have OS X Yosemite.app downloaded from App Store previously place it under “Applications †folder..
  3. Two usb flash drives (only one should be 16 GB or lager )-better if you can use usb 2.0 drives/hub
  4. Some amount of free time to read and follow those instructions carefully..
  5. optional—since built-in intel 7260 wifi card not compatible with OS X, better WIFI+BT performance can be obtained using BCM4352HMB
  6. bios settings: update to latest(currently A13 for dell 7537)
  • - Disk: AHCI
  • - Intel Rapid Storage: Disabled
  • - UEFI Boot: Enabled
  • - Secure Boot: Disabled
  • - Legacy Rom: enabled(to avoid distorted boot screen when booting to recovery partition)
  • Function key behavior - muiltimedia key

Here i’m using dell 7537 intel 4500U,intelHD4400,nvidia GT750M[disabled with DSDT] with 1080p display and empty 1TB 5400rm toshiba hard drive . for wifi Broadcom BCM4352 Azurewave AW-CE123H card replaced.

 

What's working!!


  • Native power management
  • Accelerated graphics for HD4400 (including OpenCL)
  • Built-in keyboard (with special function keys)
  • Built-in trackpad
  • WIFI+BT via BCM94352HM
  • Built-in Audio
  • Airdrop + Bluetooth (with handoff) using BCM94352HMB
  • Native USB3 with AppleUSBXHCI (with USB2.0 )
  • Backlight controls with smooth transitions(thanks to new intel backlight kext)
  • Touchscreen (only single touch )
  • All the apple services(iMessages/FaceTime ,Location services,Mac App Store,iCloud,Find My Mac etc...)

Not working :

  • Built-in web-cam. (only not working in dell 7537)
  • Built-in SD card reader.
  • Discrete Nvidia GT750M graphics/AMD graphics card.

Pre installation:
creating the OS X installer: use a flash five 16GB or above for El Capitan( better if it is usb 2.0 device)
here i used 'createinstallmedia' method .

 

prepare your usb drive:

Format: osx extended journaled  
Name it as: install osx 

if you are installing El Capitan:

# copy installer image
sudo "/Applications/Install OS X El Capitan.app/Contents/Resources/createinstallmedia" --volume  /Volumes/install_osx --applicationpath "/Applications/Install OS X El Capitan.app" --nointeraction

# rename
sudo diskutil rename "Install OS X El Capitan" install_osx

if you are installing Yosemite:

# copy installer image
sudo "/Applications/Install OS X Yosemite.app/Contents/Resources/createinstallmedia" --volume  /Volumes/install_osx --applicationpath "/Applications/Install OS X Yosemite.app" --nointeraction

# rename
sudo diskutil rename "Install OS X Yosemite" install_osx

creating clover usb:

For this task even 256mb flash drive would be enough(yes i have one 😉)
but if you don’t ; just use a simple 4GB/8GB usb 2.0 flash drive for this process.



  • Format:MS-DOS(FAT).
  • name: clover.
  • since we install Clover UEFI, run the Clover Installer package:
  • select the target of the install to "clover†using "Change Install Location"
  • select "Customize" (since default is legacy install -> we must change it)
  • check "Install for UEFI booting only", "Install Clover in the ESP" ->automatically select
  • check "Bluemac" from Themes (or you can choose whatever you like )
  • check "OsxAptioFixDrv-64" from Drivers64UEFI
  • After making your selections go ahead and continue to "Install" the Clover to your USB flash drive.
  • after installation successful you should see folder named “EFIâ€inside of your clover usb.
  • Get EFI driver for the Clover installer(HFSPlus.efi)
  • https://github.com/JrCs/CloverGrower...64/HFSPlus.efiandcopy it to /EFI/Clover/drivers64UEFI
  • Remove EFI/CLOVER/kexts/10.6, 10.7, 10.8, 10.9, 10.10,10.11 but only leaving 'Other' folder and copy essential kexts to there
  • placing Essential kexts :- FakeSMC, VoodooPS2Controller( but after installation complete we add some more …)
    • it contains FakeSMC.kext + PlugIns(use only FakeSMC.kext for now )

 

You need to press F4 extract ACPI tables for your device(this takes several seconds to complete)

  • Then select your OS X installer and press space bar and boot verbose (incase we read into a problem and to see what’s going on there )
  • After passing the welcome screen you have to go to Disk utility and format your entire drive as GUID partition table ,
  • Format: OS X extended journaled and close the disk utility.

 

**********************************************************************************************************************************************************************************************************************************

 

Post installation.


First step is install clover boot loader to your internal drive(SSD/HDD)

use latest clover boot loader (which we already dowloaded ) and 



  • select the target of the install to “your system partition†using "Change Install Location"
  • select "Customize" (since default is legacy install -> we must change it)
  • check "Install for UEFI booting only", "Install Clover in the ESP" ->automatically select
  • check "Bluemac" from Themes (or you can choose whatever you like )
  • check "OsxAptioFixDrv-64" from Drivers64UEFI
  • install clover preferences plane
  • install RC scripts on target volume
  • Get EFI driver for the Clover installer(HFSPlus.efi) https://github.com/JrCs/CloverGrower...64/HFSPlus.efiandcopy it to /EFI/Clover/drivers64UEFI


If you want to have Ethernet (RTL8111 (for 7x37) or RTL8100 Ethernet (for 3x37-5x37))
RTL8111:RealtekRTL8111.kext: https://github.com/RehabMan/OS-X-Realtek-Network
RTL8100:RealtekRTL8100.kext: http://www.insanelymac.com/forum/top...hernet-series/
use provided config.plist_for_installer.zip >extract it and place it in EFI>CLOVER (press “replace†if it asks)


 

ACPI > GeneratePStates/CStates: uncheck , drop OEM :check

SMBIOS: create your new SMBIOS (Macbook Air 6,2/Macbook Pro 11,1) with suitable Serial Number


  • using OS X terminal.app type “uuidgen†(without quotes )several times and in smbios section >SmUUID >place the only one output there ( example:  7B831C6A-81E4-49D0-9C34-35095B2B7636 )
  • save the file and exit from that app.
  • make sure that your config.plist is under EFI>clover path with the changes you made!!


placing essential kext for post installation :



  • Remove EFI/CLOVER/kexts/10.6, 10.7, 10.8, 10.9, 10.10,10.11 , only leaving 'Other' folder and copy essential kexts to there.
  • post install Essential kexts :- FakeSMC, VoodooPS2Controller, FakePCIID_BCM94352Z_as_BCM94360CS2.kext+FakePCIID

 

patching DSDT/SSDT:

For this task you need more attention and effort to get successful results

Remember we extracted our native ACPI tables at boot screen with clover F4?(i you don’t read the guide carefully)
In clover usb flash drive go to:
EFI>CLOVER>ACPI>origin
you’ll find bunch of files copy them to folder called DSDT in desktop(we do NOT copy ACPI files that don't begin with DSDT or SSDT)
simply remove others to trash
so now we have only important ACPI files for disassembling precess(DSDT.aml ,SSDT-1.aml ,SSDT-2.aml etc…) 

Disassembling ACPI files
get this iasl version and extract and place under /usr/bin path (go to finder >go to folder >type the patch)
https://bitbucket.org/RehabMan/acpica/downloads

 

now open terminal app:

cd ~/Desktop/DSDT
iasl -da -dl *.aml

now you have disassembled your ACPI files (which have .dsl extension )
download this MacIASL version from rehabman (always good stuff ) 
https://github.com/RehabMan/OS-X-MaciASL-patchmatic
and place it under Applications folder :

 

  • open DSDT.dsl with MaciASL.app and go to preferences >set Compiler options to ACPI 5.0
  • Go to Sources tab then add new :

Name: Laptop patches
URL:  
http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master
Close Preferences window, click Patch button, paste the code then apply:

# Syntax errors
into definitionblock code_regex External\s+\(_SB_\.PCI0\.PEG0\) remove_matched;
into definitionblock code_regex External\s+\(_SB_\.PCI0\.PEG0\.PEGP\) remove_matched;
into definitionblock code_regex External\s+\(_SB_\.PCI0\.RP05\.PEGP\) remove_matched;
into definitionblock code_regex External\s+\(_SB_\.PCI0\.PEG0,\sUnknownObj\) remove_matched;
into definitionblock code_regex External\s+\(_SB_\.PCI0\.PEG0\.PEGP,\sUnknownObj\) remove_matched;
into definitionblock code_regex External\s+\(_SB_\.PCI0\.RP05\.PEGP,\sUnknownObj\) remove_matched;
into method label _L69 code_regex Notify\s\(\\_SB\.PCI0\.PEG0\.PEGP,\s0x02\) remove_matched;
into method label ADBG replace_content begin Return(0) end;
into method label HRPR code_regex (OperationRegion.*)\\_GPE.MMTB\s+\(0x04\), replace_matched begin %1\\_GPE.MMTB, 0x04)\n end;
into method label HRPR code_regex (Field\s+\(HRPE.*\n.*\n.*\n.*\})\) replace_matched begin %1 end;
into method label _WAK code_regex Store\s\(\\_GPE\.MMTB\s\(Local2,\s\\_GPE\.OSUP\s\(Local2\)\),\sStore\s\(Local1,\sREG6\)\) remove_matched;
into method label _INI code_regex Store\s\(\\_GPE\.MMTB\s\(Local3,\s\\_GPE\.OSUP\s\(Local3\)\),\sStore\s\(Local2,\sREG6\)\) remove_matched;

into method label _INI parent_label _SB.PCI0 code_regex (Store\s\(\\_GPE\.MMTB.*) replace_matched begin // %1 end;                                                                        
into method label _WAK code_regex (Store\s\(\\_GPE\.MMTB.*) replace_matched begin // %1 end;

# Prevent freeze caused by WMI
into method label WMIA replace_content begin // nothing end;

# Force BAT0 device
into method label _STA parent_label BAT0 replace_content begin Return (0x1F) end;

# Fix PNOT method
into method label PNOT replace_content begin // nothing end;

#     Enable functions keys
#     Override DSDT oemId (for Clover, since it patches with "Apple ")
into method label _DSM parent_label PS2K remove_entry;
into device label PS2K insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
  If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
  Return (Package()\n
  {\n
      // Note: Function key part seems to not be necessary
      // "AAPL,has-embedded-fn-keys", Buffer() { 0x01, 0x00, 0x00, 0x00 },\n
      "RM,oem-id", "DELL",\n
  })\n
}\n
end;


#   Inject Audio info
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() { 0x03, 0x00, 0x00, 0x00 },\n
      "hda-gfx", Buffer() { "onboard-1" },\n
      "PinConfigurations", Buffer() { },\n
  })\n
}\n
end;

click compile ;
if no errors you can go to next steps ….(if not you have to fix them)

click patch again :

 

  • Rename GFX0 to IGPU
  • 7/8-series USB
  • IRQ Fix
  • SMBUS Fix
  • RTC Fix
  • Shutdown Fix 2
  • HPET Fix
  • OS Check Fix(Windows 7)
  • AC Adapter Fix
  • Add MCHC
  • Fix _WAK arg0 2
  • Fix PNOT/PPNT
  • Add IMEI
  • Fix _WAK IAOE
  • Rename B0D3 to HDAU
  • USB3 _PRW(0x6D)—-to fix instant wake from sleep
  • Add MCHC
  • [battery]Dell-Inspiron-15-7xxx
  • may add if more…(depending on what’s need to be fixed/errors you have)

click compile again 
if no error you can proceed(otherwise have to fix)

click patch again
and apply this patch
(to fix brightness controlling issue with some systems)

into method label _DSM parent_label PS2K remove_entry;
into device label PS2K insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
  If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
  Return (Package()\n
  {\n
      "RM,oem-id", "DELL",\n
      "RM,oem-table-id", "HSW-LPT",\n
  })\n
}\n
end;

if it compiles without errors you can continue..
this step is only if you are installing 10.11 or above relating to usb problems. 
again apply this code (by rehabman)

# rename EHC1 to EH01
into device label EHC1 set_label begin EH01 end;
into_all all code_regex EHC1. replaceall_matched begin EH01. end;
into_all all code_regex .EHC1, replaceall_matched begin .EH01, end;

# rename EHC2 to EH02
into device label EHC2 set_label begin EH02 end;
into_all all code_regex EHC2. replaceall_matched begin EH02. end;
into_all all code_regex .EHC2, replaceall_matched begin .EH02, end;

after compilation without errors save those patched files(in separate location) both ACPI Machine Language Binary(file format:.aml) & disassembled ASL(file format: .dsl>>>>for future modifications/fix problems)

now find and open SSDT-7.dsl open it with same MaciASL and patch:

 

  • Rename GFX0 to IGPU
  • Haswell HD4400/HD4600/HD5000
  • Brightness fix (Haswell/broadwell )

Click Compile to check for errors, if no error, you can save the file with File Format: ACPI Machine Language Library, name SSDT-1.aml in separate location (location like where you saved your DSDT.aml)

[FOR MODEL WITH NVIDIA/AMD] Go to DSDT folder on desktop, find SSDT-8.dsl, open MacIASL and apply the patch

into scope label \_SB.PCI0.GFX0 remove_entry;
into definitionblock code_regex External\s+\((.*_SB_\.PCI0\.GFX0\.DD02\._BCM),\s+IntObj\) replace_matched begin External(%1, MethodObj) end;
into method label _BCM parent_label DD02 code_regex Return\s+\(([^\)]*)\)\n.*Arg0 replace_matched begin %1(Arg0) end;
into method label _BCM parent_label DD02 code_regex Return\s+\(([^\)]*)\)[^\n]*\n.*Arg0 replace_matched begin %1(Arg0) end;
into method label WMMX code_regex If\s\(CondRefOf\s\(\\_SB\.PCI0\.GFX0\._DSM[^}]*\} replace_matched begin //nothing end;
# rename GFX0
into_all all code_regex \.GFX0 replaceall_matched begin .IGPU end;
into_all all label \_SB.PCI0.GFX0 set_label begin \_SB.PCI0.IGPU end;
# call _OFF from _SB.PCI0.RP05.PEGP
into method label _INI parent_label \_SB.PCI0.RP05.PEGP code_regex . insert begin _OFF()\n end;

Click Compile to check for errors, If no error, you can save the file with File Format: ACPI Machine Language Library, name SSDT-2.aml in separate location ((location like where you saved your DSDT.aml+SSDT-1.aml)

if you have SSDT-9.dsl
Open SSDT-9.dsl, apply this patch then save as SSDT-3.aml:

into definitionblock code_regex External\s+\((.*_SB_\.PCI0\.GFX0\.DD02\._BCM),\s+IntObj\) replace_matched begin External(%1, MethodObj) end;
into method label _BCM parent_label DD02 code_regex Return\s+\(([^\)]*)\)\n.*Arg0 replace_matched begin %1(Arg0) end;
into method label _BCM parent_label DD02 code_regex Return\s+\(([^\)]*)\)[^\n]*\n.*Arg0 replace_matched begin %1(Arg0) end;
into method label WMMX code_regex If\s\(CondRefOf\s\(\\_SB\.PCI0\.GFX0\._DSM[^}]*\} replace_matched begin //nothing end;

# rename GFX0
into_all all code_regex \.GFX0 replaceall_matched begin .IGPU end;
into_all all label \_SB.PCI0.GFX0 set_label begin \_SB.PCI0.IGPU end;

copy all DSDT.aml+SSDT-1.aml+SSDT-2.aml+SSDT-3.aml[if you have] to /EFI/Clover/ACPI/patched/ (of internal EFI partition)

For power management: 

generate SSDT for your native power management-get this tool:

 

https://bitbucket.org/dhnguyenit/hp-probook-installer-clover-edition/downloads

 

only  select SSD generator >install 

(this tool will patch your cpu PM and place it under EFI>clover>ACPI>patched named “ssdt.amlâ€)

 

Done ðŸ˜ƒ patching DSDT/SSDT section.

 

Kexts installation


Working backlight control with smooth transition; using New Brightness kext, IntelBacklight.kext(from rehabman)

https://github.com/RehabMan/OS-X-Intel-Backlight

For this kext, you can use your existing:

  • PNLF patch ("Brightness Fix (HD3000/HD4000)", or "Brightness Fix (Haswell/Broadwell)", 
  • Or you can just use the simple "Brightness Fix" (which is easier to apply).

( we already patched so kext installation is enough)

but if it didn’t work for your laptop(most of the time it should work this series of laptops)

  • try second method ACPIBacklight.kext.
  • For Haswell, and Broadwell (HD4400/HD4600/HD5000+, HD5500/HD6000+).

https://github.com/RehabMan/OS-X-ACPI-Backlight

Fix intel HD4400:

https://bitbucket.org/RehabMan/os-x-...i-id/downloads



  • Install both FakePCIID.kext and FakePCIID_HD4600_HD4400.kext in /System/Library/Extensions, EFI/Clover/kexts, or /Library/Extensions (10.11+).{which we already done no need to do anything, just remark}
  • use config plist >kexts to patch provided(which means again you don’t have to nothing  already done for you )

when using BCM94352HMB WiFi+BT
FYI: card that i used 
http://www.ebay.co.uk/itm/Broadcom-BCM4352-Azurewave-AW-CE123H-WiF-i-BT-867Mbps-Bluetooth-4-0-Hackintosh-/281300566338?pt=LH_DefaultDomain_0&hash=item417ed20142

For WIFI


  • place FakePCIID_BCM94352Z_as_BCM94360CS2.kext+FakePCIID (which we already did) EFI>clover kexts>other

For BT


  • BrcmPatchRAM2.kext+BrcmFirmwareRepo.kext in System/Library/Extentions using kext installer (kext wizard)

kext wizard app as i found :
http://www.insanelymac.com/forum/topic/253395-kext-wizard-easy-to-use-kext-installer-and-more/


Final steps….

Clear Network Settings to Fix iCloud/AppStore

If you use any USB Wifi device, or use Mobile Phones to connect to Internet before completing the guide, you won't be able to access to AppStore or iCloud. You must reset your network settings:

- Go to /Library/Preferences/SystemConfiguration/ and delete these files:


  • CaptiveNetworkSupport
  • com.apple.airport.preferences.plist
  • com.apple.network.eapolclient.configuration.plist
  • NetworkInterfaces.plist

- Go to System Preferences > Network, delete all connection. Then restart to bios settings add clover as boot option
- Go to System Preferences > Network, add your connection again.


How to add clover as boot option 
in your system bios : boot >add boot option(may vary some laptops slightly)


  • Boot option name >>Clover(or name you like)>>>press tab
  • file system list >do not modify anything >just press tab
  • File Name:EFI\BOOT\BOOTX64.efi
  • save and move clover entry to the top of boot oder
  • Go to BIOS, move the Clover boot entry to top.

 

problem meets solutions…..

Fix Audio:layout id 3 by using rehab man’s ALC 283 kext)
Lenovo-U430-Touch-DSDT-Patch 
and install ALC_283kext using kext wizard
Audio: After installing new/updated kexts or after the initial installation, you may lose audio.
To fix:
reboot without caches (hit space at Clover, select without caches)
rebuild cache:

sudo touch /System/Library/Extensions && sudo kextcache -u /

reboot normally (if needed, two times)

No Audio after sleep?
install codec commander from rehabman in S/L/E
RehabMan/EAPD-Codec-Commander

 

if you have "Laptop won't sleep/shutdown after a few hours of uptime" which can be fixed by updating ME firmware ,either you can fix it by adding kexts to patch under kernel and kext patches in provided config plist(note :patches not included in the given config.plist)  credits for original patch vbo

use plist edit pro/Xcode(free from App Store)
add above patches to your config plist
<dict>    <key>Name</key>
    <string>AppleIntelFramebufferAzul</string>
    <key>Comment</key>
    <string>AppleIntelMEIDriver::writeMessageToME</string>
    <key>Find</key>
    <string>4883EC1844894DD04589C589CB</string>
    <key>Replace</key>
    <string>4883EC18E9E5010000909089CB</string>
</dict>
<dict>
    <key>Name</key>
    <string>AppleIntelFramebufferAzul</string>
    <key>Comment</key>
    <string>AppleMEClientController::start</string>
    <key>Find</key>
    <string>4885C00F8405030000488B05E50D0100488945D0</string>
    <key>Replace</key>
    <string>4885C0E90603000090488B05E50D0100488945D0</string>
</dict>

fix usb fix El Capitan

(you’ll need to create a port injector to fix your various usb related issues (most of time usb 3.0)

 here i’ll attach my usb injector for dell 7537 (but better to create your own by following this guide:(further info  8-) use google to "fix usb El Capitan")

 

Windows 8 UEFI Dual Boot


- Use Disk Utility to prepare a Mac OS X Extended partition (don’t use Fat32, Disk Utility may mess up your drive)
- Create a FAT32 usb drive, extract Windows 8 64-bit iso there
- Boot to usb drive, format the new partition to NTFS, install Windows there.

- Go to BIOS, move the Clover boot entry to top.


Tested laptops: Dell 7537 &dell 3537



 Good luck!!! :-P

 

USBXHC_Dell.kext.zip

config.plist_for_installer.zip

  • Like 2
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...