Contribute
Register

Dell Inspiron 3x37 - 5x37 -7x37 Clover Install Guide

Joined
Oct 22, 2012
Messages
3,494
Motherboard
HP Elitebook 8470p
CPU
Intel Core i5 3320M
Graphics
Intel HD 4000, 1600x900
Mobile Phone
iOS
Dell Inspiron 3x37 - 5x37 -7x37 Clover Install Guide


New Dell Inspiron 7000 series are very beautiful laptops with reasonable price, and it will shines more with latest version of OS X inside. The system runs smoothly with Mavericks, cool and long battery time.

Dell Inspiron 3437 3537 3737 5437 5537 5737 7437 7537 7737

Known Issues
- Dell 7537 with FullHD display may not work (get black screen at boot).
- Headphone port does not work.
- Sound does not work after sleep.
- Wifi will not work, consider replacing by a BCM43225HMB or BCM4352HMB (Bluetooth + Wifi)
- System can't sleep/shutdown properly with "strange" USB devices (like USB Wifi).


Install OS X Mavericks

1. Prepare a USB with 8GB or more, format by Disk Utility:
- Partition Layout: 2 Partitions
- 1st Partition: Name CLOVER, Format: MS-DOS (FAT), Size: >300MB
- 2nd Partition: Name MacUSB, Format: Mac OS Extended (Journaled), Size: >7GB
- Options: Master Boot Record

2. Download Clover.zip, extract then copy EFI folder to CLOVER partition.

- Download Config.zip, extract then select right config.plist and copy to /EFI/Clover/
- Download Mavericks Install app from AppStore.
- Launch terminal and run the following script:
Code:
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/MacUSB --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
- Your Mavericks Installer partition will be renamed "Install OS X Mavericks"
3. Restart with USB plugged in, select these options in BIOS:
- Function keyboard: Function mode
- Disk: AHCI
- Intel Rapid Storage: Disabled
- UEFI Boot: Enabled
- Secure Boot: Disabled
- Legacy Rom: Disabled
- Add boot option: Add /EFI/Boot/Bootx64.efi in USB, then move the boot entry to top.
Save settings and restart.

4. Clover bootloader screen will show up (if not, add Clover in USB in BIOS again), select "Boot OS X Install from Install OS X Mavericks" (your Mavericks Installer partition).

5. Press spacebar if a nagging screen about Mouse/keyboard appears. Install screen will appear, use Disk Utility to format your drive as GPT, create a Mac OS X Extended (Journaled) partition and install Mavericks to your formatted partition. The installer will extract necessary files to "Install OS X Mavericks" (not your target partition). This takes a lot of time at the end, though you only see "a minute remaining". This will end PHASE 1.

6. Restart and Clover bootloader screen (from USB) shows up, select "Boot OS X Install from Install OS X Mavericks" (your Mavericks Installer partition, not your install target partition).

7. Install screen will appear and continue installation. This time, installer will install files to your target partition and create Recovery HD partition. This will end PHASE 2.

8. Restart, Clover bootloader screen shows up, press F4, then select "Boot OS X from YourPartition".

9. If everything goes well, you can boot straight to Mavericks desktop.

10. Run the tool and select those:

- CloverUEFI
- Kexts > Graphics > HD4400/4600 DP/HDMI Freeze (Only on Mavericks 10.9.2-10.9.3)
- RTL8111 (for 7x37) or RTL8100 Ethernet (for 3x37-5x37)
- Tools > IASL
- Tools > MacIASL.
- Tools > Clover Configurator.
- Tools > SSDTGenerator.
- Fixes > Hibernate Mode > Disable Hibernate

Use KextWizard to install 2 kexts:
http://www.osx86.net/files/file/3832-alc283-applehda/


11. Download https://www.dropbox.com/s/xbdm3jm6lmj3gln/Kexts Dell Exx37.zip, unzip and copy .kext files to /EFI/Clover/kexts/10.9 of EFI partition

12. Copy config.plist from USB to /EFI/Clover/ of EFI partition, then use Clover Configurator to open config.plist (in EFI partition) and edit those values:

- ACPI > GeneratePStates/CStates: uncheck
- SMBIOS: create your new SMBIOS (Macbook Air 6,2) with random Serial Number

13. Go to /EFI/Clover/ACPI/origin/ you will see lots of files (dumped by F4 at Clover screen). Copy those files to a DSDT folder on desktop: DSDT.aml, SSDT-*.aml.

Go to terminal and type these:
Code:
cd ~/Desktop/DSDT
iasl -da [FONT=Menlo]DSDT.aml SSDT*.aml[/FONT]
The decompiled *.dsl files will be created in DSDT folder.

The decompiled *.dsl files will be created in DSDT folder. If you don't see .dsl files, check the errors in terminal, delete the last file that show up in error and run again. Don't worry, not all ssdt are necessary.

14. Open DSDT.dsl by MacIASL, go to Preferences, set Compiler options to ACPI 5.0, go to Sources tab then add this:
"Laptop patches" "http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master"
Close Preferences window, click Patch button, paste the code then apply:
Code:
# 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() { 0x56, 0x00, 0x00, 0x00 },\n
        "hda-gfx", Buffer() { "onboard-1" },\n
        "PinConfigurations", Buffer() { },\n
    })\n
}\n
end;
Click Compile to check for errors. If you get "syntax error, unexpected PARSEOP_ZERO", select the last error, you will see many continuous Zeros. Delete all of Zero, then click compile and select the next error, until you have no "syntax error, unexpected PARSEOP_ZERO".

Click Patch again, then apply extra patches from Laptop patches (Require Internet connection):
[2.12] Rename GFX0 to IGPU
[3.2] 7-series USB
[7.01] IRQ Fix
[7.02] SMBUS Fix
[7.03] RTC Fix
[7.05] Shutdown Fix 2
[7.06] HPET Fix
[7.07] OS Check Fix
[7.08] AC Adapter Fix
[7.09] Add MCHC
[7.11] Fix _WAK arg0 2
[7.14] Add IMEI

Click Compile to check for errors, if no error, you can save the file with File Format: ACPI Machine Language Library, name DSDT.aml to /EFI/Clover/ACPI/patched/ (of HDD EFI partition).

15. Copy /Extra/ssdt.aml to /EFI/Clover/ACPI/patched/ (of HDD EFI partition)

16. Go to DSDT folder on desktop, find SSDT-7.dsl, open by MacIASL, click Patch, select
[2.12] Rename GFX0 to IGPU
[2.05] Haswell HD4400/HD4600/HD5000
[2.11] Brightness fix (Haswell)

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 to /EFI/Clover/ACPI/patched/ (of HDD EFI partition).

17. [FOR MODEL WITH NVIDIA/AMD] Go to DSDT folder on desktop, find SSDT-8.dsl, open MacIASL and apply the patch
Code:
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 Return(%1(Arg0)) end;
into method label _BCM parent_label DD02 code_regex Return\s+\(([^\)]*)\)[^\n]*\n.*Arg0 replace_matched begin %1(Arg0) 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 to /EFI/Clover/ACPI/patched/ (of HDD EFI partition), then go to next step 18.

Otherwise, if you have 1 error related to _OFF(), apply the extra patch to SSDT-8.dsl
Code:
into definitionblock code_regex . insert
begin
External(\_SB_.PCI0.RP05.PEGP._OFF, MethodObj)\n
end;
Click Compile, If no error, you can save the file with File Format: ACPI Machine Language Library, name SSDT-2.aml to /EFI/Clover/ACPI/patched/ (of HDD EFI partition).

Open SSDT-9.dsl, apply this patch then save as SSDT-3.aml:
Code:
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;
18. Recheck if config.plist, dsdt.aml, ssdt.aml, ssdt-1.aml, ssdt-2.aml are placed correctly in EFI partition of internal drive.

19. Restart, go to BIOS, add Boot entry of /EFI/Clover/Cloverx64.efi in your EFI partition, move it to the top, save and restart, you should see Clover screen and option to boot to Mavericks. Enjoy!

Windows 8 UEFI Dual Boot

- Use Disk Utility to prepare a Mac OS X Extended partition (don’t ever use Fat32, Disk Utility will 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.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,415
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Dell Inspiron 7000 Clover Installation Guide

I don't think for Haswell, you need to separate high vs. low resolution. Chameleon always injects AAPL,DualLink regardless and so far it appears to work with varying resolutions...

Did you discover something different?
 
Joined
Oct 22, 2012
Messages
3,494
Motherboard
HP Elitebook 8470p
CPU
Intel Core i5 3320M
Graphics
Intel HD 4000, 1600x900
Mobile Phone
iOS
Dell Inspiron 7000 Clover Installation Guide

I don't think for Haswell, you need to separate high vs. low resolution. Chameleon always injects AAPL,DualLink regardless and so far it appears to work with varying resolutions...

Did you discover something different?
Just test on HP Envy 17t FullHD, and it does not need AAPL,DualLink in DSDT, as you said. You should remove AAPL, DualLink in repo for HD4400/4600 too.

I used Clover on both Dell 7537 and HP Envy 17t (both have Optimus), they boot fine right after install with Clover inject Intel, but if I restart, they will stuck at black screen. Safe mode does not pass too. The only way to bypass black screen is dumping all dsdt, inject graphics to ssdt, then turn off nVidia card. Also, it's annoying that the _DSM method of IGPU is not in the same ssdt with Device (IGPU), so you may end up with 2 _DSM methods if not checking properlyb
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,415
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Dell Inspiron 7000 Clover Installation Guide

Just test on HP Envy 17t FullHD, and it does not need AAPL,DualLink in DSDT, as you said.
I was saying the opposite. It is quite possible that the Azul driver doesn't look at APPL,DualLink at all, such that including it or not including it is inconsequential. Chameleon always injects it. And with Clover you have the choice.

I used Clover on both Dell 7537 and HP Envy 17t (both have Optimus), they boot fine right after install with Clover inject Intel, but if I restart, they will stuck at black screen. Safe mode does not pass too. The only way to bypass black screen is dumping all dsdt, inject graphics to ssdt, then turn off nVidia card. Also, it's annoying that the _DSM method of IGPU is not in the same ssdt with Device (IGPU), so you may end up with 2 _DSM methods if not checking properlyb
I think it is the "turn off Nvidia card" part that is fixing the problem. Whether you inject via bootloader or inject via ACPI doesn't matter.

In my latest DSDT patches (for Lenovo U430), I make a habit of removing all _DSM from SSDTs/DSDT as an "early run" patch:
Code:
into_all method label _DSM remove_entry;
Any OEM defined _DSM is not used by OS X. Less confusion that way...
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,415
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Dell Inspiron 7000 Clover Installation Guide

... It is quite possible that the Azul driver doesn't look at APPL,DualLink at all, such that including it or not including it is inconsequential...
In fact:
Code:
Speedy-ML:~ Admin$ cd /System/Library/Extensions/
Speedy-ML:Extensions Admin$ strings AppleIntelFramebufferAzul.kext/C*/M*/Apple* |grep -y dual
Speedy-ML:Extensions Admin$ strings AppleIntelFramebufferCapri.kext/C*/M*/Apple* |grep -y dual
Speedy-ML:Extensions Admin$ strings AppleIntelSNBGraphicsFB.kext/C*/M*/Apple* |grep -y dual
AAPL00,DualLink
 
Joined
Oct 22, 2012
Messages
3,494
Motherboard
HP Elitebook 8470p
CPU
Intel Core i5 3320M
Graphics
Intel HD 4000, 1600x900
Mobile Phone
iOS
Dell Inspiron 7000 Clover Installation Guide

In fact:
Code:
Speedy-ML:~ Admin$ cd /System/Library/Extensions/
Speedy-ML:Extensions Admin$ strings AppleIntelFramebufferAzul.kext/C*/M*/Apple* |grep -y dual
Speedy-ML:Extensions Admin$ strings AppleIntelFramebufferCapri.kext/C*/M*/Apple* |grep -y dual
Speedy-ML:Extensions Admin$ strings AppleIntelSNBGraphicsFB.kext/C*/M*/Apple* |grep -y dual
AAPL00,DualLink
Thank you, I have some question about dsdt patches:

- You change change OSYS value to the same as Windows 2012 in HP Envy Repo, how about Windows 2013? I notice that changing OSYS to Windows 2006 on Dell E5430 will enable USB 3.0, but should we use latest version in dsdt?

- Are WMI devices usually useless in OS X?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,415
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Dell Inspiron 7000 Clover Installation Guide

Thank you, I have some question about dsdt patches:

- You change change OSYS value to the same as Windows 2012 in HP Envy Repo, how about Windows 2013? I notice that changing OSYS to Windows 2006 on Dell E5430 will enable USB 3.0, but should we use latest version in dsdt?
It really depends on what the DSDT does. In that particular case it probably doesn't matter. I chose 2012 because at one point I was trying to get the OEM methods for backlight (_BCL/_BCM/_BQC) working and the code in the "Windows 2012" case was "better". In the end, I'm not using that stuff at all and instead came up with "Brightness Fix (Haswell)". Deciding on a Windows version to emulate requires analysis of all conditionals related to OSYS, or just guessing and dumb luck.

- Are WMI devices usually useless in OS X?
Except for IOWMIFamily.kext, which is probably never necessary given what I found out about EC queries, WMI can usually be removed completely. But the answer could depend on whether the OEM stuffed any "useful/necessary" code into the WMI device and used it from non-WMI DSDT methods.
 
Joined
Oct 22, 2012
Messages
3,494
Motherboard
HP Elitebook 8470p
CPU
Intel Core i5 3320M
Graphics
Intel HD 4000, 1600x900
Mobile Phone
iOS
Dell Inspiron 7000 Clover Installation Guide

Clear explanation, thank Rehabman:thumbup:.
 
Joined
Nov 1, 2010
Messages
39
Motherboard
MSI Z97Gaming 7
CPU
i5-4570
Graphics
GeForce gtx750
Mobile Phone
iOS
Dell Inspiron 7000 Clover Installation Guide

Today, with the invaluable help of the nguyenmac I have completed the installation to my laptop(Dell Inspiron 15 3537, i7-4500U/15.6/8GB/1TB/HD 8850M) and everything works perfectly. Through the Guide (Dell Inspiron 7000 Clover Install Guide) Thank you very much for the valuable help that I had from nguyenmac.


only error for console this
(3/23/14 2:46:54.198 PM mdworker [11203]: (Warning) Import: Bad path:
3/23/14 2:46:56.050 PM mdworker [11216]: (Warning) Import: Bad path:

maybe the install its the same sdd. and the other partition wait install win 8 (unallocated space) tonight after install again look .
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,415
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Dell Inspiron 7000 Clover Installation Guide

Today, with the invaluable help of the nguyenmac I have completed the installation to my laptop(Dell Inspiron 15 3537, i7-4500U/15.6/8GB/1TB/HD 8850M) and everything works perfectly. Through the Guide (Dell Inspiron 7000 Clover Install Guide) Thank you very much for the valuable help that I had from nguyenmac.


only error for console this
(3/23/14 2:46:54.198 PM mdworker [11203]: (Warning) Import: Bad path:
3/23/14 2:46:56.050 PM mdworker [11216]: (Warning) Import: Bad path:

maybe the install its the same sdd. and the other partition wait install win 8 (unallocated space) tonight after install again look .
Could be that you have your EFI partition mounted. To avoid that warning, create a file '.metadata_never_index' in the root of the EFI partition.
 
Top