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
- InsanelyMac Forum
- Viewing Profile: Topics: CoBrA2168
CoBrA2168
Community Stats
- Group Members
- Active Posts 55
- Profile Views 403
- Member Title InsanelyMac Protégé
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
10
Good
[GUIDE] Lenovo T61 with Lion 10.7.5
28 March 2013 - 02:29 AM
Very weird P-state problem on Lion 10.7.5
19 March 2013 - 01:00 AM
Hey guys,
I've got Lion 10.7.5 running successfully on my Lenovo T61 notebook. I have a fairly stable system and everything seems to be working great.
However, I do have one minor issue that is really bugging me. When I sleep my computer without power plugged in and then wake it, my p-states seem to be getting incorrectly calculated. For example, by using HWMonitor I can see the speed of both of my cores of my dual-core processor. After waking from sleep (on battery), the speed of my processor will sometimes get stuck at 736Mhz. Even if I'm trying to watch an HD YouTube video, it will stay at 736Mhz, grinding my computer to a halt.
Plugging in power doesn't solve the problem, but if I plug in, sleep, and then wake again, it solves this issue. It is just very annoying, and was wondering if anyone had a solution. Note that sleeping ON power, and then waking, does not cause this issue.
Thanks!
I've got Lion 10.7.5 running successfully on my Lenovo T61 notebook. I have a fairly stable system and everything seems to be working great.
However, I do have one minor issue that is really bugging me. When I sleep my computer without power plugged in and then wake it, my p-states seem to be getting incorrectly calculated. For example, by using HWMonitor I can see the speed of both of my cores of my dual-core processor. After waking from sleep (on battery), the speed of my processor will sometimes get stuck at 736Mhz. Even if I'm trying to watch an HD YouTube video, it will stay at 736Mhz, grinding my computer to a halt.
Plugging in power doesn't solve the problem, but if I plug in, sleep, and then wake again, it solves this issue. It is just very annoying, and was wondering if anyone had a solution. Note that sleeping ON power, and then waking, does not cause this issue.
Thanks!
Sync iTunes on a dual-boot system with iTLibSync
10 January 2013 - 03:52 AM
As an effort to optimize my dual-boot build of Windows 7 and OSX Mountain Lion, I've created a helper program that can be run on the OSX side to sync an iTunes library. I've tested it on OSX 10.8.2 and OSX 10.7.5 using both iTunes 10 and iTunes 11.
The app works by comparing the XML files generated by iTunes to determine which songs are new/missing from the OSX library. First you need to select the "primary" library to read from, which would be your Windows iTunes library. The file you need to browse for is the .XML file in the iTunes folder (which is usually located in the "My Music" folder on your drive). It will read the library and display how many songs are in this library. Next you need to pick the secondary library, which is the library on your OSX machine (the local machine where you're running the program from). Again, this file is located in the "iTunes" folder which is in the "Music" directory under your user folder.
Once both libraries are selected, you can press the "sync" button to compare the libraries. The program will then display you a message notifying you if any songs need to be added or removed (if no songs need updated, you will also be notified that no changes are being made). You have one more chance to confirm these changes. If you hit "yes," it will open iTunes (if it isn't already opened) and run an Applescript command to make changes to the library.
Again, I've only had the chance to test it on my 2 personal hackintoshes that are dual booting OSX and Windows. Since this is my first release and I've only had 2 computers to test it on, there is a chance that this program could screw up your iTunes library (however, this program has no authority to actually delete files, so you don't have to worry about that). USE THIS PROGRAM AT YOUR OWN RISK! However, if you're willing to test out the program and help out with syncing your libraries, give it a shot! Post back with feedback and bugs and let me know what you think
Download iTLibSync v1.00 here:
http://www.mediafire...8311wk80cp8d47h
The app works by comparing the XML files generated by iTunes to determine which songs are new/missing from the OSX library. First you need to select the "primary" library to read from, which would be your Windows iTunes library. The file you need to browse for is the .XML file in the iTunes folder (which is usually located in the "My Music" folder on your drive). It will read the library and display how many songs are in this library. Next you need to pick the secondary library, which is the library on your OSX machine (the local machine where you're running the program from). Again, this file is located in the "iTunes" folder which is in the "Music" directory under your user folder.
Once both libraries are selected, you can press the "sync" button to compare the libraries. The program will then display you a message notifying you if any songs need to be added or removed (if no songs need updated, you will also be notified that no changes are being made). You have one more chance to confirm these changes. If you hit "yes," it will open iTunes (if it isn't already opened) and run an Applescript command to make changes to the library.
Again, I've only had the chance to test it on my 2 personal hackintoshes that are dual booting OSX and Windows. Since this is my first release and I've only had 2 computers to test it on, there is a chance that this program could screw up your iTunes library (however, this program has no authority to actually delete files, so you don't have to worry about that). USE THIS PROGRAM AT YOUR OWN RISK! However, if you're willing to test out the program and help out with syncing your libraries, give it a shot! Post back with feedback and bugs and let me know what you think
Download iTLibSync v1.00 here:
http://www.mediafire...8311wk80cp8d47h
- InsanelyMac Forum
- → Viewing Profile: Topics: CoBrA2168



Sign In
Create Account

Find content