Jump to content
Kogen Mantis

Lenovo ThinkPad T420 with UEFI Only

4,613 posts in this topic

Recommended Posts

@vapayo - curious - what does your installer look like from the command line? mine has these files (when i make it with LionDisMaker 2.0.2):

 

and if you boot your installer - do you have an option to go to Utilities? if so, what does your HD look like after the install (now)?

 

 

tluck@toms-mac /Volumes/Install-10.8.5

$ ls -la

total 946368

drwxrwxr-t  25 tluck  staff        918 Oct  5 19:28 .

drwxrwxrwt@ 11 root   admin        374 Oct 11 11:48 ..

-rw-r--r--@  1 tluck  staff       6148 Oct  6 11:25 .DS_Store

-rw-r--r--   1 tluck  staff          7 Sep 15 02:37 .LionDiskMaker_OSVersion

drwx------   5 tluck  staff        170 Sep 15 02:17 .Spotlight-V100

d-wx-wx-wt   2 tluck  staff         68 Sep 15 02:17 .Trashes

-rw-r--r--   1 tluck  staff        340 Oct  5 19:28 .apdisk

-rw-r--r--@  1 tluck  staff        581 Sep  5 02:43 .disk_label

-rw-r--r--@  1 tluck  staff       2333 Sep  5 02:43 .disk_label_2x

drwx------   5 tluck  staff        170 Oct 11 11:46 .fseventsd

-rw-r--r--@  1 tluck  staff       1876 Sep  5 02:45 BaseSystem.chunklist

-rw-r--r--@  1 tluck  staff  457779925 Sep  5 02:41 BaseSystem.dmg

drwxr-xr-x   3 tluck  staff        102 Aug 29 19:42 Install OS X Mountain Lion.app

drwxr-xr-x@  3 tluck  staff        102 Sep  5 01:31 Library

-r--r--r--@  1 tluck  staff      46516 Sep 15 02:37 MacOSX_Media_Background.png

drwxr-xr-x@ 18 tluck  staff        612 Sep  5 02:45 Packages

drwxr-xr-x@  3 tluck  staff        102 Jun 20  2012 System

drwxr-xr-x+ 11 tluck  staff        374 Sep 15 02:37 Utilities

-rw-r--r--@  1 tluck  staff     314880 Sep 15 14:45 boot

-rw-r--r--@  1 tluck  staff     994464 May 15 19:12 boot.efi

-rw-r--r--@  1 tluck  staff   17121775 Sep  5 01:54 kernelcache

-rw-r--r--@  1 tluck  staff    8244640 Jul 29 19:34 mach_kernel

drwxr-xr-x@  3 tluck  staff        102 Sep  5 02:43 usr


@vapayo - curious - what does your installer look like from the command line? mine has these files (when i make it with LionDisMaker 2.0.2):

 

and if you boot your installer - do you have an option to go to Utilities? if so, what does your HD look like after the install (now)?

Share this post


Link to post
Share on other sites
Advertisement

@vapayo

 

well. if OSX is installed on your HD, then Clover should NOT be giving you this option: Boot OS X Install from Machintosh HD. some how you have an installer option and not the "regular OS" ... for it should be give you option: Boot Mac OS X from Machintosh HD 

 

 

I ran into this situation once. If you see clover offering to boot OSX Install from the internal HD then likely your installation did not complete successfully. When you first run the installer, it copies/extracts the installation files to the target volume. Then it (supposed to) reboots from the HD to finish the installation. Then after it reboots after this, it should offer Boot OSX from HD and not Install. I noticed this when I finished the first part of the install and then failed to reboot. I lost my root device in there somewhere, but once I fixed it, the install continued after reboot and then all was well.

Share this post


Link to post
Share on other sites

@tluck

A screen of my install media is attached.

 

In the disk manager it shows only a few files. :/

My install really seems to be broken.

 

@Sheep_Reaper

How exactly did you fixed yours?

 

post-1224761-13815082492324_thumb.jpg

Share this post


Link to post
Share on other sites

@Tetonne - why can't you install 10.9?

 

@Vapayo - 10.8.5 - turn off Bluetooth in BIOS for the install - this may be why it wont complete properly.

But there is another way to make an installer.  you need 

 

follow this - works for 10.8 too http://osxdaily.com/2013/06/12/make-boot-os-x-mavericks-usb-install-drive/

 

you could just  copy BaseSystem.dmg and Packages from your current USB to /Temp

(they are hidden but you can change them by

chflags nohidden * 

or use command line cp

 

then open BaseSystem.dmg

then you use Disk Utility to restore BaseSystem.dmg to the USB (overwrite it)

then once its done, to remove the link file in /System/Installation/

then copy /Temp/Package to /System/Installation

 

may need a bit more like mach_kernel (can probably install from BaseSystemBinaries.pkg)- there are some tools to do this. - this makes the USB more like a regular install.

Share this post


Link to post
Share on other sites

hi guys, I also just installed 10.9, following tluck's guide... checking if everything is fine... thanks a lot!!

 

update: all seems to work fine, except:

- sleep (it does not go to sleep at all).  I have the vanilla AppleACPIPlatform.kext from 10.9. Is that correct?

- it seems I cannot connect to iMessage of Facetime. Can you guys make it from 10.9?

 

Update Oct 12:

I have noticed that if I remove the ultrabay HD (I have a second HD on the DVD bay), it sleeps/wakes fine.

So, it is this second HD that is causing the sleep issues.

Any suggestions?

 

Thanks,

aj

Share this post


Link to post
Share on other sites

@vapayo

 

If your first video is actually your system, I also noticed something else. Our thinkpads have two different POST screens depending on which startup mode is enabled. If your system is set up to start up in the default UEFI mode, you'll see a centered ThinkPad logo with nothing else on the screen. If you have CSM enabled, you'll boot into legacy/compatibility(BIOS) mode, and see the left justified ThinkPad logo instead like the one shown in your first video.

Share this post


Link to post
Share on other sites

After a good night
0S X 10.9 installed thanks to tluck :-)

 

Here is my desktop :

post-638501-0-47035400-1381579401_thumb.jpg

 

my clover config with dual link to 0 and surprise 1600x900 :)

 

here is my DisplayVendorID

DisplayVendorID-6af.zip

this allow me to have 1600x900 (choose res in screen  

post-638501-0-77506500-1381588622_thumb.jpg

 

(decompress and put there : /S/L/Displays/Overrides)

 

my config

config.plist.zip

 

 Thanks again tluck :thumbsup_anim:

Share this post


Link to post
Share on other sites

After a good night

0S X 10.9 installed thanks to tluck :-)

 

Here is my desktop :

attachicon.gifnull

 

my clover config with dual link to 0 and surprise 1600x900 :)

 

here is my DisplayVendorID

attachicon.gifDisplayVendorID-6af.zip

 

(decompress and put there : /S/L/Displays/Overrides)

 

my config

attachicon.gifconfig.plist.zip

 

 Thanks again tluck :thumbsup_anim:

 

issues :

no more sound

my wifi usb RT2870Wireless

 

Waiting tluck installation :) 10.9

Share this post


Link to post
Share on other sites

@Tetonne - thanks for for reminding me of the Display Overrides. i added a link to the zip for the display overrides i use for product 2e2 and 6af (models of LCD) - the install of 10.9 wiped them out.

The display overrides will add support for 2 models.  EDID-fix-prod-2e2.zip (ignore the config.plist as this was for an older version of Clover)

Post #486 - i will update the zip with minor addition to the DSDT to get rid of the startup AppleHDA Assertion.

Share this post


Link to post
Share on other sites

@Tluck

I get blank monitor if i using custome EDID in config.plist and using EDID0fix-prod2-2e2.zip 

Im still 10.8.4. Should be im using 10.8.5 or 10.9 ? 

Share this post


Link to post
Share on other sites

@okcakep (get blank monitor if you're using custom EDID in config.plist)

then make this change in red (delete or change)

 

<key>Graphics</key>

<dict>

<key>Comment</key>

<string>LCD 1366x768</string>

<key>CustomEDID</key>

<data>

AP///////wAGrzwxAAAAAAAUAQOAHxF4ChC1l1hXkiYeUFQAAAABAQEBAQEB

AQEBAQEBAQEBEhtWRlAAIzAmFjYANa0QAAAYAAAADwAAAAAAAAAAAAAAAAAg

AAAA/gBBVU8KICAgICAgICAgAAAA/gBCMTQwWFcwMyBWMSAKACk=

</data>

<key>DualLink</key>

<string>0</string>

<key>Inject</key>

<dict>

<key>Intel</key>

<true/>

</dict>

<key>InjectEDID</key>

<false/>

</dict>

 

InjectEDID to false is enought if your EDID is not the good one it would become the good one in newer system

------------------

 

good edid can be found this thisgenEDID_3c.zip

 

unzip drag & drop genEDID.sh on Terminal.app window, key name of screen for example LCD

 

tetonne$ /Users/tetonne/Desktop/genEDID.sh LCD press enter
 
result  in terminal
Collecting some data...
Detected Vendor ID: 0x6af (hex) 1711 (dec)
Detected Product ID: 0x313c (hex) 12604 (dec)
Flipbyted Vendor ID: 0xaf06 (hex) 44806 (dec)
Detected EDID: 00ffffffffffff0006af3c310000000000140103801f11780a10b597585792261e505400000001010101010101010101010101010101121b5646500023302616360035ad100000180000000f0000000000000000000000000020000000fe0041554f0a202020202020202020000000fe004231343058573033205631200a0029
Encoded EDID: AP///////wAGrzwxAAAAAAAUAQOAHxF4ChC1l1hXkiYeUFQAAAABAQEBAQEBAQEB
AQEBAQEBEhtWRlAAIzAmFjYANa0QAAAYAAAADwAAAAAAAAAAAAAAAAAgAAAA/gBB
VU8KICAgICAgICAgAAAA/gBCMTQwWFcwMyBWMSAKACk=
Job done!
 
report that green number in OEMConfig
Graphic CustomEDID data (in XML part)
00ffffffffffff0006af3c310000000000140103801f11780a10b597585792261e505400000001010101010101010101010101010101121b5646500023302616360035ad100000180000000f0000000000000000000000000020000000fe0041554f0a202020202020202020000000fe004231343058573033205631200a0029
 
you'll seen Encoded EDID: AP///////wAGrzwxAAAAAAAUAQOAHxF4ChC1l1hXkiYeUFQAAAABAQEBAQEBAQEB
AQEBAQEBEhtWRlAAIzAmFjYANa0QAAAYAAAADwAAAAAAAAAAAAAAAAAgAAAA/gBB
VU8KICAgICAgICAgAAAA/gBCMTQwWFcwMyBWMSAKACk=
there

 

<key>Graphics</key>

<dict>

<key>Comment</key>

<string>LCD 1366x768</string>

<key>CustomEDID</key>

<data>

AP///////wAGrzwxAAAAAAAUAQOAHxF4ChC1l1hXkiYeUFQAAAABAQEBAQEB

AQEBAQEBAQEBEhtWRlAAIzAmFjYANa0QAAAYAAAADwAAAAAAAAAAAAAAAAAg

AAAA/gBBVU8KICAgICAgICAgAAAA/gBCMTQwWFcwMyBWMSAKACk=

</data>

<key>InjectEDID</key>

<true/>

</dict>

set InjectEDID to true

 
result on destop :
put the created folder DisplayVendorID-6af (example) in S/L/Display/Overrides
repair permissons

Share this post


Link to post
Share on other sites

@sheep_reaper.
glad to know another T430 user in hackintosh and had working system. :)

my installation just broke a weeks ago. fortunately got spare time after resigning from my job prior joining with other company. :))
i've installed Mountain Lion 10.8.4 with myHack method. i'm gonna stick with chameleon for a while.

today i solved the sound issue by patching the ApplehDA.kext and using modified IOAudioFamily.kext. The resource i'm follow are all in OSX latitude forum.

(looks like an error with their webserver when i post this).

I've tested the output, internal speaker and headphone. both works okay. audio issue with internal speaker after wake from sleep is fixed by using the attached IOAudioFamily.kext.
haven't got a chance to test the input (mic)

 

attached are those 2 files i mentioned before.

after installing the AppleHDA.kext, you need to modify the DSDT on HDEF part.

you can check for more resources in this thread

 

hope it useful.

So success. Updating to 10.8.4 solved my hit-or-miss booting situation. My Lenovo T430 (2349GCU) Hackintosh is a success.

 

Thanks to bcc9 for providing some much needed assistance in understanding my startup issue. Thanks to Gendalo for his original DSDT and EFI folder. Thanks to the developers of Clover EFI, whom I don't know first-hand, but without whose bootloader I would not have been successful. And of course thanks to all of you in this thread whose discussion on T420's was what originally motivated me to try this on my T430.

 

Also, if it makes you guys feel any better, This thread is the only thread of value on the entire internet that provided the information i needed to get this project off the ground. I'n not joking, I spent days Googling my fingers raw for tangible information on T430's or 420's for that matter before I came accross this little gem.

 

Working: (Tested)

Display

Ethernet

Graphics (QE/CI)

Software Updates

TrackPad (MButton Scrolling) [it's inverted, but I think Mac is this way on purpose]

TrackPoint

WebCam

 

Not Working:

Restart

Sound

WiFi (Buying http://www.monoprice.com/Product/Index?p_id=8072) [At least temporarily]

 

System Specs:

Intel® Core™ i5-3320M (2.60GHz) processor with dual-cores

Intel Turbo Boost 2.0 (3.30GHz), Hyper-Threading, 3MB cache

2 x 4GB PC3-12800 SO-DIMM's

320GB 7.2Krpm SATAII (3Gb/s) Seagate Momentus Thin (7mm) HD

14in 1600x900 HD+ LED-Backlit LCD

Intel® HD 4000 Graphics

Ultrabay enhanced DVDRW/CD-RW rambo drive

Intel® Centrino® Advanced-N 6205 (AGN)

Bluetooth 4.0

Intel® 82579LM 1Gb Ethernet

UltraNav

Secure Chip

Fingerprint reader

720p Front-Facing Wide-Angle Low-Light Camera

6c Li-Ion Battery Rated at 3-5.5 Life-Hours

Mac OS X (10.8.4) / Windows 8 / Ubuntu GNU/Linux

 

T430_AppleHDA_IOAudioFamily.zip

Share this post


Link to post
Share on other sites

@sheep_reaper
do you have a fix for usb problem after wake from sleep?

i use GenericUSBXHCI_1.2.6. it works fine prior sleep.

when the computer put in sleep, then wake, it no longer recognizes any device plugged-in to usb port.

i need to reboot to be able to recognize usb hardware.

 

@tluck and others,

is the same thing happening with your T420?

Share this post


Link to post
Share on other sites

@okcakep - the display definitions are for LCDs that 1600x900 - do you have a this native res? it not, then that would explain why its blank - the monitor can't handle this definition. 


@gendalo76 - i don't have a usb problem after sleep for all the built-in usb 2.0 ports .now even my esata (external) drive survives sleep/wake since using the native 10.8.5 AppleACPIPlatform.kexts.

 

however for usb3, i have a 2-port GMYLE USB3 express card that does not handle sleep/wake very gracefully. i have to unmount all the filesystems before then it resets the card upon wake. it works after sleep. i am using CalDigit kexts for the card. however, at one point, i tried the GenericUSBXHCI kext but it could not seem my Seagate Disk. it could see the AS2105 disk tho - but i went back to CalDigit. i can't remember how the generic one handled sleep. i did add some stuff for sleep in my dsdt nonetheless for XHCI. 

Share this post


Link to post
Share on other sites

@gendalo

 

Hey Gendalo nice to see you again. No I did not attempt to fix the USB Sleep issue. A bit bogged down with mid-terms at the moment. Kogen had asked me to gather up my materials for my successful build so that he can update the 1st post, but If you have them readily available, by all means PM him. My success was built off of yours anyways, but I sure would like to get on the same page with you and Kogen. Kogen has a 430 now also, but he's busy too. We also have some catching up to do with the 420 guys.

 

The only good piece of info I have at the moment is that I'm certain that your DSDT and mine are the same. This means that any 430 user with model 2349XXX should have the same DSDT. The XXX in your model differs from mine, but the DSDT dumps were identical.

Share this post


Link to post
Share on other sites

Please read this page:

 

http://www.projectosx.com/forum/index.php?s=4e2f811a5fc31ca5f359dc8ffd98f7f5&showtopic=2656&st=120&p=35700&&do=findComment&comment=35700

 

The history of the question is [bUG] Shutdown issue with UEFI boot.
The behavior: when we press "Sleep" or "Shutdown" display went OFF but lights and fans continue working. Then reset only. It happen not every time, it may happens 1:10.
With CloverEFI legacy boot it may happens 1:100.
The problem is resolved with follow new keys:
HaltEnabler - set SLP_SMI_EN=0 at early start.
FixShutdown_0004 - prevent set SLP_SMI_EN=1 at _PTS with Arg0=5 (shutdown)
SuspendOverride - extend this fix to Arg0=3,4,5 (also sleep and suspend)
SlpSmiAtWake - set SLP_SMI_EN=0 at method _WAK, so at every wake up.
Not all users need all these keys but set all to true is safe. You may loose some behavior but you can boot anyway.
Now we (me, TimeWalker, endless) have full success with the issue. Sleep/Shutdown/Wake works fine with UEFI boot.

Share this post


Link to post
Share on other sites

I would be a bit careful here... i tested out some of these new auto-DSDT fixes.  well, on the T420, it did some weird things - especially SlpSmiAtWake - it would not wake after 2nd sleep/wake.

 

HaltEnabler does not seem to make any DSDT changes. but i presume just sets this var to 0 - which is ok.

Fix_Shutdown_0004 - makes _PTS for Arg0=0x05  a totally No-Op --- so i don't think we want that for since we are NOW setting SLP_SMI_EN=0 in our dsdt.

SuspendOverride does the same for Arg0=3,4,5 - probably not so good either?

 

Note: i removed any TPM calls in here - i.e. windows stuff.

 

current code (based on TimeWalker's approach)

 

    Method (_PTS, 1, NotSerialized)

    {

        Scope (\)

        {

            OperationRegion (SLPR, SystemIO, 0x0430, One)

            Field (SLPR, ByteAcc, NoLock, Preserve)

            {

                    ,   4,

                SLPE,   1

            }

        }

 

        Store (One, Local0)

        If (LEqual (Arg0, SPS))

        {

            Store (Zero, Local0)

        }

 

        If (LOr (LEqual (Arg0, Zero), LGreaterEqual (Arg0, 0x06)))

        {

            Store (Zero, Local0)

        }

 

        If (Local0)

        {

            Store (Arg0, SPS)

            \_SB.PCI0.LPC.EC.HKEY.MHKE (Zero)

            If (\_SB.PCI0.LPC.EC.KBLT)

            {

                UCMS (0x0D)

            }

 

            If (LEqual (Arg0, One))

            {

                Store (\_SB.PCI0.LPC.EC.HFNI, FNID)

                Store (Zero, \_SB.PCI0.LPC.EC.HFNI)

                Store (Zero, \_SB.PCI0.LPC.EC.HFSP)

            }

 

            If (LEqual (Arg0, 0x03))

            {

                VVPD (0x03)

                TRAP ()

                Store (\_SB.PCI0.LPC.EC.ADP1._PSR (), OCST)

            }

 

            If (LEqual (Arg0, 0x04))

            {

                \_SB.SLPB._PSW (Zero)

                TRAP ()

                AWON (0x04)

            }

 

            If (LEqual (Arg0, 0x05))

            {

                TRAP ()

                AWON (0x05)

                Store (Zero, SLPE)

                Sleep (0x10)

            }

 

            \_SB.PCI0.LPC.EC.BPTS (Arg0)

            If (LGreaterEqual (Arg0, 0x04))

            {

                Store (Zero, \_SB.PCI0.LPC.EC.HWLB)

            }

            Else

            {

                Store (One, \_SB.PCI0.LPC.EC.HWLB)

            }

 

            If (LNotEqual (Arg0, 0x05))

            {

                Store (One, \_SB.PCI0.LPC.EC.HCMU)

                Store (\_SB.PCI0.EXP4.PDS, \_SB.PCI0.EXP4.PDSF)

                Store (\_SB.PCI0.EXP5.PDS, \_SB.PCI0.EXP5.PDSF)

            }

 

            \_SB.PCI0.LPC.EC.HKEY.WGPS (Arg0)

        }

    }

Share this post


Link to post
Share on other sites

I would advise staying away from trying HaltEnabler.. it indeed doesn't do anything to DSDT as it writes to chipset related registers on boot. This has caused two bricks on HP laptops these past days, so I would recommend staying away from this on laptops as far as you possibly can. Also, don't ever EVER  try any of the changes introduced with 2175 - prone to cause immediate brick on Phoenix firmware with no way to recover because it writes the config into nvram and replaces all of it's contents by the config file...

Share this post


Link to post
Share on other sites

ouch.  

 

sleep and/or shutdown works about 90% for me with - i think my USB3 express card gets in the way on occasion. if I turn that off, then i get much better results.

 

One challenge, i still can't figure out is why my LCD is brighter after sleep/wake? if the screen sleeps,  then upon wakeup it is just a little brighter. the brightness/backlight settings do not change. its just brighter! I did a little research and it showed others with HD3000 have seen this but i could not find a good fix. anyone have any ideas?

Share this post


Link to post
Share on other sites

I have the HD4000 on my 430. On both 10.8 and 10.8.4 I did not experience the brightness issue you describe. However, I did have the sleep issue in 10.8 but then disappeared when I upgraded to 10.8.4. Haven't tried 10.8.5 or 10.9 yet. I have USB3 built in and have had no problems with it other than the USB post-sleep resume issue, but it affects both my USB3 and USB2 ports.

Share this post


Link to post
Share on other sites

One challenge, i still can't figure out is why my LCD is brighter after sleep/wake? if the screen sleeps,  then upon wakeup it is just a little brighter. the brightness/backlight settings do not change. its just brighter! I did a little research and it showed others with HD3000 have seen this but i could not find a good fix. anyone have any ideas?

 

I use sleepwatcher to set brightness after sleep. It starts a script that runs the binary.

http://www.bernhard-baehr.de

 

or maybe this helps to store a value with dsdt fix

http://www.insanelymac.com/forum/topic/292426-brightness-after-sleep-fix-toshiba-portege-r835/?hl=%2Bbrightness&do=findComment&comment=1953410

brightness.zip

Share this post


Link to post
Share on other sites

 anyone have any ideas?

MacBookPro8,1 (snb-platform-id 0x00, 0x01):
Name: AppleIntelSNBGraphicsFB

Find: 
01020400 //FBIndex / Pipes/ Ports = 4
10070000 10070000 // Maximum brightness 0x710
05030000 02000000 30000000 // @0 LVDS
02050000 00040000 07000000 // @1 DP
03040000 00040000 09000000 // @2 DP 
04060000 00040000 09000000 // @3 DP

Replace:
01020300 //FBIndex / Pipes / Ports =3
12130000 12130000 // Maximum brigthenss 0x1312
05030000 02000000 30000000 // @0 LVDS
06020000 02000000 30000000 // @1 VGA
02050000 00080000 07000000 // @2 HDMI
00000000 00000000 00000000 // @3 absent

You know the deal .. Clover kext patcher is your best friend here.

Share this post


Link to post
Share on other sites

I'm using a W520 and I found I had to use the following tags for shutdown to work.

 

        <key>ResetAddress</key>
        <string>0x64</string>
        <key>ResetValue</key>
        <string>0xFE</string>

Share this post


Link to post
Share on other sites

@timewalker75a - wow that was easy. fantastic. just curious how do you/we know 1312 is the right max?!

 

@zhangqq - interesting. does this make  shutdown work (period) - meaning it did not work at all - or that is makes shutdown work better (ie not hang)?

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 ThatsMatt
      Salve, sono nuovo nel forum e mi serviva una mano nell'installazione dell' ultima versione di MacOs sul mio notebook HP Pavilion 15-ak112nl.
      Specifiche Tecniche: 
      CPU: Intel Core i7-6700HQ (2.60 / 3.50 GHz, 4 core, 6 MB CACHE L3). 
      Scheda Grafica: Intel HD Graphics 530 + NVIDIA GeForce GTX 950M 4 GB DDR3.
      Hard Disk: 1 TB SATA 5400 rpm.
      Ram: 8 GB DDR3L-1600.
      Audio: altoparlanti stereo Bang & Olufsen PLAY. 
      Rete: LAN 10/100, WLAN 802.11b/g/n, bluetooth 4.0 (Miracast).
      Grazie in Anticipo a chi mi risponderà
    • By fusion71au
      Clover r4961 ISO compiled with GCC and minimal config.plist compatible for use in VMWare Workstation.
       
      Tested with unlocked Workstation 15 running OSX 10.9 -->10.14 guest in Windows X64 host.
       
      Installation
      1. Download and unzip "EFI_Clover_r4961 for VMware.zip". Mount Clover-v2.4k-4961-X64.iso by double clicking on it.
      2. Mount your VM's EFI System Partition eg in terminal
      sudo diskutil mount disk0s1   3. Copy EFI folder from step 1 into the EFI partition
      4. Shutdown the VM, add bios.bootDelay = "3000" to your VM's vmx file
      5. Reboot your VM, press <F2> to access the VMware Boot Manager and add CLOVERX64.efi to the boot menu.
       
      Substitute your own unique and valid MLB and ROM variables in the /EFI/CLOVER/config.plist (Rt Variables section) to activate iMessage/Facetime on your VM.
    • 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:
       
      06/09/2019 14:16h GMT-0
      - Added missing parts in the post-install step. 
       
      06/04/2019 17:19h GMT-0
      - Updated Clover link. 
       
      06/02/2019 18:08h GMT-0
      - Added info about update 10.14.5. 
       
      03/13/2019 13:15h GMT-0
      - Updated info about touchpad replacement and CPU and 4G LTE modem.
       
      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
      - Added info about update 10.14.3. 
       
      01/22/2019 13:46h GMT-0
      - Added 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.
       
      - CPU upgrade:
      Replaced the stock Intel Core i5 4300M 2.6Ghz (3.3Ghz turbo) 6M cache with Intel Core i7 4700MQ 2.4Ghz (3.4Ghz turbo) 6MB.
      I initially had problems with overheating. The processor ran at full load above 90 degrees.
      After using a quality thermal paste I can work between 70 and 80 degrees.
      Acceptable taking into consideration that the new processor has 47TDP versus 37TDP which is recommended.
      I also had no problem consuming the battery while charging. The original 65W source seems to have figured out.
       
      - Touchpad upgrade:
      Replaced the stock with T460 touchpad.
      This is serious: you have to do it! It should be stock. Touchpad with precision and absurd quality!
      Just do it!
       
      - RAM upgrade:
      No mistery here. Just upgade.
       
       
      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, with good paste I have no overheating)
      - Replace touchpad with T460 model (Ordered. It's on the way) Done. Sensitivity and perception of quality much better. I recommend 100%!
      - Sierra Gobi5000 4G LTE modem EM7355 (Ordered. It's on the way. I hope works. ) Done, but not work. Recognize but not connect. I already gave up...
      - Upgrade to 16GB RAM Done
      - Make trackpad appear in System Preferences
       
       
      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\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/Install --nointeraction This will take about 30 minutes.
       


      Install bootloader

      Download the CloverEFI from SourceForge (used 4934) 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 - AptioMemoryFix-64


       
       
      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 HWSensors 3 from here. I used the FakeSMC.kext, ACPIMonitor.kext and IntelCPUMonitor.kext inside of DMG version r196.
      - 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.6.
      - Download the VoodooHDA from here. I used the version 2.9.1 and patched the sound volume (attached below).
      - Download the WhateverGreen.kext from here. I used the version 1.2.9.
      - 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.
       
      - Download the VirtualSMC.kext from here. I used version 1.0.2. Replaced with FakeSMC of the HWSensors 3 r196 package.
      - Download the FakeSMC.kext from here. I used the version 2018-0915. Replaced with VirtualSMC.kext due 10.14.4 issues on update.
      - Download the AppleALC.kext from here. I used the version 1.3.4. Replaced with VoodooHDA.kext due mic not working.
       
       
      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 2.0.0.
      - 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 EFI folder inside your destination disk EFI parittion, with EFI folder inside flash card EFI partition.

      If the flash drive EFI partition of your destination disk or flash drive is unmounted:
      Mount with terminal "sudo diskutil mount /dev/rdiskXs1". To know what X is, use "diskutil list", most likely is 0 for destination disk and 1 for flash drive.
       
      Then, eject the flash drive.
       
      Last step
       
      Move all Kexts from EFI partition to /Library/Extensions, with those commands in Terminal:
      sudo mv -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;
       

       
       
      System update 10.14.4
       
      - Updated Clover to 4910.
      - Updated Lilu.kext to 1.3.5 and WhateverGreen to 1.2.7.
      - After first reboot the update progress stoped with:
      GTrace synchronization point 4 Unsupported CPU Unsupported PCH hmm.. mismatch sizes: 3100 vs 20 It was still possible to start the previous installation, selecting "Macintosh" as opposed to "macOS Install" in Clover.
      So I created a flash drive with Clover 4910 and put only my config.xml, SSDT-L440.aml, the updated Lilu.kext and WhateverGreen.kext. And I decided to test VirtualSMC instead of FakeSMC.kext.
      With this I was able to install update 10.14.4. After installation I can boot normally, even with FakeSMC.kext that already in /Library/Extensions.
      I do not know what exactly happened, but now works everything like was previously.
       


       
       
      System update 10.14.5
       
      - Updated Clover to 4934.
      - Updated Lilu.kext to 1.3.6 and WhateverGreen to 1.2.9.
      - After first reboot the update progress stoped again (like 10.14.4 update) with:
      GTrace synchronization point 4 Unsupported CPU Unsupported PCH hmm.. mismatch sizes: 3100 vs 20 It was still possible to start the previous installation, selecting "Macintosh" as opposed to "macOS Install" in Clover.
      I decided to rollback to FakeSMC.kext but this time with the version of HWSensors 3. Link above.
      With this I was able to install update 10.14.5. After installation I can boot normally.
       

       
       

      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
×