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:36 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by Imkantus View Post
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...
Reply With Quote
  #9  
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
  #10  
Old 01-23-2011, 06:28 PM
davisin666 davisin666 is offline
 
Join Date: Feb 2010
Location: Santiago, Chile
Posts: 98
Quote:
Originally Posted by andyvand View Post
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



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Reply With Quote
Reply
Thread Tools
Display Modes