Jump to content

Dell Inspiron 3x21-5x21 Clover Install Guide - Dell


sugarface
 Share

42 posts in this topic

Recommended Posts

Dell Latitude 3x21/5x21 Clover Install Guide

laptop-inspiron-14r-5421-pdp-1.jpg

 


Dell Inspiron 3421 3521 3721 5421 5521 5721

Tested Models


Known Issues


- Wifi will not work, consider replacing by a BCM43225HMB (Bluetooth + Wifi) or AR9280 (Wifi only).

- Sound is not good, share us if you find any working AppleHDA.


Install OS X Mavericks/Yosemite

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 Untitled, Format: Mac OS Extended (Journaled), Size: >7GB
- Options: Master Boot Record

12475004833_baec2d51ba_o.jpg
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/:

3a. For OS X Mavericks

- Download Mavericks Install app from AppStore.
- Launch terminal and run the following script:

sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction

- Your Mavericks Installer partition will be renamed "Install OS X Mavericks"

3b. For OS X Yosemite
- Download Yosemite Install app
- Right click to Yosemite Install app > Show Package Contents > Contents > Shared Support, open InstallESD.dmg.
- Open OS X Install ESD partition, open BaseSystem.dmg (hidden file)
- Use Disk Utility to clone OS X Base System to MacUSB partition.
Ub9sEsy.png
- Go to System/Installation of USB and delete the alias “Packages”, then go to “OS X Install ESD” partition, copy the “Packages” to the folder System/Installation of your USB
- Copy BaseSystem.dmg and BaseSystem.chunklist (hidden files) from OS X Install ESD to OS X Base System (on your USB)

4. Restart with USB plugged in a USB 2.0 port, select these options in BIOS:
 

- Function keyboard: Function mode
- Disk: AHCI
- 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.

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

6. 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. If you are installing Yosemite, jump to step 9

7. 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).

8. 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.

9. Restart, Clover bootloader screen shows up, press F4 (this will dump your dsdt, ssdt) then select "Boot OS X from YourPartition".

10. If everything goes well, you can boot straight to OS X desktop.

11. Download HVT here, run the tool and select those:
 

- CloverUEFI

- Tools > Kext Wizard.

- Tools > SSDTGenerator.

- Tools > IASL

- Tools > MacIASL.

- Tools > Clover Configurator.

- Fixes > Hibernate Mode > Disable Hibernate

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

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

Then EXPORT config.plist to /EFI/Clover/ of EFI partition

13. Download https://www.dropbox.com/s/mut20ige5ylgj6o/Kexts Dell E5x30.zip, unzip and copy .kext files to /EFI/Clover/kexts/10.9 and 10.10 of EFI partition

14. Go to /EFI/Clover/ACPI/origin/ of USB, 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:
 

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

If you have errors after running the above command, delete the last file that shows up in error and run again. Don't worry, not all ssdt are necessary.

The decompiled *.dsl files will be created in DSDT folder.

15. Run MacIASL in Tools folder on desktop, open DSDT.dsl by MacIASL, go to Preferences and set to ACPI 5.0. Click Patch button, download one of the patches here and apply:
 

- 1366x768 screen: https://www.dropbox.com/s/jvhma2vkcfyhf6x/Dell Exx21 1366x768 patches.txt

- 1600x900+ screen: https://www.dropbox.com/s/8udi7ki1qxgl1iz/Dell Exx21 1600x900 patches.txt

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).

16. Copy /Extra/SSDT.aml in your Mac partition to /EFI/Clover/ACPI/patched/ (of HDD EFI partition)

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

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;

# 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.PEG0.PEGP
into method label _INI parent_label \_SB.PCI0.PEG0.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-1.aml to /EFI/Clover/ACPI/patched/ (of HDD EFI partition).[/code] Go to step 17.
 
If you have error when clicking Compile, close the ssdt-7.dsl then open ssdt-8.dsl, apply the patch:

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;

# 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.PEG0.PEGP
into method label _INI parent_label \_SB.PCI0.PEG0.PEGP code_regex . insert begin _OFF()\n end;

into definitionblock code_regex . insert
begin
External(\_SB_.PCI0.PEG0.PEGP._OFF, MethodObj)\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-1.aml to /EFI/Clover/ACPI/patched/ (of HDD EFI partition).
 
Then open ssdt-9.dsl, apply the patch:

into_all all code_regex pnp0c14 replaceall_matched begin PNP0C14 end;

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 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;

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).
18. Recheck if config.plist, dsdt.aml, ssdt.aml, ssdt-1.aml are placed correctly in EFI partition of internal drive.

19. Run HVT again, select
 

- Kexts > RTL8100.

Then use Kext Wizard to install this kext http://www.osx86.net/files/file/3900-applehda-alc282-for-mac-os-x-1092/

20. 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!

 

Flickering Screen Fix

 
If you have flickering all over your laptop display 1366x768, here is the fix:
 
1. Open terminal, run the script:

sudo perl -pi -e 's|\x05\x03\x00\x00\x02\x00\x00\x00\x30\x02\x00\x00|\x05\x03\x00\x00\x02\x00\x00\x00\x30\x00\x00\x00|' /System/Library/Extensions/AppleIntelFramebufferCapri.kext/Contents/MacOS/AppleIntelFramebufferCapri

2. Download this config.plist https://www.dropbox.com/s/fupvhxiydtxercf/config.plist. Use Clover Configurator to mount EFI partition, then open the config.plist you just download, set:
- ACPI > GeneratePStates/CStates: uncheck
- SMBIOS: create your new SMBIOS (Macbook Air 5,2) with random Serial Number
 
Copy config.plist to /EFI/CLOVER/ folder.
 
Use Kext Wizard to repair permission, rebuild cache then restart.
3. Do step 8, 13, 14 in the guide, but use DSDT patch for 1600x900+ screen instead. Then overwrite DSDT.aml to /EFI/CLOVER/ACPI/patched/
 

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
- Go to System Preferences > Network, add your connection again.
 

Update from Mavericks to Yosemite

If you followed the old guide (without Yosemite mentioned), do extra steps:

- Download latest HVT, run and select Clover UEFI, Clover Configurator > finish.

- Go to /EFI/Clover/kexts/, create 10.10 folder and copy kexts here https://www.dropbox.com/s/mut20ige5ylgj6o/Kexts%20Dell%20E5x30.zip to 10.10 folder.

- Use Clover Configurator to IMPORT /EFI/Clover/config.plist, go to Boot section and select kext-dev-mode=1. Then EXPORT config.plist to /EFI/Clover/.

Run the OS X Yosemite installer and follow the guide.

Done!
 

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.

Done!

 

CREDITS : POKENGUYEN (The Pickachu Dude!!)

  • Like 7
Link to comment
Share on other sites

I bring you the solution to audio! Tested and functional on Dell Inspiron 3521 -- if this works for you on a different model then tell us!! 

 

I advise doing the entire guide first in its entirety, installing the OS X 10.9.4 Combo Update, THEN following this procedure for audio.

 

Or if you are taking the Yosemite route, do this after Yosemite is installed!

 

Three files attached -- a modified version of AppleHDA.kext, RealtekALC.kext, and CodecCommander.kext!

 

1) Get your system to 10.9.0 in full functionality (minus audio, haha!) with the flawless guide posted -- then install the OS X 10.9.4 Combo Update and reboot!

 

2) Assuming your EFI partition isn't mounted, open Terminal and type diskutil list. Take note of the identifier of the EFI partition, in my case, it was disk0s1.

 

3) Create a mount point for the volume by typing mkdir /Volumes/EFI.

 

4) Mount your EFI partition at the mount point you made by typing sudo mount -t msdos /dev/(EFI IDENTIFIER) /Volumes/EFI/.

 

Example: sudo mount -t msdos /dev/disk0s1 /Volumes/EFI

 

5) If done correctly your EFI partition will mount and be accessible, and you should see the same EFI folder in it from earlier.

 

6) Put RealtekALC.kext and CodecCommander.kext in /EFI/CLOVER/kexts. 

 

7) Use Kext Wizard or whatever program you use to normally install kexts, to install the attached AppleHDA.kext to System/Library/Extensions.

 

Reboot and there you have it! Audio!!!!!

 

 

Thank you for the guide sugarface, accept this token of appreciation!!!

 

 

Everything was functional on Mavericks.

 

Everything is also functional on Yosemite, however it's odd starting up as after I select the partition on Clover, the screen completely messes up and displays artifacts everywhere while loading...but then of courses reaches the login screen and everything works perfectly.

 

 

P.S. My old Canon FaxPhone L80 printer is hooked up to my Dad's XP x86 machine in his room. For a while I could not print remotely over the network from my room because drivers did not exist for Windows 7 x64 -- the printer was simply too old for it.

 

However OS X Mavericks 10.9.4 64-bit easily found and installed the printer, so I can now print from my room!! Odd how Apple's latest, 2013 operating system can still do it but a 2009 Microsoft operating system can not.

DELL AUDIO.zip

  • Like 4
Link to comment
Share on other sites

I bring you the solution to audio! Tested and functional on Dell Inspiron 3521 -- if this works for you on a different model then tell us!! 

 

I advise doing the entire guide first in its entirety, installing the OS X 10.9.4 Combo Update, THEN following this procedure for audio.

 

Or if you are taking the Yosemite route, do this after Yosemite is installed!

 

Three files attached -- a modified version of AppleHDA.kext, RealtekALC.kext, and CodecCommander.kext!

 

1) Get your system to 10.9.0 in full functionality (minus audio, haha!) with the flawless guide posted -- then install the OS X 10.9.4 Combo Update and reboot!

 

2) Assuming your EFI partition isn't mounted, open Terminal and type diskutil list. Take note of the identifier of the EFI partition, in my case, it was disk0s1.

 

3) Create a mount point for the volume by typing mkdir /Volumes/EFI.

 

4) Mount your EFI partition at the mount point you made by typing sudo mount -t msdos /dev/(EFI IDENTIFIER) /Volumes/EFI/.

 

Example: sudo mount -t msdos /dev/disk0s1 /Volumes/EFI

 

5) If done correctly your EFI partition will mount and be accessible, and you should see the same EFI folder in it from earlier.

 

6) Put RealtekALC.kext and CodecCommander.kext in /EFI/CLOVER/kexts. 

 

7) Use Kext Wizard or whatever program you use to normally install kexts, to install the attached AppleHDA.kext to System/Library/Extensions.

 

Reboot and there you have it! Audio!!!!!

 

 

Thank you for the guide sugarface, accept this token of appreciation!!!

 

 

Everything was functional on Mavericks.

 

Everything is also functional on Yosemite, however it's odd starting up as after I select the partition on Clover, the screen completely messes up and displays artifacts everywhere while loading...but then of courses reaches the login screen and everything works perfectly.

 

 

P.S. My old Canon FaxPhone L80 printer is hooked up to my Dad's XP x86 machine in his room. For a while I could not print remotely over the network from my room because drivers did not exist for Windows 7 x64 -- the printer was simply too old for it.

 

However OS X Mavericks 10.9.4 64-bit easily found and installed the printer, so I can now print from my room!! Odd how Apple's latest, 2013 operating system can still do it but a 2009 Microsoft operating system can not.

 

Excellent work Krishna :)

 

Unfortunately I can't test it personally as I'm on Yosemite right now. I'm sure someone will find this to be useful. :yes:

As soon as I get to test it I'll add it to the guide and update Credits :thumbsup_anim:

 

Will the kext set u provided, work for Yosemite too?? :huh:

Link to comment
Share on other sites

Excellent work Krishna :)

 

Unfortunately I can't test it personally as I'm on Yosemite right now. I'm sure someone will find this to be useful. :yes:

As soon as I get to test it I'll add it to the guide and update Credits :thumbsup_anim:

 

Will the kext set u provided, work for Yosemite too?? :huh:

 

 

Yes absolutely!! Just put the first two kexts in the 10.10 folder, and after installing Yosemite install the modified AppleHDA to /SL/E. On Yosemite right now!

Link to comment
Share on other sites

  • 3 months later...

Hello ! Thanks for the tip. The sound works now on my Dell Inspiron 3521, despite that I can see only the headphone channel in the preferences.

I stil have an issue with Icloud, and can't connect despite I have removed the preferences as showed in the above tuto. I'm connecting with my Iphone 5, so in the netwok preference panel, I can only see "Iphone USB" connection.

Thanks for help !

Link to comment
Share on other sites

  • 2 weeks later...

Thank you so much for this tutorial. I had to create a chameleon based USB thumbdrive to boot in the install, and then added Clover after the install. It's working very well -- thanks. This saved me lots of headaches getting Yosemite working on my Inspiron 3521 (i5 3337u).

 

The only little annoyance is some crackling in the audio. Any progress in a better AppleHDA?

Link to comment
Share on other sites

  • 1 month later...

I have a stable system, via the instructions above, and sound is working via Krishna21's instructions. However, in my system preferences I don't have any sound options for HDMI or headphones, only the internal speakers. I can use headphones via a USB audio adapter, but that's not ideal. 

 

Any thoughts on how to get those working?

Link to comment
Share on other sites

I have a stable system, via the instructions above, and sound is working via Krishna21's instructions. However, in my system preferences I don't have any sound options for HDMI or headphones, only the internal speakers. I can use headphones via a USB audio adapter, but that's not ideal. 

 

Any thoughts on how to get those working?

 

I got my audio working following the instructions on this post:

 

http://www.insanelymac.com/forum/topic/293802-mavericks-only-boots-in-safe-mode-and-some-other-problems/?do=findComment&comment=1976192

 

Audio works fine.

I've got Speakers, headphones and HDMI options in system preferences.

HDMI audio isn't working for me, though.

Link to comment
Share on other sites

I got my audio working following the instructions on this post:

 

http://www.insanelymac.com/forum/topic/293802-mavericks-only-boots-in-safe-mode-and-some-other-problems/?do=findComment&comment=1976192

 

Audio works fine.

I've got Speakers, headphones and HDMI options in system preferences.

HDMI audio isn't working for me, though.

 

What is your video graphics?

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Hi,

 

I just installed Yosemite on my Inspiron 15R 5521 following this tutorial step by step.

 

After installation, everything looked fine but audio, ethernet, wifi and bluetooth were not working. Searching on the web I read that Voodoo could make audio working an it did in fact. I also managed to make bluetooth working (actually I don't know exactly what I did).

 

So what I couldn't fix was wifi and ethernet.

 

Is there anybody who knows how to make those work? I would appreciate your help a lot.

Link to comment
Share on other sites

Wifi wont work :no: , as teh wifi card you have in not supported. You have to get one of these >> http://www.insanelymac.com/forum/topic/292542-airport-pcie-half-mini/ or the ones I have mentioned above.

 

I also suspect your Bluetooth might not actually be working, for the same reason. Even though you say, you did manage to get it working. :huh::frantics:

 

However, for Ethernet you can try RealtekRTL8100.kext. :yes:

Link to comment
Share on other sites

Bluetooth, let me tell you it is actually working. In fact, I'm connected right now with mi iPhone 5S via bluetooth for internet sharing.


 


About ethernet, I already tried with that kext using HVT but it doesn't work.


 


It really makes me sad when you said WiFi will not work. I still keep my hopes because maybe there is something I can do like I did with the bluetooth adapter.


Link to comment
Share on other sites

Guys has anyone update to 10.10.3? 

After the update I have lost the sound. Input/Output is not recognised any more. I have tried to reinstall the provided HDA zip but is not accessible anymore. Any ideas? If anyone has the DELL_AUDIO zip please upload it.

 

One more thing. Does anybody has random kernel panics on boot that has to do with AppleBacklight?

Link to comment
Share on other sites

  • 3 weeks later...

Here it is. Tth Audio files. If you got kernel panic always, then solved the problem the next: start with -x options, then run the kext wizard, and repair the permissions, and rebuild the kext cache. :yes:

Thank you very much!!

  • Like 1
Link to comment
Share on other sites

  • 4 months later...
 Share

×
×
  • Create New...