Jump to content
ErmaC

Chameleon 2.4svn Official PKG Installer

4,337 posts in this topic

Recommended Posts

I've tested r2904 again, for installing hSierra 17A365 via USB FlashDisk to a full erased empty HDD.. all went smooth for 1st stage (Install datas copy), but..

after installer reboot to complete the setup, I was greeted by a famous "Firmware verification error".

I then force re-booting my mach and repeat the 2nd step, now.. with another error about "OSInstall.mpkg appears to be missing or damaged".

Yes.. I was still using an old MBP10,1 SMBios generated from ChamWiz 4.2. Have a nice day.  :)

 

Ok, let me make this point clear:

Enoch will not work OOB for installing macOS 10.13:

You will have to add the 2 new keys that I have added to inject the firmware features and mask into the smbios.

 

Your smbios.plist must contain the following 2 keys, with proper values:

- SMfirmwarefeatures
- SMfirmwarefeaturesmask
 
(keep in mind that Enoch does not support -yet- hex input, so convert hex values to decimal first)

 

Enoch is now generating an Apple specific block (type 128) in the emulated SMBIOS that it sends to macOS.

Inside this block, the 2 values passed over smbios.plist will be injected. (If not present, default values will be used, that will most probably not work with 10.13 checks).

 

 

The values you pass can be grabbed from Clover source code directly, or from a real mac SMBios (I took mine from a real MacPro5,1 SMBIOS dump).

The values that Clover is using should be inside 'Clover/rEFIt_UEFI/Platform/platformdata.c' is I am not mistaken...

Once this is done, the "famous firmware verification error" at stage 2 will be gone (yeah!).

 

Regarding the OSInstall.mpkg is damaged error, this has usually 2 different origins:

- either you are booting with your own generated kernelcache and it is missing several kexts (From my experience, the /S/L/E in BaseSystem is NOT complete, and is missing several kexts), but this is pretty rare, since normally it is crashing before starting the installer (several kexts dependancies are missing)

- or you exceeded the time limit set in the plist of the 'macOS Install Data' folder (I think Pike blogged about this some month ago)

 

And last but not least: Don't forget to manually patch the plist files in 'macOS Install Data' folder BEFORE stage 2, otherwise there is a damn high chance that macOS installer will automatically convert the destination partition to APFS, making it invisible for Enoch.

Here SMBIOS

 [...]

 

EDIT ****

I do not know who scored my serial number with XXX 

 

Please check my post above... I would strongly suggest adding the SMfirmwarefeatures and SMfirmwarefeaturesmask keys.

In your case, the correct values should be 

SMfirmwarefeatures = 0xE00FE137

SMfirmwarefeaturesmask = 0xFF1FFF3F

 

(again convert it to decimal before putting it in smbios.plist :P )

Share this post


Link to post
Share on other sites
Advertisement

 

 

Please check my post above... I would strongly suggest adding the SMfirmwarefeatures and SMfirmwarefeaturesmask keys.

In your case, the correct values should be 

SMfirmwarefeatures = 0xE00FE137

SMfirmwarefeaturesmask = 0xFF1FFF3F

 

(again convert it to decimal before putting it in smbios.plist :P )

Thank you @MinusZwei

I forgot your mention SMfirmwarefeatures and the SMfirmwarefeaturesmask 

I will try soon  :)  

 

EDIT **

what converter i need to use for conversion ?

Share this post


Link to post
Share on other sites

EDIT **

what converter i need to use for conversion ?

 

One of the most complicated one that exists called a calculator :)

 

The firmware features and mask values are mentioned in hexadecimal (base 16) in clover source code, and Enoch is not able to read 0xXXX values.

Therefore you have to convert the hexadecimal value like 0xE00FE137 to its decimal (base 10) value and place this number in your plist file.

 

For example 0xE00FE137 in hex is 3759137079 in decimal.

Share this post


Link to post
Share on other sites

One of the most complicated one that exists called a calculator :)

 

The firmware features and mask values are mentioned in hexadecimal (base 16) in clover source code, and Enoch is not able to read 0xXXX values.

Therefore you have to convert the hexadecimal value like 0xE00FE137 to its decimal (base 10) value and place this number in your plist file.

 

For example 0xE00FE137 in hex is 3759137079 in decimal.

To do that is easy. Open your plist with a plist editor, make the tag as "Number"... then paste your hex value (e.g. 0xE00FE137). The conversion will be automatic!  ;)

Share this post


Link to post
Share on other sites

Btw, I am currently preparing a patch for Enoch that will also accept hex values in plist files...

I don't think I am the only one annoyed by having to convert all int values to decimal first  :angel:

 

However, I first wants to quickly test it before submitting the patch to ErmaC :)

Share this post


Link to post
Share on other sites

I try again to create Install Media USB Installer  with the hex conversion, (SMBIOS) the only new change is

I am ok for Install but installer crash in progress bar ➤ 21 minutes same thing like @badruzeus

I will try your change @MinusZwei next time 

thanks again, have a nice day  ;)

Share this post


Link to post
Share on other sites

I try again to create Install Media USB Installer with the hex conversion, (SMBIOS) the only new change is

I am ok for Install but installer crash in progress bar ➤ 21 minutes same thing like @badruzeus

I will try your change @MinusZwei next time

thanks again, have a nice day ;)

Crash issue was on my first test when by mistake I forgot to use nv_disable=1 (gf119 issue since sierra). The 2nd was should to be success if only I added such smbios datas).

Share this post


Link to post
Share on other sites

Crash issue was on my first test when by mistake I forgot to use nv_disable=1 (gf119 issue since sierra). The 2nd was should to be success if only I added such smbios datas).

here the Logo  :D  :lol:

 

17101610.png

Share this post


Link to post
Share on other sites

I don't think I am the only one annoyed by having to convert all int values to decimal first  :angel:

 

However, I first wants to quickly test it before submitting the patch

Here we go with a compiled binary with your patch for TEST purpose

 

--> boot_Test_MinusZwei.zip

 

ErmaC

Share this post


Link to post
Share on other sites

Try and re-install latest published version of Enoch on the primary/first disk partition. Normally, it's the one from which the bootloader kicks in.

Share this post


Link to post
Share on other sites

Legacy Enoch r2905 successfully boots my HFS+ 10.13.2 Beta (17C60c), thanks @ErmaC.  :)

 

I have a question:

I full erased an USB FlashDisk using GUID - HFS+ to be used for bootloader only (with Enoch as a name). On install wizard, I select it as target volume but "Install in the ESP" option is checked. Is it normal that "boot" binary && /Extra folder placed on "Enoch" partition instead of ESP (EFI)..? TIA.

Enoch_r2905_a43sj.txt.zip

Chameleon_Installer_Log.txt

Share this post


Link to post
Share on other sites

You'd find older Enoch version r2848 boots 10.13, 10.13.1 or 10.13.2 beta without issues too. It's the installation of High Sierra that Enoch does not support yet...

 

As for installing Enoch, I run all my systems in BIOS Legacy mode and always install Enoch on the 1st partition of the disk as shown below:

post-851564-0-10906000-1509804379_thumb.png

Share this post


Link to post
Share on other sites

Hi,

I can boot all my OSx from 10.6 to 10.13 with Enoch 2725 ...

The issue is that to install High Sierra i have used Clover Install USB instead of Enoch ...

 

It's just what I did. Actually Enoch 2905 boots it perfectly but I have crashes on browsers an mail. But this is offtopic. BTW I didn' t install Enoch or Extra folder on the High Sierra HD. I boot from the main HD with Sierra and Enoch 2905.

Share this post


Link to post
Share on other sites

I guess it needs new developments...

 

At present, I've found no other solution than a Clover USB key to boot the "macOS Install from..." partition & complete fresh High Sierra installations and/or updates... Enoch does not see/show such temporary partitions (in a similar way it cannot boot Recovery partitions).

 

Once

  1. the High Sierra installation and/or update has completed
  2. CoreStorage been reverted
  3. the cache been rebuilt

Enoch can then boot the High Sierra partition again.

Share this post


Link to post
Share on other sites

I guess it needs new developments...

 

At present, I've found no other solution than a Clover USB key to boot the "install macOS from..." partition & complete fresh High Sierra installations and/or updates... Enoch does not see/show such temporary partitions (in a similar way it cannot boot Recovery partitions).

 

Once

  • the High Sierra installation and/or update has completed
  • CoreStorage been reverted
  • the cache been rebuilt
Enoch can then boot the High Sierra partition again.

 

give it a try... (not tested...)

v2905 --> removed

 

I add the "macOS Install Data" entry into disk.c

 

ErmaC

Share this post


Link to post
Share on other sites

'just tried and the "macOS Install from ..." partition is still not seen on 1st reboot for update completion. Main High Sierra partition can't be booted either.

 

Completed the update through Clover.

Share this post


Link to post
Share on other sites

'just tried ands the "install macOS from ..." partition is still not seen on 1st reboot for update completion.

 

same here

Share this post


Link to post
Share on other sites

Dell Optiplex 790

Enoch (r2904) Works perfectly for macOS High Sierra 10.13.2 (17C88)  ;)

Thanks ErmaC

 

Using ➨➨ chamel10.png

 

Installing to the EFI Partition

everithigs work, WIFI AUDIO, Network, HWSensors EFI

117.jpg

Chameleon bdmesg Log.txt.zip

Share this post


Link to post
Share on other sites

'just tried and the "macOS Install from ..." partition is still not seen on 1st reboot for update completion. Main High Sierra partition can't be booted either.

 

Completed the update through Clover.

I need more investigation then...

sorry...

 

EDIT: w8... I wrote a stupid typo... (I think... :blush: )

now is...

"macOS%20Install%20Data"

was...

"macOS Install Data"

try now -> boot_v2905_v2.zip

 

ErmaC

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Rohan20
      Opencore is running really really slow on Catalina 10.15.4. So It was running perfectly before I put the ssdt-pnlf for enabling Brightness control. it is running really slow and I verified my config with the sanity checker and its all correct. can someone please help. I am attaching my oc folder.

       
      https://www.dropbox.com/s/drkek0eaz19ina5/OC.zip?dl=0
       
    • By StarFighter_77
      I built this hack years ago now. Started with Lion, now on El Cap. I want to update now to High Sierra.

      I think I messed up my Clover when I downloaded the update .pkg and just installed it without taking my time or customizing the install. Was on Clover r3423, now I think I'm on r5104

      I've been searching and reading this site and others for a few days before making this thread, but I need help compiling what I've learned to get my system running correctly again and ready to update to High Sierra. Then, eventually, I want to update my graphics card, switch to UEFI (if necessary) and update to Mojave.

      I couldn't get system to boot. Could get to Clover and all the options, except the Shell... I hit enter on the Shell and I get black screen and nothing.

      The only way I got it to boot was to add -v to boot args, and change smbios from 14,2 to 13,2. Not sure why that worked still. Also I'm running two monitors, but I can only now run one of them off the Intel 3000 Graphics and the second one off my GFX Card.

      So now I'm afraid to shut down or reboot.... I could really use some help with Clover.

      I'm pretty sure my config file in Clover is not right. Also, some of the files in my Clover backups are not in the new Clover install. (2.5k 5104)

      If someone could please take a look at the files I've attached and help me sort this out, I would be grateful. Thank you, Thank you, Thank you.

      I've attached
      - The last boot log
      - The current Clover folder from the EFI partition after performing Clover update. (.zip)
      - The Clover backup that was working before Clover update (.zip)
      - Library/Extensions Folder (screen shot)
      - System/Library/Extensions Folder (.zip)

      Here is my current hardware:

      Mobo: GIGABYTE GA-Z68MX-UD2H-B3

      CPU: Intel Core i7-2600K

      GPU: GIGABYTE ATI Radeon HD6870 1GB DDR5 2DVI/HDMI/2x

      RAM: Corsair Vengeance Blue 16 GB DDR3 SDRAM Dual Channel Memory Kit CMZ16GX3M4A1600?C9B

      HD0 (for OS and Apps): OCZ Technology 120 GB Vertex Series SATA II Solid State Drive

      HD1 (file storage, Adobe scratch disk): Samsung 1 TB Spinpoint 7200 RPM 32MB Cache SATA

      BURNER: LG CD/DVD Burner Model GH22NS50

      CPU COOLER: Corsair Cooling Hydro Series H50 All in One High-performanc?e CPU Cooler CWCH50-1

      P/S: Antec CP-850 850 Watt CPX Power Supply Unit

      CASE: Antec Performance One P183 V3 Case
      CLOVER.zip
      CloverBackup.zip
      bootlog.txt

      S_L_E.zip
    • 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 
       
       
×