InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   10.6.6 legacy kernel for INTEL/AMD 32+64bit ready to download (http://infinitemac.com/showthread.php?t=6892)

andyvand 01-15-2011 06:01 PM

10.6.6 legacy kernel for INTEL/AMD 32+64bit ready to download
 
2 Attachment(s)
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...)

gedna 01-15-2011 10:42 PM

Andy please can you explain how to use all those tools inside patches folder?

Doerak 01-16-2011 11:33 AM

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

RayFlower 01-16-2011 11:21 PM

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

Imkantus 01-19-2011 04:58 PM

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

Imkantus 01-20-2011 02:16 AM

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.

fumoboy007 01-20-2011 02:49 AM

Quote:

Originally Posted by Imkantus (Post 52360)
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.

andyvand 01-22-2011 06:36 PM

Quote:

Originally Posted by Imkantus (Post 52368)
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.

Binary decryption works (after "DSMOS has arrived" message) but I will add SystemUIServer, Finder and also VLC to the "no-patch list".
I'll post results when I'm done, this way the kernel should be able to boot an unpatched system...

andyvand 01-22-2011 06:39 PM

Quote:

Originally Posted by Imkantus (Post 52360)
[*]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 ;)

davisin666 01-23-2011 06:28 PM

Quote:

Originally Posted by andyvand (Post 52398)
Pack "System Profiler" with upx, same goes for Disk Utility and most other apps that crash (including some iLife apps).
upx is the fix ;)


Nawcom kernel is the fix xD