Jump to content
ErmaC

Clover General discussion

21,079 posts in this topic

Recommended Posts

Advertisement

Is there such rootless=0 flag in yosemite? Afaik, there is only kext-dev-mode. Correct me if im wrong. Maybe im missing out something in here.

Thanks

Share this post


Link to post
Share on other sites

so does binary kext patching work only with 0x67 config? that's a question not only for Slice

 

I did not set this flag and binary patching works for the AppleHDA, i gave up on the HD46000 patching.

Share this post


Link to post
Share on other sites

Is there such rootless=0 flag in yosemite? Afaik, there is only kext-dev-mode. Correct me if im wrong. Maybe im missing out something in here.

Thanks

Yes, it present in XNU sources as I paste.

http://opensource.apple.com/release/os-x-10101/

 

 

Slice, could you explain...

+			<string>bootmgfw.efi</string>

...related to?

Hide extra icon to boot Windows from Clover GUI.

Share this post


Link to post
Share on other sites

Hi Sergey please explain me why this string

It is also necessary to yose?

 

 

 

<key>RtVariables</key>
    <dict>
        <key>CsrActiveConfig</key>
        <string>0x67</string>
        <key>BooterConfig</key>
        <string>0x28</string>
    </dict>

Share this post


Link to post
Share on other sites

 

Hi Sergey please explain me why this string

It is also necessary to yose?
<key>RtVariables</key>
    <dict>
        <key>CsrActiveConfig</key>
        <string>0x67</string>
        <key>BooterConfig</key>
        <string>0x28</string>
    </dict>

 

it is?? i dont think so.

Share this post


Link to post
Share on other sites

 

Hi Sergey please explain me why this string

It is also necessary to yose?
<key>RtVariables</key>
    <dict>
        <key>CsrActiveConfig</key>
        <string>0x67</string>
        <key>BooterConfig</key>
        <string>0x28</string>
    </dict>

I think Yose is not necessary itself.  ;)

Share this post


Link to post
Share on other sites

I doubt that I will be able to write that code due to real life things atm, but if anyone is interested: From what I can see you would need to iterate through the plist at __PRELINK_INFO:__info and search for the highest memory address used by a kext, append its size and align it to the usual page align. At the resulting address, the kext binary would need to be appended. Then some properties of Info.plist (check which are already present for other kexts) are to be added to the prelink plist, in addition to the _Prelink information such as the load address and more.

 

Now I don't know where kext personality data are stored in the prelinkedkernel, they don't seem to be in the plist. Is there maybe a bplist section around?

Share this post


Link to post
Share on other sites

@ slice

 

post 7244 how can I fix thanks

 

Fabio

post #7243 now ;)

 

The error ‘Couldn’t get file info’ comes from boot.efi not from Clover or dmazar’s OSXAptioFixDrv

 
$ grep -r "Couldn't get file info" /System/Library/CoreServices/boot.efi 
Binary file /System/Library/CoreServices/boot.efi matches
 
Maybe a problem with the kernel? or prelinkedkernel? not sure. 
What happens when booting without OSXAptiofixDrv? Do you get the same error?

Share this post


Link to post
Share on other sites

"Couldn’t get file info" usually means "file is absent": kernel or prelinked kernel. I don't know what is the situation.

Share this post


Link to post
Share on other sites

I saw this in source:


      // CsrActiveConfig
      Prop = GetProperty (DictPointer, "CsrActiveConfig");
      gSettings.CsrActiveConfig = (UINT32)GetPropertyInteger (Prop, 0x67); //the value 0xFFFF means not set

      //BooterConfig
      Prop = GetProperty (DictPointer, "BooterConfig");
      gSettings.BooterConfig = (UINT16)GetPropertyInteger (Prop, 0xFFFF); //the value 0xFFFF means not set

So without manual CsrActiveConfig, Clover will set it to 0x67 and allow kexts to be put in /S/L/E?

 

I just test with DP5. After install the latest Clover and remove rootless=0, I can still install/remove kexts in /S/L/E, and those kexts are still loaded.

 

What is the point of putting kexts in /L/E

Share this post


Link to post
Share on other sites

 

post #7243 now ;)

 

The error ‘Couldn’t get file info’ comes from boot.efi not from Clover or dmazar’s OSXAptioFixDrv

 
$ grep -r "Couldn't get file info" /System/Library/CoreServices/boot.efi 
Binary file /System/Library/CoreServices/boot.efi matches
 
Maybe a problem with the kernel? or prelinkedkernel? not sure. 
What happens when booting without OSXAptiofixDrv? Do you get the same error?

 

It only happens when I use DumpUefiCalls.efi, eliminating DumpUefiCalls.efi to boot no problem

 

Fabio

Share this post


Link to post
Share on other sites

 

What is the point of putting kexts in /L/E

 

Its where apple wants you to put 3rd party kexts. Stay out of SLE!

Share this post


Link to post
Share on other sites

I saw this in source:

// CsrActiveConfig      Prop = GetProperty (DictPointer, "CsrActiveConfig");      gSettings.CsrActiveConfig = (UINT32)GetPropertyInteger (Prop, 0x67); //the value 0xFFFF means not set      //BooterConfig      Prop = GetProperty (DictPointer, "BooterConfig");      gSettings.BooterConfig = (UINT16)GetPropertyInteger (Prop, 0xFFFF); //the value 0xFFFF means not set
So without manual CsrActiveConfig, Clover will set it to 0x67 and allow kexts to be put in /S/L/E?

That is wrong, IMHO, because that makes Clover less secure. Default should be 0 or perhaps only allow unsigned kexts.

Share this post


Link to post
Share on other sites

Its where apple wants you to put 3rd party kexts. Stay out of SLE!

Can we access /L/E/ with CsrActiveConfig=0x65?

 

Also, /L/E is meant to store 3rd party kexts since a long time ago and people still install kexts to /S/L/E, so why we have to move back now? Because we should use CsrActiveConfig=0x65 instead of 0x67 now?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Jancey
      I used this command: diskutil info disk0s2 | grep -i "Partition UUID" | rev | cut -d' ' -f 1 | rev

      But I accidentally removed the wrong disk and now my main windows drive is not appearing in the bootloader. I can't figure out how to get it back. I tried resetting my windows drive, but I kept getting an error. I also reset my mac and reinstalled Catalina.
    • By gengstapo
      @Hervé
       
      Im having similar issue with my HS setup, dell latitute 3480, i5-7200U
      Once the hdmi plugged in, the laptop display went blank, only could see the external tv
      But, when i put my laptop to sleep & wake up again, both screen got display (hdmi still connected)
      Even the hdmi could be plugged off & in (after sleep), the laptop display is fine
       
      What could be the culprit?
      Dell’s MacBook Pro IORegistry.zip
      config.plist.zip
    • By TomZanna
      Hi, I'm trying to install Mac Os Catalina on a HP 550-132NL.
      The system has:
      i7-6700
      RAM 12 GB
      GT 730
      LAN Realtek RTL8161
      ALC3863
       
      It passes the verbose phase but after the Apple logo goes away, it gets stuck on a grey screen and I can only move the pointer.
      Can I try to boot with the iGPU?
       
      origin.zip
      CLOVER_dGPU_USB_3.zip
    • By MaLd0n
      ---TUTORIAL---
      https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/
       
      --Original Post--
      https://www.olarila.com/topic/6531-olarila-hackbeast-z390-designare-thunderbolt-full-dsdt-patches-clover-opencore/
       
      --Bios/UEFI Settings--
       
      *Update bios/uefi to F7+*
      1- Go to M.I.T./Advanced Frequency Settings tab
       
      Extreme Memory Profile (X.M.P.) - Profile 1
       
      2- Go to BIOS tab
       
      CSM Support - Disabled
       
      3- Go to Peripherals/Thunderbolt(TM) Configuration tab
       
      Security Level - No Security
      Thunderbolt USB Support - Enabled
      GPIO3 Force Pwr - Enabled
       
      4- Go to Chipset tab
       
      Internal Graphics - Enable
       
      ---CLOVER FOLDER---
      https://olarila.com/files/Clover.Folder/EFI CLOVER Z390 DESIGNARE.zip
      *Use this folder with FULL DSDT PATCHED
       
      ---OPENCORE FOLDER---
      https://www.olarila.com/topic/6364-mojave-catalina-on-mobos-series-100200300-with-opencore-bootloader/
      *Use this folder with FULL DSDT PATCHED
       
       
      ---Extract one Full dump for DSDT edits, post files---
       
      RunMe.app
       
       
       
      ---HARDWARE---
       
      --MOBO

      GIGABYTE Z390 DESIGNARE
      -Link
      https://www.amazon.com/Z390-DESIGNARE-Gigabyte-Thunderbolt-Motherboard/dp/B07K8RJZRG/ref=sr_1_1?keywords=Z390+DESIGNARE&qid=1565492390&s=electronics&sr=1-1

      --PROCESSOR

      Intel Core i9-9900K
      -Link
      https://www.amazon.com/Intel-i9-9900K-Desktop-Processor-Unlocked/dp/B005404P9I/ref=sr_1_1_sspa?keywords=Intel+Core+i9-9900K&qid=1553358099&s=gateway&sr=8-1-spons&psc=1

      --COOLER

      CORSAIR H100i RGB PLATINUM AIO Liquid CPU Cooler
      -Link
      https://www.amazon.com/CORSAIR-H100i-PLATINUM-Liquid-Cooler/dp/B07JWB5BSN/ref=sr_1_4?keywords=WATER+COOLER+CPU&qid=1565492509&s=gateway&sr=8-4

      --MEMORY

      Corsair CMW32GX4M2C3200C16 Vengeance RGB PRO 32GB (2x16GB) DDR4 3200 (PC4-25600)
      -Link
      https://www.amazon.com/Corsair-CMW32GX4M2C3200C16-Vengeance-PC4-25600-Desktop/dp/B07GTG2T7L/ref=sr_1_15?keywords=memory+ddr4+32&qid=1553358238&s=gateway&sr=8-15

      --GPU

      MSI RX Vega 64 AIR Boost 8G OC
      -Link
      https://www.amazon.com/MSI-RX-64-AIR-8G/dp/B07DH7S1X1/ref=sr_1_2?keywords=vega+64+gigabyte&qid=1565492819&s=electronics&sr=1-2

      --SSD

      Samsung 970 EVO 1TB SSD (MZ-V7E1T0BW) NVMe M.2 V-NAND
      -Link
      https://www.amazon.com/Samsung-970-EVO-1TB-MZ-V7E1T0BW/dp/B07BN217QG/ref=sr_1_1?keywords=s+samsung+970+evo+1tb&qid=1565493002&s=electronics&sr=1-1

      --POWER SUPPLY

      EVGA Supernova 1000 P2 80+ Platinum, 1000W ECO Mode Fully Modular 
      -Link
      https://www.amazon.com/EVGA-Supernova-Platinum-Crossfire-220-P2-1000-XR/dp/B00EKJQM5E/ref=sr_1_3?keywords=power+supply+1000w&qid=1565493196&s=gateway&sr=8-3

      --WIRELESS

      TP-Link Archer T9E
      -Link
      https://www.amazon.com/TP-Link-Archer-T9E-Beamforming-Technology/dp/B00TQEX7AQ/ref=sr_1_1?keywords=TP-Link+Archer+T9E&qid=1553358397&s=gateway&sr=8-1

      --CASE

      Thermaltake Core P5 Tempered Glass Black Edition ATX Open Frame Panoramic Viewing
      -Link
      https://www.amazon.com/Thermaltake-Tempered-Panoramic-Certified-CA-1E7-00M1WN-03/dp/B01N4IGVSC/ref=sr_1_2?keywords=Thermaltake+Core+P5&qid=1565493567&s=gateway&sr=8-2

      --DSDT Patches--
      -FIX ACPI ERRORS -FIX OEM SSDTs to AVOID ERRORS AND WARNINGS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA -DMAC -REMOVE PROBLEMATIC AND UNUSED DEVICES -FIX K.P in REBOOT -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -FWHD -USBX -PMCR -PPMC -XSPI -CNVW -GMM -IMEI -EC -PNLF -ARPT -GFX0 -NVME -DTGP -ACQUIRE MUT0 0XFFFF -MUTEX MUT0 0x00 -EXTERNAL REFERENCES -UNKNOWNOBJ -HDMI / HDAU -FULL RENAMED DEVICES ---SCREENSHOTs---




















      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
      Thanks to KGP for SSDT Thunderbolt
      Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, Sampath007, onemanosx, erroruser, Jenny David, Olarila Facebook Community, Hackintosh Facebook Community and many others!
      We're all here to have fun and learn from each other!
    • By dgsga
      Can I propose a new subforum be created for the new OpenCorePkg OpenCore front end being created by vit9696 and others, it is a fantastic piece of work:
      https://github.com/acidanthera/OpenCorePkg
      Even at version 0.1 it runs my Mojave 10.14.4 setup very nearly flawlessly. It consists of a 10KB bootstrap BootX64.efi and a 200KB OpenCore.efi OS loader. All configuration is done using a very well documented config.plist 
       
       
×