Contribute
Register

[SOLVED] SATA hot plug patch not working in Big Sur

Status
Not open for further replies.
Many thanks. I read Dortania installation instruction and thought CtlnaAHCIPort is must.

You mentioned that "recovering XHCI-unsupported.kext" in the post, would you please tell me how to do it as I have no idea what it is?

Thanks!
It is a kext that I use and that, following Dortania's instructions, I removed when I put CtlnAHCIPort and I have reinstalled after removing CtlnAHCIPort. In your case it may not be necessary.
 
It is a kext that I use and that, following Dortania's instructions, I removed when I put CtlnAHCIPort and I have reinstalled after removing CtlnAHCIPort. In your case it may not be necessary.
Thank you very much! It's clear and working perfectly now.

Your help is greatly appreciated!
 
Thank you very much! It's clear and working perfectly now.

Your help is greatly appreciated!
:thumbup:
I edit the original text to avoid doubts with that kext.
 
Thank you.

Just for clarification if anyone has any doubts or want Hot Plugging in Big Sur, here is the patch (data must be exactly as in the pic) and proof of it working in both BS and Catalina. Catalina is the Drive that is Hot Plugged hence orange icon depicting it correctly as an external Drive. Both OS X version operating off one single EFI Folder residing on the BS EFI partition.
I did this and hot plugging now works, thanks, but after making these changes the eject key on my keyboard doesn't eject. It works as a shortcut as for putting monitor to sleep but not to activate the tray. Any ideas? Thanks.
 
I did this and hot plugging now works, thanks, but after making these changes the eject key on my keyboard doesn't eject. It works as a shortcut as for putting monitor to sleep but not to activate the tray. Any ideas? Thanks.
I don't see any relation between the patch and the eject key.
Under eject key are now the SATA disks that have hot plug instead of the DVD?
 
I don't see any relation between the patch and the eject key.
Under eject key are now the SATA disks that have hot plug instead of the DVD?
Yes it's strange, if I take the patch off the eject key works. I have 2 internal ssd's and the dvd drive connected to a sata card, the drives show up as removable as well as an hdd that is in a hot swap caddy. I put the eject icon on my menu bar and it works to open and close the tray, so I can still get it working, just curious to know what's going on, thanks.
 
Hello guys
I have patched my AppleAHCIPort
Many thanks, works fine, but ... all internal or hot-plugged disk icons are orange!!!!!!!! :lol:
Do you have an idea how to solve?
 

Attachments

  • Schermata 2021-03-28 alle 13.10.55.png
    Schermata 2021-03-28 alle 13.10.55.png
    513.9 KB · Views: 50
Hello guys
I have patched my AppleAHCIPort
Many thanks, works fine, but ... all internal or hot-plugged disk icons are orange!!!!!!!! :lol:
Do you have an idea how to solve?
This is the normal behavior of a Mac. If the disk can be hot plugged or unplugged, its icon is the orange external disk icon. I use it this way.
But if you want them to appear with the internal disk icon, you have to add another patch to the one you already have. In the same place as the SATA hot plug patch. With this text:
XML:
            <dict>
                <key>Arch</key>
                <string>x86_64</string>
                <key>Base</key>
                <string></string>
                <key>Comment</key>
                <string>External orange icons patch</string>
                <key>Count</key>
                <integer>1</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>RXh0ZXJuYWw=</data>
                <key>Identifier</key>
                <string>com.apple.driver.AppleAHCIPort</string>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data></data>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>Replace</key>
                <data>SW50ZXJuYWw=</data>
                <key>ReplaceMask</key>
                <data></data>
                <key>Skip</key>
                <integer>0</integer>
            </dict>
I think you have looked for this fix with little effort because it is easily found.
 
This is the normal behavior of a Mac. If the disk can be hot plugged or unplugged, its icon is the orange external disk icon. I use it this way.
But if you want them to appear with the internal disk icon, you have to add another patch to the one you already have. In the same place as the SATA hot plug patch. With this text:
XML:
            <dict>
                <key>Arch</key>
                <string>x86_64</string>
                <key>Base</key>
                <string></string>
                <key>Comment</key>
                <string>External orange icons patch</string>
                <key>Count</key>
                <integer>1</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>RXh0ZXJuYWw=</data>
                <key>Identifier</key>
                <string>com.apple.driver.AppleAHCIPort</string>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data></data>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>Replace</key>
                <data>SW50ZXJuYWw=</data>
                <key>ReplaceMask</key>
                <data></data>
                <key>Skip</key>
                <integer>0</integer>
            </dict>
I think you have looked for this fix with little effort because it is easily found.
Many thanks Miliuco for your quick reply.
I tried to use it only today, unfortunately I was unable to transcribe the text exactly.
I insert the value "RXh0ZXJuYWw=" but it is not accepted.
I can't understand what mistake I make.
I have tried with both ProperTree and Opencore Configurator!!!
For anyone who can help me I'm attaching my screenshots.
Many thanks
 

Attachments

  • Schermata 2021-04-01 alle 18.47.19.png
    Schermata 2021-04-01 alle 18.47.19.png
    177.6 KB · Views: 97
  • Schermata 2021-04-01 alle 18.51.55.png
    Schermata 2021-04-01 alle 18.51.55.png
    435 KB · Views: 103
  • Schermata 2021-04-01 alle 19.14.53.png
    Schermata 2021-04-01 alle 19.14.53.png
    596.3 KB · Views: 99
Many thanks Miliuco for your quick reply.
I tried to use it only today, unfortunately I was unable to transcribe the text exactly.
I insert the value "RXh0ZXJuYWw=" but it is not accepted.
I can't understand what mistake I make.
I have tried with both ProperTree and Opencore Configurator!!!
For anyone who can help me I'm attaching my screenshots.
Many thanks
Sorry I didn't explain it fully.

The text you see in my message is plain text, as seen in a text editor, and Find and Replace values are in Base64.

But if you see it in OpenCore Configurator (OCC) or a plist file editor, Find and Replace values are in hexadecimal.

This is what confuses you. In OCC or plist editor you have to write it in hexadecimal.
RXh0ZXJuYWw= in Base64 equals 45787465726E616C in hexadecimal.
SW50ZXJuYWw= in Base64 equals 496E7465726E616C in hexadecimal.

You can do the conversion with Hackintool from headkaze, Calc tab, above in Sequence, you write in the Hex box and you get the Base64 value and vice versa.

Orange icons OCC.jpg


Orange icons plist.png
 
Last edited:
Status
Not open for further replies.
Back
Top