Jump to content

Chameleon 2.4svn Official PKG Installer


ErmaC
4,344 posts in this topic

Recommended Posts

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.

Link to comment
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".

 

Link to comment
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

Link to comment
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.

Link to comment
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.:(

Link to comment
Share on other sites

  • 2 months later...

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

  • Thanks 1
Link to comment
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.

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 months later...

Hello people. Newbie here :)

I have a couple of questions about the latest Enoch 2922:

1. I successfully used Enoch 2922 to boot 10.11-10.15 but had a problem with 10.10. Can it possibly boot Yosemite 10.10 (which is my preferred version)?

If so how can it generally be done (without getting into particulars about hardware)?

 

2. It appears there is an RTC related problem with a lot of Intel 300 series motherboards with new bioses,

for all recent OSX versions, that leads to hang of the boot process just after apfs driver load, that require

something (DSDT? ACPI?) to be patched. How can this particular fix be applied in Enoch? Can this fix be embedded into Enoch as some config.plist parameter?

I searched and searched and never saw any info, as all discussions are about Clover.

Here is what I found about fixing the issue in Clover, by inserting this into Clover's config.plist:

<string>DSDT.aml</string>

<key>Patches</key>
<array>
<dict>

<key>Comment</key>
<string>Fix Z390 BIOS DSDT Device(RTC) bug</string>
<key>Enabled</key>
<false/>
<key>Find</key>
<data>
oAqTU1RBUwE=
</data>
<key>Replace</key>
<data>
oAqRCv8L//8=
</data>
</dict>

 

Many thanks for any ideas.

Link to comment
Share on other sites

  • 1 month later...

Hi. I have fully-working 10.13.6 on Clover and now I want to try chameleon. I have waiting for dsmos error that means kexts from extra/extensions are not loading. What problem could be?

Extra.zip

I have this error kernel_booter prevent the internal kernel kext patcher, skipped

Edited by Alex009988
Link to comment
Share on other sites

2 hours ago, Alex009988 said:

Hi. I have fully-working 10.13.6 on Clover and now I want to try chameleon. I have waiting for dsmos error that means kexts from extra/extensions are not loading. What problem could be?

Extra.zip

I have this error kernel_booter prevent the internal kernel kext patcher, skipped

I don't know if Chameleon is able to load VirtualSMC.kext (Because FakeSMC is part of Chameleon Enoch binaries) its conflict's I think?

Use FakeSMC.kext without VirtualSMC plugins

Edited by chris1111
Link to comment
Share on other sites

2 hours ago, chris1111 said:

I don't know if Chameleon is able to load VirtualSMC.kext (Because FakeSMC is part of Chameleon Enoch binaries) its conflict's I think?

Use FakeSMC.kext without VirtualSMC plugins

Seems it's not virtualSMC problem as I have not seen other kexts loaded in the boot log. But I removed virtualSMC kext and its plugins and put FakeCMS into E/E - have the same result(((

IMG_20200509_175939.jpg

Link to comment
Share on other sites

8 hours ago, Alex009988 said:

Seems it's not virtualSMC problem as I have not seen other kexts loaded in the boot log. But I removed virtualSMC kext and its plugins and put FakeCMS into E/E - have the same result(((

IMG_20200509_175939.jpg

You can try with this file let me know

Archive.zip

Link to comment
Share on other sites

×
×
  • Create New...