Jump to content
K0gen

Lenovo ThinkPad T420 with UEFI Only

4,870 posts in this topic

Recommended Posts

4 hours ago, tluck said:

@tasteTheBacon

 

the HD3000 kext set really need to be in the OS (/S/L/E) as they don't seem to work properly from the ESP.  

 

but now you are saying it wont boot into graphics mode at all?

 

you can try to boot up in non-HD3000 by setting the GFX ID in the Clover Options menu. then you go to graphics sub menu to set the product id to 0x12345678 - then it should boot up in basic mode. this way you can remove stuff from the ESP and and validate stuff in /S/L/E 

 

@tluck

Yes, unfortunately it won’t boot into graphics mode at all now. 

In the meantime I’ve deleted the 10.14 folder from the ESP (ultrabay hdd has windows 10, used it for deletion ). So conflict shouldn’t be an issue in any case now. 

I’ve tried to boot with product id 0x12345678, but sadly it didn’t make any difference. 

I’m pretty confident that the HD3000 and SNB kext is in the right place, even checked permissions with “ls -l” after all the previously ran commands in /S/L/E. 

Tried again with -v, -x, nv disabled, injection of edid , without injecting intel , without injecting any kext and the combinations of all of the above. 

Its all lead to the same result. 

 

Edited by tasteTheBacon
Typo

Share this post


Link to post
Share on other sites
Advertisement

tluck-  I'll try an installation of High Sierra. I do have an untouched USB stick of that ready to go. If I have any sort of success, I'll let you know.

 

Regarding a rollback to an earlier version of Clover.. There might be a way to do it from the Windows side but I'm far too much of a novice to know how to do that. I could roll back if I could get into OSX, but obviously that isn't happening at the moment :)

 

Let me try an HS install and go from there.

 

Thanks-

Steve

 

Edited by skoon432

Share this post


Link to post
Share on other sites

Well this didn't take long at all!

 

High Sierra is suffering the same problem as Yosemite.  It tries to start and it simply stalls out. OSX is seeing something it doesn't like, period.  At this point, I give up.  Whatever is wrong is far beyond my scope of understanding but I still firmly believe the fault lies in a bad version of Clover. I'm convinced that it had some sort of very bad bug in this specific version and it totally trashed up the OSX partition in some weird way. Oh how I wished I had just left it all alone and not tried upgrading to a newer Clover release. A lesson learned and now its too late! :(

 

 

IMG_1392.jpg

Share this post


Link to post
Share on other sites
21 hours ago, tasteTheBacon said:

 

Its all lead to the same result. 

 


To be pro-active: I've tried everything, even reset my bios settings, deleted and re-copied everything to the SSD ESP.
None of these helped. 

But fortunately, I figured it out, sort of. 

The solution for me was to go in to the Clover Options menu while booting up and manually select a different config.plist and then re-select the default one (Which was highlighted by default).

Without this manual step the boot hangs.

With it it boots fine.

I've even got the HD3000 kext loaded and brightness working with this step.

If you ask me it doesn't make any sense to me. Can this be a Clover bug? 

 

Not sure if you have any tip on how to skip this manual step, but either way, thank you for the support @tluck , and also @goodguess for the tip. It's all highly appreciated.

 

Screenshot 2018-12-14 at 20.26.20.png

Share this post


Link to post
Share on other sites

great. so which config file worked? I think you are saying use used the default config.plist but you manually selected it? 

Edited by tluck

Share this post


Link to post
Share on other sites
On 12/16/2018 at 12:33 AM, tluck said:

great. so which config file worked? vs the default config.plist

 

So this is what I've done :

When I created the USB installer for Mojave I've renamed the Mojave 1600x900 config plist to config.plist in the USB EFI / Clover folder.

My intention was to convert it to become the default config that clover selects.
While installing MacOS from the USB this setup worked.

Once MacOS finished install to the SSD I've copied everything from the USB EFI to the SSD EFI.

When I tried to boot from the SSD it failed as detailed in previous comments. 
Clover properly highlighted my config.plist (which was originally the 1600x900 Mojave config) as the selected one, despite this I had to manually select a different config and re-select the default one to make a successful boot attempt.
I suspect that if I delete all other config.plist it will boot just fine and this is a Clover bug, but I didn't have the time to check this yet.

 

 

Share this post


Link to post
Share on other sites
On 11/3/2018 at 9:59 PM, goodguess said:

I still have the BIOS/UEFI stuff on a 1GB thumb drive.

My BIOS was at 1.48 with my last T420, lets hope the downgrade still works via DOS with BIOS 1.5.2

The bootable thumb drive is 1 GB, I´ll copy the needed files to a folder.

You will need to make a bootable volume from them to get into DOS for downgrading BIOS.

 

Here are the files: https://www.magentacloud.de/lnk/fvStA9ob

Good luck!

 

hi goodguess

sorry to bother you,

i must be stupid, cos i don't know how to do :(

there're 2 readme.txt (in TP and in root level)

i'm under w10 and my bios is 1.52 i want to wl to use my new wifi card

what must i do cos the stuff un-zip on USB doesn't boot my t420

can you please give step by step how to

Thanks for your help

best regards

Share this post


Link to post
Share on other sites

so i figured out why the Panel LCD brightness slider is missing for some folks. WhateverGreen conflicts with the AppleBackupLightInjector so it is not setting the ApplePanel property correctly. it is missing F10Txxxx in its Info.plist 

 

So for now remove WhatheverGreen.kext from your ESP or /L/E

or add this to the Info.plist

 

                                <key>F10Txxxx</key>

                                <data>

                                ABEAAACMANgBNgGPAf4CowNFA+cExwU1B1oJHAsTDZsQ

                                WRMS

                                </data>

 

to the WhateverGreen.kext/Contents/Info.plist right above F14Txxxx

Edited by tluck

Share this post


Link to post
Share on other sites
23 hours ago, Tetonne said:

hi goodguess

sorry to bother you,

i must be stupid, cos i don't know how to do :(

there're 2 readme.txt (in TP and in root level)

i'm under w10 and my bios is 1.52 i want to wl to use my new wifi card

what must i do cos the stuff un-zip on USB doesn't boot my t420

can you please give step by step how to

Thanks for your help

best regards

 

It has been some time since I downgraded my second T420, memory does not better with age either. :)

Basically you have to create a thumb drive which boots into DOS.

As you got that, you copy over the files I pointed to, onto that thumb drive.

Then after DOS boot, you downgrade with the DOS utility (everything else failed on my side)

At last you flash the patched 1.46 (with whitelist removed) in Windows.

 

I´ll look through my writing to check what still makes sense to me.

Share this post


Link to post
Share on other sites

So yeah, the procedure seems to be still doable.

Looks like I did not want to delete anything I had found, though it is not needed to get the downgrade done.

Follow these simple steps:

1. Grab a USB stick and format it FAT32 with the hidden DOS system files on it.

I think I used HPUSBDisk.exe and the files from usbdos.zip while running some Windows OS.

2. Copy over all needed files.

 You will need at least PFLASH.exe, B146.FL1, B146M.FL1 and the TP directory with the winflash.exe.

3. Boot from your USB device into DOS.

4. Type in: PFLASH /sa B146.FL1 (This should downgrade your T420 to BIOS 1.46)

5. Boot into Windows again, open a DOS window and navigate to USB/TP/bios_mod.

6. Type in: winflash /sa B146M.FL1

From the winflash GUI, select "Flash BIOS only" then click on the "Flash" button.

That should be it - reboot and enjoy your modded BIOS.

You may have guessed that M stands for the modded BIOS you finally want.

Besides the whitelist removal, some AMT features are also disabled with the mod.

 

Good luck!

 

For the rare possibility that you already ditched all your Windows installer DVDs:

The Internet Archive has one here: https://archive.org/details/HPOperatingSystemDVDWindows7ProfessionalSP164-bit650434-DN32012

No serial needed, but the install is not a "genuine" W7 of course. ;)

 

HPUSBDisk.exe

usbdos.zip

OpenMe.iso

Edited by goodguess

Share this post


Link to post
Share on other sites
On 12/6/2018 at 4:31 PM, tluck said:

@MikeDece

 

hmm. i just went through creating a HighSierra and Sierra Installer to validate the process not long ago.

  

so for you, it seems like the installer runs and started to do the install - without black screen when you removed ScreenResolution 900x600?

 did it complete install?

 is there a microsoft install on the disk?

 

Yeah once, I removed the default 900x600 resolution and adjusted it to fit mine, I was able to get it to the point where it allowed me to use the diskutility tool in order to repartition and whatnot. Once I created the base partition and it copied the files over from the USB to the installation partition, and I'd boot into it, it got about midway before stopping and telling me the `NSLocalizedDescription` error as seen in the following JSON response:

2018-12-05 11:35:49+00 MacBook-Pro OSInstaller[552]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=110 "An error occurred while extracting files from the package “Core.pkg”." UserInfo={PKInstallPackageSHA256Digest=f6947c0c5ae5d2bd3bf90a557647131c186627831e182a624c8239b5ed9cd2c4, NSLocalizedDescription=An error occurred while extracting files from the package Core.pkg”., NSFilePath=/Volumes/macOS/.OSInstallSandboxPath/Root, NSURL=Core.pkg -- file:///Volumes/InstallESD/Packages/OSInstall.mpkg, PKInstallPackageIdentifier=com.apple.pkg.Core, NSUnderlyingError=0x7fba4786a1f0 {Error Domain=PKXARArchiveErrorDomain Code=101 "archive verify failed" UserInfo={NSURL=file:///Volumes/InstallESD/Packages/Core.pkg#Payload, NSFileOwnerAccountID=0, NSFileHFSTypeCode=0, NSFileSystemFileNumber=462, NSFileExtensionHidden=false, NSFileSystemNumber=16777245, NSFileSize=4460809648, NSFileGroupOwnerAccountID=0, NSFileOwnerAccountName=root, NSFilePosixPermissions=420, NSFileHFSCreatorCode=0, NSFileCreationDate=2018-07-04 19:40:30 +0000, NSFileType=NSFileTypeRegular, NSFileGroupOwnerAccountName=wheel, NSFileReferenceCount=1, NSFileModificationDate=2018-07-04 19:42:05 +0000, NSLocalizedDescription=archive verify failed}}} {
	    NSFilePath = "/Volumes/macOS/.OSInstallSandboxPath/Root";
	    NSLocalizedDescription = "An error occurred while extracting files from the package \U201cCore.pkg\U201d.";
	    NSURL = "Core.pkg -- file:///Volumes/InstallESD/Packages/OSInstall.mpkg";
	    NSUnderlyingError = "Error Domain=PKXARArchiveErrorDomain Code=101 \"archive verify failed\" UserInfo={NSURL=file:///Volumes/InstallESD/Packages/Core.pkg#Payload, NSFileOwnerAccountID=0, NSFileHFSTypeCode=0, NSFileSystemFileNumber=462, NSFileExtensionHidden=false, NSFileSystemNumber=16777245, NSFileSize=4460809648, NSFileGroupOwnerAccountID=0, NSFileOwnerAccountName=root, NSFilePosixPermissions=420, NSFileHFSCreatorCode=0, NSFileCreationDate=2018-07-04 19:40:30 +0000, NSFileType=NSFileTypeRegular, NSFileGroupOwnerAccountName=wheel, NSFileReferenceCount=1, NSFileModificationDate=2018-07-04 19:42:05 +0000, NSLocalizedDescription=archive verify failed}";
	    PKInstallPackageIdentifier = "com.apple.pkg.Core";
	    PKInstallPackageSHA256Digest = f6947c0c5ae5d2bd3bf90a557647131c186627831e182a624c8239b5ed9cd2c4;
	}

 There was no prior microsoft install, I had some partition table that wasn't the GPT, on which I had a main partition with a Fedora LLVM partition and an extended partition that contained Gentoo and Ubuntu. When I was going through the install I wiped the entire disk, created a GPT table, and made two formatted HFS+ filesystem partitions from an Ubuntu Live USB, which I later deleted and reformatted from the disk utility tool found in the HighSierra install.

 

After making these posts, I tried to obtain a legitimate MacOS HS installer which I had my friend download for me (since it wasn't letting me do it), verified it, and repeated the process. Got the same result as before.

Note: Since I don't have a Mac myself, I used VirtualBox on Ubuntu 18.04 to run the latest Sierra to create the USB installer for part 1. 

 

Apologies for the late response, I gave up on hackintosh and just installed Windows and ElementaryOS. I'd be willing to give it another shot but at the moment I don't see the sensibility if I can't create a proper installer without having access to a Mac. 

Share this post


Link to post
Share on other sites

Sorry to hear about your mischief MikeDece.

As you mentioned your T60, mine is still running Snow Leopard 10.6.7.

I recall installation was brain dead simple with the use of Nawcoms Mod CD and a SL retail DVD.

You may know that Internet Archive is hosting SL retail DVDs:

https://archive.org/details/cd-roms?and[]=snow+leopard&amp;sin=

I could dig out Nawcoms Mod CD for sure.

Note that Nawcoms Mod will only work with a 10.6.0 or 10.6.3 retail DVD - not with the grey DVDs.

Such install would give you basic Intel "Mac" sort of. ;)

From there, you could follow the guide to set up a bootable thumb drive with Clover / Sierra.

 

Other than using your T60, setting up 10.6 Server via virtualisation is possible too.

I cant tell how to do that in GNU/Linux.

Its easy enough on a Mac with VMWare Fusion, but thats another hen-egg problem for you. :(

Edited by goodguess

Share this post


Link to post
Share on other sites
On 12/19/2018 at 6:06 PM, goodguess said:

1. Grab a USB stick and format it FAT32 with the hidden DOS system files on it.

I think I used HPUSBDisk.exe and the files from usbdos.zip while running some Windows OS.

2. Copy over all needed files.

 You will need at least PFLASH.exe, B146.FL1, B146M.FL1 and the TP directory with the winflash.exe.

3. Boot from your USB device into DOS.

4. Type in: PFLASH /sa B146.FL1 (This should downgrade your T420 to BIOS 1.46) 

 

on W10 : These 4 first steps are OK but they bring me back from 1.52 to 1.49 (not 1.46).

I suppose i have to test it again on W7 :(

 

Step 3 with : No GUI, no Windows (10), just the DOS prompt A:∖ on an empty black screen.

Edited by Tetonne
add info about step 3

Share this post


Link to post
Share on other sites

Tetonne, did you really boot into DOS?

No GUI, no Windows (10), just the DOS prompt A:∖ on an empty black screen.

Its a miracle to me how you should have got 1.49 when you had 1.52.

When I tried (long ago) PFLASH from DOS was the only way to downgrade BIOS.

Usually you could only upgrade to a higher version from the Windows command line.

As I never had BIOS 1.52 things may be different by now or something is locked.

 

Please bear with me asking the above, maybe I got something wrong. :)

Edited by goodguess

Share this post


Link to post
Share on other sites

Some sort of off topic, but I saw the T420s being sold at affordable prices.

Did anybody succeed with a T420s hackintosh?

The specs are looking similar, except for USB3, there also seems to be modded BIOS available for whitelist removal.

Share this post


Link to post
Share on other sites

@goodguess - yes T420s is very similar hack as T420. i am not sure if the USB3 is still supported and working though. 

Edited by tluck

Share this post


Link to post
Share on other sites

Thanks tluck, I was thinking of the T420S, USB3 will be an issue there too.

Also I´m curious whether somebody succeeded flashing BIOS for whitelist removal. 

Presumably PFLASH (DOS) would do the job.

Share this post


Link to post
Share on other sites
Quote

found on bios-mods.com thanks to zmb :

 

Here are some additional modifications to the bios modded some time ago (I think everything that people usually want):
- No whitelist
- AES-NI lock removed
- MSR 0xE2 unlocked
- Added advanced menu
- Memory lock to 1333 removed (now supports DDR3 1600 and 1866)
- Intel vbios updated from 2089->2170
- Re-signed with custom key to get rid of 5 beeps on boot (Does anybody have these beeps? If you get the error 1901: or some nonsense about security after this, you need to reset bios settings to defaults)

In the folder mod, there are bioses with different number of modification. It is possible to know what modification is applied from the name of the file: NWL - no whitelist, NWL_ADV - no whitelist + advanced menu etc. if you need to apply specific bios from the list, you need rename it to $01C8000.FL1 and place it to the folder 83ET82WW.

All credit goes to the TimeWalker and ValdikSS from the folowing posts:
1. https://www.bios-mods.com/forum/Thread-T...#pid114437 (this post has nice descriptions how to implement all the modifications)
2. https://www.bios-mods.com/forum/Thread-R...#pid141098
 (the re-signing thing)

Every modification is tested on my t420. But as always, use it at your own risk.

Link: http://rgho.st/private/7DYcBR7MF/7572e9d...8da07b25e0

 

Quote
found on bios-mods.com thanks to zmb :
When the newer version of the bios will be available (if at all) you could try change yourself. There is an easy way to apply modifications to the new bios version without disassemblers or any such fancy tools.

For this you need one external tool: UEFItool 

This tool could be used to extract some specific module from the bios image (*.FL1 - file) and then to replace it with the modified one. Each module is a program, which performs some functions. For example the whitelist check is done in the module "LenovoWmaPolicyDxe.efi"

The idea is that for the minor bios changes the modules in the bios-image of different versions are the same. And it is possible to replace the original module in the newer version of the bios with patched module from the older one. (see pic1)pic1.jpg.3c85e61c4fd656ed73d6deaecc55a432.jpg

For example if I extract the "LenovoWmaPolicyDxe.efi" from 1.51 bios and from 1.52 and compare them in binary mode, then I will see that the modules are the same. (command for binary compare: fc /b file1 file2 - see pic2)pic2.JPG.8f387e02bd193f82fe238da326e542df.JPG


This means, that I could take the patched module from the v1.52 ("LenovoWmaPolicyDxe_modded.efi") and replace the original module in the v1.51. This way I would get the whitelist free version of the bios v1.51.

The example above may be true for the next version of the bios v1.53 and for other models of thinkpads as well.

Of course If the extracted module is not the same and the binary compare shows differences, then bad luck and it is better not to touch it.

 

 

Share this post


Link to post
Share on other sites

so back to 1.52 after downgrade to 1.49.

but i did not success to apply mod with "run WINUPTP.EXE /S from this folder"

WINUPTP.EXE dosen't seem to be recognised :(

from this 1.52mod: http://rgho.st/private/7DYcBR7MF/7572e9d...8da07b25e0

pain in the neck

can someone help

i now know how to downgrade from 1.52 to 1.49 (not 1.46)

back to 1.52 ok

i tant to WL this {censored}... T420 (1.52 or previous lol)

 

 

Share this post


Link to post
Share on other sites

Hi T420 peeps!  I'm a first time hackintosh builder and I could use some help getting my machine off the ground.  I've researched for about a week and I've spent a couple days just trying to get a mountable USB to use (and I'm not even sure if I did that correctly).  To some extent I followed TLuck's guide, but I had to create some workarounds for limitations - I'm not sure if maybe I skipped something vital that is creating my current road block.

 

Pertinent information

83ET79WW  BIOS 1.49

41786vu
intel i5-2520 2.5ghz
Intel HD 3000 x Nvidia NVS 4200m

1600x900

BIOS settings Album

 

 

Creating the USB... After many attempts to create a working USB install directly from my windows desktop using things like R-drive, rufus, win32diskimager, etc., I ended up creating a Mojave environment in VM Workstation.  However, I cannot download a copy of Mac OS from the app store, for some reason it keeps returning with an 'incomplete' error even though it's up-to-date.  At any rate, I downloaded a .raw file from olarila and used etcher to flash it to my USB.  I then ran Clover r4726 pkg from the 10-31-2018 utilities and plugged it into the T420. 

 

USB finally working... I boot to clover and the initialization scripts run - I finally see the "Install Mac OS" and disk utility.  Which brings me to my current road block: I cannot write to my internal disk.  I have unplugged it and swapped it into my desktop to reformat to no avail.  I also swapped in a spare clean drive with no luck.  My gut feeling is that something in the BIOS is stopping the USB installer from speaking to the hard disk.  Any ideas?

 

 

EDIT:

I'm so dumb.  "diskutil eraseDisk JHFS+ disknamehere disk0" formatted it with no issues.  However now it says that I can't install 10.14 on this computer...

ERROR_F236DD3E91

1770041574_2018-12-2717_07_19.thumb.jpg.e406b6a1122e2879b46f26ebb4d6528e.jpg

 

 

 

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

 

When I run "diskutil list", I'm met with about 30 "drives" including my 160gb install drive and the USB, but also ~28 weird drives of varying sizes.

1178819920_2018-12-2714_57_32.thumb.jpg.652939d85d97e4dbf00a575a9d1026fe.jpg

Attempted First aid:

Running First Aid on "" (disk0s1)

Repairing file system.
volume is already unmounted.
performing fsck_exfat -y -x /dev/rdisk0s1
checking volume.
checking main boot region.
main boot region is invalid. trying alternate boot region.
checking alternate boot region.
alternate boot region is invalid. 
the volume could not be verified completely.
file system check exit code is 1.
restoring the orignal state found as unmounted
file system verify or repair failed

Operation failed...

Attempting to format/erase:

1715503746_2018-12-2714_58_58.thumb.jpg.010423837b236730d1d958dcc1c43e58.jpg

 

 

 

Edited by namisloc

Share this post


Link to post
Share on other sites

Hi namisloc.

I would assume that you did hit several obstacles at one time.

My thoughts:

- A macOS Hackintosh can not boot with two active GPU. Did you disable the NV graphics in BIOS?

- HD 3000 IvyBridge laptops are incompatible with 10.14 Mojave.

- Your boot volume should be empty and clean for installation. Best use a Gparted Live CD to swipe clean your HDD/SSD.

 

If I was in your place, I would step back to a Snow Leopard machine and prepare a bootable USB device for 10.11/10.12/10.13 from there.

Snow Leo still runs fine on Core2Duo rigs. You may install with Nawcoms Mod CD and a SL retail DVD from the Internet Archive.

A virtual machine running 10.6 Server is another option of course.

 

As you got macOS on your boot USB device with tlucks EFI package, you may install on your T420.

Of course tluck´s EFI package has to be copied to your HDD/SSD to boot from it.

Remember that the Clover package must be installed onto the hidden EFI partition EFI/EFI/Clover.

The EFI partition is automatically created by macOS DiskUtility when initialising your HDD/SSD as HFS drive.

(Use a GPT partition table at this step.)

As you got e.g 10.12 on your T420 and booting with tlucks EFI package, you may DL 10.14 from the app store,

as the T420 pretends to be a MBP late 2013 which is supported for Mojave upgrades.

 

Mojave will only work with the new APFS file system.

You can only format your HDD as APFS as you already got Mojave.

When upgrading to Mojave from an earlier macOS, your HDD/SSD will be converted to APFS by force.

The procedure may fail for several reasons: Too little room on the given device, Mojave dislikes the drive, its a Monday, etc. ;)

Either way, be aware that the upgrade will take a really long time and may fail several times.

 

It may be recommendable to start a new thread for your work.

Most of us here already had several macOS versions on their T420 and do read here only for fine tuning.

 

Share this post


Link to post
Share on other sites

Hi, first of all thanks to everyone keeping this alive.

 

I recently upgraded to Mojave after having El Capitan installed for more than 2 years without any serious problems, but it was time to upgrade... Install went smooth but I'm having same issues with black screen as @tasteTheBacon . His solution to remove all configs and use default config.plist worked and now I can boot fine, but there are some problems: brightness adjustment doesn't work - I guess it will work with the 1600x900 mojave config.plist if the booting problem is fixed. I've also noticed that I'm sometimes getting system freezes for few seconds if I click on some items in the menu bar (Apple logo for example) or when I use Preview app or similar image viewers (Xee^3), it is very random and difficult to reproduce as it didn't happen during writing of this post when I tried to randomly click on items in the menu bar. Is anyone else having same problems? I might try to downgrade to High Sierra, but dark mode feature is great.

 

Also my T420 configuration is: i5 2520M CPU, 1600x900 resolution, 16GB RAM if that helps.

 

Edit: Now it froze completely and had to reboot when I tried to open video with Quicktime, also now I've noticed that I can move cursor around while it is frozen.

Edited by bxe

Share this post


Link to post
Share on other sites

Hi bxe!

Got exactly the same T420 config as the one you posted.

Did you install Mojave over your existing El Cap?

I recall some black screens and freezes during the Mojave upgrade, but things are working fine since (booting with -v).

I´m using tluck´s 1600x900config.plist renamed to config.plist.

The only issue I found so far is Preview not opening jpg files.

I did assign jpg files to "XnView MP MacOSX" but Finder displays the ever spinning cartwheel when clicking a jpg just the same.

I had a system freeze yesterday after inserting a SD card from a camera - tons of JPEG on it of course.

My guess is that Finder/Preview tries to access the metal API, which is unsupported by our SandyBridge iGPU.

Other apps may call for metal too, thus freezing the hack, could you share the QT file in question eventually?

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 Klaidonis
      I am making a minimal Clover build for the fastest boot possible with the boot6 file in legacy mode.
      While looking at the preboot.log, I noticed that there is a line without explanation (at 0:892). Apparently, whatever it is, the execution time of it is close to 2 seconds, more than 55% of the total logged boot time in the current configuration. This does not change whether I use USB 2 or USB 3 port.
       
      Is there a way to eliminate or speed up the above? Also, is there anything else you can suggest to improve the performance based on the below log file? Which moment in the boot process corresponds to the start time in preboot.log?  
      The last thing I would like to understand is the delay/timeout after the boot6 file has loaded, and the number 6 disappears from the screen. For about 2 seconds or slightly less, I can press any key, and then it will enter the BIOS-like interface from the boot6 file. Without further knowledge, it seems like those 2 seconds are just delay time, and only after that is CLOVERX64.efi actually started, which, I presume, is approximately when the preboot.log timer starts. So, if the aforementioned is correct, can I get rid of this delay as well? Note that I am using the boot1f32 file to chain-load boot6, which does not include the initial 2-second wait period for a keypress.
       
      === preboot.log ===
      0:100 0:100 MemLog inited, TSC freq: 2394459554 0:100 0:000 CPU was calibrated with ACPI PM Timer 0:100 0:000 LegacyRegion2: Chipset/proc: 0x0A048086 0:100 0:000 Next Generation Core processors (PAM 0x80-0x86) 0:100 0:000 Test PAM1=(0x41=90, 0x5a=90, 0x81=11, 0x91=00) at chipset 0A048086 0:100 0:000 , Install = Success 0:112 0:012 BiosVideoDriverBindingStart! 0:112 0:000 BiosVideoCheckForVbe 0:112 0:000 EdidOverride not found 0:121 0:009 Edid1+ 0:121 0:000 found Detail Timing 1920x1080 0:121 0:000 timing string after 0xFE:AUO 0:121 0:000 timing string after 0xFE:B156HAN01.2 0:122 0:000 0 1280x1024 attr=9B - ok, edid- 0:122 0:000 1 1024x768 attr=9B - ok, edid-, 1024x768, working, highest, pref=1 0:122 0:000 2 640x480 attr=9B - ok, edid-, 640x480, working 0:122 0:000 3 800x600 attr=9B - ok, edid-, 800x600, working 0:123 0:000 4 1920x1080 attr=9B - ok, edid+, working, highest, pref=4 0:123 0:000 BV new mode: 4 1920x1080 0:398 0:275 SetMode pref 4 (4) = Success 0:892 0:493 VGA Pci.Hdr.Command=6 - not enabled 2:623 1:731 2:623 0:000 Now is 21.02.2020, 13:03:21 (GMT) 2:623 0:000 Starting Clover revision: 5103 (master, commit 3f3b85da0) on CLOVER EFI 2:623 0:000 Build with: [Args: -D NO_GRUB_DRIVERS_EMBEDDED -t GCC53 | -D NO_GRUB_DRIVERS_EMBEDDED --conf=/Users/sergey/src/CloverHackyColor/Conf -D USE_LOW_EBDA -a X64 -b RELEASE -t GCC53 -n 5 | OS: 10.14.6] 2:623 0:000 SelfDevicePath=PcieRoot(0x0)\Pci(0x1D,0x0)\USB(0x0,0x0)\USB(0x4,0x0)\HD(1,MBR,0x04944021,0x3F,0x3BC1042) @940C9698 2:623 0:000 SelfDirPath = \EFI\CLOVER 2:623 0:000 SimpleTextEx Status=Success 2:623 0:000 === [ Get Smbios ] ======================================== 2:623 0:000 Type 16 Index = 0 2:623 0:000 Total Memory Slots Count = 2 2:623 0:000 Type 17 Index = 0 2:623 0:000 SmbiosTable.Type17->Speed = 1600MHz 2:623 0:000 SmbiosTable.Type17->Size = 4096MB 2:623 0:000 SmbiosTable.Type17->Bank/Device = BANK 0 DIMM0 2:623 0:000 SmbiosTable.Type17->Vendor = Hynix 2:623 0:000 SmbiosTable.Type17->SerialNumber = 00000000 2:623 0:000 SmbiosTable.Type17->PartNumber = HMT451S6MFR6A-PB 2:623 0:000 Type 17 Index = 1 2:623 0:000 SmbiosTable.Type17->Speed = 1600MHz 2:623 0:000 SmbiosTable.Type17->Size = 8192MB 2:623 0:000 SmbiosTable.Type17->Bank/Device = BANK 2 DIMM1 2:623 0:000 SmbiosTable.Type17->Vendor = Kingston 2:623 0:000 SmbiosTable.Type17->SerialNumber = 5A060A8A 2:623 0:000 SmbiosTable.Type17->PartNumber = KHX1600C9S3L/8G 2:623 0:000 Boot status=0 2:623 0:000 Running on: 'Aspire V5-573G' with board 'Dazzle_HW' 2:623 0:000 === [ GetCPUProperties ] ================================== 2:623 0:000 CPU Vendor = 756E6547 Model=40651 2:623 0:000 The CPU supported SSE4.1 2:623 0:000 BrandString = Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz 2:623 0:000 The CPU supported turbo 2:623 0:000 MSR 0x35 20004 2:623 0:000 MSR 0xE2 before patch 1E008405 2:623 0:000 MSR 0xE2 is locked, PM patches will be turned on 2:623 0:000 MSR 0xCE 0008083D_F3011800 2:623 0:000 corrected FLEX_RATIO = 0 2:623 0:000 MSR 0x1B0 00000000 2:623 0:000 FSBFrequency = 71 MHz, DMI FSBFrequency = 100 MHz, Corrected FSBFrequency = 100 MHz 2:623 0:000 MaxDiv/MinDiv: 24.0/8 2:623 0:000 Turbo: 27/27/27/30 2:623 0:000 Features: 0xBFEBFBFF 2:623 0:000 Threads: 4 2:623 0:000 Cores: 2 2:623 0:000 FSB: 100 MHz 2:623 0:000 CPU: 1700 MHz 2:623 0:000 TSC: 1700 MHz 2:623 0:000 PIS: 100 MHz 2:623 0:000 ExternalClock: 25 MHz 2:623 0:000 === [ GetDevices ] ======================================== 2:623 0:000 GOP found at: PcieRoot(0x0)/Pci(0x2,0x0)/AcpiAdr(0x80010100) 2:623 0:000 PCI (00|00:00.00) : 8086 0A04 class=060000 2:623 0:000 PCI (00|00:02.00) : 8086 0A16 class=030000 2:623 0:000 - GOP: Provided by device 2:623 0:000 - GFX: Model=Intel HD Graphics 4400 (Intel) 2:623 0:000 PCI (00|00:03.00) : 8086 0A0C class=040300 2:623 0:000 PCI (00|00:14.00) : 8086 9C31 class=0C0330 2:623 0:000 PCI (00|00:16.00) : 8086 9C3A class=078000 2:623 0:000 PCI (00|00:1B.00) : 8086 9C20 class=040300 2:623 0:000 PCI (00|00:1C.00) : 8086 9C10 class=060400 2:623 0:000 PCI (00|00:1C.02) : 8086 9C14 class=060400 2:623 0:000 PCI (00|04:00.00) : 168C 0034 class=028000 2:623 0:000 - WIFI: Vendor=Atheros 2:623 0:000 PCI (00|00:1C.03) : 8086 9C16 class=060400 2:623 0:000 PCI (00|05:00.00) : 10EC 5287 class=FF0000 2:623 0:000 PCI (00|05:00.01) : 10EC 8168 class=020000 2:623 0:000 - LAN: 0 Vendor=Realtek 2:623 0:000 PCI (00|00:1C.04) : 8086 9C18 class=060400 2:624 0:000 PCI (00|01:00.00) : 10DE 0FE4 class=030200 2:624 0:000 PCI (00|00:1D.00) : 8086 9C26 class=0C0320 2:624 0:000 PCI (00|00:1F.00) : 8086 9C43 class=060100 2:624 0:000 PCI (00|00:1F.02) : 8086 9C03 class=010601 2:624 0:000 PCI (00|00:1F.03) : 8086 9C22 class=0C0500 2:624 0:000 === [ GetDefaultSettings ] ================================ 2:624 0:000 Clover load options size = 0 bytes 2:624 0:000 CheckOEMPathExists tried EFI\CLOVER\OEM\Aspire V5-573G--00-00-00-00-00-00. Dir not exists 2:624 0:000 CheckOEMPathExists tried EFI\CLOVER\OEM\Aspire V5-573G. Dir not exists 2:624 0:000 CheckOEMPathExists tried EFI\CLOVER\OEM\Aspire V5-573G-1700. Dir not exists 2:624 0:000 CheckOEMPathExists tried EFI\CLOVER\OEM\Dazzle_HW. Dir not exists 2:624 0:000 CheckOEMPathExists tried EFI\CLOVER\OEM\Dazzle_HW-1700. Dir not exists 2:624 0:000 set OEMPath by default: EFI\CLOVER 2:637 0:012 EFI\CLOVER\config.plist loaded: Success 2:637 0:000 === [ GetListOfThemes ] =================================== 2:637 0:000 === [ Found config plists ] =============================== 2:637 0:000 - config.plist 2:637 0:000 === [ GetEarlyUserSettings ] ============================== 2:637 0:000 timeout set to 0 2:637 0:000 Custom boot CUSTOM_BOOT_DISABLED (0x0) 2:637 0:000 Default theme: embedded 2:637 0:000 === [ LoadDrivers ] ======================================= 2:637 0:000 === [ InitScreen ] ======================================== 2:637 0:000 Console modes reported: 4, available modes: 2:637 0:000 - [01]: 80x25 2:637 0:000 - [02]: 80x50 2:637 0:000 - [03]: 100x31 2:637 0:000 - [04]: 240x56 (current mode) 2:637 0:000 SetScreenResolution: 1920x1080 - already set 2:637 0:000 SetScreenResolution: 1920x1080 - already set 2:637 0:000 reinit: self device path=PcieRoot(0x0)\Pci(0x1D,0x0)\USB(0x0,0x0)\USB(0x4,0x0)\HD(1,MBR,0x04944021,0x3F,0x3BC1042) 2:637 0:000 === [ GetMacAddress ] ===================================== 2:637 0:000 === [ ScanSPD ] =========================================== 2:637 0:000 Scanning SMBus [8086:9C22], mmio: 0xB3619004, ioport: 0x5040, hostc: 0x1 2:656 0:018 Slot: 2 Type 24 8192MB 1600MHz Vendor=Kingston PartNo=KHX1600C9S3L8G SerialNo=050A0006000A080A 2:657 0:000 === [ GetAcpiTablesList ] ================================= 2:657 0:000 Get Acpi Tables List from RSDT: 2:657 0:000 - [00]: FACP ACRPRDCT len=268 2:657 0:000 - [01]: UEFI ACRPRDCT len=566 2:657 0:000 - [02]: FPDT ACRPRDCT len=68 2:657 0:000 - [03]: ASF! ACRPRDCT len=165 2:657 0:000 - [04]: HPET ACRPRDCT len=56 2:657 0:000 - [05]: APIC ACRPRDCT len=140 2:657 0:000 - [06]: MCFG ACRPRDCT len=60 2:657 0:000 - [07]: BOOT ACRPRDCT len=40 2:657 0:000 - [08]: LPIT ACRPRDCT len=148 2:657 0:000 - [09]: ASPT ACRPRDCT len=52 2:657 0:000 - [10]: DBGP ACRPRDCT len=52 2:657 0:000 - [11]: SSDT ACRPRDCT len=1337 2:657 0:000 - [12]: SSDT ACRPRDCT len=2776 2:657 0:000 - [13]: SSDT ACRPRDCT len=12013 2:657 0:000 - [14]: SSDT ACRPRDCT len=11433 2:657 0:000 - [15]: SSDT ACRPRDCT len=2230 2:657 0:000 Calibrated TSC Frequency = 2394459554 = 2394MHz 2:657 0:000 === [ GetUserSettings ] =================================== 2:657 0:000 === [ Found DSDT tables ] ================================= 2:657 0:000 === [ ScanVolumes ] ======================================= 2:657 0:000 Found 8 volumes with blockIO 2:657 0:000 - [00]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0) 2:659 0:001 Result of bootcode detection: bootable Linux (grub,linux) 2:659 0:000 - [01]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0x0,0x0) 2:660 0:001 Result of bootcode detection: bootable unknown (legacy) 2:660 0:000 - [02]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(1,GPT,8017BD66-1E24-4B31-8E09-BC49BECD6CC4,0x800,0x21330000) 2:661 0:001 Result of bootcode detection: bootable Windows (vista,win) 2:661 0:000 - [03]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(2,GPT,82F3B738-65E9-458E-B2F1-BB55D4F00885,0x21331000,0x3D0800) 2:663 0:001 - [04]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(3,GPT,E701DCD8-E3C5-4BFA-B61B-BFF4D80153FD,0x21701800,0x18C4F000) 2:664 0:001 - [05]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0x0,0x0)\HD(4,GPT,4DB1239A-A9D7-4045-A162-7EF1B3A5913B,0x3A350C21,0x3A3B616E) 2:665 0:001 Result of bootcode detection: bootable Windows (vista,win) 2:665 0:000 - [06]: Volume: PcieRoot(0x0)\Pci(0x1D,0x0)\USB(0x0,0x0)\USB(0x4,0x0) 2:677 0:011 Result of bootcode detection: bootable unknown (legacy) 2:677 0:000 USB volume 2:677 0:000 USB volume 2:677 0:000 - [07]: Volume: PcieRoot(0x0)\Pci(0x1D,0x0)\USB(0x0,0x0)\USB(0x4,0x0)\HD(1,MBR,0x04944021,0x3F,0x3BC1042) 2:688 0:011 Result of bootcode detection: bootable unknown (legacy) 2:688 0:000 USB volume 2:688 0:000 USB volume 2:688 0:000 This is SelfVolume !! 2:688 0:000 PutNvramPlistToRtVars: nvram.plist not found 2:689 0:000 No AudioIoProtocols, status=Not Found 2:689 0:000 === [ InitTheme ] ========================================= 2:689 0:000 use daylight theme 2:689 0:000 using embedded theme 2:689 0:000 got embedded sound 2:689 0:000 Channels: 2 Sample rate: 8000 Hz Bits: 16 2:689 0:000 output to channel 0 with volume 70, len=25600 2:689 0:000 sound channels=2 bits=16 freq=8000 2:689 0:000 sound converted to 48kHz 2:689 0:000 not found AudioIo to play 2:689 0:000 sound play end with status=Not Found 2:690 0:001 Using embedded font: Success 2:691 0:000 theme inited 2:691 0:000 Chosen embedded theme 2:691 0:000 after NVRAM boot-args= 2:691 0:000 === [ Dump SMC keys from NVRAM ] ========================== 2:691 0:000 no AppleSMC protocol 2:691 0:000 Entry scan disabled 2:691 0:000 === [ AddCustomTool ] ===================================== 2:692 0:000 === [ GetEfiBootDeviceFromNvram ] ========================= 2:692 0:000 Default boot entry not found 2:692 0:000 DefaultIndex=-1 and MainMenu.EntryCount=4 2:973 0:281 GUI ready  
    • By tluck
      Lenovo T460 macOS with Clover Guide
      Latest Release on GitHub (February 2020) Updated to Clover r5104 Updated Lilu based kexts - Lilu, ALC, WEG Updated acidanthera VoodooPS2 kext v2.1.1 the older 1.9 to the Misc Folder as an option.
        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 (the 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 Jancey
      I used this command: diskutil info disk0s2 | grep -i "Partition UUID" | rev | cut -d' ' -f 1 | rev

      But I accidentally removed the wrong disk and now my main windows drive is not appearing in the bootloader. I can't figure out how to get it back. I tried resetting my windows drive, but I kept getting an error. I also reset my mac and reinstalled Catalina.
    • By gengstapo
      @Hervé
       
      Im having similar issue with my HS setup, dell latitute 3480, i5-7200U
      Once the hdmi plugged in, the laptop display went blank, only could see the external tv
      But, when i put my laptop to sleep & wake up again, both screen got display (hdmi still connected)
      Even the hdmi could be plugged off & in (after sleep), the laptop display is fine
       
      What could be the culprit?
      Dell’s MacBook Pro IORegistry.zip
      config.plist.zip
    • 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
×