Jump to content
InsanelyMac Forum
Kogen Mantis

Lenovo ThinkPad T420 with UEFI Only

Recommended Posts

i wonder if there is a problem with FakeSMC. verleihnix had problem a while back and went back to Rehabmans build RehabMan-FakeSMC-2013-0706.zip

 

here is rehabman's site https://code.google.com/p/os-x-fake-smc-kozlek/downloads/list

tuck-

I tried this version of FakeSMC but get the same problems, if I use a vanilla AppleACPIPlatform (v1.7 or v1.8) I get SMC errors...

So, I am back to the custom version.

Thanks,

AJ

Share this post


Link to post
Share on other sites
Advertisement

@AJ - ErmaC has provided a patch to 10.8.5 v1.8 AppleACPIPlatform.kext 

           hit download button and get AppleACPIPlatform.12F45.zip

 

 

Note: I am writing this from Safari 7 on 10.9 GM - thanks Tetonne! - everything works great. 10.9 is should be a fairly easy upgrade. I was able to patch AppleHDA (including manwe150's input fix).

Share this post


Link to post
Share on other sites

 

Note: I am writing this from Safari 7 on 10.9 GM - thanks Tetonne! - everything works great. 10.9 is should be a fairly easy upgrade. I was able to patch AppleHDA (including manwe150's input fix).

 

Here you could put AppleHDA.kext to 10.9 Mevericks ??

 

Thanks

Share this post


Link to post
Share on other sites

@AJ - ErmaC has provided a patch to 10.8.5 v1.8 AppleACPIPlatform.kext 

           hit download button and get AppleACPIPlatform.12F45.zip

 

 

Note: I am writing this from Safari 7 on 10.9 GM - thanks Tetonne! - everything works great. 10.9 is should be a fairly easy upgrade. I was able to patch AppleHDA (including manwe150's input fix).

Thanks tluck, will download and install it.

10.9! great. What process did you follow to install? Did  you upgrade your 10.8 or did a fresh install?

Using clover and the same kexts?

Share this post


Link to post
Share on other sites

well I did an upgrade - installed over my 10.8.5 .... will post a 10.9 bundle shortly.  

 

creating the installer was the hardest part actually!

Share this post


Link to post
Share on other sites

Hi,

I had a head crash a few days before, today the replacement HD arrived.  :)

I like to go for clover this time. Maveriks is already installed.

It sems to boot fine, but not into graphics.

Framebuffer messages is coming up: "SNB Framebuffer did not show up, unload"

dsmos arrives. HD led is still flashing in background. Has 1600x900 LCD

 

any suggestions

Share this post


Link to post
Share on other sites

@verleihnix - do you have FakeSMC (and other kexts) installed  to HD  /S/L/E? there were some problems with kext injection until b2217 


 


I just reposted with Clover b2217 - this might make it easier for folks to make either a 10.8 or 10.9 USB installer as well sort out the OEM section.


The top level config.plist will inject the kexts which are good for an installer or so that a virgin installation will work. i


 


Note: currently i prefer to install custom kexts on my HD /S/L/E versus  just leave on clover ESP. 


Share this post


Link to post
Share on other sites

Hello tluck sorry if this is off topic ,  i'm using your patched applehda from 10.8.5 with the same dsdt edits as your laptop (mine is x220) and works great when i'm using unpatched acpiplatform 10.8.4 kext but when i'm using unpatched acpiplatform from 10.8.5 the sound works alright but after sleep/wake i lose the sound from the speakers but the headphones work! (that's weird) , the sound from the speakers comes back only if i shutdown the laptop and turn it on again, if i restart i still have no sound from speakers , ( if i use the patched files from ErmaC it works ok but i'm preparing my dsdt for Mavericks too and want to stay native :) ) , its weird that headphones works perfect always and only the speakers dont work 

Share this post


Link to post
Share on other sites

@sot_22 - i did a quick test on 10.9 with unmod ACPI kext and same thing?! laptop speaker is dead but lineout/headphones still work after wake? maybe we need ErmaC to patch one for 10.9 too! good to know that his patching seems to help us (as well as others). not quite sure what his patch is all about at this time.

Share this post


Link to post
Share on other sites

thanks for confirming this problem, it seems apple changed something in acpi kext on 10.8.5 and onwards which broke first for them (now it seems fixed) HDMI audio after waking from sleep as stated by their supplemental update and second our speaker audio ... if ErmaC can patch the 10.9 will be great , i'm searching for a fix or the cause of disabled speakers but i didnt find any info yet

Share this post


Link to post
Share on other sites

not to take anything away from ErmaC,  but I looked closer at his patched AppleACPIPlatform.kexts. Well it seems he is more or less just leveraging the Snowleopard v.1.3.5 binaries in his 10.8.x kexts. in other words it seems as if is the same as what we were using in earlier on when we replaced AppleACPIPlatform with 1.3.5. 

 

But I wonder why some can use the actual native AppleACPIPlatform from 10.8.5 and 10.9 and some can't. i am on Bios 1.46 with embedded controller v 1.20.

Share this post


Link to post
Share on other sites

(for the ones having smc errors) remove the ACPISensors plugin from fakesmc and see if the errors go away or maybe wrong ssdt or dsdt, i read that some errors are normal (like SMC reverting to old mode etc...) i have them too and they dont do anything wrong

 

another one setting to blame is if they have virtualization vt-d enable in bios (it must be disable for osx to boot) but this info is on this thread already :)

Share this post


Link to post
Share on other sites

(for the ones having smc errors) remove the ACPISensors plugin from fakesmc and see if the errors go away or maybe wrong ssdt or dsdt, i read that some errors are normal (like SMC reverting to old mode etc...) i have them too and they dont do anything wrong

 

another one setting to blame is if they have virtualization vt-d enable in bios (it must be disable for osx to boot) but this info is on this thread already :)

Hi guys, I do get the errors... and I think I recently enabled the vt-d virtualization in the BIOS. I will check the computer tomorrow and try again. I think this could be the reason...

Share this post


Link to post
Share on other sites

if ErmaC patch is basically a rollback to v.1.3.5 binaries (i don't know if thats the case) then its better to find a way for the speakers sound to work with the native kexts now that there isn't a problem with the battery anymore , this blog : https://digitaldj.net/blog/   if you scroll a little down the posts has some info on applehda , i don't know if this helps or can help if there is some detail in applehda which needs tweaking now cause if there is something wrong in acpiplatform kext and disables the speakers after sleep why it doesn't happen on real macs too

Share this post


Link to post
Share on other sites

Hi guys, just confirming that I had the vt-d virtualization enabled in the BIOS, and that was causing the SMC errors with vanilla AppleACPIPlatform from 10.8.5.

I have disabled this option in the BIOS and now all runs good with the vanilla kext.

I think somebody else had this issues as well. If so, please check your vt-d virtualization.

 

Thanks a lot tluck and sot_22 for your help.

Share this post


Link to post
Share on other sites

@ag695263 - great news. glad the new DSDT etc is working fine for you too.

 

@sot_22 - excellent article -  I added the Max Beep thing into the DSDT and no assertion now. don't think i will get into any detailed size patching as it works fine as is. 

the speaker thing seems to be broken with 1.8 ACPIPlatform (from 10.8.5) and later. The v1.7 from 10.8.0-10.8.4 works fine - even with 10.9. Although my esata disk does not alway wake from sleep with this older version; the later versions seem to do better job here.

Share this post


Link to post
Share on other sites

Hey,

today I tried installing 10.8 on my T420 (4236-C32, HD+, i5, 2.5GHz) without WWAN and with SSD.

I tried all of the bundles from this thread, but non of them works for me.

With the clover bundle from the first post I was able to successfully boot into the installer and install OSX to my hard drive.

But whenit reboots it only shows "Installing" and a "progressless progressbar". (Dont know how it is called :D)

Waited for hours, but nothing happens.

 

Using other clover bundles I only got "waiting for AppleSMC".

 

Using the latest bundle from tluck I can boot too if I set InjectKexts to true, but it also hangs in the installer screen after rebooting.

 

Of course I tried different DSDTs/no DSDT, etc.

I have no idea what I can do.

Does anyone have another idea? :-)

 

Greetings,

Simon

 

Edit: BIOS settings are like mentioned on the first pages.

Share this post


Link to post
Share on other sites

@vapayo -- i am not sure i understand what state you are in after you install. i use LionDisk maker to make a 10.8.5 installer and when done - you reboot.  then it there isn't any progress bar? how did you make the installer? the bundle i built is good for the installer and the HD after install.   

Share this post


Link to post
Share on other sites

Hey,

thanks for your answer.

I also created my usb stick using Lion Disk Maker using an Installer.dmg.

 

But I also have never seen such a result. I boot the usb stick, format my drive using the disk utility and after installing clover calls my hdd "OSX Installer".

When booting it looks like shown in this video:

 

Edit: I just redownloaded the installer app and reinstalled but nothing changed. :(

Share this post


Link to post
Share on other sites

@vapayo - thats an odd thing to happen. the LionDisk Installer after boot up should put into a panel that asks what Language etc.  is this on a fresh HD? if not maybe you have some left over .IAbootfile folder in the root?

Share this post


Link to post
Share on other sites

Hey,

thanks for your answer.

The language dialog comes when I boot the installer usb. (I select german, the setup is german, but when rebooting the "installing"-screen is english)

 

I have 3 Partitions on my harddrive, EFI, Windows, OS X.

Before installing I always formatted the OS X partition using the disk utility, so I think there shouldnt be some left files, right?

Share this post


Link to post
Share on other sites

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 

Share this post


Link to post
Share on other sites

Hmm,

is there something I can do about that?

 

I have not done anything special except the windows partition, but I do not see why this should make my fresh installation an installer. O.o

 

Edit: And it is 100% on the harddrive, I can boot it when I remove the installer usb stick.

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 tluck
      Lenovo T460 macOS with Clover Guide
      Release v2018.05.17 on GitHub Updated to Clover r4458 Updated Lilu.kext - supports both Sierra and High Sierra Updated AppleALC.kext - supports both Sierra and High Sierra + added back DVMT patch for 10.13.2+ Updated VoodooPS2Controller.kext (RehabMan version) + SSDT updates for T460 Added Frank's T470p DSDT files
        Various Tweaks over Last months The zip file is a complete Clover ESP (/EFI) bundle and kext pack for the Lenovo T460. The current file bundle is tested on Sierra. 
      Note: I never got the GFX fully working on El Capitan. 
      Full Clover file set - config.plist etc. Includes all custom kexts Includes custom DSDT/SSDT scripts and patches Utility scripts The zip bundles are posted to GitHub: https://github.com/tluck/Lenovo-T460-Clover/releases
      Caveat: The T460 systems used here was configured with: i5-6300U, Intel HD Graphics 520, 1920x1080 touch screen. If you have a different system model, then extract the ACPI files and use the included scripts to create a set of files consistent with your system type and BIOS version. See below for details.
      Credits: RehabMan, Shmilee, vusun123, TimeWalker, Mieze from which, much of their work and help is/was was used to get the T460 to this point.
      Devices and aspects working:
      Ethernet -  Intel I219LM is enabled via IntelMausiEthernext.kext WiFi/BT - substitute the Intel WiFi/BT with a compatible Broadcom or Atheros chip Audio - ALC293 codec implemented via AppleALC.kext (old AppleHDA_ALC293 and CodecCommander kexts are not needed) PS2 - ClickPad + TrackPoint + all 3 buttons - using a modified VoodooPS2Controller to support new layouts - and added some custom Fn key maps based on 440/450 dsdt USB - implemented via custom SSDT + USBInjectAll kext. All USB3/USB2 ports are intel-based and work -  3 external USB and internal Camera, BT, etc  Sleep/Wake - the sleepwatcher package and custom sleep/wake scripts are used to help with sleep/wake for BT and PS2 devices. Note: have not tried to implement the SD card reader - no driver found.
      ACPI Files
      New Installation - Steps and Details
      Part 1 - OS Installation
      Part 2- Post OS Installation and Setup
      Notes on Custom Kexts
       
    • By frankiee
      Hi there, time for my first guide after asking so many things
       
      Updated for newer Clover versions and with additional instructions for more apps: gdisk and RU.
       
      So what may be overlooked sometimes in the whole boot loader discussion is the ability of UEFI to do more than just loading an OS. This is why I see ".efi" files as "apps" because in fact they just are, built on a special kind of API: UEFI. So, you can actually do stuff like editing, diagnosing, testing certain stuff at the lowest possible system level without booting to any OS.
       
      DISCLAIMER: Use this guide at your own risk! For educational purposes only! Should do not any harm, but remember you are dealing with rather low level stuff. But at least for me everything went flawless.
       
      Prerequisites:
      Working clover installation Clover Configurator or some app to edit the config.plist  
      1) Memtest
       
      This is how to install the UEFI version of Memtest with Clover:
      Download memtest, I used this link: Image for creating boot-able USB Drive Open the archive by double clicking on it. Mount the file memtest86-usb.img within by double clicking again. Now, you should see a folder named EFI in this volume, containing a folder BOOT. Open it. The files containing it are the actual app, in 32 and 64 bit versions. Think in almost all cases we want to use the 64 bit version. Now, mount your EFI partition, using Clover configurator. Create a folder named MemTest86 in the EFI folder on your main drive. Copy all files in the EFI/BOOT folder from the mounted image to your newly created folder. That ends the basic setup! Now, we add the correct Menu entry to the clover boot menu, so that we can actually start this app.
       
      Get into clover configurator, open your standard config.plist from your boot drive and go to the GUI section. Under "Custom Entries", add an entry like this:
       

       
      Please note while the path you enter is not case sensitive, you must make sure you use the backslash "\" for entering paths, and not a slash. So basically what we do is tell clover where it can find the app, give it a name, and tell clover it is a "Windows" app. Note: with older Clover versions we had to set this to "Linux", but for now "Windows" is the setting that works.
       
      If you prefer to do a manual config, add this entry to your config.plist, under GUI/Custom/Entries:
      <dict> <key>CustomLogo</key> <true/> <key>Disabled</key> <false/> <key>FullTitle</key> <string>MemTest86</string> <key>Hidden</key> <false/> <key>Ignore</key> <false/> <key>Image</key> <string>\EFI\CLOVER\themes\Icons\os_mint.png</string> <key>Path</key> <string>\EFI\MemTest86\BOOTX64.efi</string> <key>Type</key> <string>Windows</string> <key>VolumeType</key> <string>Internal</string> </dict> Now, save and reboot and you should see the newly created entry. Note that I also used a custom Icon - this is optional - in case you don't you will just see a generic windows icon instead:
       

       
      And this is how it looks like:
       

       

       
      PS: also noticeably faster and you get also more features with this version than with the older version, for example it does now write a log file. For more Information, see: http://www.passmark.com/forum/showthread.php?4315-Memtest86-Version-5-Beta-%28Pure-UEFI%29
       
       
      2) gdisk
       
      Another app you can use is the UEFI version of gdisk (aka GPT fdisk), which you can use to edit and change your partitions.
       
      Warning! Install and use this app at your own risk! If you do something wrong here you might nuke your drive(s), so only use that if you know what you are doing.
       
      This is how to do it (even easier):
      Download here: https://sourceforge.net/projects/gptfdisk/files/gptfdisk/1.0.1/gdisk-binaries/gdisk-efi-1.0.1.zip/download Mount your EFI partition Unzip the file and copy the resulting folder to your EFI Folder, so your path goes like this "/Volumes/EFI/EFI/gdisk-efi" Get into clover configurator, open your standard config.plist from your boot drive and go to the GUI section. Add an entry like this:  
      If you prefer to do a manual config, add this entry to your config.plist, under GUI/Custom/Entries:
      <dict> <key>CustomLogo</key> <false/> <key>Disabled</key> <false/> <key>FullTitle</key> <string>GDisk</string> <key>Hidden</key> <false/> <key>Ignore</key> <false/> <key>Image</key> <string></string> <key>Path</key> <string>\EFI\gdisk-efi\gdisk_x64.efi</string> <key>Type</key> <string>Windows</string> <key>VolumeType</key> <string>Internal</string> </dict> When everything went OK you should see this after selecting the respective entry in Clover:
       

       
       
      3) RU
       
      I recently found one more app that might be interesting to some, and thats "Read Universal" or in short "RU". This is a tool that enables you to debug your BIOS and read (and modify!) every imaginable data, including UEFI variables, ACPI Tables etc.
       
      Warning, again! I think blindly messing around with this app is even more dangerous, but on the other hand it gives you access to a lot of potentially interesting stuff.
      Download here: http://ruexe.blogspot.de/ The next steps are basically the same as above so make a folder in your EFI partition, copy the .EFI files and make another custom entry in your config.plist Here are some screens:
       

       

       

       
       
      So this is what you also can do with UEFI and clover. I am curious which other useful applications might exist!
       
      Anybody who knows, maybe post it here?
    • By TimNeumann
      MB: Asus X99 A-II
      RAM: G.Skill Ripjaws V F4-3200C16D-32GVK (3200MHz, 4x 16GB DIMMs, so Total 64GB) in quad-channel configuration.
      CPU: i7 6800k @4.0Ghz
      GPUs: GTX 1080 Ti and GTX 1060 3GB
      (each one a monitor, because I can't get DVI to run parallel with DP on the 1080Ti, and my second monitor only has DVI/VGA)
      OS: High Sierra 10.13.2 (17C88) / Clover revision: 4392
       
      Hello everybody,
      I occasionally have system crashes and suspect that it is related to RAM. However, this RAM is completely new, and a run with MemTest86+ from the USB stick showed no errors. However, if I use Memtest on MacOS, I get a bunch of error messages, but sometimes none (I restart the computer between tests).  
      As I just discovered, my RAM is not on the recommended vendor list of my motherboard, nor is it on the manufacturer side of the RAM. I have read several times that the RAM may not have been tested by the manufacturer on this platform. Not a single X99 motherboard is listed for this RAM.
      So I also suspect that my RAM is not compatible.
      But if that were the case, how could it sometimes work completely error-free?
       
      During RAM tests in summer 2017 (a slightly different setup, 4x8GB but still G.Skill Ripjaws V) I had no errors at Memtest under MacOS, if I remember correctly. At that time it ran under Sierra 10.12.6. AptioMemoryFix.efi could also cause problems.
      I am appreciative for any help!
       
      Here is an excerpt from a faulty test.
      It is noticeable that it is always the same address during the test, but a different one after each test.
      Memtest version 4.22 (64-bit) Copyright (C) 2004 Charles Cazabon Copyright (C) 2004-2008 Tony Scaminaci (Macintosh port) Licensed under the GNU General Public License version 2 only Mac OS X 10.13.2 (17C88) running in multiuser mode Memory Page Size: 4096 System has 12 Intel core(s) with SSE Requested memory: 57232MB (60012990464 bytes) Available memory: 57232MB (60012990464 bytes) Allocated memory: 57232MB (60012990464 bytes) at local address 0x00000001033e1000 Attempting memory lock... locked successfully Partitioning memory into 2 comparison buffers... Buffer A: 28616MB (30006495232 bytes) starts at local address 0x00000001033e1000 Buffer B: 28616MB (30006495232 bytes) starts at local address 0x00000007ffc4d800 Running 1 test sequence... (CTRL-C to quit) Test sequence 1 of 1: Running tests on full 57232MB region... Stuck Address : ok Linear PRN : testing 7 of 16 FAILURE! Data mismatch at local address 0x0000000e88133d30 Expected Data: 0xc4c340079ac9a645, Actual Data: 0xc4c3400788468846 Running comparison tests using 28616MB buffers... Random Value : ok Compare XOR : ok Compare SUB : ok Compare MUL : ok Compare DIV : ok Compare OR : ok Compare AND : ok Sequential Increment: ok Solid Bits : ok Block Sequential : testing 80 of 256 FAILURE! Data mismatch at local BUFA address 0x000000078b8c7530, BUFB address 0x0000000e88133d30 BUFA Data: 0x4f4f4f4f4f4f4f4f, BUFB Data: 0x4f4f4f4f88468846 Checkerboard : testing 3 of 64 FAILURE! Data mismatch at local BUFA address 0x000000078b8c7530, BUFB address 0x0000000e88133d30 BUFA Data: 0x5555555555555555, BUFB Data: 0x5555555588468846 Bit Spread : testing 1 of 128 FAILURE! Data mismatch at local BUFA address 0x000000078b8c7530, BUFB address 0x0000000e88133d30 BUFA Data: 0x0000000000000005, BUFB Data: 0x0000000088468846 Bit Flip : testing 74 of 512 FAILURE! Data mismatch at local BUFA address 0x000000078b8c7530, BUFB address 0x0000000e88133d30 BUFA Data: 0x0000000000000200, BUFB Data: 0x0000000088468846 Walking Ones : testing 40 of 128 Clover Files attached
      config.plist
      drivers64UEFI.zip
      kexts.zip
      ACPI.zip
    • By BurpSuite
      screenshot:
       

       
      description:
      github: https://github.com/burpsuite/clover_theme
×