Jump to content
ErmaC

Chameleon 2.4svn Official PKG Installer

4,336 posts in this topic

Recommended Posts

Advertisement
Just now, crazybirdy said:

boot with -f, load kernel and kexts.

boot without -f, load prelinkedkernel.

You just found out why cannot found '_PrelinkInfoDictionary'. If you run the kernel '_PrelinkInfoDictionary' surely can't be there. So I suppose is just a cosmetics issue and you should just silent the message when -f is given. I guess.

Share this post


Link to post
Share on other sites
1 hour ago, vector sigma said:

You just found out why cannot found '_PrelinkInfoDictionary'. If you run the kernel '_PrelinkInfoDictionary' surely can't be there. So I suppose is just a cosmetics issue and you should just silent the message when -f is given. I guess.

No,

boot without -f, load prelinkedkernel, it found _PrelinkInfoDictionary as normal, and run the kexts patcher.

boot with -f, load kernel and kexts, it "Unable to find the _PrelinkInfoDictionary, kexts patcher skipped.Kexts patcher: end!.", but still run the kexts patcher after load /System/Library/Extensions.

 

I mean, "Unable to find the _PrelinkInfoDictionary, kexts patcher skipped.Kexts patcher: end!." is not the issue.

 

The problem is i386/libsaio/binaryPatcher.c issue as above.

It can't patch with correct "Find" and "Replace".

 

Share this post


Link to post
Share on other sites
5 minutes ago, vector sigma said:

Can I take a look at this file?

 

divers.c

for boot with -f, load kernel and kexts,

run the kexts patcher (line 1027) pach_binaryUsingDictionary(executableAddr, (UInt32)length, 0, fileName, KextsPatches);

after load /System/Library/Extensions (line 316).

 

kernel_patcher_internal.c

for boot without -f, load prelinkedkernel,

run the kexts patcher pach_binaryUsingDictionary (line 1958)

 

binaryPatcher.c

pach_binaryUsingDictionary

TagPtr FindPtr    = XMLGetProperty(index, (const char*)"Find");
TagPtr ReplacePtr = XMLGetProperty(index, (const char*)"Replace");

 

10126-bdmesg+code.zip :)

 

http://forge.voodooprojects.org/p/chameleon/source/tree/HEAD/branches/ErmaC/Enoch/i386/boot2/kernel_patcher_internal.c

http://forge.voodooprojects.org/p/chameleon/source/tree/HEAD/branches/ErmaC/Enoch/i386/boot2/drivers.c

http://forge.voodooprojects.org/p/chameleon/source/tree/HEAD/branches/ErmaC/Enoch/i386/libsaio/binaryPatcher.c

Share this post


Link to post
Share on other sites
46 minutes ago, crazybirdy said:

boot with -f, load kernel and kexts, it "Unable to find the _PrelinkInfoDictionary, kexts patcher skipped.Kexts patcher: end!.", but still run the kexts patcher after load /System/Library/Extensions.

It's clear that with -f it patch loaded kexts from SLE, why I said it's normal that cannot found the _PrelinkInfoDictionary.

About this error instead:  

User Error, Find is bigger than the hole data, patch skipped

I'm worried about "sizeof(FindPtr->data)" and comparing to dataLen. I suspect sizeof(FindPtr->data) produces different result you expected.

Share this post


Link to post
Share on other sites
5 minutes ago, vector sigma said:

It's clear that with -f it patch loaded kexts from SLE, why I said it's normal that cannot found the _PrelinkInfoDictionary.

About this error instead:  


User Error, Find is bigger than the hole data, patch skipped

I'm worried about "sizeof(FindPtr->data)" and comparing to dataLen. I suspect sizeof(FindPtr->data) produces different result you expected.

That's maybe the issue, but we should focus on only one condition.

 

boot without -f, load prelinkedkernel,

 

The kext patcher didn't work right.

But I don't know how to fix it.:(

Share this post


Link to post
Share on other sites

I have compile my self Chameleon r 2922 and surprising its boot Update from High Sierra and Load AppleALC and Lilu from EFI/Extra/Extensions :D

Also boot macOS Mojave ;) not testing yet Catalina on HFS Partition

886646394_Loadkext.thumb.png.fb7b9fa29541a43c57723a69444e5dbb.png

Share this post


Link to post
Share on other sites

Is it possible to create a Chameleon USB stick in Windows?  My hack got its bootloader corrupted, and now I'm unable to boot any Mac OS partition.  I don't seem to have any working bootloaders on test/emergency boot drives either. :( So, my only hope of reconstructing a bootloader starts with Windows.  I have been running El Capitan in my setup (see sig); I just need to get my previously working system back again, long enough to reinstall a working bootloader.

 

Thanks.

Share this post


Link to post
Share on other sites
On 10/25/2019 at 9:00 PM, crazybirdy said:

 

Read BootUSBen.gif
It works with both Chameleon and Clover.

USBTools-Ehoch2922.zip

Thanks, I'll have to give that a try sometime.  Fortunately, I did happen to find an old El Cap clone volume that I was able to boot from, and get everything restored and running again.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • 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 
       
       
    • By kylon
      Cloud Clover Editor is an open source application that allows you to manage the configuration of various Hackintosh Bootloaders.

      Open Cloud Clover Editor
       
      Cloud Clover Editor Wiki
      Cloud Clover Editor Sources
       
       
      Features
      Supports Clover EFI, Ozmosis, Chameleon, OpenCore GUI and Text Editor Mode CCE Bank Mobile friendly and more...  
      Officially supported browsers
      Chrome 42+ Microsoft Edge 14+ Firefox 39+ Safari 10+ Opera 29+ Opera Mobile 12+ Chrome for Android 75+ Firefox for Android 67+  
       
      Credits
      mackie100 - took some ideas from his app Clover EFI dev team Eric Slivka - new serial number Virtual1 - new serial number cecekpawon - PHP 5.3.3 patch, , help with the ACPI Loader Mode flag and more Micky1979 - Clover flying editor  (Discontinued) crusher. - Help with the ACPI Loader Mode flag Download-Fritz - Help with the ACPI Loader Mode flag Pavo - Ozmosis fields and values stehor - Ozmosis fields and values Sherlocks - General help and support gujiangjiang - General help and support  
      Please let me know if i forgot you!
    • By cvad
      View File Bootdisk Utility
      Make bootable USB Flash Disk for MAC OS X with Latest Clover bootloader revision fast and easy by one click! under OS Windows.
      Special utility from cvad & russian MAC community for new hackintosh users.
       
      Enjoy...
       
      For more information and complete instructions please see this topic.
       
       
       
       
      Feel free to "Rate File"
      Submitter cvad Submitted 04/28/2013 Category Bootloaders  
    • By ErmaC
      Slice is glad to present a new EFI bootloader.

      CLOVER
      Now version 2 rEFIt based.


      It is open source based on different projects: Chameleon, rEFIt, XNU, VirtualBox. The main is EDK2 latest revision.
      I also want to thank all who help Slice with the development. Credits and copyrights remain in the sources.
      https://sourceforge.net/projects/cloverefiboot/?source=directory
      There is a WIKI 
      http://clover-wiki.zetam.org/
      Main features:


      If you have a question please provide outputs from DarwinDumper (formed from Trauma tool). Thanks Trauma!
      Continued by blackosx and STLVNUB.
      Post#2 CloverGrower - create Clover by yourself Post#3 Downloads Post#4 Installation of the bootloader Post#5 How to do UEFI boot Post#6 How to use - common words Post#7 Calculator for Automatic DSDT fix Post#8 Instructions for GraphicsInjector Post#9 ATIConnector patching Post#10 Any kexts patching with some Samples Post#11 CustomEDID Post#12 Hiding unnecessary menu entries Post#13 Instruction for DSDT corrections to do DeviceInjection works Post#14 Development Post#15 Themes Post#16 About kexts injection Post#17 Instructions for P- and C-states generator Post#18 Patching DSDT to get Sleep working Post#19 CPU settings and geekbench Post#20 ACPI tables loading Post#21 DSDTmini Post#22 Custom SMBios Post#23 F.A.Q. Post#24 iCloudFix Post#25 Using mouse. Post#26 How to make orange icons to be metallic Post#27 How to make software RAID (by Magnifico) Post#28 How to modify InstallESD.dmg (by shiecldk) Post#29 Config.plist settings Post#30 Using extra kexts and skipping kernelcache Post#31 Choosing EFI drivers Post#32 Configuration files Post#33 Automatic config.plist creating Post#34 Custom DSDT patches Post#35 How to do sleep/wake working with UEFI BOOT Post#36 DeviceID substitution (FakeID) Post#37 Using Custom OS Icons Post#38 Hibernation Post#39 Floating regions Post#41 Property List Editor Post#42 Blocking Bad Kext Post#43 AAPL,slot-name Post#44 FakeCPUID for unsupported CPU Post#45 Multiple Boot Options - to write into UEFI BIOS boot menu Post#46 How to install Windows UEFI Post#47 How to speedup Clover boot Post#48 Info.plist patching Post#49 Arbitrary device injection Post#50 Non-Standard Legacy Boot Files Post#51 Reboot to Windows UEFI from Mac OSX Post#52 Deprecated Features Post#53 Using UDK2018 Post#54 Device Properties Post#55 Scalable themes Post#56 How to search Clover mistakes (bisection) -----------------
       
      Slice:
      I edited all posts in the thread to correspond to actual Clover revision.
      Please install Clover at least 2652 and use new instructions.
×