benbaker76 / Hackintool

The Swiss army knife of vanilla Hackintoshing
MIT License
3.12k stars 244 forks source link

AirPortAtheros40 is being installed in /L/E/ which is deprecated (should go into OC/Kexts or CLOVER/kexts/Other) #55

Open chriswayg opened 4 years ago

chriswayg commented 4 years ago

Hackintool v2.9.3 installs AirPortAtheros40.kext into /L/E/ which is deprecated. The log shows:

cp -R /Applications/Hackintool.app/Contents/Resources/Kexts/AirPortAtheros40.kext /Library/Extensions

Please update the tool to install kexts into the recommended locations such as OC/Kexts or CLOVER/kexts/Other

For AirPortAtheros40.kext to work IO80211Family.kext needs to be loaded. For example side by side, sequentially like this in OpenCore:

<dict>
    <key>BundlePath</key>
    <string>IO80211Family.kext</string>
    <key>Enabled</key>
    <true/>
    <key>ExecutablePath</key>
    <string>Contents/MacOS/IO80211Family</string>
    <key>PlistPath</key>
    <string>Contents/Info.plist</string>
</dict>
<dict>
    <key>BundlePath</key>
    <string>AirPortAtheros40.kext</string>
    <key>Enabled</key>
    <true/>
    <key>ExecutablePath</key>
    <string>Contents/MacOS/AirPortAtheros40</string>
    <key>PlistPath</key>
    <string>Contents/Info.plist</string>
</dict>

or nested in the Plugins directory, like this:

<dict>
  <key>BundlePath</key>
  <string>IO80211Family.kext</string>
  <key>Enabled</key>
  <true/>
  <key>ExecutablePath</key>
  <string>Contents/MacOS/IO80211Family</string>
  <key>PlistPath</key>
  <string>Contents/Info.plist</string>
</dict>
<dict>
  <key>BundlePath</key>
  <string>IO80211Family.kext/Contents/PlugIns/AirPortAtheros40.kext</string>
  <key>Enabled</key>
  <true/>
  <key>ExecutablePath</key>
  <string>Contents/MacOS/AirPortAtheros40</string>
  <key>PlistPath</key>
  <string>Contents/Info.plist</string>
</dict>
chriswayg commented 4 years ago

I have never tested AppleAHCIPortHotplug.kext, which Hackintool also installs into /L/E/, so I'm not sure what alternatives would be available.

benbaker76 commented 4 years ago

I've added a save dialog so you can select the location to install