Jump to content

[AMD] OS X El Capitan (10.11) Kernel Testing & Release (for help use the Help Topic)


spakk
 Share

1,255 posts in this topic

Recommended Posts

yeah !!!   

 

usb2 works !!!   :w00t:  :hysterical:  :P  :shock:  :whistle:

 

dansons la capucine.........!!! dansons la capucine .............!!! dansons la capucines.................!!! dansons la capucines !!!!  :frantics:  :hyper:

 

 

So you just put this in /Extra/Extensions ?

Link to comment
Share on other sites

No, just modify the part about c string format like AnV do some time ago :). Let bootloader do his work about loadable (signed) and not loadable (unsigned or signed-broken) and untrusted kexts  :) , My 2 cent, just a test :)

 

 

Do you mean the c string here,

    OSString *      versionString           = NULL;  // do not release
    char *          versionCString          = NULL;  // do not free

The coding part isn't really my expertise lol

 

 

 

/* AnV - Don't use blacklist exclude list */
bool
OSKext::isInExcludeList(void)
{
return(false);
OSString * versionString = NULL; // do not release
char * versionCString = NULL; // do not free
size_t i;
boolean_t wantLessThan = false;
boolean_t wantLessThanEqualTo = false;
char myBuffer[32];

if (!sExcludeListByID) {
return(false);
}
/* look up by bundleID in our exclude list and if found get version
* string (or strings) that we will not allow to load
*/
versionString = OSDynamicCast(OSString, sExcludeListByID->getObject(bundleID));
if (versionString == NULL || versionString->getLength() > (sizeof(myBuffer) - 1)) {
return(false);
}

/* parse version strings */
versionCString = (char *) versionString->getCStringNoCopy();

/* look for "LT" or "LE" form of version string, must be in first two
* positions.
*/

if (*versionCString == 'L' && *(versionCString + 1) == 'T') {
wantLessThan = true;
versionCString +=2;
}
else if (*versionCString == 'L' && *(versionCString + 1) == 'E') {
wantLessThanEqualTo = true;
versionCString +=2;
}

for (i = 0; *versionCString != 0x00; versionCString++) {
/* skip whitespace */
if (isWhiteSpace(*versionCString)) {
continue;
}

/* peek ahead for version string separator or null terminator */
if (*(versionCString + 1) == ',' || *(versionCString + 1) == 0x00) {

/* OK, we have a version string */
myBuffer[i++] = *versionCString;
myBuffer[i] = 0x00;

OSKextVersion excludeVers;
excludeVers = OSKextParseVersionString(myBuffer);

if (wantLessThanEqualTo) {
if (version <= excludeVers) {
return(true);
}
}
else if (wantLessThan) {
if (version < excludeVers) {
return(true);
}
}
else if ( version == excludeVers ) {
return(true);
}

/* reset for the next (if any) version string */
i = 0;
wantLessThan = false;
wantLessThanEqualTo = false;
}
else {
/* save valid version character */
myBuffer[i++] = *versionCString;

/* make sure bogus version string doesn't overrun local buffer */
if ( i >= sizeof(myBuffer) ) {
break;
}
}
}

return(false);
}

 

 

Link to comment
Share on other sites

 

 Do you mean the c string here,

No, forgot it (Today I had not said a stupid thing until my last post  :hysterical: )

 

I was meant to leave it entirely Vanilla:

bool 
OSKext::isInExcludeList(void)
{
    OSString *      versionString           = NULL;  // do not release
    char *          versionCString          = NULL;  // do not free
    size_t          i;
    boolean_t       wantLessThan = false;
    boolean_t       wantLessThanEqualTo = false;
    char            myBuffer[32];
    
    if (!sExcludeListByID) {
        return(false);
    }
    /* look up by bundleID in our exclude list and if found get version
     * string (or strings) that we will not allow to load
     */
    versionString = OSDynamicCast(OSString, sExcludeListByID->getObject(bundleID));
    if (versionString == NULL || versionString->getLength() > (sizeof(myBuffer) - 1)) {
        return(false);
    }
    
    /* parse version strings */
    versionCString = (char *) versionString->getCStringNoCopy();
    
    /* look for "LT" or "LE" form of version string, must be in first two
     * positions.
     */
    if (*versionCString == 'L' && *(versionCString + 1) == 'T') {
        wantLessThan = true;
        versionCString +=2; 
    }
    else if (*versionCString == 'L' && *(versionCString + 1) == 'E') {
        wantLessThanEqualTo = true;
        versionCString +=2;
    }

    for (i = 0; *versionCString != 0x00; versionCString++) {
        /* skip whitespace */
        if (isWhiteSpace(*versionCString)) {
            continue;
        }
        
        /* peek ahead for version string separator or null terminator */
        if (*(versionCString + 1) == ',' || *(versionCString + 1) == 0x00) {
            
            /* OK, we have a version string */
            myBuffer[i++] = *versionCString;
            myBuffer[i] = 0x00;

            OSKextVersion excludeVers;
            excludeVers = OSKextParseVersionString(myBuffer);
                
            if (wantLessThanEqualTo) {
                if (version <= excludeVers) {
                    return(true);
                }
            }
            else if (wantLessThan) {
                if (version < excludeVers) {
                    return(true);
                }
            }
            else if ( version == excludeVers )  {
                return(true);
            }
            
            /* reset for the next (if any) version string */
            i = 0;
            wantLessThan = false;
            wantLessThanEqualTo = false;
        }
        else {
            /* save valid version character */
            myBuffer[i++] = *versionCString;
            
            /* make sure bogus version string doesn't overrun local buffer */
            if ( i >= sizeof(myBuffer) ) {
                break;
            }
        }
    }
    
    return(false);
} 
  • Like 1
Link to comment
Share on other sites

unable to find driver for ACPI is DSDT problem try to boot without DSDT or use CLOVER or patch your DSDT . Btw i can boot 10.11.2 with all the kernels posted on my AMD FX8320 now i'm with bronya's kernel installed 10.11  with y2k4u 1st kernel and tested all the rest. Had to patch my dsdt for the new usb error and use dummy kexts,now USB2/3 working perfectly VoodoPstate works (shows 3.2ghz instead of 3.5)  sleep works iCloud works App Store works safari works fcpX works the only thing i have is the same green icon artifacts and missing apple logo(when i open utorrent.app apple logo reappears maybe it's something like new apps old apps thing) as in padelee's post.Bootloader Clover 3330 legacy mode, motherboard Asrock 980DE3/U3S3.You did Great and FAST job bringing el capitan to AMD. Thank you.

  • Like 1
Link to comment
Share on other sites

 

Hi Micky,
 
as you can seen in the picture, I have no AppleIntelCPUPowerManagement.kext in S/L/E (deleted and have booted with
-noblacklist) However, this error occurs with all kernel, so I suspect that this error has no dependency with the kernels.

 

 

Can you try this kernel please,

 

kernel.zip

Link to comment
Share on other sites

S/L/E   :)

 

USB2 works speed USB1 but works and USB3 works speed USB3 :)

Can you provide the list of apps that crashes?

 

for now I only have 1 or 2 App that crash, great job :) thank you
 

 

Parallels works   ;) and no bug graphics , vidéo Youtube 1080p 60 fps works good (chrome) media flash player 20a :)

post-1093405-0-71496500-1450219611_thumb.png

post-1093405-0-16613900-1450219623_thumb.png

post-1093405-0-20597000-1450219636_thumb.png

post-1093405-0-27973800-1450219791_thumb.png

Link to comment
Share on other sites

Anyone had success with TP-Link TL-WN821N USB WIFI adapter (rtl8192cu chipset that usually works with Wlan_11n_USB_MacOS10.8_Driver_UI_2.0.1) ?

The kexts works & the Wireless Utilities.app sees the USB adapter but connexion is randomly lost and system freezes after a while :(. I tried every kernel out there but it's the same so I have no clue on what's going wrong :unsure:.

PS : It's not a USB issue due to new management in El Capitan. Again, the adapter is correctly seen and it's not an hardware issue either since it works fine on an Intel system.

Any ideas ?

Link to comment
Share on other sites

Is there anyone here, who has installed successfully El Capitan with an Phenom II X6 CPU?

Link to comment
Share on other sites

im a newbie here , please is there anyone who can help me to install

please ask here only kernel specific developments questions, for install help please use the help toppic

look here: http://www.insanelymac.com/forum/topic/285760-help-topic-further-help-in-chatosx86hulegacykernel-irc/page-142?do=findComment&comment=2197035

  • Like 2
Link to comment
Share on other sites

Can you try this kernel please,

 

attachicon.gifkernel.zip

This kernel not working for Athlon 64 x2 6000+ CPU in Asus M4A78 Plus MB at 10.11.2.

It can boot, but unable to login Desktop (Always black screen) after loaded BlueToothFamily.kext.

However, if boot with -noblacklist, it can login Desktop and few app crashed only.

So I think it's similar to the other kernels such as Bronya's, Mick1979's, or y2k4u's AMD kernels after boot with -noblacklist.

  • Like 1
Link to comment
Share on other sites

Works here on Athlon 64 x2 4800+ Asus M2N-E 10.11.2 (15C50) GeForce 8600 GT.

Do you need booting with -noblacklist or not ?

There is big difference in my Hackintosh using this kernel with or without -noblacklist.

Link to comment
Share on other sites

Is restart working on this you config? Have the same mb as you

 

No. I'm looking for a fix other than EvoReboot.kext. If anyone knows one, let me know ;).

 

Do you need booting with -noblacklist or not ?

There is big difference in my Hackintosh using this kernel with or without -noblacklist.

 

No. My only Boot-flag is npci=0x2000 :).

 

org.chameleon.Boot.plist :

 

 

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>BlackMode</key>

<string>Yes</string>

<key>Boot Banner</key>

<string>No</string>

<key>CsrActiveConfig</key>

<string>3</string>

<key>EthernetBuiltIn</key>

<string>Yes</string>

<key>GraphicsEnabler</key>

<string>Yes</string>

<key>Kernel Flags</key>

<string>npci=0x2000</string>

<key>Legacy Logo</key>

<string>Yes</string>

<key>SystemType</key>

<string>1</string>

<key>Theme</key>

<string>Default</string>

<key>Timeout</key>

<string>5</string>

</dict>

</plist>

 

 

 

kernel.plist :

 

 

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>KernelBooter_kexts</key>

<string>Yes</string>

</dict>

</plist>

 

 

Link to comment
Share on other sites

No. I'm looking for a fix other than EvoReboot.kext. If anyone knows one, let me know ;).

 

 

No. My only Boot-flag is npci=0x2000 :).

 

org.chameleon.Boot.plist :

 

 

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>BlackMode</key>

<string>Yes</string>

<key>Boot Banner</key>

<string>No</string>

<key>CsrActiveConfig</key>

<string>3</string>

<key>EthernetBuiltIn</key>

<string>Yes</string>

<key>GraphicsEnabler</key>

<string>Yes</string>

<key>Kernel Flags</key>

<string>npci=0x2000</string>

<key>Legacy Logo</key>

<string>Yes</string>

<key>SystemType</key>

<string>1</string>

<key>Theme</key>

<string>Default</string>

<key>Timeout</key>

<string>5</string>

</dict>

</plist>

 

 

 

kernel.plist :

 

 

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>KernelBooter_kexts</key>

<string>Yes</string>

</dict>

</plist>

 

 

In my Hackintosh without -noblacklist unable to login Desktop after IOBlueToothFamily.kext was loaded even using your kernel.plist

Link to comment
Share on other sites

 Share

×
×
  • Create New...