Jump to content
29 posts in this topic

Recommended Posts

Again, I write this short guide as a « memory » for later installations when needed :D

 

0. What works and does not

Works

- QE/CI on Integrated Intel HD 4000

- Keyboard/Trackpad

- HDMI and LVDS output

- Audio: Headphone, speaker, and HDMI audio

- Ethernet

- Camera

- CPU power management (i.e. SpeedStep)

- Battery info

- Bluetooth

- USB

 

Does NOT work

- Internal Wifi. Workaround: USB wifi or replace your internal wifi with a supported mPCI-e card.

- Sleep: does not work with an USB wifi. Workaround: Replace your internal wifi with a supported card.

- VGA out. Workaround: Use an « active » HDMI to VGA adapter. I use this way to connecting my laptop to projectors.

- Discrete AMD GPU

- Card reader. Workaround: Use an external USB card reader.

 

 

1. Specs

My Dell Inspiron 15R SE has the following specs:

- Intel Core i7 3632QM with Intel HD Graphic 4000

- 2 x 4GB RAM

- 1TB HDD

- AMD Radeon 7730M, won't be used by any Hackintosh build

- Full HD 15.4" screen

 

2. Requirements

- A Dell 7520, of course :D

- An USB Stick, minimum 8GB. Any 8GB should work.

- A pair of USB Mouse / Keyboard during the installation and fixes (you can use your built in keyboard and touchpad later)

- An existing Hacintosh (or a real Mac, if you have any ;) ) If you don't, I suggest to start from lower versions (or use Hackintosh Zone Yosemite distro as your base, follow my previous short guide)

- Downloaded OS X El Capitan from App Store

- A GPT-partitioned hard drive. This is required since El Capitan (and was not the case with Yosemite).

- A 20GB (minimum) partition as the target.

- MacPwn

 

3. Create USB Install. For full guide please see here

- Boot your existing Hackintosh or real Mac.

- First you need to be sure that you have downloaded the app «Install OS X El Capitan» from App Store.

- Partition your USB stick with 1 partition in GPT mode, and choose «OS X Extended (Journaled)» as partition type. Note: don't use any space in label of your disk.

- Run MacPwn.

- Press Continue. Then Continue and Continue. Agree the license agreement. Change Install Location, then Install to Specific Disk and choose your USB stick. Click Customize to choose your desired boot loader. I prefer Chameleon. Finally, Install.

- Be patient. It's quite slow. Reboot after finishing creating you USB for installation.

 

4. Install

- During boot, press F12 to have boot list. Choose your USB to start. Use 'IntelCapriFB=4' to boot the installation.

- It should boot directly to the installation UI. Choose language.

- On top menu, select Utilities and Disk Utility.

- Format your target partition as OS X Extended (Journaled).

- Exit Disk utility.

- Select Install, choose your newly formatted partition. Follow the instruction. Wait for a while (in my case I waited around 10 minutes).

- It will restart your computer as soon as it finishes the file copy.

- You still need to boot from USB. Hit F12 during boot to show boot list. Choose your USB to start. Use 'IntelCapriFB=4', select your installed partition and press Enter.

- You will be able to see user creation. Follow the instructions on screen. When you get to your desktop, welcome to El Captian!

 

5. Fix boot loader

To this time, you are still unable to boot from your hard drive. We need to make it self bootable to avoid dependency on USB stick.

- First, download Enoch bootloader, version r2773 at least

- Run the downloaded package, Continue, Continue, Agree, Install.

- It wasn't able to boot for me after the install, with the famous «boot0 error». I had to manually fix it.

- Open terminal, run the following command

sudo dd if=/usr/standalone/i386/boot1h of=/dev/<yourTargetHardDisk>
sudo cp /usr/standalone/i386/boot0 /Volumes/<yourUSBstick>
sudo cp -r /Volumes/<yourUSBstick>/Extra /
(type your password if asked)

- Download Kext Wizard, or any other utilities that supports installing Kexts.

- Use this kext tool to install the following Kexts:

FakeSMC.kext
NullCPUPowerManagement.kext
- Use Chameleon Wizard to generate a SMBios.plist into /Extra, choose MacBookPro9,1 as the template

- Reboot to the El Capitan Installation (not your installed OS X) using your USB stick, use Disk Utilities to unmount all of your disks then close it, open Terminal from the top menubar, run the following command:

fdisk440 -f /Volumes/<yourUSBstick>/boot0 -u -y /dev/<yourTargetHardDisk>
Reboot and your hard drive should be able to boot to El Capitan now.

 

6. Device fixes

6.1. Built-in trackpad and keyboard

Download EMlyDinEsH's ELAN kext, version 3.8.5 final and install it with any kext utility. Don't forget to remove any ApplePS2 kext in your /System/Library/Extensions

6.2. Intel HD 4000 for HDMI output

- I've successfully finished patching AppleIntelFramebufferCapri to support both LVDS and HDMI at the same time. Delete /System/Library/Extensions/AppleIntelFramebufferCapri.kext and use the attached one instead :)

- Note: add (or change) IntelCapriFB=3 in your Enoch plist.

6.3. Audio

VoodooHDA works for me. I use version 2.8.8. Simply download it and install it with your Kext utility.

6.4. CPU Power Management

Same CPU Power management patch from Yosemite is applied. CPU frequency is minimized after applying this patch. Don't forget to delete NullCPUPowerManagement.kext from /System/Library/Extensions that we installed before (in post installation step 5).

6.5. Ethernet

Simply install this KingMaker's Realtek RTL8111-8168 kext with any of your kext utility and reboot, you will have ethernet working!

6.6. Screen Brightness and Disable AMD GPU

Use provided SSDT/DSDT to fix screen brightness and to disable the discrete AMD 7730M GPU for better power consumption.

6.7. Battery info

By default you will not be able to see Battery info. Install RehabMan's ACPI Battery Driver will fix this.

6.8. Wifi

The integrated wifi doesn't work. At all. I used an external wifi dongle TP Link WN725N (v2) for Internet access. After that I replaced the internal wifi with a Atheros AR5B29 and it works natively :)

 

I also attached my chameleon/enoch plist for reference.

ssdt.zip

org.chameleon.Boot.plist.zip

AppleIntelFramebufferCapri.kext.zip

Pheww... my setup lasts only some days and there's 10.11.1 today :D

 

Prepare for 10.11.1:

- Disable SIP by setting CsrActiveConfig to 0x67 in enoch's /Extra/org/chameleon.Boot.plist as follows

    <key>CsrActiveConfig</key>
    <string>0x67</string>
- Install NullCPUPowerManagement kext, as the update will overwrite AppleIntelCPUPowerManagement kext and our patch is gone, making it unbootable.

- Reboot

 

Update:

- Directly upgrade from App Store

- Reboot with IntelCapriFB=4

- Repatch AppleIntelFramebufferCapri (one can use the attached kext in my first post, too)

- Repply CPU Power Management patch.

- Reboot, everything should work as expected

  • 2 weeks later...

I've just gotten another fix, HDMI Audio :D

 

02 05 00 00 00 08 00 00 06 00 00 00
It's an additional patch of AppleIntelFramebufferCapri. Only kext patch, no need of DSDT patch. Use attached kext for both HDMI+LVDS output and HDMI audio.

AppleIntelFramebufferCapri.zip

HDMI audio works perfectly for some days. On a nice day like today, it decides to stop working.

 

I tried everything again but it refuses to work, simply no audio at all. I have no idea whether I pressed something wrong or changed something wrong.

 

My last effort would be reinstalling everything from scratch @.@

Another short guide for anyone interested in booting with Clover :)

  • Create an EFI partition. 200MB should work. Format it using "newfs_msdos -v EFI -F 32 /dev/diskXsY"
  • Install latest Clover with «ESP», «boot0ss», «64bit SATA» options. Reboot.
  • If it still doesn't work. Repeat the above two steps one more time.
  • As a reminder for ones who haven't used Clover before:
    • Custom kexts should be installed in <EFIPartition>/EFI/CLOVER/kexts/10.X. My kexts folder contains
      • ACPIBatteryManager.kext : battery fix
      • ACPISensors.kext : monitoring temperatures
      • ApplePS2ElanTouchpad.kext : built-in trackpad and keyboard
      • CPUSensors.kext : monitoring temperatures
      • FakeSMC.kext (mandatory for boot)
      • GPUSensors.kext : monitoring temperatures
      • IntelBacklight.kext : smooth backlight transition
      • LPCSensors.kext : monitoring temperatures
      • RealtekRTL8111.kext : gigabit ethernet
      • VoodooHDA.kext : audio
    • ssdt/dsdt patches are installed in <EFIPartition>/EFI/CLOVER/ACPI/patched
    • copy your themes in <EFIPartition>/EFI/CLOVER/themes
    • Clover supports on-the-fly kext patching. So I don't need to re-patch Intel Capri each updates.
  • I have no idea why ACPIBacklight.kext does not work with clover. I applied generic «brightness fix» patch and use IntelBacklight.kext as instructed by RehabMan
Use attached prepatched ssdt/dsdt to use with Clover in conjunction with IntelBacklight

ssdt.zip

  • Like 2
  • 4 weeks later...

The dongle won't work.

 

http://www.insanelymac.com/forum/topic/300234-dell-inspiron-15r-special-edition-7520/page-5?do=findComment&comment=2091558

 

That kext isn't available for El Capitan. I'm having the exact same problem, literally everything works except the dongle.

 

I'm considering buying an Atheros device. Any advice on where to buy one, and how to replace the hardware with the new Atheros one?

I have a WN723N dongle. It works out of the box with "4in1_Wlan_11n_USB_MacOS10.9_MacOS10.10_Driver_83.28.10.03_UI_2.0.2.pkg", even on El Capitan. Mine is a Realtek 8188 chipset. You need to confirm your USB dongle chipset on linux with lsusb. You may want to try this one

 

For a replacement of internal wifi, you need a Half-size mPCIe card. A good list of supported wifi cards is available here. I'm using an Atheros AR5B29 (also called AR9285), sold on ebay at around 10E. Find one on ebay (or wherever available), then open your chassis following this guide.

 

You can see the wifi card on the top right corner at 3:08 of that video clip.

  • 1 month later...
  • 5 weeks later...

I just used the driver you provided.

 

For the USB fix, it's a bit too confusing for me. I removed the ports and port-count entries, but that didn't make a difference.

 

I checked the DSDT using MaciASL, but I can't figure out what exactly in the DSDT corresponds to IOPCIPrimaryMatch :/

 

So yea, Camera still doesn't work.

@TheNavigator: try using RehabMan's FakePCIID.kext and FakePCIID_XHCIMux.kext

 

@dzfact: I couldn't see a way for that of now... 99% of the time I use headphone or HDMI audio and I set HDMI audio (over soundflower) as the default output anyway

  • 2 weeks later...

Hi there, I do everything and all goes ok until this line

 

sudo dd if=/usr/standalone/i386/boot1h of=/dev/<yourTargetHardDisk>

 

in my case sudo dd if=/usr/standalone/i386/boot1h of=/dev/disk0

 

i get this response

 

dd: /dev/disk0: Resource busy
 

or do i have to boot from installer to do this?

 

Thank you in advance.

  • 3 weeks later...
  • 4 weeks later...

Sorry all for my late response... I rarely got back to insanelymac once I have almost perfectly working hackintosh :D

 

I have my graphic working without problem. SSDT patched for CPU power management. DSDT for turning off 7730M.

 

You can use clover's on-the-fly kext patching like I posted.

  • 1 month later...
×
×
  • Create New...