Contribute
Register

[Guide] Lenovo Z50-70/Z40-70/G50-70/G40-70 using Clover UEFI

Hi
My audio disappear after using mic after sleep (using AppleALC)
I've my CodecDump from Linux and I want to know how did you convert the PinConfigs from CodecDump to add them to AppleALC.
Thx

You have PinConfigs.kext in AppleALC source - in folder Resources
Screenshot 2020-03-07 at 22.15.53.png



You can delete all others in list and just keep your codec

Screenshot 2020-03-07 at 22.15.39.png


Also you need to delete all codecs in PinConfigs.kext list - and make your own.

Open CodecDump from Linux - select all - copy - import from Clipboard

Screenshot 2020-03-07 at 22.10.00.png


and then save into PinConfigs.kext - For HDMI - and Audio card
separately (in same PinConfigs.kext )


Screenshot 2020-03-07 at 22.10.28.png

Screenshot 2020-03-07 at 22.22.16.png


HDA Hardware Config Resource should look like this.You need to chose LayoutID - i kept the original 28

Code:
        <key>HDA Hardware Config Resource</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>com.apple.driver.AppleHDAHardwareConfigDriver</string>
            <key>HDAConfigDefault</key>
            <array>
                <dict>
                    <key>AFGLowPowerState</key>
                    <data>
                    AwAAAA==
                    </data>
                    <key>Codec</key>
                    <string>Conexant CX20751/2 by Mikorist</string>
                    <key>CodecID</key>
                    <integer>351359247</integer>
                    <key>ConfigData</key>
                    <data>
                    AXccEAF3HQEBdx4XAXcflABXHBAAVx0AAFce
                    VgBXHxgBpxwgAacdAQGnHqcBpx+UAGccIABn
                    HQAAZx5WAGcfGAGXHDABlx0QAZceoQGXHwQA
                    dxwwAHcdAAB3HlYAdx8YAWccQAFnHRABZx4h
                    AWcfBAGHHPABhx0BAYce8AGHH0A=
                    </data>
                    <key>FuncGroup</key>
                    <integer>1</integer>
                    <key>LayoutID</key>
                    <integer>28</integer>
                    <key>WakeConfigData</key>
                    <data>
                    AXcMAABXDAABpwwAAGcMAAGXDAAAdwwAAWcM
                    AAGHDAA=
                    </data>
                    <key>WakeVerbReinit</key>
                    <true/>
                </dict>
                <dict>
                    <key>AFGLowPowerState</key>
                    <data>
                    AwAAAA==
                    </data>
                    <key>Codec</key>
                    <string>Intel Haswell HDMI by Mikorist</string>
                    <key>CodecID</key>
                    <integer>-2138691577</integer>
                    <key>ConfigData</key>
                    <data>
                    ADccEAA3HQAANx5WADcfGAF3HBABdx0BAXce
                    FwF3H5QBpxwgAacdAQGnHqcBpx+UAZccMAGX
                    HRABlx6hAZcfBAFnHEABZx0QAWceIQFnHwQB
                    hxzwAYcdAQGHHvABhx9A
                    </data>
                    <key>FuncGroup</key>
                    <integer>1</integer>
                    <key>LayoutID</key>
                    <integer>28</integer>
                    <key>WakeConfigData</key>
                    <data>
                    ADcMAAF3DAABpwwAAZcMAAFnDAABhwwA
                    </data>
                    <key>WakeVerbReinit</key>
                    <true/>
                </dict>
            </array>

after that you go to to build AppleALC

config.plist for Clover or OC

Screenshot 2020-03-07 at 22.46.08.png
 
Last edited:
You will see the same PinConfig configuration in Hackintool - if it works properly

Screenshot 2020-03-07 at 22.49.17.png
 
I did it. G50-70 OpenCore Full....First I want to thank everyone here.

I especially want to thank @the-braveknight - without him I would not succeed in this, also RehabMan, @Feartech and acidanthera with his guidance from here



After all this has been studied and learned, Clover looks like an easy pie. No kidding. :)

What works:

Special function keys working, trakpad gestures(all listed in MacOS) , HDMI video/audio digital out works, speakers working, Headphones working, WiFi, Bluetooth, USB2/USB3, built-in mic and camera, power managment, battery status, graphics including OpenCL, Ethernet, Mac App Store Working.

:headbang:

A guide would be nice, with a proper guide I'd be able to make the post-install scripts work with OC
 
Hi to everyone :)
I'm sorry I didn't undertstand the Nvidia part. Is there a way to still use it after booting?
Thank you
 

Attachments

  • dlscrib.com_unlock-bios.pdf
    10.3 MB · Views: 177
Sorry...just a little question....this GUIDE of yours is not useful to perform a fresh install of Catalina on my Lenovo?
 
Ok...I tried to follow this guide....I can not even obtain the boot from USB key. Only a black screen. I installed on the USB key all the efi packages and kext as requested but I had no luck. Somebody can help me please?
 
Back
Top