2016년 8월 3일 수요일

Bluetooth dongle at Mac OSX 10.11.6 : Broadcom chipset recommended, CSR doesn't work


Please refer this for any new installation reference of Gigabyte B75M-D3H :
http://macosx4pc.blogspot.kr/2015/10/mac-osx-1011-el-capitan-on-gigabyte.html

You may be suffered from Bluetooth in USB after update to Mac OSX 10.11.6 the latest as of 3-Aug, 2016. The symptom for me is to connect & disconnect in repeat so that I cannot connect to any USB devices due to this symptom. You cannot see nothing in Bluetooth sections in System report as a result.

I've googled more than 3 days to look up the solution of this USB bluetooth issue, but no solution at all.

For your information, my machines are under this environment :

Clover bootloader : v3650 latest
- Please check only the options in below if you install Clover in ESP like me, and include all files under Drivers64UFI. Some document in the internet recommends to install some of them, but you may face the boot failure. So, it is safe to install all files under Drivers64UFI.


- in config.plist in ESP (/EFI/Clover/config.plist), I checked FixUSB. I didn't include anything for USB in KextsToPatch.

Drivers like FakeSMC & Generic USB3 drivers :
- Please update FakeSMC to the latest in /Volumes/EFI/EFI/CLOVER/kexts/10.11/ & /Volumes/EFI/EFI/CLOVER/kexts/10.10/ with same files.


- The latest USB drivers because USB bluetooth dongle caused issues in many cases
   (I installed 'RehabMan-Generic-USB3-2015-1215' & 'RehabMan-FakePCIID-2016-0512') for your information.

Hardware : USB dongles : it is most important after all. CSR 8510 chipset failed after no matter what I did even though it worked very well before 10.11.6. But, I found out Broadcom chipset works well!

* I don't guarantee the solution above would not cause any issue for you. This is just for your information.

2015년 10월 12일 월요일

Mac OSX 10.11 El Capitan on Gigabyte B75M-D3H using Clover Bootloader (together with Yosemite)

Though it is not a major upgrade from Yosemite to El Capitan (10.10 to 10.11), some small things to consider before starting to install El Capitan 10.11, so I'd like to share it here briefly. But, I assume you are familiar with Yosemite and Clover. If not, my previous document for Yosemite installation would be helpful for you :

http://macosx4pc.blogspot.kr/2014/10/clover-bootload-with-yosemite-moving.html

0. Backup, Backup, Backup : You should clone or copy your existing Yosemite partition. I cloned it to another partition in same PC to share the same Clover bootloader.

Notice: Following steps are my trial and errors to install El Capitan, you can refer this by your own risk & responsibility. No guarantee for you to make it work by following same procedures. Please stop here if you can't do that it by your own responsibility.

1. Clover bootloader : Upgrade it to the latest, but I selected 3276 because some of unknown issues for 3280 for me. You need to update Clover Configurator to the latest too.

http://sourceforge.net/projects/cloverefiboot/
http://www.hackintoshosx.com/files/file/49-clover-configurator/

The files I selected for driver64 :
    FSinject-64.efi, UsbMouseDxe-64.efi, VBoxHfs-64.efi
The files I selected for driver64UEFI :
    FSInject-64.efi, OsxFatBinaryDrv-64.efi, EmuVariableUefi-64.efi, HFSPlus.efi, OsxAptioFix2Drv-64.efi

Updated on 30-July.2016: You can click drvier64UEFI to include all kext files. And, check UEFI boot only & EFI Clover only when you create EFI partition in separate like me. If you install Clover EFI in ESP but don't check ESP Clover option, your install would be failed. FYI, I installed Clover 3650 without issues.



2. Clover Configurator : Must-have utility to configure Clover bootloader

You should mount EFI at first to update config.plist file, go to Mount EFI, and select Mount EFI partition. disk0s1 is EFI partition for me. Then select the config.plist file at File -> Open, EFI -> Clover folder in sequence.

All you need to update are 1. BooterConfig and CstActiveConfig at RtVariables like this : 0x28 and 0x3.

And, 2. check rootless=0 at Boot sections (see right picture to see the sections I refer)

Create 10.11 folder under EFI/CLOVER/kexts/, then copy the files under 10.10 into 10.11 folder. But, I downloaded the latest fakeSMC.kext from here :

http://www.tonymacx86.com/downloads.php?do=cat&id=11

For your information, followings are not matter for me (so to speak, it doesn't matter to do or not do to) :

  • Copy the files under 10.10 to [Other] folder
  • Removing kext-dev-mode=1
  • CstActiveConfig : 0x3 or 0x63
  • Deleting all folders under EFI/CLOVER/kexts except for [Other] or [11.11]
You need to check if new Clover bootloader is working with your exisiting Yosemite before starting El Capitan. That's why I turned on Verbose (-v).

3. Enable HDMI sound of NVidia GTX 660 after installation : please run audio_cloverALC-110.sh at following site after downloading and decompression. No need to select "Enable HDMI of Intel CPU" but need to select ALC887 for B75M-D3H mainboard, but this enables HDMI sound of GTX 660 too for me.

https://github.com/toleda/audio_CloverALC

Added on 30-July.2016: If your HDMI Audio doesn't work after installing latest Clover, then please check if NVAudio.kext file exists in /Volumes/EFI/EFI/CLOVER/kexts/10.11/ even though audio_cloverALC-110.sh executed. You can copy it from ../10.10/ to ../10.11/ folder.

That's all! You finished major steps to install El Capitan on Gigabyte B75M-D3H.

P.S: Following URL is the references for trial and errors, and I found out the clue for sound issue here. But, no other issues for me at this moment:

http://www.tonymacx86.com/el-capitan-desktop-support/173991-big-list-solutions-el-capitan-install-problems.html

FYI, I failed to upgrade my existing Yosemite to El Capitan as I've done from Maverick to Yosemite due to unknown Kernel Panic issue. So I install newly on new partition after making backup of Yosemite into another partition. I will share any new fact findings from now on here.

13-Oct. 2015 updated: I found out that files in driver64 & driver64UEFI are essential to boot Yosemite successfully with updated Clover bootloader. If you are in trouble like stuck in boot screen +++++++++++++++, or kernel panic, then please check files in these two folders in EFI partition. Most of the errors while booting are relevant with files in these two folder in my experience.

Only one issue unsolved are no SATA/SAS information displayed at About My Mac, which blocks to check if Trim is working or not. But, I assume it works by config.plist update as I stated in my previous posting for Yosemite :
http://macosx4pc.blogspot.kr/2014/10/clover-bootload-with-yosemite-moving.html

Thanks for your reading!

Added on 22-Oct : I updated Mac OSX 10.11.1 natively by installing at AppStore without issue.

2014년 10월 19일 일요일

Mac OSX 10.10 Yosemite installation by moving from Chameleon to Clover Bootloader @ Gigabyte B75M-D3H, HDMI & ALC887

http://macosx4pc.blogspot.kr/2013/10/maverick-109-on-b75m-d3h-unsing.html

Please refer the link above to understand my environment.

    Yosemite has finally announced on 17-Oct, but the migration from Maverick to Yosemite is not easy than I expect with following reasons : 1. Mutibeast 7.0.0 installation generated the booting error : Still Waiting for root device... with repeating, or BUG in process suhelped[1580]... with repeating, or USBMSC Identifier (non-unique).., and all the solutions mentioned with googling doesn't solve these issues, so I made conclusion that Unibeast 5.0.1 + Multibeast 7.0.0 is not the solution at least for me. Two days has been passed, so I decided to give up Chameleon/Multibeast and move to Clover bootloader.

Updated on 21-Oct : I realized that Bluebooth issues are not caused by Bluetooth but by USB3.0, because I plugged Bluetooth USB into USB3.0 port, and moving to USB 2.0 port works. So, I guess that something wrong with the USB 3.0 driver, and I found out same thing here, and now USB 3.0 is back to work! Summing up, you need to delete GenericUSBXHCI if it's installed in /S/L/E, delete it and download new driver here & install it by using Kext Drop etc.

https://bitbucket.org/RehabMan/os-x-generic-usb3/downloads/RehabMan-Generic-USB3-2014-1016.zip

Full explanation here :

http://www.tonymacx86.com/yosemite-desktop-support/144794-ga-z77x-ud5h-tips-yosemite-vs-usb-3-0-a.html

Following steps are assumed that you read the URLs above already :

Updated on 22-Oct : If this is your first time of Yosemite, you have to understand the key change versus Maverick : In MAC OSX 10.10 (Yosemite), Apple has introduced a new security policy called kext signing. Kext signing works by checking if all the drivers in the system are unaltered by a third party or approved by Apple. If they have been modified, Yosemite will no longer load the driver. So, you need to set boot argument : kext-dev-mode=1 by default for Hackintosh.

Following explanation is started from the point where my installation of Yosemite by using Unibeast 5.0 was failed to boot with Chimera 4.0 or Clover bootloader. Fortunately, I can boot new installed Yosemite by using USB created by Unibeast 5.0, and LAN is working without installed any kext file. If you want to start Yosemite by Clover from the beginning, please refer below:

http://www.tonymacx86.com/yosemite-desktop-guides/144426-how-install-os-x-yosemite-using-clover.html

You can refer my document from here is to understand Clover as an user of Chameleon :


1. Install Clover (I assume you have the mainboard with UEFI BIO, otherwise no benefit of using Clover I heard)

We have to format the disk with GUID not MBR to install Clover bootloader, and the BIOS of your mainboard would be UEFI like B75M-D3H. (I assume that no issue for you to use GUID because we usually format the disk with GUID option before installing Mac OSX)

The disk in GUID has the EFI partiton as you the picture below named EFI - /dev/disk0s1 in this case:

[boot partition is where Yosemite installed, EFI partition is where to install Clover bootloader in a same drive : you can see 209.7MB EFI partition created by itself below, this is where Clover bootload will be installed]

Now, we need to format this EFI partition before installing Clover bootloader:

sudo newfs_msdos -v EFI -F 32 /dev/disk0s1

Then, install Clover bootloader, and please make sure of the drive you want to install it, but no customization required for option. Leave it as default.


Now, you need to add the kext files fit to your system which requires to mount EFI partition to move the files:
mkdir /Volumes/efi
sudo mount -t msdos /dev/disk0s1 /Volumes/efi
Please refer if you're into these kind of commands here:

http://themacadmin.com/mounting-the-efi-boot-partition-on-mac-os-x/

Now you can see the icon of EFI partition on the desktop, Please Navigate into EFI/CLOVER/kexts folder, then create new folder there named "10.10".


Finallly, you need to move some files like FakeSMC.kext, NullCUPP...ement.kext, NVAudio.kext, Patched_1...eRTC.kext. It depends on your system, but FakeSMC.kext is required at least. I copied NVAudio.kext to enable HDMI audio of NVidia GTX 660 OC Graphic card. Recommend you to look for the latest version of these by googling, because it would be out of dated when you read this document.


You completed the installation, but one more step remains to add boot argument to Clover bootloader.

2. Clover Configurator : Easy tool to change the option of Clover bootloader.


http://www.hackintoshosx.com/files/file/49-clover-configurator/

You need to modify config.plist at /EFI/CLOVER as you see above, and Clover Configurator is the simple tool to do it.

Please copy config.plist in EFI partition at /EFI/CLOVER you mounted to the desktop, then open it by Clover Configurator.app.


After importing, move to Boot Sections by clicking the name at left pane, then check verbose, kext-dev-mode options to see the booting message to see if something wrong, you can disable verbose later by same way.


Added on 21-Oct : I realized the rebooting caused the issue on HDMI Audio & Bluetooth again strange enough. And, I found out NVidia Injection solved this issue even though GTX 660 OC should be recognized by default.

Some changes I made here (check box) :
  • Boot / Verbose
  • Boot / dart=0
  • Boot / kext-dev-mode=1
  • Graphics / Inject Intel
  • Graphics / Inject NVidia

Updated: Enabler Trim @ Yosemite GA - Clover Configurator added wrong value

http://www.tonymacx86.com/general-help/144796-yosemite-trim-clover.html

I found out the same issue as above link, Clover Configurator added wrong value different from what I stored at 'Kernel and Kext Patches'. So I modified config.plist by BBEDIT.app & store, then it works!

<dict>
<key>Comment</key>
<string>Trim Enabler</string>
<key>Find</key>
<data>
AEFQUExFIFNTRAA=
</data>
<key>Name</key>
<string>IOAHCIBlockStorage</string>
<key>Replace</key>
<data>
AAAAAAAAAAAAAAA=
</data>
</dict>

[Trim support : Yes]

For your information, the actual number registered in config.plist shown by Clover Configurator is like this :

Find :      004150504C452053534400
Replace : 0000000000000000000000




If you want to know more about the detail of Clover SECTIONS, please refer this URL:

http://clover-wiki.zetam.org/Configuration

Save this file, and replace config.plist in EFI partition, /EFI/CLOVER as I explained.

Then reboot the system to see if working well, and I found out the HDMI Audio of GTX 660 OC and bluetooth are working well.

Added on 19-Nov.2014 : You can enable the ALC887 on-board soundchip together with or without HDMI audio. You can refer following URL :

https://github.com/toleda/audio_CloverALC

It's simple though full of explanation. I can see HDMI and ALC887 line-output both in Sound.

Clover Patched AppleHDA - Installation
  1. Clover Realtek ALC AppleHDA.kext  (patch in place)
 1. https://github.com/toleda/audio_CloverALC/blob/master/audio_cloverALC-100.command.zip
 2. Download (View Raw)
 3. Double click Downloads/audio_cloverALC-100.command
 4. Password?
 5. Verify Codec? (885, 887, 888, 889, 892, 898, 1150 only)
 6. Legacy_v100202 - y/n? (887, 888 only)
  2. Restart
  3. Verify ALC onboard audio
 1. System Preferences/Sound/Output/select audio device 


Summing up, it's too early to expect the complete solution like Multibeast or Unibeast. And, it's good time to move to Clover Bootloader. But, it would be better when you read this document.

And, I recommend you to migrate your existing Maverick partition into Yosemite after clean installation of Yosemite. Which is the more simple and clean(?) method rather than upgrading your existing Maverick partition up to Yosemite.

P.S: You're wondering that how can I have Yosemite installed partition without the bootloader installed success. Good question!. I installed Yosemite into new partition by Unibeast 5, but failed to boot it with Multibeast with errors I mentioned at the beginning of this document. So, I changed my mind to install Clover Bootloader by giving up Chimera & Multibeast.

Added on 19-Nov.2014 : After update to 10.10.1, all you have to do is to reinstall USB 3.0 kext mentioned above. All others are working with same config.plist of Clover you generated.

2014년 5월 2일 금요일

Back to Chameleon from Clover bootloader (removing EFI partition is key)

    All of my trials to enable iMessage & Facetime at AMD CPU have been failed for last half year. The last thing I didn't try to do is changing bootloader from Chameleon to Clover. (Following is my history of installation of Maverick on AMD CPU)

http://macosx4pc.blogspot.kr/2013/12/maverick-mac-osx-109-installation-on.html
http://macosx4pc.blogspot.kr/2013/11/maverick-mac-osx-109-installation-on.html

    Replacing Chameleon with Clover was simple, and I think it's not necessary to write it because you are reading this document to delete Clover bootloader. I installed Clover bootloader after booting Maverick with Chameleon.

    However, Clover didn't solve the issue on iMessage & Facetime even though all the things work fine (HDMI audio, LAN, Video etc.) But, I think the Chameleon is better because it's simple, and no benefit of using Clover for me.

   Here comes the trouble, cannot move back from Clover to Chameleon even though I uninstalled Clover bootload by using AppCleaner, delete all EFI directories on boot disk, reinstall Chameleon bootloader many times. All trials failed.

    The reason why I cannot move back to Chameleon is due to EFI partition which was created during installation of Clover I think. So I've been looking for how-to delete this. But, it was not easy because it's used when booting Maverick. (aka protected)

    What about to delete this at Windows, because that EFI partition is not used anymore. And, here is the solution: using diskpart at cmd in Windows environment.

http://www.youtube.com/watch?v=fgZBKwhNhTs


  1. cmd
  2. diskpart
  3. list disk
  4. select disk x (x means the disk number where EFI exists)
  5. list partition
  6. select partition x (x means the partition number where EFI exists in disk x)
  7. delete partition override
  8. list partition
  9. exit or quit
You should make sure if you select right partition you want to delete several times!


    Now I can see Chameleon bootloader again by selecting the disk where Chameleon installed!


2014년 3월 9일 일요일

Using KeyRemap4MacBook : Ctrl key doesn't work at Hackintosh

This is a fact finding to assign Command key feature to Ctrl key of Lenovo ThinkPad USB keyboard.

http://www.amazon.com/Lenovo-ThinkPad-USB-Keyboard-English/dp/B002NSDWPM

You need to download KeyRemap4MacBook app, and check the option :

Change Option_L Key (Left Option)
-> Option_L to Command_L

Close the KeyRemap4MacBook, you can use Ctrl key for Ctrl-C or Ctrl-V from now on.


2013년 12월 28일 토요일

Maverick (Mac OSX 10.9) installation on AMD CPU 8350 & NVidia 770 using Andy, Bronya & Sinetek's kernel

This document is based on my trial not to use ncpi=0x3000 chameleon bootloader option. And, to solve the issue of iMessages & Facetime not to log on. Conclusion; I can use HDMI sound output without using ncpi=0x3000, but iMessage, Facetime & iCloud log-on don't work. (You may can boot without ncpi=0x3000 by installing 'no Ncpi=.zip' file only, but I didn't try it)

You should refer this if you're new to install Maverick on AMD CPU platform :

http://macosx4pc.blogspot.kr/2013/11/maverick-mac-osx-109-installation-on.html

1. Kernel : Download & install this Andy Vandijck's kernel uploaded by Annold

* You should refer the URL above if you don't know how to replace it.
http://www.osx86.net/files/file/3736-amd-10910911092-kernel-with-sse3-and-opemu/

2. Download 'no Npci=.zip' file uploaded by carlo_67 & install by using Kext Utility or Kext Wizard.

http://www.insanelymac.com/forum/topic/281450-mavericks-kernel-testing-on-amd-formerly-mountain-lion-kernel-testing-on-amd/page-258

3. Remove npci=0x3000 from bootloader option by using Chameleon Wizard

4. Delete VoodooHDA at terminal or using other tools like muCommander

 rm -r /Volumes/MLion/System/Library/Extensions/VoodooHDA.kext

4. Install your Audio driver by using Multibeast

I selected : Realtek ALCxxx -> Without DSDT -> ALC889 for GA-990FXA-UD3.

5. Run Kex Utility to repair Permissions for "S/L/E" & Updating system caches.

That's all!

* If you're not into the apps mentioned above, please refer following URLs:

http://macosx4pc.blogspot.kr/2012/12/hint-tips-for-new-mac-osx-users.html

P.S: All works without issues except for iMessage, iCloud & Facetime - Cannot log in even though no issue with my ids at Apple homepage.

2013년 12월 1일 일요일

Maverick (Mac OSX 10.9) installation on AMD CPU 8350 & NVidia 770 using kaanturkum's kernel

    Some of you may read my document for installation of Maverick or Mountain Lion on Gigabyte B75M-D3H mainboard. At that time I recommend you not to try to install Mac OSX with AMD CPU because it's waste of time & your energy.

    The motivation of my trial of installing Maverick at AMD CPU comes from here, Maverick mach_kernel for AMD :

http://www.osx86.net/files/file/3657-amd-fx-109-mavericks-kernel-nvidia-work/

    Summing up, it works finally like Maverick at Intel CPU though some trial & errors for several hours, and here goes the steps I took.

Preparation : 8GB or larger USB stick, Real Mac or Hackintosh to create Unibeast USB booting disk & download Multibeast, Chameleon Wizard, Chameleon-2.2svn-r2266.pkg, cudadriver-5.5.28-macos etc.

My PC environment : AMD 8350 CPU (Octacores), ASUS GTX 770 GPU, Gigabyte GA-990FXA-UD3, RAM 32GB, SSD Samsung 830 128GB, Samsung T27B300 LCD, Lenovo USB keyboard, Logitech G1 USB mouse. Asmedia SATA3 2 port expansion card.

0. Partition USB stick : 7GB for Unibeast & 1GB for download

    I recommend you to partition USB like this into 2 partitions : 1st for booting, 2nd for downloaded files in MBR type.

1. Creating Unibeast USB booting disk 

    I hope you are familiar with Unibeast already,  the steps to create Unibeast USB is same as under Intel CPU environment. You may refer following URL to understand the concept of Unibeast & how to create it. I won't touch it in more detail here to save the time.

http://www.tonymacx86.com/downloads.php?do=file&id=202

2. Copy Apps useful or required to install Maverick into 2nd partition at USB stick

    The first file should be AMD kernel you download the URL above, unpack & copy into the 2nd partition. And, other files to install Maverick at Hackintosh are Multibeast, Chameleon Wizard etc.

Chameleon Wizard : http://www.osx86.net/files/file/242-chameleon-wizard-422/
Maverick: http://www.tonymacx86.com/downloads.php?do=file&id=206

You're ready to install Maverick at AMD CPUs.

3. Prepare your PC to install to boot from your USB memory stick

    No special BIOS settings are not required for AMD mainboard for me. I think Virtualization is enabled & AHCI for SATA. But, you need to change the hard disk to boot your USB memory stick at first. That's all.

    Meanwhile, while booting from USB you created, you must specify the Chameleon bootload options at the PC of AMD CPU. I added like for your information: ([PCI configuration begin] & hangs without npci=0x3000 for me)

    -v npci=0x3000 

    Other options like PCIRootUID=0, arch=x86_64, nosse3bit are not required for Maverick for me.

4. Installing Maverick is same as we do at Intel CPU, but do not reboot after finishing installation

    Several issues for me when installing Maverick, but it's not the pervasive issues because I installed finally :
     a. Partition Failure at Samsung 128GB SSD : No solution from googling, I just replace the SATA3 cable, then it worked. -.-
     b. Installation not allowed at MBR partition type, so I selected GUID. But strange enough, cannot proceed installation with same error : partition with GUID type. I go back by pressing backward button, then make forward. It worked. Strange...
     b. Installation failed at Unibeast : I replaced SSD with same one, and no issue anymore. But, there was no issue at the prior one in Windows environment. Strange...

    Finally, the installation completed with "Install Succeeded" message. I open the terminal quickly at this point to prevent from automatic booting!

    At the terminal, you have to replace the kernel with you downloaded (here, boot is your booting drive, and usb is your usb booted)

    rm /Volumes/boot/mach_kernel
    cp /Volumes/usb/mach_kernel /volumes/boot/

    If you see "permission denied" error, please command like this :

    sudo rm /Volumes/boot/mach_kernel
    sudo cp /Volumes/usb/mach_kernel /volumes/boot/

    You need to type in the password of administrator.

    Now, you can reboot your Maverick installed PC to install other tools like Multibeast.

5. Install Multibeast, Chameleon Wizard etc.

    Those steps are not special, but this is my org.chameleon.Boot.plist FYI: ( smbios for MacPro5,1 hangs but MacBookPro 8.3 works well.

<dict>
<key>EnableHDMIAudio</key>
<string>Yes</string>
<key>EthernetBuiltIn</key>
<string>Yes</string>
<key>Graphics Mode</key>
<string>1920x1200x32</string>
<key>IGPEnabler</key>
<string>Yes</string>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>npci=0x3000</string>
<key>Legacy Logo</key>
<string>Yes</string>
<key>Timeout</key>
<string>2</string>
<key>UseKernelCache</key>
<string>Yes</string>
</dict>

    FYI, my Maverick was freezed after booting in 5 minutes. So, I replaced npci=0x2000 to npci=0x3000, then this symptom has gone. But, not sure if this option makes Maverick freezed or not at this moment (They told that npci=0x2000 was used under Lion environment only)

   Oh you may wonder which type of soundcard & LAN card should be selected for this mainboard : Audio - Realteck ALC889, LAN - Realtek RTL8111E.


That's all!

P.S:

1. npci=0x3000 leads no sound, but removing this option leads [PCI Configuration Begin] hang. I'm trying to find out the other solutions, but the tentative solution is to use "Voodoo driver without DSDT". Please let me know if anybody solves this issue without using Voodoo driver.

2. Minor issues still exist : No iMessage, No iCloud. we need to find the optimal smbios.plist, but impossible to find for AMD platform like GA-990FXA-UD3. Still under wokring to find the optimal smbios.

Solved> Safari Extension cannot be installed : please refer following URL to reset you home folder permission:

https://discussions.apple.com/message/22861032#22861032

Please refer following URL if you're in Mac OSX lately:

http://macosx4pc.blogspot.kr/2012/12/hint-tips-for-new-mac-osx-users.html