Jump to content
Welcome to InsanelyMac Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


[WIP] [GUIDE] HP Pavilion dv7 4087cl Lion Installation

4 posts in this topic

Recommended Posts



This is a work-in-progress guide to install Mac OS X Lion 10.7.4 on the HP Pavilion dv7 4087cl. This guide may work for other HP laptops, but you will have to make some changes with kext installation and what not.


Here's a quick heads up of what's working on this lappy and what's not.

What is working:

Intel Core i5 430M - All core and threads working with lapic_fix kernel

Trackpad & Keyboard - Some basic gestures working with PS2 kext

Sound - Works with patched VoodooHDA

CD/DVD burner - Works perfectly without any kexts

Webcam - Works perfectly without any kexts

Ethernet - Works with Lnx2Mac's RTL81xx ethernet kext

Shutdown and restart - Works without any configuration

Native resolution - Works with "Graphics Mode"="1600x900x32"

SD Card reader - Works fine without any kexts, but works better with AnyCardReader kext

Some media keys - Play, mute, and volume key, stop key works as rewind key

What is not working:

QE/CI - OS X always boots with the Intel HD graphics card, and never uses the ATI card

WiFi - OS X is not compatible with Intel WiFi cards at all

Fingerprint reader - OS X is not compatible with fingerprint readers at all


Creating OS X Lion Installer USB and Installing OS X Lion

You'll need access to a Mac, an 8 GB or bigger USB, and Install Mac OS X Lion.app from the App Store.

Get the latest Installer pack from the Updates section!


1. Open Applications>Utilities>Disk Utility and select your USB drive in the sidebar. Then go to the Partition tab. Select 1 partition, Mac OS X Extended (Journaled), and Master Boot Record in Options. Name it Lion Installer. Then click Apply.

2. Right click your Install Mac OS X Lion application, then click Show Package Contents. Open Contents, then SharedSupport. Double click InstallESD.dmg.

3. Open Applications>Utilities>Terminal and type the following command:

open /Volumes/Mac\ OS\ X\ Install\ ESD/BaseSystem.dmg

Then quit Terminal.

4. Open Disk Utility again, and select Mac OS X Base System in the sidebar. Click the Restore tab, drag Lion Installer to the Destination box, and click Restore. Once the restore finishes, right click BaseSystem.dmg and click Eject Disk Image.

5. Open Mac OS X Install ESD in Finder. Copy the Packages folder. Then go to Mac OS X Base System>System>Installation and delete the Packages symlink. Then paste the Packages folder.

6. Install the latest Chameleon bootloader to Mac OS X Base System. You can download it from here: http://www.insanelym...howtopic=2310757. Open Mac OS X Base System in Finder. Delete the Extra folder if it is there. Copy the Extra folder from the Installer Pack to Mac OS X Base System.

8. Go to Mac OS X Base System>System>Library>Extensions and delete all files that begin with AppleIntelHD. Then copy the files in the System Extensions folder in the Installer Pack to Mac OS X Base System>System>Library>Extensions.

9. To patch the installer for MBR partition tables, download the correct version of the MBR patch for your version of OS X (http://www.osx86.net...pkg_10.7.x.html) and copy the files to the locations in the HowTo.txt with the MBR patch.

10. Place your USB stick in your HP dv7, then boot it. Press F9 when you see the HP logo, then select your USB. Once you are at the Chameleon boot screen, press enter.

11. You should reach the Mac OS X Installer. Go to Utilities>Disk Utility and format your partition as Mac OS X Extended (Journaled). Name it Lion. Click Apply. Then close Disk Utility and install to your partition.


Post Installation

Get the latest Post Install pack from the Updates section!


12. Boot with the USB stick again. This time, go to Utilities >Terminal. Type in the following commands:

cd /Volumes/Lion/System/Library/Extensions rm -rf AppleIntelHD*

Now quit Terminal and reboot.

13. Boot with the USB stick again, but this time select your Lion installation. Type in the following boot flags.


You should reach the setup screen. For setup, you'll need to use a USB keyboard and mouse (you'll only need this for setup).

14. Once setup is complete, download the post installation pack. Unzip it, and copy the Extra folder to your OS X Lion partition. Then run the Realtek RTL81xx and VoodooHDA installers. Set up FaceTime, iCloud, and Messages. Then install the lapic_fix kernel for your version of OS X. Then install the included Chameleon bootloader.

15. Go to the Kexts to Install folder. Drag all the kext files onto the Kext Utility application in Apps. Enter your password and continue. Once it finishes, quit Kext Utility.

16. Copy the DisplayProductID-717 in the installer pack file to System>Library>Displays>Overrides>DisplayVendorID-756e6b6e.

17. Patch AppleIntelCPUPowerManagement for your version of OS X. You can search the forum for help with this. Run the patch as sudo, then reboot.



You are now done with installing OS X on your HP Pavilion dv7 4087cl!


This guide could not have been possible without some awesome people:


Thanks to the VoodooProjects team and the Chameleon team for Chameleon bootloader, and all other Chameleon devs

Thanks to netkas and ProjectOSX for FakeSMC

Thanks to nawcom and ProjectOS X for VoodooHDA audio kext

Thanks to Lnx2Mac for RealtekRTL81xx ethernet kext

Thanks to finntriel on OSx86.net for uploading the lapic patched kernels for Lion

Thanks to maxhello on OSx86.net for uploading the lapic patched kernels for Mountain Lion

Thanks to manor for the Intel HD Graphics kexts

Thanks to AnV for AnyCardReader

Thanks to smartie77 on OSx86.net for uploading the PS2 trackpad kexts

Thanks to nawcom for the MBR patches

Special thanks to InsanelyMac and the OSx86 community for making this possible. You guys are awesome! :thumbsup_anim:

Share this post

Link to post
Share on other sites





Here I will post updates to the installation guide, install packs, and info about OS X updates and upgrades. OS X upgrade/update info is in blue, while pack updates are in black.


Current Pack Downloads:


9.1.2012 - OS X 10.8 Upgrade Info:

Here are updated packs for OS X Mountain Lion 10.8. Guide is the same, except you are using files from the newer pack. For the MBR Patch, copy the OSInstall file to /System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A/OSInstall, and the OSInstall.mpkg file to /System/Installation/Packages on your installer USB. I am thinking of rewriting this guide for 10.8.


9.1.2012 - OS X 10.8.1 Update

Update to OS X 10.8.1 from the Mac App Store>Updates. Download the update, which is quite small, and quit the Mac App Store. Then install the 10.8.1 lapic patched kernel, which you can get from here. Also delete the AppleIntelHD kexts in /System/Library/Extensions. Then run the Kext Utility application, then Disk Utility's Repair Permissions option. Then reboot.


9.1.2012 - OS X 10.8 Post Install Pack Update

The OS X 10.8 Post Install Pack has been updated. ACPISensors.kext has been removed as it has no use without advanced DSDT hacks.


9.13.2012 - Pack Updates

The list of changes it quite long this time...

- Removed RealtekRTL81xx kext and added installer instead in all packs

- Removed SSDTs from USB Installer Packs as they are unneeded

- Added missing SSDTs to Post Installation Packs

- Updated Chamleon in all packs to 2.1svn r2060

- Added changes to the 10.7.4 Packs



I will most likely rewrite the guide for OS X 10.8...for now you can use the "OS X 10.8 Upgrade Info" post above. I am also investigating getting the ATI card working, however most likely it will never work. The links may take some time to work as I am uploading them still (about 200 MB total).

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By End3rPwr50
      Hi, I wanted to install macOs 10.13 on my notebook.
      Here are the technical specifications:
      -Intel i7 6500U 2.50GHz Skylake (CPU)
      -12GB ram dd4 (RAM)
      -hp 81EC (MOTHERBOARD) with BIOS insyde F09
      -Intel HD Graphics 520 - AMD Radeon R7 M440 (Graphics cards)
      -Realtek PCIe FE Family Controller (Ethernet)
      -Broadcom BCM43142 802.11 bgn Wi-Fi M.2 Adapter (Wifi and Bluetooth)
      -Realtek High Definition Audio - Audio Intel® per schermi(HDMI)
      Thanks in advance

    • By hopoc
      Hi Guys,
      I’m stuck with 3mb VRAM, and can’t get my screen resolution! I’ve tried to reinstall 18 times with different configurations but I can’t seem to get it right! PLEEEEASE HELP I really don’t know what to do now. I've tried Enoch but still no success!
      System Model: HP EliteBook 8570p Processor: i7-3520M CPU @ 2.90GHz, 2901 Mhz, 2 Cores GPU:  AMD Radeon HD 7570M RAM: 12GB​

    • By sergymac
      Ciao a  tutti sono nuovo di questo forum o meglio seguo con piacere e già ho alle spalle diversi progetti hackintosh ma la prima volta che mi cimento con i portatili.
      Il laptop in questione è il Pavilion 15-cb028nl e per tutti quelli che intendono acquistarlo posso dire che è abbastanza hackintosh compatible!
      Ho installato Sierra tramite immagine per laptop presa da un sito turco e dopo varie ricerche sono riuscito a far funzionare le seguenti cose:
      Audio e mic
      CPU e mobo sensors
      Video ma riconosce solo la scheda intel non la GTX1050
      Touchpad con multi gestures
      Stop e reboot 
      Adesso viene la parte complicata, vorrei effettuare la patch del DSDT per avere anche la batteria, la luminosità dello schermo de ottimizzare un po' meglio il sistema.
      Ma purtroppo è la prima volta che mi imbatto nel patchare il dsdt e qui mi fermo perchè anche seguendo le guide sia in italiano che in inglese non riesco a risolvere gli errori nella compilazione.
      Sono riuscito ad estrarre e decompilare con iasl il file originale creato da clover (F4).
      Qualcuno molto più pratico, gentile e disponibile potrebbe risolvere gli errori del dsdt, ve ne sarei grato!!!
      Per chi avesse il mio stesso portatile allego la cartella clover con tutti i kexts e il lavoro fatto fino ad ora. 
      Grazie mille!!
    • By gygabyte666
      LAST UPDATED: [11/22/2017]
      Recent Changes:
      -added artur_pt to Thanks list for being the first person to try to help me 4 years ago.
      -FINALLY removed the [WIP] in title. I think it's safe now, haha
      -HUGE post cleanup! should be (hopefully) easier to navigate
      -added new section for 10.13 High Sierra
      -added link to Andrw0380's 10.13 files
      -removed old link to Andrw0380's 10.12.1 / 10.12.2 beta files
      -updated link to Andrw0380's updated 10.12.4 files
      -updated thread title, now shows 10.8.5-10.13.x
      -removed images as they weren't loading anymore anyway
      Previous Changes:
      -added link to Andrw0380's 10.12.1 / 10.12.2 beta files
      -updated 10.12 about image, not a clone of 10.11 about image anymore
      -updated thread title, now shows 10.8.5-10.12.x
      -slight post cleanup
      DISCLAIMER: I can be in no way held responsible for any damage to your computer as a result of the information or files provided on this page. I can't be held responsible for the faults and errors of those who follow (or choose not to follow) my advise or instructions. You are on your own if you proceed. This was created with the assumption that anyone following it would be using the SAME machine model and hardware setup as mine, a HP ENVY 17t-j000 Quad. Using any other model or hardware configuration may work but is completely unsupported! This was never intended to be used as an installation guide and shouldn't be referenced as one. It is merely a place to list my testing results. Consider this your one and ONLY warning. Continue at your OWN RISK...
      NOTICE: I will always be very proud of the work that was put into the making of these files not just by me but through the amazingly generous and wonderful people in this community. During my absence, that same community even took over and provided others with the assistance to keep up-to-date with the newer flavors of OS X. All of that hard work, time and effort will remain here on the first page for as long as possible for both reference and historical purposes. For reference, I supported and maintained packages for 10.8.x Mountain Lion, 10.9.x Mavericks and 10.10.x Yosemite (briefly).
      Andrw0380 has generously been providing more updated support packages for this thread for quite some time now. If you are to use any of the files listed below, I would recommend his as they are typically more recent and better tested. Be sure to check over his posts for further details and usage instructions and don't forget to say THANKS for his time and effort.
      The good news is it has recently been brought to my attention that RehabMan has been hard at work and has created a much better, more reliable method for both current and possibly future OS X installs. His new method, named the "hotpatch" method is far superior to our old ones and should rightfully take its place. I leave you with a direct link to his detailed and extensive guide to assist both current and future users with their adventures in OS X. Should you find success using his method, please remember to say THANKS for his work and to possibly add to his growing repository to hopefully assist future users in their own success stories.

      RehabMan "hotpatch" guide
      10.13.x (macOS High Sierra) ENVY Files:
      Files generously provided by Andrw0380 HERE
      Be sure to say THANKS for all the hard work!
      10.12.x (macOS Sierra) ENVY Files:
      Files generously provided by Andrw0380 HERE
      Be sure to say THANKS for all the hard work!

      10.11.x (El Capitan) ENVY Files:
      Files generously provided by Andrw0380 HERE
      Be sure to say THANKS for all the hard work!

      10.10.x (Yosemite) ENVY Files:
      Files generously provided by Andrw0380 HERE
      Be sure to say THANKS for all the hard work!

      [LAST UPDATED: [10/26/2014]
      Dropbox Mirror

      10.9.5 (Mavericks) ENVY Files:
      [LAST UPDATED: [04/07/2015]
      Dropbox Update
      [LAST UPDATED: [10/26/2014]
      Dropbox Mirror

      10.8.5 (Mountain Lion) ENVY Files:
      [LAST UPDATED: [04/07/2015]
      Dropbox Update

      [LAST UPDATED: [08/28/2014]
      Dropbox Mirror
      [in no particular order]
      - CharlieSheen
      - bcc9
      - RehabMan
      - mnfesq
      - toleda
      - Mieze
      - Micky1979
      - artur_pt
      - TimeWalker75a
      - Slice
      - Andrw0380
      - 59117108
      - jerrywilborn
      - Cobra03
      - hotKoffy
      - mnorthern
      - PikeRAlpha
      - nrjmadan
      REMINDER: An unbelievable amount of hard work, dedication and enormous amounts of time have gone into the making, testing and maintaining of the content for this post, this thread and the entire forum as a whole. Please do try to remember that SOMEONE has to make all this happen. Be sure to THANK those who deserve it. A little appreciation goes a long way.
      CONCLUSION: Lastly, I am rarely active anymore and would just like to say thank you to all those who stepped up and not only took my place during my absence but also improved upon what I started so many years ago now. I truly can't believe how long this thread has survived and it is awe-inspiring to see how much further it has moved along since I last visited it. You are all just amazing and wonderful people for doing what you do. You all know who you are. Keep doing what you do and thank you again for everything that you've already done and for everything that you will hopefully continue to do in the future.