InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   Snow Leopard 10.6 (http://infinitemac.com/forumdisplay.php?f=87)
-   -   Installing Snow Leopard on ThinkPad X61 (http://infinitemac.com/showthread.php?t=3735)

NIXin 08-22-2009 10:58 PM

Installing Snow Leopard on ThinkPad X61
 
Hi everybody,

I have just successfully installed Snow Leopard on my ThinkPad X61s, from which I'm writing right now. I think this should also work with 10.5 vanilla too. Also, should be the same as with ThinkPads X61 Tablet and T61 (version with GMA X3100).

What you need:
1. another computer running Snow Leopard (Leopard is probably okay too)
2. a screwdriver :)
3. a couple of .kexts (listed below)
4. about 2 hours or your time

My ThinkPad X61 Pack

Here are the steps:
1. backup all your data from your X61
2. take out the hard disk from your X61 (there only one screw, then pull out the HDD)
3. install the 2.5" disk from X61 to an external enclosure or a desktop PC
4. format the disk using GUID Partition Table (if you want to multiboot later then make a more then one partition)
5. install Snow Leopard onto the X61's disk by directly opening the OSInstall.mpkg from /System/Installation/Packages on the SL's image
6. when installation completes, copy the provided dsdt.aml to root directory of your new SN
7. install latest fakesmc.kext from netkas.org (or you can try the newest dsmos.kext - a bit slower but shutdown and reboot works)
8. add the ID of Atheros card to IO80211Family.kext (see the link on bottom on how to do that)
9. remove the kexts: AppleIntelCPUPowerManagement and AppleIntelCPUPowerManagementClient and AppleHDA.kext
10. replace the FrameBuffer kext with the one provided - AppleIntelGMAX3100FB.kext
11. install VoodooHDA (for audio), VoodooPS2Controller (for keyboard and Trackpoint) and IOSDHCIBlockDevice.kext (for SDHC card reader) and Intel82566MM.kext (for LAN)
12. repair permissions:
Code:

chown -R root:wheel /Volumes/YOUR_PARTITIONS_NAME/System/Library/Extensions/*
chmod -R 755 /Volumes/YOUR_PARTITIONS_NAME/System/Library/Extensions/*

13. install Chameleon 1.0.12 on that partition and replace the /boot file (added in pack)
14. add the following code to com.apple.Boot.plist on the X61's partition:
Code:

    <key>Timeout</key>
    <string>4</string>
    <key>device-properties</key>
<string>da0300000100000003000000390000000100000002010c00d041030a000000000101060000197fff0400160000006200750069006c0074002d0069006e0000000500000001720200000a00000002010c00d041030a000000000101060000027fff04001e00000072006f006d002d007200650076006900730069006f006e0000002a0000004f70656e474c20456e67696e6520616374697661746564207669612045464920537472696e672a0000004100410050004c00300031002c0044006100740061004a00750073007400690066007900000008000000010000001c0000004100410050004c00300031002c00500069007000650000000800000001000000260000004100410050004c002c004e0075006d0044006900730070006c0061007900730000000800000004000000200000004100410050004c002c00480061007300500061006e0065006c00000008000000010000002e0000004100410050004c002c004e0075006d004600720061006d0065006200750066006600650072007300000008000000020000001c0000004100410050004c00300031002c00450044004900440000008400000000ffffffffffff004ca345490000000000110103802115780a87f594574f8c2727505400000001010101010101010101010101010101ee1a008050201030103013004bcf100000190000000f0000000000000000002387026401000000fe0053414d53554e470a2020202020000000fe004c544e31353458412d4c30310a0041380000004100410050004c002c00530065006c006600520065006600720065007300680053007500700070006f007200740065006400000008000000010000001c0000004100410050004c002c004800610073004c0069006400000008000000010000001e0000004100410050004c00300031002c004400650070007400680000000800000020000000230100000700000002010c00d041030a0000000001010600001b7fff040028000000500069006e0043006f006e00660069006700750072006100740069006f006e0073000000040000001c0000007200650076006900730069006f006e002d00690064000000080000000100000018000000760065006e0064006f0072002d006900640000000800000086800000180000006c00610079006f00750074002d00690064000000080000000a0000002c000000730075006200730079007300740065006d002d00760065006e0064006f0072002d0069006400000008000000d41100001e000000730075006200730079007300740065006d002d006900640000000800000084190000160000006200750069006c0074002d0069006e0000000500000000</string>

15. unmount/eject the disk, insert it back into your ThinkPad
16. you should see the chameleon loading, boot with flag -f

Summary
What's working:
- Ethernet
- WiFi (shows as Airport)
- Graphics (X3100) full support
- Display brightness control (use Pause and ScrLk to change the backlight)
- Firewire
- Keyboard and trackpoint
- SDHC card reader
- Audio (with mic and headphones jack)

What's not working:
- Battery meter / power settings
- FSB and multiplier is wrong (same problem as with 10.5.7-10.5.8) - injecting via smbios.plist doesn't help
- No SpeedStep
- Sleep/Wake
- Shutdown/Reboot (probably because of FakeSMC)

Didn't try the PCMCIA driver yet, but it should also work.

Most of the credit goes to people from this thread: http://insanelymac.com/forum/index.php?showtopic=87574
I've only adapted some things in order for it to work with Snow Leopard.

I'll upload the kext+DSDT pack in a moment and edit this post to add a link.

Note on running the 64 bit kernel:
It works, but no LAN, no WiFi, no audio and no internal keyboard or trackpoint. If somebody can compile the 64 bit versions of Intel82566MM, VoodooHDA and VoodooPS2 then that would be cool.

EDIT:
You can also use Chameleon RC1 with replaced boot file for netkas's EFI 10.2. It works, but for some reason it defaults to x64 so you must manually boot to 32-bit by this flag: -x32
DSMOS.kext + OpenHaltRestart.kext also work and there's reboot and shutdown capability.

EDIT2:
Battery meter and power management works with Superhai's VoodooPower.kext

cili0 08-23-2009 12:16 PM

Hi NIXin,

where have you find a 64bit working version of VoodoPower.kext ?

Thanks in advance,
cheers!

markswell 08-23-2009 01:40 PM

some kernel functions like cpu identification change place in 10.6 so need wait 10.6 xnu apple sources release.
beside this i think i knows how to make only for intel,much code lazing)

NIXin 08-24-2009 01:27 AM

Quote:

Originally Posted by cili0 (Post 31911)
Hi NIXin,

where have you find a 64bit working version of VoodoPower.kext ?

Thanks in advance,
cheers!

Only 32-bit for VoodooPower for now, I'm afraid...

PHANT0M 08-29-2009 07:16 PM

I try to install SL on my X61 Tablet, but I have Kernel Panic. Maybe because I do not copy dsdt.aml to root directory, because I don't know where to download it... Maybe somebody can upload it and other kexts...

NIXin 08-30-2009 12:21 PM

It's in my pack, look at my first post.

bd4utonite2 09-17-2009 06:19 AM

X61 install
 
Nixin..

I can assure the x61 is different from a x61s and x61T
I followed your instructions to a T.. can i have all sorts of issues... and only being able to boot up in Safe Mode.
Just thought i'd let you know...

NIXin 09-21-2009 01:00 AM

The only difference between X61 an X61s is the processor. X61s has got a low voltage Intel Core 2 Duo 1.6GHz, while X61 have various regular voltage processors.

virtualdiver 11-08-2009 07:45 AM

NIXin,

Thanks for the helpful article... I spent most of the day trying to install this on a drive for my X61s and haven't succeeded yet... I'm a noob to the Apple world, and the learning curve is steep. I bought a new WD 320 GB Drive to install Snow Leopard on, installed it in a USB2 external case, partitioned it with 1 partition, Mac OS Extended (Journaled) and GUID.

I was a bit stumped, but with a little help from the net, I found out how to configure Finder to show hidden files and folders so I could run OSInstall.mpkg. After that, the installation went smoothly, I dragged & dropped dsdt.aml to the drive's root. Then I backed up the 3 kexts I was to remove and deleted the originals from my hard drive, backed up the kext I was to replace, then I dragged and dropped all the new kexts to the '/System/Installation/Packages' directory- ist this how I was supposed to install the kexts, or was I supposed to use something like 'kexthelper'??? (for 'VdooPS2Controller', I used it's own installer).

I didn't add the Atheros ID because I've got an Intel 4965AGN adapter (is there a kext or solution for this???) Not too big of a deal if I don't get this to work right away because I've got a Sierra Wireless USB broadband adapter thats supported on Apple computers.

Everything went pretty smoothly until this point. I have zero experience with Terminal, but I followed your instructions to the 'T'. When I type in the commands, I get 'No such file or directory'. I tried prefixing the commands with sudo -s in case it was a user permissions problem, tried using the paths:


'/Volumes/Snow Leopard/System/Library/Extensions/* ' ,
'/Volumes/Snow_Leopard/System/Library/Extensions/* ' ,
'/Volumes/SNOW LEOPARD/System/Library/Extensions/* ' ,
'/Volumes/SNOW_LEOPARD/System/Library/Extensions/* ' ,

all to no avail. I can't figure out where the problem lies after hours of searching on the net. I do notice that in 'Disk Utility', 'Verify Disk Permissions' & 'Repair Disk Permissions' are both disabled (greyed out) for my new 'Snow Leopard' Volume, but the Hackintosh Volume 'Hack Snow Leopard' has them enabled, and I don't know if this has anything to do with the problem.

Anyways, if you could point me in the right direction I'd be grateful... I'm out of ideas at the moment....


Thanks!

virtualdiver 11-08-2009 08:42 AM

I think I figured it out:

In terminal:


sudo -s

chown -R root:wheel /Volumes/Snow\ Leopard/System/Library/Extensions/ *
chmod -R 755 /Volumes/Snow\ Leopard/System/Library/Extensions/ *

or, another way to do it:

sudo -s

cd /volumes/Snow\ Leopard/System/Library/Extensions/
chmod -R root:wheel *
chown -R 755 *

(it's all about the syntax!!!)


...does this sound right? (I'm not sure whether there's a space between the last forward slash and the asterisk but I'm pretty sure there is...

so, how about kext installation, is it just drag & drop???

and any idea about the 4965AGN ????


Thanks for the tutorial!





* Noob Note: My Install partition was named 'Snow Leopard'… so the path for it is:

/Volumes/Snow\ Leopard/

If your Install partition was 'My Partition' (with a space between 'My' and 'Partition', then your path would be:

/Volumes/My\ Partition/

This is probably obvious to everyone else, but if you're as big a Noob as I am to Apple, it might save you a lot of time figuring out the correct syntax.