Brandon-T / S56CM-K56CM-MB

Patches for hackintosh - Asus-S56CM, K56CM motherboard.
3 stars 5 forks source link

Stuck at step 6 #4

Open schristann opened 9 years ago

schristann commented 9 years ago

Hello Brandon,

i managed installing OSX after having prepared the USB install media and installing Clover v 2.3k_r3241 on the USB drive. After the installation my asus reboots automatically. The next step in the readme is 6. where you advice to boot into usb in witch the following is displayed: 1: Boot OS X Install from OS X Yosemite 2:Boot Mac OS X from OS X 3: Boot Recovery The next part of of step 6 says: Mount the USB's EFI partition by using the following commands: mkdir /Volumes/EFI then use sudo mount -t msdos /dev/disk0s1 /Volumes/EFI to mount it. Copy the EFI partition to your desktop and Eject the USB. Install Clover onto the Yosemite HardDrive.

How am i supposed to to that. If I boot from the usb drive i get into the installation gui again. I can open a terminal an mount stuff, but i cannot install clover from here. Am i supposed to boot the new OS X from the stick? I tried that, but it failed with the funny symbol showing a crossed circle. Did i prepare the usb stick wrong with clover? Installing Clover on the usb stick was done by checking the option UEfi only in the customisation part. This was not mentioned in Part 3 of your tutorial. It only says: Install clover to the USB and an EFI partition will mount. Go to the EFI partition and copy the EFI folder from this github to it. Installing Clover: Should i do that again without any options?

Maybe you can be of assistance? I Think i am not far away from a working installation.

Brandon-T commented 9 years ago

@schristiann when you boot from the USB in step 6, choose boot Mac OSX. That will use the clover from the USB to boot your hard drive. This will take you to the screen where you setup your OSX user account, region, etc.

Step 6 is to use the USB to boot the hard drive that you already successfully installed OSX on.

schristann commented 9 years ago

Hello Brandon,

thank you for the answer. I have redone everything and managed to dig deeper into clover parameter and therefore managed providing the switches -v and -x for verbosity and failsafe. The bootproccess tells me, that it could not load the R1000 ethernet kext and after that gets stuck at waiting for root device. I know, that there are some different S56cm Asus laptops on the market. Mine is a S56CM-XX006H with a Intel Core i7 3517U (1,9 GHz), 8GB RAM, 1TB Seagate + 32GB Kingston SSD. What model do you have? Before using Clover, i tried a Unibeast/Multibeast setup and it was only bootable from USB afterwards and had no wireless and no sound, so i went on searching for a more convenient way of installation. Do you have any idea how this could work out for me?

Thank you in advance

Brandon-T commented 9 years ago

You can delete the Ethernet kext for now if it prevents booting.

I have the S56CM with the K56CM mobo and the same specs as you. ALC270 Realtek sound card.

What sound card are you using? What wireless card do you have?

schristann commented 9 years ago

Hello Brandon, yes exactly. I also have the K56CM mainboard what i just looked up using the easy flash utility. My biosversion is 209, if that makes any difference. I am not sure, if the kext error related to the Realtek card is fatal to the boot process. I just saw another error that says: Failed to load executable for kext com.apple.driver.AplleAHCIPort . The AHCI is driver is vital for the sata ports function i think. Ich just doublechecked the bios settings. SATA is set to use AHCI, graphics is set to 64M, Intel Anti-Theft is untouched (enabled), Enter Intel AT Suspend Mode Disabled, USB Lgacy Enabled, XHCI Disabled, Intel VT Enabled, Intel AES-Ni Enabled, VT-D disabled, Bootconfig Launch CSM Enabled with PXE disabled and secure boot off.

Brandon-T commented 9 years ago

Ok give me an hour or two I'll reinstall from scratch OSX 10.10.4 and see what you are encountering.

Perhaps the Kexts are outdated. If that's the case, I'll upload the new ones.

schristann commented 9 years ago

Awesome!

schristann commented 9 years ago

Hello Brandon. We don't need to hurry. I can't take the MAC PC i am working on at home and i will have to leave at 5pm GMT+1 DST. The next time i will be able to redo the USB drive is next monday. Thank you for your work on this, i will definitely try your new build. if this works out, i would like to volunteer for working out some details on the installation progress with pictures etc.

schristann commented 9 years ago

Hello Brandon, did you manage having a look at the installation issue?

Brandon-T commented 9 years ago

https://github.com/Brandon-T/S56CM-K56CM-MB/releases/tag/v10.10.4 I use these kexts and everything went smoothly. Let me know if you also need my boot configuration.

schristann commented 9 years ago

Hello Brandone. Good work so far. This time the installation went well and i was able to boot the new system after the installation from usb drive. After that i had to put the realtek kext to my system to have networking, witch was not included in the package on https://github.com/Brandon-T/S56CM-K56CM-MB/releases/tag/v10.10.4 .

Work to do on my side:

Do you have any advices for these tasks?

Brandon-T commented 9 years ago

Hi @schristann; good stuff! The keys provided in the zip already contain Audio kext: AppleHDA. It should also contain a Realtek driver. Correct me if I'm mistaken. I might have missed that.

Once you install the AppleHDA, you should have sound.

As for Wifi, what card are you using? The zipped file contains DSDT patches for the AR9285 and AR5B195. If you have either of these installed, it will work automatically.

Brandon-T commented 9 years ago

If audio still doesn't work, let me know and I can point you to in the right direction or provide other kexts.

schristann commented 9 years ago

Hello Brandon,

i deployed the AppleHDA kext in /System/Library/Extensions , but the laptop remains silent. Was this the right place (the same place where i put the realtek kext to have ethernet)?

Brandon-T commented 9 years ago

Yeah it's the correct place. The Realtek kext goes in your clover kext folder not system library extensions. Make sure you have the kext-dev-mode=1 kn your boot flags.

schristann commented 9 years ago

Hello Brandon,

if i put the RealtekR1000SL.kext into the clover kext folder (in fact, it is already there on the hdd efi and the usb efi), i do not have wired ethernet. Putting it into /System/Library/Extensions is working without problem. I do not understand why there is no audio and no wifi. What kexts do you use and where shall i put them? The AppleHDA kext is present in /System/Library/Extensions and is owned by root:wheel, so this does not seem to be the problem. And Do you have a guess, why i can't boot from hdd after having Clover installed to hdd? After the installation of clover i mounted the efi partition from the hdd and copied the efi folder from the usb stick witch i copied to the desktop in the first place. Back to WiFi: Do you know how to determine what card ist build into this laptop on the shell in apple. Lspci seems to be missing ;(

schristann commented 9 years ago

I just double-checked the kext-dev mode is mentioned in the clover boot loader. According to my researches you are completely right using the AppleHDA for the Realtek audio, but unfortunately this is not working for me. I think i will boot a live linux and have a look at lspci to check what is going on here. I will post this here, so you will be able to have a look.

schristann commented 9 years ago

Back on live linux. It seems i have Intel c210 audio. Here the full output of lspci:

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09) 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09) 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 00:04.0 Signal processing controller: Intel Corporation 3rd Gen Core Processor Thermal Subsystem (rev 09) 00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) 00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04) 00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) 00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4) 00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4) 00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4) 00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) 00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode](rev 04) 00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04) 00:1f.6 Signal processing controller: Intel Corporation 7 Series/C210 Series Chipset Family Thermal Management Controller (rev 04) 01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 635M](rev a1) 03:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01) 04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5289 (rev 01) 04:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0a)

Brandon-T commented 9 years ago

Hi Christian, you have two sound cards like I do. You also have an incompatible wifi card like I originally had: AR9485 will never work.

However you can get sound working and you can replace the AR9485 with AR9285. Mine costed about 10$ and is great!

For the sound card, I will give you a link to multiple kexts.

Go to windows device manager, find your sound card and right click it. Should be Realtek. Find the vendorID and find also the PCI string.

Example:

http://i.imgur.com/WHSUC7u.png

You can see my vendor is 10EC aka RealTek. My DeviceID is: 0270. Thus my card is: 10EC270 The Realtek ALC270 v2. You might have v1 or another version of the Realtek card.

Then you also have the intel card that comes with the intel HD XXXX (mine is intelHD 4000). This one is for your HDMI port.

schristann commented 9 years ago

Hello Brandon,

thank you for the info. Do you have the name of your WiFi card or a link to some kind of shop?

I found the card we were looking for. It is a Realtek ... 10ec:5289 - Do you have a link for matching kext?

schristann commented 9 years ago

Sorry, i was wrong ... this is the card reader. Damn!

schristann commented 9 years ago

Poor me - i don't have windows (indeed lucky me ;o) ). According to my LSPCI list i can't see any other audio devices. I generated another list with lspci for MAC OS containing vendor and device with ids and its revision:

pcilib: 0000:04:00.2 64-bit device address ignored. pcilib: 0000:04:00.2 64-bit device address ignored. pcilib: 0000:00:02.0 64-bit device address ignored. 00:00.0 Host bridge [0600]: Intel Corporation Unknown device [8086:0154](rev 09) 00:01.0 PCI bridge [0604]: Intel Corporation Unknown device [8086:0151](rev 09) 00:02.0 VGA compatible controller [0300]: Intel Corporation Unknown device [8086:0166](rev 09) 00:04.0 Signal processing controller [1180]: Intel Corporation Unknown device [8086:0153](rev 09) 00:14.0 USB Controller [0c03]: Intel Corporation Unknown device [8086:1e31](rev 04) 00:16.0 Communication controller [0780]: Intel Corporation Unknown device [8086:1e3a](rev 04) 00:1a.0 USB Controller [0c03]: Intel Corporation Unknown device [8086:1e2d](rev 04) 00:1b.0 Audio device [0403]: Intel Corporation Unknown device [8086:1e20](rev 04) 00:1c.0 PCI bridge [0604]: Intel Corporation Unknown device [8086:1e10](rev c4) 00:1c.1 PCI bridge [0604]: Intel Corporation Unknown device [8086:1e12](rev c4) 00:1c.3 PCI bridge [0604]: Intel Corporation Unknown device [8086:1e16](rev c4) 00:1d.0 USB Controller [0c03]: Intel Corporation Unknown device [8086:1e26](rev 04) 00:1f.0 ISA bridge [0601]: Intel Corporation Unknown device [8086:1e59](rev 04) 00:1f.2 SATA controller [0106]: Intel Corporation Unknown device [8086:1e03](rev 04) 00:1f.3 SMBus [0c05]: Intel Corporation Unknown device [8086:1e22](rev 04) 00:1f.6 Signal processing controller [1180]: Intel Corporation Unknown device [8086:1e24](rev 04) 03:00.0 Network controller [0280]: Atheros Communications Inc. Unknown device [168c:0032](rev 01) 04:00.0 Unknown class [ff00]: Realtek Semiconductor Co., Ltd. Unknown device [10ec:5289](rev 01) 04:00.2 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168](rev 0a)

Brandon-T commented 9 years ago

@schristann That really cannot be the only card you have.. That has to be your HDMI card.

If you have Ubuntu, run the following:

cat /proc/asound/card0/codec#0 > ~/Desktop/codec_dump.txt or cat /proc/asound/card0/codec#1 > ~/Desktop/codec_dump.txt or cat /proc/asound/card0/codec#2 > ~/Desktop/codec_dump.txt

If none of the above worked, open /proc/asound folder and see what cards exist and what codecs exist for each card. It's best on Ubuntu as it has the most drivers. The above did not work for me on Mint 17!

All of the above devices have the same ID as I have. Your audio might be different?

Here's a list of Audio Kexts: http://www.insanelymac.com/forum/topic/298663-applehda-for-yosemite/

Try (V2 works for me. V1 may work better for you): AppleHDA-272.18.1-ALC270_V1.zip AppleHDA-272.18.1-ALC270_v2.zip