Jump to content
  1. Cyberdevs

    Cyberdevs

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • 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 Beta:  For macOS Mojave Beta, use CMJI.tool on page 4 of thread.
       
      Good luck and enjoy
      CECI.tool.zip
      CYI.tool.zip
      CMI.tool.zip
    • By tluck
      Lenovo T460 macOS with Clover Guide
      Release v2018.06.05 on GitHub Updated to Clover r4513 Updated Lilu.kext - supports both Sierra and High Sierra Updated AppleALC.kext - supports both Sierra and High Sierra + added back DVMT patch for 10.13.2+ Updated VoodooPS2Controller.kext (RehabMan version) + SSDT updates for T460 Added Frank's T470p DSDT files
        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 (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 frenzycoder
      Hi, 
       
      I try to get a notebook working vanilla. 
       
      I used clover and patched DSDT.aml to get it booting. Now I have power-management issues and sound left. 
      Sound is more important for me at the moment.
       
      My notebook has following hardware: 
      Realtek ALC269 @ Intel Skylake PCH-H 
       
      lspci on ubuntu said: 
      00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
       
      id: multimedia description:  Audio device product:  Sunrise Point-LP HD Audio vendor:  Intel Corporation physical id:  1f.3 bus info:  pci@0000:00:1f.3 version:  21 width:  64 bits clock:  33MHz capabilities:  pm msi bus_master cap_list configuration: driver = snd_hda_intel latency = 32 resources: irq : 128 memory : df120000-df123fff memory : df100000-df10ffff  
      What would be the best way to install it? 
      Is it possible to do it only with EFI/Clover or do I have to touch /L/E? 
       
       
    • By zeg66
      Trying to install Mavericks on an Asus H170M-E D3 motherboard, Skylake I3-6100 cpu, Intel 530 graphics.
      Last message I see is "root device uud is" and a series of "+++" but then it just stops.
      Have prepared usb with createinstallmedia, added Clover 4413 and changed a few settings with Configurator.
      Any help is welcome.
    • By Cyberdevs
      First of all I want to thank all the people in advance who helped make this happen all the credit goes to them, I just gathered what I’ve learned from them.
      Pike R Alpha, RehabMan, Majonéz, Yassinex, Toledo, Todeleda, TheRacerMaster, OiCKilL, Andres ZeroCross, bomerr and many other great minds who helped me out. If any name/s is/are left out please let me know so I put it/them right here.
      These are my specs:
      Gigabyte Z170X-Gaming 5
      Intel Skylake 6700K @ 4.0 GHz up to 4.2 GHz
      4x8 GB 2666 DDR4 GSKILL RIPJAWS Memory Modules
      Kingston HyperX Savage 240 GB 6Gbps SSD
      AMD Radeon HD7790 1 GB GDDR5
      TP-Link WDN-4800
      CoolerMaster Nepton 120XL Cooling Unit
      CoolerMaster V750-Gold Power Supply Unit
      CoolderMaster Silencio 452 MidTower Case
       
      BIOS Settings:
      In BIOS from M.I.T. choose Advanced Memory Settings
           I. From Extreme Memory Profile(X.M.P.) I Choose [Profile1] it's crucial to choose this option if you want your memory modules work with their full frequency.
           II. Enter the correct System Memory Multiplier which in my case based on my 2666MHz DDR4 it must be 26.6.
           III. Select [Enhanced Performance] from Memory Enhancement Settings. You can choose any of the options I chose Enhanced Performance.
           IV. From BIOS Features Fast Boot is disabled, Windows 8/10 Features is set to Windows 8/10 WHQL, LAN PXE Boot Option is disabled, CMS Support is Enabled, Storage Boot Option Control is UEFI Only, Other PCI Device RPM Priority is UEFI Only and Network Stack is Disabled and Secure Boot State is Disabled.
           V. From Peripherals: VT-d is disabled, Internal Graphics is set to Auto, Audio Controller is Enabled, Audio DSP is Disabled, PCH LAN Controller,SATA Configuration is set to AHCI, Wake on LAN and High Precision Timer are Enabled. I didn’t patch my BIOS because of a great job that Pike R Alpha did with a kext based patch for Skylake processors and to patch the AppleACPI.kext.
      Under Super IO Configuration Serial Port must be disabled as well.
      UPDATE: I recently updated my BIOS to f5h and IOAPCIEntries 24-119 Entries is there so if you are using that version of the BIOS or anything prior to original f4 you don't need to use the ACPI patch.
           VI. Save your new settings and reboot.
      Here is a copy of my EFI folder which works great with this configurations, Just remember I didn’t inject any Graphic Adapters so you have to configure it with yourself based on the graphic adapter you are using.
      https://www.dropbox.com/s/7bthzjmrhex9ivp/GA-Z170X-Gaming%205.zip?dl=0
       
      Activating Audio:
      Download and install VoodooHDA 2.8.8.V3
      Use clover configurator to edit your config.plist
      ACPI: "Add the following DSDT Patch"
      Comment: Rename HDAS to HDEF
      Find* [HEX] :48444153
      Replace [HEX] :48444546
      Set the following flags under Boot section:
      kext-dev-mode=1 and rootless=0
      The audio won't work by default, you need to install Toledo's audio driver or install VoodooHDA.
      Toledo's commands are available at: https://github.com/t...audio_CloverALC
      and
      VoodooHDA is available at: http://sourceforge.n...ects/voodoohda/
      I personally use VoodooHDA instead of Toledo's script because for some unknown reason with Toledo's audio kexts and script while I was playing musics after a few minutes I could hear a noise which was getting worse so I tried VoodooHDA and now it work perfectly fine.
      My audio layout is set to 1.
      FYI: If you are going to use VoodooHDA just remember after you installed the VoodooHDA there will be a file in your application folder called "VoodooHdaSettingsLoader" which you need to place it in your login items in system preferences under "Users and groups" ---> "login Items" and adjust the "input Gain" under "VoodooHDA" in system preferences to avoid the hissing sound every time the OS starts. and if you don't every time you restart the system you'll need to adjust your audio settings. By loading this application OS will remember you settings and load them.
       
       
      USB 3.0
      Under ACPI add this DSDT Patch:
      Comment: change _OSI to XOSI
      Find* [HEX] : 5F4F5349
      Replace [HEX] : 584F5349
       
      and
       
      Comment: Change EHC1 to EH01
      Find* [HEX] : 45484331
      Replace [HEX] : 45483031
       
      and
       
      Comment: Change EHC2 to EH02
      Find* [HEX] : 45484332
      Replace [HEX] : 45483032
       
      Under Kernel and Kext Patches add the following to “KextsToPatch”:
      Name*: AppleUSBXHCIPCI
      Find* [HEX] : 83BD8CFEFFFF10
      Replace [HEX] : 83BD8CFEFFFF15
      Comment: Raise USB Port Limit
      You also need to add RehabMan’s “USBInjectAll.kext” to the following path under EFI\Clover\kexts\10.11\
      which is available for download at RehabMan’s site.
      https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads
       
      Graphics:
      I Use an AMD RadeonHD 7790 Graphic Adapter with these settings:
      Under Graphics:
      Dual Link is set to 1, FB Name is set to Baladi, VRAM is set to 1024, Video Ports is se to 4, Load VBIOS is checked and finally Inject ATI is checked too.
      Under Kernel and Kext Patches:
      ATI Connectors Data is set to:
      000400000403000000010300120403030004000004030000000101001102010100040000040300000001020021030202000400000403000000010400220504040004000004030000000105001000050500040000040300000001060020010606
      and
      ATI Connectors Patch is set to:
      000800000400000000010300220503030004000004000000000101002103010200040000040000000001020012040201040000000400000000010400010204040400000004000000000105000000050600040000040000000001060020010605
      and finally Ati Connectors Controller is set to 8000 
       
      Cheers!









×