InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 04-13-2011, 07:58 AM
odin1937 odin1937 is offline
Jaguar
 
Join Date: Jun 2010
Posts: 34
Quote:
Originally Posted by andyvand View Post
I updated the sources so that dyld builds with Xcode 4.
This fixed the issue of Finder / SystemUIServer crashing with the custom dyld.
/System/Library/CoreServices/pbs still needs to be packed with upx though.
Also some apps that use Auto::zone::zone (for some ObjC apps) still need packing with upx.
The dyld became faster and more stable with the latest patches though.
On the fly patching works fine (tested it) on any app I've tested it on.
thanks for the share. I assume that this kernel runs also on amd machines? I am asking cause I am running snow 10.6.7 on amd opteron 185 X2 and nforce4 chipset.

Also , any info , how we can pack pbs wih upx , patch it for 32bit mode?
Reply With Quote
  #2  
Old 04-13-2011, 08:11 AM
akimoa's Avatar
akimoa akimoa is offline
Panther
 
Join Date: Feb 2011
Location: London ,England
Posts: 129
Get the UPX file from Andys other thread and put him where he belongs after open Terminal and put this

Code:
upx --force /System/Library/CoreServices/pbs
And yes kernel works for AMD


AMD Phenom x4 955 3,2 GHZ Black Edition
Graka:
ATI HD 5770 (Batmobil) 1 GB DDR5 (GIGABYTE)
Lion 10.7 Kexts / Vervet Framebuffer
Mem:
8 GIG RAM Kingston 4x2
OS:
Snow Leopard Retail 10.6.8 Legacy Kernel V8 2
AnV cparm Boot Beta 3
Mobo:
GA-MA-770 UD3 (GIGABYTE)
AMD Tutorial (German)
Another AMD Tutorial (English)
http://f.cl.ly/items/0M2n330k2r2j2L1q2a2g/logo.png
Reply With Quote
  #3  
Old 04-13-2011, 08:20 AM
odin1937 odin1937 is offline
Jaguar
 
Join Date: Jun 2010
Posts: 34
Quote:
Originally Posted by akimoa View Post
Get the UPX file from Andys other thread and put him where he belongs after open Terminal and put this

Code:
upx --force /System/Library/CoreServices/pbs
And yes kernel works for AMD
I believe you mean this thread:
Code:
http://osx86.co/f36/10-6-6-legacy-kernel-for-intel-amd-t6892/
.

thank you for the upx command!
Reply With Quote
  #4  
Old 04-13-2011, 09:35 AM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by odin1937 View Post
thanks for the share. I assume that this kernel runs also on amd machines? I am asking cause I am running snow 10.6.7 on amd opteron 185 X2 and nforce4 chipset.

Also , any info , how we can pack pbs wih upx , patch it for 32bit mode?
No, use my custom upx and pack it (or any other upx).
E.G. upx -9 /System/Library/CoreServices/pbs
Reply With Quote
  #5  
Old 04-13-2011, 09:39 AM
odin1937 odin1937 is offline
Jaguar
 
Join Date: Jun 2010
Posts: 34
Quote:
Originally Posted by andyvand View Post
No, use my custom upx and pack it (or any other upx).
E.G. upx -9 /System/Library/CoreServices/pbs
ok thanks , I have decrypted and patched binaries with marvin's amd utility and some amd_insn_patcher , so things should be smooth with upx.

thanks mate!

My Specs:

Motherboard: Tyan S2865 K8E
Cpu: Dual Core Amd Opteron 185 2600 MHz
Chipset: Nvidia Nforce4 chipset ultra
Graphics Card: Ati X700 Radeon Series
Lan Controller: Broadcom BCM 5721 GbE
Sound: Realtek ALC655 5.1 channel
Memory: DDR SDRAM PC3200 2048

System Version:
Mac OS X
10.6.3
10D575

Reply With Quote
  #6  
Old 04-13-2011, 03:15 PM
odin1937 odin1937 is offline
Jaguar
 
Join Date: Jun 2010
Posts: 34
I installed the kernel , packed pbs with upx , but during boot I have the : patch_text_segment failed.

When I got online , I saw that nothing from the important stuff was crashing such as finder , disk uitlity , rest utilities , system preferences e.t.c , only safari , seamonkey and radium.

I managed to fix safari with upx , but not seamonkey and radium. Seamonkey had encrypted binaries which have been fixed with marvin's utility.

So i am booting with std_dyld=Yes with no problems.

My Specs:

Motherboard: Tyan S2865 K8E
Cpu: Dual Core Amd Opteron 185 2600 MHz
Chipset: Nvidia Nforce4 chipset ultra
Graphics Card: Ati X700 Radeon Series
Lan Controller: Broadcom BCM 5721 GbE
Sound: Realtek ALC655 5.1 channel
Memory: DDR SDRAM PC3200 2048

System Version:
Mac OS X
10.6.3
10D575


Last edited by odin1937; 04-13-2011 at 03:17 PM.
Reply With Quote
  #7  
Old 04-14-2011, 07:17 AM
wastez's Avatar
wastez wastez is offline
Panther
 
Join Date: Oct 2010
Posts: 182
Quote:
Originally Posted by odin1937 View Post
I installed the kernel , packed pbs with upx , but during boot I have the : patch_text_segment failed.

When I got online , I saw that nothing from the important stuff was crashing such as finder , disk uitlity , rest utilities , system preferences e.t.c , only safari , seamonkey and radium.

I managed to fix safari with upx , but not seamonkey and radium. Seamonkey had encrypted binaries which have been fixed with marvin's utility.

So i am booting with std_dyld=Yes with no problems.
Thatīs clear because if you use std_kernel=Yes you donīt use the custom dyld which is implemented into the kernel. If you use this kernel flag the kernel differs not to the nawcom kernel.
Reply With Quote
  #8  
Old 04-15-2011, 06:50 AM
LinearBurn LinearBurn is offline
Cheetah
 
Join Date: Apr 2011
Posts: 11
Would patching the libSystem.B.dylib fix this? Seems liek the file is crupted or the on the fly patching is not working

Process: lssave [4349]
Path: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lssave
Identifier: lssave
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: coreservicesd [51]

Date/Time: 2011-04-14 02:00:53.607 -0500
OS Version: Mac OS X 10.6.7 (10J869)
Report Version: 6

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0

Dyld Error Message:
Library not loaded: /usr/lib/libSystem.B.dylib
Referenced from: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lssave
Reason: no suitable image found. Did find:
/usr/lib/libSystem.B.dylib: truncated fat file. file length=4022272, but needed slice goes to 4581264
/usr/lib/libSystem.B.dylib: truncated fat file. file length=4022272, but needed slice goes to 4581264
Reply With Quote
  #9  
Old 04-15-2011, 06:50 AM
LinearBurn LinearBurn is offline
Cheetah
 
Join Date: Apr 2011
Posts: 11
Also how do i build the kernel? is there instructions some were
Reply With Quote
  #10  
Old 04-15-2011, 06:57 AM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by LinearBurn View Post
Also how do i build the kernel? is there instructions some were
With the voodoobuild script but building isn't required.
You can just use the mach_kernel (I assure you, it is built quite well, with latest Xcode tools V4.0)
Reply With Quote
Reply