Jump to content

syscl

Coders
  • Content Count

    290
  • Joined

  • Last visited

  • Days Won

    9

Reputation Activity

  1. Like
    syscl got a reaction from chris1111 in Clover General discussion   
    Yeah Their 'issue' only occurs when they use Other folder as a general kext injection, and in previous version InjectKextList only be generated for unsupported newer macOS once(for speed). 
     
    syscl
  2. Like
    syscl got a reaction from PMheart in Clover Change Explanations   
    Rev 4202
    Kext Injection Management.
    Allow user to disable specific kext(s) in Clover/Options/Kext Injection Management. This provide user flexible to debug kexts especially in new system.
     
    Rev 4204
    User can block plugin kext in Kext Injection Management as well.
     
    Discussion: some users also require disable kext injection in config.plist as well. 
     
    Rev 4208
    Fix APFS installation issue on ESP/EFI partition by Rehabman.
     
    Rev 4209
    Remove options that are unrelated to Clover in menu by Slice.  Because we now have more general way to disable specific kext injection.
  3. Like
    syscl got a reaction from PMheart in Clover Change Explanations   
    Rev 4202
    Kext Injection Management.
    Allow user to disable specific kext(s) in Clover/Options/Kext Injection Management. This provide user flexible to debug kexts especially in new system.
     
    Rev 4204
    User can block plugin kext in Kext Injection Management as well.
     
    Discussion: some users also require disable kext injection in config.plist as well. 
     
    Rev 4208
    Fix APFS installation issue on ESP/EFI partition by Rehabman.
     
    Rev 4209
    Remove options that are unrelated to Clover in menu by Slice.  Because we now have more general way to disable specific kext injection.
  4. Like
    syscl reacted to chris1111 in Clover General discussion   
    Kext Inject work here in 4208
    Works in 10.12 and 10.13
     
     
     
    Clover Boot Log.txt.zip
  5. Like
    syscl reacted to RehabMan in Clover Problems and Solutions   
    This seems to do the trick for fixing the Clover installer bug with mounting EFI with an APFS setup:
     

    SPEEDY-NUC-2:Clover rehabman$ git diff diff --git a/CloverPackage/package/Scripts.templates/EFIFolder/MountESP b/CloverPackage/package/Scripts.templates/EFIFolder/MountESP index 6a95dbe5..68abce71 100755 --- a/CloverPackage/package/Scripts.templates/EFIFolder/MountESP +++ b/CloverPackage/package/Scripts.templates/EFIFolder/MountESP @@ -37,6 +37,17 @@ if [[ "$(echo $(LC_ALL=C diskutil list | grep -i 'Logical Volume' | \ fi fi +# check if target volume is APFS, and therefore part of an APFS container +if [[ "$(echo $(LC_ALL=C diskutil list "$DiskDevice" | grep -i 'APFS Container Scheme' | \ + awk '{print tolower($0)}'))" == *"apfs container scheme"* ]]; then + # ok, this disk is an APFS partition, extract physical store device + realDisk=$(LC_ALL=C diskutil list "$DiskDevice" 2>/dev/null | \ + sed -n 's/.*Physical Store *//p') + echo Target volume "$1" on "$DiskDevice" is APFS on physical store "$realDisk" + DiskDevice=$(LC_ALL=C diskutil info "$realDisk" 2>/dev/null | \ + sed -n 's/.*Part [oO]f Whole: *//p') +fi + # echo "realDisk = $realDisk" # echo "UUID = $UUID" # echo "DiskDevice = $DiskDevice"
  6. Like
    syscl reacted to TheRacerMaster in Clover Problems and Solutions   
    You mean the Clover installer now supports APFS. The ideal situation would be to get ApfsJumpStart working (requires some missing protocols/etc), as this is what real Macs use. IIRC, apfs.efi is embedded into the Core Storage (APFS?) container, and ApfsJumpStart locates and loads the driver. I believe netkas said that ApfsJumpStart also checks the signature of apfs.efi (to prevent malicious drivers from loading malicious EFI drivers).
  7. Like
    syscl got a reaction from abdouoi in Clover General discussion   
    Thank you for the report, I know where's the 'issue' and will refine it now.
     
    syscl
  8. Like
    syscl got a reaction from RehabMan in Clover General discussion   
    Function request: currently I am trying to change the kernel patch from static data to a more dynamic one: search symbol tables. Then we can get rid of various static data and reduce Clover's binary. I also want to add patch like "_xcpm_bootstrap" for a more flexible patch in config.plist. Wish I can get things done this week(still very busy...)
     
    Here's some progress I made

     
    Anyone think this is useful  ?
     
    syscl
  9. Like
    syscl got a reaction from cjfly in Clover General discussion   
    As @gujiangjiang and @Slice think about Custom Kext Injection, I added a new function with sub menu section name "Kext Inject Management" under Options menu for users to choose what kext(s) they want to inject(for easy debugging). 

     
    Here's a prebuilt r4205(updated) and please let me know if there has bug and I will polish it. Enjoy
    r4205.zip
     
    Thank you in advance,
    syscl
  10. Like
    syscl got a reaction from RehabMan in Clover General discussion   
    Function request: currently I am trying to change the kernel patch from static data to a more dynamic one: search symbol tables. Then we can get rid of various static data and reduce Clover's binary. I also want to add patch like "_xcpm_bootstrap" for a more flexible patch in config.plist. Wish I can get things done this week(still very busy...)
     
    Here's some progress I made

     
    Anyone think this is useful  ?
     
    syscl
  11. Like
    syscl got a reaction from RehabMan in Clover General discussion   
    Function request: currently I am trying to change the kernel patch from static data to a more dynamic one: search symbol tables. Then we can get rid of various static data and reduce Clover's binary. I also want to add patch like "_xcpm_bootstrap" for a more flexible patch in config.plist. Wish I can get things done this week(still very busy...)
     
    Here's some progress I made

     
    Anyone think this is useful  ?
     
    syscl
  12. Like
    syscl reacted to TheRacerMaster in Clover General discussion   
    Nice work. I think @cecekpawon made a symbol-based patcher for Ozmosis/his Clover fork, it might help you: https://github.com/cecekpawon/CloverPkg/blob/master/Module/KernextPatcher/KernextPatcher.c
     
    Edit: You may also want to read the kernel version (this shouldn't be too hard if you can already locate sections). This way, you could apply kernel-specific patches (for kext injection, XCPM, or other built-in patches) without having to brute force them (or whatever the current logic is).
  13. Like
    syscl got a reaction from RehabMan in Clover General discussion   
    Function request: currently I am trying to change the kernel patch from static data to a more dynamic one: search symbol tables. Then we can get rid of various static data and reduce Clover's binary. I also want to add patch like "_xcpm_bootstrap" for a more flexible patch in config.plist. Wish I can get things done this week(still very busy...)
     
    Here's some progress I made

     
    Anyone think this is useful  ?
     
    syscl
  14. Like
    syscl got a reaction from RehabMan in Clover General discussion   
    Function request: currently I am trying to change the kernel patch from static data to a more dynamic one: search symbol tables. Then we can get rid of various static data and reduce Clover's binary. I also want to add patch like "_xcpm_bootstrap" for a more flexible patch in config.plist. Wish I can get things done this week(still very busy...)
     
    Here's some progress I made

     
    Anyone think this is useful  ?
     
    syscl
  15. Like
    syscl got a reaction from RehabMan in Clover General discussion   
    Function request: currently I am trying to change the kernel patch from static data to a more dynamic one: search symbol tables. Then we can get rid of various static data and reduce Clover's binary. I also want to add patch like "_xcpm_bootstrap" for a more flexible patch in config.plist. Wish I can get things done this week(still very busy...)
     
    Here's some progress I made

     
    Anyone think this is useful  ?
     
    syscl
  16. Like
    syscl got a reaction from RehabMan in Clover General discussion   
    Function request: currently I am trying to change the kernel patch from static data to a more dynamic one: search symbol tables. Then we can get rid of various static data and reduce Clover's binary. I also want to add patch like "_xcpm_bootstrap" for a more flexible patch in config.plist. Wish I can get things done this week(still very busy...)
     
    Here's some progress I made

     
    Anyone think this is useful  ?
     
    syscl
  17. Like
    syscl got a reaction from RehabMan in Clover General discussion   
    Function request: currently I am trying to change the kernel patch from static data to a more dynamic one: search symbol tables. Then we can get rid of various static data and reduce Clover's binary. I also want to add patch like "_xcpm_bootstrap" for a more flexible patch in config.plist. Wish I can get things done this week(still very busy...)
     
    Here's some progress I made

     
    Anyone think this is useful  ?
     
    syscl
  18. Like
    syscl reacted to cjfly in Clover General discussion   
    Nice improvement! Thank you developers thank you @syscl, I can disable kext easily now
     

     
     

  19. Like
    syscl got a reaction from cjfly in Clover General discussion   
    As @gujiangjiang and @Slice think about Custom Kext Injection, I added a new function with sub menu section name "Kext Inject Management" under Options menu for users to choose what kext(s) they want to inject(for easy debugging). 

     
    Here's a prebuilt r4205(updated) and please let me know if there has bug and I will polish it. Enjoy
    r4205.zip
     
    Thank you in advance,
    syscl
  20. Like
    syscl reacted to Slice in Clover Problems and Solutions   
    Thanks for notice. Corrected in 4207.
  21. Like
    syscl got a reaction from PMheart in Clover Problems and Solutions   
    One weird behavior with Clover is that Clover try to create misc folder(EFI\CLOVER\misc) per boot, there's generally two drawback of this behavior:
    Perform I/O especially write per boot(slow, especially on HDD) Undesirable if user remove misc intentionally but Clover persists creating it every time More reasonable behavior should be egSave do a simple check to see if the directory exist or not(we may check each directories existence iteratively/recursively, but seems a bit slow?)
     
    egSave has been improved in r4205, and misc will not be created each boot.
     
    syscl
  22. Like
    syscl got a reaction from PMheart in Clover Problems and Solutions   
    One weird behavior with Clover is that Clover try to create misc folder(EFI\CLOVER\misc) per boot, there's generally two drawback of this behavior:
    Perform I/O especially write per boot(slow, especially on HDD) Undesirable if user remove misc intentionally but Clover persists creating it every time More reasonable behavior should be egSave do a simple check to see if the directory exist or not(we may check each directories existence iteratively/recursively, but seems a bit slow?)
     
    egSave has been improved in r4205, and misc will not be created each boot.
     
    syscl
  23. Like
    syscl reacted to MakAsus in Clover General discussion   
    I compiled and tested Clover v2.4k r4204 in macOS High Sierra 10.13 Developer beta 9 (17A360a). I confirm that all working perfectly. Thanks Slice, syscl, and all developers.       
  24. Like
    syscl reacted to ricoc90 in Clover General discussion   
    r4204 works great, blocking the kext injection too. 

    The only problem I seem to have since r4202 is that nvidia injection does not work in both Sierra as High Sierra DP9 anymore (black screen, display not recognized).
    It's not a big deal because I don't actually need graphics injection, other than proper memory report (2047MB without injection, 2048MB with injection thanks to Sherlocks)
    27:625 0:000 read_nVidia_ROM 27:625 0:000 Using PRAMIN fixups 27:681 0:055 PROM 27:736 0:055 ERROR: Unable to locate nVidia Video BIOS 27:736 0:000 there are no ROM loaded and no VBIOS read from hardware 27:736 0:000 nVidia Gigabyte GeForce GT 710 -1MB NV1FF [10DE:128B] :: PcieRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0) => device #1 27:736 0:000 Nvidia: VideoPorts: undefined, default to: 2 27:736 0:000 default NVCAP: 04000000-00000300-0C000000-00000007-00000000
  25. Like
    syscl got a reaction from ricoc90 in Clover General discussion   
    Thank you I will implement this function as well(homework, exams these days T_T).
     
     
    I have implemented plugin management function as well in r4024. Thank you for the advice. 
     
    syscl
×