I found a strange thing, an issue that i opened in oclp that usb not work was in april https://github.com/dortania/OpenCore-Legacy-Patcher/issues/126 , but you said that it was worked on may @Larsvonhier
I found a strange thing, an issue that i opened in oclp that usb not work was in april https://github.com/dortania/OpenCore-Legacy-Patcher/issues/126 , but you said that it was worked on may @Larsvonhier
Not surprising. I hve too many machines to keep track of which OCLP used at what time. So in May the info well dates back a couple of versions...I found a strange thing, an issue that i opened in oclp that usb not work was in april https://github.com/dortania/OpenCore-Legacy-Patcher/issues/126 , but you said that it was worked on may @Larsvonhier
Afaik, it´s not a matter of SIP (disabled or not) as even terminal commands issued cannot circumvent corruption of snapshots or sealing. So imho it´s best to use tools like I wrote or @jackluke proposed. But if simple copying with disabled SIP does the job for you, fine!+There is still a way to put kexts after sip is disabled. with terminal, it does work
I had made a small script for auto installing kexts. Try this then!Afaik, it´s not a matter of SIP (disabled or not) as even terminal commands issued cannot circumvent corruption of snapshots or sealing. So imho it´s best to use tools like I wrote or @jackluke proposed. But if simple copying with disabled SIP does the job for you, fine!
#!/bin/bash
#Thanks to https://github.com/moosethegoose2213
#By https://github.com/hexagonwin
echo "Install kext for Big Sur"
echo "Have SIP Disabled!"
echo "Run this like this : ./kinst diskname kext.kext"
echo "Find diskname using command diskutil list"
echo "Waiting 10 seconds in case you didn't properly did these"
sleep 10
echo "Mounting the specified drive ..."
sudo mount -o nobrowse -t apfs /dev/$1 ./nonroot
echo "Done!"
echo "Removing pre-existing kext ..."
sudo rm -R ./nonroot/System/Library/Extensions/$2
echo "Done!"
echo "Copying new kext ..."
sudo cp -R $(pwd)/$2 ./nonroot/System/Library/Extensions/
echo "Done!"
echo "Fixing permissions ..."
sudo chmod -Rf 755 ./nonroot/System/Library/Extensions/$2
sudo chown -Rf root:wheel ./nonroot/System/Library/Extensions/$2
echo "Done!"
echo "Rebuilding kernel cache ..."
sudo kmutil install --volume-root ./nonroot/ --update-all
echo "Done!"
echo "Blessing ..."
sudo bless --folder ./nonroot/System/Library/CoreServices --bootefi --create-snapshot
echo "Done!"
echo "Script finished! If you didn't get errors, the script was probably successful."
Any help appreciated, but mainly time is missing on my side right now. Weather of 2021 flooded my basement, just enough to endanger all precious hardware/books/floppy disks and other stuff...@Larsvonhier maybe if you clone an already installed Big Sur, through this your earlier Teleport method:
https://forums.macrumors.com/thread...unsupported-macs-thread.2121473/post-27007807
you could attempt to replace those MacBook4,1 kext (included the GMAX3100) from the target machine, maybe you could try this directly from Big Sur desktop : BigSurmountsrw2.app.zip
but backup replaced kext and restart BigSur only if kmutil returns no errors, I mean you can continue to replace any custom kext until kmutil outputs no errors then you could restart BigSur.
I could even attempt to make a patched prelinkedkernel embedding your MacBook4,1 kext , in this way the Big Sur BaseSystem environment is HID USB responsive and from there you can use kmutil to install any custom kext, but probably is required the target machine for this step.
Sorry for keep commenting. Then, do you have the EFI file that worked with USB? If then I would try to compare it with the current one..Any help appreciated, but mainly time is missing on my side right now. Weather of 2021 flooded my basement, just enough to endanger all precious hardware/books/floppy disks and other stuff...
kextstat | grep "USB" > ~/Desktop/usb.txt
kextstat | grep "HID" > ~/Desktop/hid.txt
and also the full output of this :
sudo kextcache -i / > ~/Desktop/kc.txt
kmutil
Thanks! I'll try.@Larsvonhier just made an attempt of making a beta BigSur prelinkedkernel using your MB4,1 kext 1.3b, it'd useful an output from MacBook4,1 (that I don't own) running Catalina or Mojave of these:
Code:kextstat | grep "USB" > ~/Desktop/usb.txt kextstat | grep "HID" > ~/Desktop/hid.txt and also the full output of this : sudo kextcache -i / > ~/Desktop/kc.txt
edit:
I just made an attempt of prelinkedkernel (exactly not BKE) for BigSur beta and seems any IOUSBHost* has prelinked correctly, only omitted is AppleTopCase.kext (because can't find a compatible dependency), anyway I guess that maybe a trackpad or eventually an USB mouse and USB keyboard could work on MacBook4,1 BigSur.
Currently I don't included any Bluetooth kext (from Yosemite) and GMAX3100 driver (from Lion), because I guess the BaseSystem environment can work also without BT or GPU drivers loaded.
@Larsvonhier and @HexagonWin restore this DMG to any USB empty drive (2 gb are sufficient), then replace on its /System/Library/PrelinkedKernels/ this attached: prelinkedkernel beta for MB4,1
then try to boot the USB drive from apple startup manager (without OC) and targeting the USB with CMD+S , if you can type "exit" then it might work, otherwise try booting without CMD+S but with CMD+V and then if you reach the graphical environment try plug an USB mouse.
If you get an HID responsive BigSur BaseSystem, the main aim is allow a MacBook4,1 to use the most important BigSur (and Monterey or later) command:kmutil
additional notes: allow up to 5 minutes to boot the BaseSystem graphical environment, I included also the parrotgeek1 LegacyUSBInjector (that maybe is redundant, I should remove), if you need I could try make a prelinkedkernel with BT and GMAX3100 drivers.
Thanks! I'll try.
Should I give you the mojave output? I don't have it installed right now so maybe can I do it in setup usb? I have installer in my laptop so I can just restore that to a usb and run that from terminal?
P.S. I am using a 2.4g usb wireless keyboard since the internal one's line broke, can I just boot to the usb normally without oc and that's it? (I mean when I just boot to usb I disconnect my internal drive and do it in order to make it boot there)
PPS. And the full environment also works well without those, when I cloned my laptop bigsur's drive and made it autologin, and made it launch few programs on startup it booted fine and launched those (although of course I didn't have input of any!)
Okay, but what does cmd s or v do?
I mean I said about 2.4ghz wireless keyboard because it seemes like the command key in it doesn't work as a command key or something. It simply doesn't seem to work before the mac booted, so I can't do things like pressing option key to go to boot menu etc.
P.S. I have -v enabled as default in my mac pram settings
Thanks.
Also but i restored but I can't find prelinked kernel thing, i only see like install macos big sur and hax blah blah
open /Volumes/BigSurBaseSystemfix/System/Library/PrelinkedKernels/
Thanks. I tried BigSurFixes and that prelinkedkernel, and it boots and usb also works. It is really slow (going to next step after clicking on english language takes more than 4 minutes) but still, it works! (but I'm not sure why is this so slow since hdd boot of the big sur installed image wasn't this slow, maybe usb speed issue).it's hidden by apple, simply from terminal :Code:open /Volumes/BigSurBaseSystemfix/System/Library/PrelinkedKernels/
Thanks. I tried BigSurFixes and that prelinkedkernel, and it boots and usb also works. It is really slow (going to next step after clicking on english language takes more than 4 minutes) but still, it works! (but I'm not sure why is this so slow since hdd boot of the big sur installed image wasn't this slow, maybe usb speed issue).
it is also working without cmd s, it just boots well
Yeah, I think this graphic issue is because of missing fb drivers. Also, mouse movements are being slow. Previousely in mojave or catalina with correct fb drivers at least window moving was smooth, but not in here.I guess that slow is not due to the usb speed, rather to :
- redundant parrotgeek1 LegacyUSBInjector that I also included in BigSur beta prelinkedkernel, but should remove (anyway the LegacyUSBInjector worked for any other legacy USB Mac just MacBook4,1 is the issue)
- or some attempts from BaseSystem to reload its kernelcollection stock IOUSB kext (mismatching version with those I prelinked)
- or some generic IOBluetooth crashing (that I don't prelinked)
- or AppleTopCase.kext (that currently I can't prelink correctly in BigSur kernel cache)
then I'll try to make another prelinkedkernel and if works I tell how to replace any @Larsvonhier MacBook4,1 kext on an already installed BigSur and it might work with any responsive HID devices.
If that still produces a slow graphical BaseSystem, I could even try replace the internal BaseSystem Extensions with those from MacBook4,1 (included the GMAX3100 GPU drivers) in that way also the BaseSystem environment should be faster.
Yeah, I think this graphic issue is because of missing fb drivers. Also, mouse movements are being slow. Previousely in mojave or catalina with correct fb drivers at least window moving was smooth, but not in here.
And it really can be a problem of the usb drive, it's a very cheap sandisk usb drive
It's a little faster. I think this isn't some usb something issue, I think this is just Big Sur being extremely slow in the machine, since I only have 2.5 gigabytes of ram.I'd exclude that it's USB drive speed, but you can make a quick test for this, just restore the DMG to an internal hard disk partition (also replace the prelinkedkernel there) and check if the BaseSystem menu environment is faster.
Anyway later I send multiple prelinkedkernel that you (and Larsvonhier) can try and check if they'll make faster the BigSur BaseSystem.
I even can provide a way to install BigSur directly from target MacBook4,1 (but only on internal SATA drive) , but first should check which kext are too incompatible.
It's a little faster. I think this isn't some usb something issue, I think this is just Big Sur being extremely slow in the machine, since I only have 2.5 gigabytes of ram.