Jump to content

OS X Mountain Lion Install Guide for Dell XPS 17 L702x Optimus

* * * * * 6 votes

  • Please log in to reply
908 replies to this topic

#561
webcivilian

webcivilian

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 141 posts
@Zpecter

You can do a couple of things. First, the mackyreddy ML image is based on i7-2630QM, so make sure you are using the correct DSDT and SSDTs. Second, make sure you are using A19 custom bios, also reset the bios to default. From what I can see you might have USB Legacy turned on.

@

Brabbelbla


I'm still a little bit confused about the BIOS and DSDT. I have the modded OSX A19 BIOS. But I'm using DSDT which was provided by mackyreddy as I don't know how to patch the DSDTs yet :)

Also, I'm confused about how many partitions will I need for Clover. This is why direction will come handy :)

#562
jkbuha

jkbuha

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 195 posts
nice work brabbelbla - awesome post
helps me make the transition from chameleon to clover easier as well

on another note, glad you have found a practical use for the hacked bios - native uefi booting!

#563
Zpecter

Zpecter

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 148 posts
  • Gender:Male
  • Location:Málaga (Spain)

@Zpecter

You can do a couple of things. First, the mackyreddy ML image is based on i7-2630QM, so make sure you are using the correct DSDT and SSDTs. Second, make sure you are using A19 custom bios, also reset the bios to default. From what I can see you might have USB Legacy turned on.


Yes, I have another Hackintosh so I changed the SSDTs for the correct ones for my model, i7-2670QM, I think there is only one DSDT for all models, and I'm using the custom bios from a previous post, and I also have reseted the bios to default settings, but still have the same issue and I don't know what more to do to solve it.

#564
mackyreddy

mackyreddy

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 245 posts
  • Gender:Not Telling
  • Interests:Building Operating Systems from scratch
Hello Guys some interesting news Asus A43SJ laptop by default disables Intel HD 3000 and powers Nvidia GT 520 M, i have got my hand on the bios file, may be u guys can dissect it bit more for any scope.

Attached Files



#565
Brabbelbla

Brabbelbla

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts
  • Gender:Male
  • Location:Netherlands
@Zpecter
Can't really think of anything else than a wrong DSDT. You could try to replace your current one by the latest one mackyreddy posted in his package. Think they were updated, but don't know.

@webcivilian
Alright. DSDT is no problem at all. I am using the DSDT from mackyreddy too. Both work. To be absolutely clear to everyone: what I am going to write now, is about setting up Clover for UEFI booting mode, not 'regular' Clover, and it only works in this exact way for this laptop.
  • Get the Clover UEFI-only package, can be found here, and extract it. For trying Clover, it is best placed on a single-partition MBR USB drive. This must be a FAT32 partition. Get mackyreddy's kext pack, and the Lx02X package from here.
  • Add EmuVariableRuntimeDxe.efi found here to EFI/Drivers64UEFI on the USB drive. The drivers in that folder are there because the UEFI boot mode of our Phoenix Technologies', and many other firms', firmware ('BIOS') does not perfectly fit in with OS X and some sort of a transition layer has to be provided.
  • Extract InstallESD.dmg to yet another USB drive, extract System/Library/Extensions from BaseSystem.dmg inside InstallESD.dmg to this USB drive. Add required kexts (FakeSMC, USB3, keyboard etc., whatever you need) to S/L/E.
  • Place the DSDT and the SSDT tables for your model in the EFI/ACPI/patched folder on the Clover drive.
  • Edit the config.plist file in EFI: specify the name of your DSDT file, make it drop OEM SSDT tables, generate C-states and enable GraphicsInjector. Clover will detect the best SMBIOS for your laptop, probably MacBook Pro 8,3, which it will return to OS X. If you use mackyreddy's NVIDIA-off DSDT, you also have to provide the DeviceProperties string that in in the org.chameleon.Boot.plist file in his kext pack. My config.plist is attached: Attached File  config.plist.zip   2.25KB   73 downloads
  • (Re)boot your Lx02X, enter BIOS setup, enable UEFI boot under Advanced -> Boot Configuration. From now on the machine will, for every device, try first to boot in UEFI mode, and if nothing is found it will try in BIOS/Legacy mode.
  • Insert the Clover USB drive and boot it. Insert the OS X install USB drive, Clover will recognise it, press space and boot "...with extra kexts (skips cache)".
  • Do whatever you want inside the installer, for instance, like you said, convert the drive for OS X to GPT with Disk Utility, and make it move the files to the partition you want. About the partition layout: Disk Utility will create an EFI system partition as first partition, on every GPT drive it partitions. You will then add an OS X partition, and the OS X installer will create a recovery partition. That's it. AFAIK the recovery partition can be deleted; you probably won't use FileVault.
  • Copy mach_kernel and the S/L/E folder from your installer USB drive to the partition where OS X is to be installed.
  • Restart, boot Clover and then OS X Install "with extra kexts" from the partition concerned. Let installation take place. It returned "Installation failed" to me, but that's not a problem.
  • Make sure mach_kernel and boot.efi are present in the root of your OS X partition. Else, copy them.
  • Boot Clover, then OS X "with extra kexts". Delete OS X Install Data from the partition, install the kexts from mackyreddy's kext pack, just to be sure you have everything, except for VoodooBattery. Run the Lx02X installer package, only install the IOAHCIFamily patch and SmartBatteryManagement. Repair kext permissions and delete caches as described here. From now on, you should be able to boot using kernelcache, so you won't need to boot "with extra kexts" anymore.
Maybe I forgot something, but I think you should now have a working Hackintosh installation, on a GPT drive, with UEFI boot. Quite a guide it has become. If this all works, you can move Clover to the EFI system partition on your second (or first, 'Mac') HDD, but I will not describe that now.

#566
gabn

gabn

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts

@Zpecter
Can't really think of anything else than a wrong DSDT. You could try to replace your current one by the latest one mackyreddy posted in his package. Think they were updated, but don't know.

@webcivilian
Alright. DSDT is no problem at all. I am using the DSDT from mackyreddy too. Both work. To be absolutely clear to everyone: what I am going to write now, is about setting up Clover for UEFI booting mode, not 'regular' Clover, and it only works in this exact way for this laptop.

  • Get the Clover UEFI-only package, can be found here, and extract it. For trying Clover, it is best placed on a single-partition MBR USB drive. This must be a FAT32 partition. Get mackyreddy's kext pack, and the Lx02X package from here.
  • Add EmuVariableRuntimeDxe.efi found here to EFI/Drivers64UEFI on the USB drive. The drivers in that folder are there because the UEFI boot mode of our Phoenix Technologies', and many other firms', firmware ('BIOS') does not perfectly fit in with OS X and some sort of a transition layer has to be provided.
  • Extract InstallESD.dmg to yet another USB drive, extract System/Library/Extensions from BaseSystem.dmg inside InstallESD.dmg to this USB drive. Add required kexts (FakeSMC, USB3, keyboard etc., whatever you need) to S/L/E.
  • Place the DSDT and the SSDT tables for your model in the EFI/ACPI/patched folder on the Clover drive.
  • Edit the config.plist file in EFI: specify the name of your DSDT file, make it drop OEM SSDT tables, generate C-states and enable GraphicsInjector. Clover will detect the best SMBIOS for your laptop, probably MacBook Pro 8,3, which it will return to OS X. If you use mackyreddy's NVIDIA-off DSDT, you also have to provide the DeviceProperties string that in in the org.chameleon.Boot.plist file in his kext pack. My config.plist is attached: Attached File  config.plist.zip   2.25KB   73 downloads
  • (Re)boot your Lx02X, enter BIOS setup, enable UEFI boot under Advanced -> Boot Configuration. From now on the machine will, for every device, try first to boot in UEFI mode, and if nothing is found it will try in BIOS/Legacy mode.
  • Insert the Clover USB drive and boot it. Insert the OS X install USB drive, Clover will recognise it, press space and boot "...with extra kexts (skips cache)".
  • Do whatever you want inside the installer, for instance, like you said, convert the drive for OS X to GPT with Disk Utility, and make it move the files to the partition you want. About the partition layout: Disk Utility will create an EFI system partition as first partition, on every GPT drive it partitions. You will then add an OS X partition, and the OS X installer will create a recovery partition. That's it. AFAIK the recovery partition can be deleted; you probably won't use FileVault.
  • Copy mach_kernel and the S/L/E folder from your installer USB drive to the partition where OS X is to be installed.
  • Restart, boot Clover and then OS X Install "with extra kexts" from the partition concerned. Let installation take place. It returned "Installation failed" to me, but that's not a problem.
  • Make sure mach_kernel and boot.efi are present in the root of your OS X partition. Else, copy them.
  • Boot Clover, then OS X "with extra kexts". Delete OS X Install Data from the partition, install the kexts from mackyreddy's kext pack, just to be sure you have everything, except for VoodooBattery. Run the Lx02X installer package, only install the IOAHCIFamily patch and SmartBatteryManagement. Repair kext permissions and delete caches as described here. From now on, you should be able to boot using kernelcache, so you won't need to boot "with extra kexts" anymore.
Maybe I forgot something, but I think you should now have a working Hackintosh installation, on a GPT drive, with UEFI boot. Quite a guide it has become. If this all works, you can move Clover to the EFI system partition on your second (or first, 'Mac') HDD, but I will not describe that now.



Great guide! But to register on projectosx.com (for EmuVariableRuntimeDxe.efi) one is required to pass a sanity test which is nearly impossible.

Oh, and I think also the packages from BaseSystem.dmg should be copied to you USB drive, right?

Don't we need the other drivers? HFSPlusX64.efi, OsxFatBinaryDrv.efi, OsxAptioFixDrv.efi (from the post on projectosx.com too)

#567
Zpecter

Zpecter

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 148 posts
  • Gender:Male
  • Location:Málaga (Spain)

Great guide! But to register on projectosx.com (for EmuVariableRuntimeDxe.efi) one is required to pass a sanity test which is nearly impossible.

Oh, and I think also the packages from BaseSystem.dmg should be copied to you USB drive, right?

Don't we need the other drivers? HFSPlusX64.efi, OsxFatBinaryDrv.efi, OsxAptioFixDrv.efi (from the post on projectosx.com too)


Here is another link for EmuVariableRuntimeDxe.efi:

http://www.mediafire...rqv2a1rwmn4asph

I passed the test from projectosx some time ago. :wink2:

@Zpecter
Can't really think of anything else than a wrong DSDT. You could try to replace your current one by the latest one mackyreddy posted in his package. Think they were updated, but don't know.


I'm already using that DSDT. :(

#568
Brabbelbla

Brabbelbla

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts
  • Gender:Male
  • Location:Netherlands
@gabn
When installing OS X, I used the way Apple uses by default, which copies the Packages to the partition they are to be installed to, then reboots to that partition and installs. Does your way work? Would be easier and faster for sure...

HFSPlus.efi, OsxFatBinary.efi and OsxAptioFixDrv.efi are already in the UEFI-only Clover package I mentioned.

#569
jkbuha

jkbuha

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 195 posts
nice work Brabbelba - am typing this off my UEFI USB boot stick as we speak :)
also the FSB mod is working as well - have increased FSB by 10% and geekbench has increased by the same proportion!

One question though - my legacy OSes (Win8, Linux) have disappeared from the Clover boot menu. How do I re-enable them? rEFIt also used to hang on booting legacy OS - any solution for that?

anyways - thanks again and great work!

#570
webcivilian

webcivilian

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 141 posts
@ Brabbelbla

Thanks for the very informative guide.

Few questions: (just so that I understand things)

3. Extract InstallESD.dmg to yet another USB drive, extract System/Library/Extensions from BaseSystem.dmg inside InstallESD.dmg to this USB drive. Add required kexts (FakeSMC, USB3, keyboard etc., whatever you need) to S/L/E.
  • ​By extract you mean to restore InstallESD.dmg using Disk Utility to a USB drive. Copy just the Extensions folder under BaseSystem.dmg to the USB where InstallESD.dmg was restored.
9. Copy mach_kernel and the S/L/E folder from your installer USB drive to the partition where OS X is to be installed.
  • ​After the partition is created and before running the installation itself we are copying the Extension folder. Stupid question but the System/Library will already be there and I need to drop the Extensions from USB or I will need to create System/Library folders.
  • Isn't S/L/E going to be overwritten by the OS X installer.


#571
Brabbelbla

Brabbelbla

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts
  • Gender:Male
  • Location:Netherlands
@jkbuha
Do you have the option to hide those partitions defined in your config.plist? If you are using mine, you do ;)

@webcivilian
By extract you mean to restore InstallESD.dmg using Disk Utility to a USB drive. Copy just the Extensions folder under BaseSystem.dmg to the USB where InstallESD.dmg was restored.
  • First is correct. About the second: I mean that you create a System folder on the USB, then a Library folder within it, and then copy the Extensions folder from BaseSystem.dmg to System/Library, indeed on the USB to which InstallESD.dmg was restored. Then you will add the kexts that you require to boot the system (only FakeSMC is absolutely necessary, I think, maybe some keyboard or touchpad kexts would be handy, I just added the whole kext pack) to it.
​After the partition is created and before running the installation itself we are copying the Extension folder. Stupid question but the System/Library will already be there and I need to drop the Extensions from USB or I will need to create System/Library folders.
  • When the partition is created, it is empty. So the System/Library won't be there?
Isn't S/L/E going to be overwritten by the OS X installer?
  • It will be, but for me it didn't matter a thing. Just worked.


#572
jkbuha

jkbuha

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 195 posts
Yes I figured that out as soon as I sent it ;)
I still cannot boot into win8/linux though - once refit starts booting legacy OS it freezes... any ideas?

#573
Lil W

Lil W

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
I'm registered here for a long times, that time I used dell vostro 1500, but now new Dell XPS L702X.
First, I want to thanks for the A19 BIOS mod so I can enable UEFI boot, I can run windows 8 on uefi which is faster.
Second, I realize I'm not only the one face with "Dell Quickset" and "Fn+F2" hang my laptop. so this is maybe the bios problems, and it somehow very annoying.. I don't know if there is anything wrong with the bios settings, 'cause everything is just fine in windows 8 MBR. I'm going to restore default settings for the bios to see if these problems gone. otherwise, I think I will go back to poor BIOS performance. Dell hide these options maybe because of those reasons?

#574
gabn

gabn

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
Dumb question... If I do mackyreddy's guide from the first post, should I also delete the NVDAGF100Hal.kexts? I ask this, because I have the GT555m with 3D... For best performance I think I need them, right? But how do I inject the device ID into the kext?

Oh, and can I just take the applications from your 10.8.2 build and place them in the folder "applications" on my usb to get them? Because my version of the installESD comes without them..

One more question, what is the DellSynapticsTouchpad.pkg and what does it do? Installing kexts should also work, right?

EDIT: What I tried:

1. Create Clover USB using brabbelbla's guide. Boot into clover. Works! Just to clarify for myself: I didn't place a S/L/E folder with extension on this USB drive, right? Only on the Mac OS install drive...

2. Create bootable USB from mackyreddy's release and replace OSInstall with the one from my original 10.8.2 dmg so that I can install on a GPT disk. Also replaced SSDT files with the ones for my CPU (QM 2670). Didn't work!
2.1 It is not possible to boot into verbose mode with Clover, is it?
2.2 I also miss the Installation folder in System in mackyreddy's release?

3. Boot into my windows 8 EFI installation by using clover. Didn't work! I see a windows 8 "message" (which is actually a light blue screen which tells me that my pc will restart and then automatically restore the error)

What I will try next: Create bootable USB drive with my original 10.8.2 installation.

#575
Brabbelbla

Brabbelbla

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts
  • Gender:Male
  • Location:Netherlands
@jkbuha
I don't really know, haven't ever used Clover for Legacy booting. You could try deleting EmuVariableRuntimeDxe and maybe other drivers, to see if that ahem... "fixes" the problem. EDIT: Oooohh, wait. In config.plist, in SystemParameters, define a LegacyBoot key, with PBR as string. Deleted that one in mine. And therefore yours. :P

@gabn
Yes, you can boot into verbose mode with Clover. Just press space when selecting the OS, and you will see it. Windows 8 UEFI boot with Clover will probably be prevented by EmuVariableRuntimeDxe. The BSOD, does it say anything about a non-ACPI-compliant BIOS? If so, you could try the ones in this post (direct link). If you try, delete EmuVariableRuntimeDxe. It will load EmuVariableUefi when booting OS X, and will not (and thereby return the real variables, instead of fake ones) when booting Windows and any other OS.

#576
gabn

gabn

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts

@gabn
Yes, you can boot into verbose mode with Clover. Just press space when selecting the OS, and you will see it. Windows 8 UEFI boot with Clover will probably be prevented by EmuVariableRuntimeDxe. The BSOD, does it say anything about a non-ACPI-compliant BIOS? If so, you could try the ones in this post (direct link). If you try, delete EmuVariableRuntimeDxe. It will load EmuVariableUefi when booting OS X, and will not (and thereby return the real variables, instead of fake ones) when booting Windows and any other OS.


Works like a charm! Thank you so much! Only still some problems when trying to install mac os, probably unrelated to the UEFI booting... Last lines read:
NVDAGF100Hal loaded and registered
ACPI_SMC_Platform Pluging -waiting for Apple SMC
Ethernet address (Realtek RTL81xx) - 62:xx:xx:Xx:xx (mac adress)
Then a long break and then:
Watiting for DSMOS...
And then it hangs...

#577
TimeWalker75a

TimeWalker75a

    InsanelyMac Legend

  • Gurus
  • 930 posts
  • Gender:Male
Suggest you guys leap in to this thread: http://www.insanelym...fi-and-gpt-hdd/
and help @dmazar test for Phoenix.
Reading the thread it seems like he has to do unnecessary stuff because some users have their system full of sh*tty kexts that prevent proper booting in the first place.

#578
Brabbelbla

Brabbelbla

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts
  • Gender:Male
  • Location:Netherlands
@gabn
How about the ownership and permissions of your S/L/E? Caches deleted? Using a DSDT with the GeForce not disabled (not using a 3D screen?) requires you to delete all NV*.kext and Geforce*.kext files.

#579
gabn

gabn

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts

@gabn
How about the ownership and permissions of your S/L/E? Caches deleted? Using a DSDT with the GeForce not disabled (not using a 3D screen?) requires you to delete all NV*.kext and Geforce*.kext files.


Permission is set to read-only. Caches in S/L are emptied (folder structure kept intact). I use mackyreddy's A.19 DSDT (from the 10.8.2 kext pack). Not the one with Nvidea off, since I have the 3D screen and I need the Nvidea drivers. That's also why I didn't delete all NV*.ketxs and Geforece*.kexts, because I need them, right?

#580
Brabbelbla

Brabbelbla

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts
  • Gender:Male
  • Location:Netherlands
@gabn
Yes, you are right, you need those kexts. Does safe boot work? I remember I had the DSMOS message as well, but safe boot worked for me and after deleting all NV* and Geforce* kexts (and clearing caches and touching S/L/E) I could revert to normal booting. In your case, you could try to instead delete AppleIntelHD*.kext, AppleIntelFramebufferCapri.kext, AppleIntelSNB*.kext and AppleIntelIVBVA.kext. In short, all kexts having to do with Intel HD Graphics. Have you also tried the touch command on your S/L/E folder?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy