dreamwhite Posted October 18, 2022 Share Posted October 18, 2022 Salve a tutti, nel mio tempo libero ho scritto un piccolo script in Python che verifica l'esistenza di: - ACPI - Driver - Kext - Tool presenti nelle EFI di OpenCore. Potrebbe risultare utile per coloro che spesso per un motivo o l'altro (come il sottoscritto) si dimenticano di un file abilitato nel config come da screen: Potete trovare maggiori info qui: https://github.com/dreamwhite/ocvalidamus 3 2 1 Link to comment Share on other sites More sharing options...
Supervisor fabiosun Posted October 19, 2022 Supervisor Share Posted October 19, 2022 fabio@fabios-Mac-Pro EFI % python3 ocvalidamus.py ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄▄ █ █ █ █ █ █ █ █ █ █ ██ █ █▄█ █ █ █ █ █ █ ▄ █ █ █▄█ █ ▄ █ █ █ █ ▄ █ ▄ █ █ █ █ █ ▄▄▄▄▄█ █ █ █ █ ▄▄█ █ █▄█ █ █ █ █ █ █ █ █▄█ █ █ █▄█ █ █▄▄▄▄▄ █ █▄█ █ █ █ █ █ █▄▄▄█ █ █▄█ █ █ █ █▄▄▄▄▄ █ █ █ █▄▄ █ ██ ▄ █ █ █ █ ▄ █ ██▄██ █ █▄▄▄▄▄█ █ █▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█ █▄▄▄█ █▄█ █▄▄█▄▄▄▄▄▄▄█▄▄▄█▄▄▄▄▄▄██▄█ █▄▄█▄█ █▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█ Made with ♡ by dreamwhite ---CHECK ACPI--- Checking 1-SSDT-PLUG.aml (1-SSDT-PLUG) - 1-SSDT-PLUG.aml exists Checking 2-SSDT-SBRG-USBX-v4.aml (2-SSDT-SBRG-USBX-v4.aml) - 2-SSDT-SBRG-USBX-v4.aml exists Checking 5-SSDT-6900XT-v6.aml (5-SSDT-6900XT-v6.aml) - 5-SSDT-6900XT-v6.aml exists Checking SSDT-TB.aml () - SSDT-TB.aml exists ---CHECK Drivers--- Checking OpenRuntime.efi () - OpenRuntime.efi exists Checking HfsPlus.efi (HFS+ Driver) - HfsPlus.efi exists Checking OpenCanopy.efi () - OpenCanopy.efi exists Checking ResetNvramEntry.efi () - ResetNvramEntry.efi exists Checking ToggleSipEntry.efi () - ToggleSipEntry.efi exists ---CHECK Kexts--- Checking Lilu.kext (V1.6.3 | Patch engine) - Lilu.kext exist - Contents/MacOS/Lilu exists - Contents/Info.plist exists Checking VirtualSMC.kext (V1.3.1 | SMC emulator) - VirtualSMC.kext exist - Contents/MacOS/VirtualSMC exists - Contents/Info.plist exists Skipping RestrictEvents.kext (V1.0.9 | RestrictEvents.kext) as it's disabled Checking AMDRyzenCPUPowerManagement.kext (V0.7.1 | AMD Power Gadget) - AMDRyzenCPUPowerManagement.kext exist - Contents/MacOS/AMDRyzenCPUPowerManagement exists - Contents/Info.plist exists Checking AppleMCEReporterDisabler.kext (V1.2) - AppleMCEReporterDisabler.kext exist - exists - Contents/Info.plist exists Skipping WhateverGreen.kext (V1.6.2) as it's disabled Skipping USBMap.kext (V1.0) as it's disabled Checking AGPM-RX6900XT.kext (V131) - AGPM-RX6900XT.kext exist - exists - Contents/Info.plist exists ---CHECK Tools--- Checking OpenShell.efi (Not signed for security reasons) - OpenShell.efi exists Skipping ResetSystem.efi (Perform shutdown) as it's disabled No issues found fabio@fabios-Mac-Pro EFI % Metterei nel read me il fatto che il comando va lanciato entrando precisamente nel volume dove e' la EFI ed il comando a me con il drag and drop non ha funzionato: fabio@fabios-Mac-Pro ~ % python3 /Volumes/EFI/ocvalidamus.py ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄▄ █ █ █ █ █ █ █ █ █ █ ██ █ █▄█ █ █ █ █ █ █ ▄ █ █ █▄█ █ ▄ █ █ █ █ ▄ █ ▄ █ █ █ █ █ ▄▄▄▄▄█ █ █ █ █ ▄▄█ █ █▄█ █ █ █ █ █ █ █ █▄█ █ █ █▄█ █ █▄▄▄▄▄ █ █▄█ █ █ █ █ █ █▄▄▄█ █ █▄█ █ █ █ █▄▄▄▄▄ █ █ █ █▄▄ █ ██ ▄ █ █ █ █ ▄ █ ██▄██ █ █▄▄▄▄▄█ █ █▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█ █▄▄▄█ █▄█ █▄▄█▄▄▄▄▄▄▄█▄▄▄█▄▄▄▄▄▄██▄█ █▄▄█▄█ █▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█ Made with ♡ by dreamwhite Traceback (most recent call last): File "/Volumes/EFI/ocvalidamus.py", line 130, in <module> OCValidamus() File "/Volumes/EFI/ocvalidamus.py", line 20, in __init__ with open('EFI/OC/config.plist', 'rb') as f: FileNotFoundError: [Errno 2] No such file or directory: 'EFI/OC/config.plist' fabio@fabios-Mac-Pro ~ % Link to comment Share on other sites More sharing options...
dreamwhite Posted October 19, 2022 Author Share Posted October 19, 2022 4 hours ago, fabiosun said: fabio@fabios-Mac-Pro EFI % python3 ocvalidamus.py ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄▄ █ █ █ █ █ █ █ █ █ █ ██ █ █▄█ █ █ █ █ █ █ ▄ █ █ █▄█ █ ▄ █ █ █ █ ▄ █ ▄ █ █ █ █ █ ▄▄▄▄▄█ █ █ █ █ ▄▄█ █ █▄█ █ █ █ █ █ █ █ █▄█ █ █ █▄█ █ █▄▄▄▄▄ █ █▄█ █ █ █ █ █ █▄▄▄█ █ █▄█ █ █ █ █▄▄▄▄▄ █ █ █ █▄▄ █ ██ ▄ █ █ █ █ ▄ █ ██▄██ █ █▄▄▄▄▄█ █ █▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█ █▄▄▄█ █▄█ █▄▄█▄▄▄▄▄▄▄█▄▄▄█▄▄▄▄▄▄██▄█ █▄▄█▄█ █▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█ Made with ♡ by dreamwhite ---CHECK ACPI--- Checking 1-SSDT-PLUG.aml (1-SSDT-PLUG) - 1-SSDT-PLUG.aml exists Checking 2-SSDT-SBRG-USBX-v4.aml (2-SSDT-SBRG-USBX-v4.aml) - 2-SSDT-SBRG-USBX-v4.aml exists Checking 5-SSDT-6900XT-v6.aml (5-SSDT-6900XT-v6.aml) - 5-SSDT-6900XT-v6.aml exists Checking SSDT-TB.aml () - SSDT-TB.aml exists ---CHECK Drivers--- Checking OpenRuntime.efi () - OpenRuntime.efi exists Checking HfsPlus.efi (HFS+ Driver) - HfsPlus.efi exists Checking OpenCanopy.efi () - OpenCanopy.efi exists Checking ResetNvramEntry.efi () - ResetNvramEntry.efi exists Checking ToggleSipEntry.efi () - ToggleSipEntry.efi exists ---CHECK Kexts--- Checking Lilu.kext (V1.6.3 | Patch engine) - Lilu.kext exist - Contents/MacOS/Lilu exists - Contents/Info.plist exists Checking VirtualSMC.kext (V1.3.1 | SMC emulator) - VirtualSMC.kext exist - Contents/MacOS/VirtualSMC exists - Contents/Info.plist exists Skipping RestrictEvents.kext (V1.0.9 | RestrictEvents.kext) as it's disabled Checking AMDRyzenCPUPowerManagement.kext (V0.7.1 | AMD Power Gadget) - AMDRyzenCPUPowerManagement.kext exist - Contents/MacOS/AMDRyzenCPUPowerManagement exists - Contents/Info.plist exists Checking AppleMCEReporterDisabler.kext (V1.2) - AppleMCEReporterDisabler.kext exist - exists - Contents/Info.plist exists Skipping WhateverGreen.kext (V1.6.2) as it's disabled Skipping USBMap.kext (V1.0) as it's disabled Checking AGPM-RX6900XT.kext (V131) - AGPM-RX6900XT.kext exist - exists - Contents/Info.plist exists ---CHECK Tools--- Checking OpenShell.efi (Not signed for security reasons) - OpenShell.efi exists Skipping ResetSystem.efi (Perform shutdown) as it's disabled No issues found fabio@fabios-Mac-Pro EFI % Metterei nel read me il fatto che il comando va lanciato entrando precisamente nel volume dove e' la EFI ed il comando a me con il drag and drop non ha funzionato: fabio@fabios-Mac-Pro ~ % python3 /Volumes/EFI/ocvalidamus.py ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄▄ █ █ █ █ █ █ █ █ █ █ ██ █ █▄█ █ █ █ █ █ █ ▄ █ █ █▄█ █ ▄ █ █ █ █ ▄ █ ▄ █ █ █ █ █ ▄▄▄▄▄█ █ █ █ █ ▄▄█ █ █▄█ █ █ █ █ █ █ █ █▄█ █ █ █▄█ █ █▄▄▄▄▄ █ █▄█ █ █ █ █ █ █▄▄▄█ █ █▄█ █ █ █ █▄▄▄▄▄ █ █ █ █▄▄ █ ██ ▄ █ █ █ █ ▄ █ ██▄██ █ █▄▄▄▄▄█ █ █▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█ █▄▄▄█ █▄█ █▄▄█▄▄▄▄▄▄▄█▄▄▄█▄▄▄▄▄▄██▄█ █▄▄█▄█ █▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█ Made with ♡ by dreamwhite Traceback (most recent call last): File "/Volumes/EFI/ocvalidamus.py", line 130, in <module> OCValidamus() File "/Volumes/EFI/ocvalidamus.py", line 20, in __init__ with open('EFI/OC/config.plist', 'rb') as f: FileNotFoundError: [Errno 2] No such file or directory: 'EFI/OC/config.plist' fabio@fabios-Mac-Pro ~ % Hai ragione, stavo pensando a questo punto di fare una cosa del tipo drag-n-drop del config e in automatico prende il full path Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now