Jump to content

331 posts in this topic

Recommended Posts

Sorry for my late reply, I had to go to bed, cause I had to work early today. I've tried to run Pikers script on my companion to generate the SSDT.aml. Unfortunately needs version 15.8 (the current beta) an internet connection. I've bought an EDIMAX EW-7811UN wifi dongle, but it seems it needs a bit more work than installing the drivers to make it work on the Companion. The last version of Pikers script which doesn't need an internet connection is 15.0, but this version seems to be to old to know this hardware. This is what it outputs:

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl
             v6.6 Copyright (c) 2013 by † Jeroen
             v15.0 Copyright (c) 2013-2016 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.10.5 (14F27)
Brandstring 'Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz'


Error: Unknown processor model ...
Aborting ...
Done.

Share this post


Link to post
Share on other sites
Advertisement

 

Sorry for my late reply, I had to go to bed, cause I had to work early today. I've tried to run Pikers script on my companion to generate the SSDT.aml. Unfortunately needs version 15.8 (the current beta) an internet connection. I've bought an EDIMAX EW-7811UN wifi dongle, but it seems it needs a bit more work than installing the drivers to make it work on the Companion. The last version of Pikers script which doesn't need an internet connection is 15.0, but this version seems to be to old to know this hardware. This is what it outputs:

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl
             v6.6 Copyright (c) 2013 by † Jeroen
             v15.0 Copyright (c) 2013-2016 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.10.5 (14F27)
Brandstring 'Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz'


Error: Unknown processor model ...
Aborting ...
Done.

Version now is 21.1 so I don't know where that 15.8 comes from, mate. Check it.

I bought this years ago and it worked well in my Companion, but I think any OSX compatible WiFi USB dongle should work. If it says is compatible, only installing driver should be enough. Maybe your problem is USB related.

You could try to connect using bluetooth and a phone or another computer sharing connection and try. Intel bluetooth is recognized and works if you install BrcmPatchRAM2.kext and BrcFirmwareRepo.kext in S/L/E.

You can always buy a BCM94352Z and you'll have WiFi and bluetooth recognize as native.

 

Didn't know it requires an internet connection (I'm reading it now). Have you tried to download in another Mac, then copy/paste script in your hackintosh and run it? Maybe, could somebody else run the script specifying your CPU? I don't know how to do that, if not I would help here.

Share this post


Link to post
Share on other sites

At the moment I can boot into Yosemite, but nothing really seems to work. I expected some change after installing the DSDT.aml and the SSDT-files, but if I understood everything I should try to generate the SSDT.aml first, am I right?

My next idea would be trying to install all necessary kexts hoping to make the WIFI work. Can I use "some kind of beast who cannot be named" for this?  

 

To be honest I still don't understand what is really important to make my graphics work for example. Do I need to try some other ig-platform-ids or something else in the config.plist? Has it something to do with the missing SSDT and DSDT files, I try to avoid at the moment or maybe something with some kexts? I tried to google it, but most of the time it's pretty hard to find some basic informations.

Share this post


Link to post
Share on other sites

Don't forget to do changes in config.plist when ACPI files are added (DropOEM to YES and SetOrder).

I have no experience with any "beast", sorry mate, Clover, and patience to get all info you found well placed in your head is all you need, trust me. And is not related and will not help to make your USB dongle works.

 

Intel wifi will never work, you need to replace your internal card or use a compatible usb dongle.

 

Graphic needs proper ig-platform-id injected in Clover. I think what I put in that config.plist I sent you match your graphics. Any other things for Broadwell graphics might be needed. Google it or ask here in other forums.

 

Yes, you need to generate that SSDT to get power management for your CPU, but in the meantime you can use ACPI/SSDT/Generate=YES in config.plist to boot and do post-installation.

Share this post


Link to post
Share on other sites

Intel wifi will never work, you need to replace your internal card or use a compatible usb dongle.

 

Oh of course not, I talked about the wifi-dongle

 

 

Graphic needs proper ig-platform-id injected in Clover. I think what I put in that config.plist I sent you match your graphics. Any other things for Broadwell graphics might be needed. Google it or ask here in other forums.

 

Unfortunately the ig-platform-id you used in the config.plist you send me (0x16260006) produces a pretty glitched image, while the ID I used in my config.plist (0x162B8086) seems to work, but the graphics doesn't seem to be fully recognized by the system, since it's terribly slow and this is what about this mac shows me.

 

yXVT43c.png

 

 

 

Now I finally tried to use MaciASL to compile the patched DSDT and SSDT files you uploaded, to see what they would fix. But if I open these dsl-files in MaciASL and click on compile I get these error-messages

mJ26KxY.png

 

So I thought maybe I have to make my own DSDT and SSDT files. I followed this tutorial

On my CC2 I pressed F4 in Clover to generate the files and copied the DSDT and SSDT-files from EFI -> CLOVER -> ACPI -> origin. Then I used iASL to convert them to dsl-files and opened DSDT.dsl in MaciASL. There I applied all the patches you mentioned (now I figured out how to apply these patches). But after choosing COMPILE I get the exact same syntax errors as with your files. First I thought it has something to do with the patches, but I get the same errors too with the original dsl-files created by Clover F4.

So I guess I'm doing something the wrong way, but I can't figure out what.

 

By the way I've attached the raw DSDT and SSDT files created by Clover F4. I don't know if someone can use them, but it won't hurt.

DSDTSSDT.zip

Share this post


Link to post
Share on other sites

ig-platform-id I put in your config.plist I think I saw it in a Broadwell graphics (same as you), but as I said before, it might need others things done before being full recognized. DVMT-prealloc is important, you might need to boot with a proper DVMT Pre-Allocated in BIOS and a custom Clover patch to set your graphics with same DVMT-prealloc.

I might be wrong, different ig-platform-id can be used for the same graphic card. Right now, I'm struggling with that trying to get wake from sleep fully working and the issue is related to all this graphic stuff.

 

About DSDT/SSDT, you're doing it well, mate. DSDT only needs Fix ADBG Error first, so it compile with no erros.

SSDT-2 (a CPU SSDT related) needs this to be deleted:

Package (0x06)
        {
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000
        }

        Package (0x06)
        {
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000
        }

        Package (0x06)
        {
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000
        }

        Package (0x06)
        {
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000
        }

        Package (0x06)
        {
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000
        }

        Package (0x06)
        {
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000
        }

        Package (0x06)
        {
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000
        }

        Package (0x06)
        {
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000
        }

        Package (0x06)
        {
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000
        }

        Package (0x06)
        {
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000
        }

        Package (0x06)
        {
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000
        }

        Package (0x06)
        {
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000
        }

        Package (0x06)
        {
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000
        }

        Package (0x06)
        {
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000
        }

        Package (0x06)
        {
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000
        }

        Package (0x06)
        {
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000, 
            0x80000000
        }

I don't know why but this is printed out of _PSS method (I told about this before in this thread I think). Only removing this SSDT-7 compile with no erros.

 

Here you have your ACPI files. You need to start patching again but these comes with no errors, so if you find some you know you're doing something wrong.

Share this post


Link to post
Share on other sites

First thank you for these files and again thank you sooo much for helping us with all this, we would been lost I guess.

Unfortunately I still seem to doing it wrong. I opened the DSDT.dsl in MaciASL and clicked on Compile, but get the same syntax errors then before. I used the [syn] Fix ADBG Error patch on this file, but nothing changed. I still can't compile it.

Share this post


Link to post
Share on other sites

First thank you for these files and again thank you sooo much for helping us with all this, we would been lost I guess.

Unfortunately I still seem to doing it wrong. I opened the DSDT.dsl in MaciASL and clicked on Compile, but get the same syntax errors then before. I used the [syn] Fix ADBG Error patch on this file, but nothing changed. I still can't compile it.

I can compile what I've sent to you with no errors. You don't need to apply again "Fix ADBG Error" patch, I did it for you before sent. Just start with previous patches list I mentioned. 

 

Check if you have the latest version of MaciASL and latest of iasl installed.

 

For updating MacIASL with latest version of iasl:

 

Download iASL to your Downloads directory, type this in Terminal:

cd ~/Downloads
git clone https://github.com/RehabMan/Intel-iasl.git iasl.git
cd iasl.git
make
sudo make install

Install MaciASL.app to your Applications directory and run this command in Terminal to update iASL:

sudo cp /usr/bin/iasl /Applications/MaciASL.app/Contents/MacOS/iasl61

In my guide there's a pack with useful apps (including an updated version of MacIASL with updated iasl)

Share this post


Link to post
Share on other sites

Hi Schwarzgrau,

 

 

Is your config.plist set to inject Intel graphics? Cause you shouldn't be seeing that Intel Unknown 14 Mb issue: I was getting that using your base plist file, and it went away when I added the Inject Intel flag and used bertolin's ig-platform-id (I used Clover Configurator).

 

Also, I believe your DSDT, etc., files should be the same as mine, if we're on the same hardware. Why not try the ones Bertolin shared above, where he helped fix the compile errors? They ought to work for you just fine, I believe. At the very least, you could do a diff between his version and yours, and see exactly where they differ, which should help you figure out which sections to cut and which to keep.

Share this post


Link to post
Share on other sites

Thank you bertolin. You're right I used a MaciASL version from 2014. I got no compiling errors with the current version, but still can't boot with the SSDTs in place.

 

Hi GrubLord,

 

Ya, I came to the same conclusion about the DSDT files. The weird thing is not matter which DSDT.aml and SSDT-x.aml I put into CLOVER > ACPI > patched it won't boot with them. If I remove them I'm always fine. 

I tried three different version, but had no luck with one of them. I guess I'm doing something wrong in the compiling part. Can you boot into OS X? If so could you send me your aml-files?

 

And ya, I guess I still inject intel graphics. This is how the Graphics section of my config.plist looks like.

<key>Graphics</key>
        <dict>
                <key>Inject</key>
                <dict>
                        <key>ATI</key>
                        <false/>
                        <key>Intel</key>
                        <true/>
                        <key>NVidia</key>
                        <false/>
                </dict>
                <key>InjectEDID</key>
                <true/>
                <key>LoadVBios</key>
                <true/>
                <key>NvidiaSingle</key>
                <false/>
                <key>PatchVBios</key>
                <true/>
                <key>ig-platform-id</key>
                <string>0x162B8086</string>
        </dict>

Do I need to set Intel to false? And could you maybe send me your config.plist? I know it's meant to be for Sierra, but currently I'm pretty much desperate, since I'm constantly trying things for the last few days without any progress. The wifi-dongle isn't working, therefore I can't use Pikers script to generate a SSDT, the graphics won't get recognized and I don't understand why it won't accept any of the DSDT.aml I'm trying.

Share this post


Link to post
Share on other sites

GrubLord & schwarzgrau: Don't use Clover Configurator to edit your config.plist, use always PlistEdit Pro or Xcode. Clover Configurator seems to add unneeded data and corrupts your files. I just use it to mount EFI and generate SMBIOS.

 

schwarzgrau: I think GrubLors is giving you some clues. For example, his Graphics section in config.plist seems to work, so you might try to copy his values. File is in this thread a few pages back, search for it and download it.

 

You denitively don't need: LoadVBios, NvidiaSingle and PatchVBios. Remove these entries.

 

For what I can get from my head right now, just leave there ig-platform-id I put in GrubLord config.plist, Inject/Intel=YES and InjectEDID=YES.

 

IMPORTANT: It is a bad, bad idea to use ACPI files from another computer. Even having same hardware, lightly differences can output very different ACPI files. That's why it's always recommended to extract yours and use them. I know a lot of people don't take this seriously and use ACPI from other people, and sometimes works, but that's not the way, believe me. 

 

I know this guide do that, provide patched ACPI files from mactabletman Companion 2. And I was using those during more than one year, but when I decided to learn how to do it myself (because not everything was working) I understood that wasn't the proper way. 

 

I can't be more thankful to mactabletman (you rock, man) for made this possible, in fact I bought my Companion 2 because I wanted to work in OSX since I've been doing it since 11 years. But I think it's time to an update and with patches list I provided here everybody could extract their own and do it properly. If not, at least, info is here for those who want to learn or find some clues to their problems.

 

I think, guys, that you will be able to install and have your Companion 2 properly working, almost everything, but you need to know what you're doing and why. I know this is hard (hey, I have no coder or programming background and here I am, you just need some time, get info while testing things, read a lot of threads here and there...).

 

So good luck! I'll be here trying to help :)

 

NOTE: I'm trying to fix my "wake from sleep using power button" issue and I recommend to do a first step before extract ACPI and starting to patch. If you enter BIOS and go to Chipset/System Agent (SA) Configuration/Graphics Configurtion/ you will se three entries and values. Mine by default are set to 256MB everywhere. Check yours and post your results.

 

- I recommend to start setting DVMT Pre-Allocated to 128MB, leave the others in 256MB.

- Extract ACPI files again, check my initial solutions (fix ADBG Error for DSDT and delete Packages in SSDT-2) to make them compile without errors and after that start applying patches.

- Use Graphic section from GrubLord's config.plist.

- If this doesn't work, maybe a custom patch for Clover to set DVMT-prealloc to 128MB for your ig-platform-id is needed. 

 

Have any of you found a laptop guide with same CPU and graphics? I think if there's one it would bring mayor clues here.

Share this post


Link to post
Share on other sites

GrubLord & schwarzgrau: Don't use Clover Configurator to edit your config.plist, use always PlistEdit Pro or Xcode. Clover Configurator seems to add unneeded data and corrupts your files. I just use it to mount EFI and generate SMBIOS.

I'm using Sublime-Text to edit the config.plist. I guess that's ok?

 

 

schwarzgrau: I think GrubLors is giving you some clues. For example, his Graphics section in config.plist seems to work, so you might try to copy his values. File is in this thread a few pages back, search for it and download it.

I did find some interesting informations, which I seem to have missed the last time, but I didn't find a config.plist from GrubLord.

 

 

IMPORTANT: It is a bad, bad idea to use ACPI files from another computer. Even having same hardware, lightly differences can output very different ACPI files. That's why it's always recommended to extract yours and use them. I know a lot of people don't take this seriously and use ACPI from other people, and sometimes works, but that's not the way, believe me.

Good to know, I didn't expect that. I patched the ACPI files I posted and you disassembled again and saved them as AML-files, but unfortunately my Companion don't want to boot with them in place. This is always the last it shows before freezing:

System uptime in nanoseconds: 1221543219

 

 

I think, guys, that you will be able to install and have your Companion 2 properly working, almost everything, but you need to know what you're doing and why. I know this is hard (hey, I have no coder or programming background and here I am, you just need some time, get info while testing things, read a lot of threads here and there...).

 

So good luck! I'll be here trying to help :)

I'm far, far away from knowing what I'm doing, but at least I START to understand what I could try. And again thank you for all that help.

 

 

NOTE: I'm trying to fix my "wake from sleep using power button" issue and I recommend to do a first step before extract ACPI and starting to patch. If you enter BIOS and go to Chipset/System Agent (SA) Configuration/Graphics Configurtion/ you will se three entries and values. Mine by default are set to 256MB everywhere. Check yours and post your results.

Aperture Size 512MB

DVMT Pre-Allocated 256M

DVMT Total Gfx Mem 256M

 

 

Have any of you found a laptop guide with same CPU and graphics? I think if there's one it would bring mayor clues here.

The only "laptop" I found using the same CPU and graphics seems to be the Intel NUC5i7RYH. I found three threads about it in the Italian section of insanelymac.

El Capitan on NUC5i7RYH 1

El Capitan on NUC5i7RYH 2

Sierra on NUC5i7RYH

I guess me and google translate have a date tomorrow evening.

 

But I have to check them out tomorrow evening. Unfortunately I have to work tomorrow.

Share this post


Link to post
Share on other sites

I'm using Sublime-Text to edit the config.plist. I guess that's ok?

Never used Sublime-Text, I recommend to use Xcode or PlistEdit Pro. There's a few "don't use a text editor to edit your config.plist" around the web.

 

I did find some interesting informations, which I seem to have missed the last time, but I didn't find a config.plist from GrubLord.

Sorry, my mistake, config.plist I sent was for you, not for GrubLord  ^_^

 

Good to know, I didn't expect that. I patched the ACPI files I posted and you disassembled again and saved them as AML-files, but unfortunately my Companion don't want to boot with them in place. This is always the last it shows before freezing:

System uptime in nanoseconds: 1221543219

You must be careful and check when you're using ACPI files to set DropOEM=YES, Generate=NO and proper SetOrder. I've created two config.plist for you, one to boot without ACPI files and other to boot with them. Try them. Without ACPI should work with the installer you created and installation you made. Config set for ACPI will work if you correctly patch your DSDT/SSDT (what seems now to be ok, you didn't say nothing about errors).

 

 

I'm far, far away from knowing what I'm doing, but at least I START to understand what I could try. And again thank you for all that help.

Neither I, man LOL But I'm starting to know why things are needed for this and I think it's time for me to give a hand.

 

Aperture Size 512MB

DVMT Pre-Allocated 256M

DVMT Total Gfx Mem 256M

Cool, very similar to mine. You guys must know a thing about this:

If you change any settings in BIOS, you're changing ACPI files inside the machine and you must extract them again and patch them. This means that if you have changed to 128MB as I said before but you're using ACPI files from a 256MB DVMT Pre-Allocated BIOS, it will give you a kernel panic and won't boot.

So if you've already extracted your ACPI from 256MB, you can try setting in BIOS DVMT Pre-allocated 256MB again. If you want to try with 128MB, you must extract and patch again (sorry for my previous advice, I didn't give you all info and I noticed that if any of you changed that but are using different DVMT Pre-Allocated BIOS/ACPI, it won't work).

 

The only "laptop" I found using the same CPU and graphics seems to be the Intel NUC5i7RYH. I found three threads about it in the Italian section of insanelymac.

El Capitan on NUC5i7RYH 1

El Capitan on NUC5i7RYH 2

Sierra on NUC5i7RYH

I guess me and google translate have a date tomorrow evening.

 

But I have to check them out tomorrow evening. Unfortunately I have to work tomorrow.

 

Man, what I told you about linking to, you know, it's against insanelymac rules. 

 

Oh, italian threads... I'm spanish and don't speak italian, so good luck with Google Translator. But for what I know:

- CPU just need a proper generated SSDT.aml from Pike's script (but you can try at first with Generate=YES, check my config_NO_ACPI)

- Graphics just need a proper ig-platform-id, Inject/Intel=YES, InjectEDID=YES

 

HERE the files.

Share this post


Link to post
Share on other sites

Never used Sublime-Text, I recommend to use Xcode or PlistEdit Pro. There's a few "don't use a text editor to edit your config.plist" around the web.

While using PlistEdit Pro I noticed why it's the better choice. It's a lot easier to use.

 

 

 

You must be careful and check when you're using ACPI files to set DropOEM=YES, Generate=NO and proper SetOrder. I've created two config.plist for you, one to boot without ACPI files and other to boot with them. Try them. Without ACPI should work with the installer you created and installation you made. Config set for ACPI will work if you correctly patch your DSDT/SSDT (what seems now to be ok, you didn't say nothing about errors).

The config_NO_ACPI.plist produces an extremely glitchy image in Yosemite. But if I change the ig-platform-id from 0x16260006 to 0x162B8086 it works like before: I can boot and everything looks normal, but is extremely slow, cause the graphic card isn't recognized.

 

If I use the config_ACPI.plist in combination with my ACPI files the booting freezes pretty fast, showing this message:

System uptime in nanoseconds: 1221543219

Which is really weird, since SetOrder uses exactly the files I included in the patched folder.

I guess something is still wrong with my files, cause I'm still doing something wrong, but I have no idea what it is.

But thank you for the files, good to have some decent config.plist to try something with.

 

 

 

Cool, very similar to mine. You guys must know a thing about this:

If you change any settings in BIOS, you're changing ACPI files inside the machine and you must extract them again and patch them. This means that if you have changed to 128MB as I said before but you're using ACPI files from a 256MB DVMT Pre-Allocated BIOS, it will give you a kernel panic and won't boot.

So if you've already extracted your ACPI from 256MB, you can try setting in BIOS DVMT Pre-allocated 256MB again. If you want to try with 128MB, you must extract and patch again (sorry for my previous advice, I didn't give you all info and I noticed that if any of you changed that but are using different DVMT Pre-Allocated BIOS/ACPI, it won't work).

That's really good to know. If I remember correctly my ACPI files were generated using 256MB and now I'm using 128MB. But I'm not exactly sure if I tried something completely weird, like 96mb, to see if this makes any difference. I guess I should generate my ACPI-files again, to be completely safe.

 

 

 

- CPU just need a proper generated SSDT.aml from Pike's script (but you can try at first with Generate=YES, check my config_NO_ACPI)

- Graphics just need a proper ig-platform-id, Inject/Intel=YES, InjectEDID=YES

Since the LED of my wifi-dongle isn't glowing on my Macbook either I came to conclusion that this thing could be broken and ordered another one, which will arrive tomorrow. Hopefully I can use Pikers script with it. After four days without any progress I would be really happy to have the SSDT.aml.

Oh by transalating the italian threads I found a SSDT.aml, made by Toleda for the Intel Iris 6100 and another SSDT.aml made for the Intel i7-5557U. Could they be of any use?

 

EDIT: I set my DVMT-Pre-Allocated to 128MB, used Clover F4 and patched these ACPI files again. Now my Companion finally boots with ACPI files and your config_ACPI.plist.

Share this post


Link to post
Share on other sites

EDIT: I set my DVMT-Pre-Allocated to 128MB, used Clover F4 and patched these ACPI files again. Now my Companion finally boots with ACPI files and your config_ACPI.plist.

Good to hear, man! :D Congrats!!

 

So, everything is working now? 

If you're using my config_ACPI.plist, have you generated your CPU SSDT with Pike's script?

If not, I think that's the only thing you need.

How about graphics? Is it well detected?

 

Use IORegistry Explorer from my pack in my guide. Open it, save and put it here so I can check it and have a look. Maybe we can fix something if needed.

Share this post


Link to post
Share on other sites

The ACPI files are in place and except of the ig-platform-id I used your config_ACPI.plist, but nothing seemed to have changed 

Unfortunately I couldn't generate a CPU SSDT with Piker's script, cause my wifi-dongle seems to be broken (it should blink, but it doesn't) and I have to pick up a new one tomorrow at the post office. So till tomorrow I have no internet connection to run his script.

Graphics aren't detected, but till now I didn't installed any kext except of FakeSMC, cause I thought I should fix this whole SSDT and DSDT thing first, to see what's working and whats not.

So maybe the graphics are something which I can fix using some kexts, even if I expected the Iris 6100 to be detected by default, since it's the same card the MacBookPro 12,1 uses.

 

I hope to get the wifi working tomorrow, so I can generate the CPU SSDT and hopefully send you an IOReg.  :|

Share this post


Link to post
Share on other sites

Yesterday I finally received my Tontec wifi dongle. Surprisingly it uses the Realtek RTL8188CUS, the same as the Edimax EW-7811un, my previous dongle. Kind of luck, cause the Tontec drivers are out of date, but I could use the drivers from Edimax.

Now I was able to run Piker's script to generate the SSDT.aml. The only thing I noticed, was the disappearing of the "unknown CPU" message. while booting.

 

The biggest problem are the graphics. I tried a bunch of ig-platform-ids and can divide them into two groups:

  1. While booting I get [iGPU] Graphics driver failed to load: could not register with Framebuffer driver! two times in a row. Then it boots into Yosemite. The graphics are extremely slow and aren't recognized in "About this Mac" (Graphics Intel Unknown 14 MB)
  2. It boots a lot faster and I get no error-messages about my GPU, while booting. It seems to boot into Yosemite and the mouse-cursor is a lot more responsive, but all I see is a black screen and the mouse-cursor.

Even if I can't use the companion with ig-platform-ids from group 2, it seems to be the better choice in some way, since I don't get error messages while booting and the more responsive cursor.

Share this post


Link to post
Share on other sites

Yesterday I finally received my Tontec wifi dongle. Surprisingly it uses the Realtek RTL8188CUS, the same as the Edimax EW-7811un, my previous dongle. Kind of luck, cause the Tontec drivers are out of date, but I could use the drivers from Edimax.

Now I was able to run Piker's script to generate the SSDT.aml. The only thing I noticed, was the disappearing of the "unknown CPU" message. while booting.

 

The biggest problem are the graphics. I tried a bunch of ig-platform-ids and can divide them into two groups:

  1. While booting I get [iGPU] Graphics driver failed to load: could not register with Framebuffer driver! two times in a row. Then it boots into Yosemite. The graphics are extremely slow and aren't recognized in "About this Mac" (Graphics Intel Unknown 14 MB)
  2. It boots a lot faster and I get no error-messages about my GPU, while booting. It seems to boot into Yosemite and the mouse-cursor is a lot more responsive, but all I see is a black screen and the mouse-cursor.

Even if I can't use the companion with ig-platform-ids from group 2, it seems to be the better choice in some way, since I don't get error messages while booting and the more responsive cursor.

Well, it seems you implemented well CPU power management if those warnings disappeared, mate. This is the very first and most important step, congrats. Now, graphic card.

 

I've found some ig-platform-id in AppleIntelFramebufferAzul.kext to try with my hack. If you're curious, you can use Hex Fiend to open it and have a look at the code. You can search for a known line of code as a platform-id and start looking and guessing (take a look into Pike's R Alpha blog for some info).

 

Maybe these are wrong but it won't hurt to try these ig-platform-id and report back. Also post an IOReg to have a look if you have the time. My Iris 5100 is ULT Mobile GT3, you can check yours in Windows with apps like CPU-Z or AIDA64. I guess it will ULT Mobile GT3 too. You can try some from here:

 

post-851564-0-97331200-1443023310.jpg

Share this post


Link to post
Share on other sites

Thank you for the platform-ids, I'll check them tomorrow. I already checked these ids today (some are in your list too):

 

A = it boots into Yosemite, but I get an error message while booting and the card isn't recognized. Probably just an invalid ID.

B = no error while booting, but I only get the black screen with a mouse-cursor, instead of Yosemite

 

0x162b0000 B 

0x162b0002 B

0x162b0004 B

0x162b0006 A

0x162b0008 A

0x16260006 B

0x162B8086 A

0x0a160000 A

0x0a16000c A

0x04160000 A

0x0c160000 A

0x04002B16 A

 

Since the B ones are in your list too, I get the impression they could be useable, but I have to fix something else first. I just don't know what it could be, since I finally included all SSDT and DSDT files.

Oh and I attached an IOREG. It's the first time I tried to export this, so I hope I did the right thing.

Klumpen.ioreg.zip

Share this post


Link to post
Share on other sites

From what I've read in different threads it could be a better choice to install El Capitan, instead of Yosemite, if you're using Broadwell graphics. At the moment I can't use Sierra, since a lot of the software I'm using has still problems with it, but maybe it would be a future proof choice to use El Capitan?
Would there be something I need to take care of accept of removing kext-dev-mode=1 and adding the RtVariables?

Share this post


Link to post
Share on other sites

From what I've read in different threads it could be a better choice to install El Capitan, instead of Yosemite, if you're using Broadwell graphics. At the moment I can't use Sierra, since a lot of the software I'm using has still problems with it, but maybe it would be a future proof choice to use El Capitan?

Would there be something I need to take care of accept of removing kext-dev-mode=1 and adding the RtVariables?

In El Capitan some other things have changed, for example how system manage USB ports. Now, in Yosemite all ports are working OOB but in EL Capitan you will see some of them are lost. You need to read how they are managed now and possible solutions, but these are what worked for me:

- Install USBInjectAll from RehabMan repository, this kext will enable all ports. This step is needed to see which are needed or not in order to disable them and/or correct port type (internal, external, usb2.0, usb3.0) with a custom SSDT-UIAC (more info from RehabMan in his repo).

- You can also install Fake_PCIID_XHCIMux, this kext will route any usb2.0 device connected to usb2.0 pins in XHC to be used by EHC1 instead. Then you can create a custom injector kext to disable unused ports and/or correct them (very similar to SSDT-UIAC).

- What I'm using now (I've probed the other two methods and it worked for me as well) is a custom injector kext for XHC. This makes EH01 to have zero ports and everythings is managed by XHC. In order to fully disable EH01 I'm including in EFI/CLOVER/ACPI/patched a SSDT-Disable_EHC from RehabMan repo.

 

USB is tricky in el Capitan (or Sierra), you must take a look in how Yosemite manage them and which ports are assigned to each device, do the same in El Capitan using USBInjectAll and use any method to enable/disable what you need and change port connector type. Here, IORegistry Explorer is needed, so start having a look at it and you will learn things at first just guessing. Look for guides about USB in El Capitan for examples of everything I'm talking about. You can also install the custom injector from my guide, I think it will work for you.

 

Other things have changed too:

- Clover patch for Boot Glitches

- Clover patches for enable BCM94352Z

- Kext for enable bluetooth is different, you must install BrcmPatchRAM2 instead of BrcmPatchRAM.

Share this post


Link to post
Share on other sites

I sticked pretty much to your guide and installed El Capitan. The graphics seem to instantly detected in some way, cause it was a lot faster than Yosemite only the image was kind of darken. After generating a new SSDT.aml and patching new DSDT and SSDT files this issue was gone. Now my graphic card is kind of detected, not by name, but OS X seems to understand it uses 1536MB. I hope this missing name is only cosmetics, like you mentioned in your guide.

 

HOtYqhS.png

 

 

Battery, bluetooth, wifi (dongle) and app store works, audio doesn't work. But my biggest problem at the moment is that OS X doesn't seem to detect the Cintiq itself.

 

HwsIKHI.png

 

Something which seems weird, since the Cintiq-part was always something which does work from the beginning. Could it have something to do with the different USB support? I don't have any problems with my USB ports on the outside, but I remember I read something about the Companion using some USB-ports internally?

 

I attached my config.plist (a simple one from Rehabman, with some tiny changes) and my IOReg. It would be great if you could look at it, if you find the time.

config_ioreg.zip

Share this post


Link to post
Share on other sites

Graphic's name may be just cosmetic, it never showed Unknown to me. If everything is working, it doesn't matter. Run some graphic benchmark like LuxMark to check it.

 

- Remove patches from ACPI/DSDT/Patches, we're renaming EHC1/EHC2 in DSDT manually and emulating Windows with DSDT patch.

- Remove boot flags from Boot/Arguments, they aren't needed. Use -v (verbose boot flag) until everything is right, it will help you to detect issues (my recommendation).

- Remove DisableDrivers section, you already deleted VBoxHfs.efi and put HFSplus.efi instead.

- Remove any entry starting with #. This symbol make entry disabled so since everything is booting good, they're not needed.

- Remove ForceKextsToLoad from KernelAndKextPatches, not needed.

- In KernelAndKextPatches/KextsToPatch there are a lot of disabled patches. Leave there only what you need after testing in order to leave a more cleaner config.plist.

 

Well, about USB. If you take a look into your IOReg, you will see EH01 having two ports (PR01 and PR12). PR01 show a hub with many ports and PR12 is empty/unused.

XHC is managing all your connected devices for what I see, but HS08 is lost, don't know why. If I remember well, there is where the Wacom hub must be present, that's why your driver can't find a tablet.

 

Recommendation: Install the custom injector from my guide and report back.

Share this post


Link to post
Share on other sites

I did the changes you mentioned in my config.plist. Thank you.

 

Unfortunately XHCInjectorCC2.kext doesn't seem to fix the problem. I guess I have to read RehabMans readme to his USBInjectAll a few times more. Till it starts to make any sense to me.

If I understood it right it activates all ports, but isn't meant to be used constantly. So I should use it to see which ports needs to be activated/fixed. Is this right?

Share this post


Link to post
Share on other sites

I did the changes you mentioned in my config.plist. Thank you.

 

Unfortunately XHCInjectorCC2.kext doesn't seem to fix the problem. I guess I have to read RehabMans readme to his USBInjectAll a few times more. Till it starts to make any sense to me.

If I understood it right it activated all ports, but isn't meant to be used constantly. So I should use it to see which ports needs to be activated/fixed. Is this right?

Yes, you must create a custom SSDT-UIAC (look at RehabMan repo for examples) to enable/disable or change port connections you need. Remember to add this SSDT to SorterOrder in config.plist. It requires some read and test but I think you will be able to do it, mate :)

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   0 members

    No registered users viewing this page.

  • Similar Content

    • By fusion71au
      This is a brief guide on how to create a vanilla El Capitan (also same process for Sierra) OS X Installer USB with an updated prelinked kernel containing FakeSMC.

      It is tailored for those users who want to understand the “nuts and bolts” of how to create an installer and also to help brush up on their terminal skills (rather than have one made for them with the numerous automated “tools” available or even Apple’s createinstallmedia) :
       
       
      Specifically, it is also a “Proof of Concept” which shows that installation is possible without even having to rely on boot loader kext injection.

      Prerequisites
      Existing Yosemite installation (or Mavericks - see post#4 for steps 7,8) “Install OS X El Capitan.app" downloaded to the Applications folder Pacifist FakeSMC.kext - Slice or Kozlek branch Bootloader - Clover or Chameleon 8GB or larger USB drive (16GB recommended), formatted HFS+ (MBR or GUID) named “Installer”  
      Procedure
      1.  Boot into Yosemite with the kext-dev-mode=1 boot flag
      2.  Open OS X terminal and type the following lines, followed by <Enter> after each line.
          The image restore and file copying may take a while to complete, and at the end of the process, the Installer volume is renamed to “OS X Base System"....
       
      sudo -s hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg asr restore -source /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg  -target /Volumes/Installer -erase -format HFS+ -noprompt -noverify rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages cp -av /Volumes/OS\ X\ Install\ ESD/Packages /Volumes/OS\ X\ Base\ System/System/Installation cp -av /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg /Volumes/OS\ X\ Install\ ESD/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System diskutil unmount /Volumes/OS\ X\ Install\ ESD exit 3.  Right click on the “OS X Base System” Volume and click “Get Info”
       

      4.  Click on the lock icon and untick “Ignore ownership on this volume”
       

      5.  Extract/Copy the El Capitan Kernels folder into /System/Library/ of the USB with Pacifist.  NB It is found in the "Essentials.pkg" in /System/Installation/Packages
       

      6.  Delete or Rename the original /System/Library/PrelinkedKernels/prelinkedkernel —> OG.prelinkedkernel
       

      7.  Copy FakeSMC.kext and other necessary kexts (e.g. VoodooPS2Controller.kext for laptops) into the /Library/Extensions folder of the installer USB using Finder.
       

      8.  Back in terminal, type the following lines, followed by <Enter> after each line to rebuild the prelinkedkernel…..
       
      sudo -s chmod -R 755 /Volumes/OS\ X\ Base\ System/Library/Extensions chown -R 0:0 /Volumes/OS\ X\ Base\ System/Library/Extensions touch /Volumes/OS\ X\ Base\ System/System/Library/Extensions kextcache -u /Volumes/OS\ X\ Base\ System exit Any errors should be noted but the output below is normal e.g.


      9. Install your Bootloader targeting the OS X Base System volume
       
       
       
       
      10.  Boot your system with the USB without injected kexts into the OS X Installer GUI....
       
       
       
       
       
      Post Install
      The original prelinked kernel in a fresh install of El Capitan will also lack FakeSMC ie it will only be linked to Apple signed kexts.  In order to boot into El Capitan the first time around without boot loader kext injection, the PLK needs to be rebuilt for the El Capitan volume like we did for the installer:
       
      1.  Boot into Yosemite with the kext-dev-mode=1 boot flag
      2.  Delete or Rename the original /System/Library/PrelinkedKernels/prelinkedkernel for the El Capitan volume —> OG.prelinkedkernel
      3.  Copy FakeSMC.kext and other necessary kexts (e.g. VoodooPS2Controller.kext for laptops) into the /Library/Extensions folder of El Capitan using Finder
      4.  Back in terminal, type the following lines, followed by <Enter> after each line to rebuild the prelinkedkernel.  In this example, the El Capitan volume is named "El_Capitan" - change if you have named it something else...
      sudo -s chmod -R 755 /Volumes/El_Capitan/Library/Extensions chown -R 0:0 /Volumes/El_Capitan/Library/Extensions touch /Volumes/El_Capitan/System/Library/Extensions kextcache -u /Volumes/El_Capitan exit 5. Install your Bootloader targeting the El Capitan volume.  This step is only necessary if you are installing El Capitan on a new drive without existing boot loader (not required if installing on a disk with existing boot loader beside Yosemite).
      6. Reboot your system without injected kexts into El Capitan!
       
       
      Other links
      The All-In-One Guide to Vanilla OS X for beginners
       
      Updates for Sierra and High Sierra   Custom Prelinkedkernel Generator Tool I have made a custom prelinkedkernel generator "PLK.tool" for Sierra + El Capitan.  Instructions:   1.  Download and extract the attached BaseSystem_PLK.tool.zip into your ~/Downloads folder.   2.  Copy any extra kexts necessary for booting your hack to ~/Downloads/BaseSystem/ExtraKexts (e.g. FakeSMC, VoodooPS2Controller), making sure SIP is disabled. 3.  Copy BaseSystem.dmg to ~/Downloads/BaseSystem  4.  Open terminal and run the following commands... cd ~/Downloads/BaseSystem chmod +x PLK.tool ./PLK.tool ---> supply your admin password ---> will place your new custom prelinkedkernel on the desktop.       macOS High Sierra bypass Firmware and MBR checks in post#13.
      BaseSystem_PLK.tool_ElCap.zip
      BaseSystem_PLK.tool_Sierra.zip
      BaseSystem_PLK.tool_Mojave.zip (need to run in Mojave to avoid dependency errors)
      BaseSystem_PLK.tool_Catalina.zip
    • By k.panic
      Hi to all!

      I've installed Yosemite on:
      - i5 4690
      - ASRock H87M Pro4 (with intel ethernet I219-V) (IntelMausiEthernet, AppleIntelE1000 and RehabMan for I219V kexts)
      - 8gb ddr3 RAM
      - 1tb hard disk
       
      If I disable I219-V from BIOS, when I shutdown it, don't reboots (tested with all kexts)
      If I enable I219-V from BIOS, when I shutdown it, the system reboots.
       
      How can I fix this? Thanks!
    • By renandesouza
      Hi guys, I recently installed OS X 10.10 Yosemite on my PC, everything was fine in the installation, video card already configured and working perfectly, the sound also had no problems, but I just can not connect to the internet, no connection with ethernet etc ... I tested some kex but it did not work.
       
      PC:
      Asus P5GC-MX/1333
      Core 2 Duo E8400 3.0 GHz 
      2GB DDR2 
      ATi HD 5450
      Realtek ALC883 HD Audio
      Atheros L2 Fast Ethernet 
       
      Network Screen Prints:

    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&amp;t=6771   Install MacOS with Olarila Image, Step by Step, Install and Post Install
       
      https://olarila.com/forum/viewtopic.php?f=50&t=8685
        Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Install Clover in USB stick UEFI mode https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace Folder CLOVER INSTALLATION.zip   --Install System and boot with USB STICK! --Install Clover in UEFI mode and replace with my folder  Mavericks / Yosemite CLOVER Mavericks-Yosemite.zip El Capitan / Sierra CLOVER El Capitan-Sierra.zip   --Reboot and activate video!   Bingo!   Now you need a fine tune! I prefer DSDT way, apply all patches in one file, many people prefer many SSDTs or Clover patches! If you need DSDT edit... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Post Ioreg, extract with Ioreg Explorer http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222606 -Run it, post files generate in your desktop http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222609    --DSDT My DSDT DSDT.Asus Z97M-PLUS.zip   Patches  -FIX ERRORS AND WARNINGS -HPET -SATA -SLPB -EHCx -DARWIN -LPC -XHCI -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -HDMI -ALS0 -SHUTDOWN -LAN -PNLF --SSDT Generate your SSDT Power Management, use ssdtPRGen Piker-Alpha https://github.com/Piker-Alpha run in terminal curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh chmod +x ~/ssdtPRGen.sh sudo ~/ssdtPRGen.sh ssdtPRGen.command.zip
       
      --SSDT i74790K
      SSDT.i7 4790K.zip
       
      --IOREG
      iMac.ioreg.zip
       
      Clear NVRAM, Purge and Kextcache Olarila.command.zip   stock coolerand Rio 40º    --FakeSMC http://www.hwsensors.com/releases --Audio http://www.insanelymac.com/forum/topic/314406-voodoohda-289/ --USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads --LAN http://www.insanelymac.com/forum/topic/304235-intelmausiethernetkext-for-intel-onboard-lan/   Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&amp;t=6771   Install MacOS with Olarila Image, Step by Step, Install and Post Install
       
      https://olarila.com/forum/viewtopic.php?f=50&t=8685
          First... If you need DSDT edits... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Run it, post files generated in your desktop RunMe.app  Installation   --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder  CLOVER.zip   --Install Sierra/High Sierra and boot into system!   Post Installation   --Install Clover in HDD/SSD and replace with my folder CLOVER.zip   --Reboot and activate video!   -Nvidia WebDriver Sierra http://www.insanelymac.com/forum/topic/312525-nvidia-web-driver-updates-for-macos-sierra-update-07212017/ -Nvidia WebDriver High Sierra http://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-10162017/ -Cuda http://www.insanelymac.com/forum/topic/302795-cuda-90214-is-out-update-10162017/   -DSDT My DSDT DSDT.GA H97M-DS3P MaLd0n.zip   -Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -HDEF -RTC -IRQs -SBUS -MIKEY -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -EC -PNLF -HDMI





      -FakeSMC
      https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek -Audio https://github.com/vit9696/AppleALC -LAN https://github.com/Mieze/IntelMausiEthernet   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
×