Contribute
Register

[Guide] HP Pavilion G6-1066se macOS 10.13.6 with AMD 6470m

Status
Not open for further replies.
Joined
Sep 15, 2018
Messages
6
Motherboard
hp pavilion g6 1066se
CPU
i5 2410m
Graphics
hd 3000 + hd 6740m
Mac
  1. MacBook Air
  2. MacBook Pro
Mobile Phone
  1. Android
g6_hs.png

HACKINTOSH ON AN HP PAVILION G6


When you spend too much time on the Internet or behind a computer, you get bored quickly! So, you're mostly tempted to try new stuff just to get rid of the boredom. Some play games, some watch movies, some listen to music etc. But all these can become boring too! Hackintosh is one of the interesting activities that will help you get rid of this. For most people, it's called installing Mac on a PC. I'm not sure whether this is accurate or not. But I guess it kind of makes sense somehow.

Anyway, I've been watching the Hackintosh community since 2010. I started way back in 2013 with OS X 10.9 Mavericks on my old laptop and kept on learning and learning. A few weeks back I got my hands dirty with my ol' trusty HP Laptop, it's the HP Pavilion G6. I decided to install Hackintosh on it and it was NOT easy believe me. So I'm here writing this thread to tell how it went so that you don't get stuck or hit any road pumps on your way hackintoshing!


DISCLAIMER

Before you start, you accept that:

  • I take no responsibility whatsoever if anything goes wrong with you.
  • You're responsible if the macOS installer formats your whole HDD.
  • Your Laptop, your choice, your responsibility.
Specifications
  • Intel ® Core i3-2410M @ 2.2 GHz (Sandy Bridge)
  • Intel ® HD Graphics 3000 & AMD Radeon HD 6470M 1GB DDR3 VRAM
  • 8GB DDR3 1600Mhz RAM
  • 500GB HDD 5400 rpm
  • Broadcom BCM94313 (came with laptop, you have to replace it)
  • IDT 92HD81B1X5 sound card with SRS Premium Sound (SRS is now part of DTS Studio Sound)
  • HP Webcam-101
  • 4 USB 2.0 Ports
  • Realtek RTL8105E Fast Ethernet
  • Realtek RTS5209 Card Reader

What is working
  • Intel Core i3 processor
  • Intel HD 3000 (OOB)
  • AMD Radeon HD 6470M
  • HP Webcam
  • Broadcom BCM94313 Bluetooth 3.0
  • Realtek RTL8105E
  • Keyboard with special functions (volume up/down, media keys on iTunes)
  • IDT Sound Card
What isn't working or hasn't been tested
  • Realtek RTS5209 Card Reader (I haven't tested it)
  • HDMI (Haven't tested it)
  • VGA (haven't tested it)
  • Brightness with slider
  • Sleep and wake
Installation
just follow this guide and use the recommended createinstallmedia method

Patches used
  1. Processor with native power management
    In order to get the processor working, you ultimately need the following kext. If you have a core i5 processor, you might not need them.
    • You need use NullCPUPowerManagement.kext (included in the attachments) to install macOS, if that fails set CPUS=1 in Clover config.plist
    • After installing macOS, you might and might not need to keep the kext installed, experiment to your liking
  2. Graphics Acceleration (QE/CI)
    Intel HD Graphics 3000 works out of the box. You do not need any specific patch or kext to get it working. Just install the OS and boot it. You'll get QE/CI on HD 3000. It's possible to get QE/CI on the AMD Radeon HD 6470M too. You won't need a kext for that because it's already supported by AMD6000Controller.kext (device ID 0x6760). It's the same chip as the AMD 6490M. The 2011 MacBook Pro has an AMD 6490M I believe.

    So, to get AMD working. Set/check these in Clover config:
    • Dual Link = 0
    • FB Name = Cattail (or Lotus or Fanwort or Kudzu or Spikerush)
    • VRAM = 1,024
    • Ports = 3 (for Cattail it's 3)
    • Inject ATI = true (check it)
    • Make sure Inject Intel is unchecked
    • Load VBIOS = true (check it, you'll need to put the vbios file in ROM folder, see in attachments).
    • Inject EDID = true (check it)
    Now, you need to alter your EDID. For some reasons, I couldn't just use my stock untouched EDID. That kept causing trouble. There is an interesting thread over at InsanelyMac where I got that fixed. Skip to EDID editing section.

    After that, save the config and restart your laptop. Your AMD should be working. Go to Display settings and click Arrangement tab and check Mirror displays.
  3. Sound & Audio
    I used VoodooHDA.kext v2.8.8 specifically because the newer v2.9.0 and v2.9.1 caused sound crackles and breaks which was awful. You might get low volume when you use it, just change VoodooHDAEnableHalfVolumeFix in the kext's info.plist from NO to YES
    I also used Sound Booster (Lite) to further boost the volume of the sound which now makes my speakers sound really good. you can get it from here
  4. WiFi & Bluetooth
    Bluetooth works out of the box if you're using the Broadcom BCM94313 WiFi + Bluetooth combo card, but WiFi will not because it is not supported in macOS. Now this Laptop has a whitelist BIOS. After some tinkering around with the BIOS, I was able to identify the accepted cards by the BIOS (F.66 BIOS). Currently the accepted cards are:
    • BCM94313
    • AR5B95H (AR9285)
    • AR5B95H (AR5007)
    • Some intel cards
    • Ralink RT3290
    • Realtek 8188CE
    However, the laptop accepts the AR9285 card only if the SUBSYS ID is as follows: 3040103C. Mostly, you'll need to rebrand the card to trick the BIOS to think that the inserted card has the correct ID. Follow this thread to achieve that. If it doesn't seem clear enough, do a google search. There are quite easier guides on the internet. I might eventually make one (not sure though). OF COURSE, YOU WILL OBVIOUSLY NEED ANOTHER LAPTOP TO DO THAT BECAUSE YOURS HAS A WHITELIST. Borrow one from a friend, wife, girlfriend or whoever. or you can use a more sophisticated method, you can boot you laptop without the WiFi card inserted, and while its booting to windows (which you'll need to rebrand your card) you can re-insert the card back in, but be careful not to touch any metal parts with the card so you don't short and components and end up with a dead WiFi card or more possibly the whole Laptop

    Now, if your card has been accepted by the BIOS. You need to either use a DSDT patch or an injector kext to get the card working under macOS. For someone who doesn't want to have to patch DSDT, use ToledaARPT.kext or ProBook_Atheros.kext or AtherosWifiInjector.kext. But for better performance, I suggest you use a DSDT. I have attached the DSDT patch that I used. If you want to use it, first, install one of the kext above and boot. If the card is detected, identify your card location in iOREG (type in 168c in search bar). Mine was on RP01. Yours can be on RP02. It depends on the laptop hardwares installed probably. Now, open MaciASL and search for the location you identified in the previous step. Just before the first method of that location, add the ARPT device by copy pasting the code provided in the files below. Here is a video to make this easier for you on YouTube. Note: if you get error after using this patch, apply "Insert DTGP" patch from Source Forge in MacIASL. Remember to put the DSDT.aml file in ACPI/Patched in clover folder. You can also fix wifi with "Fix Airport" in Clover Configurator. It didn't work for me but you can try. Remember to remove the injector kext if you use DSDT or Clover method.

    At this point, you might face weird problems like no networks after waking the laptop from sleep. In fact, the wifi card wouldn't detect networks if I wake the computer from sleep or if I turn off and on the wifi in settings. To fix that, cover (or remove) the 20th pin on the card with a plastic tape and then place it in the laptop and reboot. There are plenty guides on internet to help you do that. The 20th pin is RADIO_DISABLE pin according to the PIN Configuration datasheet of the AR5B95/AR5B195. It will remove the BIOS ability to deactivate the card in the OS. And NO, removing that doesn't actually bypass the whitelist.

    For bluetooth, it works without any patch or kext. But your USB Ports must be working first. You'll need to use a bluetooth injector of your choice to be able to use BT after a wake from sleep. A better way to fix that is to cover or remove the 5th (RADIO_DISABLE but for BT this time). This is only valid for the AR5B195 combo card.

    honestly I dug my self out of this rabbit hole and used the Edimax 7811Un USB WiFi dongle, which is far more easier to use and gets the job done.
  5. Battery
    Battery indicator requires ACPIBatteryManager.kext (included in the attachments) and this DSDT Patch:
    • [bat] HP G6 2221ss
  6. HP Webcam
    It's like the bluetooth. It works OOB. But your USB ports have to be fully working first. No patch required. You might want to use the USBInjectAll.kext (included in the attachments) to enable all USB ports.
  7. Ethernet
    I used RealtekRTL8100.kext (included in the attachments) and the Ethernet no works fine.
  8. Keyboard and Touchpad
    I used VoodooPS2Controller.kext (included in the attachments) to get them working. I assume you already have done that because you can't really use your hackintosh without them and this kext is kind of universal.
DSDT Patches Used
RehabMan's ACPI debug repo:
  • Add DSDT debug methods
  • Instrument EC queries
RehabMan's Laptop patches:

Must be applied as follow

  • HP G6 2221ss
  • Rename GFX0 to IGPU
  • Brightness Fix (HD3000/HD4000)
  • HPET Fix
  • IRQ Fix
  • Custom brightness keys patch
  • Custom Wifi patch
Attachments
All files I used can be found on my github repository here.
Download the files as zip or use git clone or github desktop app.

BUGS
  • When using the AMD card, you might see artifacts, flickers and other graphics corruptions from time to time. You also will notice that status bar doesn't update when you're using this card. I have no fix yet.
  • When you get the AMD card detected for the first time or have changed the FB name, you'll likely not see the login screen when you reboot. It will just be blurred. To fix it, just type in your password and press Enter. You will be taken to your Desktop. From there, go to Settings and check "Mirror displays".
  • Apparently the performances of the AMD card are actually those of the Intel HD 3000. It makes sense because the AMD card doesn't offer video output on this laptop (can't change video mode in bios). So, the AMD card being used is simply aesthetic.
Credits & Thanks
  • RehabMan
  • Slice
  • AndyV
  • grexai926
  • sinetek
  • Mieze
  • nguyenmac
  • PikerA
  • EmlyDinEsh
  • Toleda
  • Anyone else I might have forgotten
 
You could have at least given proper credits or modified the guide so you don't mock the original author.
I own the original guide (I have proof on my personal blog).
You even copied my github work and no credits given or guide modified.

Can a mod please intervene ?
 
Status
Not open for further replies.
Back
Top