InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 01-15-2011, 06:01 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
10.6.6 legacy kernel for INTEL/AMD 32+64bit ready to download

Nawcom has implemented support for newest cpu's.
I updated the latest patch to include a custom dyld.
The dyld has also been rebased for security purposes (patch for rebase included in patched/ld...) and has been pre-patched for sysenter purposes (eliminates need for kernel patching custom dyld).
Make sure you pack /System/Library/CoreServices/pbs with upx in order to make it work with the custom dyld.
NOTE: This dyld is beta because we don't have libunwind from Apple.
Some apps may need to be patched with upx in order to let them work.
You can always boot with std_dyld=Yes to skip the patched dyld and use Apple one instead.

Latest working kernel with custom dyld:
http://rapidshare.com/files/44441607...-AnV-0.4.1.zip

Installer package including patched Finder for legacy systems (do custom install, only do it on 32-bit only CPU's, not 64-bit capable ones...):
http://rapidshare.com/files/44451503...acy_Kernel.zip

EDIT: I added a UPX that allows packing of Firefox and stuff.
NOTE: Don't pack Apple encrypted binaries as they'll crash on launch, they need decryption in order to be packeable.
Too bad I don't have the decryption algo's from Marvin's AMD Utility or I could adapt them to decrypt 32+64bit...
If you have Finder issues (32-bit legacy systems only) do a custom install with the installer package and check installing custom coreservices (unchecked by default).
I reposted the latest working kernel (as the ToH SSE3 emulator really won't work with SL).

EDIT 2: I reworked UPX some more.
It now works like a regular upx unless you pack with the following command:
upx --force <binary>
It can now also pack Skype (and probably others which still couldn't be done).
Don't pack Apple encrypted binaries though... they'll still crash... decrypt them before packing...
I've also added the LZMA code (for --ultra-brute).
The upx_nosizecheck_forced.zip contains an UPXed version of UPX.
If this should give you trouble download upx_nocheck_forced_notupxed.zip (just posted, should work for all...)
Attached Files
File Type: zip upx_nosizecheck_forced.zip (301.1 KB, 146 views)
File Type: zip upx_nocheck_forced_notupxed.zip (473.9 KB, 127 views)

Last edited by andyvand; 03-13-2011 at 06:33 PM.
Reply With Quote
  #2  
Old 01-15-2011, 10:42 PM
gedna gedna is offline
Jaguar
 
Join Date: May 2009
Posts: 52
Andy please can you explain how to use all those tools inside patches folder?
Reply With Quote
  #3  
Old 01-16-2011, 11:33 AM
Doerak's Avatar
Doerak Doerak is offline
Jaguar
 
Join Date: Sep 2008
Posts: 46
A Howtos guide would be welcome.

-pack /System/Library/CoreServices/pbs with upx
-patch the file dyld


http://osx86.wikidot.com/en:how-to-s

Asus A8N-E nForce4 - AMD Athlon (tm) 64 X2 Dual Core Processor 3800+ - AC97 Audio
nVidia GeForce 6600 LE 256MB - RAM 2048Mb - nForceLAN/ Realtek RTL 8139

Last edited by Doerak; 02-28-2011 at 06:09 PM.
Reply With Quote
  #4  
Old 01-16-2011, 11:21 PM
RayFlower RayFlower is offline
Jaguar
 
Join Date: Jan 2010
Posts: 93
hum i downloaded the sources and compiled upx and packed /System/Library/CoreServices/pbs mail didn't work but i packed the binary and then it works.
I don't know the benefits of this system yet or how much of the system that needs patching before this will work, logic did not respond well to this method for instance, neither did finder.
Anyhow thanks for the beta, it seems the custom dyld has improved a lot

For those who want to test it out, you can try this guide, its pretty easy to get working and i think it's present in macports as well
http://blog.loudhush.ro/2010/12/comp...les-using.html
Reply With Quote
  #5  
Old 01-19-2011, 04:58 PM
Imkantus Imkantus is offline
 
Join Date: Jul 2009
Location: Germany
Posts: 779
Okay here is my testing experience:

I took an empty harddrive and did a fresh install of Snow Leopard + applied the 10.6.6 Combo Updater - installed PC_EFI 10.6, added just the Kernel + NForceATA, fakesmc, SleepEnabler, patched AppleHDA + added Device ID for my HD4650 - everything else left untouched.

I could not boot without -force64 - all Kernels since Darwin 10.5.0 have this issue for me - without it fsck just shuts down my system. Darwin 10.4.0 and earlier works - independend from the applied patches.
This issue is not related to this realease, but am I the only one?! Can this be fixed?

First issue: The Systemassistant (that App showing the nice video and guiding you through the basic system adjustments) ain't loading - just stuck on grey screen with moveable cursor - this problem is present in any Kernel Patch since this one: http://osx86.co/f36/10-3-0-qoopz-anv-kernel-rel3-t6450/
It is present independ from using Kernel dyld, Vanilla dyld or dyld with bin-patched sysenter traps.
If you are using the Kernel for inital setups like mine, this sucks badly!
Deleting sound and video file of the welcome vid doesn't solve this - neither booting with out graphic drivers (including framebuffer).

After beeing done with that, I installed upx via MacPorts and used it to pack /System/Library/CoreServices/pbs

Kernel related issues:
  • SystemUISever doesn't work. The menubar icons including clock and spotlight are just flickering up sometimes but are not present the most time nor usable. Packing it with upx ain't possible cause of NotCompressibleException error.
    Is this maybe related to binary decryption?
  • all those kernel debug messages are nasty (all those segment fails - those messages are still appearing in dmesg after "DSMOS has arrived")
  • Finder is crashing a lot
  • System-Profiler is crashing
  • system is beachnballing a lot, but this can be related to the first point
laudation:
  • CPUID-autopatching seems to work - iTunes settings are working with untouched Carbon framework.
  • 32-Bit Apps are fine within -force64 mode

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
  #6  
Old 01-20-2011, 02:16 AM
Imkantus Imkantus is offline
 
Join Date: Jul 2009
Location: Germany
Posts: 779
Sorry for double-posting...

After putting one and one together, I think it is obvious, that binary decryption ain't working by the Kernel.

So Andy - if that bug in Kernel Patch cannot be fixed yet; do you have been able to build apb_decrypt for Snow Leopard, yet? - If so, would you mind to share? Ofcourse decrypting directly isn't the way I would like it, but I guess it would make the Kernel usable, what I would appreciate, as dyld appears to be very stable this time.

Anyway; Thanks a lot for all your efforts till the point.

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

Last edited by Imkantus; 01-20-2011 at 02:19 AM.
Reply With Quote
  #7  
Old 01-20-2011, 02:49 AM
fumoboy007 fumoboy007 is offline
Jaguar
 
Join Date: Jul 2010
Posts: 40
Quote:
Originally Posted by Imkantus View Post
I could not boot without -force64 - all Kernels since Darwin 10.5.0 have this issue for me - without it fsck just shuts down my system. Darwin 10.4.0 and earlier works - independend from the applied patches.
This issue is not related to this realease, but am I the only one?! Can this be fixed?
No, you are not the only one. I think everyone with more than 4GB of RAM cannot boot into 32-bit userspace without fsck crashing. If I boot with maxmem=4096, I can boot. Anything greater than that fails.

Last edited by fumoboy007; 01-20-2011 at 03:03 AM.
Reply With Quote
  #8  
Old 01-22-2011, 06:39 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by Imkantus View Post
[*]System-Profiler is crashing
Pack "System Profiler" with upx, same goes for Disk Utility and most other apps that crash (including some iLife apps).
upx is the fix
Reply With Quote
  #9  
Old 01-25-2011, 10:56 PM
davisin666 davisin666 is offline
 
Join Date: Feb 2010
Location: Santiago, Chile
Posts: 98
I will give a chance to this kernel xddd, nawcom's kernel it's working fine for me but I will test your kernel to choose which one is working better.

"Nawcom kernel is the fix"It was the "sarcastic" moment of the day, I hope that no one got offended xDDD

Thanks for all!

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

Installer music, ehhhhh, EPIC WIN

I installed from the installer your kernel and CoreServices patches, and Finder crashed instantaneously
I shut down the pc and I rebooted mac, and Finder crashed again and infinitely
I booted again with std_dyld=Yes and Finder crashed again.
I rebooted and booted with -v -f and now Firefox and, Finder, crashes
I'm gonna try MacDrive and get back the original CoreServices

My default bootflags are arch=i386 and -force64

Process: Finder [956]
Path: /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Identifier: Finder
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [104]

Date/Time: 2011-01-25 19:15:13.058 -0300
OS Version: Mac OS X 10.6.6 (10J567)
Report Version: 6

Interval Since Last Report: 233106 sec
Crashes Since Last Report: 4816
Per-App Crashes Since Last Report: 4806
Anonymous UUID: D8F522BB-DB7C-4C6E-A2A1-F22B3BC699C8

Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Crashed Thread: Unknown

Backtrace not available

Unknown thread crashed with X86 Thread State (32-bit):
eax: 0x000000c5 ebx: 0xbfffe658 ecx: 0xbfffe568 edx: 0x004df308
edi: 0x00000000 esi: 0x00000000 ebp: 0xbfffe5c4 esp: 0xbfffe568
ss: 0x0000001f efl: 0x00010206 eip: 0x004df2de cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000000
cr2: 0xbfffe638

Binary images description not available


Model: MacPro5,1, BootROM MultiBeast.tonymacx86.com, 2 processors, Intel Core Duo, 3.01 GHz, 2 GB, SMC 1.30f3
Graphics: GeForce GTS 250, GeForce GTS 250, PCIe, 512 MB
Memory Module: global_name
Network Service: Ethernet, Ethernet, en0
PCI Card: GeForce GTS 250, Display, Slot-1
Serial ATA Device: WDC WD3000JS-00PDB0, 279.46 GB
Parallel ATA Device: HL-DT-ST DVDRAM GSA-H10N
USB Device: PS/2+USB Mouse, 0x09da (A-FOUR TECH CO., LTD.), 0x000a, 0x02200000
USB Device: CIF Single Chip, 0x093a (Pixart Imaging, Inc.), 0x2470, 0x04200000
USB Device: Generic USB Hub, 0x058f (Alcor Micro, Corp.), 0x9254, 0x04100000

LOL

Last edited by davisin666; 01-25-2011 at 11:28 PM.
Reply With Quote
  #10  
Old 01-25-2011, 11:30 PM
Imkantus Imkantus is offline
 
Join Date: Jul 2009
Location: Germany
Posts: 779
Damn it! Since about two hours I am just like wtf?!

For the first: Finder problem is legacy mode only, works in -force64

But that doesn't matter to me currently:

System has freezed from one moment to another - after reset the most hatet scenario was back; 32-Bit Apps refused to work: "sysenter trap"....



And no: I have definataly not changend anything!

I also had the problem that dyld refused to be patched by kernel sometimes using older legacy kernel patches; see here: http://osx86.co/f36/10-6-5-legacy-ke...post51970.html
But this time just another reboot doesn't help, nor deleting Caches....

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
Reply