View Single Post
 
Old 11-12-2010, 01:12 AM
Imkantus Imkantus is offline
 
Join Date: Jul 2009
Location: Germany
Posts: 779
Quote:
Originally Posted by RayFlower View Post
EDIT:
It seems I spoke too soon, with -force64 i can't run 32bitcode, uhm could you in depth describe the patching procedure please?

EDIT
It seems like this upgrade installed a new /usr/lib/dyld, replacing it with a prepatched one did the trick.
Well here comes the -force64 Guide.

When you are using Andy's v4 or v5 Patch Kernel you do not need to patch /usr/lib/dyld itself, only the bindings.

Use the tool posted by Andy to do so, copy amd_insn_patcher to /usr/sbin then use the following Syntax:

amd_insn_patcher /usr/lib/libSystem.B.dylib ~/Desktop/libSystem.B.dylib
amd_insn_patcher /usr/lib/libSystem.B_debug.dylib ~/Desktop/libSystem_debug.B.dylib
amd_insn_patcher /usr/lib/libSystem.B_profile.dylib ~/Desktop/libSystem.B_profile.dylib

Last two ones are only present if Xcode is installed on your system.
The patched files will appear on your Desktop, use "open /usr/lib" on Terminal to open the folder, open Disk-Utility, replace the three files by dropping them into /usr/lib by Finder. Select your harddrive in Disk-Utility and run Repair Permissions Task, wait till it is done and reboot.

After reboot open Terminal again and run the following command:

sudo update_dyld_shared_cache

Now for the AMD users out there, there are still CPUIDs left to patch, this can be done using amd_insn_patcher too, but this is laborious, so I have made a cpuid.txt that only needs to be dropped onto Maxxus Patcher GUI Icon - get it from the attachment. (Note that you will need to patch more files than those in that file, if you are going to use pure legacy i386 mode / without -force64)

This is what is giving me a fully working AMD system.
Attached Files
File Type: txt cpuid.txt (2.1 KB, 443 views)

AMD Phenom II X4 955 - ASRock AM3A770DE - 8GB DDR3-1333 - Radeon HD 5570 1GB passiv - BCM4318 802.11b/g - Snow Leopard Retail
+++
AMD Phenom X3 8450 - ASRock AM2NF6G-VSTA (BIOS L2.39) - 4GB DDR2-800 - Radeon HD 4650 512MB - Snow Leopard Retail (retired) / OpenBSD
Reply With Quote