al3xtjames / Gigabyte-GA-Z77X-macOS-Install

Support files for running macOS on Gigabyte 7 Series motherboards
101 stars 26 forks source link

Problems when update with GA-Z77X.sh scrip on Sierra 10.12.6 #68

Open SebaARG opened 7 years ago

SebaARG commented 7 years ago

System information

macOS 10.12.6 GA-Z77X macOS Install v2.0.9 GA-Z77X-UD5H Intel Core i7-3770K NVIDIA GeForce GTX 970

Issue Type

Issue Description

Hi! I fix the 800 MHz on the XCPM patches but I can't update with GA-Z77X.sh script on my USB Install Media, I receive the following message

captura de pantalla 2017-07-22 a la s 18 11 22

al3xtjames commented 7 years ago

Can you run the script with bash -x ./GA-Z77X.sh --update and post the output?

SebaARG commented 7 years ago

This is the output:

janko84 commented 7 years ago

Installed successfully but I got kernel panic and can't boot the system at all, even with -x safe mode. Please help !!! img_2365

MB: z77x-d3h CPU i7 3770

al3xtjames commented 7 years ago

@SebaARG, @HagenBarz reported success when recloning the repo. Could you try that?

@janko84, was this after running --upgrade? Or was this a clean install?

janko84 commented 7 years ago

It was a clean install.

al3xtjames commented 7 years ago

Please create a new issue.

SebaARG commented 7 years ago

I recloning the repo and put on my home directory, --update succesfully run but I received kernel panic on reboot, I can't boot on safe mode; I booting with USB Media and corroborate that the config.plist update on EFI is corrupt (very instances of code repeat many times)

Edit: On Re-Rebbot witouth USB the HD boot OK but bluetooth not working (PCI card, WIFI Work OK), strange issue

Edit2: Re-Run --update script and then boot with USB, manually repair de config.plist, reboot again, and now everything seems to work well

SebaARG commented 7 years ago

After several restarts and no problems (only problems with webkit instances crash on safari) i got kernel panic imagen jpeg-12d533d98fa6-1

al3xtjames commented 7 years ago

Can you try booting with keepsyms=1?

SebaARG commented 7 years ago

Yes, same result

HagenBarz commented 7 years ago

I had the same error (suddenly kernel panic). After reinstalling macOS Sierra via Recovery Boot now everything works fine.

SebaARG commented 7 years ago

Boot with USB and reset caches and then I can boot Ok, but the crashing com.apple.WebKit.WebContent con Safari persist

SebaARG commented 7 years ago

I install a clean install and for now almost, no kernel panics, but Safari tab (Facebook always) with 10.12.6 keep crashing: com.apple.WebKit.WebContent; I don't know if is a problem with NVidia drivers or other, while use intel graphics I don't have problems. Config.plist with errors on KernelAndKextPatches line, but I can boot ok and no cpu process limitation on 10.12.6!

KernelAndKextPatches
<dict>
    <key>KernelAndKextPatches</key>
    <dict>
        <key>KernelToPatch</key>
        <array>
                               ..............</array>
al3xtjames commented 7 years ago

Can you post the crash log for WebKit & your config.plist (feel free to remove your serial number/etc)?

SebaARG commented 7 years ago

Webkit Crash:

Safari Crash com.apple.WebKit.WebContent.txt

Config.plist (edit to fix KernelAndKextPatches section, safari webkit keep crashing// I desactive Intel Graphics and now use NVWebDriverLibValFix.kext to fix iBook, Little Snitch, etc transparent, the safari crash happening anyway without that kekt )

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>ACPI</key>
    <dict>
        <key>DSDT</key>
        <dict>
            <key>Fixes</key>
            <dict>
                <key>FixRegions_10000000</key>
                <true/>
            </dict>
            <key>Patches</key>
            <array>
                <dict>
                    <key>Comment</key>
                    <string>Rename SAT0 to SATA</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    U0FUMA==
                    </data>
                    <key>Replace</key>
                    <data>
                    U0FUQQ==
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>Rename SPTn to PRTn</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    U1BU
                    </data>
                    <key>Replace</key>
                    <data>
                    UFJU
                    </data>
                </dict>
            </array>
        </dict>
        <key>DropTables</key>
        <array>
            <dict>
                <key>Signature</key>
                <string>DMAR</string>
            </dict>
            <dict>
                <key>Signature</key>
                <string>MATS</string>
            </dict>
            <dict>
                <key>Signature</key>
                <string>SSDT</string>
                <key>TableId</key>
                <string>Cpu0Ist</string>
            </dict>
            <dict>
                <key>Signature</key>
                <string>SSDT</string>
                <key>TableId</key>
                <string>CpuPm</string>
            </dict>
        </array>
        <key>SSDT</key>
        <dict>
            <key>Generate</key>
            <dict>
                <key>CStates</key>
                <true/>
                <key>PStates</key>
                <true/>
            </dict>
            <key>PluginType</key>
            <integer>1</integer>
        </dict>
    </dict>
    <key>Boot</key>
    <dict>
        <key>DefaultVolume</key>
        <string>iMac SSD</string>
        <key>Legacy</key>
        <string>LegacyBiosDefault</string>
        <key>NoEarlyProgress</key>
        <true/>
        <key>StrictHibernate</key>
        <true/>
        <key>Timeout</key>
        <integer>8</integer>
        <key>XMPDetection</key>
        <integer>1</integer>
    </dict>
    <key>Devices</key>
    <dict>
        <key>Audio</key>
        <dict>
            <key>Inject</key>
            <string>1</string>
        </dict>
        <key>USB</key>
        <dict>
            <key>Inject</key>
            <false/>
        </dict>
    </dict>
    <key>GUI</key>
    <dict>
        <key>Language</key>
        <string>en:0</string>
        <key>Scan</key>
        <dict>
            <key>Entries</key>
            <true/>
            <key>Legacy</key>
            <false/>
            <key>Linux</key>
            <false/>
            <key>Tool</key>
            <true/>
        </dict>
        <key>Theme</key>
        <string>clover-theme-minimal</string>
    </dict>
    <key>Graphics</key>
    <dict>
        <key>Inject</key>
        <dict>
            <key>ATI</key>
            <false/>
            <key>Intel</key>
            <false/>
            <key>NVidia</key>
            <false/>
        </dict>
    </dict>
    <key>KernelAndKextPatches</key>
    <dict>
        <key>KernelToPatch</key>
        <array>
            <dict>
                <key>Comment</key>
                <string>Enable Ivy Bridge XCPM (credit: Pike R. Alpha)</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                g8PEg/si
                </data>
                <key>MatchOS</key>
                <string>10.12.x</string>
                <key>Replace</key>
                <data>
                g8PGg/si
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable Ivy Bridge XCPM (credit: Pike R. Alpha &amp; Sherlocks)</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                jUPEg/gi
                </data>
                <key>MatchOS</key>
                <string>10.12.6</string>
                <key>Replace</key>
                <data>
                jUPGg/gi
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable Ivy Bridge XCPM (credit: Pike R. Alpha, PMheart)</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                idgExDwidyI=
                </data>
                <key>MatchOS</key>
                <string>10.13.x</string>
                <key>Replace</key>
                <data>
                idgExjwidyI=
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Disable XCPM PKG Scope MSRs (credit: Pike R. Alpha)</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                vgcAAAAx0uiU/P//
                </data>
                <key>MatchOS</key>
                <string>10.12.x</string>
                <key>Replace</key>
                <data>
                vgcAAAAx0pCQkJCQ
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Disable XCPM PKG Scope MSRs (credit: Pike R. Alpha)</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                vgcAAAAx0uiP/P//
                </data>
                <key>MatchOS</key>
                <string>10.13.x</string>
                <key>Replace</key>
                <data>
                vgcAAAAx0pCQkJCQ
                </data>
            </dict>
        </array>
        <key>KextsToPatch</key>
        <array>
            <dict>
                <key>Comment</key>
                <string>Replace iMac12,2 with iMac13,2</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                aU1hYzEyLDIK
                </data>
                <key>Name</key>
                <string>com.apple.driver.AirPort.Atheros40</string>
                <key>Replace</key>
                <data>
                aU1hYzEzLDIK
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Change regdomain to US-FCC (1 of 2)</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                g7sgCAAABnRk
                </data>
                <key>MatchOS</key>
                <string>10.12.x,10.13.x</string>
                <key>Name</key>
                <string>com.apple.driver.AirPort.Atheros40</string>
                <key>Replace</key>
                <data>
                g7sgCAAABus2
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Change regdomain to US-FCC (2 of 2)</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                ZseDFgkAAEMAZrhDAA==
                </data>
                <key>Name</key>
                <string>com.apple.driver.AirPort.Atheros40</string>
                <key>Replace</key>
                <data>
                ZseDFgkAAAAAZrgAAA==
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Disable default hub port injectors</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                bW9kZWw=
                </data>
                <key>MatchOS</key>
                <string>10.12.x,10.13.x</string>
                <key>Name</key>
                <string>com.apple.driver.usb.AppleUSBHub</string>
                <key>Replace</key>
                <data>
                bW9kZXg=
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Disable default XHC port injectors</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                bW9kZWw=
                </data>
                <key>MatchOS</key>
                <string>10.12.x,10.13.x</string>
                <key>Name</key>
                <string>com.apple.driver.usb.AppleUSBXHCIPCI</string>
                <key>Replace</key>
                <data>
                bW9kZXg=
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable TRIM</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                QVBQTEUgU1NE
                </data>
                <key>Name</key>
                <string>com.apple.iokit.IOAHCIBlockStorage</string>
                <key>Replace</key>
                <data>
                AAAAAAAAAAAA
                </data>
            </dict>
        </array>
    </dict>
    <key>RtVariables</key>
    <dict>
        <key>BooterConfig</key>
        <string>0x28</string>
        <key>CsrActiveConfig</key>
        <string>0x67</string>
        <key>MLB</key>
        <string>XXXXXXXXXXXXXX</string>
        <key>ROM</key>
        <string>UseMacAddr0</string>
    </dict>
    <key>SMBIOS</key>
    <dict>
        <key>PlatformFeature</key>
        <integer>1</integer>
        <key>ProductName</key>
        <string>iMac13,2</string>
        <key>SerialNumber</key>
        <string>XXXXXXXXXXXX</string>
        <key>SmUUID</key>
        <string>XXXXXXXXX</string>
        <key>Trust</key>
        <true/>
    </dict>
    <key>SystemParameters</key>
    <dict>
        <key>InjectKexts</key>
        <string>Yes</string>
        <key>InjectSystemID</key>
        <true/>
    </dict>
</dict>
</plist>
al3xtjames commented 7 years ago

Thanks for reporting the issue with KernelAndKextPatches, it's been fixed with v2.1.0. I've also added NVWebDriverLibValFix.

I'll see if I can reproduce the WebKit crashes.

SebaARG commented 7 years ago

Webkit crashes Seems to happen when there are several videos on the site, crash happen on different site of Facebook now, I noticed that website have more that 4/5 videos on screen, like timeline Facebook (the crash always happen when change tab or app and back)

SebaARG commented 7 years ago

I testing with Inject Intel=true and IGPU primary on BIOS and the crash of Webkit stop. So, may be the last Nvidia drivers are the problem, I'm just assuming.

HagenBarz commented 7 years ago

A reinstalling of macOS 10.12.6 (via recovery boot) solved a second time a kernel panic during booting. After a week not using my hackintosh (holidays) I started the machine and suddenly the kernel panic issue occurred again. I've changed nothing on my installation wether macOS nor boot loader. Maybe my system SSD got some problems...