Contribute
Register

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

Okay, this one is works for me but this case no HDMI output, actually it is showing but grayed out.
try using hackintool to setup your screens and audio

you may have to test all the audio layouts as some will work whereas others won't
 
There is a fix for the VoidooHDA there is a boost level in the plist. I set mine to 3 instead of one so I can hear the volume on the tiny laptop speakers. The key is you need an older Release of Voodoo the latest doesn’t boost even after setting it to 3. Search the Lenovo M93p Tiny thread I have a copy of it in the EFI downloads.

Thanks a lot. It can also be fitted via a mixer. At 99 it's too loud over the headphones. It has a distortion - somewhere at 95-96 is ideal.
Screenshot 2020-03-03 at 20.36.42.png
 
Boost is kind of loudness - at 3 it's too much bass - 2 is perfect.

This is the same as with AppleALC

Boost =2
PCM = 100
Rec =90
iGain = 94
iMix = 96
 
Boost is kind of loudness - at 3 it's too much bass - 2 is perfect.

This is the same as with AppleALC

Boost =2
PCM = 100
Rec =90
iGain = 94
iMix = 96

For my Laptop 3 is best for the tiny speakers, if using headphones I adjust volume on top tool bar to lower it.
Attached is a zip of the workable VoodooHDA.Kext for others who may need it.
 

Attachments

  • VoodooHDA.kext.zip
    160.6 KB · Views: 68
I will make my own AppleALC

Screenshot 2020-03-03 at 23.56.02.png


I'm playing with PinConfigs.kext right now.
 
Pleas share your results.

I make Apple ALC abouth 100kb size....works !

In order for Voodoo sound the same as the ALC

You can EXTRACT all Codecs and Pins from



with tool from here


and then patch

Rich (BB code):
Codec: Conexant - CX20751/2 by Mikorist   Address: 0   DevID: 351359247 (0x14F1510F)

NID       PinDefault     Device             Connector           Port            Location                    Color     G  P  EAPD  Original Verbs
------------------------------------------------------------------------------------------------------------------------------------------------
22 (0x16) 04211040   Out HP Out             1/8" Stereo/Mono    Jack            External Right              Black     4  0  -     01671C40 01671D10 01671E21 01671F04
23 (0x17) 90170110   Out Speaker            Other Analog        Fixed           Internal N/A                Unknown   1  0  -     01771C10 01771D01 01771E17 01771F90
25 (0x19) 04811030   In  Line In            1/8" Stereo/Mono    Jack            External Right              Black     3  0  -     01971C30 01971D10 01971E81 01971F04
26 (0x1A) 90A00120   In  Mic In             Unknown             Fixed           Internal N/A                Unknown   2  0  -     01A71C20 01A71D01 01A71EA0 01A71F90
------------------------------------------------------------------------------------------------------------------------------------------------

The "Node key" data in the plist will be the Nid of the table, and the "Config key" will be the PinDefault of the table.

Code:
            <key>NodesToPatch</key>
            <array>
                <dict>
                    <key>Codec</key>
                    <integer>1</integer>
                    <key>Config</key>
                    <string>04211040</string>
                    <key>Node</key>
                    <integer>22</integer>
                    <key>Enable</key>
                    <string>1</string>
                </dict>
                <dict>
                    <key>Codec</key>
                    <integer>2</integer>
                    <key>Config</key>
                    <string>90170110</string>
                    <key>Node</key>
                    <integer>23</integer>
                    <key>Enable</key>
                    <string>1</string>
                </dict>
                <dict>
                    <key>Codec</key>
                    <integer>3</integer>
                    <key>Config</key>
                    <string>04811030</string>
                    <key>Node</key>
                    <integer>25</integer>
                    <key>Enable</key>
                    <string>1</string>
                </dict>
                <dict>
                    <key>Codec</key>
                    <integer>4</integer>
                    <key>Config</key>
                    <string>90A00120</string>
                    <key>Node</key>
                    <integer>26</integer>
                    <key>Enable</key>
                    <string>1</string>
                </dict>
            </array>

this is part of Voodoo Info.plist

If codec does not exist in AppleALC or in Voodoo we can make a dump from linux

with

Code:
cd ~/Desktop && mkdir -p CodecDump && for c in /proc/asound/card*/codec#*; do f="${c/\/*card/card}"; cat "$c" > CodecDump/${f//\//-}.txt; done && zip -r CodecDump.zip CodecDump

and then with PinConfigurator same process

the procedure is the same for AppleALC or Voodoo
 
Last edited:
Here is mine VoodooHDA.kext with Conexant - CX20751/2 Codecs and Pins for Lenovo Z50-70/Z40-70/G50-70/G40-70.

It doesn't need any adjustments - it works instantly. No need for CodecCommander or anything extra ...

Screenshot 2020-03-04 at 22.44.22.png
 

Attachments

  • VoodooHDA.kext.zip
    95.9 KB · Views: 81
Last edited:
AppleALC PinConfigs.kext

HTML:
        <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>

I need to test this with OC
 
Here is mine VoodooHDA.kext with Conexant - CX20751/2 Codecs and Pins for Lenovo Z50-70/Z40-70/G50-70/G40-70.

It doesn't need any adjustments - it works instantly. No need for CodecCommander or anything extra ...

View attachment 453029
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
 
Back
Top