Jump to content
Kogen Mantis

Lenovo ThinkPad T420 with UEFI Only

4,615 posts in this topic

Recommended Posts

@vapayo - curious - what does your installer look like from the command line? mine has these files (when i make it with LionDisMaker 2.0.2):

 

and if you boot your installer - do you have an option to go to Utilities? if so, what does your HD look like after the install (now)?

 

 

tluck@toms-mac /Volumes/Install-10.8.5

$ ls -la

total 946368

drwxrwxr-t  25 tluck  staff        918 Oct  5 19:28 .

drwxrwxrwt@ 11 root   admin        374 Oct 11 11:48 ..

-rw-r--r--@  1 tluck  staff       6148 Oct  6 11:25 .DS_Store

-rw-r--r--   1 tluck  staff          7 Sep 15 02:37 .LionDiskMaker_OSVersion

drwx------   5 tluck  staff        170 Sep 15 02:17 .Spotlight-V100

d-wx-wx-wt   2 tluck  staff         68 Sep 15 02:17 .Trashes

-rw-r--r--   1 tluck  staff        340 Oct  5 19:28 .apdisk

-rw-r--r--@  1 tluck  staff        581 Sep  5 02:43 .disk_label

-rw-r--r--@  1 tluck  staff       2333 Sep  5 02:43 .disk_label_2x

drwx------   5 tluck  staff        170 Oct 11 11:46 .fseventsd

-rw-r--r--@  1 tluck  staff       1876 Sep  5 02:45 BaseSystem.chunklist

-rw-r--r--@  1 tluck  staff  457779925 Sep  5 02:41 BaseSystem.dmg

drwxr-xr-x   3 tluck  staff        102 Aug 29 19:42 Install OS X Mountain Lion.app

drwxr-xr-x@  3 tluck  staff        102 Sep  5 01:31 Library

-r--r--r--@  1 tluck  staff      46516 Sep 15 02:37 MacOSX_Media_Background.png

drwxr-xr-x@ 18 tluck  staff        612 Sep  5 02:45 Packages

drwxr-xr-x@  3 tluck  staff        102 Jun 20  2012 System

drwxr-xr-x+ 11 tluck  staff        374 Sep 15 02:37 Utilities

-rw-r--r--@  1 tluck  staff     314880 Sep 15 14:45 boot

-rw-r--r--@  1 tluck  staff     994464 May 15 19:12 boot.efi

-rw-r--r--@  1 tluck  staff   17121775 Sep  5 01:54 kernelcache

-rw-r--r--@  1 tluck  staff    8244640 Jul 29 19:34 mach_kernel

drwxr-xr-x@  3 tluck  staff        102 Sep  5 02:43 usr


@vapayo - curious - what does your installer look like from the command line? mine has these files (when i make it with LionDisMaker 2.0.2):

 

and if you boot your installer - do you have an option to go to Utilities? if so, what does your HD look like after the install (now)?

Share this post


Link to post
Share on other sites
Advertisement

@vapayo

 

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 

 

 

I ran into this situation once. If you see clover offering to boot OSX Install from the internal HD then likely your installation did not complete successfully. When you first run the installer, it copies/extracts the installation files to the target volume. Then it (supposed to) reboots from the HD to finish the installation. Then after it reboots after this, it should offer Boot OSX from HD and not Install. I noticed this when I finished the first part of the install and then failed to reboot. I lost my root device in there somewhere, but once I fixed it, the install continued after reboot and then all was well.

Share this post


Link to post
Share on other sites

@tluck

A screen of my install media is attached.

 

In the disk manager it shows only a few files. :/

My install really seems to be broken.

 

@Sheep_Reaper

How exactly did you fixed yours?

 

post-1224761-13815082492324_thumb.jpg

Share this post


Link to post
Share on other sites

@Tetonne - why can't you install 10.9?

 

@Vapayo - 10.8.5 - turn off Bluetooth in BIOS for the install - this may be why it wont complete properly.

But there is another way to make an installer.  you need 

 

follow this - works for 10.8 too http://osxdaily.com/2013/06/12/make-boot-os-x-mavericks-usb-install-drive/

 

you could just  copy BaseSystem.dmg and Packages from your current USB to /Temp

(they are hidden but you can change them by

chflags nohidden * 

or use command line cp

 

then open BaseSystem.dmg

then you use Disk Utility to restore BaseSystem.dmg to the USB (overwrite it)

then once its done, to remove the link file in /System/Installation/

then copy /Temp/Package to /System/Installation

 

may need a bit more like mach_kernel (can probably install from BaseSystemBinaries.pkg)- there are some tools to do this. - this makes the USB more like a regular install.

Share this post


Link to post
Share on other sites

hi guys, I also just installed 10.9, following tluck's guide... checking if everything is fine... thanks a lot!!

 

update: all seems to work fine, except:

- sleep (it does not go to sleep at all).  I have the vanilla AppleACPIPlatform.kext from 10.9. Is that correct?

- it seems I cannot connect to iMessage of Facetime. Can you guys make it from 10.9?

 

Update Oct 12:

I have noticed that if I remove the ultrabay HD (I have a second HD on the DVD bay), it sleeps/wakes fine.

So, it is this second HD that is causing the sleep issues.

Any suggestions?

 

Thanks,

aj

Share this post


Link to post
Share on other sites

@vapayo

 

If your first video is actually your system, I also noticed something else. Our thinkpads have two different POST screens depending on which startup mode is enabled. If your system is set up to start up in the default UEFI mode, you'll see a centered ThinkPad logo with nothing else on the screen. If you have CSM enabled, you'll boot into legacy/compatibility(BIOS) mode, and see the left justified ThinkPad logo instead like the one shown in your first video.

Share this post


Link to post
Share on other sites

After a good night
0S X 10.9 installed thanks to tluck :-)

 

Here is my desktop :

post-638501-0-47035400-1381579401_thumb.jpg

 

my clover config with dual link to 0 and surprise 1600x900 :)

 

here is my DisplayVendorID

DisplayVendorID-6af.zip

this allow me to have 1600x900 (choose res in screen  

post-638501-0-77506500-1381588622_thumb.jpg

 

(decompress and put there : /S/L/Displays/Overrides)

 

my config

config.plist.zip

 

 Thanks again tluck :thumbsup_anim:

Share this post


Link to post
Share on other sites

After a good night

0S X 10.9 installed thanks to tluck :-)

 

Here is my desktop :

attachicon.gifnull

 

my clover config with dual link to 0 and surprise 1600x900 :)

 

here is my DisplayVendorID

attachicon.gifDisplayVendorID-6af.zip

 

(decompress and put there : /S/L/Displays/Overrides)

 

my config

attachicon.gifconfig.plist.zip

 

 Thanks again tluck :thumbsup_anim:

 

issues :

no more sound

my wifi usb RT2870Wireless

 

Waiting tluck installation :) 10.9

Share this post


Link to post
Share on other sites

@Tetonne - thanks for for reminding me of the Display Overrides. i added a link to the zip for the display overrides i use for product 2e2 and 6af (models of LCD) - the install of 10.9 wiped them out.

The display overrides will add support for 2 models.  EDID-fix-prod-2e2.zip (ignore the config.plist as this was for an older version of Clover)

Post #486 - i will update the zip with minor addition to the DSDT to get rid of the startup AppleHDA Assertion.

Share this post


Link to post
Share on other sites

@Tluck

I get blank monitor if i using custome EDID in config.plist and using EDID0fix-prod2-2e2.zip 

Im still 10.8.4. Should be im using 10.8.5 or 10.9 ? 

Share this post


Link to post
Share on other sites

@okcakep (get blank monitor if you're using custom EDID in config.plist)

then make this change in red (delete or change)

 

<key>Graphics</key>

<dict>

<key>Comment</key>

<string>LCD 1366x768</string>

<key>CustomEDID</key>

<data>

AP///////wAGrzwxAAAAAAAUAQOAHxF4ChC1l1hXkiYeUFQAAAABAQEBAQEB

AQEBAQEBAQEBEhtWRlAAIzAmFjYANa0QAAAYAAAADwAAAAAAAAAAAAAAAAAg

AAAA/gBBVU8KICAgICAgICAgAAAA/gBCMTQwWFcwMyBWMSAKACk=

</data>

<key>DualLink</key>

<string>0</string>

<key>Inject</key>

<dict>

<key>Intel</key>

<true/>

</dict>

<key>InjectEDID</key>

<false/>

</dict>

 

InjectEDID to false is enought if your EDID is not the good one it would become the good one in newer system

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

 

good edid can be found this thisgenEDID_3c.zip

 

unzip drag & drop genEDID.sh on Terminal.app window, key name of screen for example LCD

 

tetonne$ /Users/tetonne/Desktop/genEDID.sh LCD press enter
 
result  in terminal
Collecting some data...
Detected Vendor ID: 0x6af (hex) 1711 (dec)
Detected Product ID: 0x313c (hex) 12604 (dec)
Flipbyted Vendor ID: 0xaf06 (hex) 44806 (dec)
Detected EDID: 00ffffffffffff0006af3c310000000000140103801f11780a10b597585792261e505400000001010101010101010101010101010101121b5646500023302616360035ad100000180000000f0000000000000000000000000020000000fe0041554f0a202020202020202020000000fe004231343058573033205631200a0029
Encoded EDID: AP///////wAGrzwxAAAAAAAUAQOAHxF4ChC1l1hXkiYeUFQAAAABAQEBAQEBAQEB
AQEBAQEBEhtWRlAAIzAmFjYANa0QAAAYAAAADwAAAAAAAAAAAAAAAAAgAAAA/gBB
VU8KICAgICAgICAgAAAA/gBCMTQwWFcwMyBWMSAKACk=
Job done!
 
report that green number in OEMConfig
Graphic CustomEDID data (in XML part)
00ffffffffffff0006af3c310000000000140103801f11780a10b597585792261e505400000001010101010101010101010101010101121b5646500023302616360035ad100000180000000f0000000000000000000000000020000000fe0041554f0a202020202020202020000000fe004231343058573033205631200a0029
 
you'll seen Encoded EDID: AP///////wAGrzwxAAAAAAAUAQOAHxF4ChC1l1hXkiYeUFQAAAABAQEBAQEBAQEB
AQEBAQEBEhtWRlAAIzAmFjYANa0QAAAYAAAADwAAAAAAAAAAAAAAAAAgAAAA/gBB
VU8KICAgICAgICAgAAAA/gBCMTQwWFcwMyBWMSAKACk=
there

 

<key>Graphics</key>

<dict>

<key>Comment</key>

<string>LCD 1366x768</string>

<key>CustomEDID</key>

<data>

AP///////wAGrzwxAAAAAAAUAQOAHxF4ChC1l1hXkiYeUFQAAAABAQEBAQEB

AQEBAQEBAQEBEhtWRlAAIzAmFjYANa0QAAAYAAAADwAAAAAAAAAAAAAAAAAg

AAAA/gBBVU8KICAgICAgICAgAAAA/gBCMTQwWFcwMyBWMSAKACk=

</data>

<key>InjectEDID</key>

<true/>

</dict>

set InjectEDID to true

 
result on destop :
put the created folder DisplayVendorID-6af (example) in S/L/Display/Overrides
repair permissons

Share this post


Link to post
Share on other sites

@sheep_reaper.
glad to know another T430 user in hackintosh and had working system. :)

my installation just broke a weeks ago. fortunately got spare time after resigning from my job prior joining with other company. :))
i've installed Mountain Lion 10.8.4 with myHack method. i'm gonna stick with chameleon for a while.

today i solved the sound issue by patching the ApplehDA.kext and using modified IOAudioFamily.kext. The resource i'm follow are all in OSX latitude forum.

(looks like an error with their webserver when i post this).

I've tested the output, internal speaker and headphone. both works okay. audio issue with internal speaker after wake from sleep is fixed by using the attached IOAudioFamily.kext.
haven't got a chance to test the input (mic)

 

attached are those 2 files i mentioned before.

after installing the AppleHDA.kext, you need to modify the DSDT on HDEF part.

you can check for more resources in this thread

 

hope it useful.

So success. Updating to 10.8.4 solved my hit-or-miss booting situation. My Lenovo T430 (2349GCU) Hackintosh is a success.

 

Thanks to bcc9 for providing some much needed assistance in understanding my startup issue. Thanks to Gendalo for his original DSDT and EFI folder. Thanks to the developers of Clover EFI, whom I don't know first-hand, but without whose bootloader I would not have been successful. And of course thanks to all of you in this thread whose discussion on T420's was what originally motivated me to try this on my T430.

 

Also, if it makes you guys feel any better, This thread is the only thread of value on the entire internet that provided the information i needed to get this project off the ground. I'n not joking, I spent days Googling my fingers raw for tangible information on T430's or 420's for that matter before I came accross this little gem.

 

Working: (Tested)

Display

Ethernet

Graphics (QE/CI)

Software Updates

TrackPad (MButton Scrolling) [it's inverted, but I think Mac is this way on purpose]

TrackPoint

WebCam

 

Not Working:

Restart

Sound

WiFi (Buying http://www.monoprice.com/Product/Index?p_id=8072) [At least temporarily]

 

System Specs:

Intel® Core™ i5-3320M (2.60GHz) processor with dual-cores

Intel Turbo Boost 2.0 (3.30GHz), Hyper-Threading, 3MB cache

2 x 4GB PC3-12800 SO-DIMM's

320GB 7.2Krpm SATAII (3Gb/s) Seagate Momentus Thin (7mm) HD

14in 1600x900 HD+ LED-Backlit LCD

Intel® HD 4000 Graphics

Ultrabay enhanced DVDRW/CD-RW rambo drive

Intel® Centrino® Advanced-N 6205 (AGN)

Bluetooth 4.0

Intel® 82579LM 1Gb Ethernet

UltraNav

Secure Chip

Fingerprint reader

720p Front-Facing Wide-Angle Low-Light Camera

6c Li-Ion Battery Rated at 3-5.5 Life-Hours

Mac OS X (10.8.4) / Windows 8 / Ubuntu GNU/Linux

 

T430_AppleHDA_IOAudioFamily.zip

Share this post


Link to post
Share on other sites

@sheep_reaper
do you have a fix for usb problem after wake from sleep?

i use GenericUSBXHCI_1.2.6. it works fine prior sleep.

when the computer put in sleep, then wake, it no longer recognizes any device plugged-in to usb port.

i need to reboot to be able to recognize usb hardware.

 

@tluck and others,

is the same thing happening with your T420?

Share this post


Link to post
Share on other sites

@okcakep - the display definitions are for LCDs that 1600x900 - do you have a this native res? it not, then that would explain why its blank - the monitor can't handle this definition. 


@gendalo76 - i don't have a usb problem after sleep for all the built-in usb 2.0 ports .now even my esata (external) drive survives sleep/wake since using the native 10.8.5 AppleACPIPlatform.kexts.

 

however for usb3, i have a 2-port GMYLE USB3 express card that does not handle sleep/wake very gracefully. i have to unmount all the filesystems before then it resets the card upon wake. it works after sleep. i am using CalDigit kexts for the card. however, at one point, i tried the GenericUSBXHCI kext but it could not seem my Seagate Disk. it could see the AS2105 disk tho - but i went back to CalDigit. i can't remember how the generic one handled sleep. i did add some stuff for sleep in my dsdt nonetheless for XHCI. 

Share this post


Link to post
Share on other sites

@gendalo

 

Hey Gendalo nice to see you again. No I did not attempt to fix the USB Sleep issue. A bit bogged down with mid-terms at the moment. Kogen had asked me to gather up my materials for my successful build so that he can update the 1st post, but If you have them readily available, by all means PM him. My success was built off of yours anyways, but I sure would like to get on the same page with you and Kogen. Kogen has a 430 now also, but he's busy too. We also have some catching up to do with the 420 guys.

 

The only good piece of info I have at the moment is that I'm certain that your DSDT and mine are the same. This means that any 430 user with model 2349XXX should have the same DSDT. The XXX in your model differs from mine, but the DSDT dumps were identical.

Share this post


Link to post
Share on other sites

Please read this page:

 

http://www.projectosx.com/forum/index.php?s=4e2f811a5fc31ca5f359dc8ffd98f7f5&showtopic=2656&st=120&p=35700&&do=findComment&comment=35700

 

The history of the question is [bUG] Shutdown issue with UEFI boot.
The behavior: when we press "Sleep" or "Shutdown" display went OFF but lights and fans continue working. Then reset only. It happen not every time, it may happens 1:10.
With CloverEFI legacy boot it may happens 1:100.
The problem is resolved with follow new keys:
HaltEnabler - set SLP_SMI_EN=0 at early start.
FixShutdown_0004 - prevent set SLP_SMI_EN=1 at _PTS with Arg0=5 (shutdown)
SuspendOverride - extend this fix to Arg0=3,4,5 (also sleep and suspend)
SlpSmiAtWake - set SLP_SMI_EN=0 at method _WAK, so at every wake up.
Not all users need all these keys but set all to true is safe. You may loose some behavior but you can boot anyway.
Now we (me, TimeWalker, endless) have full success with the issue. Sleep/Shutdown/Wake works fine with UEFI boot.

Share this post


Link to post
Share on other sites

I would be a bit careful here... i tested out some of these new auto-DSDT fixes.  well, on the T420, it did some weird things - especially SlpSmiAtWake - it would not wake after 2nd sleep/wake.

 

HaltEnabler does not seem to make any DSDT changes. but i presume just sets this var to 0 - which is ok.

Fix_Shutdown_0004 - makes _PTS for Arg0=0x05  a totally No-Op --- so i don't think we want that for since we are NOW setting SLP_SMI_EN=0 in our dsdt.

SuspendOverride does the same for Arg0=3,4,5 - probably not so good either?

 

Note: i removed any TPM calls in here - i.e. windows stuff.

 

current code (based on TimeWalker's approach)

 

    Method (_PTS, 1, NotSerialized)

    {

        Scope (\)

        {

            OperationRegion (SLPR, SystemIO, 0x0430, One)

            Field (SLPR, ByteAcc, NoLock, Preserve)

            {

                    ,   4,

                SLPE,   1

            }

        }

 

        Store (One, Local0)

        If (LEqual (Arg0, SPS))

        {

            Store (Zero, Local0)

        }

 

        If (LOr (LEqual (Arg0, Zero), LGreaterEqual (Arg0, 0x06)))

        {

            Store (Zero, Local0)

        }

 

        If (Local0)

        {

            Store (Arg0, SPS)

            \_SB.PCI0.LPC.EC.HKEY.MHKE (Zero)

            If (\_SB.PCI0.LPC.EC.KBLT)

            {

                UCMS (0x0D)

            }

 

            If (LEqual (Arg0, One))

            {

                Store (\_SB.PCI0.LPC.EC.HFNI, FNID)

                Store (Zero, \_SB.PCI0.LPC.EC.HFNI)

                Store (Zero, \_SB.PCI0.LPC.EC.HFSP)

            }

 

            If (LEqual (Arg0, 0x03))

            {

                VVPD (0x03)

                TRAP ()

                Store (\_SB.PCI0.LPC.EC.ADP1._PSR (), OCST)

            }

 

            If (LEqual (Arg0, 0x04))

            {

                \_SB.SLPB._PSW (Zero)

                TRAP ()

                AWON (0x04)

            }

 

            If (LEqual (Arg0, 0x05))

            {

                TRAP ()

                AWON (0x05)

                Store (Zero, SLPE)

                Sleep (0x10)

            }

 

            \_SB.PCI0.LPC.EC.BPTS (Arg0)

            If (LGreaterEqual (Arg0, 0x04))

            {

                Store (Zero, \_SB.PCI0.LPC.EC.HWLB)

            }

            Else

            {

                Store (One, \_SB.PCI0.LPC.EC.HWLB)

            }

 

            If (LNotEqual (Arg0, 0x05))

            {

                Store (One, \_SB.PCI0.LPC.EC.HCMU)

                Store (\_SB.PCI0.EXP4.PDS, \_SB.PCI0.EXP4.PDSF)

                Store (\_SB.PCI0.EXP5.PDS, \_SB.PCI0.EXP5.PDSF)

            }

 

            \_SB.PCI0.LPC.EC.HKEY.WGPS (Arg0)

        }

    }

Share this post


Link to post
Share on other sites

I would advise staying away from trying HaltEnabler.. it indeed doesn't do anything to DSDT as it writes to chipset related registers on boot. This has caused two bricks on HP laptops these past days, so I would recommend staying away from this on laptops as far as you possibly can. Also, don't ever EVER  try any of the changes introduced with 2175 - prone to cause immediate brick on Phoenix firmware with no way to recover because it writes the config into nvram and replaces all of it's contents by the config file...

Share this post


Link to post
Share on other sites

ouch.  

 

sleep and/or shutdown works about 90% for me with - i think my USB3 express card gets in the way on occasion. if I turn that off, then i get much better results.

 

One challenge, i still can't figure out is why my LCD is brighter after sleep/wake? if the screen sleeps,  then upon wakeup it is just a little brighter. the brightness/backlight settings do not change. its just brighter! I did a little research and it showed others with HD3000 have seen this but i could not find a good fix. anyone have any ideas?

Share this post


Link to post
Share on other sites

I have the HD4000 on my 430. On both 10.8 and 10.8.4 I did not experience the brightness issue you describe. However, I did have the sleep issue in 10.8 but then disappeared when I upgraded to 10.8.4. Haven't tried 10.8.5 or 10.9 yet. I have USB3 built in and have had no problems with it other than the USB post-sleep resume issue, but it affects both my USB3 and USB2 ports.

Share this post


Link to post
Share on other sites

One challenge, i still can't figure out is why my LCD is brighter after sleep/wake? if the screen sleeps,  then upon wakeup it is just a little brighter. the brightness/backlight settings do not change. its just brighter! I did a little research and it showed others with HD3000 have seen this but i could not find a good fix. anyone have any ideas?

 

I use sleepwatcher to set brightness after sleep. It starts a script that runs the binary.

http://www.bernhard-baehr.de

 

or maybe this helps to store a value with dsdt fix

http://www.insanelymac.com/forum/topic/292426-brightness-after-sleep-fix-toshiba-portege-r835/?hl=%2Bbrightness&do=findComment&comment=1953410

brightness.zip

Share this post


Link to post
Share on other sites

 anyone have any ideas?

MacBookPro8,1 (snb-platform-id 0x00, 0x01):
Name: AppleIntelSNBGraphicsFB

Find: 
01020400 //FBIndex / Pipes/ Ports = 4
10070000 10070000 // Maximum brightness 0x710
05030000 02000000 30000000 // @0 LVDS
02050000 00040000 07000000 // @1 DP
03040000 00040000 09000000 // @2 DP 
04060000 00040000 09000000 // @3 DP

Replace:
01020300 //FBIndex / Pipes / Ports =3
12130000 12130000 // Maximum brigthenss 0x1312
05030000 02000000 30000000 // @0 LVDS
06020000 02000000 30000000 // @1 VGA
02050000 00080000 07000000 // @2 HDMI
00000000 00000000 00000000 // @3 absent

You know the deal .. Clover kext patcher is your best friend here.

Share this post


Link to post
Share on other sites

I'm using a W520 and I found I had to use the following tags for shutdown to work.

 

        <key>ResetAddress</key>
        <string>0x64</string>
        <key>ResetValue</key>
        <string>0xFE</string>

Share this post


Link to post
Share on other sites

@timewalker75a - wow that was easy. fantastic. just curious how do you/we know 1312 is the right max?!

 

@zhangqq - interesting. does this make  shutdown work (period) - meaning it did not work at all - or that is makes shutdown work better (ie not hang)?

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 Pentothal.Z
      Hello all,
      I have a working hackintosh....ok.....but it takes a lot to boot and according to the boot.log there are a few problems.
      One of them is a black screen that stays on for a long time.
      I would like to ask anyone in this community some help to fine tune my machine.
      Boot.log and config.plist attached


      Any help would be appreciated.
      bootlog.txt
      config.plist
    • By metaphysician
      hi folks! i'm just checking for opinions here on a Clover based install of High Sierra. currently i can't boot directly from the internal drive on my hackbook, an ASUS ROG GL502-VS laptop (with the replaced WiFi card), though i can boot from the USB bootloader/installer

      i installed 10.13.6 fine using a prepared vanilla installer on HFS+ (not APFS), but my configuration is somewhat unusual. i have two drives. the first SSD has the Windows system, the second has two partitions with the 2nd partition holding the macOS system. when i ran Clover installer i could not use the UEFI option to copy to the EFI partition because it couldn't find one on that drive. so it installed the EFI folder on the root of the macOS partition instead.
       
      however, after a bit of tinkering around, i found out that there is an existing EFI partition on the primary drive called SYSTEM. it has a EFI folder and underneath that is a Windows folder, a Boot folder, and one called APPLE. i can mount this partition with Clover Configurator and copy files to it, but i don't know if this is a good or risky solution. i was thinking i would manually copy the CLOVER folder and the uefi64.boot file to this partition , making sure not to overwrite anything existing. using the UEFI setup, i can create a boot path from the SYSTEM partition to the Clover boot file, but i'm just curious if this is a useful solution or not, and i don't want to ruin the existing Windows 10 installation for sure. any advice appreciated!
    • By Slice
      OK, 4988 released.
      Now, @vector sigma, what have we do to update translations?
    • By fusion71au
      Clover r4989 ISO compiled with GCC and minimal config.plist compatible for use in VMWare Workstation.
       
      Tested with unlocked Workstation 15 running OSX 10.9 -->10.15 guest in Windows X64 host.
       
      Installation
      1. Download and unzip "EFI_Clover_r4989 for VMware.zip". Mount Clover-v2.4k-4989-X64.iso by double clicking on it.
      2. Mount your VM's EFI System Partition eg in terminal
      sudo diskutil mount disk0s1   3. Copy EFI folder from step 1 into the EFI partition
      4. Shutdown the VM, add bios.bootDelay = "3000" to your VM's vmx file
      5. Reboot your VM, press <F2> to access the VMware Boot Manager and add CLOVERX64.efi to the boot menu.
       
      Substitute your own unique and valid MLB and ROM variables in the /EFI/CLOVER/config.plist (Rt Variables section) to activate iMessage/Facetime on your VM.
    • By fusion71au
      Run Vanilla OS X El Capitan, Sierra, High Sierra or Mojave in VirtualBox 5.x.x on a Windows Host
      Following on from my previous guide on how to create a VMware virtual machine running Vanilla OS X El Capitan in Windows, I’ve decided to write a similar guide for creating a VirtualBox El Capitan VM. 
       
      The virtual machine should be useful for testing El Capitan and also for creating installers for use on a real machine/hackintosh.
       
      There are other tutorials and videos on the net about running OS X on Windows machines using pre-made VMDK disk images but you can never guarantee what else is in there….
       
      I’ve gathered info for this guide from several threads in the Multibooting and Virtualisation section of this forum and also the wider internet eg
       
      @colt2 HOW TO: Create a bootable El Capitan ISO for VMware
      @dsmccombs comment on faking Ivybridge Processor
      @E:V:A http://forum.xda-developers.com/showpost.php?p=55572430&postcount=6
      @Tech Reviews video tutorial https://www.youtube.com/watch?v=t7X07U63lwg.
      VirtualBox Forum: Status of OSX on OSX
       
      Requirements
         Intel PC with four or more CPU cores running Windows 7 X64 or later OS (2 or more cores needed for OS X)    4GB or more RAM (2GB or more will be needed for OS X)    Hard Disk with at least 40GB free for Virtual Machine    Oracle VM VirtualBox v 5.0.34    Install OS X El Capitan app and Mac or Hack to prepare installation iso <-- Now, no longer necessary to have previous access to a Mac or Hack by building the Installer.app from scratch - see post#75    16GB or larger exFAT formatted USB stick to transfer El Capitan iso from Mac/Hack to Host PC  
      Prepare Installation ISO on your Mac or Hack
      1.  On your Mac or Hack, download "Install OS X El Capitan.app" from the App Store into your Applications folder.
      2.  Download and unzip the CECI.tool (attached to this post) into your ~/Downloads folder. The commands in this executable script are shown below for informational purposes.  Note: you will need approx 16GB of free space on your hard disk for the script to complete.
       
       
       
      3.  Open OS X terminal, then run the following commands to execute the script:
      cd downloads chmod +x CECI.tool ./CECI.tool 4.  At the end of the process, you will have an El Capitan iso on your desktop - copy this onto an exFAT formatted USB for use on the PC Host later.
       
       
      Create an El Capitan Virtual Machine in VirtualBox
      1.  Open the VirtualBox program and click the "New" button to create a new VM.
       

       
      2.  Select Mac OS X and Mac OS X 10.11 El Capitan (64 -bit) for Operating System type and version.  I named my Virtual Machine "El_Capitan", then clicked next...
       

       
      3.  Leave the Memory size at the recommended 2048 MB, then click next.
       

       
      4.  Choose to "Create a virtual hard disk now", then click the create button.
       

       
      5.  For the hard disk file type, the default is VDI (VirtualBox Disk Image) but I have selected VMDK for inter-operability with VMWare.  Click next...
       

       
      6.  For Storage on physical hard disk, I have chosen the default Dynamically allocated (grows larger to a set limit as you need more disk space).
       

       
      7.  On the File location and size screen, you can set the location of the new virtual hard disk and its size - I recommend changing disk size to 40GB or larger.  When you click the create button, you will now see your new VM in the VirtualBox main GUI.
       

       
      8.  Click the settings button on the Main Menu to tweak a few settings....
         a.  On the System/Motherboard tab in Boot Order, you can uncheck the Floppy Drive (who has these now?)
       

       
         b.  On the System/Processor tab, you can increase the allocated CPU cores to 2
       

       
         c.  On the Display tab, you can increase the allocated Video Memory to 128MB
       

       
         d.  On the Storage tab, click on the icon of the Optical Drive and select "Choose Virtual Optical Disk File". 
       

       
      Navigate and select the El Capitan ISO we created earlier...
       

       
         e.  Click the OK button to finalise the VM settings.
       
       
      Patch El Capitan vbox configuration file with DMI Settings from a Mac
      1.  From the start menu, type cmd and click run as administrator to open an administrative command prompt. 
       

       
      2.  Choose a Mac Model similar to your host system, then type the following lines, followed by <enter>  after each line.  Make sure you first close all VirtualBox Windows and the VirtualBox program, otherwise any changes you make won't stick...
       
      Eg iMac11,3
      cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-F2238BAE" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 MacBookPro11,3
      cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-2BD1B31983FE1663" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 Macmini6,2
      cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "Macmini6,2" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-F65AE981FFA204ED" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 3.  Optional- For some host systems eg those with Haswell and newer CPUs, you might have to spoof an older CPU to avoid VirtualBox errors.  You can try from one of the following if this happens:

      To spoof Lynnfield i5 750 CPU
      VBoxManage.exe modifyvm "El_Capitan" --cpuidset 00000001 000106e5 06100800 0098e3fd bfebfbff To spoof IvyBridge CPU
      VBoxManage.exe modifyvm "El_Capitan" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff or
      VBoxManage.exe modifyvm "El_Capitan" --cpuidset 00000001 000306a9 00020800 80000201 178bfbff 4.  Close the command prompt window.
       
       
      Installation of El Capitan
      We are now ready to start the El_Capitan Virtual Machine....
       



       
      Installation should be relatively straight forward, just following the prompts of the OS X installer:
      1.  Select language, agree to legal terms
       

       
      2.  Use Disk Utility from the Utilities Menu to erase and format the virtual hard drive as a single partition GUID Mac OS X Extended.  I named my drive "Macintosh HD" but you can enter whatever you like eg El_Capitan.
       

       
      3.  Quit DU and choose Macintosh HD to install El Capitan on.
      4.  After 20-30 min (depending on how fast your system is), the installation will complete.  At this point, unmount the El Capitan ISO by clicking the Devices menu from the VM window, click Optical Drives, then choose Remove disk from virtual drive.  The VM is now ready to reboot into OS X from the virtual hard drive.
      5.  At the welcome screen, choose your country and keyboard layout.  You can skip transfer information, location services and logging in with your Apple ID if you wish…
      6.  Create a User Account and select your Time Zone.  You can skip sending diagnostics and usage data to Apple….
      7.  Finally, you will arrive at the El Capitan Desktop.
       

       
      8.  Network/internet and audio should work OOB but on my system, the sounds were distorted.  Unfortunately, there is no QE/CI and the VM resolution will be fixed without the ability to dynamically resize the VM window (no VirtualBox additions for OS X guests atm). 
       
       
      Customization with VBoxManage
      1.  You can change the default resolution of 1024*768 (after shutting down the VM) with the VBoxManage command from the Windows Administrative Command Prompt:
      cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage setextradata "El_Capitan" VBoxInternal2/EfiGopMode N (Where N can be one of 0,1,2,3,4,5) referring to the 640x480, 800x600, 1024x768, 1280x1024, 1440x900, 1920x1200 screen resolution respectively.
       
      Update:  For VirtualBox 5.2.x, the command for changing screen resolution has changed...
       
      VBoxManage setextradata "<MyVM>" VBoxInternal2/EfiGraphicsResolution XxY (where X=Horizontal screen resolution, Y=Vertical screen resolution)
      eg
      VBoxManage setextradata "<MyVM>" VBoxInternal2/EfiGraphicsResolution 1280x1024 2.  Adding serials and other SMBIOS details for the System Information Screen
      VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemSerial" "W8#######B6" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardSerial" "W8#########1A" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVendor" "Apple Inc." VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemFamily" "iMac" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBIOSVersion" "IM112.0057.03B" A listing of known issues with Mac OS X guests can be found in the VirtualBox Manual - link https://www.virtualbox.org/manual/ch14.html.
       
      Vanilla Mavericks and Yosemite, Snow Leopard from Retail DVD
      The same VM settings for El Capitan will also boot and run vanilla installations of OS X Mavericks and Yosemite .  Attached to this post are installer scripts to create bootable Mavericks (CMI.tool) and Yosemite (CYI.tool) ISOs for VirtualBox and VMware.
       
      With the respective OS X installer apps in the Applications folder, download and run the installer tools using terminal ie
       
      To create a Mavericks ISO on your desktop
      cd downloads chmod +x CMI.tool ./CMI.tool To create a Yosemite ISO on your desktop
      cd downloads chmod +x CYI.tool ./CYI.tool Here is a screenshot of the VM running Mavericks 10.9.5...
       

       
      Finally, those without a Mac/Hack to prepare the install media can purchase a retail Snow Leopard DVD directly from Apple and install OSX 10.6.3 on their virtual machines (Snow Leopard, Lion and Mountain Lion run quite happily in VirtualBox with 1 CPU, 1-2 GB of RAM and the rest of the settings unchanged from above).  Once you update by combo update to SL 10.6.8, you can directly download El Capitan from the App Store for free .
       

       
      UPDATE macOS Sierra 10.12 to 10.12.6: For macOS Sierra, use CSI.tool in post#51.
      UPDATE macOS High Sierra 17A365:  For macOS High Sierra, use CHSI.tool in post#73.
      UPDATE macOS Mojave 18A391:  For macOS Mojave or High Sierra, use macOS_iso_creator.tool on page 4 of thread.
      UPDATE macOS Catalina Beta DP3_19A501i:  For Catalina, @jpz4085 has made an automated batch file to create a Catalina VM in Windows with iMac 14,2 SMBIOS.  You can still use my macOS_iso_creator.tool on page 5 to make an installer ISO to attach to the VM.
       
       
       
      Good luck and enjoy
      CECI.tool.zip
      CYI.tool.zip
      CMI.tool.zip
×