Jump to content

[GUIDE] Lenovo T61 with Lion 10.7.5

- - - - -

  • Please log in to reply
5 replies to this topic

#1
CoBrA2168

CoBrA2168

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts
T61 Lion + Windows 7 Dual Boot
Written by CoBrA2168
Originally written on: March 20, 2013

Original Hardware:
Lenovo Thinkpad T61 7658-CTO
Core 2 Duo T9300 2.50Ghz
Intel GMAX3100 Graphics
100GB 7200RPM HDD
3GB DDR2 RAM
1280x800 WXGA Matte Screen
DVD-RW Drive
Intel Wi-Fi 4965
4-cell battery

Upgrades:
Crucial M4 256GB SSD
1440x900 WXGA+ Matte Screen with Webcam
Apple Wi-Fi Atheros AR5BXB72
Custom "middleton" BIOS for SATA2 speed and whitelisted WiFi adapters
9-cell battery

Things not working / To-Do:
1. Plugging in a microphone jack breaks any audio input. The built in microphone works fine though on cold boot. Noticing that after sleep the internal microphone does not work.
2. Use the correct device ID for the Bluetooth to enable Bluetooth wake. This works, but phantom devices are added, which makes the settings app very slow.

Untested features:
1. 1394 port
2. 56k modem
3. PCMCIA / PCCard
4. Fingerprint Scanner

Explanation of Kexts:
ACPISensors.kext: allows us to monitor temperatures and other hardware information.
AppleACPIBatteryManager.kext: needed for battery recognition
AppleACPIPlatform.kext: needed for battery recognition
AppleACPIPS2Nub.kext: enables the track point nub
AppleIntelE1000e.kext: enables the ethernet port
AppleIntelGMAX3100FB.kext: the mother of all kexts. This is a modified version from 10.5.8 Leopard with the brightness patch (thanks ThirdSmile)
AppleSmartBatteryManager.kext: needed for battery recognition
FakeSMC.kext: needed just to get to the GUI
IntelCPUMonitor.kext: allows monitoring of the CPU temperatures
TSCSync.kext: needed for Core 2 Duo processors to run correctly
UltraNav.Controller.kext: enables the trackpad

1. Format USB stick to GUID partitioning with HFS+ file system (at least 8GB minimum).

2. Grab your 10.7.5 Lion InstallESD.dmg file and mount it by double clicking it.

3. Mount BaseSystem.dmg inside of InstallESD.dmg using the terminal:
cd /Volumes/Mac\ OS\ X\ Install\ ESD/
open BaseSystem.dmg

4. In Disk Utility, use the "Restore" function on the flash drive to restore the "Mac OS X Base System" image on your USB device.

5. On the USB device, delete the link /System/Installation/Packages, then copy over the "packages" folder from the Mac OS X Install ESD image.

6. Also copy over the following four files from the Install ESD image:
cp /Volumes/Mac\ OS\ X\ Install\ ESD/mach_kernel /Volumes/Mac\ OS\ X\ Base\ System\ 1/
cp /Volumes/Mac\ OS\ X\ Install\ ESD/boot.efi /Volumes/Mac\ OS\ X\ Base\ System\ 1/
cp /Volumes/Mac\ OS\ X\ Install\ ESD/BaseSystem.chunklist /Volumes/Mac\ OS\ X\ Base\ System\ 1/
cp /Volumes/Mac\ OS\ X\ Install\ ESD/kernelcache /Volumes/Mac\ OS\ X\ Base\ System\ 1/

7. Copy over the "Extra" folder and "Install" folder to the root of the USB drive.

8. Delete the files:
rm -R /Volumes/Mac\ OS\ X\ Base\ System\ 1/System/Library/Extensions/AppleHDA.kext
rm -R /Volumes/Mac\ OS\ X\ Base\ System\ 1/System/Library/Extensions/AppleGraphicsControl.kext/Contents/Plugins/ApplePolicyControl.kext

9. Inside the Install folder, copy over OSInstall and OSInstall.mpkg to their respective locations on the drive:
/System/Installation/Packages/OSInstall.mpkg
/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A/OSInstall

10. To finish your USB drive, run the Chameleon (Chameleon-2.1svn-r2069.pkg) package with the USB drive as the target (be sure not to install on your current machine!).

11. You are now ready to install. Eject the USB drive and plug it into the computer. Upon boot up, press the ThinkVantage button and then press F12 to boot from the USB drive. Once at the Chameleon boot loader, select the Base Image partition.

12. If you would like to dual boot a single hard drive with Windows 7 (or another OS), now is the time to do that. Partition the drive as needed (in my case, I put Windows 7 and OSX Lion on the same drive, so I made two partitions). Format one of the partitions as MS-DOS (for Windows) and the other as Mac Journaled (for OSX). Now quit the Mac OSX installer and install Windows.

13. When you are done installing Windows, come back and install Lion to the other partition we made by again booting from the USB stick. This will take approximately 20 minutes.

14. Once completed, again boot into the USB stick except this time at Chameleon boot loader, select your new OSX partition. Finish setup by creating a new user and selecting some settings.

15. Once at the desktop, copy over the "Extra" folder from the USB drive to the root of the hard drive. Remove the "Extensions" folder from the Extra folder after it is copied (this is important). Copy the "Install" folder to the desktop.

16. From the "Install" folder on the desktop, run the "Kext Wizard.app." Apply all the kexts in the "SLE Extensions" folder to the /System/Library/Extensions folder using the utility.

17. Run the Chameleon boot loader installation (Chameleon-2.1svn-r2069.pkg) except this time select the your Lion partition as the target (before, we picked the USB stick).

18. Run this command in Terminal to fix BIOS reset after sleeping:
sudo perl -pi -e 's|\x75\x30\x44\x89\xf8|\xeb\x30\x44\x89\xf8|; s|\x75\x3d\x8b\x75\x08|\xeb\x3d\x8b\x75\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC

19. After this is complete, refresh the kext cache by running the following in Terminal:
sudo kextcache -v 1 -a i386 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext -z /System/Library/Extensions/

20. Restart the machine. This time, boot from your primary hard drive (you are free to remove the USB stick). You should be able to login to OSX at this point without any problems. Basic setup is complete.

DSDT Edits:
(Coming soon)

Additional Fixes / Optimizations:
1. To enable Airdrop, run this command in terminal:
defaults write com.apple.NetworkBrowser BrowseAllInterfaces 1

2. Changed the "hibernatemode" setting to 0 (from the default of 3) which only saves the current session to RAM. This is suggested for SSDs. Run this command in terminal:
sudo pmset -a hibernatemode 0

3. EDID injection is needed for the display to show correctly in the "About" section. See this link: http://www.insanelym...splay-problems/

4. To get much better temperatures, use SSDT tables instead of the ones generated by Chameleon. Save the SSDT tables in Windows using AIDA64, and add them to the "Extra" folder on your Mac (named SSDT.aml, SSDT-1.aml, SSDT-2.aml, etc.). Afterward, edit your boot.plist so that you are no longer generating P/C states and instead enabling "DropSSDT" option.

5. To get iCloud working, use the supplied "smbios_macpro.plist" SMBios file to boot into OSX. Log into iCloud while using this SMBios. Afterward, switch back to the MacBook SMBios to gain sleep functionality back.

6. Mac OSX / Windows clock sync: boot into Windows and run regedit. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Ti meZoneInformation. Right click on the empty space on the right to add a new key. Create a new Dword (32-bit). Rename the new key to "RealTimeIsUniversal." Double click the Dword and change it's value from 0 to 1 (in hex). Save, reboot into OSX, and set the time. It should now be correct when you go back into Windows.

7. Trouble signing into iCloud or the Mac App Store: make sure "EthernetBuiltIn=Yes" is set in your boot.plist. If after a restart this doesn't fix it, go to the network preferences in settings and remove all network connections. Then go to Library/Preferences/System Configuration and move NetworkInterfaces.plist to the desktop. Restart the system. Go back into settings, and re-add your network connections, starting with ethernet.

8. To get the webcam working, you will have to load the third party app "ManyCam" first. With ManyCam open, switch back to the app you would like to use and the camera should work. This is tested working with FaceTime, PhotoBooth, and Google Chrome. I could not use this method for Skype.

9. To show hidden files and folders, enter this command in Terminal:
defaults write com.apple.Finder AppleShowAllFiles YES

10. To edit the "About your Mac" section, see this link: http://www.macbreake...hackintosh.html

Attached Files



#2
bearhntr28

bearhntr28

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
  • Gender:Male
  • Location:Atlanta, GA
CoBrA,

I have been in another forum with the same process. I am looking to use my old T61 to be a DUAL BOOT OSX/Windows 7.

I have installed a SSD (120GB) and currently have Windows 7 installed and working like a champ with the upgraded Wirelss N card (from Lenovo) and the Middleton BIOS - I get WiFi N at 300Mbps.

Now I want to get the LION installed and working. I was informed that I need to have Windows 7 installed before I do LION. What say you?

Here is what I am curious about:

I have found the following differences:

Apple Atheros AR5008 AR5418 AR5BXB72 603-9432-A

Brand: Atheros
Model: AR5BXB72 / AR5008
P/N: 603-9432-A / 607-0368-A / A1181
BIOS: Apple Ver (Use only in Apple Laptop)
Wireless Type: 802.11n (XSPAN 300MB)
Connectors: 3

==================================
Apple MacBook Pro A1150 Wifi Wireless Card 603-8214-A

Brand: Atheros
Model: AR5424a / AR5006EXS / AR5BXB6
P/N: 603-8214-A / A1150 / A1181
BIOS: Apple Ver (Fit all laptop brands: DELL, IBM, HP - upgraded BIOS)
Wireless Type: 802.11 Super A/G (108MB)
Connectors: 2
----------------------------------------------
My question is, will the 802.11n card (even though it says APPLE ONLY) work in the T-61. I would prefer to make use of the
Apple Atheros AR5008 AR5418 AR5BXB72 603-9432-A 3-connectors (the one in Blue) in the T61 to get full wireless speed.


Thanks,
*BH*

#3
CoBrA2168

CoBrA2168

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts

Hi there,

Thanks for your question and comments. For the wireless card, I bought the Apple AR5BXB72. This card has 3 cable spots, so it worked perfectly with my T61 (since I have the three connectors as well). If you have the Middleton BIOS, the "Apple-only" card WILL work fine in the T61.

For reference, my card looks like this one: http://www.ebay.com/...=item19d87940f2

As for installing Windows, I don't think it should really matter which you install first. With that said, I did install Windows first, and then installed Lion afterward.



#4
bearhntr28

bearhntr28

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
  • Gender:Male
  • Location:Atlanta, GA

CoBrA,

 

  OK...finally had some free time to do this.

 

  I have everything installed.  I have a DUAL BOOT Machine with W7 Ultimate and 10.7.5  as per your instructions.

 

  One thing.....   I have no sound.

 

  What did I do wrong?    How do I fix it?

 

Much Thanks.

 

*BH*



#5
CoBrA2168

CoBrA2168

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts

I forgot to say in the guide that you need to install the latest VoodooHDA installer.  You can find it on this site and others.



#6
bmat

bmat

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

Hi, 

thanks for your guide and the attached files. I managed to get OS X Lion 10.7.5 running. 

However, I ran into a problem: The screen on my T61 is black, but I can change the brightness. After I had connected an external display via VGA, it showed the desktop background picture. I could grab the settings window and pull it to the external screen. I have the menu bar on the external display; what I want to say is that I have a fully working system, except that I can´t use the internal display.

 

The internalscreen is a 14.1 inch wxga+ display.

 

SwitchResX shows the correct EDID Information 

manufacturer: Len 30AE

product id: 4033

 

Changing the screen resolution has no effect. 

 

I have no idea how to get the screen back working. 

Could you provide some suggestions? 

Thanks,

 

bm

 

System:

Thinkpad T61 7661-B47

HDD: OCZ Vertex4-SSd

Display: 14.1 inch wxga+ 1440x900

wlan: usb 







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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