Jump to content
Kogen Mantis

Lenovo ThinkPad T420 with UEFI Only

4,583 posts in this topic

Recommended Posts

i said win cause you need to extract a clean dsdt for comparison but it can be done with clover too ,anyway i always say the way i done it , good it works ok , i like my hackintosh's and the community, its a more personal way of computing i suppose :)

Share this post


Link to post
Share on other sites
Advertisement

Hi guys. I have a t420 on 10.8.5, which has been running perfectly for months now (well, you know, except for sleep, hardware buttons, etc). Would I be able to update to Mavericks directly, in-system? Would it boot afterwards so I can replace the necessary kexts, ect? Or do I NEED to create a Mavericks usb? Has anyone tried a direct update and succeeded?

Share this post


Link to post
Share on other sites

Hi guys. I have a t420 on 10.8.5, which has been running perfectly for months now (well, you know, except for sleep, hardware buttons, etc). Would I be able to update to Mavericks directly, in-system? Would it boot afterwards so I can replace the necessary kexts, ect? Or do I NEED to create a Mavericks usb? Has anyone tried a direct update and succeeded?

if you're using a GTP GUID

Up to me you just have to downolad 10.9.x

click on install (select HD) install

reboot select install partition

boot without kext and cache (press space)

install will finish

after you'll have to place back 10.9 kext from a other boot volume

Wait tluck advice to confirm this 

Share this post


Link to post
Share on other sites

yes that works... if you have Clover installing on a GUID with driver HFSPlus-64.efi. it works just like on a real mac. 

i.e. you can boot into the installers and/or Recovery HD.

 

Note: the zip i posted has 2 modes.

1) Install/recover - the top level config.plist is good for installers etc... as it will inject the kexts needed.

2) Normal mode - i.e. use OEM/<Product>/config.plist - assumes custom kexts replace stock versions.

 

for use with installers, i just rename the OEM folder to OEM.NU to move it out the way for these functions.

 

even so, i do have a USB installer as it so easy to make now!

Share this post


Link to post
Share on other sites

Hi All, 

 

I have trying to install Mavericks  on my T420s using Tlucks guide but have been unsuccessful, has anybody done a fresh install of Mavericks on a T420s? your help would be greatly appreciated, any help really would be greatly appreciated.

 

I followed the steps below and managed to create a USB boot disk however when I boot, the computer keeps crashing and rebooting. I have attached a couple of pictures with the error messages.

 

Regards

 

LC

 

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

  • for 10.9 install USB
    1. Download Mavericks from the App Store - puts in /Applications
    2. Partition an 8GB USB as GUID (use option menu to change from MBR) - call this partition USB
    3. Run this command:
      sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ OS\ X\ Mavericks.app —nointeraction
       
  • Common steps:
  1. manually mount ESP of USB and copy the clover EFI folder onto USB ESP (assuming the USB is disk2
    mkdir /Volumes/ESP-USB
    mount -t msdos /dev/disk2s1 /Volumes/ESP-USB
  2. Don't rename OEM folder yet - for USB installer use top level config.plist so it will inject kexts
  3. Rename config.1600x900.plist to config.plist or rename config.1366x768.plist to config.plist - depending on which matches your system.
  4. Boot from USB and select Install OSX
  5. Install on your GUID OSX partition!

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

 

post-1132187-0-23796400-1391001280_thumb.jpg

post-1132187-0-58678100-1391001405_thumb.jpg

post-1132187-0-25238000-1391001459_thumb.jpg

post-1132187-0-46919500-1391001663_thumb.jpg

Share this post


Link to post
Share on other sites

hmm. yeah something is not right! not sure where/why there all those SMC errors? i just retested the procedure - built a GUID USB installer with 10.9.1 and it works fine for me! 

basics - turn off VT-d virtualization? 

 

anyway, so i presume you are using the "top-level" config.plist (vs OEM folders) that is set to inject the kexts - you may to try and remove the dsdt.aml file from /EFI/CLOVER/ACPI/patched (not sure if a T420s is the same as T420 ?

Share this post


Link to post
Share on other sites

I'm sure it's simple, but when trying to install Clover, both latest from Sourceforge and from the supplied clover link, v2 1625, the installation keeps failing at the scripts section. 

 

I'm on a 10.6.6 vm, trying to boot from a 250+ mb usb, and I've got ML on the other one.

 

Here's what I've done:

 

sudo diskutil eraseDisk "MS-DOS FAT32" EFI GPTFormat /dev/disk2        /* Formatted 250mb USB */ Here's what it looks like

/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *261.8 MB   disk2
   1:       Microsoft Basic Data EFI                     260.0 MB   disk2s1

Installing Clover, and I get an exclamation with "This Installation Failed". 

 

Now, what would be the correct settings when trying to setup Clover on USB? I let it default and it always fails. I'm stumped.

Share this post


Link to post
Share on other sites

@Adrenalation ... does not seem like your USB is properly formatted?

 

you can copy the zip bundle and follow instructions in from the guide in my signature to make a OSX installer. v1625 is ancient so you probably want to not start with that rev. 

 

to make a GPT USB, it should look more like this with diskutil ... the EFI partition is automatically formatted as FAT32.

 

$ sudo diskutil eraseDisk JHFS+ test GPT /dev/disk2

Started erase on disk2

Unmounting disk

Creating the partition map

Waiting for the disks to reappear

Formatting disk2s2 as Mac OS Extended (Journaled) with name test

Initialized /dev/rdisk5s2 as a 14 GB case-insensitive HFS Plus volume with a 8192k journal

Mounting disk

Finished erase on disk2

 

tluck@toms-mac ~

$ diskutil list

/dev/disk0

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *750.2 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                  Apple_HFS OSX+                    697.7 GB   disk0s2

   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

   4:       Microsoft Basic Data C                       51.5 GB    disk0s4

/dev/disk2

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *15.6 GB    disk2

   1:                        EFI EFI                     209.7 MB   disk2s1

   2:                  Apple_HFS test                    15.3 GB    disk2s2

Share this post


Link to post
Share on other sites

No wonder the installation was failing. Does the guide in your SIG tell you how to install clover and boot installation disk off of one USB? Also, will 8gb be enough?

 

Also.....where do i find this ZIP bundle?

Share this post


Link to post
Share on other sites

So where would I find the zip bundle? In your post or at the start of this thread?

Just kidding. One more question. First format the way you described, install the b2482 cloverboot package, and copy the installesd os x image to the USB and I should be good to go?

Share this post


Link to post
Share on other sites

Quick edit on your guide, the reason I couldn't get it working was because of my directory structure on the esp partition. I put the files of clover folder in /ESP, whereas it should be /ESP/EFI/.....

 

Read all 87 pages. Phew, finally figured it out. I congratulate everyone who contributed to their discoveries.!

Runs like native Mac! Woohoo!

Share this post


Link to post
Share on other sites

@Adrenalation - well glad it worked out for you! thanks for the input ... I have added a bit more to the instructions in hopes to make the steps clearer for others! Welcome to the T420 Hack club! 

Share this post


Link to post
Share on other sites

@Tluck

 

Hi Tluck.

 

Thanks for your help, disabling the VT-d virtualization solved my issue.

 

I have a couple of more questions for you, what do you mean by the following.

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

Set up OEM folder: Here is the tricky part - fix OEM folder name to match your system model (found on the bottom label or clover will list it.)

 

I have a 1600x900 LCD , but i am still trying to figure out what the system model is.

 

Cheers

 

 

LC

Share this post


Link to post
Share on other sites

@lcortez - one way to get your product id is to go into the Clover GUI and hit the  arrows key before the count-down to navigate to the Options Menu then look in SMBIOS. or if you install the clover scripts, then the /Library/Logs/CloverEFI/boot.log will also show it.

 

3:170  0:000  Clover revision: 2547  running on 4236AT9

3:170  0:000  ... with board 4236AT9

Share this post


Link to post
Share on other sites

@Tetonne

 

- did you change the name of the volume?

- did you put the clover stuff in the right subdirectory folder?

 

/<mntpt>/EFI/CLOVER or for example: /Volumes/ESP/EFI/CLOVER/

Share this post


Link to post
Share on other sites

Dear,

 

I think I have a very strange case here with my ThinkPad T420 (4180AJ5). It seem not able to boot the Clover Boot loader. After restart (set to boot in UEFI Only mode, and also tried with "both" and "UEFI First" mode) .. the pen drive seem to be working for a few seconds (the flash light on the pen drive telling me so). But after that, every thing seem to freeze here. What I can see on screen is just a simple black screen with a blink cursor on the top left corner .. and nothing happen.

 

My pen drive set up seem to be good as I put it on my friend ThinkPad X201 ... it boot just fine and able to perform the OS installation.

 

I had tried replicate the BIOS setup of both ThinkPad T420 and X201 .. make it as identical as possible. But no luck.

 

 

Any kind / expert advise ?

 

Appreciated it .. Best Regards.

Share this post


Link to post
Share on other sites

@k.surachai

a simple black screen usually means that it can't find a bootable image on any disk.

 

- did you select the USB to boot from F12 or set USB to be first?

- is your USB formatted MBR or GPT/GUID? 

- what is on your CLOVER USB? did you install Kogen's pack or my pack? 

Share this post


Link to post
Share on other sites

@karaoketropical - almost! the guide should work (mostly) for your T420s except for the DSDT. A few folks on this thread have T420s and i think they took the mods and applied to T420s dsdt. you can ask them to see if there is a post with T420s DSDT or other differences. Pokenguyen is one member i believe.

Share this post


Link to post
Share on other sites

hi

Does anyone have problem on the lcd like washout colours, vertical lines and streched pictrure?

I have T520 2520 with integrated HD3000 only, and 1920x1080 lcd

On 10.6 was ok, I was able to use 1280x1024 by use command graphics mode, default was 1024x768

On 10.7,10.8 and 10.9 the picture is as mentioned above.

I tried "graphics enabler=no" with no resault

Thanks for any advice

f3yt.jpg

Share this post


Link to post
Share on other sites

@TLUCK

 

First of all thanks for your help so far, i have got my T420S working and booting, however the only issue i have now is that i cannot login into any of the apple services.

 

Face time

Messages

App store.

 

Can you please advise what i need to do.

 

Once again thanks for your help, you are a legend.

Share this post


Link to post
Share on other sites

@wojtoo - all you have to do is add DualLink = 1 to config.plist (or the DSDT) - download the zip from my signature and use that instead of the clover v1625 stuff i see in the image! the DSDT in there should really help you out.

 

@lcortez -

(1) do you have Recovery HD partition?

(2) if you have installed the ethernet kext, then remove 

/Library/Preferences/SystemConfiguration/NetworkInterfaces.plist   

reboot and re-add network devices. 

Share this post


Link to post
Share on other sites

@TLUCK

 

That worked, i can use all the apple serviced bar FaceTime. Every time i try to login it goes to the stage of Verifying then it asks me to login again without any errors.

 

Cheers

Share this post


Link to post
Share on other sites

@k.surachai

a simple black screen usually means that it can't find a bootable image on any disk.

 

(1)- did you select the USB to boot from F12 or set USB to be first?

(2)- is your USB formatted MBR or GPT/GUID? 

(3)- what is on your CLOVER USB? did you install Kogen's pack or my pack? 

 

@TLUCK

 

Thanks for your kind response. Here more info from my point.

 

(1) - both, my boot order is (USB CD/USB HDD/HDD0/...) also once the machine fail for find bootable media, it jump to Boot Device list. I try the USB again from the F12 menu list ... also, nothing happen

 

(2) - I think it's MBR

 

(3) - Neither. I don't have Macintosh or Hackintosh machine yet. So, I can't create USB from your pack. My plan is to install iAtkos L2 first, then use it to run your pack. I use "Bootdisk Utility v2.0.2013.159" to create the Clover boot USB.

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 glasgood
      CLOVER DUAL BOOT MOJAVE & WINDOWS 10 GUIDE 
       

       
       
      INCLUDES  MBR / LEGACY BIOS  TO  GPT / EFI CONVERSION
      USING MBR2GPT TOOL
       
       
      PREREQUISITE: Two physical discs ( SSD’s or HDD’s )
       
       
       
       
       
      STEP 1 - Clover dual boot configuration 
       
      Open config.plist with Clover Configurator
       
      Boot
       Legacy = PBR Timeout = True ( will remove the Timeout countdown, from Clover boot menu)  

       
      GUI 
      Scan / Custom
       Entries = True  Tool = True  Legacy = False ( removes extra Windows 10 entries )  
      Hide Volume
      - Preboot ( macOS Preboot )
      - Recovery ( macOS Recovery )
       

       
      So at boot you will have two options: boot macOS Mojave or Windows 10 
       
       
       
       
       
       
       
      ————————————————————
       
       
      STEP 2 - Using a drive without Windows 10 installed
       
      Disconnect system drive that contains your macOS Mojave install from computer ( This is so that Windows does not overwrite existing macOS Mojave boot loader )
       
      Proceed with a Windows 10 UEFI install.  
      After installation reconnect macOS Mojave Drive, the Windows installation should now be detected and usable in Clover. 
      If Windows 10 is not detected or able to boot,  then verify you installed Windows 10 as UEFI and not MBR ---->  ( Read step 2 - For a drive with Windows 10 installed )
       
       
      OR
       
       
       
      STEP 2 - Using a drive with Windows 10 already installed
       
      Verify your Windows install is  GPT / UEFI or MBR / Legacy BIOS.   
      If Windows install is GPT UEFI then Windows 10 install is ready to use at Clover boot menu, you should be able to boot into Windows directly from Clover boot screen. 
       

       
       
      But if  Windows drive is detected at Clover boot screen, but when booting Windows you get a black screen with a cursor on the top left,
      then this is most likely because Windows drive is MBR ( Legacy BIOS ).  You can easily convert MBR to GPT using  Windows MBR2GPT tool ( this saves hours work having to reinstall Windows 10 and setting up all your applications again  ) 
       
      If Windows 10 install is MBR / Legacy BIOS  then simply convert to GPT / UEFI  following instructions below ( read video summary and view video )
       
       
      ** To use Windows 10  MBR2GPT tool  you must have Windows 10 version 1703 ( creators update  ) or later and less than 3 partitions on 
      the Windows 10 drive **
       
      Video summary:
       
      Confirm Windows 10 drive is MBR Legacy BIOS ( in Windows Disk Management ) Reboot into Windows PE ( Advanced Startup ) Convert from MBR Legacy BIOS to GPT UEFI ( using commands below ) mbr2gpt /validate mbr2gpt /convert Restart Verify Windows 10 drive has changed to GPT UEFI ( in Windows Disk Management )  
       
       
       
      After conversion Windows 10 is ready to use at the Clover boot menu 
       
       
       
      STEP 3 - Stop Windows Boot manager from overriding Clover boot manager
       
      How to stop Windows boot manager from overriding your Hackintosh Clover boot manager when using dual booting between macOS and Windows
       
       
       
       
       
       
    • By Averyfreeman
      Dear @tluck 
       
      I have a T460s 20F9-003HUS - I5-6300U 2C 2.4GHz, FHD non-touch, 8GB DDR4, PM961 NVMe, vPro, AMT, etc.
      http://psref.lenovo.com/Detail/ThinkPad_T460s?M=20F9003HUS
       
      I have been following the following thread to hackintosh my T460s:
       but it's very long and hard to sort through, so I thought I'd start a new thread specifically for this issue
       
      Personally, my model has been doing pretty good with just the T460 EFI from github.  I did run the scripts to create and patch a new DSDT, though, after installing patchmatic and iasl.  I also manually installed VooDooPS2Controller.kext by following the guide on RehabMan's git wiki. 
       
      I also re-installed my kexts from CLOVER/kexts/other using kext helper to build them into the kext cache
       
      My only glaring issue is the touchpad.  It's unusably bad, I've had to use a mouse which kinda sucks on a laptop.
       
      It'll be really slow and then all of the sudden be really fast.  It hangs and skips intermittently.  Kind of hard to describe but it's {censored}. 
       
      So far I've tried: 
       
      installing latest version of VooDooPS2Controller, urning off all gestures, modifying speed, patching DSDT with autogen scripts (iASL, patchmatic). 
       
      Has anybody seen this problem?  What do you recommend I do?  
       
      Happy to provide any logs anyone believes would be relevant via pastebin, etc. 
       
      Thank you!
    • By SoThOr
      This was spurred on from a discussion in the Clover General thread. Where there was a debate on bcdedit being able create/read/edit (U)EFI Boot entries. I didn't think it appropriate to post all this information there and somebody may want to make use of this and its likely to get lost in that massive thread.
       
      Out of curiosity I decided to see if I could create an EFI entry using bcdedit. What can I say I like a challenge.  Whilst is not a documented method by Microsoft, as it turns out in a round about way it IS possible to create an EFI entry using bcdedit and these are the steps I went through to add UEFI Shell located on a USB stick to the EFI entries. 
       
      Third party software is available that can create and edit UEFI entries from Windows with better support and more features. I'm just making this information available in case those options are unavailable. 
       
      DISCLAIMER - This is not a supported method. Use at your own risk. I recommend backing up your BCD/Firmware variables/settings beforehand.
       
      1) Copy {bootmgr} entry.
      C:\Windows\System32>bcdedit /copy {bootmgr} /d "UEFI Shell" The entry was successfully copied to {34e8383c-73a7-11e9-9cb0-94de8078a7b5}. 2) Edit the new entry using the new GUID bcdedit generated in the copy step.
        a) Set the device and path for UEFI shell on my USB stick.
      bcdedit /set {34e8383d-73a7-11e9-9cb0-94de8078a7b5} device partition=G: bcdedit /set {34e8383d-73a7-11e9-9cb0-94de8078a7b5} path \EFI\SHELL\SHELLX64.efi   b) Clean up some of the stuff that was copied from {bootmgr} (optional as far as I can tell, just makes things tidier in bcdedit)
      3) Put the new EFI entry first in boot order. (optional)
       
      After completing the steps above, here is what "bcdedit /enum firmware" shows:
       
      I shutdown my computer and when I turned my computer back on it booted up into UEFI Shell. After exiting the shell my PC went on to boot Windows.
      Here is the resulting dump using "bcfg boot dump -v" from that shell:
       
      You may notice that the shell shows as "Windows Boot Manager" in the bcdedit output. This I believe is because of the "WINDOWS" at the beginning of the option data that bcdedit added to the EFI Boot entry. I also believe this why bcdedit shows my Windows 8 installation as "Firmware Application" because it has no option data. I don't know how to remove this data using bcdedit nor do I know how the option data, that bcdedit adds, will affect other EFI applications.

      There might be a way to create the EFI entry without copying the Windows entry but if there is I'm unable to find any documentation on how one would do so. If you use the create command then it just puts it in the BCD and I'm unaware of a way to tell it to create it in EFI instead, other than by doing the above.
    • By cvad
      Small tool to download, compile and build the latest Clover X64 package.
       
       
       

      The script inside is editable.

       
      Enjoy...
       
      Many thanks to the comrade SunKi for help with creating the script.
       
       
       
       
       
      Best thanks - click "Rate File".
       
×