Jump to content
K0gen

Lenovo ThinkPad T420 with UEFI Only

4,865 posts in this topic

Recommended Posts

@AJ - to get rid of verbose boot you need to change the nvram var. it keeps the last set used in nvram.

$ sudo nvram -p

to see what is in nvarm
then
$ sudo nvram -d boot-args

which will remove it from nvram and clover will just use what is config.plist

OR next boot go to Options and manually change the boot-args and it will save these next time.

@honeywell.

i would get on vanilla 10.8.3 then push in custom kexts.

the attached clover config+kext bundle will allow you boot totally vanilla with clover - some things wont work. but it will be up and running
if you booting vanilla - mv OEM to OEM-NU for the time being.

after you have boot with vanilla OSX - then copy/install custom kexts from the \EFI\CLOVER\kexts\10.8 and 10.8-SLE into your OSX /S/L/E
change the folder 4236AT9 to your product ID - use Clover GUI/Options/SMBIOS menu to see your ID.

(rename OEM-NU to OEM )
it will then use \EFI\CLOVER\OEM\ProductID\config.plist instead of the default config.plist

I hope this makes sense. sorry in a rush today.

 

Update 06-18-2013 - revised pack - see post #242

Share this post


Link to post
Share on other sites
Advertisement

Thanks tluck, but I'm having problems getting on vanilla 10.8.3. I am unable to boot even in Safe Mode once updated to 10.8.3. It gives me a kernel panic.

Share this post


Link to post
Share on other sites

@honeywell -

 

yes - it does seem to be a bit catch-22. but this bundle will get you running on vanilla 10.8.3. The Clover bundle I just posted will auto-patch the generic DSDT and fix/patch the AppleIntelCPUPM kext that usually causes KPs... then you can complete the hack/installation process to get all the other pieces running!

 

Steps:

1) install clover bundle+kext pack in ESP (\EFI\CLOVER) partition without OEM stuff - it has some kexts required.

2) install/boot vanilla 10.8.3 - clover loads extra kexts from EFI.

3) install custom kexts in /SLE - so audio, sleep, battery, etc all work and then it will build the kernel cache.

4) install \EFI\CLOVER\OEM folder in ESP - so now the extra kexts are not used from ESP. And clover will find and use the matching OEM\Product folder and use that config.plist if its there instead of the default config.plist.

 

since you had a running chameleon version - you should not have install/create a new build for clover. essentially if you copy (Carbon Copy etc) your OSX partition a MBR disk to an OSX partition on a GUID format disk you are ready to go. The key difference is really that you just changing the bootloader - which gets all the config/stuff from the ESP /EFI partition vs the /Extra folder.

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?

Share this post


Link to post
Share on other sites

@dirtyMetis - you should not have to boot safe. do you required kexts (fakesmc) on the usb? what is your config.plist look like?

Share this post


Link to post
Share on other sites

update to 10.8.4 with no issue (with Clover 1794)

 

Hi Tetonne-

Can you please describe the process you followed for the update?

 

Thanks,

AJ

Share this post


Link to post
Share on other sites

tluck-

 

I updated to 10.8.4. I am able to boot without -x! I followed your instructions, but some things are still not working. First and foremost, the screen is completely glitchy and stretched. Sound doesn't work, but oddly enough, the battery is detected and I can see the percentage. Is there a way to get everything else I listed to work? Thanks! I will also reread the thread.

 

Oh yea, another thing I forgot to mention - I am still not able to boot without the USB. When I boot to the USB, it allows me to boot into the Clover installed on the hard drive, which is 1794. Then I boot into OS X, and am able to boot without KP. If I boot without the USB, nothing happens - Clover isn't launched or anything. Weird...

Share this post


Link to post
Share on other sites

@honeywell - progress is good!

 

make sure there is /EFI/BOOT/BOOTX64.efi and you have set UEFI First in boot order setting in BIOS Startup menus. Clover can make itself as a boot option. go the clover (command key symbol) in the GUI and make it a boot option.

 

audio - i presume all the kexts from the bundle (both sets from the 10.8. and 10.8-SLE folders) were installed in /S/L/E?

if you dont have 1600x900 screen change DualLink to 0 in both config.plist files in /EFI.

good luck!!!

Share this post


Link to post
Share on other sites

@dirtyMetis - you should not have to boot safe. do you required kexts (fakesmc) on the usb? what is your config.plist look like?

 

Just followed the steps as directed in the first post, created the usb install drive with Lion DiskMaker, then ran Korgen's linked "Clover_v2_r1625k0.pkg" and chose the newly created install usb as the destination. Reboot with usb drive and experience the above-mentioned results.

 

Would it make any difference than I'm creating the USB drive in VirtualMachine on a different sysetm?

Share this post


Link to post
Share on other sites

tluck - gah this is frustrating! I'm pretty sure I followed your instructions perfectly but the screen and audio are still not cooperating. I have the 1600x900 screen.

 

Also, could you explain the folder structure of /EFI/? I have /EFI/BOOT, /EFI/CLOVER/, and /EFI/OEM. However, I also have /EFI/CLOVER/OEM.

 

Another thing - I'm not sure how to find the product ID. When I looked in the Clover menu at boot, I didn't see it. However, if I install Clover 1625, inside /EFI/CLOVER/OEM there is a folder with a product ID (I don't know if it is my product ID). Installing Clover 1794 gives me a generic folder in /EFI/CLOVER/OEM called "Product Name" with some config and other folders in it.

Share this post


Link to post
Share on other sites

@honeywell - yeah understood. just to recap...

you should be able totally replace the contents of /EFI with the zip contents in post 202.

after you install the kexts in your OSX /S/L/E, then the OEM folder comes into play. check/fix perms on the kexts?! the DSDT from the OEM folder will set id 12.

make sure your product number matches the folder name. Note: i have model 4236AT9 - which may match yours (or not?) - it is listed by the clover GUI (hit F1 i think).

Share this post


Link to post
Share on other sites

Hi Tetonne-

Can you please describe the process you followed for the update?

 

Thanks,

AJ

Apple menu update :)

this is ok if you use tluck pack cos no kext is update by 10.8.4

Share this post


Link to post
Share on other sites

I was able to get everything working (audio, battery, usb) except for a perfect screen. I'm still getting frequent ring stalls (graphics lag). I'm using tluck's config.plist and his display overrides. The EDID seems to inject correctly. Anyone know what to do? I'm using the 1600x900 screen.

 

As a side note, and this might be relevant, I was only able to boot successfully by formatting the ESP partition as hfs - not msdos. However, I still need to boot from the USB, and then boot into the SSD's Clover.

 

Here is my boot.log: https://dl.dropboxus...566087/boot.log

and my system.log: https://dl.dropboxusercontent.com/u/66566087/system.log

 

from /Library/Logs/CloverEFI

Share this post


Link to post
Share on other sites

@honeywell - it am not sure what happened to your ESP partition as it should have been automatically be formatted fat32 when you partition the disk as GUID. the reason you cant boot from your HD is because the lenovo UEFI cant read the hfs formatting. does your diskutil output look like this? the EFI partition really should be fat32 formatted.

 

 

$ diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *750.2 GB disk0

1: EFI 209.7 MB disk0s1

2: Apple_HFS OSX+ 698.3 GB disk0s2

3: Microsoft Basic Data C 51.5 GB disk0s3

 

not sure what to say about your LCD and the EDID that seem to work for me. i did figure out how to make this work on chameleon today. i was able put the working EDID in the dsdt and i dont get ring stalls. I boot the GUID disk with chimera/chameleon on USB. the reason i have explored chimera is that it does loose trackpad after sleep.

Share this post


Link to post
Share on other sites

That is what "diskutil list" in terminal looks like.

 

The reason it isn't fat32 formatted is because when I installed Clover 1794 the first time, it failed and spit out an installation error log that told me that I needed to create the EFI partition myself. It said I could either use msdos or hfs and I chose hfs.

 

Also, I don't know if this is relevant to the graphics thing, but in ioreg -l, under AppleBacklightDisplay, my IODisplayPrefsKey is this: "IODisplayPrefsKey" = "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@0/display0/AppleBacklightDisplay-6af-203e"

 

Since is AppleBacklightDisplay-6af-203e, I removed the DisplayVendorID-30e4 override folder from my display overrides and added the 6af one. Still getting ring stalls though.

 

Update: Wow... I am at the white screen error again. When I boot with slide=0 darkwake=10 -v, I get a white screen after I see the verbose print. This happened after I tried sleeping the computer but sleep failed (the power button was rapidly blinking) so I held the power button down to shut down.

Share this post


Link to post
Share on other sites

@honeywell - sorry about your challenges.

 

i have too experience sleep issues (rapid blinking - often) and sometimes the trackpad goes away after wake.

i dont know if this is a Clover problem or config problem (dsdt, options etc). its very frustrating.

 

T420 users - are you seeing the same thing?

Share this post


Link to post
Share on other sites

Still no progress here. The white screen issue is very frustrating. Is it possible for someone to upload their entire EFI folder and for me to replace my EFI with that? Would that work?

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 TomZanna
      Hi, I'm trying to install Mac Os Catalina on a HP 550-132NL.
      The system has:
      i7-6700
      RAM 12 GB
      GT 730
      LAN Realtek RTL8161
      ALC3863
       
      It passes the verbose phase but after the Apple logo goes away, it gets stuck on a grey screen and I can only move the pointer.
      Can I try to boot with the iGPU?
       
      origin.zip
      CLOVER_dGPU_USB_3.zip
    • By MaLd0n
      --Donations via PayPal--
      https://tinyurl.com/r2bvzm7
       
      --Original Topic--
      https://www.olarila.com/topic/6874-olarila-hackbook-lenovo-ideapad-s145-mojave-catalina-full-dsdt-patches/
       

       
      -Perfect HackBook, HDMI Audio/Video, Bluetooth, AirPlay, Sleep, Lid Sleep, Auto Sleep, Audio, etc!
      -Wifi card has been replaced with Dell DW1560!
      -I'm using a S145-15IWL Model with Intel Core i5 8265u / Intel UHD Graphics 620
      -Update bios/uefi to last version
       
      --Installation--
      https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/
       
      --Clover Folder--
      Just paste EFI folder inside EFI partition
      https://www.olarila.com/files/Clover.Folder/Lenovo IdeaPad S145.zip
      Notebooks with ELAN trackpad use it with my folder above
      IdeaPad S145 ELAN.zip
       
      Bluetooth Broadcom
      Bluetooth Broadcom.zip
       
      CPUFriend for i5-8265U
      CPUFriend i5-8265U.zip
       
      --Full DSDT Patches--
      -My DSDT
      DSDT Lenovo IdeaPad S145.zip
       
      This DSDT work on S145-14IWL, S145-15IWL, V14-IWL, V15-IWL models
      -Patches
      -FIX ERRORS AND WARNINGS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA SERIE 11 ID -DMAC -REMOVE LINES, PROBLEMATIC and UNUSED -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -FWHD -USBX -PMCR -PPMC -XSPI -GMM -IMEI -EC -PRWs -_DSMs -PNLF -BRIGHTNESS KEYS -I2C -NATIVE USB -ARPT -GFX0 -DTGP -kUSBCompanionIndex -io-device-location -FULL RENAMED DEVICES   --IGPU Patch--
      Video solution with HDMI Audio and Video
      <key>PciRoot(0x0)/Pci(0x2,0x0)</key> <dict> <key>AAPL,GfxYTile</key> <data> AQAAAA== </data> <key>AAPL,ig-platform-id</key> <data> CQClPg== </data> <key>device-id</key> <data> pT4AAA== </data> <key>enable-hdmi20</key> <data> AQAAAA== </data> <key>framebuffer-con0-alldata</key> <data> AAAIAAIAAACYAAAA </data> <key>framebuffer-con0-enable</key> <integer>1</integer> <key>framebuffer-con1-alldata</key> <data> AQEJAAAIAADHAQAA </data> <key>framebuffer-con1-enable</key> <integer>1</integer> <key>framebuffer-con2-alldata</key> <data> AgYKAAAEAADHAQAA </data> <key>framebuffer-con2-enable</key> <integer>1</integer> <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> <key>hda-gfx</key> <string>onboard-1</string> <key>model</key> <string>Intel Corporation, Cannon Point-LP Iris Plus Graphics 655</string> </dict>   --Native USB Fix for Notebooks - No Injector/Kext Required--
      https://www.olarila.com/topic/6878-guide-native-usb-fix-for-notebooks-no-injectorkext-required/
      https://www.olarila.com/topic/6181-guide-native-usb-fix-for-desktops-no-injectorkext-required-skylake/
       
       
      -ScreenShots

































      -Links
       
       
      Clover https://github.com/CloverHackyColor/CloverBootloader
      AirportBrcmFixup.kext https://github.com/acidanthera/AirportBrcmFixup
      AppleALC.kext https://github.com/acidanthera/AppleALC
      Brcm Bluetooth https://github.com/acidanthera/BrcmPatchRAM
      Lilu.kext https://github.com/acidanthera/Lilu
      SystemProfilerMemoryFixup.kext https://github.com/Goldfish64/SystemProfilerMemoryFixup
      VirtualSMC.kext https://github.com/acidanthera/VirtualSMC
      VoodooI2C.kext https://github.com/alexandred/VoodooI2C
      VoodooPS2Controller.kext https://github.com/acidanthera/VoodooPS2
      WhateverGreen.kext https://github.com/acidanthera/WhateverGreen
      MaciASL - https://github.com/acidanthera/MaciASL
      acpica - https://github.com/acpica/acpica
      AptioMemoryFix.efi https://github.com/acidanthera/AptioFixPkg
      ApfsDriverLoader.efi https://github.com/acidanthera/AppleSupportPkg
      HFSPlus.efi https://github.com/JrCs/CloverGrowerPro/blob/master/Files/HFSPlus/X64/HFSPlus.efi?raw=true
      Hackintool https://github.com/headkaze/Hackintool
       
      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
       
      Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, Sampath007, onemanosx, erroruser, Jenny David, Olarila Facebook Community, Hackintosh Facebook Community and many others!
       
      We're all here to have fun and learn from each other!
    • By mikezexter
      (Dear moderators please replace this topic to another category if I made a mistake in choosing it)
       
      Hello everybody. I need some help in trying to fix native AppleHDA sound on my X230T.
      VoodooHDA works perfectly but without needed HDMI audio channel so I need to try fix my sound in native mode.
       
      AppleALC told us here (README) that in v1.2.1 Added ALC269 layout-id 18 for Thinkpad X230 by Hypereitan. And if it works I didn't need to create this topic.  Unfortunately layout ids 1,2,3,18 and 55 didn't help me to fix sound issue.
       
      My Clover: https://drive.google.com/open?id=1FuGS7iE59ydgiMsxZcDMarlAFH3FliNE (it's 2 MB bigger than I could upload for now)
      I've also uploaded some screenshots of what I've seen after 5 reboots in a row changing layout ids. Please help me to fix this issue.
       
    • By MaLd0n
      ---TUTORIAL---
      https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/
       
      --Original Post--
      https://www.olarila.com/topic/6531-olarila-hackbeast-z390-designare-thunderbolt-full-dsdt-patches-clover-opencore/
       
      --Bios/UEFI Settings--
       
      *Update bios/uefi to F7+*
      1- Go to M.I.T./Advanced Frequency Settings tab
       
      Extreme Memory Profile (X.M.P.) - Profile 1
       
      2- Go to BIOS tab
       
      CSM Support - Disabled
       
      3- Go to Peripherals/Thunderbolt(TM) Configuration tab
       
      Security Level - No Security
      Thunderbolt USB Support - Enabled
      GPIO3 Force Pwr - Enabled
       
      4- Go to Chipset tab
       
      Internal Graphics - Enable
       
      ---CLOVER FOLDER---
      https://olarila.com/files/Clover.Folder/EFI CLOVER Z390 DESIGNARE.zip
      *Use this folder with FULL DSDT PATCHED
       
      ---OPENCORE FOLDER---
      https://www.olarila.com/topic/6364-mojave-catalina-on-mobos-series-100200300-with-opencore-bootloader/
      *Use this folder with FULL DSDT PATCHED
       
       
      ---Extract one Full dump for DSDT edits, post files---
       
      RunMe.app
       
       
       
      ---HARDWARE---
       
      --MOBO

      GIGABYTE Z390 DESIGNARE
      -Link
      https://www.amazon.com/Z390-DESIGNARE-Gigabyte-Thunderbolt-Motherboard/dp/B07K8RJZRG/ref=sr_1_1?keywords=Z390+DESIGNARE&qid=1565492390&s=electronics&sr=1-1

      --PROCESSOR

      Intel Core i9-9900K
      -Link
      https://www.amazon.com/Intel-i9-9900K-Desktop-Processor-Unlocked/dp/B005404P9I/ref=sr_1_1_sspa?keywords=Intel+Core+i9-9900K&qid=1553358099&s=gateway&sr=8-1-spons&psc=1

      --COOLER

      CORSAIR H100i RGB PLATINUM AIO Liquid CPU Cooler
      -Link
      https://www.amazon.com/CORSAIR-H100i-PLATINUM-Liquid-Cooler/dp/B07JWB5BSN/ref=sr_1_4?keywords=WATER+COOLER+CPU&qid=1565492509&s=gateway&sr=8-4

      --MEMORY

      Corsair CMW32GX4M2C3200C16 Vengeance RGB PRO 32GB (2x16GB) DDR4 3200 (PC4-25600)
      -Link
      https://www.amazon.com/Corsair-CMW32GX4M2C3200C16-Vengeance-PC4-25600-Desktop/dp/B07GTG2T7L/ref=sr_1_15?keywords=memory+ddr4+32&qid=1553358238&s=gateway&sr=8-15

      --GPU

      MSI RX Vega 64 AIR Boost 8G OC
      -Link
      https://www.amazon.com/MSI-RX-64-AIR-8G/dp/B07DH7S1X1/ref=sr_1_2?keywords=vega+64+gigabyte&qid=1565492819&s=electronics&sr=1-2

      --SSD

      Samsung 970 EVO 1TB SSD (MZ-V7E1T0BW) NVMe M.2 V-NAND
      -Link
      https://www.amazon.com/Samsung-970-EVO-1TB-MZ-V7E1T0BW/dp/B07BN217QG/ref=sr_1_1?keywords=s+samsung+970+evo+1tb&qid=1565493002&s=electronics&sr=1-1

      --POWER SUPPLY

      EVGA Supernova 1000 P2 80+ Platinum, 1000W ECO Mode Fully Modular 
      -Link
      https://www.amazon.com/EVGA-Supernova-Platinum-Crossfire-220-P2-1000-XR/dp/B00EKJQM5E/ref=sr_1_3?keywords=power+supply+1000w&qid=1565493196&s=gateway&sr=8-3

      --WIRELESS

      TP-Link Archer T9E
      -Link
      https://www.amazon.com/TP-Link-Archer-T9E-Beamforming-Technology/dp/B00TQEX7AQ/ref=sr_1_1?keywords=TP-Link+Archer+T9E&qid=1553358397&s=gateway&sr=8-1

      --CASE

      Thermaltake Core P5 Tempered Glass Black Edition ATX Open Frame Panoramic Viewing
      -Link
      https://www.amazon.com/Thermaltake-Tempered-Panoramic-Certified-CA-1E7-00M1WN-03/dp/B01N4IGVSC/ref=sr_1_2?keywords=Thermaltake+Core+P5&qid=1565493567&s=gateway&sr=8-2

      --DSDT Patches--
      -FIX ACPI ERRORS -FIX OEM SSDTs to AVOID ERRORS AND WARNINGS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA -DMAC -REMOVE PROBLEMATIC AND UNUSED DEVICES -FIX K.P in REBOOT -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -FWHD -USBX -PMCR -PPMC -XSPI -CNVW -GMM -IMEI -EC -PNLF -ARPT -GFX0 -NVME -DTGP -ACQUIRE MUT0 0XFFFF -MUTEX MUT0 0x00 -EXTERNAL REFERENCES -UNKNOWNOBJ -HDMI / HDAU -FULL RENAMED DEVICES ---SCREENSHOTs---




















      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
      Thanks to KGP for SSDT Thunderbolt
      Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, Sampath007, onemanosx, erroruser, Jenny David, Olarila Facebook Community, Hackintosh Facebook Community and many others!
      We're all here to have fun and learn from each other!
×