Jump to content
Kogen Mantis

Lenovo ThinkPad T420 with UEFI Only

4,398 posts in this topic

Recommended Posts

Advertisement

Wow, I've have installed successfully Yosemite dual boot with Windows 10 on my T420, :D. But the sound doesn't work, I've installed AppleHDA_20672.kext both in S/L/E and L/E but no luck. And I also don't know how to run _install-hda.bash files in Utilities/HDA to patch HDA (I've tried to open Terminal then drag that file to terminal's window but nothing happend, can any one show me?

Thanks!

Share this post


Link to post
Share on other sites

@polishapple - i renamed the devices EHC1 and EHC2 to EHCD and EHCA ( D denotes the 0x1d address and A for 0x1a address) this allows the DSDT to provide the device definitions for the USB ports in support of El Capitan. this is instead of wrestling with yet another custom kext to define the ports.

 

@winning0308 - the AppleHDA_20672.kext can be in /S/L/E or /L/E but either way it expects to find the original AppleHDA.kext in /S/L/E as it links to the binary AppleHDA. Clover patches the original binary on the fly for the Conexant codec.  in the guide under the section of Known issues and Random Tips, there are some commands (and copied below) to fix the links to remake the links for the custom kexts (that you put /L/E) and rebuild the caches. (and make sure root:wheel is the user/group for the kexts in /L/E)

cd /Library/Extensions/AppleHDA_20672.kext/Contents/MacOS
sudo rm AppleHDA
sudo ln -s /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

cd /Library/Extensions/BroadcomBluetooth_T420.kext/Contents/MacOS
sudo rm BroadcomBluetoothHostControllerUSBTransport
sudo ln -s /System/Library/Extensions/IOBluetoothFamily.kext/Contents/PlugIns/BroadcomBluetoothHostControllerUSBTransport.kext/Contents/MacOS/BroadcomBluetoothHostControllerUSBTransport

cd /Library/Extensions
sudo chown -R root:wheel *.kext

sudo touch /System/Library/Extensions

Share this post


Link to post
Share on other sites

 

@polishapple - i renamed the devices EHC1 and EHC2 to EHCD and EHCA ( D denotes the 0x1d address and A for 0x1a address) this allows the DSDT to provide the device definitions for the USB ports in support of El Capitan. this is instead of wrestling with yet another custom kext to define the ports.

 

@winning0308 - the AppleHDA_20672.kext can be in /S/L/E or /L/E but either way it expects to find the original AppleHDA.kext in /S/L/E as it links to the binary AppleHDA. Clover patches the original binary on the fly for the Conexant codec.  in the guide under the section of Known issues and Random Tips, there are some commands (and copied below) to fix the links to remake the links for the custom kexts (that you put /L/E) and rebuild the caches. (and make sure root:wheel is the user/group for the kexts in /L/E)

cd /Library/Extensions/AppleHDA_20672.kext/Contents/MacOS
sudo rm AppleHDA
sudo ln -s /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

cd /Library/Extensions/BroadcomBluetooth_T420.kext/Contents/MacOS
sudo rm BroadcomBluetoothHostControllerUSBTransport
sudo ln -s /System/Library/Extensions/IOBluetoothFamily.kext/Contents/PlugIns/BroadcomBluetoothHostControllerUSBTransport.kext/Contents/MacOS/BroadcomBluetoothHostControllerUSBTransport

cd /Library/Extensions
sudo chown -R root:wheel *.kext

sudo touch /System/Library/Extensions

 

Thanks for your reply, I tried all command in Terminal, reboot (without kext caches) but the sound still doesn't work

Share this post


Link to post
Share on other sites

@winning0308 - well is there any info in /var/log/system.log that may help you debug this? what happens if you manually try to load the kext?

 

sudo kextload /Library/Extensions/AppleHDA_20672.kext

 

what is the output of:

 

kextstat|grep HDA

Share this post


Link to post
Share on other sites

@winning0308 - well is there any info in /var/log/system.log that may help you debug this? what happens if you manually try to load the kext?

 

sudo kextload /Library/Extensions/AppleHDA_20672.kext

 

what is the output of:

 

kextstat|grep HDA

nothing happened when I manually try to load kext by command.

 

here is information with 

minhnts-MacBook-Pro:~ minhnt$ kextstat|grep HDA
   80    2 0xffffff7f81e32000 0xf000     0xf000     com.apple.iokit.IOHDAFamily (266.5) <5 4 3 1>
   81    1 0xffffff7f81e41000 0x1a000    0x1a000    com.apple.driver.AppleHDAController (266.5) <80 68 12 7 6 5 4 3 1>
  106    0 0xffffff7f820a4000 0xa7000    0xa7000    com.apple.driver.AppleHDA (999.99) <105 103 82 81 80 68 42 6 5 4 3 1>

system.log.zip

Share this post


Link to post
Share on other sites

your log shows sound assertions from AppleHDA which usually means that the binary is not patched correctly.  

the log showed different problems with the kext before you fixed the links. 

the kext out put above is right. 

 

do you have the clover config.plist from my zip in place which will patch the AppleHDA kext? 

reboot again. you might have sound if clover patches the binary now.

Share this post


Link to post
Share on other sites

your log shows sound assertions from AppleHDA which usually means that the binary is not patched correctly.  

the log showed different problems with the kext before you fixed the links. 

the kext out put above is right. 

 

do you have the clover config.plist from my zip in place which will patch the AppleHDA kext? 

reboot again. you might have sound if clover patches the binary now.

I have already coppied the config.plist from your attached's zip and pasted in EFI's Clover partition, but in Utilities folder there is a folder named HDA and I donno how to run _install-hda.bash file to patched HDA

Share this post


Link to post
Share on other sites

you should need to run  _install-hda.bash - which modifies the original AppleHDA.kext to be a custom kext. 

Clover should be patching the standard original AppleHDA.kext for you. 

 

also if you install the full clover package. then you can install the logging tools etc on your system.

 

 

so try this:

 

sudo rm /var/log/system.log

sudo kextload /Library/Extensions/AppleHDA_20672.kext

sudo touch /System/Library/Extensions

sudo reboot

 

and then attach your system.log if you don't have sound.

Share this post


Link to post
Share on other sites

you should need to run  _install-hda.bash - which modifies the original AppleHDA.kext to be a custom kext. 

Clover should be patching the standard original AppleHDA.kext for you. 

 

also if you install the full clover package. then you can install the logging tools etc on your system.

 

 

so try this:

 

sudo rm /var/log/system.log

sudo kextload /Library/Extensions/AppleHDA_20672.kext

sudo touch /System/Library/Extensions

sudo reboot

 

and then attach your system.log if you don't have sound.

Here is system.log file, still don't have sound. Thank you very much for helping me!

system.log.zip

Share this post


Link to post
Share on other sites

well it looks like clover is not patching the binary of AppleHDA.kext. you could turn on the kext patch debug and watch what the screen shows. if you have the clover scripts on hard drive, the clover logs may show if its patching AppleHDA etc.

Share this post


Link to post
Share on other sites

 

@polishapple - i renamed the devices EHC1 and EHC2 to EHCD and EHCA ( D denotes the 0x1d address and A for 0x1a address) this allows the DSDT to provide the device definitions for the USB ports in support of El Capitan. this is instead of wrestling with yet another custom kext to define the ports.

 

@winning0308 - the AppleHDA_20672.kext can be in /S/L/E or /L/E but either way it expects to find the original AppleHDA.kext in /S/L/E as it links to the binary AppleHDA. Clover patches the original binary on the fly for the Conexant codec.  in the guide under the section of Known issues and Random Tips, there are some commands (and copied below) to fix the links to remake the links for the custom kexts (that you put /L/E) and rebuild the caches. (and make sure root:wheel is the user/group for the kexts in /L/E)

cd /Library/Extensions/AppleHDA_20672.kext/Contents/MacOS
sudo rm AppleHDA
sudo ln -s /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

cd /Library/Extensions/BroadcomBluetooth_T420.kext/Contents/MacOS
sudo rm BroadcomBluetoothHostControllerUSBTransport
sudo ln -s /System/Library/Extensions/IOBluetoothFamily.kext/Contents/PlugIns/BroadcomBluetoothHostControllerUSBTransport.kext/Contents/MacOS/BroadcomBluetoothHostControllerUSBTransport

cd /Library/Extensions
sudo chown -R root:wheel *.kext

sudo touch /System/Library/Extensions

I renamed back to EHC1 and in 10.11 works fine. Also i created the fan controll for DSDT so i can share:>

Share this post


Link to post
Share on other sites

well it looks like clover is not patching the binary of AppleHDA.kext. you could turn on the kext patch debug and watch what the screen shows. if you have the clover scripts on hard drive, the clover logs may show if its patching AppleHDA etc.

I've installed Clover Configurator and in Kernel and Kexts Patches it show only Apple RTC patched.

Share this post


Link to post
Share on other sites

@polishapple - glad to have your input and interest.

 

3 things

 

Trackpad:

well i tested this kext out 3 or 4 years ago. this one seems to be derived from an old kext from fang. it is missing a bunch of new features that RehabMan implemented - like momentum scrolling  etc - not to mention stability etc.

 

anyway, i am not sure what you mean by dragging not working? which of these modes is not? all 3 work for me. (the last 2 require settings in sys prefs to turn on)

 

 

Click and Drag

Press the physical button, then drag. While the button is depressed, you can reposition your "dragging" finger without letting go of what you're dragging.

One-Finger Tap & Drag

With Dragging enabled, tap the trackpad twice and start dragging on the second tap (instead of lifting your finger from the trackpad). There is a short delay from when you lift your finger from the trackpad and when the drag actually ends, during which, you can reposition your finger on the trackpad to continue dragging. To end a drag immediately (without the delay) you can tap the trackpad again.

Drag Lock

Drag Lock works with both the "one-finger tap & drag" and the "three-finger drag". When enabled, the drag does not end after lifting your finger(s) from the trackpad. Rather you have to tap/click the trackpad to end the drag.

 

so i wonder, perhaps there is something in old settings for the Pad Info.plist that you prefer? for me i saw nothing smoother with this old kext, but then again the current is already smooth since it is implemented with settings to override  some of defaults that did make it jumpy. anyway, you can look at the Trackpad plugin and copy the same default settings into VoodooPS plugin to implement a similar feel.

tluck@Toms-Mac ~
$ cd Downloads/ThinkpadUltraNaviBundle.kext/Contents/Plugins/ThinkpadUltraNav.kext/Contents/

tluck@Toms-Mac ~/Downloads/ThinkpadUltraNaviBundle.kext/Contents/Plugins/ThinkpadUltraNav.kext/Contents
$ cat Info.plist 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
...
<string>ThinkpadUltraNav</string>
<key>CFBundleGetInfoString</key>
<string>1.1.0, Copyright Apple Computer, Inc. 2002-2003, Copyright mackerintel 2008, Wencheng FANG 2010</string>
<key>CFBundleIdentifier</key>
<string>cn.sh.fang.ThinkpadUltraNav</string>
...
<key>Configuration</key>
<dict>
<key>BottomEdge</key>
<integer>1700</integer>
<key>CenterX</key>
<integer>3000</integer>
<key>CenterY</key>
<integer>3000</integer>
<key>CircularScrollDivisor</key>
<integer>0</integer>
<key>CircularScrollTrigger</key>
<integer>0</integer>
<key>Divisor</key>
<integer>23</integer>
<key>FingerZ</key>
<integer>30</integer>
<key>HorizontalScrollDivisor</key>
<integer>30</integer>
<key>LeftEdge</key>
<integer>1700</integer>
<key>MaxTapTime</key>
<integer>100000000</integer>
<key>MultiFingerHorizontalDivisor</key>
<integer>30</integer>
<key>MultiFingerVerticalDivisor</key>
<integer>25</integer>
<key>MultiFingerWLimit</key>
<integer>9</integer>
<key>RightEdge</key>
<integer>5200</integer>
<key>StabilizeTapping</key>
<true/>
<key>StickyHorizontalScrolling</key>
<false/>
<key>StickyMultiFingerScrolling</key>
<true/>
<key>StickyVerticalScrolling</key>
<false/>
<key>TopEdge</key>
<integer>4200</integer>
<key>UseHighRate</key>
<true/>
<key>VerticalScrollDivisor</key>
<integer>30</integer>
</dict>
...

</plist>

tluck@Toms-Mac ~/Downloads/ThinkpadUltraNaviBundle.kext/Contents/Plugins/ThinkpadUltraNav.kext/Contents
 

 

El Capitan:

and not sure why it is important to you  to have your devices named EHC1/EHC2 - the new (re) name scheme will allow sleep/wake to work on El Capitan.

 

Fan Speed:

The blue ThinkVantage button when pressed turns on the Fan to the max (and push again for system controlled). (i take no credit for this, but it is implemented in the DSDT i posted)

 

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

@winning0308 

sorry not talking about Clover Configurator. mean for your to install the full clover pkg (attached) to turn on the preferences to get the boot logs in /Library/Logs/Clover. well the config.plist (renamed from config.1600x900.list) has 3 kext patches. do you have that file in /EFI/CLOVER?

Clover_v2.3k_r3261.pkg.zip

Share this post


Link to post
Share on other sites

EHCI1 is like in real mac's and modding DSDT is to make it similar to those in MAC's 

 

By fan controll i mean when it's like 60 degree the an starts workin at 1 when it's 65 fan works at.... It's automatic rether than two speeds before editing (i'm not counting 0 state)

 

And for kext to PS2 i'm only looking at trackpoint (the best "mouse" ever), and on t420(not as big compare to x220, it's almost no problem) and x220 there is a problem with dragging using trackpoint, also the bundle i uploaded makes trackpoint works much smoother on x220)

 

moving settings from old thinkpadultranavi to Voodoops2trackpad not work

 

At the end if you think i'm rude or somethink... i'm not, i'm just trying to solve a problem :> Also great work on t420 tutorial

Share this post


Link to post
Share on other sites

@polishapple - as i already mentioned - glad to have your input on this thread. i just have a T420 so can only test and validate what works on T420. i was suggesting that there maybe a way to tune the setting in VoodooPS2Trackpad to make the trackpoint behave better for you. For example,  changing resolution and divisor settings will change the behavior quite a bit - perhaps not cut/paste from the old version but selectively changing key items. i am not totally certain what some of the values mean or even if the ones in there are the best for the T420. 

 

please post your fan control stuff. sounds interesting.

 

in El Capitan, having the same devices names for USB as a Mac i.e. EHC1/EHC2 may not be all that desirable based on what i have been reading in thread by Pokenguyen with plenty of good work and thought leadership from RehabMan on this topic.  

Share this post


Link to post
Share on other sites

...

in El Capitan, having the same devices names for USB as a Mac i.e. EHC1/EHC2 may not be all that desirable based on what i have been reading in thread by Pokenguyen with plenty of good work and thought leadership from RehabMan on this topic.

Correct 100%. The chances of your USB topology matching an existing Mac model are not high.

Share this post


Link to post
Share on other sites

@winning0308

sorry not talking about Clover Configurator. mean for your to install the full clover pkg (attached) to turn on the preferences to get the boot logs in /Library/Logs/Clover. well the config.plist (renamed from config.1600x900.list) has 3 kext patches. do you have that file in /EFI/CLOVER?

My current Clover is v2.3k_r3259, I installed Clover on my OS X partition and then copy EFI folder to EFI partition (mounted by Clover Configurator), I also renamed config.1366x768.list (my LCD is 1366x768) and coppied it to 2 above EFI/CLOVER folders. Do I need to reinstall Clover_v2.3k_r3261.pkg.zip?

Share this post


Link to post
Share on other sites

Yes :>

Nothing change after I installed new Clover bootloader, the sound still no working. I tried to replace all files in AppleHDA.kext content with appropriate files in Utilities/HDA folder (attached by @tluck), then install new AppleHDA kext files with Kext Utility app but no result. :(

Share this post


Link to post
Share on other sites

Could anyone pls guide me how to get sound working on T420 withe Yosemite,  everything on my Hackintosh works well except sound, I followed the @tluck tutorial but the sound still doesn't work. Thanks!

Share this post


Link to post
Share on other sites

@winning0308 -- HDA keys

 

install the clover pkg tools to get bdmesg installed.

 

1) have untouched original AppleHDA.kext in /S/L/E

2) have untouched/unmodified config.1368x768.list renamed to config.plist in /EFI/CLOVER

3) validate Clover is patching HDA

 

Before installing AppleHDA_20672.kext, check that your output looks like this when you run these 3 commands. i highlighted key things to look for.

 

$ bdmesg |grep HDA

0:104  0:000  KextToPatch 0: AppleHDA (change AD198B for Conexant 20672) Kext bin patch, data len: 4

7:944  0:000    KextPatch[0]: 4 bytes, AppleHDA

7:998  0:000  Audio HDA (addr:0x1B0000) setting specified layout-id=12 (0xC)

8:001  0:000  Start HDA Fix

8:001  0:000  found HDA device NAME(_ADR,0x001B0000) And Name is HDEF

8:001  0:000  _DSM already exists, patch HDA will not be applied

8:005  0:000  HDA Controller [8086:1C20] :: PciRoot(0x0)\Pci(0x1B,0x0) => setting specified layout-id=12 (0xC)

8:023  0:001    Extra kext: EFI\CLOVER\kexts\Other\AppleHDA_20672.kext

8:023  0:000  Thinning failed: EFI\CLOVER\kexts\Other\AppleHDA_20672.kext

 

$ kextstat |grep HDA

   81    2 0xffffff7f8232b000 0xf000     0xf000     com.apple.iokit.IOHDAFamily (272.18.1) <5 4 3 1>

   82    1 0xffffff7f8233e000 0x1c000    0x1c000    com.apple.driver.AppleHDAController (272.18.1) <81 80 75 12 7 6 5 4 3 1>

  115    0 0xffffff7f824b8000 0xab000    0xab000    com.apple.driver.AppleHDA (272.18.1) <114 97 82 81 80 75 6 5 4 3 1>

  119    0 0xffffff7f8233a000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (272.18.1) <4 3>

 

$ cat /var/log/system.log|grep HDA

...

Aug 27 13:03:26 Toms-Mac kernel[0]: Sound assertion in AppleHDADriver at line 1540

Aug 27 13:03:26 Toms-Mac kernel[0]: Sound assertion in AppleHDADriver at line 2200

Aug 27 13:03:26 Toms-Mac kernel[0]: Sound assertion in AppleHDADriver at line 199

Aug 27 13:03:36 Toms-Mac kernel[0]: Sound assertion in AppleHDADriver at line 3575

Aug 27 13:03:36 Toms-Mac kernel[0]: Sound assertion in AppleHDADriver at line 1084

 

 

Then when you install AppleHDA_20672.kext in /S/L/E or /L/E 

check that the file AppleHDA in MacOS folder is a proper link pointing to the original file

 

$ cd /Library/Extensions/AppleHDA_20672.kext/Contents/MacOS/

 

$ ls -l

total 8

lrwxr-xr-x  1 root  wheel  64 Aug 23 10:11 AppleHDA -> /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

 

$ ls -lL

total 2192

-rwxr-xr-x  1 root  wheel  1119632 Jul 29 05:01 AppleHDA

 

 

run this:

sudo rm /var/log/system.log

sudo reboot

 

1) NOW if all is working, you will NOT see any more sound assertions when you grep  HDA /var/log/system.log

2) and kextstat shows version 999.99 for AppleHDA

3) bdmesg will show Clover patching AppleHDA like before

 

tluck@Toms-Mac ~

$ kextstat |grep HDA

   94    2 0xffffff7f8142e000 0xf000     0xf000     com.apple.iokit.IOHDAFamily (272.18.1) <5 4 3 1>

   95    1 0xffffff7f81484000 0x1c000    0x1c000    com.apple.driver.AppleHDAController (272.18.1) <94 93 75 12 7 6 5 4 3 1>

  116    0 0xffffff7f8160e000 0xab000    0xab000    com.apple.driver.AppleHDA (999.99) <115 95 94 93 79 75 42 6 5 4 3 1>

  118    0 0xffffff7f825a6000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (272.18.1) <4 3>

 

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 fagner_sbs
      Hello! Sorry for the way of writing in English, I'm using google translator.
      I am several days trying to make my Mojave hakintosh work perfectly. However, I have reached a point where I can no longer proceed without help.
      Almost all hardawares were installed and recognized (using the clover). However, still have a panic kernel (capture attached). Every time, when connecting the MAC it restarts 2 or 3 times to be able to show the dekstop and to function normal. I also think that having problem with video graphics sometimes freezes the entire display system if video appears on a web page.
      I've attached a file with used files: clover, bios capture, complete hardware information, error capture(https://1drv.ms/u/s!AvhW45_HBY8zgfsySZPWZ-SZXFiMfA). Can someone help me?
       
      Notebook:
      Mobile DualCore Intel Core i7-3537U, 2000 MHz (20 x 100), 4 threads
      Asus K46CB Series Notebook
      Intel Panther Point HM76, Intel Ivy Bridge-MB
      16269 MB  (DDR3 SDRAM)
      BIOS AMI (05/17/2013)
      Vídeo:
      Intel(R) HD Graphics 4000                         10.18.10.4358
      NVIDIA GeForce GT 740M                            25.21.14.1634
    • By MikixIT
      Salve ragazzi, io ho un pc con sopra Windows e Sierra(che ho installato grazie a questo fantastico forum)
      Recenetemte ho avuto problemi con gli aggiornamenti windows 10(Che uso urgentemente per lavoro)
      E girando per i forum di Windows, ho capito che il problema era dato da un "interferenza" di clover di quando windows faceva i soliti riavvi quando aggiorna.
       
      Io volevo chiedere se era possibile selezionare MOMENTANAMENTE Windows come avvio primario e quindi non su clover, una sorta di bypassare clover
      e quindi il pc avvia o riavvia e va subito ad avviare windows senza passare da clover, in modo da fare aggiornare Windows e poi "RIATTIVARE" Clover esattamente come prima
      Esiste un modo di fare ciò senza perdere clover o dati etc? 
      Grazie se risponderete, buona serata ragazzi!
    • By cvad
      Small tool to download, compile and build the latest Clover X64 package.
       
       
       

      The script inside is editable.

       
      Enjoy...
       
      Many thanks to the comrade SunKi for help with creating the script.
       
       
       
       
       
      Best thanks - click "Rate File".
       
    • 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.
       
      Good luck and enjoy
      CECI.tool.zip
      CYI.tool.zip
      CMI.tool.zip
    • By Masha24
      Hi guys, I've been lurking in the shadows for months trying to learn how to hackintosh this laptop.  Perhaps if anyone has the time, I could use some help getting it to install 
       
      Trying to install High Sierra on this Laptop:
       
      Lenovo Ideapad 110-171KB-80VK (2017)
      Intel Core i5 7200U
      Intel HD 620 Graphics
      Resolution: 1600x900
       
      Elan PS2 Track Pad - [ACPI\VEN_ETD&DEV_0675 - system device -PCI\VEN_8086&DEV_9D23&SUBSYS_383117AA&REV_21]
      Realtek Network    - [PCI\VEN_10EC&DEV_8136&SUBSYS_383317AA&REV_07]
      Realtech audio
       
      SATA Controller    - [PCI\VEN_8086&DEV_9D03&SUBSYS_382F17AA&REV_21]
      USB 3.0 XHC        - [PCI\VEN_808
       
      --- Using Clover *
      --- I'll attach it below.
       
      I can't quite get it to install, and i've been going in circles for months now ...
      I'll attach everything I have so far including, verbose pics, clover preboot, Clover folder, etc.
       
      Here are some photos of the verbose text leading up to the installer, if maybe there is something useful in here?
       

       
       
       
      And now photos of the installer
       
       
       

       
       

       
       
      Above is an image of the Installer log, (the main pop up window loads from about 10 mins and stops arbitrarily at 2 minutes left, every time) of the nearly hundred attempts i have made, this is the final screen i get, pretty much no matter what i do.
      Sometimes the the order of what it says is different , but the main things of interest are:
       
      "Target is not convertible to APFS: This volume is not formatted as Mac OS Extended journaled."
      "Warning: Couldn't find Board ID, Chip ID, & ECID in new namespace, falling back"
      "Unable to get fs for null"
      " NO native mechanism to verify Applediagnostics.chunklist"
      " NO native mechanism to verify Installfa.plist"
      " NO native mechanism to verify Basesystem.dmg"
      " NO native mechanism to verify AppleDiagnostics.dmg"
      " NO native mechanism to verify InstallESD.dmg"
      " NO native mechanism to verify Basesystem.chumklist"
       
      I have tried many many ... many .. different combinations of kexts, drivers, copies of clover, forks of clover - different copies of drivers and kexts from different sources.. including from all the official repositories.
       
      * I am not trying to install with APFS - the drive i am using is a spinning HDD - so i don't understand the first line quote above.
      * I am using a usb2 slot - there is only two on this machine - 1- usb2 and 1- usb3
      * As you'll see in the Clover folder i'm using APFSdriverloader. - so the installer should detect the installer-APFS-thing - and see it should be HFS+ ?? no?
       
      I'll detail the procedures:
       
      I wiped the Target HDD drive with a live linux USB.
      i prepair the USB with Createinstallmedia method, install clover to the EFI on usb, load kexts and drivers (I've been recently attempting with the Plist from a 'certain other site' Ton*****86) As it has the dvmt preallocation patch and other bits - i'm of course open to ANY other files/pLists .. this is just the one i've been experimenting with lately.)
      Add ' -v ' in clover options to see the verbose output
      in the installer (acts sketchy sorta, delayed and sluggish) i use DiskUtility to erase the drive 'Macos extended journaled'
      Make initial selections, agree to license and begin install.
      it proceeds to 2 minutes left every time, and hangs. many times i've left it for hours, and even overnight.
      I'm honestly not kidding, it's nearly 100 times ive' tried this, i've downloaded high sierra from the app store 5 times to rule out that, i've used countless combinations of everything .. i'm almost completely burned out.
       
       
      If anyone can shed some light i'll be VERY thankful!... I'm ready to go in a completely new direction...please please please help
       
      I'll put the Clover in the next post because i ran out of space in this one......
       
       
       
       
       
       
       
      Here is the latest clover i've been using, with the preboot, and DSDT/SSDT (F2 & F4) in it.
       
      CLOVER-Oct15.zip
       
      Thank you very much for ANY help you can provide
×