Jump to content
headkaze

Hackintool v2.7.6

703 posts in this topic

Recommended Posts

On 7/14/2019 at 5:14 AM, headkaze said:

So any ports connected to a Thunderbolt controller need to be set to USB C. That's useful to know thanks for the post.

Your welcome , developer !

From Rehabman

Note that your ACPI is using _UPC to set UsbConnector=10 for those ports.
If the HSxx on XHC@14 are connected to that, those should be UsbConnector=10 as well.

 

Left USBA - XHC@14 HS01(USB2 flashdrive), XHC@14 SS01(USB3 flashdrive)
Right USBA - XHC@14 HS02(USB2 flashdrive), XHC@14 SS02(USB3 flashdrive)

So all of those should be UsbConnector=3.
 

Top Left USBC - XHC@14 HS03(USB2 flashdrive with adapter), XHC@0 SS01(USB3 flashdrive with adapter)
Bottom Left USBC - XHC@14 HS04(USB2 flashdrive with adapter), XHC@0 SS02(USB3 flashdrive with adapter)

HS03/HS04, UsbConnector=10 (matching the _UPC data for XHC@0 SS01/SS02).

 

 

 

Also , I think that this laptop don't need  FakePCIID.kext + FakePCIID_XHCIMux.kext ?

For the USB controller id are 0x8086:0x9D2F ; 0x8086:0x15D4

Share this post


Link to post
Share on other sites
Advertisement

Hi :O)

 

@headkaze

 

Just finish to Beta test new add of ALC274 to AppleALC.kext and inform you it's not correclty named in latest Hackintool :

Capture d’écran 2019-07-16 à 11.59.45.png

Share this post


Link to post
Share on other sites
Posted (edited)

 

On 7/15/2019 at 10:17 AM, jamesxxx1997 said:

From Rehabman 

Note that your ACPI is using _UPC to set UsbConnector=10 for those ports.
If the HSxx on XHC@14 are connected to that, those should be UsbConnector=10 as well.

 

Left USBA - XHC@14 HS01(USB2 flashdrive), XHC@14 SS01(USB3 flashdrive)
Right USBA - XHC@14 HS02(USB2 flashdrive), XHC@14 SS02(USB3 flashdrive)

So all of those should be UsbConnector=3.
 

Top Left USBC - XHC@14 HS03(USB2 flashdrive with adapter), XHC@0 SS01(USB3 flashdrive with adapter)
Bottom Left USBC - XHC@14 HS04(USB2 flashdrive with adapter), XHC@0 SS02(USB3 flashdrive with adapter)

HS03/HS04, UsbConnector=10 (matching the _UPC data for XHC@0 SS01/SS02).

I'm pretty sorry to bother you , @headkaze , for I found out a weird thing when using hackintool to generate SSDT-UIAC & SSDT-USBX.

When I does the exact same patch with Rehabman's SSDT.UIAC and Hackintool's SSDT.UIAC  , the rehabs' result is this  ; while the hackintools' result is this.  This is my ioreg dump and EFI , hoping you can take a look when you have time ,  thanks!

Edited by jamesxxx1997

Share this post


Link to post
Share on other sites
2 hours ago, jamesxxx1997 said:

 

I'm pretty sorry to bother you , @headkaze , for I found out a weird thing when using hackintool to generate SSDT-UIAC & SSDT-USBX.

When I does the exact same patch with Rehabman's SSDT.UIAC and Hackintool's SSDT.UIAC  , the rehabs' result is this ; while the hackintools' result is this.  This is my ioreg dump and EFI , hoping you can take a look when you have time , thanks!

The only difference I can see is that "XHC" is defined as "8086_9dxx".

 

I've attached one with "XHC" changed to "8086_9d2f". Can you see if it works the same way as Rehabman's?

SSDT-UIAC_hackintool_test.aml

Share this post


Link to post
Share on other sites
Posted (edited)
23 hours ago, headkaze said:

The only difference I can see is that "XHC" is defined as "8086_9dxx".

 

I've attached one with "XHC" changed to "8086_9d2f". Can you see if it works the same way as Rehabman's?

SSDT-UIAC_hackintool_test.aml

WOW!!! The result become this , the SS01&SS02 shows type C

Also upload the IOreg , thanks~

Thinkpad x1 Yoga 3rd.ioreg.zip

Edited by jamesxxx1997

Share this post


Link to post
Share on other sites
9 hours ago, headkaze said:

So is it correct or not?

Not correct... The SS01&SS02 should show usb3

 

Share this post


Link to post
Share on other sites
Posted (edited)
53 minutes ago, jamesxxx1997 said:

Not correct... The SS01&SS02 should show usb3

But that's how you have SS01/SS02 set in your aml file. You need to set the ports to the correct one's in Hackintool and then export.


                    "SS01", 
                    Package (0x04)
                    {
                        "UsbConnector", 
                        0x0A, 
                        "port", 
                        Buffer (0x04)
                        {
                             0x11, 0x00, 0x00, 0x00                           // ....
                        }
                    }, 

                    "SS02", 
                    Package (0x04)
                    {
                        "UsbConnector", 
                        0x0A, 
                        "port", 
                        Buffer (0x04)
                        {
                             0x12, 0x00, 0x00, 0x00                           // ....
                        }
                    }, 

See how the "UsbConnector" value is 0x0A? That means when you exported the SSDT-UIAC.aml file from Hackintool the ports were set to "TypeC". You need to set them to "USB3" then export and they will be set to 0x03.

 

You can download MaciASL to open the SSDT-UIAC.aml file and check the values. For reference they are the following:

USB2 = 0x00
USB3 = 0x03
TypeC+Sw = 0x09
TypeC = 0x0A
Internal = 0xFF

Once you have your ports configured and you've rebooted, you can run Hackintool and then click the "Clear" button then "Refresh" button for it to load your current ports for checking (as it states in the instructions)

Edited by headkaze

Share this post


Link to post
Share on other sites
4 hours ago, headkaze said:

See how the "UsbConnector" value is 0x0A? That means when you exported the SSDT-UIAC.aml file from Hackintool the ports were set to "TypeC". You need to set them to "USB3" then export and they will be set to 0x03.

 

4 hours ago, headkaze said:

Once you have your ports configured and you've rebooted, you can run Hackintool and then click the "Clear" button then "Refresh" button for it to load your current ports for checking (as it states in the instructions)

Mmm... I think the problem is , when I set the port to some type(usb3 or typeC) , and substitude the SSDT-UIAC exported from hackintool for my original SSDT-UIAC , then reboot , the usb port will become different again.

 

Sorry for my laptops' weird behavior :(

Share this post


Link to post
Share on other sites
Posted (edited)

Hackintool v2.7.0 Release
- Launch process output fix (big thanks to @jaymonkey for the help testing this)
- Prepends "Intel" for IGPU name for Intel Power Gadget (thanks again to @jaymonkey for discovering this)
- System Info now includes all graphics cards

- iMessage Keys are now clearly labeled
- Added new OpenCore logo
- Updated pci.ids / AppleALC audio data

Edited by headkaze

Share this post


Link to post
Share on other sites

Hi, I realised I set one of my ports wrong, HS01 is meant to be listed as USB 2 but in Hackintool it's showing as USB 3. I'm using USBPorts kext method. Can I change the code in the kext to set the correct port type? 

 

I just don't know which part to change and what to change it to, please help! From the post above I've seen 'USB2 = 0x00' but don't get how to make that change in below example text:

 

                <dict>
                    <key>HS01</key>
                    <dict>
                        <key>UsbConnector</key>
                        <integer>3</integer>
                        <key>port</key>
                        <data>
                        AQAAAA==
                        </data>
                    </dict>

 

 

Share this post


Link to post
Share on other sites
26 minutes ago, NGF86 said:

Can I change the code in the kext to set the correct port type?

You should be able to make the change in Hackintool and export again.

Share this post


Link to post
Share on other sites
2 hours ago, headkaze said:

You should be able to make the change in Hackintool and export again.

 

Great thanks, hoping it would be that simple. 

Share this post


Link to post
Share on other sites

@headkaze I think I find out the problem~~~

For my cpu is 8550u , I need usb3 _prw 0x6d [Skylake] patch in my DSDT , I used usb3 _prw 0x6d which might lead to the problem.

Now the usb patch is working correctly! Thanks!

Share this post


Link to post
Share on other sites

I think I found a bug in version 2.70.  In "Installed Kexts" the Hand-off/Continuity kext is misspelled.  It reads "BT4LEContiunityFixup.kext" but it should be "BT4LEContinuityFixup.kext".  The "n" should come before the "u".

Share this post


Link to post
Share on other sites
I think I found a bug in version 2.70.  In "Installed Kexts" the Hand-off/Continuity kext is misspelled.  It reads "BT4LEContiunityFixup.kext" but it should be "BT4LEContinuityFixup.kext".  The "n" should come before the "u".
The project itself is misspelled

Share this post


Link to post
Share on other sites
35 minutes ago, headkaze said:
1 hour ago, mnfesq said:
I think I found a bug in version 2.70.  In "Installed Kexts" the Hand-off/Continuity kext is misspelled.  It reads "BT4LEContiunityFixup.kext" but it should be "BT4LEContinuityFixup.kext".  The "n" should come before the "u".

The project itself is misspelled

 

They fixed it in version 1.1.3.

 

https://github.com/acidanthera/BT4LEContinuityFixup/releases

Share this post


Link to post
Share on other sites
In this new version, I can't see the info about my Hack in some tabs.

Can you run Hackintool from Terminal and post any exceptions on startup. It's almost certainly going to be the cause.

Share this post


Link to post
Share on other sites
24 minutes ago, headkaze said:


Can you run Hackintool from Terminal and post any exceptions on startup. It's almost certainly going to be the cause.

Even using open -a Hackintool command, didn't work

Share this post


Link to post
Share on other sites
23 minutes ago, Allan said:

Even using open -a Hackintool command, didn't work

Can you run Hackintool from Terminal (run Hackintool.app/ Contents/MacOS/Hackintool) and post the output here.

Share this post


Link to post
Share on other sites
55 minutes ago, headkaze said:

Can you run Hackintool from Terminal (run Hackintool.app/ Contents/MacOS/Hackintool) and post the output here.

That's right?

 

2019-07-29 13:33:31.219 Hackintool[529:5304] Initializing Bundle Data
2019-07-29 13:33:31.281 Hackintool[529:5304] Initializing PCI
2019-07-29 13:33:31.490 Hackintool[529:5304] Initializing Displays
2019-07-29 13:33:31.496 Hackintool[529:5304] Initializing General
2019-07-29 13:33:31.498 Hackintool[529:5304] macOS Version: Version 10.14.6 (Build 18G84)
2019-07-29 13:33:31.498 Hackintool[529:5304] Model Identifier: MacBookPro9,2
2019-07-29 13:33:31.499 Hackintool[529:5304] IntelGen: Ivy Bridge
2019-07-29 13:33:31.499 Hackintool[529:5304] PlatformID: 0x01660003
2019-07-29 13:33:31.500 Hackintool[529:5304] IGPU: Intel HD Graphics 4000 (0x01668086)
2019-07-29 13:33:31.605 Hackintool[529:5304] Initializing Settings
2019-07-29 13:33:31.612 Hackintool[529:5304] Initializing Menus
2019-07-29 13:33:31.612 Hackintool[529:5304] Initializing Bootloader
2019-07-29 13:33:32.085 Hackintool[529:5304] -[NSTaggedPointerString unsignedIntValue]: unrecognized selector sent to instance 0x24acc16570cbb081
2019-07-29 13:33:32.086 Hackintool[529:5304] -[NSTaggedPointerString unsignedIntValue]: unrecognized selector sent to instance 0x24acc16570cbb081

 

Share this post


Link to post
Share on other sites

 

 

 

That's right?

Yes, thanks. It's the "-[NSTaggedPointerString unsignedIntValue]: unrecognized selector sent to instance" part that tells me what I need to know.

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   1 member

×