Jump to content
Hervé

Dell Latitude D630 with Core2Duo and nVidia Quadro NVS 135M - El Capitan/Sierra

Recommended Posts

Target OS X release:

  • El Capitan 10.11.x (all versions)

This is an Enoch-based installation using the well-known/well-documented vanilla manual method detailed below:
 
D630n_T9300_NVS135m_10.11.2.jpg
D630n_10.11.2.jpg D630n_SpeedStep.jpg
D630n_Display.jpg DVDPlayer_Features.jpg
 
Working:

  • full QE/CI with nVidia Quadro NVS 135m OOB
  • VGA output OOB (display extension or mirroring)
  • full audio, including jack microphone input and headset output (with VoodooHDA v2.8.x & AppleHDADisabler kexts in /L/E)
  • built-in Gigabit Ethernet (with BCM5722D kext v2.3.5 or v2.3.6)
  • DW360 bluetooth OOB
  • native CPU speedstep (with SMC-tuned Kozlek's FakeSMC (SMC keys=1.33f8/SMC compatible=smc-mcp) and MBP5,1 SMBIOS profile)
  • native GPU throttling (with AGPM-tuned Kozlek's FakeSMC)
  • sleep through lid closure, Fn-Esc, Apple menu->Sleep, power button (Press ALT-CMD/Win-PWR or CTRL-PWR for power options menu) and energy savings settings (all with hibernation disabled)
  • wake through lid opening and power button
  • wireless with any compatible card
  • battery management and monitoring (with ACPIBatteryManager kext v1.60.4)
  • rear + right USB2.0 ports (with USB_injector kext)

 

Not Working:

  • CardBus/PC Card/PCMCIA (unsupported since SL 10.6.7)

 

Not tested:

  • Firewire 1394
  • SmartCard reader

 

1) 10.11 USB installer creation

  • Double click on InstallESD.dmg found in Install OS X El Capitan.app/Contents/SharedSupport to mount the dmg image
  • Then mount BaseSystem.dmg (hidden file)
open /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg
  • Use Disk Utility to restore the contents of BaseSystem.dmg on a USB key (or HDD partition) formatted Mac OS extended (journaled).
  • Remove link for Packages in folder System/Installation of your USB key
rm /Volumes/OS\ X\ Base\ System\ 1/System/Installation/Packages
  • Copy folder Packages located in InstallESD.dmg to folder System/Installation of your USB key
cp -R /Volumes/OS\ X\ Install\ ESD/Packages /Volumes/OS\ X\ Base\ System\ 1/System/Installation
  • Copy the 2 hidden files (BaseSystem.dmg & Basesystem.chunklist) of InstallESD.dmg to the root of your USB key
cp /Volumes/OS\ X\ Install\ ESD/BaseSystem.* /Volumes/OS\ X\ Base\ System\ 1
  • Install Enoch r2795 (latest at time of writing) on the USB installer
  • Copy the above Enoch r2795 installer package to the root of the USB installer
  • Copy the following (unzipped/extracted) D630n bootpack to the root of the USB installer
  • Create a folder called Kernels under /System/Library (normally, it won't exist at that stage)
  • Copy the appropriate El Capitan vanilla kernel to /System/Library/Kernels. Copies of the kernels are available here.

 

2) 10.11 installation

  • Boot the 10.11 USB installer (it may take a little time to kick in) with -f -v boot flags
  • If/when prompted for USB keyboard and/or mouse at installer startup, just press [sPACE] or [ENTER] key
  • At OS X installer main screen, open up Disk Utility in Utilities menu
  • If applicable, partition your target disk in GPT/GUID scheme
  • Create your target 10.11 partition and format it as OS X Extended (Journaled)
  • Close Disk Utility and proceed with OS X 10.11 installation as usual

 

3) Post-installation fine-tuning

  • Reboot the 10.11 USB installer (it may take a little time to kick in)
  • If/when prompted for USB keyboard and/or mouse at installer startup, just press [ENTER] or [sPACE] twice
  • At OS X installer main screen, open up Terminal in Utilities menu
  • Verify CoreStorage installation disk mode:
diskutil list
  • If CoreStorage activated for Fusion drive, revert to legacy mode:
diskutil corestorage revert <device> (for example: /dev/disk1)
  • Identify your freshly made 10.11 partition name
df
  • Copy the Extra folder from the USB installer to your identified 10.11 disk partition
cp -R /Extra /Volumes/<your fresly made 10.11 partition name> (for example: cp -R /Extra /Volumes/OSX_disk)
  • Reboot the 10.11 USB installer, press a key at delay bar (or F8) to interrupt boor process and select your freshly made 10.11 disk partition. You'll then be booting El Capitan for the 1st time
  • Complete the 1st boot installation finalisation
  • Once at the 10.11 desktop, run the Enoch r2795 package from your USB installer to install Enoch on your HDD; it should be installed on the 1st partition of the disk
  • Eject the 10.11 USB installer and put it aside
  • :excl: GPU performance tuning has been injected into FakeSMC kext and no longer requires additional action at this stage
  • :excl: Disable hibernation (can be done later, but should be done): open up Terminal and type the following commands
sudo pmset hibernatemode 0
sudo pmset hibernatefile /dev/null
sudo rm -f /var/vm/sleepimage
  • Reboot your finalised El Capitan installation

 

If you want faster boot time with optimised prelinked kernel:

  • copy all kexts from /Extra/Extensions to /Library/Extensions (ignore and acknowledge the permissions-related error messages)
  • repair kexts permissions and rebuild cache
sudo chmod -Rf 755 /L*/E*
sudo chown -Rf 0:0 /L*/E*
sudo touch -f /L*/E*
sudo kextcache -Boot -U /
  • Edit /Extra/kernel.plist and set KernelBooter_kexts parameter to No
<key>KernelBooter_kexts</key>
<string>No</string>
  • Boot time will be faster in that configuration mode
  • El Capitan can subsequently be updated through AppStore updates or combo updates without further tuning action

 

Please note that:

  • the DSDT was modified to rename USB devices to EH01/EH02; failing that, El Capitan does not recognise any USB2.0 ports/devices.
  • USB ports all functional thanks to D630-specific USB_injector kext (DSDT-described ports injected to MBP5,1 profile).
  • VoodooHDA + AppleHDADisabler kexts have to be placed in /L/E in order to load (they don't load from /E/E).
  • Injecting kexts from /E/E with boot option KernelBooter_kexts=Yes is slower than loading cached kexts placed in /S/L/E or /L/E.
  • After any kexts modification, whether to /S/L/E or to /L/E, repair permissions and rebuild cache as detailed above.

D630n_10.11_Pack.zip

  • Like 8

Share this post


Link to post
Share on other sites

Target macOS release:

  • Sierra 10.12.x (all versions)
  • :excl: For models with Penryn CPUs only  :excl:

 

This is an Enoch-based installation using the well-known/well-documented vanilla manual method detailed below:
 
D630n_T9300_NVS135m_10.12.jpg

D630n_10.12.jpg D630n_SpeedStep.jpg

D630n_Displays.jpg DVDPlayer_Features.jpg

 
Working:

  • full QE/CI with nVidia Quadro NVS 135m OOB
  • VGA output OOB (display extension or mirroring)
  • full audio, including jack microphone input and headset output (with VoodooHDA v2.8.x & AppleHDADisabler kexts in /L/E)
  • built-in Gigabit Ethernet (with BCM5722D kext v2.3.5 or v2.3.6)
  • DW360 bluetooth OOB
  • native CPU speedstep (with SMC-tuned Kozlek's FakeSMC (SMC keys=1.62f6/SMC compatible=smc-mcp) and MBP7,1 SMBIOS profile)
  • native GPU throttling (with AGPM-tuned Kozlek's FakeSMC)
  • sleep through lid closure, Fn-Esc, Apple menu->Sleep, power button (Press ALT-CMD/Win-PWR or CTRL-PWR for power options menu) and energy savings settings (all with hibernation disabled)
  • wake through lid opening and power button
  • wireless with any compatible card
  • battery management and monitoring (with ACPIBatteryManager kext v1.60.4)
  • rear + right USB2.0 ports (with USB injector kext)

 

Not Working:

  • CardBus/PC Card/PCMCIA (unsupported since SL 10.6.7)

 

Not tested:

  • Firewire 1394
  • SmartCard reader

 

 

1) 10.12 USB installer creation

  • Double click on InstallESD.dmg found in Install macOS Sierra.app/Contents/SharedSupport to mount the dmg image
  • Then mount BaseSystem.dmg (hidden file)
open /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg
  • Use Disk Utility to restore the contents of BaseSystem.dmg on a USB key (or HDD partition) formatted Mac OS extended (journaled).
  • Remove link for Packages in folder System/Installation of your USB key
rm /Volumes/OS\ X\ Base\ System\ 1/System/Installation/Packages
  • Copy folder Packages located in InstallESD.dmg to folder System/Installation of your USB key
cp -R /Volumes/OS\ X\ Install\ ESD/Packages /Volumes/OS\ X\ Base\ System\ 1/System/Installation
  • Copy the 2 hidden files (BaseSystem.dmg & Basesystem.chunklist) of InstallESD.dmg to the root of your USB key
cp /Volumes/OS\ X\ Install\ ESD/BaseSystem.* /Volumes/OS\ X\ Base\ System\ 1
  • Install Enoch r2839 (latest at time of writing) on the USB installer
  • Copy the above Enoch r2839 installer package to the root of the USB installer
  • Copy the following D630n bootpack to the root of the USB installer
  • Create a folder called Kernels under /System/Library (normally, it won't exist at that stage)
  • Copy the appropriate Sierra vanilla kernel to /System/Library/Kernels. Copies of the kernels are available here.

 

2) 10.12 installation

  • Boot the 10.12 USB installer (it may take a little time to kick in) with -f -v boot flags
  • If/when prompted for USB keyboard and/or mouse at installer startup, just press [sPACE] or [ENTER] key
  • At macOS installer main screen, open up Disk Utility in Utilities menu
  • If applicable, partition your target disk in GPT/GUID scheme
  • Create your target 10.12 partition and format it as OS X Extended (Journaled)
  • Close Disk Utility and proceed with macOS 10.12 installation as usual

 

3) Post-installation fine-tuning

  • Reboot the 10.12 USB installer (it may take a little time to kick in)
  • If/when prompted for USB keyboard and/or mouse at installer startup, just press [ENTER] or [sPACE] twice
  • At macOS installer main screen, open up Terminal in Utilities menu
  • Verify CoreStorage installation disk mode: 
diskutil list
  • If CoreStorage activated for Fusion drive, revert to legacy mode:
diskutil corestorage revert <device> (for example: /dev/disk1)
  • Identify your freshly made 10.12 partition name
df
  • Copy the Extra folder from the USB installer to your identified 10.12 disk partition
cp -R /Extra /Volumes/<your fresly made 10.12 partition name> (for example: cp -R /Extra /Volumes/OSX_disk)
  • Reboot the 10.12 USB installer, press a key at delay bar (or F8) to interrupt boor process and select your freshly made 10.12 disk partition. You'll then be booting Sierra for the 1st time
  • Complete the 1st boot installation finalisation
  • Once at the 10.12 desktop, run the Enoch r2839 package from your USB installer to install Enoch on your HDD; it should be installed on the 1st partition of the disk
  • Eject the 10.12 USB installer and put it aside
  • Copy all kexts from /Extra/Extensions to /Library/Extensions (ignore and acknowledge the permissions-related error messages)
  • Repair kexts permissions and rebuild cache (if you end up with "Error 77..." message, repeat the touch + kextcache commands)
sudo chmod -Rf 755 /L*/E*
sudo chown -Rf 0:0 /L*/E*
sudo touch -f /L*/E*
sudo kextcache -Boot -U /
  • Edit /Extra/kernel.plist and set KernelBooter_kexts parameter to No
<key>KernelBooter_kexts</key>
<string>No</string>
  • Disable hibernation (can be done later, but should be done): open up Terminal and type the following commands
sudo pmset hibernatemode 0
sudo pmset hibernatefile /dev/null
sudo rm -f /var/vm/sleepimage
  • Sierra can subsequently be updated through AppStore updates or combo updates without further tuning action

 

 

Please note that:

  • Sierra requires a Penryn CPU with SSE4 instructions set (e.g. T6xxx, T8xxx, T9xxx with FSB 800MHz). Merom CPUs (e.g.: T5xxx, T7xxx) do not have such instructions set and do not allow Sierra installation.
  • Sierra installation is not supported with MBP5,1 SMBIOS profile (although Sierra can subsequently run with that SMBIOS). Hence the switch to MBP7,1 profile. FakeSMC SMC keys + AGPM tuning revised accordingly (GPU (i.e. AGPM) performance tuning has been injected into FakeSMC kext and no longer requires additional action at this stage).
  • the DSDT was modified to rename USB2.0 controllers to EH01/EH02; failing that, Sierra does not recognise any USB2.0 ports/devices.
  • USB ports all functional thanks to D630-specific USB_injector kext (DSDT-described ports injected to MBP7,1 profile).
  • VoodooHDA + AppleHDADisabler kexts have to be placed in /L/E in order to load (they don't load from /E/E).
  • Injecting kexts from /E/E with boot option KernelBooter_kexts=Yes is slower than loading cached kexts placed in /S/L/E or /L/E.
  • After any kexts modification, whether to /S/L/E or to /L/E, repair permissions and rebuild cache as detailed above.

D630n_10.12_Pack.zip

  • Like 6

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...