Jump to content
Kogen Mantis

Lenovo ThinkPad T420 with UEFI Only

4,544 posts in this topic

Recommended Posts

By OEM folder I mean (in Your case):

EFI/OEM/42914BG

 

So your custom dsdt goes to:

EFI/OEM/42914BG/ACPI/patched

 

And kexts you use goes to

EFI/OEM/42914BG/kexts/10.8/

 

look inside to see how my old OEM folder looks like.

 

EFI Shell is much like an good old DOS in use + all the UNIX like commands.

So to get you started find your EFI drive (it is listed on the beginning) and if it's fs0 just type:

fs0:[ENTER]

rest is just like in any normal shell, use commands like: ls, mv, cp, edit, etc.

 

OK, thanks a lot, I have a better understanding now of the folders hierarchy. I'll go step by step an wont rush to get a hold of what am I actually doing :) I'll report back

Share this post


Link to post
Share on other sites
Advertisement

I tried many things and finally, with everything clean, after placing your dsdt file and your AppleHDA.kext I got sound, however after reboot it went away, I'm lost here, why would that happen? I reboot several times but sound is again gone for good...

 

How did you compile that dsdt? I tried with dsdt editor but didn't get any results. I'm trying to learn here ;)

 

Working with OEM and the shell is so much easy now, just delete the misbehaving file and continue testing, thank you for the advice.

 

Pasting the code on config.plist for USB 3.0 causes a KP, here's the screen:

 

post-36060-0-63306400-1362165807_thumb.jpg

 

I'll look around for more information.

Share this post


Link to post
Share on other sites

Hi, Kogen. First of all, thank you so much for your work. This is my first time using OSX and it's all thank to you! I've been busy these past days with my t420 (OEM 4236) until I finally got it up and running, with sleep, sound, wifi via usb adapter and all!

Well, that was the good part. The bad part is that, due to stubborn nature, I then erased the disk and reinstalled it again from scratch to check whether I had understood or not (I know, I know). As it turns out, I didn't, so I don't have sound at all. I've tried everything, starting with the file you mentioned in post #30, to no avail.

 

So I turn to you. Attached you'll find my darwin dump; I'd be very grateful if you could take a look and maybe help me.

DarwinDumper_2.6.5_Lenovo_ML_manueljaime.zip

Edited by manueljaime

Share this post


Link to post
Share on other sites

I tried many things and finally, with everything clean, after placing your dsdt file and your AppleHDA.kext I got sound, however after reboot it went away, I'm lost here, why would that happen? I reboot several times but sound is again gone for good...

 

How did you compile that dsdt? I tried with dsdt editor but didn't get any results. I'm trying to learn here

 

Working with OEM and the shell is so much easy now, just delete the misbehaving file and continue testing, thank you for the advice.

 

Pasting the code on config.plist for USB 3.0 causes a KP, here's the screen:

 

post-36060-0-63306400-1362165807_thumb.jpg

 

I'll look around for more information.

The missing sound after reboot is strange... wait.

I have totally forgot to mention about the rc scripts files in etc. rc.scripts.zip Just place them in /etc reboot and check if this will help (run myFix just in case)

 

I have used DSDT Editor with the latest iasl compiller (you can search forum for the latest binary or compile one from sources)

 

Send/Share your config fille - I think something is not right.

 

Hi, Kogen. First of all, thank you so much for your work. This is my first time using OSX and it's all thank to you! I've been busy these past days with my t420 (OEM 4236) until I finally got it up and running, with sleep, sound, wifi via usb adapter and all!

Well, that was the good part. The bad part is that, due to stubborn nature, I then erased the disk and reinstalled it again from scratch to check whether I had understood or not (I know, I know). As it turns out, I didn't, so I don't have sound at all. I've tried everything, starting with the file you mentioned in post #30, to no avail.

 

So I turn to you. Attached you'll find my darwin dump; I'd be very grateful if you could take a look and maybe help me.

From what I see you are not using patched DSDT (I see no modifications) that is why the modified AppleHDA.kext is not working. For this kext to work you need to have Device (HDEF) defined like this in your DSDT:


       Device (HDEF)
           {
               Name (_ADR, 0x001B0000)  // _ADR: Address
               Name (_S3D, 0x03)  // _S3D: S3 Device State
               Name (RID, Zero)
               Name (_PRW, Package (0x02)  // _PRW: Power Resources for Wake
               {
                   0x0D,
                   0x04
               })
               Method (_PSW, 1, NotSerialized)  // _PSW: Power State Wake
               {
                   Noop
               }
               Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
               {
                   Store (Package (0x0A)
                       {
                           "codec-id",
                           Buffer (0x04)
                           {
                                0x6E, 0x50, 0xF1, 0x14
                           },
                           "layout-id",
                           Buffer (0x04)
                           {
                                0x0C, 0x00, 0x00, 0x00
                           },
                           "PinConfigurations",
                           Buffer (Zero) {},
                           "hda-gfx",
                           Buffer (0x0A)
                           {
                               "onboard-2"
                           },
                           "device-type",
                           Buffer (0x11)
                           {
                               "Conexant CX20590"
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }

 

 

The easy route for you is to try my DSDT from #21 but remember to edit the DualLink (for LowRes) from 01 to 00.

Good luck.

Edited by Kogen Mantis

Share this post


Link to post
Share on other sites

From what I see you are not using patched DSDT (I see no modifications) that is why the modified AppleHDA.kext is not working. For this kext to work you need to have Device (HDEF) defined like this in your DSDT:


Device (HDEF)
{
Name (_ADR, 0x001B0000) // _ADR: Address
Name (_S3D, 0x03) // _S3D: S3 Device State
Name (RID, Zero)
Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
{
0x0D,
0x04
})
Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
{
Noop
}
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
Store (Package (0x0A)
{
"codec-id",
Buffer (0x04)
{
0x6E, 0x50, 0xF1, 0x14
},
"layout-id",
Buffer (0x04)
{
0x0C, 0x00, 0x00, 0x00
},
"PinConfigurations",
Buffer (Zero) {},
"hda-gfx",
Buffer (0x0A)
{
"onboard-2"
},
"device-type",
Buffer (0x11)
{
"Conexant CX20590"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

 

 

The easy route for you is to try my DSDT from #21 but remember to edit the DualLink (for LowRes) from 01 to 00.

Good luck.

 

Thanks! I ended up using raffitaffy's dsdt from post #51 and now I have sound! I will continue poking and will surely come back with more questions! :angel_not:

Share this post


Link to post
Share on other sites

The missing sound after reboot is strange... wait.

I have totally forgot to mention about the rc scripts files in etc. rc.scripts.zip Just place them in /etc reboot and check if this will help (run myFix just in case)

 

I have used DSDT Editor with the latest iasl compiller (you can search forum for the latest binary or compile one from sources)

 

Send/Share your config fille - I think something is not right.

 

 

OK, placing the rc scripts in /etc made the volume controls appear on the top bar but still no sound. I have, as of now

 

this AppleHDA.kext AppleHDA.kext.zip on the extra/extensions, NO on the kexts folder of OEM folder (I also tried placing it there)

 

this my config.plist on the OEM folder: config.plist.zip

 

and this is the dsdt file (the one you created): dsdt.aml.zip

 

When booting I managed to read this error:

 

Sound assertion " != setupHost Interrupt ()" failed inAppleHDAController at line 441 goto Exit

 

Which obviously means nothing to me :)

 

big thanks!

Share this post


Link to post
Share on other sites

 

 

OK, placing the rc scripts in /etc made the volume controls appear on the top bar but still no sound. I have, as of now

 

this AppleHDA.kext AppleHDA.kext.zip on the extra/extensions, NO on the kexts folder of OEM folder (I also tried placing it there)

 

this my config.plist on the OEM folder: config.plist.zip

 

and this is the dsdt file (the one you created): dsdt.aml.zip

 

When booting I managed to read this error:

 

Sound assertion " != setupHost Interrupt ()" failed inAppleHDAController at line 441 goto Exit

 

Which obviously means nothing to me :)

 

big thanks!

You are using wrong AppleHDA.kext. Try this one:

T420_CX20590_10.8.2_AppleHDA.kext.zip

 

And here is the Clover config with USB3 support and TRIM for SSD drives. (always make a backup of an old one just in case of KP):

Lenovo_Clover-USB3_TRIM_Patch.config.plist.zip

Edited by Kogen Mantis

Share this post


Link to post
Share on other sites

You are using wrong AppleHDA.kext. Try this one:

T420_CX20590_10.8.2_AppleHDA.kext.zip

 

And here is the Clover config with USB3 support and TRIM for SSD drives. (always make a backup of an old one just in case of KP):

Lenovo_Clover-USB3_TRIM_Patch.config.plist.zip

 

I really thank you for your effort. I'm trying to find a pattern here but I'm unable, the sound sometimes appears but it disappears after reboot. I've tried doing it in parts, installing and uninstalling the dsdt file, the AppleHDA.kext you provided, and also triying to modify a basic config.plist by adding the string HDAInjection set to NO. I've also tried a dsdt file compiled by myself with all errors fixed. The system boots with no KP but the sound comes and go. I'm unable to reproduce what makes the sound disappear. As of now is again gone for good.

 

I've tried using the config file you provided but I get KP. I'm sorry for asking so many questions, I'm trying to find info around but I get nothing. I'm thinking of a clean install but everything looks clean enough :)

 

EDIT: Just one question: I understand the config.plist I have on EFI/ is overruled by the one on OEM/4291BG/ isn't it?

Edited by Espamac

Share this post


Link to post
Share on other sites

OK, more info. I find this really intriguing to be honest. To change I tried with the files from post #51. And again it worked, this time even lasted for 2 reboots. And again sound is gone. After the second successful reboot you could read on the kernel boot messages "Sound assertion in AppleHDACodecGeneric at line 360" repeated 3 times. I think I've seen than message the other times I had a successful boot with sound. After that I always get the same kernel boot message: "Sound assertion in AppleHDAController at line 463" and no sound at all.

 

I have the feeling this is not related to the kexts or the dsdt files since they are able at first boot to get the sound working. Something changes after reboot, but I don't know what is it. Even more puzzling is that if I paste again the exact same kexts and dsdt files that provided a successful boot with sound and run myHack, sound no longer works. They only work once (????). So something is changed that prevents those files to work again, but I don't know what.

Share this post


Link to post
Share on other sites

@Kogen - very cool stuff. nice thread. i may test this approach out!

 

@espamac - does your x220 have cx20590 audio chip or cx20672? if it is not cx20590 - this may explain why the kext above wont work. (the zip posted here seems to be the one i packaged up and posted for manwe150's thread on T420 - which has a CX20590 chip/codec)

should easy to fix with some binary hacking though...

Share this post


Link to post
Share on other sites

Hi everyone - my T420 died on me... so it is going to be a little break for me in case of actually testing something out. I was about to release the next Beta3 of the EFI Pack but all that went to ... bip!

 

The good: The warranty will cover motherboard replacement.

 

The bad: Turns out that my LCD Panel was also somehow mysteriously broken and this mechanical failure won't be covered by the warranty - so I'm out of luck.

 

The funny: I guess I will have the time to finally test the VGA out or use AirMirroring :)

Share this post


Link to post
Share on other sites

@ Kogen So sorry about that!

 

@ tluck, thanks a lot, my codec is actually cx20672 so I guess I'll have to patch the AppleHDA.kext myself. No idea of how to do that though ;)

 

It looks like I need the device and vendor ID of my sound card. Can I get them with the .app SystemInfo? I don't have access to PC or Linux right now.

I've read here that Clover can patch "on-the-fly" the kext but I would need the hexadecimal string to be substituted once I've got my device id hex, this being a example:

 

<key>

KextsToPatch

</key>

 

<dict>

<key>0</key>

<dict>

<key>Name</key>

<string>AppleHDA</string>

<key>Find</key>

<data>hBlNEQ==</data>

<key>Replace</key>

<data>BXYdEQ==</data>

</dict>

 

 

 

</dict>

 

I can figure out how to get my device ID hex. But how do I get the original string to be substituted? Is it always the same? (I guess no, but it doesn't hurt asking :))

Share this post


Link to post
Share on other sites

@espamac - this might work? i found the HDA stuff to be pretty tricky. i honestly cant remember how it got the chipset id. sorry (probably got it from dsdt dump on windows or manwe150 dsdt?!) i did use bcc9's bin patching script to patch the binary. but before that at one point i loaded ubuntu to dump a bunch of things (which included the codec ID) and to get the pins-outs etc.

 

Codec: Conexant CX20590

Address: 0

AFG Function Id: 0x1 (unsol 1)

Vendor Id: 0x14f1506e << this is the codec ID

 

 

there are at least other 3 files that have to match the dsdt.

anyway, i posted an outline of what i did here for the CX20590 on T420 - not pretty:

http://www.insanelymac.com/forum/topic/268280-guide-thinkpad-t420-with-mountain-lion/page__st__160#entry1866235

 

it seems like others are using voodoohda - or someone patched AppleHDA for x220? i didnt spend much time on this site... but they may have made it work by making it think it had a cx20590 via dsdt etc.

http://forum.thinkpads.com/viewtopic.php?f=32&t=102098

Share this post


Link to post
Share on other sites

@espamac - this might work? i found the HDA stuff to be pretty tricky. i honestly cant remember how it got the chipset id. sorry (probably got it from dsdt dump on windows or manwe150 dsdt?!) i did use bcc9's bin patching script to patch the binary. but before that at one point i loaded ubuntu to dump a bunch of things (which included the codec ID) and to get the pins-outs etc.

 

Codec: Conexant CX20590

Address: 0

AFG Function Id: 0x1 (unsol 1)

Vendor Id: 0x14f1506e << this is the codec ID

 

 

there are at least other 3 files that have to match the dsdt.

anyway, i posted an outline of what i did here for the CX20590 on T420 - not pretty:

http://www.insanelym...60#entry1866235

 

it seems like others are using voodoohda - or someone patched AppleHDA for x220? i didnt spend much time on this site... but they may have made it work by making it think it had a cx20590 via dsdt etc.

http://forum.thinkpa...p?f=32&t=102098

 

Thanks a lot tluck. I'm trying but still can't get any sound. I'm thinking of using VodooHDA, this is driving me nuts :)

 

I've used all the modified kexts for the x220 used on the thinkpad forums to no avail. The most annoying thing is getting on and off randomly. I've done a clean install and have started from scratch again. For now I have no sound at all :D I'll try step by step to see if I get anywhere. Specs of my computer says

cx20672

but the codec dump from linux said the codec was

CX20590

so I'm sticking to that.

 

I've read extracting the dsdt from dsdt editor is worse than doing it from ubuntu, any idea why? I dumped the codec audio from ubuntu live usb but the dsdt doesn't show up. It seems its location has been changed, I'm using ubuntu 12.10. I tried then installing ubuntu on a different partition (64 bit, efi boot, etc...) but I'm cannot boot. At this point I went back to OS X I'll try to work this out without Ubuntu to make it less time consuming. I have enough trouble with the sound to add to that dual booting :P

 

Main issues I want to fix: sound, sleep and screen brightness (it's gonna blind me at night...)

Secondary: bluetooth, usb 3.0 and

Share this post


Link to post
Share on other sites

@espamac

 

sure voodoohda may be your best way to get audio running. curious as to what was the codec id (hex) from the linux dump for your audio? and yeah i just booted ubuntu live from a USB to get the info i needed. i used a windows tool to get the raw dsdt info - but i ended up using manwe150's dsdt which had a number of essential edits - especially the ehci stuff for sleep and display definition - which then provides a brightness knob. Note: you will probably need to use the rollback 10.6.8 AppleACPIPlatform.kext for some disks to recover from sleep. anyway, certainly are lots of opinions and ways to get at the dsdt info.

Share this post


Link to post
Share on other sites

@espamac -

 

i found this snippet from a dsdt - which may help you define your audio board.

 

 


            Device (HDEF)
            { 
                Name (_ADR, 0x001B0000)
                Name (_S3D, 0x03)
                Name (RID, Zero)
                Name (_PRW, Package (0x02)
                { 
                    0x0D,
                    0x04
                })
                Method (_PSW, 1, NotSerialized)
                { 
                    Noop
                } 
                Method (_DSM, 4, NotSerialized)
                { 
                    Store (Package (0x06)
                        { 
                            "layout-id",
                            Buffer (0x04)
                            { 
                                0x0C, 0x00, 0x00, 0x00
                            },
                            "device-type",
                            Buffer (0x11)
                            { 
                                "Conexant 20672"
                            },
                            "PinConfigurations",
                            Buffer (0x28)
                            { 
                                /* 0000 */    0x40, 0x10, 0x21, 0x00, 0x50, 0x90, 0xA1, 0x61,
                                /* 0008 */    0x60, 0x10, 0xA1, 0x00, 0x10, 0x40, 0x21, 0x61,
                                /* 0010 */    0xF0, 0x00, 0xF0, 0x40, 0x20, 0x00, 0xF0, 0x40,
                                /* 0018 */    0x30, 0x00, 0x17, 0x90, 0x80, 0x00, 0xF0, 0x40,
                                /* 0020 */    0x90, 0x00, 0xF0, 0x40, 0x70, 0x00, 0xA6, 0x90
                            } 
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                } 
            } 

Share this post


Link to post
Share on other sites

Hi! I've been building hackintoshes off and on for a while now, but never have posted to this forum. I'm still consider myself a newbie. First of all, I'd like to thank Kogen Mantis and everyone else for all their hard work, after reading through this thread I'm able to get my T420 up and running pretty good! I spent all evening yesterday trying to fix one issue though: my sound doesn't work.

 

It looks like I'm in the same boat as espamac where I'm trying to install 10.8.2 but have a Conexant 20672. I've gotten sound to work exactly once, and this was after running Kext Wizard to clean up permissions and caches on both extra and /s/l/e. After I rebooted, the sound never came back.

 

I always see these entries in the syslog:

 

 

Mar 17 20:31:10 localhost kernel[0]: Kext com.apple.driver.AppleHDAController - library kext com.apple.iokit.IOGraphicsFamily not found.

Mar 17 20:31:10 localhost kernel[0]: Can't load kext com.apple.driver.AppleHDAController - failed to resolve library dependencies.

Mar 17 20:31:10 localhost kernel[0]: Kext com.apple.driver.AppleHDAController failed to load (0xdc00800e).

Mar 17 20:31:10 localhost kernel[0]: Failed to load kext com.apple.driver.AppleHDAController (error 0xdc00800e).

Mar 17 20:31:10 localhost kernel[0]: Couldn't alloc class "AppleHDAController"

 

and

 

 

Mar 17 20:31:12 Dougs-MacBook-Pro kernel[0]: Sound assertion "0 != setupHostInterrupt ()" failed in AppleHDAController at line 441 goto Exit

Mar 17 20:31:12 Dougs-MacBook-Pro kernel[0]: Sound assertion "!fProvider->open ( this )" failed in AppleHDAController at line 355 goto Exit

 

I've tried various DSTS edits, including the one above along with the AppleHDA.kext in post #83

 

Not sure if I'm doing something wrong or what. But I'm willing to try more options if anyone has an idea.

 

Here's some more info:

i5-2520M 2.50ghz

bios 1.43

16 gb ram.

OSX installed in 2nd hard drive installed in the optical bay

Audio: Name = Conexant 20672 SmartAduio HD: VEN_14F1 DEV_506E

 

Also, I was wondering if anyone else had issues with graphical artifacts showing up every once in awhile? Also, about 25% of the time when I boot, it'll boot into an ugly grey screen with spikey lines. I can fix the graphic artifacts by lowering the resolution and then raising it again, and usually the grey screen goes away on the next boot.

 

Thanks again for your help!!! I've attached the DarwinDumperReports

DarwinDumperReports.zip

Share this post


Link to post
Share on other sites

Thanks everyone and esp. to Kogen for excellent work. I have a t420 which is running Windows 7. My questions are

 

1) Do I need to re-install Win 7 if I want to dual boot?

 

2) Will I be able to use extended external monitors. VGA or DVI or both?

Share this post


Link to post
Share on other sites

@lostvampire

 

1) this approach as far as i know know is about moving away from MBR to EFI formatted disks. i plan to move over from chameleon given the extensive list of features! see this for more details on why:

http://www.osx86.net/guides-tutorials/19291-guide-clover-efi-bootloader.html

- does support dual boot

 

2) yes - there is a method to provide VGA support = there are a couple of threads on patching the Kext (AppleIntelSNBGraphicsFB.kext). i recently packaged up a kext pack for T420 on a parallel thread. see this link for discussion of this topic as well as a 10.8.3 kext pack for T420 including support for VGA and DVI (entry 238)

http://www.insanelymac.com/forum/topic/268280-guide-thinkpad-t420-with-mountain-lion/page__st__220#entry1898288

Share this post


Link to post
Share on other sites

@cayspekko I've tried a caddy for my optical bay, and switched back to optical. Issue is that now and then the drive gets removed from the system, I think it's because my caddy does not have such a handy locking system the original optical drive has. Did you use an original caddy or third party?

 

@kogen mantis, I'm still working on OSX with this system and it works like a charm. Only issues I still try to resolve is sleep problems (the one i've mentioned before, sometimes it goes to sleep well, and sometimes it gets stuck with flickering sleep light and heavy blowing fan) and my VGA out does not work, but that is not a big issue :) battery goes much longer then with Windows by the way

Share this post


Link to post
Share on other sites

Hey! I got sound to work! I don't know if this will help anyone but this what I did: (which may or may not be everything since I tried so many different approaches!) So apart from the tutorial in post #1 I did the following:

 

a. followed post #80 and installed Kogen's rc.scripts I don't know if this is necessary

b. I used raffitaffy's kexts from post #51 (but not the dtst.aml). I put them in an Extra/Extensions folder and used myHack to install them.

c. I used the dtst.aml from Kogen's post #32 (put it in the EFI/OEM/[mylenovonumber]/patched folder)

 

Thanks again everyone for all your great help!!!

 

@cayspekko I've tried a caddy for my optical bay, and switched back to optical. Issue is that now and then the drive gets removed from the system, I think it's because my caddy does not have such a handy locking system the original optical drive has. Did you use an original caddy or third party?

 

I use the official hdd caddy from lenovo to use in the optical bay. I have windows installed on ssd in the primary hd slot. I did have issues trying to install iatkos using the optical drive plugged into a third pary optical drive to usb caddy but gave that up and used a vmware image to create an install usb.

Share this post


Link to post
Share on other sites

Hey!

 

Thanks to Kogen's awesome explanations I finally moved from 10.7.4 to 10.8.3. However, I was hoping that upgrading would help to get rid of some problems I had with 10.7.4, but unfortunately I seem to still have issues:

 

- sometimes sleep / wake hangs, it looks like it writes the hibernation file, and when the LED is supposed to blink slowly, it starts to blink fast and the FAN goes loud and the PC hangs... nothing I can do then just reboot.

 

- I noticed that sometimes when I push the speaker off button (vs lowering the volume all the way to the button) the system hangs. no fan noise here and reboot needed too.

 

- Finally, sometimes when waking after sleep the track/touchpad is not working. Keyboard works but not the trackpad.

 

I tried to find something in the logs, but all I could find was a sound card error just after wake:

 

31.03.13 00:45:52,000 kernel[0]: No interval found for . Using 8000000
31.03.13 00:45:52,000 kernel[0]: RTC: PowerByCalendarDate setting ignored
31.03.13 00:45:52,000 kernel[0]: Previous Sleep Cause: 5
31.03.13 00:45:52,000 kernel[0]: The USB device HubDevice (Port 1 of Hub at 0x1a000000) may have caused a wake by issuing a remote wakeup (2)
31.03.13 00:45:52,000 kernel[0]: 758.600117: ATHR: unknown locale: 60
31.03.13 00:45:52,000 kernel[0]: 758.625142: ATHR: unknown locale: 60
31.03.13 00:45:52,000 kernel[0]: 758.626024: ATHR: unknown locale: 60
31.03.13 00:45:52,000 kernel[0]: en1: 802.11d country code set to 'DE '.
31.03.13 00:45:52,000 kernel[0]: 758.752203: ATHR: unknown locale: 60
31.03.13 00:45:52,000 kernel[0]: en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140
31.03.13 00:45:52,000 kernel[0]: [0xffffff8016994600](0)/(5) Device not responding
31.03.13 00:45:52,000 kernel[0]: Sound assertion "0 == fAudioEngineArray" failed in AppleHDADriver at line 3163 goto Exit
31.03.13 00:45:52,000 kernel[0]: USBMSC Identifier (non-unique): 001CC0EC346CBB40971B022B 0x951 0x162d 0x100
31.03.13 00:45:54,910 com.apple.launchd[1]: (com.apple.qtkittrustedmoviesservice[432]) Could not terminate job: 3: No such process
31.03.13 00:45:54,910 com.apple.launchd[1]: (com.apple.qtkittrustedmoviesservice[432]) Using fallback option to terminate job...
31.03.13 00:45:55,000 kernel[0]: en1: BSSID changed to 24:65:11:6d:6e:7c
31.03.13 00:45:55,000 kernel[0]: en1::IO80211Interface::postMessage bssid changed
31.03.13 00:45:55,000 kernel[0]: AirPort: Link Up on en1
31.03.13 00:45:55,000 kernel[0]: en1: BSSID changed to 24:65:11:6d:6e:7c
31.03.13 00:45:55,000 kernel[0]: en1::IO80211Interface::postMessage bssid changed
31.03.13 00:45:55,000 kernel[0]: 761.819746: apple80211Request[10310] Unsupported ioctl 111
31.03.13 00:45:55,000 kernel[0]: AirPort: RSN handshake complete on en1

 

BTW, I am on a X220. I've patched my DSDT according to this guide: http://forum.thinkpads.com/viewtopic.php?f=32&t=102098 (linked from http://forum.thinkpads.com/viewtopic.php?f=32&t=105334).

 

Any ideas?

Share this post


Link to post
Share on other sites

Can you outline the following things in your first post?

 

- Which model(s) of T420 / T420 s is this working for ? Has been tested? Should work for?

- What components are working/ not working/ working natively/ need kext/ drivers/ hacks?

 

I am considering buying a T420 or T420s but I'd like clarity on which models/ components are working etc.

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

  • Similar Content

    • By RougeOne
      Budget Workstation MacOS 10.14.1 build: z370 AORUS Gaming 5 - i5-8600K - RX 580 - UHD 630
      flawless iGPU/dGPU integration, fast FCPX editing/rendering, great overall performance for ~$1200 / ~£1000
       
      Update: updated WhateverGreen and Lilu, then updated OS to 10.14.3 and everything is fine! Even iMessage, which previously I hadn't been able to make work, is now working - possibly the update flushed the NVRAM?
       
      I'm gonna come straight out and admit it - I used newb tools which are considered taboo on InsanelyMac, and so this isn't so much an installation guide as it is a green flag to anyone considering the same hardware. My first and previous Hackintosh project was just over ten years ago and this site was massively helpful, so this is my (very small) way of giving back.
       
      EFI DIRECTORY
      http://s000.tinyupload.com/index.php?file_id=97606131925137056003
       
      HARDWARE
      CPU: Intel i5-8600K 3.6GHz hexacore (contains UHD 630 iGPU)
      CPU Cooler: be quiet! Pure Rock Slim (no paste needed, and fan facing front)
      Mobo: GIGABYTE z370 AORUS Gaming 5 (WIFI)
      RAM: 1x 8GB CORSAIR Vengeance LPX C16 2666MHz (in first slot)
      GFX Card: Sapphire RX 580 NITRO+ SE
      SATA: used ports 0, 1, 3, 5 (HDD problems when connected to port 4)
      HDD: generic
      DVD Drive: generic
      PSU: EVGA 500W Semi Modular (but you should get 650W!)
      Case: CoolerMaster CM590 III
      Fans: 2x stock case fans (one sucky on front, one blowy on back), 3x be quiet! BL046 120mm fans (two blowy on top, one sucky on front). Airflow near-perfectly balanced.
       
      ADVICE
      With the Clover configuration, you want to pay close attention to all things relating to graphics. There are some specific settings for ACPI, Boot, Devices and Graphics which should be copied exactly in order to get the iGPU and dGPU to work in perfect harmony. For instance, make sure you use ig-platform-id 59120003 rather than 59120000 if you want FCPX to be usable. With the right settings, FCPX will not only run, but run flawlessly.
       
      I was not able to figure out how to make NVRAM/PRAM behave itself, and I got errors when I tried to issue relevant commands. As a result, I could not at first get iMessage to work properly. It worked once on my first installation attempt but not from subsequent attempts. This Clover configuration therefore has no consideration whatsoever toward iMessage reliability - however, iMessage ended up working somehow, anyway - I noticed it after I'd updated to 10.14.3 but this may just have been coincidence.
       
      Onboard WiFi does not work. There is no driver for it. I'm using wired ethernet to a bridge router as it was cheaper than getting a compatible PCI card.
       
      Audio is working well after I installed the z370 audio patch, then the ALC1220 codecs, then AppleALC.
       
      With kexts for generic 3rd party SATA and generic 3rd party eSATA, my HDDs and DVD drive work perfectly well.
       
      Sleep/Wake functions run perfectly. iCloud functions run perfectly. Shutdown leaves the mobo LEDs on, annoyingly.
       
      My USB 3 ports seem to suffer from low power output, and I don't know why.
       
      Overall, this system appears to run about as well under MacOS 10.14 Mojave as it does under Windows 7. I would solidly recommend this build to anyone looking to build a computer for workstation purposes, on a budget.
    • By JhonneR
      Good morning, everyone, I'm sorry if I was wrong in choosing the topic but I need help.
      I have found it extremely difficult to mount a Hackintosh in my acer.
      Setup;
      I5 2430m 2.4 6GB RAM
      Mobo P5we0 - Intel intel Graphics 3000
      At the moment I have not found out what my audio codecs are.
      but I'll leave the link on the motherboard.
      however, my real problem is several.
      I have already used the itakos image, I have already used several images that could be installed normally and that after installing the image I do not have internet via cable or wireless.
      And another, I already looked in other forums and I know that I will be called a donkey in the logical question but I have not been able to install the [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] or clover to start from the Hard Disk, so I do not know what to do.At the moment I still do not know if there has already been someone who has already installed the High Sierra or just the Sierra in this notebook model and obtained permanent success.
      If anyone can help me, I'll be grateful.
      Installations without success, but with the system already installed in ACER;
      SIERRA
      HIGH SIERRA
      MOJAVE
      All with the same symptom. Starting only by the bootable USB stick and without internet connection via cable and wireless.
      Appreciate ! Acer 5750 Official Page
    • By Slice
      Since rev 4844 Vector Themes are supported and there are ready-to-use Clovy by Clovy, cesium by Slice and BGM_SVG by Blackosx.
      You may see it's structure to create own theme
      -------------------------------------------------------------------------------------------------------------------------------------------------------
       
       
      Now I want to add vector graphics support in Clover. See rev 4560 and later.
      It is not working yet but designers may begin to create Vector Themes.
      It supposed to consist of SVG elements and has design size. It will be rendered to any screen size scaled from design size.
       
      What application in macOS can create SVG graphics?
      Inkscape is not working in macOS 10.11+. Pity.
      LibreOffice Draw works with SVG but buggy.
      Boxy SVG cost 10$ but looks good enough. It creates the best in simplicity files and have more then enough features.
      Illustrator is good but expensive.
       
      How to improve SVG file?
      Clover has restricted support for SVG. It is your job to make compatible file and as small as possible to speedup rendering.
      Some helps:
      Help:Inkscape – From invalid to valid SVG Inkscape files
      From invalid to valid SVG Adobe Illustrator files
      From invalid to valid SVG files of other editors: BKchem, ChemDraw and CorelDRAW
      Help:Illustrator – Assistance with creating and saving SVG images in Adobe Illustrator that will pass W3C validation
      User:Quibik/Cleaning up SVG files manually
      Later I will write own instructions specific to Clover abilities.
       
      How to create SVG fonts?
      You can google to find ready-to-use SVG fonts.  I found some problems with too beaty fonts: slow rendering and overflow crash. Be careful.
      You can get ttf or otf fonts and convert them into svg by using online WEB services. Not a problem to google.
      But then I want to find a way to simplify the font to reduce a size and speedup rendering.
      You can create own font by FontForge It is opensource and available for Windows, Mac and GNU+Linux. It creates otf font which you can convert to svg font.
       
      Pictures from Badruzeus
      https://www.insanelymac.com/forum/applications/core/interface/file/attachment.php?id=301597
    • By ludufre
      Installing macOS Mojave on Lenovo ThinkPad L440

       
      There are two version of this laptop:
      - 20AS = Chipset QM87, without Express Card (mine).
      - 20AT = Chipset HM86, with Express Card.
      I strong believe is the same thing...
       

      Changelog:
       
      02/05/2019 18:47h GMT-0
      - Updated info about CPU replacement and 4G LTE modem.
       
      02/04/2019 15:24h GMT-0
      - Sometimes the VoodooHDA.kext doesn't work.
      - Added AppleHDADisabler.kext to fix that (attached bellow).
       
      01/24/2019 14:42h GMT-0
      - Added more adjustments to use of VoodooHDA.
      - Updated VoodooHDA links to 2.9.1 official (without installer).
      - Changed PCM volume from 90 to 180 in Info.plist (attached modified VoodooHDA.kext bellow)
      - Updated SSDT-L440.aml (Removed HDEF and HDAU, not needed).
      - Updated config.plist (Changed to user Audio layout to 1).
       
      01/22/2019 20:47h GMT-0
      - I gave up on the AppleALC.
      - Headset does not work.
      - Now with VoodooHDA is perfect and the sound even louder.
       
      01/22/2019 14:37h GMT-0
      - Add info about update 10.14.3. 
       
      01/22/2019 13:46h GMT-0
      - Add link to BIOS reassing guide.
       
      01/20/2019 11:49h GMT-0
      - First version.
       
      What works and what does not
       
      - Processor: Intel Core i5-4300M ->  Work. All SpeedStep stages.
      - Video Card: Intel HD4600 ->  Work. QE/CI and Metal.
      - Chipset: Intel QM87 ->  Work.
      - Mini DisplayPort ->  Work. But no audio, yet.
      - VGA ->  Not work. Normal.
      - Audio: ALC292 ->  Work.
      - WiFi/Bluetooth: Intel AC 7260 ->  Not work. Replaced with DW1560 (need whitelist removal).
      - Ethernet: Intel I217-LM ->  Work.
      - Card Reader: Realtek RTS5227 ->  Not work.
      - Keyboard and Touchpad ->  Work.
      - Webcam ->  Work.
      - Fingerprint Reader ->  Not work. Normal.
      - USB3.0 ->  Work.
      - Sleep ->  Work.
      - Airdrop, Handoff, Instant Hotspot and Continuity ->  Work after replaced wireless.
       
       
      Extras
       
      - FullHD 1920x1080 display upgrade: 
      Replaced with AU Optronics B140HAN01.1 30pin eDP (B140HAN01.2 and B140HAN01.3 also compatible)
      Apparently same screen as Dell Latitude E6440, E7440, Lenovo Ideapad U430 and E129.
       

      Todo
       
      - Make DP audio work.
      - Make Card Reader work.
      - Upgrade CPU to i7-4712MQ (Ordered. It's on the way) Done, but received i7-4700MQ (47w TDP and I have overheating issues)
      - Replace touchpad with T460 model (Ordered. It's on the way)
      - Sierra Gobi5000 4G LTE modem EM7355 (Ordered. It's on the way. I hope works. ) Done, but not work. Do not even recognize in LSPCI...
      - Upgrade to 16GB RAM Done
       
       
      What you need to install

      - Running install of macOS
      - One USB flash drive of 8GB or bigger
      - macOS Mojave install app
      - Clover EFI
      - Clover Configurator
      - Some KEXTs and SSDT patches


      How create create the install flash drive
       
      Prepare install flash drive

      Format the flash drive with GUID partition mapping and name it "Install".

      - Open Disk Utility.
      - Click in View, then "Show All Devices".
      - Select the destination flash drive, then Erase.
      - Name: Install, Format: Mac OS Extended (Journaled) and Scheme: GUID Partition Map
       
      Create install flash drive

      Open terminal and run this command:
      sudo /Applications/Install\ macOS\ .app/Contents/Resources/createinstallmedia --volume /Volumes/Install --nointeraction This will take about 30 minutes.
       


      Install bootloader

      Download the RehabMan's CloverEFI fork (used 4701) and install with this options on "Install macOS Mojave":
       
      - Install for UEFI booting only
      - Install Clover in the ESP
      - UEFI Drivers - ApfsDriverLoader-64
      - UEFI Drivers - AptioMemoryFix64


       
       
      Make things works

      Will be created a partition named EFI and mounted in Desktop.
      - Replace the /Volumes/EFI/CLOVER/config.plist with mine attached below
                    If you have modded BIOS with Advanced Menu and enabled 128MB DRAM-prealloc use 128MB_DRAM-prealloc_config.plist.zip
                    If no, then use 32MB_DRAM-prealloc_config.plist.zip
      - Put SSDT-L440.aml attached below in /Volumes/EFI/CLOVER/ACPI/patched/
       
      Generate your Serial, MLB and SmUUID
       
      - Open the replaced config.plist with Clover Configurator (used 5.3.2.0)
      - Go to SMBIOS, click few times in "Generate New" in Serial Number and SmUUID.
       
      Download those Kexts and put in /EFI/CLOVER/kexts/Other/
       
      - Download the FakeSMC.kext from here. I used the version 2018-0915.
      - Download the VoodooPS2Controller.kext from here. I used version 2018-1008.
      - Download the IntelMausiEthernet.kext from here. I used the version 2018-1031.
      - Download the Lilu.kext from here. I used the version 1.3.1.
      - Download the AppleALC.kext from here. I used the version 1.3.4.
      - Download the VoodooHDA from here. I used the version 2.9.1.
      - Download the WhateverGreen.kext from here. I used the version 1.2.6.
      - Download the AppleBacklightFixup.kext from here. I used the version 2018-1013.
      - Download the USBInjectAll.kext from here. I used the version 2018-1108.
      - Download the ACPIBatteryManager.kext from here. I used the version 2018-1005.
       
       
      Wifi and Bluetooth (DW1560 / BCM94352Z)
       
      Unfortunately, some notebook manufacturers are currently blocking the replacement of wireless cards. They want you to only use the models sold by them. And of course, none of them from Lenovo for this notebook model is compatible with MacOS.
       
      If you try to start with an unauthorized wifi card for them, you will receive a screen error:
      1802: Unauthorized network card is plugged in - Power off and remove the network card. Since this check is done directly in the BIOS, the only solution is to modify it.
      But since nothing is easy in this life, there is one small big problem:
      - The BIOS update procedure does not allow you to use modded files as it used to be.
      - You will need to physically reach your BIOS on the motherboard and make use of a USB BIOS reader/writer.
       
      So what you need to do:
      1. Disassembly your laptop;
      2. Dump your BIOS with an USB BIOS reader with SOIC8 clip (to not desolder from the motherboard);
      3. Patch it (In addition to removing the whitelist, add the advanced menu);
      4. Fix RSA signature;
      5. Reflash BIOS;
      6. Replace wireless card;
      7. Remount your laptop;
      8. Done.
       
      Soon, I'll provide step by step in this process. Probably until end of this week.
      In the meantime, if you need to, send me your dump that I do steps 3 and 4 for you.
      I also add the Advanced Menu so you can increase to 128MB the DRAM-prealloc.
       
      To fix a Modded BIOS to remove the 5 beeps on boot, you need this guide: https://www.insanelymac.com/forum/topic/337333-guide-fix-insyde-h2o-bios-signature-5-beeps-on-lenovo (traduzido: pt-BR)
       
       
      After replaced the wireless card. Download those Kexts and put in /EFI/CLOVER/kexts/Other/
       
      - Download the AirportBrcmFixup.kext from here. I used the version 1.1.9.
      - Download the BrcmFirmwareRepo.kext and BrcmPatchRAM2.kext from here. I used the version 2018-0505.
      - Download the BT4LEContinuityFixup.kext from here. I used the version 1.1.2.
       
       
      Now you can start the instalation without problem (I guess).
       
       
      How install
       
      UEFI Setup Configuration and Installation

      UEFI configuration
       
      My BIOS is the latest: 1.93 (J4ET93WW) 

      - Shutdown and insert the flash drive.
      - Power on with F1 pressed to enter BIOS setup.
      - Change value: Config - Intel(R) AMT - Intel(R) AMT Control to DISABLED
      - Change value: Security - Security Chip to DISABLED
      - Change value: Security - Anti-Theft - Intel(R) AT Module Activation to DISABLED
      - Change value: Security - Anti-Theft - Computrace to DISABLED
      - Change value: Security - Secure Boot to DISABLED
      - Change value: Startup - UEFI/Legacy Boot to BOTH, Legacy First and CSM Support = Yes
      - Save & Exit Setup (F10)
       
      - Now, hold the F12
      - In the list, select your flash drive.
       
      The installer will start. 
      
      Format destination disk

      Format the disk with GUID partition mapping and name it "Macintosh".

      - Select Disk Utility in the list, then press Continue.
      - Click in View, then "Show All Devices".
      - Select the destination Disk, then Erase.
      - Name: HD, Format: APFS and Scheme: GUID Partition Map

      Close Disk Utility.
      
      Select "Install macOS", then Continue.
      Follow instructions in screen.

      After install

      After first part install the system will reboot. Maybe you have to press F12 again and select the flash drive.
      
      The second part of the installation will begin. This will take 16 minutes.
       

      Post installation

      Install bootloader
       
      When the second part of install finish, the system will reboot again.

      After performing the user initial setup and go to the desktop, you need to install Clover on internal disk.

      Open the Clover installer inside flash drive that you copied before.

      Use same options above but choose the system partition this time.

      Now you need to replace the config.plist inside your destination disk EFI parittion with config.plist inside flash card EFI partition.

      The flash drive EFI partition is unmounted. Mount with terminal "sudo diskutil mount /dev/rdiskXs1". To know what X is, use "diskutil list", most likely is 1.
       
      Last step
       
      Copy all Kexts from flash drive to /Library/Extensions, with those commands in Terminal:
      sudo cp -R /Volumes/EFI/EFI/CLOVER/kexts/Other/* /Library/Extensions/ sudo chmod -R 755 /Library/Extensions sudo chown -R root:wheel /Library/Extensions sudo kextcache -i / Restart the system.
       
       
      It's done!
       
       
      Updates
       
      System update 10.14.3
       
      - Updated with success;
      - Everything works perfectly after reboot;
       

       
       

       
      And last but not least
       
      I would like to thank the following community members, by making these dream possible:
      @crushers, @snatch, @apianti, @blackosx, @blusseau, @dmazar, @slice2009, @autumnrain, @phpdev32, @EMlyDinEsH, @RehabMan, @Scellow, @mitch_de, @Shailua, @Andy Vandijck, @maxfierke, @ArturXXX, @LexHimself, @brumas, @Shiki and all others members involved directly or indirectly.
       
       
       
       
       
       
      32MB_DRAM-prealloc_config.plist.zip
      128MB_DRAM-prealloc_config.plist.zip
      SSDT-L440.aml
      VoodooHDA.kext.zip
      AppleHDADisabler.kext.zip
×