Jump to content
Kogen Mantis

Lenovo ThinkPad T420 with UEFI Only

4,544 posts in this topic

Recommended Posts

Don't have a real good fix - but I am pretty sure (based limited testing/run-time with alternatives) that it is VoodooPS2controller kexts causing problems with sleep - that is the blinking fast and keyboard/trackpad going away. if anyone has any thoughts on how to make VoodooPS2 behave, please share!

1) With Clover, I reverted to the set of PS2 kexts i was using in back in the 10.8.2 days, and the box ran ok - that is sleep/wake for the last day without issues. Of course, the ThinkpadUltraNav.kext is not as good as the one in VoodooPS2. but if sleep wake is important to you then this is a workaround. i asked RehabMan about Clover support, but he does have any experience etc.

2) With Chameleon - VoodooPS2 sleep/wakes fine with Chameleon. So this is an alternative is to boot via USB. but you have put back the kexts etc that is all the magic patching on kexts that Clover does.

In conjunction with this experiment, (I think) I learned how to inject a good EDID into the DSDT (whereas Clover was doing this as well). So no glitches with Clover or Chameleon boot.

EDID in dsdt:
 

            Device (IGPU)
            {
                Name (_ADR, 0x00020000)
// tjl-begin
// tjl - change VID to IGPU
// tjl - DualLink 1 for 1600x900
// tjl - EDID 1600x900 fix for glitch/hang
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package ()
                        {
                            "AAPL00,DualLink",
                            Buffer (0x04)
                            {
                                0x01, 0x00, 0x00, 0x00
                            },
                            "AAPL00,override-no-connect",
                            Buffer (0x80)
                            {
                                0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00,
                                0x30, 0xE4, 0xE2, 0x02, 0x00, 0x00, 0x00, 0x00,
                                0x00, 0x14, 0x01, 0x03, 0x80, 0x1F, 0x11, 0x78,
                                0x0A, 0x43, 0x45, 0x97, 0x59, 0x57, 0x8E, 0x28,
                                0x21, 0x50, 0x54, 0x00, 0x00, 0x00, 0x01, 0x01,
                                0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
                                0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x80, 0x25,
                                0x40, 0x80, 0x60, 0x84, 0x1A, 0x30, 0x30, 0x20,
                                0x35, 0x00, 0x36, 0xAE, 0x10, 0x00, 0x00, 0x19,
                                0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                0x00, 0x00, 0x00, 0x00, 0x00, 0xFE, 0x00, 0x4C,
                                0x47, 0x20, 0x44, 0x69, 0x73, 0x70, 0x6C, 0x61,
                                0x79, 0x0A, 0x20, 0x20, 0x00, 0x00, 0x00, 0xFE,
                                0x00, 0x4C, 0x50, 0x31, 0x34, 0x30, 0x57, 0x44,
                                0x32, 0x2D, 0x54, 0x4C, 0x42, 0x31, 0x00, 0x38
                            },
                            "hda-gfx",
                            Buffer (0x0A)
                            {
                                "onboard-1"
                            },
                            "model",
                            Buffer (0x17)
                            {
                                "Intel HD Graphics 3000"
                            },
                            "built-in", /*optional*/
                            Buffer (0x01)
                            {
                            0x00
                            },
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }

 

Share this post


Link to post
Share on other sites
Advertisement

@tluck, so if I used a dsdt with the edid info, would i still need to inject the edid info with clover? If not, could you upload a dsdt with the edid added?

Share this post


Link to post
Share on other sites

@honeywell - exactly!!! this dsdt works with clover or chameleon for 1600x900 LCD with glitch or hangs. let me know if it works you. frankly, i have been booting my GUID disk with chameleon on USB for the last 3 or 4 days - so i can use voodoops2controller without the sleep/wake issues.

not sure what is going on with the white screen. perhaps you could try not patching SNBGraphics?

Share this post


Link to post
Share on other sites

Hey tluck - I figured out why I got the white screen. My EDID is actually different from yours... lol. Anyway, I went into the DSDT to edit the EDID. Here is the dsdt.dsl - I am unable to compile it with DSDTSE I get this error:

Error    4096 -																		  ^ syntax error, unexpected PARSEOP_NAMESEG, expecting PARSEOP_DEFINITIONBLOCK

 

I was hoping you could compile it for me... Thanks. https://dl.dropboxusercontent.com/u/66566087/dsdt.dsl

Share this post


Link to post
Share on other sites

@honeywell - interesting!!! so i tried your EDID from the dsdt you posted (which i presume you just replace the EDID block with your EDID.) well that seems to remove glitches/hangs too. so perhaps its about having a EDID defined at this level (IGPU vs Display ) and not so much a particular EDID that works.

 

your model is a bit different than mine. Vendor 6af Product 203e (vs mine is 213e) - so it would be looking for a display settings in

 

/System/Library/Displays/Overrides/DisplayVendorID-6af/DisplayProductID-203e

 

i attached zip with your dsdt (source and compiled) and your display stuff

 

this is iasl compiler that i used to compile the dsdt.dsl

the Display Override file for your product id (203e - is decimal 8254)

honeywell.zip

 

 

post-954945-0-32247000-1370876347_thumb.png

Share this post


Link to post
Share on other sites

hi.. my name is Cristian.. i'm italian and install os 10.8.3 in ThinkPad T420 (4236-3P9)

 

42363P9

 

i7-2620M(2.7GHz), 8GB RAM, 160GB Solid State Drive, 14in 1600x900 LCD, NVIDIA N12P-NS1 1GB, CDRW/DVDRW, Intel 802.11agn wireless, WWAN option, Bluetooth, modem, 1Gb Ethernet, UltraNav, Secure Chip, Camera, 6c Li-Ion, Win7 Pro 32

 

 

the os work perfect, with fusion i install win7 (for my work), but i have problem with audio and Bluetooth ( wireless not work but is ok), i try to install all kext of this post but nothing...

any idea for me? or kext?

Share this post


Link to post
Share on other sites

@vision7 - 

 

bluetooth should work - but you may need to turn it on. you can change the kext so it picks up your model in

/System/Library/Extensions/IOBluetoothFamily.kext/Contents/PlugIns/BroadcomBluetoothHCIControllerUSBTransport.kext/Contents

edit Info.plist 

change 8532 to 8575 

 

the audio is looking for layout ID 12 - do you have that in your dsdt? also the AppleHDA modified for the T420 is expecting conexant 20590 codec id  as shown below

this is from HDEF device

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


 

Share this post


Link to post
Share on other sites

Trying to attempt this on my T530, but running into problems when trying to boot off the USB with Clover - I'll get the initial boot menu, select the option to boot from the usb, and be prompted with the following screen:

 

install_zpsa04c8484.jpg

 

This is after attempting the "boot in safe mode" from the right click menu in Clover - previous attempts would lock up at the "root device uuid is..." prompt.

 

I've managed to get ML installed previously using the ##### method, but would much rather go the UEFI route with a clean install. I can boot into the previous ML installation with the Clover usb if I select the safe mode option, but otherwise it gets aways into loading drivers and then reboots.

 

Any suggestions?

Try again using my older custom package from post #117 and report back.

 

BTW: I guess I'll be switching from T420 to T430 soon. Right now I have both machines to decide witch one to sell. The T430 is a stronger model (i7) with optimus graphic card that I've always wanted to play with in OSX. To bad I still have very little time lately to do some serious hackintoshing, but I can report this about the new T430:

- I can boot successfully with older clover r1229 (I didn't had the time to investigate why Clover newer releases wont boot)

- USB3 works excellent OOB (booting from 32GB USB3 pen-driver - super fast)

- the NVIDIA NVS 5400M - works with graphic enabler (I have black screen with HD4000)

- too bad the whitelist bios can't be flashed to this device (no WiFI swapping for broadcome model) and I don't want to solder the eprom and flash it outside using phoenix flasher. - Can you guys suggest USB wifi that works OOB?

- T430 boots clover in full resolution (1600x900 and looks gorgeous) so I guess I'll update the ThinkPad theme background for high res in free time :)

Share this post


Link to post
Share on other sites

 

@vision7 - 

 

bluetooth should work - but you may need to turn it on. you can change the kext so it picks up your model in

/System/Library/Extensions/IOBluetoothFamily.kext/Contents/PlugIns/BroadcomBluetoothHCIControllerUSBTransport.kext/Contents

edit Info.plist 

change 8532 to 8575 

 

yes, i have turned on the switch.. 
i have tried to insert new 8575 but when i open the network in system preference i find a new ethernet but no a bluetooth...
 
this evening i try with the audio.. 

Share this post


Link to post
Share on other sites

@vision7 - 

osx does not support intel centrino wifi - so the internal wifi wont work. bluetooth should work as that is usually a separate broadcom device on 420s.

is your bluetooth light on - along the bottom of the LCD panel? does it show up in your "About This Mac" system report?


@kogen - for USB wifi, i have 2: Airlink101 and Asus N10. these 2 both use a RealTek chip (RTL8192S). got updated drivers from realtek's site.

Share this post


Link to post
Share on other sites

Hello!
 
I have same situation. I've got old T510 and new W530 and little stuck with W530 in case of nvidia gpu.
 
Boots fine with latest Clover without any trouble on both laptops. And even installed new 10.9 with clover with no problems)
 
About your T430 I have few suggestions:
 
1) Wi-Fi card can be replaced with AzureWare AW-NU706H it's in mPCIe form factor but instead of pci-e it use usb pins , based on USB chipset Ralink RT3070 which works fine in OSX with ralink drivers. Also some realtek usb cards may work well
 
2) HD4000 need's correct id injection, I think in T430 we've got same layout of outs on HD4000 and Nvidia NVS. HD4000 can only drive internal LCD, nvidia can drive LCD + all outs (VGA+DP+Dock outs)
In my case I use AAPL,ig-platform-id: 01660004, and HD4000 works fine with it
 

Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x0E)
                        {
                            "AAPL,ig-platform-id",
                            Buffer (0x04)
                            {
                                0x04, 0x00, 0x66, 0x01
                            },
                            "device-id",
                            Buffer (0x04)
                            {
                                0x66, 0x01, 0x00, 0x00
                            },
                            "vendor-id",
                            Buffer (0x04)
                            {
                                0x86, 0x80, 0x00, 0x00
                            },
                            "subsystem-vendor-id",
                            Buffer (0x04)
                            {
                                0x6B, 0x10, 0x00, 0x00
                            },
                            "subsystem-id",
                            Buffer (0x04)
                            {
                                0xEA, 0x00, 0x00, 0x00
                            },
                            "revision-id",
                            Buffer (0x04)
                            {
                                0x09, 0x00, 0x00, 0x00
                            },
                            "hda-gfx",
                            Buffer (0x0A)
                            {
                                "onboard-1"
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }

 
 But I've also have some differences:

 

USB3 works ooh but only with usb 3.0 devices - my seagate flex hdd and transcend card reader works in usb 3.0 ports but usb 2.0 devices doesn't.

 

Also I can't boot fine from usb devices, boot stuck after some time on wait for root device...

 

*** W530 specific

 

My nvidia gpu doesn't boot to gui and stuck in console. It's kepler based on gk107 chip as GT 650m in my retina mac but it simple doesn't work. All tries with no luck 

 

 

BTW: I guess I'll be switching from T420 to T430 soon. Right now I have both machines to decide witch one to sell. The T430 is a stronger model (i7) with optimus graphic card that I've always wanted to play with in OSX. To bad I still have very little time lately to do some serious hackintoshing, but I can report this about the new T430:
- I can boot successfully with older clover r1229 (I didn't had the time to investigate why Clover newer releases wont boot)
- USB3 works excellent OOB (booting from 32GB USB3 pen-driver - super fast)
- the NVIDIA NVS 5400M - works with graphic enabler (I have black screen with HD4000)
- too bad the whitelist bios can't be flashed to this device (no WiFI swapping for broadcome model) and I don't want to solder the eprom and flash it outside using phoenix flasher. - Can you guys suggest USB wifi that works OOB?
- T430 boots clover in full resolution (1600x900 and looks gorgeous) so I guess I'll update the ThinkPad theme background for high res in free time :)

Share this post


Link to post
Share on other sites

@joshhh - Thanks for suggestions - I'll try to find some spare time and dig in a bit more into T430 + OSX. Please share your W530 kexts, dsdt and config.plist.

Ohh and You are right about the USB3 ports - I just didn't have time to put anything eles than my USB3 pen-drive. It seems that USB2 devices are not deferred to EHC controller thus no other driver takes over them. Use GenericUSBXHCI driver from this thread. - I wonder if we could fix it in DSDT?

Share this post


Link to post
Share on other sites

10.8.4 below

10.8.5 here

 

Updated 29-August-2013

 

Revised the attached zip file with...

  • Updated to Clover b1974
  • Updated ethernet driver AppleIntelE1000e.kext to v2.4.14
  • Updated to Rehabman's FakeSMC.kext + Sensors to v5.2.772
  • Updated to Rehabman's VoodooPS2Controller.kext to v1.8.6 
  • Replaced VoodooBattery.kext with Rehabman's AppleSmartBatteryManager.kext
  • Replaced v1.3.5 AppleACPIPlatform.kext with ErmaC's patched ML (v.1.7) version

Cuts boot time in half - the rotating thing only goes round and round about 5 times now vs 12+ !!!

Sleep/wake seems to work just as good as with the snow leopard ACPI kext ... note: the "moon" icon takes a little longer to light up!

 

Updated 31-July-2013

  • updated generic config.plist to remove boot args WithKexts NoCaches and added them in SystemParameters section
  • updated to Clover 1942

Updated 22-July-2013

  • Updated to Clover b1928 
  • Updated VoodooPS2Controller.kext to v1.8.5 (RehabMan version)
  • Updated FakeSMC.kext to v5.2.724 (RehabMan version with sensors - adding Plugins for ACPI and CPU only)
  • Streamlined DSDT
  • Slight mods to OEM config.plist ( not sure if it made a difference! for sleep ) 

Updated 19-June-2013 

  • Fixed OEM config.plist to inject the EDID (sorry i had removed for some testing  but forgot to put it back!)
  • Replaced OEM dsdt.aml with same EDID
  • Updated to Clover b1888
  • change generic config.plist to be more "generic" compared to OEM/<yourproduct>/config.plist

 

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

 

T420 users:

 

Attached is a current full /EFI pack for T420 on Clover and OSX 10.8.4

 

Notes:

there are 3 kext folders 

10.8 (which are good for vanilla boot) before using OEM folder and/or modified kexts are in place.

  • FakeSMC.kext v5.2.772 - core hack mechanism + plugins -  Follow link to download full package - so you can install HWMonitor.app etc (just select Plugins ACPI and CPU)
  • VoodooPS2Controller.kext v1.8.5 v1.8.6 - Keyboad/Trackpad -   Follow link to get full package and installation instructions to install daemon Note: may still be subject to random sleep/wake issues... versions 1.8.5+ are proving to be more reliable.
  • AppleIntelE1000e.kext v2.2.14 v2.4.14- gigE - goes in /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns

10.8-SLE which can be combined with above and will replace your /S/L/E versions.

  • IOAHCIBlockStorageInjector.kext -  makes DVD an internal device so iDVD player works.
  • AppleHDA.kext (patched 10.8.4)- for full audio support - note: requires matching DSDT sections using Conexant Codec and layoutID 12.
  • AppleACPIPlatform.kext (v1.7) - upgraded to ErmaC's Patched ML kext for sleep/wake + battery
  • AppleSmartBatteryManager (v1.33) VoodooBattery.kext - using Rehabman's kext configured for v3 ACPI per his instructions to show/track battery info on menu bar - requires rollback AppleACPIPlatform.kext

​10.8-Chameleon - extra patched kexts in /S/L/E for use with Chameleon 

  • AppleCPUPM, AppleRTC and AppleSNBGraphicsFB - are not really necessary to install/replace with clover since it does the patching. Install for Chameleon compatibility. 

 

The DSDT (in OEM) has some new mods in the IGPU are that seem to remove glitches/hangs on either Clover or Chameleon - go figure?! And there is generic dsdt for non-1600x900 users to try.

 

Basic instructions and notes:

  1. install vanilla 10.8.4 to GUID formated disk - use USB or other method
  2. install standard Clover b1888 b1928 b1942 b1974 into ESP - use link to download from sourceforge.
  3. replace /Volume/ESP/EFI with contents in zip
  4. boot up vanilla 10.8.4 with clover - this will use the kexts and "top" level config.plist
  5. now install kexts from ESP or zip to boot drive into /S/L/E (from /EFI/CLOVER/kexts/10.8 and 10.8-SLE) or use myhack method. see notes above
  6. here is the tricky part - fix OEM folder to match your system 
  7. DO NOT just hastily rename the folder OEM/4236AT9 to match your productID -  you may need to modify some things to make it compatible with your specific model details.  If you have a 2.5 Ghz CPU and 1600x900 LCD, you can probably just use items as is - that is rename 4236AT9 to match your product name. 

- the OEM/4236AT9/ACPI/patched/ssdt.aml is CPU specific - dont use unless you have i5-2520 (or similar)

- the OEM/4236AT9/config.plist is CPU and display specific. 

 

OTHERWISE, If you do NOT have 1600x900 LCD:

- replace OEM config.plist with config.no-edid.plist

- edit and change config.plist Graphics section - set DualLink to 0

- replace (move/rename) the generic-dsdt.aml file to  OEM/<4236AT9/ACPI/patched/dsdt.aml

 (this one does not have DualLink or EDID definitions)

 

If you do NOT have same speed/type CPU (i5 2520) then do these 3 things:

- remove ssdt.aml - may not work for your CPU 

- edit and change config.plist ACPI section - change generate P/C states to true - clover may do a good job for your CPU.

- edit and change config.plist CPU section - fix speeds (or remove CPU section) to match your CPU. 

T420-EFI-Clover-b1972.zip

Edited by tluck

Share this post


Link to post
Share on other sites

T420 users:

 

attached is a current full EFI pack for T420 on Clover v1858 and OSX 10.8.4

 

Notes:

there are 2 kext folders 

10.8 (which are good for vanilla boot) before using OEM folder and/or modified kexts are in place.

10.8-SLE which can be combined with above and will replace your SLE versions.

 

- VoodooPS2Controller seems still cause random sleep issues.

- AppleCPUPM, AppleRTC and AppleSNBGraphicsFB are not really necessary to install/replace as clover does the patching.

 

The DSDT (in OEM) has some new mods in the IGPU are that seem to remove glitches/hangs on either Clover or Chameleon - go figure?! And there is generic dsdt for non-1600x900 users to try.

everything is ok here with this new pack (generic dsdt is ok too)

thanks a lot

updated to 1888 ;)

Share this post


Link to post
Share on other sites

Today we had some fun with @k3nny about the OSX Mavericks icon in ThinkPad theme and we came up with this. (just in case you were wondering who is making the Mavericks)

 

post-112035-0-68830900-1371941487_thumb.jpg

 

I think this Mavericks icon will be the official 10.9 Developer Preview icon in ThinkPad theme :)

Here is the file: os_mav.icons.zip

Share this post


Link to post
Share on other sites

Hey guys... still frustrated with the graphics glitches in my 1600x900 T420 (HD3000 only). Injected EDID with the DSDT, still no changes. Anyone know what I can do to understand what is causing the problem and fix it? Using tluck's pack and using my own EDID in the DSDT.

Share this post


Link to post
Share on other sites

Could you please upload this(T420-EFI-CLOVER-b1888.zip ) as pkg? I can't boot when I create my own 

Share this post


Link to post
Share on other sites

@dnr

 

- i suggest you first install with the standard clover installer (pkg) then you can replace the /EFI/CLOVER layers+items in stages.

- the generic config.plist + kexts should be able to boot up - not all things will work but it should be good to get running.

- the OEM directory name needs to match your product ID and then further you may need to modify config.plist to adjust speeds to match your CPU.

this then has the custom DSDT to get the rest of things working (as they did on chameleon)

Share this post


Link to post
Share on other sites

I tried to install with standrd clover installer, I can boot up.

Then I replaced /EFI/CLOVER folder on EFI partition, and I can't boot.

 

P.S: I also changed product id in EFI/CLOVER/OEM/ folder to my product ID: 4236W63

Share this post


Link to post
Share on other sites

@dnr - 

 

where does it get stuck? using that OEM folder presumes you moved all the kexts from /EFI/CLOVER/kexts to your system in /S/L/E. just checking.


@honeywell

 

when I  Kogen's EDID - i get rid 99.99% glitches and hangs. but besides EDID, i did upgrade to BIOS 1.44 and i shut off VT-d virtualization. even when using my old dsdt .... tried to recreat the problem but now i barely get glitches or hangs, compared to what i used to get (had to use quartz debug to turn off 2d acell  it was so painful). 

Share this post


Link to post
Share on other sites

@tluck

 

I forgot to put kexts to /S/L/E, now I done this with "kext drop" and can boot up. Thank you for you help!

 

@honeywell

 

in ThinkPad bios:
Security > Intel ® VT-d Feature [Disabled]
 

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 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
×