Contribute
Register

[Success] First Build, Core i5-8400, GA Z370N WIFI, i630, Airport card

Status
Not open for further replies.
USB 3.0

Well, I thought everything was working, but the USB 3.0 ports would not charge an iPhone.
And the USB 3.0 external backup drive was operating slow - at USB 2.0 speeds.

Perhaps I should have done the USB drivers before the audio drivers.

I will update this as I go.
 
Last edited:
FYI, I follow RehabMan instructions, then do the audio drivers :). Both work now.
 
This is a great guide, I just bought the same hardware, but I cannot get UniBeast to boot. Reading around it seems it’s probably because I’m using the USB3 ports on the back with a USB3 32GB stick which will not work it seems. Did you use the ports on your case or the board? Did you have USB2 or USB3 stick? This will help figure out if it’s my stick or ports..
 
I was using a USB3 stick and it was fine. I was using the front ports on my case I think.
What was the error you're getting?
 
This is a great guide, I just bought the same hardware, but I cannot get UniBeast to boot. Reading around it seems it’s probably because I’m using the USB3 ports on the back with a USB3 32GB stick which will not work it seems. Did you use the ports on your case or the board? Did you have USB2 or USB3 stick? This will help figure out if it’s my stick or ports..

Glad you like the guide.
I am using a 16 GB Kingston Data Traveler 3.0 thumb drive.
Before I installed the USB fix, accessing the thumb drive is dicey and slow.
If it does not work with one port, eject and try another port.
(If you do not eject correctly, it could mess up the thumb drive.)

After you finish the OS install, you install the USB fix.
What is the USB fix? My next post.
 
Last edited:
USB 3.0

These instructions are for macOS High Sierra only.

The USB 3.0 ports are all running at USB 2.0 speeds and will not charge an iPhone.

Start by following this
https://www.tonymacx86.com/threads/guide-10-11-usb-changes-and-solutions.173616/
It leads you to this
https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/


The process consists of the following steps:
Step 1) preparation for port discovery
Step 2) port discovery
Step 3) creating custom SSDT for USBInjectAll.kext
Step 4) testing/verification


===================
Step 1 - Preparation
Requirements:
- EHC1->EH01 and EHC2->EH02 rename (in config.plist)
- XHCI controller must be named XHC
- port limit patch
- install USBInjectAll.kext (install to the system volume)
- if you plan to use it, install FakePCIID.kext + FakePCIID_XHCIMux.kext.
- if you have an existing SSDT for USBInjectAll, use -uia_ignore_rmcf
- XHCI injector kext, if required (XHCI-300-series-injector.kext)

————————
I have done the following:

Edited EFI/EFI/Clover/config.plist
Added patches to rename things:
EHC1 --> EH01
EHC2 --> EH02
XHCI --> XHC
XHC1 --> XHC
Added patch to "disable port limiting"

Downloaded / installed USBInjectAll.kext
sudo cp -R ~/Desktop/USBInjectAll.kext /Library/Extensions
sudo touch /System/Library/Extensions && sudo kextcache -u /

Downloaded FakePCIID.kext and FakePCIID_XHCIMux.kext. - Installed both with Kext Wizard

Downloaded / installed XHCI-300-series-injector.kext
sudo cp -R ~/Desktop/USBInjectAll.kext /Library/Extensions
sudo touch /System/Library/Extensions && sudo kextcache -u /

Appended this “-uia_ignore_rmcf” onto EFI/Clover/config.plist … /root/boot/arguments

===============
Step 2 - port discovery

Note: USB-C port = HS09

Open IORegExp, find XHC

Use a USB 2.0 device to test each USB port.
USB 2.0 is using HS01 - HS08.
HS09 appears to be the USB 3.0 Type-C port (no device to test it)
HS10 appears to be a built-in USB hub.
So, not using HS11- HS14.

Use the USB 3.0 device to test each USB port.
USB 3.0 is using SS01 - SS08.
So, not using SS09, SS10.

============
Step 3 - creating custom SSDT for USBInjectAll.kext

The steps are as follows:
- use SSDT-UIAC-ALL.dsl as a template (https://github.com/RehabMan/OS-X-USB-Inject-All/raw/master/SSDT-UIAC-ALL.dsl)
- remove configuration sections that don't apply to the target hardware
- remove ports from the various sections that are not needed
- change UsbConnector values to match physical hardware/ports

XHC@14’s device-id = “Data <af a2 00 00>”
Therefore: my XHC configuration is 8086_A2AF.

Download / install XCode
Download MagiASL code
Compile / Run MagIASL
Download SSDT-UIAC-ALL.dsl
Use MagiASL to open and edit this file.

Keep the 8086_A2AF config, delete all the others.
Within that config, keep HS01 - HS10 and SS01 - SS08 devices, delete all the others.

Save this file as SSDT-UIAC.dsl

To compile:
File > Save As … SSDT-UIAC.aml … file format: ACPI Machine Language Binary

“Make sure you have ACPI 6.1 selected in MaciASL->Preferences->iASL.”
(The default is 6.2A!)

mount your EFI partition

copy SSDT-UIAC.aml to EFI/EFI/Clover/ACPI/patched

Your custom SSDT is now created.

==============
Step 4 - testing/verification

To test it, remove “ -uia_ignore_rmcf” from E/E/C/config.plist, and restart.

Open IORegExp and observe those ports under XHC.

Test a USB 2.0 device (old apple keyboard) in each USB port. It is recognized as a USB 2.0 device called HS##.
Test a USB 3.0 device (Iomega external hard drive) in each USB port. It is recognized as a USB 3.0 device called SS##.
The harddrive can connect and be mounted, and be ejected properly in 2 or 3 seconds.
And files can be copied, fast. A 6.0GB file (Install macOS Mojave) takes 60 seconds.
An iPhone can charge and connect on all USB ports.

The SSDT is working.

===================
“Once your SSDT is working, you can remove or disable the port limit patch.”

My machine has 8 USB 3.0 ports. = 16 ports.

Add 1 USB Type C port, and 1 internal USB hub. = 18.
The Apple limit is 15 ports.

Without the port limit patch, I lose 3 of the USB 3.0 ports.
On the other hand, we currently have many USB 2.0 devices,
and relatively few USB 3.0 devices,
and no USB Type C devices.

I have chosen to remove HS09, the USB Type C port.
Now I only lose 2 USB 3.0 ports, SS07 and SS08.

Edited EFI/EFI/Clover/config.plist
Removed the port limit sections.

==============
To continue with Audio, jump down to message #29.
https://www.tonymacx86.com/threads/...-i630-airport-card.258728/page-3#post-1824975
 

Attachments

  • SSDT-UIAC.dsl
    4 KB · Views: 116
Last edited:
After this, I reinstalled all the audio drivers exactly as documented in the build, post #29 below.
 
Last edited:
I was using a USB3 stick and it was fine. I was using the front ports on my case I think.
What was the error you're getting?
It has been documented in a few places across this site that using USB 3 ports do not work when booting and the suggestion is to use the ports on the case as they connect to the USB header which is usually USB2. I think this why it may have worked for you but I have a new stick today which I will try and see if it works as I don’t have USB ports on the case. Right now it I get a very quick blank screen before it falls back to the SSD which is blank so the I get the “Error no operating system found”
 
Audio

These instructions are for macOS High Sierra only.

Everything seems to work except audio. Why wait to install the audio drivers?

The Installation Guide has a Troubleshooting And Optimization section with this link:
Before you install Audio
https://www.tonymacx86.com/threads/...p-realtek-applehda-guide.219810/#post-1492288

MultiBeast - Before You Install Audio: MultiBeast/Desktop/Realtek

When I first read these instructions, I felt as though bees were living inside my head.
Using programs I had never heard of, to change settings I didn't understand, and so on.
A closer reading showed that, this being a fresh install with a virgin EFI folder, I could skip several steps.

The author outlines a complex decision tree to get the right drivers on the right machines, in the right order.
Don't try to understand all of it, just read the next instruction until you understand it, and follow it to the letter.
Some steps can be accomplished by one of several different methods.
If one method fails, back it off and try another method.
(This happened to me with number 6 below.
You can read this in painful detail, in post 7 of this thread. I wouldn't.).

1. Remove previous installed methods (skip, if clean install). SKIPPED.
2. Native AppleHDA required (skip, if clean install). SKIPPED.
3. Disable SIP (10.11 and newer, if enabled). DONE. (Mine was 0x3 by default.)
4. Mount EFI partition (Clover only). DONE.
5. IOReg/HDEF

 DONE.
  • MultiBeast> Drivers > Audio > Realtek ALCxxx > √ 100 / 200 / 300 Series Audio Support
full

  • Build, Install, Succeed, Quit, Eject USB, Restart, Mount EFI.

6. IOReg/CodecDevice DONE.
7. Realtek Codec DONE. Mine is the 1220.
All of the steps above were just preperation to install the MultiBeast Audio codec below.
This is why I waited to install audio.


8. Install the MultiBeast Audio Codec DONE.
  • MultiBeast > Drivers > Audio > Realtek ALCxxx > ALC1220
full
  • Build, Install, Succeed, Quit, Eject USB, Restart, Mount EFI.
After restarting, I have audio from Front and Rear Audio jacks.

*poof*

full

 
Last edited:
I got the graphic card name Intel UHD 630 in system info but not graphic acceleration (7MB) yet and a lot of flickering

Thank you for your help, I am now one step closer...

Hi all, I managed to get the USB to boot, for some reason my version of DiskUtility did not give me an option to use a GUID partition scheme so formatting using diskUtil on the command line did the trick and it booted the first time.

How did you manage to fix the graphics acceleration? For now, I have only used MultiBeast to get the machine to boot and installed the drivers for the Ethernet and IGFX but I have the 7MB issue now
 
Status
Not open for further replies.
Back
Top