Andy Vandijck Posted August 21, 2010 Share Posted August 21, 2010 This will fully enable 32bits apps under 64bit mode on most Qoopz/Qoopz+AnV kernels. I have used maxxuss patcher to change the bytes (manual lookup + writing of patch). It also includes pre-patched binaries. Enjoy and let me know if it works well after patching (it should) Download: http://rapidshare.com/files/414232677/AMD_...atcher.zip.html Link to comment https://www.insanelymac.com/forum/topic/229474-amd-sysenter-trap-patch-1064/ Share on other sites More sharing options...
Smith@@™ Posted August 21, 2010 Share Posted August 21, 2010 Many were waiting this Link to comment https://www.insanelymac.com/forum/topic/229474-amd-sysenter-trap-patch-1064/#findComment-1534123 Share on other sites More sharing options...
Jackokk Posted August 22, 2010 Share Posted August 22, 2010 thank you very much. Link to comment https://www.insanelymac.com/forum/topic/229474-amd-sysenter-trap-patch-1064/#findComment-1534636 Share on other sites More sharing options...
davisin666 Posted August 22, 2010 Share Posted August 22, 2010 This will fully enable 32bits apps under 64bit mode on most Qoopz/Qoopz+AnV kernels. I have used maxxuss patcher to change the bytes (manual lookup + writing of patch). It also includes pre-patched binaries. Enjoy and let me know if it works well after patching (it should) Download: http://rapidshare.com/files/414232677/AMD_...atcher.zip.html iTunes and Front Row dont work anymore (both methods, -force64 and arch=x86_64 And Adium works fine without kp!!! Link to comment https://www.insanelymac.com/forum/topic/229474-amd-sysenter-trap-patch-1064/#findComment-1534907 Share on other sites More sharing options...
DariosF Posted August 23, 2010 Share Posted August 23, 2010 How can i use this patch?? Link to comment https://www.insanelymac.com/forum/topic/229474-amd-sysenter-trap-patch-1064/#findComment-1535350 Share on other sites More sharing options...
5122061 Posted August 23, 2010 Share Posted August 23, 2010 itunes can't work , anyone is fine. SL10.6.5(10H529) . arch=x86_64 -force64 .amd5200+ Link to comment https://www.insanelymac.com/forum/topic/229474-amd-sysenter-trap-patch-1064/#findComment-1535750 Share on other sites More sharing options...
Andy Vandijck Posted August 27, 2010 Author Share Posted August 27, 2010 itunes can't work , anyone is fine. SL10.6.5(10H529) . arch=x86_64 -force64 .amd5200+ The problem seems to be code signing issues. Maybe without code signature (using my way of removing the code signature) it works... Link to comment https://www.insanelymac.com/forum/topic/229474-amd-sysenter-trap-patch-1064/#findComment-1538369 Share on other sites More sharing options...
eluminx Posted September 5, 2010 Share Posted September 5, 2010 The problem seems to be code signing issues.Maybe without code signature (using my way of removing the code signature) it works... How would we remove the code signature? Do you have a guide or a link on how to accomplish this? Thanks for the help. Link to comment https://www.insanelymac.com/forum/topic/229474-amd-sysenter-trap-patch-1064/#findComment-1543284 Share on other sites More sharing options...
Andy Vandijck Posted September 11, 2010 Author Share Posted September 11, 2010 How would we remove the code signature? Do you have a guide or a link on how to accomplish this? Thanks for the help. It should be available somewhere on this forum (can't remember the topic). The other option is to try the kernel available on InfiniteMac, it has code inside for forcing Apple code signatures to CS_VALID... Link to comment https://www.insanelymac.com/forum/topic/229474-amd-sysenter-trap-patch-1064/#findComment-1546502 Share on other sites More sharing options...
the.dude137 Posted November 20, 2010 Share Posted November 20, 2010 Thanks for this but how do I use it? Please help. Link to comment https://www.insanelymac.com/forum/topic/229474-amd-sysenter-trap-patch-1064/#findComment-1587747 Share on other sites More sharing options...
dickhouse Posted November 20, 2010 Share Posted November 20, 2010 hey andy thank champ i got 64bit flavor now look at my logs could you tell me these error dyld: shared cached file was build against a different libSystem.dylib, ignoring cache Password: dyld: shared cached file was build against a different libSystem.dylib, ignoring cache npvhash=4095 PAE enabled 64 bit mode enabled rtclock_init: Taking bus ratio path 0 (Boot-time argument) TSC: Frequency = 0.0000MHz, FSB frequency = 200.0000MHz, bus ratio = 16 Darwin Kernel Version 10.4.0: Tue Jul 27 15:35:59 EDT 2010; annappirtrvh v4 :xnu-1504.7.4/BUILD/obj/RELEASE_I386 vm_page_bootstrap: 512604 free pages and 11684 wired pages standard timeslicing quantum is 10000 us mig_table_max_displ = 73 Local APIC version 0x10, 0x14 or more expected kxld[com.apple.kpi.iokit]: This symbol set has the following unresolved symbols: kxld[com.apple.kpi.iokit]: __ZN14IOPMrootDomain17createPMAssertionEyjP9IOServicePKc kxld[com.apple.kpi.iokit]: __ZN14IOPMrootDomain18releasePMAssertionEy kxld[com.apple.kpi.iokit]: __ZN14IOPMrootDomain19getPMAssertionLevelEy kxld[com.apple.kpi.iokit]: __ZN14IOPMrootDomain19setPMAssertionLevelEyj warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelCPUPowerManagement AppleACPICPU: ProcessorId=1 LocalApicId=0 Enabled AppleACPICPU: ProcessorId=2 LocalApicId=1 Enabled AppleACPICPU: ProcessorId=3 LocalApicId=2 Enabled AppleACPICPU: ProcessorId=4 LocalApicId=3 Enabled AppleACPICPU: ProcessorId=5 LocalApicId=132 Disabled AppleACPICPU: ProcessorId=6 LocalApicId=133 Disabled calling mpo_policy_init for Quarantine Security policy loaded: Quarantine policy (Quarantine) calling mpo_policy_init for Sandbox Security policy loaded: Seatbelt sandbox policy (Sandbox) calling mpo_policy_init for TMSafetyNet Security policy loaded: Safety net for Time Machine (TMSafetyNet) Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. MAC Framework successfully initialized using 10485 buffer headers and 4096 cluster IO buffer headers IOAPIC: Version 0x21 Vectors 64:87 ACPI: System State [S0 S3 S4 S5] (S3) RTC: Only single RAM bank (128 bytes) FakeSMC: Opensource SMC device emulator by netkas (C) 2009 FakeSMC: Modified for plugins support by mozodojo (C) 2010 FakeSMC: Idea of FakeSMC plugins and code sample by usr-sse2 FakeSMC: Thanks to slice for help with hardware support code and plugins FakeSMCDevice: 16 keys added USBF: 0.393 AppleUSBEHCI[0x3e2f000]::CheckSleepCapability - controller will be unloaded across sleep USBF: 0.423 AppleUSBEHCI[0x4142800]::CheckSleepCapability - controller will be unloaded across sleep USBF: 0.444 AppleUSBOHCI[0x4118800]::CheckSleepCapability - controller will be unloaded across sleep USBF: 0.444 AppleUSBOHCI[0x40b9000]::CheckSleepCapability - controller will be unloaded across sleep USBF: 0.483 AppleUSBOHCI[0x4118000]::CheckSleepCapability - controller will be unloaded across sleep USBF: 0.483 AppleUSBOHCI[0x411a800]::CheckSleepCapability - controller will be unloaded across sleep NVClockX: started NVClockX: Vendor ID: 10de, Device ID: 615 NVClockX: Architecture: 20000 NVClockX: G92 [GeForce GTS 250] BIOS successfully read Unhandled init script entry with id '\M^V' at c7d8 FakeSMC: adding key TG0D with handler, type sp78, size 2 F718x: found Fintek F71889F FakeSMC: adding key Th0H with handler, type sp78, size 2 FakeSMC: adding key TN0P with handler, type sp78, size 2 FakeSMC: adding key VC0C with handler, type fp2e, size 2 FakeSMC: adding key F0Ac with handler, type fpe2, size 2 mbinit: done (64 MB memory set for mbuf pool) From path: "uuid", Waiting for boot volume with UUID 57B23100-95C7-3015-9790-627BE08B2C80 Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict> com.apple.AppleFSCompressionTypeZlib kmod start com.apple.AppleFSCompressionTypeZlib load succeeded Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@180000/AppleACPIPCI/SATA@11/AppleAHCI/PRID@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/WDC WD5000AADS-00S9B0 Media/IOFDiskPartitionScheme/Untitled 2@2 BSD root: disk0s2, major 14, minor 2 USBMSC Identifier (non-unique): 0014780EC5FF5C87170C0027 0x951 0x1607 0x100 USBF: 5.576 AppleUSBOHCI[0x411a000]::CheckSleepCapability - controller will be unloaded across sleep systemShutdown false CODE SIGNING: cs_invalid_page(0x8fe2b000): p=45[ccc_helper] clearing CS_VALID Waiting for DSMOS... BootCache: hit rate below threshold (986 hits on 2110 lookups) CODE SIGNING: cs_invalid_page(0x8fe2b000): p=46[iStatLocalDaemon] clearing CS_VALID warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelMeromProfile warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelNehalemProfile warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelPenrynProfile warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelYonahProfile disk1s1: ioctl('',51,0) is unsupported. disk0s1: ioctl('',51,0) is unsupported. Warning - com.haier.driver.evdo declares no kernel dependencies; using com.apple.kernel.6.0. Apple16X50ACPI1: Identified Serial Port on ACPI Device=UAR1 Apple16X50UARTSync1: Detected 16550AF/C/CF FIFO=16 MaxBaud=115200 Previous Shutdown Cause: 3 [:init] RealtekRTL81xxx.kext v0.0.67 (c)2010 by Lnx2Mac (lnx2mac@gmail.com) RealtekRTL81xxx.kext: NIC identified as RTL8168D/8111D (mcfg=17) disk0s5: ioctl('',51,0) is unsupported. ACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out WARNING: ACPI_SMC_PlatformPlugin - getCPUIDInfo unknown CPU family: family 0x10, model 0x4 -- power management may be incomplete or unsupported NVDANV50HAL loaded and registered. DSMOS has arrived MacFUSE: starting (version 2.1.7, Sep 11 2009, 13:04:41) disk0s8: ioctl('',51,0) is unsupported. com_lnx2mac_RealtekRTL81xx: Ethernet address 40:61:86:4c:d4:27 disk0s9: ioctl('',51,0) is unsupported. disk1s1: ioctl('',51,0) is unsupported. CODE SIGNING: cs_invalid_page(0x8fe2b000): p=3347[UpdaterStartupUt] clearing CS_VALID CODE SIGNING: cs_invalid_page(0x8fe2b000): p=3360[AAM Updates Noti] clearing CS_VALID CODE SIGNING: cs_invalid_page(0x8fe2b000): p=3364[Dropbox] clearing CS_VALID CODE SIGNING: cs_invalid_page(0x8fe2b000): p=3665[cvmsComp_i386] clearing CS_VALID dyld: shared cached file was build against a different libSystem.dylib (do i have to use amd_ins_patcher) blindly to use it... enlight pls.. Link to comment https://www.insanelymac.com/forum/topic/229474-amd-sysenter-trap-patch-1064/#findComment-1587966 Share on other sites More sharing options...
kocoman Posted May 12, 2011 Share Posted May 12, 2011 It should be available somewhere on this forum (can't remember the topic).The other option is to try the kernel available on InfiniteMac, it has code inside for forcing Apple code signatures to CS_VALID... I am patching launchctl (terminal app), but afterward it complain of code signing Andy Vandijck did post some post about "removing code signatures", and did an amd_insn_patcher (with source code), but I don't understand whats the code is doing, I could run it through debugger, but if anyone knows this faster than me and would like to answer. I searched insanelymac for Andy Vandijck's post about this, but can't find it, maybe its deleted for DCMA? kern_return_t remove_code_signature_64(uint8_t *data) { struct mach_header_64 *mh_64 = (struct mach_header_64 *)data; struct load_command *tmplc = (struct load_command *)(data + sizeof(struct mach_header_64)); uint32_t curlc = 0; uint32_t totlc = mh_64->ncmds; uint32_t curoff = sizeof(struct mach_header_64); struct linkedit_data_command *cryptsiglc = (struct linkedit_data_command *)0; uint8_t *cryptsigdata = (uint8_t *)0; uint32_t cryptsigdatasize = 0; uint32_t zeroeddata = 0; /* Get code signature load command + divide */ while (curlc < totlc) { if (tmplc->cmd == LC_CODE_SIGNATURE) { cryptsiglc = (struct linkedit_data_command *)(data + curoff); break; } curoff += tmplc->cmdsize; tmplc = (struct load_command *)(data + curoff); ++curlc; } /* Safety check */ if (cryptsiglc == 0) { printf("No code signature found, skipping patch\n"); return KERN_FAILURE; } cryptsigdata = (uint8_t *)(data + cryptsiglc->dataoff); /* Zero code signature... */ while (zeroeddata < cryptsiglc->datasize) { *cryptsigdata = 0; ++zeroeddata; ++cryptsigdata; } /* Reduce the number of load commands + load command size */ mh_64->ncmds -= 1; mh_64->sizeofcmds -= cryptsiglc->cmdsize; /* Zero out load command of LC_CODE_SIGNATURE */ cryptsiglc->cmd = 0; cryptsiglc->cmdsize = 0; cryptsiglc->dataoff = 0; cryptsiglc->datasize = 0; printf("Code signature removed succesfully (64bit)"); return KERN_SUCCESS; } Link to comment https://www.insanelymac.com/forum/topic/229474-amd-sysenter-trap-patch-1064/#findComment-1682536 Share on other sites More sharing options...
Recommended Posts