Jump to content

Dell Latitude C640 Hackintosh 10.4.11


wayneh1
 Share

2 posts in this topic

Recommended Posts

Dell Latitude C640 Hackintosh Tiger 10.4.11 Install Guide

 

1. Introduction and basic strategy comments: This is a step-by-step guide for noobs and idiots like me to get your Dell C640 turned into a nearly-fully functioning Hackinstosh running Tiger 10.4.11. It does not cover Leopard, because I think you can forget about Leopard on this machine; see comments following. This guide applies specifically only to this machine, however the overall approach should apply to many similar P4 models. You'll want to dig farther if your machine is much different. A machine overview:

 

CPU: Intel Pentium 4 based laptop, 1.8 GHz, 1 GHz RAM

Graphics: ATI Radeon Mobility 7500 with 32Mb

Drives: 30 Gb internal ATA HD, swappable DVD drive

Ports: USB 1.0 (1), Ethernet, PCMCIA slots (2), sound in/out, S-video out, modem, monitor, parallel

One battery slot, a second battery can replace the DVD drive.

 

I have added nothing original to the techniques here except to compile them in a detailed guide for this machine, for a noob, which I was until recently. This guide is based entirely on the near-miraculous work of others. References to original posts are provided. Apologies to anyone I didn't properly acknowledge.

 

"If I have seen farther, it is by standing on the shoulders of giants". Isaac Newton (1676)

 

Caveat and Warning: Be prepared for spending a lot of time time tinkering IF things don't go perfectly. You might get lucky, and this guide is designed to ensure quick success, but YMMV. If you just want a Mac that works, go buy one. It's much more efficient if your time is at all valuable to you. But if you enjoy turning an old doorstop into a shiny new toy, forge ahead. Finally, be prepared for incomplete results. Some things, like waking from sleep, may be hard or impossible to fix. My worst remaining annoyance is the display, which is locked at 1024x768. My LCD panel is 1400x1050 and this means my screen shows only a 10" box surrounded by a fat black frame. If I can fix that - meaning if I can find someone else's fix, and I'm not optimistic - I'll update this guide. Comments welcome.

 

2. Get the files you'll need. You'll be getting software updates online later, but it will be helpful to get the critical files upfront. Here's the list.

 

JaS 10.4.8 AMD.Intel.SSE2.SSE3.iso disk image

search for it, burn it to a DVD disk with Disk Utility. Don't just hit "Burn" in the finder - that'll just put the image on a disk. You need a bootable disk. There are confusing versions of the JaS DVD out there. You definitely need the SSE2 Intel part.

 

Mac OS X 10.4.11 Combo Update (Intel) 321 Mb

 

System Profiler Patch reference here.

 

IOPCIFamily.kext v244 for Tiger reference here

 

IOPCCardFamily.kext reference here.

 

IO80211Family.kext There are 2 files here, just discard the other.

 

IONetworkingFamily_10.4.3.kext.zip reference here.

 

PowerManagement.tar.gz reference here.

 

ATI_7500_Pack.dmg.html references here and here

 

Callisto 006 reference here

 

2B. The last two downloads involve files to restore Quartz Extreme and require pre-editing. Jump ahead to step #15 to accomplish that, and come back here when you're ready.

 

You might want to unzip and unpack all these onto a CD or USB stick before continuing, so that you won't need to get internet access in the meanwhile. You'll also then have a "master" set.

 

3. Boot the Dell from the JaS 10.4.8 DVD you made above. F12 pulls up the boot menu where you can choose the DVD instead of the default. Be quick or you'll miss the chance. If you do miss it, just power off and try again. Do NOT just install the defaults like a normal Mac install. Proceed only as far as you have to, to be able to access the Utilities menu.

 

4. Repartition your drive using Disk Utility. Unlike a normal Mac installation, you need the drive partitioned using the "Master Boot Record" or MBR scheme. I was not concerned with dual booting so I went with a single partition, but there are procedures available to also accomplish dual booting into Windows XP. You can even repartition an existing XP install to make room for OS X. I had the luxury of two drives, one with untouched XP and one devoted to new OS X.

 

5. Reformat the hard drive using Disk Utility. Select your volume partition and click on "Erase". Choose "Mac Extended, journaled" and give it a name. This will be quick, and you're ready to go.

 

6. Install Tiger WITH the 10.4.8 Intel kexts package and no other options, unless you want X11, all the printer drivers and languages. But it won’t boot without those Intel kexts. Installation is not real fast. Probably slower than a normal Mac install but similar.

 

7. Reboot into Tiger (Really !!) In my case, it just worked. However the PCMCIA port was dead, meaning no wireless internet, and the screen was stuck at a small 1024x768 window inside my spacious 1400x1050 LCD panel. Digging a little deeper, it was plain that Quartz Extreme was also not working. (Try rotating the board in Chess or using the "Flurry" screensaver). On the upside, USB and the DVD drive worked fine out of the box.

 

8. If you're not ready to proceed with updating the OS to 10.4.11, jump ahead to step 10 to get ethernet and wireless working. You'll have to redo those "fix" steps after the OS upgrade, so it's more efficient to just plow forward with the OS update right away.

 

The upgrade process is here, and the first post is the updated procedure. A later post includes specific details pertaining to the Dell C640. All details are included below.

 

The strategy is to secure a few critical files including the kernel (8.8.1, I think), run the standard Apple Software Updater, then replace those critical files after the update AND BEFORE REBOOTING.

 

Virtually every step below can be performed using Finder, TextEdit, and Disk Utility. However, if things go badly you can recover from serious doodoo if you can use Terminal.

 

8.1) Open up the terminal and then type the following line-by-line, pressing ENTER after each line. It's easiest to copy and paste each line directly from this procedure into the Terminal.

 

If ANY line fails because of permissions, enter "sudo" at the beginning of the line and repeat. You can type "sudo" and paste in the rest of the command, or you can hit the up arrow to pull up the previous command, move the cursor to the beginning of the line and insert "sudo".

 

sudo -s "your password"  <== enter without quotes
cp /mach_kernel /old
cp -R /system/library/coreservices/loginwindow.app /

Alternate procedure: Use Finder to copy all of the following kexts from the Extensions folder to the root level your startup drive. Or enter line-by-line in Terminal.

 

cp -R /system/library/extensions/AppleSMBIOS.kext /
cp -R /system/library/extensions/AppleACPIplatform.kext /
cp -R /system/library/extensions/AppleAPIC.kext /
cp -R /system/library/extensions/IOATAFamily.kext /
cp -R /system/library/extensions/system.kext /

 

Skip the following step if you're following this guide in order.

Dell Latitude C640: Add the following lines to the Terminal or use Finder to move the following kexts ONLY IF you've ALREADY fixed your PCMCIA wireless and onboard ethernet and want to save that work. Otherwise these files will be replaced later and you can ignore them for now.

 

cp -R /system/library/extensions/IOACPIFamily.kext / <== fixes PCMCIA
cp -R /system/library/extensions/IOPCCardFamily.kext / <== fixes PCMCIA
cp -R /system/library/extensions/IOPCIFamily.kext / <== fixes PCMCIA
cp -R /system/library/extensions/IONetworkingFamily.kext / <== fixes Ethernet
cp -R /system/library/extensions/IO80211Family.kext /     <== fixes wireless, Netgear WG511T
cp -R /system/library/SystemConfiguration/PowerManagement.bundle /     <== fixes battery status icon in menubar for laptop users

.

 

Skip the following step if you're following this guide in order.

If you've already fixed your Quartz Extreme (detailed later), and saved the modded files, it'll be easier to just repeat that procedure. But here are the files to rescue if you must do it now:

 

cp -R /system/library/extensions/ATINDRV.kext /
cp -R /system/library/extensions/ATIRadeon.kext /
cp -R /system/library/extensions/ATIRadeonDVDDriver.bundle /
cp -R /system/library/extensions/ATIRadeonGA.plugin /
cp -R /system/library/extensions/ATIRadeonGLDriver.bundle /
cp -R /system/library/frameworks/OpenGL.framework /

 

You do not need to rescue AGPGart or the Callisto files, as they will survive the update to 10.4.11.

 

Resume OS 10.4.8 to 10.4.11 procedure here. Jump ahead to step #10 if you're NOT updating to 10.4.11

8.2) Keep terminal open.

8.3) Open disk utility and keep it open

8.4) Run the Apple installer ( DO NOT RESTART---IGNORE THE INSTALLER WINDOW and just leave it open)

After a successful delta update to 10.4.9, I used the big combo update to 10.4.11, skipping 10.4.10. Others have reported success with using the combo update in a single step, and I recommend it. But, full disclosure, that's not exactly what I did. Just start over if it bricks.

 

8.5) Open Terminal and type the following:

cp /old /mach_kernel
rm -rf /system/library/extensions.*
cp -R /loginwindow.app /system/library/coreservices/

 

Alternate procedure: Use Finder to copy all of the following kexts from the root level of your startup drive - where you rescued them before - into the Extensions folder. You'll need to first remove the newer versions. I first dragged-and-dropped my newly installed files to a folder "10.4.11" on my desktop (which makes copies without moving them), then dragged them all again to the trash (requires password confirmation). The terminal steps below will simply remove them without making a backup.

 

cp -R /AppleSMBIOS.kext /system/library/extensions/
cp -R /AppleACPIplatform.kext /system/library/extensions/
cp -R /AppleAPIC.kext /system/library/extensions/
cp -R /IOATAFamily.kext /system/library/extensions/
cp -R /system.kext /system/library/extensions/

Additional files ONLY IF you've already fixed PCMCIA wireless, ethernet, and power management, AND secured these files in steps above:

cp -R /IOACPIFamily.kext /system/library/extensions/
cp -R /IOPCCardFamily.kext /system/library/extensions/
cp -R /IOPCIFamily.kext /system/library/extensions/
cp -R /IONetworkingFamily.kext /system/library/extensions/
cp -R /IO80211Family.kext /system/library/extensions/
cp -R /PowerManagement.bundle/system/library/SystemConfiguration/
cp -R /IO80211Family.kext /system/library/extensions/

 

Additional files ONLY IF you've already fixed Quartz Extreme, AND secured these files in steps above:

cp -R /ATINDRV.kext /system/library/extensions/
cp -R /ATIRadeon.kext /system/library/extensions/
cp -R /ATIRadeonDVDDriver.bundle /system/library/extensions/
cp -R /ATIRadeonGA.plugin /system/library/extensions/
cp -R /ATIRadeonGLDriver.bundle /system/library/extensions/
cp -R /OpenGL.framework /system/library/frameworks/

 

8.6) Open disk utility and repair permissions for your OS X partition

8.7) Pray and restart the system. Don't be alarmed if startup is slow and requires the system to reboot itself.

 

At this point you should have a working Hackintosh at version 10.4.11 !! "About This Mac" will show this but quits if you pull up the System Profiler. You'll have no wireless, no ethernet, no battery management, no Quartz Extreme, and no resolution switching. You may not have sound in (my microphone was working - it responded in the System Preferences control panel - but I couldn't record anything). And don't even THINK about waking from sleep. The following steps address some of these issues.

 

9. Fix System Profiler. Run ProfilerPatch 0.1 downloaded earlier.

 

10. All in one patch

10.1) Find the following files (if they're not there, it's OK, but I think all were present):

Volumes/Hard Drive/System/Library/Extensions folder.

IOPCCardFamily.kext

IOPCIFamily kext

IO80211Family.kext

IONetworkingFamily.kext

ATI* (lots of files, all of them)

 

Volumes/Hard Drive/System/Library/SystemConfiguration folder

PowerManagement.bundle

 

Volumes/Hard Drive/System/Library/Frameworks folder

OpenGL.Framework

 

10.2) Optional: Save, by dragging and dropping all these into your "10.4.11" backup folder.

Required: Delete them. You'll be challenged for your password.

 

10.3) Move the downloaded replacement files to their respective locations. You'll be repeatedly challenged for your password.

 

Volumes/Hard Drive/System/Library/Extensions folder.

IOPCCardFamily.kext

IOPCIFamily kext

IO80211Family.kext

IONetworkingFamily.kext

AGPGart.kext <== Requires preparation, see step#15

ATINDRV.kext

ATIRadeon.kext

ATIRadeonDVDDriver.bundle

ATIRadeonGA.plugin <== Requires preparation, see step#15

Callisto.kext

CallistoHAL.kext <== Requires preparation, see step#15

 

Volumes/Hard Drive/System/Library/SystemConfiguration folder

PowerManagement.bundle

 

Volumes/Hard Drive/System/Library/Frameworks folder

OpenGL.Framework

 

 

10.4) Delete the following files: You'll be challenged for your password.

Volumes/Hard Drive/System/Library/ folder.

Extensions.cache

Extensions.mkext

10.5) Fix volume permissions with Disk Utility

 

10.6) Reboot. ENJOY YOUR NEW HACKINTOSH !!

Now run Software Update and let it go through several iterations. I let it do everything it wanted. This did kill my wireless a couple times. (The Airport Extreme updates, you may want to skip.) Just re-run step #10

Stepwise fixes, unecessary if you've done the All-in-one

11. Fix the PCMCIA cardbus: Texas Instruments PCI-1420 PCMCIA CardBus controller vendor ID 104c dev ID AC51

This fix got my Netgear wireless card powered, and an Atheros tab showing on my menubar, but still not connecting.

 

10.1) Find the following files (if they're not there, it's OK, but I think all were present):

Volumes/Hard Drive/System/Library/Extensions folder.

IOPCCardFamily.kext

IOPCIFamily kext

Proceed with steps 10.2 thru 10.6. For step 10.3, use only

the two named files.

Another approach didn't work for me.

 

12. Get the Netgear WG511T wireless card working

10.1) Find the following files (if they're not there, it's OK, but I think all were present):

Volumes/Hard Drive/System/Library/Extensions folder.

IO80211Family.kext

Proceed with steps 10.2 thru 10.6

Version 1.1 vs. 1.4. Wireless is UP !!

 

13. Fixed built-in ethernet

10.1) Find the following files (if they're not there, it's OK, but I think all were present):

Volumes/Hard Drive/System/Library/Extensions folder.

IONetworkinFamily kext

Proceed with steps 10.2 thru 10.6. For step 10.3, use only

the named file.

It works. Magic. Now disconnect ethernet and go back to wireless, never to return.

 

14. Get battery management

10.1) Find the following files (if they're not there, it's OK, but I think all were present):

Volumes/Hard Drive/System/Library/SystemConfiguration folder

PowerManagement.bundle

Proceed with steps 10.2 thru 10.6. For step 10.3, use only

the named file.

 

Another approach suggested by Slice gave nice battery details reported by System Profiler (not provided by this PM bundle fix), but no icon in the menubar. Additional use of AppleACPI.kext from Slice made no change.

 

15. Get OpenGL and Quartz Extreme (Core Image not possible)

 

Note that, for me, this procedure did NOT enable resolution switching. It did enable QE so that screensavers, chess, etc. work fine. Also, System Profiler correctly shows the ATI card with 32 Mb of VRAM. The Monitors control panel lists multiple resoulutions, but choosing anything caused an immediate freeze and a fade to white from the corners inward. Very bizarre. Locked at 1024x768.

10.1) Find the following files:

Volumes/Hard Drive/System/Library/Extensions folder.

ATI* (lots of files, all of them)

 

Volumes/Hard Drive/System/Library/Frameworks folder

OpenGL.Framework

 

10.2) Optional: Save, by dragging and dropping all these into your "10.4.11" backup folder.

Required: Delete them. You'll be challenged for your password.

 

10.3) Move the downloaded AND TWEAKED (see below) replacement files to their respective locations. You'll be repeatedly challenged for your password.

 

Volumes/Hard Drive/System/Library/Extensions folder.

 

AGPGart.kext <== Requires preparation, see step#15

ATINDRV.kext

ATIRadeon.kext

ATIRadeonDVDDriver.bundle

ATIRadeonGA.plugin <== May require preparation, see step#15

Callisto.kext

CallistoHAL.kext <== Requires preparation, see step#15

 

Volumes/Hard Drive/System/Library/Frameworks folder

OpenGL.Framework

 

Proceed with steps 10.4 thru 10.6.

 

After rebooting, you should see the following:

System Profiler under Software->Extensions:

 

Extension Name Version

AGPGART 1.0 (Apple's default version from the 7500 package)

Callisto 1.0.0d1

CallistoHAL 1.0.0d1

ATIRadeon 1.4.32

And under Frameworks:

OpenGL 1.4.1

If you click on Hardware -> Graphics/Display, it should report

Chipset Model: Radeon Mobility (It should say Radeon Mobility 7500 on M7s)

Type: Display

Bus: AGP

VRAM (Total) 32Mb

Vendor ATI (0x1002)

Device ID 0x4c59 (It should say 0x4c57 on M7s)

QE supported

 

FILE PREP

A) DO NOT run the installer for the Radeon 7500 pack - Simply unpack the content of the Radeon 7500 pack onto a temporary directory on your desktop (Right-mouse-button click on it, show package contents, and then just drag the files onto the desktop). I would strongly advise you to call it something sane, like GetQE.

When you unpack the Radeon 7500 pack you should see a copy of the OpenGL Framework for /System/Library/Frameworks (about 13.5MBytes in size) a bunch of kexts (kernel extensions). Each of those kexts appear to be a single file, but they are in reality packages with files inside. You should have 8 files: 7 kext packages (2 Callisto, 1 AGPGART, 3 Radeon, 1 ATINDRV) and 1 ATIRadeonGA.plugin in the same folder.

 

;) Unpack Callisto 006 to the same temporary directory, and let the 2 new Callisto kexts overwrite the 2 old ones.

 

C) Use Terminal or TextEdit to tweak the contents of the AGPGART package. Right-click on AGPGart.kext and "show package contents". Open the Contents folder and edit the Info.plist file. If you're using Terminal:

cd /Volumes/Hard Drive/users/You/desktop/GetQE/Extensions/AGPGart.kext/contents (modify the path as needed for your system).

Edit Info.plist and edit it as root:

sudo nano Info.plist

 

We want the kernel to recognize the 855PM GART interface as the AGP GART.

Look for the line beneath IONameMatch that reads pci8086,2561. It should now be pci8086,3341. (Thinkpad T30 or Dell C640 users with the i845MP should use pci8086,1a31 instead. Save and close. (Use Ctrl-X, y to save and exit)

 

D) Tell the Radeon driver to pass control from the default framebuffer to Callisto's FrameBuffer. Go to ATIRadeonGA.plugin/Contents/Info.plist and edit it as root. sudo nano Info.plist

Look for IOProviderClass and change the reference from the default Apple framebuffer to CallistoFB. This was already done

Save and close. (Use Ctrl-X, y to save and exit)

 

E) Tweak CallistoHAL so the framebuffer will pass OpenGL state information to the Radeon hardware. Go to CallistoHAL.kext/Contents/Info.plist and edit it as root. sudo nano Info.plist

Once again, look for IOPCIMatch and change the key below from something random to: 0x4c591002 (That's the Radeon M6. The Radeon M7 should use 0x4c571002) Save and close it. (Use Ctrl-X, y to save and exit)

 

You now have 3 tweaked packages. These can replace your "masters" that you downloaded and put on your install helper disk:

AGPGART.kext which calls the right GART interface to initialize AGP fast memory writes

ATIRadeonGA.plugin which tells OSX to use the Callisto Framebuffer

CallistoHAL.kext which tells the Compositor to call the Radeon at that I/O location to work.

 

Appendices:

 

16. Hard coding t1400x1050 resolution did NOT work, except for grey apple boot screen

http://forum.thinkpads.com/viewtopic.php?f...24&start=30

Edit /System/Library/Preferences/SystemConfiguration/com.apple.Boot.plist, adding the following lines:

 

<key>Boot Graphics</key>
<string>Yes</string>
<key>Graphics Mode</key>
<string>1400x1050x32</string>
Following did NOT work either; the screen was visible but you couldn’t see the cursor.
<string>1400x1050x16</string>

 

Interesting info at http://www.projectosx.com/forum/index.php?...le+framebuffers

 

17. Updating sofware: If you want to stay at 10.4.8, you can still update Safari, iTunes, QT and more by a neat trick. Get "JNS1 System Version Changer". Run this package to spoof your system version up to 10.4.11, then run Software Update normally. It will go through multiple iterations of updating Java, but also pick up iTunes 9.2, QT 7.6.4 and Safari 4.1 along the way. I DID NOT allow it to update Airport Express or the system, but everything else. Amazingly, this all worked fine and did not brick me.

 

18. I couldn't get MobileMe syncing to work until updating to at least 10.4.9.

 

19. Kernel update steps (for the 10.4.9 kernel):

Once you make sure that everything is working fine with above steps, do these.

 

1) Go to system>library>extensions and copy system.kext to the desktop

2) Open your update DMG and open the .pkg with pacifist.

3) Select system>library>extensions>system.kext (ONLY THIS KEXT) and click install.

4) Go to: irc.osx86.hu then #kernel the #1049 to get the link for the latest 8.9.1 universal kernel (use an irc client like colloquy)

5) Download the latest universal kernel, extract it, and rename it to mach_kernel instead of mach_sse2.

6) Put this kernel in the users folder (temporarily)

7) Open the terminal and type the following:

sudo -s
cp -R /mach_kernel /old
cp -R /users/mach_kernel /
(DO NOT DO IF YOU HAVE CORE 2) rm -rf /System/Library/Extensions/AppleIntelCPUPowerManagement.kext 
rm -rf /system/library/extensions.*

 

8) Repair permissions using disk utility.

9) Reboot and pray again... lol

 

=======================================================================

Congratulations, you now have the complete and latest version of OS X

 

***If this does not work, boot with the boot flag "old" (without quotes)

Copy old system.kext from you desktop back to the extensions folder and repair permissions.

open terminal and type:

sudo -s
rm -rf /mach_kernel
cp -R /old /mach_kernel

20. Forget about Leopard. I was able to install using JaS 10.5.4, but it would not boot. Reports are that the display drivers cannot work and that many Leopard features require SSE3 which this machine does not support. I think some may have succeeded but with limited features. I was NOT able to install using the Boot132, although this worked for a newer Dell (I mean it booted from a modified Leopard install DVD, showing it was working, but I didn't continue with the installation). To prepare that disk, I followed this excellent tutorial.

  • Like 1
Link to comment
Share on other sites

  • 2 years later...

amazingly awesome and highly detail guide you made, ive upped this to 10.5.8 could NOT have done that with out seeing things first however its not made byu using this guide tho..

 

mine http://www.insanelymac.com/forum/topic/286857-guide-1058-dell-latitude-c640-work-in-progress/

 

mine is made with modded wifi cd dvd drive ideneb 10.5.8 AND 1.5GB ram (when i say modded i mean different card not that the card has been modded)

Link to comment
Share on other sites

 Share

×
×
  • Create New...