Legacy kernel 10.7.0 with custom dyld (now also with atom patch)
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. I've also added a new patched kernel with cpu model 15 patch (Atom / new Celeron specific, separate kernel). Download including sources: http://rapidshare.com/files/45702217...-AnV-0.4.1.zip Download Atom / new Celeron kernel: http://rapidshare.com/files/45702171...ernel_atom.zip |
Thatīs fine! Thank you for you hard work!
I will try it today and iīm very agog in the function of the new dyld!!! Did you use the libunwind from apple or isnīt it available? Will report immediately after i tried it! |
Quote:
This is also why some apps need to be packed with UPX (like pbs). |
Tried it and it worked without problems.;)
There are no problems with the dyld this time.:D pbs have only to be patched in 32 bit mode, or? Thank you for your great and hard work. This kernel is really amazing.:cool: |
The only software which doesnīt work is garageband and 32 bit mode of cinebench but all other software works without problems.
|
hey andy...i'll give it a go too;) ..the first link for intel p4 right?
|
seems ok...still sse3 emu probs tho
|
Quote:
|
For some reason me and custom dyld willl never get friends to much programms are not responding and i wont upx them all so no use for me
|
Quote:
Also , any info , how we can pack pbs wih upx , patch it for 32bit mode?:-d |
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 |
Quote:
Code:
http://osx86.co/f36/10-6-6-legacy-kernel-for-intel-amd-t6892/ thank you for the upx command! :D |
Quote:
|
Quote:
|
Quote:
Just try it and you will have no regrets about. |
Quote:
|
Quote:
E.G. upx -9 /System/Library/CoreServices/pbs |
Quote:
thanks mate! |
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. |
Quote:
|
Quote:
Cheers! :D |
Quote:
|
Short install instructions, please?
I know that kernel must be copied to system root, but what about additional patching you are talking about? What to patch, and how, if that's important part? |
Quote:
|
...is the sse3 emulator permanently dead?....old asus board here with P4 2.8...i have the kernel booting now...but borked time and installer and stuff make my mac a real pain....:-|
|
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 |
Also how do i build the kernel? is there instructions some were
|
Quote:
You can just use the mach_kernel (I assure you, it is built quite well, with latest Xcode tools V4.0) |
Quote:
Truncated means it lacks some bytes... :-/ |
Is there step by step instructions for installing this kernel and instaling the anv bootloader for amd? This may also sound kinda dumb but shouldnt it be posable to hard embed the cpuid in to the kernel so that the kernel would not have to be patched just like the native cpuid detection it does on the Intel cpu's ... so ultimately you would have a native kernel that don’t need special patching like in Linux it has all the info it needs ... i may sound stupid but I’m trying to learn, but all the doc on the net are either written for hard core or to noob or really ancient or won’t help because I’m running amd. I’m not just trying to learn to do it i want to understand why I’m doing it and the process in doing it
|
I have installed 4 time and it has failed 4 times if its trunkated dont supose some one can sed me a copy of one that is working?
Ps please forgive me im still adjusting to hackintosh and still showing my noobish |
Quote:
Did you boot with std_dyld=Yes? Because if you boot without kernelflags it should use the kernel integrated dyld.... |
please help me what do i do with the kernel i extracted it and now i have the files do i copy mach_kernel some were? or do somthing in terminal
|
Quote:
|
Ok i figured it out i moved the mach_kernel to the root then patched the file that was giving me trouble now weverthing is working Anv kernel rocks thanks so much
|
Quote:
Code:
http://osx86.co/f36/10-6-6-legacy-kernel-for-intel-amd-t6892/ Then use the command upx to pack pbs which is located in /System/Library/CoreServices. The packing - compressing can be done with many commands , such as : upx -9 . which means compress better , or --ultra--brute , or --force e.t.c. So in the terminal area type : upx -9 "here just drag the pbs binany on terminal" and hit enter. |
hum, are there any tools that i can use to decrypt these apple binaries?
|
Quote:
for info: Code:
http://osx86.co/f36/amd-insn-patcher-instructions-would-be-nice-t6845/ |
uhm, that doesn't decrypt anything though, besides thats done in the kernel now, I only use that to patch some libs that crashes some apps.
Anyhow, if there is a good and safe way to decrypt binaries i would be a lot more likely to use the custom dyld, anyhow nice work andy. Would be nice if you could explain to us mortals what this does different that the standard dyld for instance:) |
Am I able to start Snow Leopard 10.6.7 in 64bit kernel mode just by copying/pasting the mach_kernel included in the zip and adding the flag -force64?
|
It is not the 64 bit kernel mode, it is just 64 bit userland. You should also repair the permissions and youīve to check if the bootloader will load the kernel. For that check your boot.plist.
|
Sorry for the dumb questions, but I just started learning about all of this a few days ago. Pretty interesting stuff.
So, if I understood well, by drag/dropping the kernel file I'm going to enable 64bit mode for applications, but the kernel will still be run at 32bit? As in, almost every process reporting as intel 64bit kind (in activity monitor) and kernel_task reporting as Intel (32bit) ? I already managed this, and that's how my system has been running, and so far so good, everything seems to be working OK. Is there a way to have the kernel_task also in 64bit ? If so, are there many advantages of also having the kernel in 64bit mode, compared to having only 64bit enabled for applications? Thank you. :) |
Quote:
But I have no luck with this kernel anyway. Using nawcom legacy kernel I'm able to run my hackintosh pretty good. The only problem is I must use following flags: -force64 arch=i386 Some people said that this combination is strange, and no good, but my system won't boot without it. With AnV kernel I must use same flags to boot + several programs does not work, including iTunes, Smultron, Little Snitch, etc... Anyone has idea on how to avoid mentioned kernel flags? -Asus M4A89GTD PRO/USB3 -AMD Phenom II X6 1090T -16GB DDR3 1333 -Asus GTX-460 -OSX 10.6.7 -Chameleon build752 -Legacy Kernel 10.7.0 |
There is nothing wrong with using the nawcom kernel, Anv kernel has a custom dyld and it does not work with every application.
Your flags look right but also add "std_dyld=yes", it will work the same way as the nawcom kernel. Custom dyld is a nice project but for me its not usable since I practically live inside Logic. Just patch the mentioned libs with the amd patcher, i have to patch some extra things with the "amd-ext" patcher to use some AudioUnits plugins though, if you have some problems you just have to go trough the traceback and try to find the lib that crashes your apps, tedious but worth it. |
Thanks.
GringoVermelho@InsanelyMac said: Quote:
|
Quote:
std_dyld=Yes arch=i386 -force64 |
Quote:
Without it you will start in pure legacy mode and have no chance to run 64 bit software. |
Quote:
arch=x86_64 means 64bit kernel space and 64bit userspace (no -force64 should be required) |
Quote:
|
So I don't need to worry about my boot flags. They are safe to use.
Thanks for your explanation, I appreciate that. |