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.

virtualdiver 11-08-2009 05:12 PM

13. install Chameleon 1.0.12 on that partition and replace the /boot file (added in pack)

After searching the web for Chameleon 1.0.12 and not finding it, I discovered that it is contained in the 'Bootloader2.dmg' that you supplied in your package.

the Readme 'INSTRUCTIONS:' provided in that package say:


INSTRUCTIONS:

1. Install the Chameleon Package.

2. Using Terminal, copy "boot" to the root of the volume you installed Chameleon on.

sudo -s
cp. /Volumes/Snow Alternative/boot /Volumes/<<VolumeName>>


This did not work for me:

cp. /Volumes/Snow Alternative/boot /Volumes/Snow\ Leopard/
bash: cp.: command not found

I removed period after cp because I could not find it as an option in my Terminal reference - http://ss64.com/osx/ :

cp /Volumes/Snow Alternative/boot /Volumes/Snow\ Leopard/
cp: /Volumes/Snow: No such file or directory

I changed the path syntax in the command line for the source directory:

cp /Volumes/Snow\ Alternative/boot /Volumes/Snow\ Leopard/

this seems to have done the trick.




* 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.

virtualdiver 11-08-2009 06:37 PM

14. add the following code to com.apple.Boot.plist on the X61's partition:

This Noob didn't know where the com.apple.Boot.plist was... after searching, found that it was here:

/Library/Preferences/SystemConfiguration/

I opened up Terminal and entered the commands:

sudo -s

cd /Volumes/Snow\ Leopard/Library/Preferences/SystemConfiguration/

nano com.apple.Boot.plist

Then I copied the code from this tutorial, step 14, and pasted it to the Terminal window between these lines:

<string></string>
(Added lines of code with an indenting TAB at the beginning of each line)
</dict>

Control-X to save the file and exit




* 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/

virtualdiver 11-08-2009 07:36 PM

First Boot Attempt- No joy. Started the Darwin loader, got the first grey & white 'apple' logo screen, then a message saying:

'You need to restart your computer. Hold down the Power button until it turns off, then press the Power button again'.

I tried powering down and restarting, but it stops at that same screen every time.

Do I need to make any changes to the X61s BIOS?

Maybe someone could review the way I did my install and see if I did anything wrong???

Thanks for any help...

virtualdiver 11-08-2009 08:39 PM

Diagnostic Mode dump
 
Diagnostic mode dump... can anyone help me understand how to read?


-----


The Regents of the University of California. All rights reserved.

MAC Framework successfully initialized
using 16384 buffer headers and 4096 cluster IO buffer headers
Trying to change a collection in the registry
Backtrace 0x4ff2a8 0x5309ff 0x52fd24 0x54fa0ce2 0x54fa0fef 0x5389f2 0x536c27
Kernel Extensions in backtrace (with dependencies):
org.voodoo.driver.PS2Controller(1.10)@0x54f9d000->0x54fa2fff
IOAPIC: Version 0x20 Vectors 64:87
PS2Controller: Created dev /ps2controllers
Using new IRQ layout 0,1
ACPI: System State [S0 S3 S4 S5] (S3)
RTC: Only single RAM bank (128 bytes)
mbinit: done (64 MB memory set for mbuf pool)
AppleIntelPIIXPATA: Secondary PCI IDE channel is disabled
panic(cpu 1 caller 0x2a6ac2): Kernal trap at 0x5adccfcd, type 14=page fault, registers:
CR0: 0x8001003b, CR2: 0x00000000, CR3: 0x00100000, CR4: 0x00000660
EAX: 0x00000000, EBX: 0x06bfd800, ECX: 0x5adccf6e, EDX: 0x00000000
CR2: 0x00000000, EBP: 0x550fbe38, ESI: 0x00000000, EDI: 0x06bfd800
EFL: 0x00210246, EIP: 0x5adccfcd, CS: 0x00000000, DS: 0x00030010
Error code: 0x00000000

Debugger called: <panic>
Backtrace (CPU 1), Frame : Return Address (4 potential args on stack)
0x550fbc48 : 0x21acfa (0x5ce650 0x550fbc7c 0x223156 0x0)
0x550fbc98 : 0x2a6ac2 (0x590a50 0x5adccfcd 0xe 0x590c1a)
0x550fbd78 : 0x29c968 (0x550fbd90 0x0 0x550fbe38 0x5adccfcd)
0x550fbd88 : 0xadccfcd (0xe 0x6bf0048 0x550f0010 0x4f0010)
0x550fbe38 : 0x4fba02 (0x6bfd800 0x0 0x1 0x6c0a580)
0x550fbe58 : 0x4fba1d (0x6bfd800 0x0 0x532ac0 0x6c01580)
0x550fbe78 : 0x536c8d (0x6bfd800 0x6bfd800 0x6c01640 0x6c02e20)
0x550fbf28 : 0x5371b8 (0x6bf8600 0x6c016c0 0x0 0xffffffff)
0x550fbf78 : 0x538e67 (0x6bf8600 0x0 0x550fbfac 0x1)
0x550fbfc8 : 0x29c68c (0x6bfccd0 0x0 0x29c69b 0x6b3e7a8)
Kernal Extensions in backtrace (with dependencies):
com.apple.iokit.IOATAFamily(2.5.0)@0x5adc8000->0x5add4fff

BSD process name corresponding to current thread: kernel_task

Mac OS version:
Not yet set

Kernal version:
Darwin Kernel Version 10.0.0: Fri Jul 31 22:46:34 PDT 2009; root:xnu-1456.1.25-1/RELEASE_I386
System model name: 7668CTO

System uptime in nanoseconds: 1465761186

-----

Pitrako 11-08-2009 11:09 PM

Hi!

I´m running SL on my X61s.

By now Sleep don´t works, it seems to go to sleep but for awake I have to push the on button and then SL load form the beggining.

Another thing is, is possible to get the middle trackpoint button to works like in Windows for do the scrolling!!???... that trick is very useful for surf in webs!.

Cheers!

virtualdiver 11-17-2009 12:28 AM

This is the original guide with my notes about the methods I employed to install SL to my X61s... I'm still getting kernel panics, I think there must be one little thing I don't understand how to do properly, if you could look at this and let me know, I would greatly appreciate it.
--------------------------------------------------------------------------------------------------------------------------

My installation notes are in RED. Use them at your own risk... I may have something wrong.

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
[http://dl.getdropbox.com/u/114474/Ma...61%20Pack.zip]

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)
(For the next part of the install you will need to change Finder so that you can see hidden system files)
To Show hidden files in Finder:
A. Open terminal and type:
defaults write com.apple.Finder AppleShowAllFiles YES
B. Restart finder by holding the option (or PC keyboard Alt) key and right-clicking (or click-and-hold the left mouse button) on the Finder icon in the dock. Select "Restart Finder".
To Hide hidden files in Finder:
A. Open terminal and type:
defaults write com.apple.Finder AppleShowAllFiles NO
B. Restart finder by holding the option (or PC keyboard Alt) key and right-clicking (or click-and-hold the left mouse button) on the Finder icon in the dock. Select "Restart Finder".
OR:
Download Tools folder from:
http://www.mediafire.com/?ydzm1whjwnm
or
http://rapidshare.com/files/272072059/Tools.zip
To Show hidden files in Finder:
A. Launch the 'ShowAllFiles' (included in 'Tools' folder) and click 'Show'.
To Hide hidden files in Finder:
B. Launch the 'ShowAllFiles' (included in 'Tools' folder) and click 'Hide'.

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 SL - In Finder, Drag-and-drop dsdt.aml from the ThinkPad- X61 Pack /DSDT folder to the root directory of your new SL drive.
7. install latest fakesmc.kext from netkas.org (or you can try the newest dsmos.kext - a bit slower but shutdown and reboot works) Drag-and-drop this kext to the System/Library/Extensions/ on the new SL drive ( http://netkas.org/?p=155 - Download the snowleopard version (not the leopard version) of this kext - fakesmc.kext.zip - The one I used is from the page dated August 22, 2009. When you click on the link you will be directed to rapidshare.de. After downloading the file will unzip itself in your 'Downloads' folder).
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 - drag-and-drop these three kexts into the Trash
10. replace the FrameBuffer kext with the one provided - AppleIntelGMAX3100FB.kext - In Finder, drag-and-drop the original AppleIntelGMAX3100FB.kext from /System/Library/Extensions/ into the Trash and copy-and-paste the new kext from the 'X61-BrightnessPack' folder to /System/Library/Extensions/ on the new SL drive.
11. install VoodooHDA (for audio) from ThinkPad- X61 Pack/VoodooHDA-0.2.2/ folder, VoodooPS2Controller (for keyboard and Trackpoint) (found in ThinkPad-X61 Pack/kexts/ folder… this is an installer pkg.… run it, make sure to point the installer to your new SL drive and check the 'Trackpad' and 'keyboard' options to install both) and IOSDHCIBlockDevice.kext (for SDHC card reader) and Intel82566MM.kext (for LAN) (also found in the ThinkPad-X61 Pack/kexts/ folder… In Finder, drag-and-drop these files to /System/Library/Extensions/ folder on new SL disk.
12. repair permissions in Terminal:
Code:
sudo -s
chown -R root:wheel /Volumes/YOUR_PARTITIONS_NAME/System/Library/Extensions/*
chmod -R 755 /Volumes/YOUR_PARTITIONS_NAME/System/Library/Extensions/*

If your SL disk has more than one word in the name separated with a space, like 'Snow Leopard' the syntax is:

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


Some other sources have said to:
Delete /System/Library/Extensions.kextcache and /System/Library/Extensions.mkext
so that the kext cache will be rebuilt when it is not found at boot time.
Another source said to:
Delete /System/Library/Extensions.mkext and /System/Library/Extensions/Caches/
'to clear extensions cache manually'.
Personally, I couldn't find any of the files or the Caches folder in the path that was specified. Maybe they don't exist until after the first time the system boots? And maybe the path for the Cache folder should have been /System/Library/Caches/ (this does exist). Or maybe these methods are for OS X before Snow Leopard?
At any rate, in step 16. below, using the -f flag at boot time appears to do the same thing.


13. install Chameleon 1.0.12 (also known as: PC EFI v9 Chameleon Bootloader) on that partition and replace the /boot file - drag-and-drop the original boot file in the Trash and using Terminal, copy the new boot file (added in pack - both Chameleon installer and the boot file are contained in 'bootloader 2.dmg' installer in the ThinkPad- X61 Pack) to the new SL disk root- see instructions below:

!!!! BIG NOTE: There is a Readme.RTF file in the Chameleon installer folder 'Snow Alternative' that opens when you run Bootloader2.dmg ('Snow Alternative' will also mount itself when the Bootloader2.dmg is run)… the instructions in the Readme are incorrect! The instructions say:
1. Install the Chameleon Package.
2. Using Terminal, copy "boot" to the root of the volume you installed Chameleon on.

sudo -s
cp. /Volumes/Snow Alternative/boot /Volumes/<<VolumeName>>

This is incorrect syntax for Snow Leopard. The '.' after 'cp' should not be there. The '.' was an 'auto-correction' added by 'TextEdit' when creating this 'Readme.RTF' that was not caught by the writer.
The path also has incorrect syntax. In 'Terminal' when a directory has 2 words separated by a space, the syntax is not:

/FirstWord SecondWord/

it is:

/FirstWord\ SecondWord/


The correct syntax should be:

sudo -s
cp /Volumes/Snow\ Alternative/boot /Volumes/<<VolumeName>>

If your new SL disk name is: Snow Leopard , the corrected command in Terminal is:

sudo -s
cp /Volumes/Snow\ Alternative/boot /Volumes/Snow\ Leopard/


14. add the following code to /Library/Preferences/System Configuration/com.apple.Boot.plist on the [new SL] X61's partition:
Code:
<key>Timeout</key>
<string>4</string>
<key>device-properties</key>
<string>da0300000100000003000000390000000100000002 010c00d041030a000000000101060000197fff040016000000 6200750069006c0074002d0069006e00000005000000017202 00000a00000002010c00d041030a000000000101060000027f ff04001e00000072006f006d002d0072006500760069007300 69006f006e0000002a0000004f70656e474c20456e67696e65 20616374697661746564207669612045464920537472696e67 2a0000004100410050004c00300031002c0044006100740061 004a0075007300740069006600790000000800000001000000 1c0000004100410050004c00300031002c0050006900700065 0000000800000001000000260000004100410050004c002c00 4e0075006d0044006900730070006c00610079007300000008 00000004000000200000004100410050004c002c0048006100 7300500061006e0065006c00000008000000010000002e0000 004100410050004c002c004e0075006d004600720061006d00 65006200750066006600650072007300000008000000020000 001c0000004100410050004c00300031002c00450044004900 440000008400000000ffffffffffff004ca345490000000000 110103802115780a87f594574f8c2727505400000001010101 010101010101010101010101ee1a008050201030103013004b cf100000190000000f00000000000000000023870264010000 00fe0053414d53554e470a2020202020000000fe004c544e31 353458412d4c30310a0041380000004100410050004c002c00 530065006c0066005200650066007200650073006800530075 00700070006f00720074006500640000000800000001000000 1c0000004100410050004c002c004800610073004c00690064 00000008000000010000001e0000004100410050004c003000 31002c00440065007000740068000000080000002000000023 0100000700000002010c00d041030a0000000001010600001b 7fff040028000000500069006e0043006f006e006600690067 00750072006100740069006f006e0073000000040000001c00 00007200650076006900730069006f006e002d006900640000 00080000000100000018000000760065006e0064006f007200 2d006900640000000800000086800000180000006c00610079 006f00750074002d00690064000000080000000a0000002c00 0000730075006200730079007300740065006d002d00760065 006e0064006f0072002d0069006400000008000000d4110000 1e000000730075006200730079007300740065006d002d0069 00640000000800000084190000160000006200750069006c00 74002d0069006e0000000500000000</string>

To add the code to com.apple.Boot.plist, start up Terminal and enter the commands:

sudo -s

cd /Volumes/Snow\ Leopard/Library/Preferences/SystemConfiguration/

nano com.apple.Boot.plist

Copy the code from this tutorial, step 14, and paste it to the Terminal window between these 2 lines:

<string></string>
[Add the 4 lines of code with an indenting TAB at the beginning of each line here]
</dict>

'Control-X' to save the file and 'Return' to accept 'com.apple.Boot.plist' as the filename & save

Before you exit Terminal you can check to see that everything was entered and save in the correct location by entering:

nano com.apple.Boot.plist

You should see the changes you made in the file.



15. unmount/eject the disk, insert it back into your ThinkPad
16. you should see the chameleon loading, boot with flag -f
(The -f flag tells Darwin to reload all kext and dump the boot configuration cache)

At power-up:
A. ThinkPad Splash screen: 'To interrupt normal startup, press the blue ThinkVantage button'
Options when 'ThinkVantage' button is pressed:
ESC to resume normal startup
F1 to enter BIOS Setup Utility
F12 to choose a temporary startup device
Press ENTER to pause…

B. Blinking '_' for about 2 seconds…

C. Darwin /x86 boot v5.0.132 - Chameleon v1.0.1.2
Build date: 2009-02-09 18:24:37
4022MB memory
VESA v3.0 7MB (Intel®Crestline Graphics Chip Accelerated VGA BIOS)
Press any key to enter startup options (counts down from 4 before booting…)

When a key is pressed at startup:
D. Darwin /x86 boot v5.0.132 - Chameleon v1.0.1.2
Build date: 2009-02-09 18:24:37
4022MB memory
VESA v3.0 7MB (Intel®Crestline Graphics Chip Accelerated VGA BIOS)
Use [arrow up/arrow down] keys to select the startup volume.

hd(0,2) X61SnowLeopard

Press Enter to start up Darwin/x86 with no options. or you can:
Type -v and press Enter to start up with diagnostic messages
Type ? and press Enter to learn about advanced startup options

boot: [this is where you type in ' -f ' and 'Enter' to 'ignore boot configuration file']







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

------------------

Some Additional Notes

• How to check Whether your Mac has the 32-bit EFI or 64-bit EFI: When you are reading this i m sure you understand that you can boot into full 64bit mode if your Mac has 64-bit EFI. Also note that Apple disabled 64-bit kernel support for any Macbooks, even- with 64-bit EFI. So if you have an older Mac Pro, iMac and you wants to check Whether your Mac has the 32-bit EFI or 64-bit EFI just enter the following command in Terminal:

ioreg -l -p IODeviceTree | grep firmware-abi

And you’ll get the answer either “EFI32″ or “EFI64.”

• How to boot 64-bit Kernel by default at every boot: Though you have a EFI64 and 64-bit compatible Mac your install will boot into 32-bit- kernel by default. Thanx to Netkas for highlighting a trick to change default boot kernel. All you have to do is edit a string file in com.apple.Boot.plist To edit boot.plist navigate to /Library/Preferences/SystemConfiguration/com.apple.Boot.plist and open the boot.plist with text editor and find the following string:
<key>Kernel Flags</key> 
<string></string>

and change it to:

<key>Kernel Flags</key> 
<string>arch=x86_64</string>

That’s it, now your installation will boot in to 64-bit kernel mode every time. So no more holding down the ‘6′ and ‘4′ keys during boot. Just in case if you need to boot the 32-bit kernel just hold down the ‘3′ and ‘2′ keys during boot.

------------------

To boot in 32-bit kernel mode every time use this code:

<key>Kernel Flags</key> 
<string>arch=i386</string>


Method 2: On-disk setting (persistent)
To select the 64-bit kernel for the current startup disk, use the following command in Terminal:

sudo systemsetup -setkernelbootarchitecture x86_64

To select the 32-bit kernel for the current startup disk, use the following command in Terminal:

sudo systemsetup -setkernelbootarchitecture i386

Note: This setting is stored in the /Library/Preferences/SystemConfiguration/com.apple.Boot.plist file and will take effect every time you start up from this disk. If you start up from a different disk, the setting on that disk, or the hardware default, will take effect.
------------------[/b]


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


Terminal Command reference - http://ss64.com/osx/

---------------------------------------------------------------------------------------------------------------------------

virtualdiver 11-17-2009 01:32 AM

Some questions for clarification, for NIXin
 
---------------------------------------------------------------------------------------------------------------------------
QUESTIONS:
----------------
1. In the /ThinkPad- X61 Pack/X61-BrightnessPack/ subfolder there is a file called 'lenovo_x61_sound_ether_3100-efi-string.plist'
What is this for?

2. The /ThinkPad- X61 Pack/Backlight Stuff/ subfolder is empty… is this supposed to be empty?

3. From Step
7. "Install the latest fakeSMC.kext"- There is a note on the netkas page that says "p.s. this doesn't work well with voodoo kernel, because voodoo kernel blocks Don't Steal mac os.kext, so you need to use dsmos/ appledecrypt anyway". I don't think this applies to the other voodoo kexts, though).
I am still getting a kernal panic at bootup… could this be the cause?

4. From Step
8. "add the ID of Atheros card to IO80211Family.kext (see the link on bottom on how to do that)"
• What 'link on bottom' are you talking about?

5. From Step
11. "install VoodooHDA (for audio), VoodooPS2Controller (for keyboard and Trackpoint) and IOSDHCIBlockDevice.kext (for SDHC card reader) and Intel82566MM.kext (for LAN)"
• The installer for Voodoo PS2Controller (for keyboard and Trackpoint) actually has a selection for 'keyboard' and 'Trackpad', can I assume it works with the 'TrackPoint' as well?

6. From Step
14. "add the following code to [/Library/Preferences/System Configuration/]com.apple.Boot.plist on the [new SL] X61's partition:"
• Please see my method of adding the code using Terminal in the 'Tutorial' section. Is this correct? Copy-and-paste from your 'infinitemac' website tutorial, right?
• What does this code do?
• Is this code for the Atheros card?
• Is this the com.apple.Boot.plist found in /Library/Preferences/System Configuration/ ?
• Or is there another copy that is in the root directory
("add the following code to com.apple.Boot.plist on the X61's partition:") after Chameleon has been installed????

7. At the end of your tutorial you mention 3 kexts:
DSMOS.kext
OpenHaltRestart.kext
Superhai's VoodooPower.kext
• What is the best source to get these from?

8. What is your X61s Model and BIOS version?
Mine is:
X61S Type 7668-CTO
BIOS Version: 1.05 (7NET24WW)
BIOS Date (Y-M-D) 2007-06-15
Embedded Controller Version 1.02
CPU Type Intel® Core™ 2 Duo CPU L7500
CPU Speed 1.60 GHz
Installed memory 4096 MB

9. In the ThinkPad-X61 Pack DSDT folder there are 2 files... dsdt.aml and dsdt_fixed.txt... the dsdt.aml has the icon of a Unix Executable file, but the dsdt.aml I have on my 2 working Hackintoshes are document files... they are located in the 'Extras' folder in my working machines, and in the root of the x61s install. The working machines also have com.apple.Boot.plist, Extensions.mkext, smbios.plist and a 'Themes' folder. The 'Extras' folder on my x61s is empty (maybe this last part is normal for an unconfigured install). Should the dsdt.aml be in the 'Extras' folder, and why does it have a 'Unix Executable file' icon instead of a 'Document' icon??? And what is the dsdt_fixed.txt file???

adrimaxi 11-18-2009 10:16 PM

Hi I am planning to install snow leo on my x61... So I am wondering where I could fine the x61 pack... link is dead :-(
Thanks

virtualdiver 11-19-2009 04:10 PM

@adrimaxi-

just checked- link still good.

adrimaxi 11-22-2009 06:56 PM

Sorry I get:
Oops! (404)
We can't find the page you're looking for. Check out our FAQ or forums for help. Or maybe you should try heading home
Because the link is http://dl.dropbox.com/u/114474/MacOS...%20Pack.zip%5D with the %5D at the end... But with out it works: thanks

virtualdiver 11-25-2009 05:42 AM

glad you got it...

cheers!

sammys 12-26-2009 10:24 AM

Installing SnowOSX v3.5 (10.6.0/10.6.2/10.6.3/10.6.4) on X61
 
1 Attachment(s)
Hi all,

I've managed to install SnowOSX distribution on my X61 (7676-3PM). The machine is stock with an Atheros AR5BXB72 bought from eBay and using AHCI for SATA. The wifi card doesn't work without a quick additional step. See the bottom of this post for that.

The only thing that's not working at the moment is the LCD brightness. Will update this post once I'm done.

I used most of the instructions from the first post in this thread. Only issues I hit were the bootloader wouldn't work. Here are my amendments to the instructions above:

Before installation:
  • Copy the X61 pack to a USB stick. I've used TransMac trial version to format the USB stick in HFS+ and then dragged the files over from a folder on Windows. Delete the DSDT folder.
  • Download the ZIP attachment below and extract it to a Windows folder then copy the content over to the USB stick using TransMac.
  • Download Chameleon bootloader RC4 and extract it to a Windows folder then copy over to the USB stick using TransMac. Make sure you copy the snow leopard version over to a new folder on the USB stick.
  • Optionally download the 64-bit kexts I've listed below as they are what I've used. I've installed those AFTER I updated to 10.6.2 so I'm not sure they'll work in SnowOSX 10.6.0.
After installation and before the first restart:
  • Insert your USB stick and do all the kext deletes/replacements etc in the first post. Delete dsmos.kext and AppleHDA.kext from /System/Library/Extensions and install to the same place fakesmc 2.5 from the USB stick. No need to delete AppleIntelCPUPowerManagement and AppleIntelCPUPowerManagementClient kexts because SnowOSX has NullCPUPowerManagement, which disables those modules. Copy the DSDT.aml file from the USB stick to your filesystem root (/Volumes/<volume name>). Use the kexts in my zip instead of the ones in the X61 pack as my zip has newer versions. If they don't work in 10.6.0 use the ones in the X61 pack instead.
  • Follow instructions on How to install Chameleon manually to replace the broken bootloader with the new one.
  • Run the following command in Terminal:
    diskutil repairPermissions /Volumes/<volume name>/System/Library/Extensions
    Where <volume name> is the name of the volume you installed Snow Leopard to. Make sure you use double quotes around it if i you have a space in the volume name. Use ls -d /Volumes to see what the available volumes are.
  • Restart
When you see the first boot screen from Chameleon press any key then type:
-f arch=i386
This flushes the kernel extension caches in OS X. After booting you can add the kernel flag arch=i386 to /Library/Preferences/SystemConfiguration/com.apple.Boot.plist so you don't have to type it anymore.

It is possible to update your system to 10.6.2, 10.6.3 or 10.6.4. 10.6.2 introduced 64-bit drivers for the X3100 display adapter but sleep is currently broken in 64-bit mode (Haven't tested it since 10.6.2). It works in 32-bit mode.

There are 64-bit drivers available for all the hardware on the X61. All of them are working except for the X3100 FB driver. I've installed 64bit drivers for the following:If anyone figures out the sleep issue on 64-bit kernel please post about it. :)

NOTE: I may have accidentally skipped some stuff above. E.g you may have a problem booting either 32-bit or 64-bit because of kexts like IOPCIFamily or IOATAFamily. I've replaced both of those on my X61 as I was getting kernel panics or bluetooth wasn't working. I didn't try 32-bit mode until after I had replaced them so I'm mentioning them in case the problems exist in 32-bit mode. (UPDATE) Since 10.6.3 (could be earlier) I now have vanilla IOPCIFamily, IOATAFamily and IO80211Family kexts working though the latter (IO80211) might still not work in 64-bit mode though it's compiled for it.

Here are the links to the versions I was using:
  • IOPCIFamily (Fixes kernel panic in AppleHPET when booting 64-bit kernel). The vanilla version works fine in 10.6.3 and later (32-bit).
  • IOATAFamily. The vanilla version works fine in 10.6.3 and later (32-bit).
Atheros AR5BXB72 (AR5418): Install the AtherosFix kext and it'll work in 32-bit mode. Install a 64-bit IO80211Family kext and it'll work in 64-bit mode as well. NOTE: If you don't have the same adapter as I do you'll need to add your adapter's PCI ID to the AtherosFix.kext/Contents/Info.plist file before it'll work. The AtherosFix kext makes your card look like a AR5416 card (Airport Extreme).

That about does it... Would love to hear if anyone manages to get their X61 working.

Don't download the kext bundle in this post. I've been updating it in later posts and you'll find the latest one at:
Latest sammys 10.6.2 kext bundle for X61
Latest sammys 10.6.3 kext bundle for X61
Latest sammys 10.6.4 kext bundle for X61

junying 01-01-2010 06:32 AM

Bluetooth after 10.6.2
 
Hi Sammys,

Thank you for your helpful post. Also you NIXin.

Have you noticed that your bluetooth was working after the initial install, but stops after the 10.6.2 upgrade? Seem to have happened to me.

sammys 01-25-2010 10:36 PM

Yeah I have the same problem. I'm also getting app crashes for firefox and thunderbird plus USB holds up the shutdown for a few seconds.

sammys 01-26-2010 12:00 AM

X61 Snow Leopard (10.6.2)
 
1 Attachment(s)
I've managed to get bluetooth running again! I stumbled on this post by laqk explaining that HPETs should have all interrupts they use assigned in the DSDT. So I added an extra (unassigned) interrupt to the DSDT and away we went.

I used the following command to figure out what interrupts were taken:

Code:

ioreg -w 0 -k IOInterruptSpecifiers | grep IOInterruptSpecifiers | tr ',' "\n" | sed 's/^.*<//; s/>.*$//; s/^\([0-9a-f]\{8\}\)\([0-9a-f]\{8\}\)/\1 \2/' | tr ' ' '\n' | sort
You might need macports installed for some of these commands :-/

I've attached an updated zip file containing my DSDT.aml, DSDT decompiled and all non-apple kexts I'm using. I've also replaced the previous IOSDHCI kext with a 32-bit only version of VoodooSDHC. Haven't found the 64-bit version yet.

junying 01-29-2010 06:25 PM

You da man (hope I'm not insulting if you are a woman :) ) Sammys. The DSDT worked like a charm. Do you see bluetooth found as a network adapter every boot? Also, I've been booting in 32 bit (32 bit geekbench shows no difference running in 32 or 64 bit). Sleep is OK, but bluetooth doesn't come back when waking. Finally, restart doesn't work either. Do you have that working? Thx!

sammys 02-10-2010 01:04 AM

Yeah the bluetooth goes to sleep and never wakes up on my X61. Have to boot into another OS to wake it up again. Rebooting into Snow Leopard has it working after this.

Bluetooth will keep getting found as a network adapter each time you use OS X if you don't add it as a network adapter. :)

In addition to what you've experienced I've been experiencing bluetooth mouse movement slowing down when I'm copying files across WIFI. Haven't tested LAN yet to see whether it slows it down mouse movement as well. I also get weird behaviour in iTunes if I sync an iPhone through the left-hand USB port. I have to keep clicking the iPhone entry in the left window pane to update the status. I imagine there's an IRQ sharing problem between two of the following: left-hand USB, Bluetooth, SATA, PCI. The left-hand USB might be the bus the Bluetooth goes through. A couple simple tests with System Profiler should tell me if I'm correct. :)

andreic 02-10-2010 06:17 AM

USB Not waking up
 
I have SL 10.6.2 installed on my Thinkpad X61 (7675), and everything is working properly, with one exception. When waking up from sleep, the USB ports are dead. I think this is related to the dsdt.aml file from sammy's last post. That file fixed sleep properly, and shutdown/restart, but after installing it the USB ports don't wake up. I tried to use instead the dsdt file from NIXin's initial post in this thread, and the USB ports do wake up, but shutdown/restart are broken, and sleep sometimes works sometimes doesn't. Does anyone understand what the differences are between NIXin's and Sammy's dsdt's? I saw that in NIXin's there are a number of entries for USB ports, which don't appear in Sammy's. Thanks.

bd4utonite2 02-25-2010 02:12 AM

SL10.6.2 upgrade on x61
 
Nixin...

Update my SL from 10.6.1 to 10.6.2
Everything seems to be working except sound...
Do you know how to fix this??

Cheers...

grandflash 03-01-2010 11:41 AM

Quote:

Originally Posted by sammys (Post 43812)
I've managed to get bluetooth running again! I stumbled on this post by laqk explaining that HPETs should have all interrupts they use assigned in the DSDT. So I added an extra (unassigned) interrupt to the DSDT and away we went.

I used the following command to figure out what interrupts were taken:

Code:

ioreg -w 0 -k IOInterruptSpecifiers | grep IOInterruptSpecifiers | tr ',' "\n" | sed 's/^.*<//; s/>.*$//; s/^\([0-9a-f]\{8\}\)\([0-9a-f]\{8\}\)/\1 \2/' | tr ' ' '\n' | sort
You might need macports installed for some of these commands :-/

I've attached an updated zip file containing my DSDT.aml, DSDT decompiled and all non-apple kexts I'm using. I've also replaced the previous IOSDHCI kext with a 32-bit only version of VoodooSDHC. Haven't found the 64-bit version yet.

Well done, to use bluetooth i modified the apple bluetooth driver adding the hardware adress vendor id and product id plus deleting AppleHPET.kext.
With your dsdt fix it works with AppleHPET.kext - thank you!!!

Here is the link to the BT device driver:

http://www.insanelymac.com/forum/ind...=post&id=65399

You´ll need a Insanely Mac login downloading this file.

cheers!

sammys 03-04-2010 11:20 PM

Some more progress. Yay!
 
1 Attachment(s)
Thanks for the updated driver for bluetooth Grandflash! What exactly does your fix fix? Does it wake it up properly?

bd4utonite2: The kext bundle attached to this post should fix your audio problem. :)

andreic: Thanks for reporting what you've found! It gives me (and anyone else) enough info to look into why my DSDT is not waking up the USB properly after a sleep. I've not been using the sleep functionality at all and haven't needed it yet.

I've done some more playing around and fixed a few more issues that I was having here and there. Most of them caused by me updating to newer kexts. First of all, the most exciting news is that Slice and AutumnRain have released a kick butt AppleHDA kext. It works like a charm and even has microphone working when using my DSDT. Thanks to Slice and AutumnRain. You can read their post over at Project OSX.

I also finally found out that you have to delete the VoodooPS2Trackpad.kext from within the VoodooPS2Controller.kext folder in order for the VoodooPS2Controller kext to work properly. I was using the ApplePS2Controller kext before so it's great to be able to use this one instead. It adds scrolling support to it. :)

I've deleted ApplePS2Controller by the way!

The only problems I'm having now are USB waking from sleep and SDHC driver freezes the system when you put a card in. If you don't put an SD card in the system runs fine. The issue has been reported to the devs but no one has mentioned they are working on it.

So without further ado here is the updated X61 kext bundle for 10.6.2! You simply install all kexts in the bundle into your system and away you go. :)

Pitrako 03-11-2010 12:49 PM

Hi all !!!

I have my X61s with SL 10.6.2 and I have some minor issues, may you can help me to fix it.

Sleep doesn´t works, if I close the screen, laptop seems to going to sleep, the moon led lits, but if I open the screen, don´t happens nothing and if I press the on button seems to start the laptop but nothing in screen, I have to press the on button for 4 or 5 seconds to restart.

The middle button of the trackpoint only works in Firefox, if I press it then I can scroll with the trackpoint, in Safari act like the third button and when I press it over a link then open a new tab with the link I pressed. Is possible to configure the third button in Safari for act like in Firefox???.

In the Mouse properties in System preferences don´t appears the third button for configure.

Well I hope you can help with that issues.

Regards

cosmopol_b 03-16-2010 04:13 PM

Quote:

Originally Posted by sammys (Post 45881)
So without further ado here is the updated X61 kext bundle for 10.6.2! You simply install all kexts in the bundle into your system and away you go. :)

Hello Sammy, i tried you're bundle, but here, on X61 Type 7475,
it breaks up with a kernel panic related to VoodooBattery.

Before it worked with an older VoodooBattery version, i will run some tests and post the results here.

Question: which BIOS version you have ?

regards,
cosi

sammys 03-19-2010 10:16 AM

Bios version
 
cosmopol_b: I'm on 7676 with BIOS version 2.21. Are you using 32-bit or 64-bit mode? I'm only using 32-bit at this stage as many apps are only 32-bit friendly.

Pitrako: Sorry to hear you're having troubles with it. I can't remember what my cause of sleep problems was so I'm going to be unable to help. However, perhaps someone else has an idea. The only thing I can think of is to do a -f during boot to flush the kext cache and ensure that the new kexts are being used.

Pitrako 03-19-2010 11:27 AM

Thanks for reply!

I´ll have a look to the -f command.

Best regards

CeleronPopsicle 03-24-2010 06:55 AM

Why?
 
Why is this a good hackintosh? This machine costs as much or more than a MacBook with similar specs.

NIXin 03-24-2010 04:29 PM

lol, you don't get the point, CeleronPopsicle. It's for people who already own ThinkPad X61. Buying X61 just for the purpose of installing Snow Leo would be ridiculous.

blix 03-24-2010 08:18 PM

Great thread. I'm a complete OSX with a tad of Linux knowledge. So I was looking for something that was rather "idiot-proof". Well, I've found it!

Thanks Sammys. And ofcourse all the other guys. This has saved me alot of time all together (instructions + correct Kexts).

Now, on to the next step -- dual booting SL/W7. :)

blix 03-27-2010 01:07 AM

Guys I have a few remaining questions. I've tried Googling but I couldn't really find anything

- What does the line do that I'm adding to the com.apple.boot.plist? Graphic/screen related?

- I've tried reinstalling about three times now because I pretty much screwed up my old Snow Leopard installation. Sadly I cannot get it to work anymore. It's freezing the first time I boot it up (-f, -f arch=i386, -x32). I'm trying to boot it with just basic stuff. (i.e. fakesmc, intel ethernet, voodoops2 -- cham 2.0 rc4, boot file that was supplied by start post, dito with the DSDT).

Anyone got a clue If I'm forgetting something? It's quite annoying, because it does load.. It ust completely freezes when I see the grey screen with the little Apple and the loading timer. Help very much appreciated.

- DSDT is unique for every system, isn't it? I guess it is best to make one yourself? (i.e. DSDT patcher)

Thanks. :)

sammys 04-05-2010 02:24 PM

blix: Hi there. DSDTs are unique for every different system. Lenovo use the same system board as much as they can for systems in the same model. It saves them money you see. They tend to disable or not install components when they are not available for a particular model variant.

My model number is 7676-3PM. The specifications for it can be easily found on the Lenovo support website. If your system specifications differ from mine in things like front-side bus frequency (e.g RAM frequency) or main chipset then you'll have to roll your own DSDT. BTW: may I suggest always keeping a backup copy of your working DSDT. That way you can recover an installation if a boot failure creeps in from DSDT tweaks.

For those wanting some info on how I have things setup in my mac partition. I have a folder (/Awesome) in the root folder and in that I have Original, Updated, DSDT, Testing and Bundle folders. The Bundle folder is what you see in the ZIP bundles posted to this thread.

I use the Testing folder for kexts that I'm testing out. If something fails with a kernel panic it will happen in one of two stages in the boot and these stages can be seen in the single user boot mode (-s boot flag in Chameleon). First stage starts all the lower level parts of the OS and the second occurs after you type exit.

If you can boot to the shell prompt in single user mode you can easily remove the broken kext and replace it with a known working version from the Bundle folder. Remember to set the permissions correctly.

If you can't boot to the shell prompt because the kernel panic happens before that (like when SleepEnabler.kext isn't updated for the new version of OS X - *cough* - see next message) then you have to boot to the Snow OSX installation CD to copy the known good version from /Volumes/<disk label>/Awesome/Bundle to /Volumes/<disk label>/System/Library/Extensions/.

Same thing applies for DSDT problems though you'd be copying your known good DSDT.aml from the DSDT or Bundle folder instead.

Pretty easy stuff. :)

P.S. The only way you can be certain a new version of a kext is faulty is if it's the only thing you changed since you last booted the system. Change two kexts and you have to test both independently!

sammys 04-05-2010 02:39 PM

10.6.3 Update for X61
 
1 Attachment(s)
I managed to get some time to update my OSX installation today. Here are the steps:
  1. Download the OSX 10.6.3 Update and the new kext bundle attached.
  2. Mount it and double-click the .pkg inside.
  3. Run the installation as you would normally.
  4. After it has finished don't click the restart button. Instead, open a terminal and type:
    Code:

    sudo mv /System/Library/Extensions/AppleHDA.kext /System/Library/Extensions/AppleHDA.kext.del
    sudo rm /System/Library/Extensions/SleepEnabler.kext

  5. Copy the SleepEnabler.kext from the bundle, wait for OSX to finish updating the kext caches (you can see this happen if you watch All Messages in Console).
  6. Reboot to 10.6.3 using the -f kernel switch in Chameleon (just to make sure :)).
Remember to backup your installation before doing this!

I've removed VoodooPS2.PrefPane from the attached bundle because it wasn't working. Also removed VoodooBattery.kext since it hasn't worked for a while (10.6.2 and 10.6.3). Updated VoodooHDA.kext to the 256 release from VoodooProjects and it uses AppleClip. It's WAY better than the one I was using before and now the microphone is working properly for Skype. Woohoo! Hope you all have success with this stuff.

Known Issues
  • Adjusting display brightness using the keyboard does not work. The slider in Displays Preferences works though.
  • SDHC card insertion locks up the system (untested since update to 10.6.3). No workaround yet.
  • Sleep and radio disable switch result in bluetooth being unavailable in following boots. Boot to Linux or Windows to bring bluetooth chip back online. Might be fixable with a DSDT change.
  • Display brightness is uneven when not at 95% or 100%. No workaround yet.

mfbernstein 04-29-2010 09:36 PM

Wow, this is a great thread. I'd more or less given up on using my X61 for OSX, but following Sammy's instructions for 10.6.3, things are working pretty well. A few questions though:
1) Has anybody managed to get Atheros wireless working with K64? It doesn't seem to load for me.
2) Any suggestions for a battery meter that will work with VoodooPowerMini?
3) There's something a bit peculiar going on with the built-in LCD. Colors seem unusually purple. For a maybe 1/2 a second, the blue OS X background looks correct on booting, and then it turns purplish. Any ideas, or monitor profiles to work around this?

Thanks!

invitai 05-03-2010 05:51 PM

Battery Life
 
Hi,

This is a great instruction. I'm very tempted to install snow leopard on my x61 now.
Just wondering what kind of battery life are people getting?

Cheers,

grandflash 05-27-2010 11:36 AM

Uneven Display
 
I use an EFI String combined with the AppleIntelX3100FB.kext vers. 1.5.18 and i have proper brightness control.

Links:

http://www.insanelymac.com/forum/ind...howtopic=87574

see attached files: X61_BrightnessPack.zip

By the way, i got Vanilla speedstepping working too, and many other fixes in my dsdt.

sammys 06-18-2010 06:12 AM

10.6.4 Update for X61
 
1 Attachment(s)
Eager to get your X61 laptop updated with Snow Leopard 10.6.4? This is for you! Here are the steps:
  1. Download the OSX 10.6.4 Update and the new kext bundle (attached).
  2. Mount it and double-click the .pkg inside.
  3. Run the installation as you would normally.
  4. After it has finished don't click the restart button. Instead, open a terminal and type:
    Code:

    sudo rm /System/Library/Extensions/SleepEnabler.kext
  5. Copy the SleepEnabler.kext from the bundle, wait for OSX to finish updating the kext caches (you can see this happen if you watch All Messages in Console).
  6. Reboot to 10.6.4 using the -f kernel switch in Chameleon (just to make sure :)).
Remember to backup your installation before doing this!

This kext bundle has an updated DSDT that now allows the AppleHDA kext to stay in place and vanilla. Happy times. :)

Known issues:
  • SDHC card insertion locks up the system (untested since 10.6.2). No workaround yet.
  • Sleep and radio disable switch result in bluetooth being unavailable in subsequent boots. Boot to Linux or Windows to bring bluetooth chip back online. Might be fixable with a DSDT change.
  • Display brightness is uneven when not at 95% or 100%. Only workaround is to install non-vanilla framebuffer kext as shown in previous post by @grandflash. More about the solution by @grandflash et al next.
Have fun with the update!
Notes about solution referenced and provided by @grandflash
I actually started my X61 OSX days using a hybrid mix of SnowOSX and the solution described by @grandflash. I read that @grandflash had done some amazing work on getting OSX running on non-Apple hardware so I was glad to find their solutions did work. Unfortunately, the solutions stop the install being Vanilla for the following reasons (there could be more):
  • AppleHDA must be disabled. You can do this using the command shown in the 10.6.3 instructions earlier in this thread.
  • AppleIntelX3100FB.kext must be replaced with an earlier version of it that has been patched.
Another thing to note about everything referenced by @grandflash. The DSDT is not for an X61 but instead for either an X61s or X61 Tablet. Also, I can't recall if some speedstep customizations are placed both in the DSDT and the LegacyX61*.kext or just in the legacy kext. Whatever the case, DO NOT use the Legacy X61*.kext from the post referenced by @grandflash if you have an X61 (without 's' or 'tablet') as speedstep customizations are hardware specific (CPU-specific to be precise). I have been building a legacy kext for my X61 (7676-3PM) but it has been slow going. I will definitely post it here when it's ready.

So by all means use the solution provided by @grandflash but be aware of the above notes. :)

meteorain 06-18-2010 07:36 AM

Quote:

Originally Posted by sammys (Post 48911)
Eager to get your X61 laptop updated with Snow Leopard 10.6.4? This is for you! Here are the steps:
..............

You did a quick and amazing work, thanks man! :D

mightycrown 06-28-2010 03:47 AM

several problems
 
  1. Sleep well, even with lid close. however it wakes up right away if bluetooth turned on, especially with HPET fix in DSDT.
  2. My CPU clock speed is not recognized correctly, i have 2.2 Ghz C2D, but the system shows just 1.47Ghz. Wired!
Everything else works fine. I used Myhack for the installation. Please let me know if you know how to fix these problems.

adrimaxi 07-02-2010 11:56 PM

Dear all,
I come back to my x61, so I now would like to install a fresh SnowLeo on it.
So Sammys, I saw your tuto but does it work for a fresh install?
What would you recommend me?
Thanks a lot
adrimaxi

sammys 07-06-2010 04:16 AM

Instructions in #22 should still work
 
@adrimaxi: The instructions in #22 are still correct for 10.6.4 as you have to start with 10.6.0 SnowOSX disc. I've been keeping them updated as we go. I haven't tried installing using a vanilla install disc yet because I haven't needed to. :)

If anyone does try using a vanilla disc with the kext bundle (and/or DSDT) I've provided I'd like to hear about it so I can try it myself and update the instructions.

sammys 07-06-2010 04:23 AM

@mightycrown: Not sure about bluetooth wakeup and my X61 is showing CPU clock speed lower than it is meant to be. System still works and I can Mac it up. :) It's a low priority for me to fix that. In my spare time, which there isn't much of right now, I've been working on speedstep. It's a little hit and miss because it is specific to the CPU. Hopefully I'll be able to get it working sometime soon so it can run on batteries more efficiently.