Jump to content

[GUIDE] Lenovo T460/T470 macOS with Clover and OpenCore


tluck
 Share

1,289 posts in this topic

Recommended Posts

1 hour ago, giovahkiin said:

 

Hi, I'm on a T460 and I tried an upgrade from 10.13 to 10.14 (after upgrading Clover, updating Lilu and installing whatevergreen, etc.) and now I'm not able to boot into Mojave even with those config.plist changes you mentioned. Can I see your EFI/Clover folder? I feel like I'm missing something. From what I saw in verbose mode the problems seem to be related to the framebuffer patches 

something output in verbose similar like this?

also need help, please enlight me what the problem is.....:help:

2075565418_IMG_20180927_154241_.thumb.jpeg.5d5068b39e0ad8a67311d5d22f288de1.jpeg

Link to comment
Share on other sites

3 hours ago, verleihnix said:

I used clover 4670 from tluck t420 pack.

And the the new virtualsmc.

but that should not be the problem.

To get back into OS you can mod graphics platform ID to 0x12345678 manually during clover boot.

EFI.zip

Yeah, I'm also using 4670 but from the latest push to tluck's T460/70 repo. I tried matching some of my kexts with yours (such as VirtualSMC) but that didn't have much of an effect. I even tried outright using your entire EFI/Clover folder and it still bootloops. Even injecting the platform ID to 0x12345678 doesn't work. I guess I'll be forced to clean install Mojave?

Link to comment
Share on other sites

5 hours ago, verleihnix said:

I used clover 4670 from tluck t420 pack.

And the the new virtualsmc.

but that should not be the problem.

To get back into OS you can mod graphics platform ID to 0x12345678 manually during clover boot.

EFI.zip

 

2 hours ago, giovahkiin said:

Yeah, I'm also using 4670 but from the latest push to tluck's T460/70 repo. I tried matching some of my kexts with yours (such as VirtualSMC) but that didn't have much of an effect. I even tried outright using your entire EFI/Clover folder and it still bootloops. Even injecting the platform ID to 0x12345678 doesn't work. I guess I'll be forced to clean install Mojave?

 

I eventually figured it out. It's really silly, but while I did update my EFI before updating to Mojave, I didn't update the kexts in /L/E. I ended up fixing the problem using Windows and the macOS Recovery (thank God for that). I copied over the new kexts, touch /L/E and kextcache. I might still have to fix a few things, but so far Mojave runs with essentially everything from High Sierra working.

 

image.thumb.png.67fc7b130e54468ce0e23d9c81b7c33a.png

Link to comment
Share on other sites

21 hours ago, fudaming said:

something output in verbose similar like this?

also need help, please enlight me what the problem is.....:help:

 

 

after update kexts and rebuild the cache, got Mojave installed finally. but I believe there is something wrong with graphic driver....

854082298_2018-09-2814_10_09.png.2a59c7d085a143807d1fc37f5536c849.png

Link to comment
Share on other sites

6 hours ago, Fleshboy55 said:

that is very useful, I think seems to be installed properly, very big thanks to Fleshboy55.

 

However, I still want to figure out whats the problem of my config, Kext files, or config.plist.

I will try to write a config.plist of myself with your kexts, and see if it can bootup in a right way.

 

thanks again Fleshboy55!!

908496548_2018-10-0118_48_51.png.0b23e7f24b9a6308c34e476c63e89d4e.png

Link to comment
Share on other sites

Just a note on cleaning up my install, before moving on to a Mojave upgrade. 

I wanted to update as much of my kext's as possible, clover, and my config prior to upgrading. I thought I would document what works for me. 

 

First updated Clover to 4670, as pushed by @tluck to hist T460 git repo. 

 

Next updated my kext's: 

FakeSMC.kext                            Rehabman   - 6.26-357-gceb835ea.1800
IntelMausiEthernet.kext                 Rehabman   - 2.4.0d0
USBInjectAll.kext                       Rehabman   - 0.6.5
AppleBacklightInjector.kext             RehabMan   - 0.9.2 (from TLUCK repo)
Lilu.kext                               as.vit9696 - 1.2.7
AppleALC.kext                           as.vit9696 - 1.3.2
WhateverGreen.kext                      as.vit9696 - 1.2.3
ACPIBatteryManager.kext                 Rehabman   - 1.90
BrcmPatchRAM2.kext                      TLUCK      - 2.2.7b
BrcmFirmwareRepo.kext                   TLUCK      - 2.2.7
FakePCIID_Broadcom_WiFi.kext            Rehabman   - 1.3.13
FakePCIID.kext                          Rehabman   - 1.3.13
VoodooPS2Controller.kext                Rehabman   - 1.8.32 *

* I tried the latest VoodoPS2Controller.kext -- It causes a KP on sleep.

Edited my config.plist to set Intel 520 graphics parameters per Whatevergreen config (Without this the Intel FB will panic and cause a reboot loop): 

         <key>Properties</key>
         <dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
               <key>AAPL,ig-platform-id</key>
               <data>
                  AAAWGQ==
               </data>
               <key>device-id</key>
               <data>
                  FhkAAA==
               </data>
               <key>enable-hdmi20</key>
               <data>
                  AQAAAA==
               </data>
               <key>framebuffer-fbmem</key>
               <data>
                  AACQAA==
               </data>
               <key>framebuffer-patch-enable</key>
               <data>
                  AQAAAA==
               </data>
               <key>framebuffer-stolenmem</key>
               <data>
                  AAAwAQ==
               </data>
               <key>framebuffer-unifiedmem</key>
               <data>
                  AAAAgA==
               </data>
            </dict>
         </dict>

removed intel inject, and my SSDT patch for IGPU. This gives me a up-to-date T470 (I5-6300u) running High Sierra. Now on to Mojave.   

  • Like 2
Link to comment
Share on other sites

On 9/27/2018 at 1:34 PM, verleihnix said:

I used clover 4670 from tluck t420 pack.

And the the new virtualsmc.

but that should not be the problem.

To get back into OS you can mod graphics platform ID to 0x12345678 manually during clover boot.

EFI.zip

good stuff verleinix.

 

maybe the gfx fix is the inclusion and use of whatevergreen.kext?

cool to see that the new VirtualSMC works!

but surprised to see VoodooHDA instead of AppleALC? 

 

4 hours ago, kolodzieski said:

Just a note on cleaning up my install, before moving on to a Mojave upgrade. 

I wanted to update as much of my kext's as possible, clover, and my config prior to upgrading. I thought I would document what works for me. 

 

First updated Clover to 4670, as pushed by @tluck to hist T460 git repo. 

 

Next updated my kext's: 


FakeSMC.kext                            Rehabman   - 6.26-357-gceb835ea.1800
IntelMausiEthernet.kext                 Rehabman   - 2.4.0d0
USBInjectAll.kext                       Rehabman   - 0.6.5
AppleBacklightInjector.kext             RehabMan   - 0.9.2 (from TLUCK repo)
Lilu.kext                               as.vit9696 - 1.2.7
AppleALC.kext                           as.vit9696 - 1.3.2
WhateverGreen.kext                      as.vit9696 - 1.2.3
ACPIBatteryManager.kext                 Rehabman   - 1.90
BrcmPatchRAM2.kext                      TLUCK      - 2.2.7b
BrcmFirmwareRepo.kext                   TLUCK      - 2.2.7
FakePCIID_Broadcom_WiFi.kext            Rehabman   - 1.3.13
FakePCIID.kext                          Rehabman   - 1.3.13
VoodooPS2Controller.kext                Rehabman   - 1.8.32 *

* I tried the latest VoodoPS2Controller.kext -- It causes a KP on sleep.

Edited my config.plist to set Intel 520 graphics parameters per Whatevergreen config (Without this the Intel FB will panic and cause a reboot loop): 


         <key>Properties</key>
         <dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
               <key>AAPL,ig-platform-id</key>
               <data>
                  AAAWGQ==
               </data>
               <key>device-id</key>
               <data>
                  FhkAAA==
               </data>
               <key>enable-hdmi20</key>
               <data>
                  AQAAAA==
               </data>
               <key>framebuffer-fbmem</key>
               <data>
                  AACQAA==
               </data>
               <key>framebuffer-patch-enable</key>
               <data>
                  AQAAAA==
               </data>
               <key>framebuffer-stolenmem</key>
               <data>
                  AAAwAQ==
               </data>
               <key>framebuffer-unifiedmem</key>
               <data>
                  AAAAgA==
               </data>
            </dict>
         </dict>

removed intel inject, and my SSDT patch for IGPU. This gives me a up-to-date T470 (I5-6300u) running High Sierra. Now on to Mojave.   

 

if you zip it up. happy to merge into the guide. 

Edited by tluck
  • Like 1
Link to comment
Share on other sites

20 hours ago, tluck said:

good stuff verleinix.

 

maybe the gfx fix is the inclusion and use of whatevergreen.kext?

cool to see that the new VirtualSMC works!

but surprised to see VoodooHDA instead of AppleALC? 

 

 

if you zip it up. happy to merge into the guide. 

I pushed it all to my fork of your repo and sent you a pull request. The content is included in the DSDT470/CHANGELOG.md file. 

 

Should I push a zipfile, of my kexts? 

Link to comment
Share on other sites

On 10/9/2018 at 2:46 AM, Fleshboy55 said:

Does anyone work one or two fingers scrolling as it works on Windows. How are you doing with scrolling?

Using the 

VoodooPS2Controller.kext                Rehabman   - 1.8.32 

I have no problem scrolling with two fingers. 

 

Three finger swipe to Mission Control also works fine. 

 

As previously mentioned the latest version of that kext causes a sleep problem for me. I have yet to investigate that. 

Link to comment
Share on other sites

Hi all - Currently working on a Lenovo t470s using the files here and with a bit of help from some of the forum heads :)

 

System is working however issue with battery indicator (system has 2 batteries).

 

I've extracted my DSDT and tried to follow luck's guide to patching so hopefully some can help walk me though it.

 

attachedCLOVER.zip

 

Thanks in advance

Link to comment
Share on other sites

On 10/13/2018 at 1:50 AM, mihu_yo said:

Hy!

does someone know why I get an error every time I open my Mac?

panic.rtf

Possibly the same nvram issue I had. 

 

I worked though it with Rehabman on tonymac, perhaps this thread will help:

 

https://www.tonymacx86.com/threads/solved-lenovo-t470-build-mostly-working.258467/

 

Cheers,

Scott.

 

3 hours ago, ka209 said:

@tluck  T460s doesn't boot with the new AppleALC in your Repo 12. Oktober 18

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

i don't can install Mojave 

 

 

Did you try the one I mentioned recently in this thread: 

 

AppleALC.kext                           as.vit9696 - 1.3.2

 

I had no problem installing Mojave. Be sure to add all kext's to CLOVER, so during the multiple reboots you are good. 

Link to comment
Share on other sites

On 10/14/2018 at 7:25 AM, ka209 said:

@tluck  T460s doesn't boot with the new AppleALC in your Repo 12. Oktober 18

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

i don't can install Mojave 

 

 

the AppleALC from the previous release was 

  • AppleALC (1.2.7-tluck) (custom for T460 - has extra 32MB DVMT patches)

The latest AppleALC release is 1.3.3 (pretty much the same as 1.3.2 but with a few unrelated codec additions)

 

A big difference between 1.2.x and 1.3.x is that the Intel FB patching is removed (so it doesnt patch DVMT anymore). WhatEvergreen.kext should provide this support AFAIK.

 

see @kolodzieski post from Oct 4 about properties etc. - may need to update your config.plist files. sorry I cant test the builds.

 

 

Edited by tluck
Link to comment
Share on other sites

The latest configuration from tluck doesn't work properly on my T460 (I7, 6600u, 16Go RAM, SSD 512Go) with High Sierra 10.13.1 (also tried on update to 10.13.6). I can only start with config.noSKL.plist. Of course, in that case, the HD520 is improperly recognized (shown as 7Mb in "About Mac").

 

The EFI configuration from Fleshboy55 fixed the issue (although I don't know what it did to make it work). I'm attaching my EFI folder as ZIP which works fine with High Sierra 10.13.6.

 

I've tried to compare config.plist but there are too many differences. Note that the config.plist within this EFI folder lacks support for Broadcom wifi card. I've also left inside my own patched and compiled ACPI tables.

EFI.zip

Edited by vanadium
Link to comment
Share on other sites

Okay, from my understanding seems like WhatEvergreen.kext is now handling everything related to video (instead of the Intel video fixup kext).

 

So far working fine:

- Brightness,

- Sound,

- GFX (Intel 520 with 2048Mb)

- Shutdown,

- Battery status (get 7h with a single 48Wh battery),

- Ethernet only when connected on startup,

- Sata 3 512GB SSD (Toshiba) is properly running with APFS filesystem, TRIM is enabled.

 

I'm waiting for a broadcom Wifi card to replace the intel one. (and modify the config.plist accordingly)

 

It's an amazing work @tluck you did there! It's my first hackintosh and I could make it work in a single day, without any prior knowledge. (other than the fact i'm software engineer)

 

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Hello everyone

I just got a dock for my T460s, but unfortunately none of the video ports work - no HDMI, no DP.

HDMI on the right port works, haven't checked mini DP. 

 

first time I connected the monitor and woke from sleep the monitor turned on with messed up colors, while the thinkpad display had no problems at all. 

it never happened again, now the monitor just won't turn on or get a signal. 

 

@barrrrt did you make it eventually? 
I tried to change framebuffer params  as in

Quote

 

On 1/11/2017 at 4:32 PM, tluck said:
@barrrt - HDMI works from my dock - but maybe you need some patching for tuning the timing?

port 105 - is mini DP on left side - i have been leaving this alone.

port 204 - is HDMI on right side - and/or Dock Port 1 - which is DP or HDMI

- with clover i change it from type 0004 (DP) to 0008 (HDMI) on port 204

so on the dock thing - you might want to try changing HDMI buffer params.

see patch 24 in new config.list - HDMI-audio, port 0204, 0x19160000 - T460 HDMI on right side

find:

02040A00 00040000 87010000

replace:

02041200 00080000 87010000

 

but it only made both my screen go black as I plugged the monitor on DP.

and also tried to change LayoutID in SSDT-HDEF, but that generated the "reboot on plugging" that you had (again both DP and HDMI). 

 

Any ideas? Thanks in advance 

Link to comment
Share on other sites

On 10/16/2018 at 9:30 PM, tluck said:

you can try this config.plist -it has what @verleihnix described he did to make gfx work with WhatEvergreen.kext.

seems to be what fleshboy has too. it sets properties for GFX - config.plist

Hello and thank you all for these information.

Can someone guide me to the right direction for completing my installation of Sierra 10.12.6 to a t460 with i5 and intel graphics ?

I have managed to install using initial guide, but with this config. (using the config from the package gave me kernel panic, and had to use no skl config)

The only things not working are battery estimate and Fn. key to modify brightness.

I don't want to be on the latest version of macOS, but would like to have all things working.

Thank you in advance.

Edited by ravest
Link to comment
Share on other sites

I have a Lenovo ThinkPad T540p :i7 4700HQ , 16gb Ram , Intedrated HD4600 , WI-FI Intel NO compatible ......
This is my folder OEM .
In DSDT I only mapped the USB ports , would you recommend a WI-FI compatible with 10.14 ??

Success obtained thanks to the support of Gengik84, Foskvs,Icanaro and SSDT T540p found on the web

20BFS0XA00.zip

Edited by Baio77
  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
On 10/31/2018 at 7:32 PM, verleihnix said:

Hi,

update to 10.14.1 went smooth.

All is ok for now.

 

Hello!

Does it means that I can update via App Store up to 10.14.1 without any worries?

I want to update, but since last minor update was stuck on black screen after loading and self-repair after few reboots, I have big question on that the major update like this will not broke everything.

Link to comment
Share on other sites

 Share

×
×
  • Create New...