Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.
Just built caches with the edited kext, and unfortunately USB still doesn't work (however I did NOT get the error happening previously).

What does system profiler show under usb
[doublepost=1465941734][/doublepost]
What does system profiler show under usb

EUREKA!
IOUSBHostFamily.kext/Contents/PlugIns/AppleUSBEHCIPCI.kext/Contents/Info.plist also references model names

brb editing plist

@dosdude1
 
Hi everyone!

I've got a MacBook 5,1. After Sierra being available on the web, I downloaded it and started exploring the installer. Anybody knows what'd happen if I just include the board ID everywhere it's necessary, create an install media and launch the setup from the USB?
Didn't work for me
 
What does system profiler show under usb
[doublepost=1465941734][/doublepost]

EUREKA!
IOUSBHostFamily.kext/Contents/PlugIns/AppleUSBEHCIPCI.kext/Contents/Info.plist also references model names

brb editing plist

@dosdude1
Great!!!
 

Attachments

  • Screen Shot 2016-06-14 at 6.03.15 PM.png
    Screen Shot 2016-06-14 at 6.03.15 PM.png
    93.4 KB · Views: 505
unzip this attached file and put plist at
/System/Library/Extensions/IOUSBHostFamily.kext/Contents/PlugIns/AppleUSBEHCIPCI.kext/Contents/Info.plist
I'll test that out as soon as I get back... Gonna be out for a bit, so I'll update you when I test it out.
[doublepost=1465943555][/doublepost]Also, I tried that Broadcom WiFi kext you posted earlier on the MacBook Air, it wouldn't load. Just said "Can't load kext..." in Verbose mode.
 
Could someone please confirm ALL the files that require Model and/or Board ID editing in order to bypass the system check at boot ? I have modified both PlatformSupport.plist files, the InstallableMachines.plist file, and the Distribution file w/Flat Package Editor. I have checked my work a half dozen times and all seems correct.

The only editing that I conducted that I was not certain of was in the second listing section of the Distribution file exist unsupported Model ID's and I deleted the appropriate models from that list that I had added Board ID's in the section above.
 
Last edited:
I'll test that out as soon as I get back... Gonna be out for a bit, so I'll update you when I test it out.
[doublepost=1465943555][/doublepost]Also, I tried that Broadcom WiFi kext you posted earlier on the MacBook Air, it wouldn't load. Just said "Can't load kext..." in Verbose mode.
now I know,
kxld[com.apple.driver.AirPortBrcm43224]: The vtable 'vtable for AirPort_Brcm43224' is malformed. Make sure your kext has been built against the correct headers.
Io80211family is too new. but the old one is incompatible. this will be tricky
 
Wifi update changed symbols in io80211family

< U __ZN23IO80211VirtualInterface11outputStartEv
_IO80211VirtualInterface:: outputStart()

is now
> U __ZN23IO80211VirtualInterface11outputStartEj
_IO80211VirtualInterface:: outputStart(unsigned int)
[doublepost=1465951413][/doublepost]Test this for wifi kext
install the kext i attached in my old post

run

sudo perl -pi -e 's/__ZN23IO80211VirtualInterface11outputStartEv/__ZN23IO80211VirtualInterface11outputStartEj/g' "/System/Library/Extensions/AppleAirPortBrcm43224.kext/Contents/MacOS/AppleAirPortBrcm43224"

cd /

sudo kextcache -z -prelinked-kernel System/Library/Caches/com.apple.kext.caches/Startup/kernelcache -K System/Library/Kernels/kernel System/Library/Extensions

and reboot
 
unzip this attached file and put plist at
/System/Library/Extensions/IOUSBHostFamily.kext/Contents/PlugIns/AppleUSBEHCIPCI.kext/Contents/Info.plist
[doublepost=1465943402][/doublepost]Just found out

Warning: Binary file ./IOBluetoothFamily.kext/Contents/PlugIns/IOBluetoothUSBDFU.kext/Contents/Resources/IOBluetoothUSBDFUTool matches Mac-F4238BC8 macmini3,1 hardcoded reference. It is still there in DP1 but DP2 might break BT & need to downgrade kext
USB is still not working, however devices are now showing up in System Profiler. I think AppleOHCIPCI.kext needs to be modified as well. Going to try that myself now.
[doublepost=1465955782][/doublepost]Editing AppleOHCIPCI.kext worked!!! USB is now fully working!
 

Attachments

  • Screen Shot 2016-06-14 at 9.43.47 PM.png
    Screen Shot 2016-06-14 at 9.43.47 PM.png
    125.3 KB · Views: 325
USB is still not working, however devices are now showing up in System Profiler. I think AppleOHCIPCI.kext needs to be modified as well. Going to try that myself now.
[doublepost=1465955782][/doublepost]Editing AppleOHCIPCI.kext worked!!! USB is now fully working!

What editing was done to get it working? Just the same as the last kext files?

EDIT: So what files all together was edited to get it running?
 
As I posted before, I got USB fully working!! Attached is the fully modified kext. Just install with Kext Utility, rebuild caches, and boot. Tested and works on my 2009 MacBook 5,2 and Late-08 MacBook Air 2,1.

EDIT: It seems plugging a USB device into one of the USB ports causes USB to stop working altogether... Very bizarre.
 

Attachments

  • IOUSBHostFamily.kext.zip
    759.8 KB · Views: 520
As I posted before, I got USB fully working!! Attached is the fully modified kext. Just install with Kext Utility, rebuild caches, and boot. Tested and works on my 2009 MacBook 5,2 and Late-08 MacBook Air 2,1.

Once again, how can we do this with the installer?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.