Jump to content
ErmaC

Chameleon 2.4svn Official PKG Installer

4,313 posts in this topic

Recommended Posts

Advertisement

_TEST VERSION_

 

Hi guys here a revised version of chameleon released by Bronya.

 

-->

 

The changes made are in the cpu detection method (hopefully better brandString detection).

 

pls we need feedback on it!

 

ErmaC

 

ShowInfo

Yes

Graphics Mode

1024x768x32

GraphicsEnabler

No

Instant Menu

Yes

Legacy Logo

No

Kernel

kernel

 Kernel Flags

-v kext-dev-mode=1 PCIRootUID=0

UseKernelCache

No

 

 

@chris111

The KernelFlag kext-dev-mode=1 is not needed anymore with Chameleon or Enoch!

Chammy and Enoch inject it authomatically that KernelFlag if Yosemite is found...

Share this post


Link to post
Share on other sites
@chris111

The KernelFlag kext-dev-mode=1 is not needed anymore with Chameleon or Enoch!

Chammy and Enoch inject it authomatically that KernelFlag if Yosemite is found...

I know I use it by habit  :hysterical:

  :D

Share this post


Link to post
Share on other sites

_TEST VERSION_

 

Hi guys here a revised version of chameleon released by Bronya.

 

--> attachicon.gifChameleon_2679_Bronya_TEST.zip

 

The changes made are in the cpu detection method (hopefully better brandString detection).

 

pls we need feedback on it!

 

ErmaC

 

works without problems on my AMD System, thanks ErmaC and Bronya   :yes:  :D

Share this post


Link to post
Share on other sites

@ErmaC

 

Would it be possible to add native UEFI support to Chameleon?

 

Add Chameleon to a loadable efi binary?!!

http://www.rodsbooks.com/efi-programming/hello.html

 

We can use code from grub or clover.

 

All PCs sold over the last couple of years have UEFI support and use it by default.

 

(Hope that's even possible)

Share this post


Link to post
Share on other sites

Question:

 

It is possible in the boot loader still another function in to insert those the hard disk partitions hide.

meant: Windows Partitions are not show under Yosemite ?

 

Depending upon which partition to be visible is gives can be booted

--------------------------------------------------------------------------------------------------------------------

Error Message too 2686:

with 2679 my graphics card was as Nvidia GTX 650 with 2047 MB VRAM.

after installation of the version 2686 VRAM is indicated as 0 MB.

 

However now ist the graphics card with the correct designation shown ?

 

post-1439641-0-84075300-1431720819_thumb.jpg

 

Version 2679

 

post-1439641-0-64890800-1431720831_thumb.jpg

 

Version 2686

Share this post


Link to post
Share on other sites

@ErmaC

 

Would it be possible to add native UEFI support to Chameleon?

 

Add Chameleon to a loadable efi binary?!!

http://www.rodsbooks.com/efi-programming/hello.html

 

We can use code from grub or clover.

 

All PCs sold over the last couple of years have UEFI support and use it by default.

 

(Hope that's even possible)

Chameleon is designed to be legacy bootloader.

Share this post


Link to post
Share on other sites

Chameleon is designed to be legacy bootloader.

My idea was making a simple efi app (ChmaleonLoader.efi) which can replace boot0 and chainload the rest of the boot loader. From there, Chameleon can load Mac OS as it does on a regular BIOS machine. (as opposed to boot.efi in Clover)

 

I'm no expert, but I hope this is doable.

Share this post


Link to post
Share on other sites

My idea was making a simple efi app (ChmaleonLoader.efi) which can replace boot0 and chainload the rest of the boot loader. From there, Chameleon can load Mac OS as it does on a regular BIOS machine. (as opposed to boot.efi in Clover)

 

I'm no expert, but I hope this is doable.

Chameleon requires legacy BIOS (CSM) to work. And the BIOS must start in legacy mode, not in UEFI mode.

If your idea is to start BIOS in UEFI mode and then call Chameleon then you will encounter the same problem as Clover already has: switch to legacy mode becames impossible.

Share this post


Link to post
Share on other sites

I get in bdmesg :

[ AUDIO DEVICE INFO ]

Class code: [0403]

device number: 2

Model name: ATI RV840 HDA Controller (HDMi) [1002:aa58] (rev 00)

Subsystem: [174b:aa58]

PciRoot(0x0)/Pci(0x3,0x0)/Pci(0x0,0x1)

Found ATI R6xx (1002aa01), rev(0002)

Using default HDAU layout-id: 0x01, 0x00, 0x00, 0x00

 

[ ETHERNET DEVICE INFO ]

Class code: [0200]

Setting up lan keys

Realtek RTL8111/8168 PCI-E Gigabit Ethernet [10ec:8168]

PciRoot(0x0)/Pci(0x5,0x0)/Pci(0x0,0x0)

 

[ AUDIO DEVICE INFO ]

Class code: [0403]

device number: 4

Model name: ATI SB600 HDA Controller (HDMi) [1002:4383] (rev 40)

Subsystem: [1462:7642]

PciRoot(0x0)/Pci(0x14,0x2)

Found Realtek ALC889 (10ec0889), rev(0000)

Using default HDAU layout-id: 0x01, 0x00, 0x00, 0x00

Share this post


Link to post
Share on other sites

i get in bdmesg :

 


------------------------

AUDIO DEVICE INFO

-------------------------

Using default HDAU layout-id: 0x01, 0x00, 0x00, 0x00

Class code: [0403]

Model name: nVidia GK107 HDA Controller (HDMi) [10de:0e1b] (rev a1)

Subsystem: [19da:4294]

PciRoot(0x1)/Pci(0xf,0x0)/Pci(0x0,0x1)

device number: 3

 

no more Info ??

Share this post


Link to post
Share on other sites

no more Info ??

You have to replace the boot file...

The snippet you provide not comng from the TEST revision that I provide few post ago..

 

ErmaC

Share this post


Link to post
Share on other sites

with Test revision:

 

Zotac GeForce GTX 650 2101346304MB NVe7 [10de:0fc6]-[19da:4294] :: PciRoot(0x1)/Pci(0xf,0x0)/Pci(0x0,0x0) device number: 1

Share this post


Link to post
Share on other sites

@ErmaC, Micky1979

 

Found the same problem since 2629~2687 as below,

and after patched back to 2628 for fake_efi.c, boot to 10.10.x as FINE as before.

(only got problem to boot 10.10.x, and it's fine to boot 10.9.x and old version.)

 

FYI.  fake_efi.diff.zip

 

Have a nice day.

 

crazybirdy

 

 

post-61100-0-60187400-1432305280_thumb.jpg

 

http://www.insanelymac.com/forum/files/file/59-chameleon-23-svn/?st=140

 

May 04 2015 01:58 AM

Hey!guys,this version of Chameleon could not boot my Hackintosh 10.10.3 when updating it from v2625 to v2667!!Does anyone know what is the problem with this issue?PS;It was just stuck at the CPU info when booting with the flags -v!!

 

May 09 2015 02:12 AM

After update boot loader from Rev 2625 can't boot anymore?! Stack on logo....

Share this post


Link to post
Share on other sites

Found the same problem since 2629~2687 as below,

and after patched back to 2628 for fake_efi.c, boot to 10.10.x as FINE as before.

(only got problem to boot 10.10.x, and it's fine to boot 10.9.x and old version.)

 

Have a nice day.

 

crazybirdy

I was thinking about open a specific topic but let's try to handle here...

 

I add the ability to detect the codec id of each audio chipset.

Big thanks to Zenith432 to provite the HDA bus scan function.

 

If you normally use the HDAEnabler key for the injection of the custom or default layout-id now you can also see the finded codec in your Motherboard or Graphics card.

 

So as usual in the org.chameleon.Boot.plist

...	<key>HDAEnabler</key>
	<string>Yes</string>...
Cordially

ErmaC

 

Thx crazybirdy...

Yep I receive few "feedback" about blocked at boot... and I also w8 for other feedback about for other changes...

 

I will attach here some revision including those correction for the random-seed algo.


Here a new TEST build: more typo for the HDA Device, general output cleanup, and the potential issue fixed for the random-seed algo (thx crazybirdy)

 

PLS! feedback...

(binary format: use manual install or Chameleon Wizard... I'm not going to make a pkg only for testing purpose...)

--> Uploaded on the download section (Chameleon and Enoch)

 

ErmaC

2689_TEST.zip

Share this post


Link to post
Share on other sites

Here a new TEST build more typo for the HDA Device, general output cleanup, and the potential issue coming from the random-seed algo (thx crazybirdy)

 

PLS! feedback...

(binary format: use manual install or Chameleon wizard... I'm not going to make a pkg only for testing purpose...)

--> attachicon.gif2689_TEST.zip

 

ErmaC

 

The new Test2689 works fine here with both 1095+10103.

Thanks for quick reply. :D:thumbsup_anim: :thumbsup_anim:

Share this post


Link to post
Share on other sites

2689_TEST :)  OK

 

bdmesg P6T Deluxe V2

<key>HDAEnabler</key>
    <string>Yes</string>

[ NVIDIA GFX DEVICE INFO ]

Class code: [0300]
device number: 1
Zotac GeForce GTX 470 1280MB NVc0 [10de:06cd]-[19da:1153]
PciRoot(0x0)/Pci(0x3,0x0)/Pci(0x0,0x0)
NvidiaGeneric = No
 
[ AUDIO DEVICE INFO ]
Class code: [0403]
Model name: nVidia GT100 HDA Controller (HDMi) [10de:0be5] (rev a1)
Subsystem: [19da:1153]
PciRoot(0x0)/Pci(0x3,0x0)/Pci(0x0,0x1)
Found nVidia %s Codec (10de0010) revision (0100) (10de0010), rev(0001)
Found nVidia %s Codec (10de0010) revision (0100) (10de0010), rev(0001)
Found nVidia %s Codec (10de0010) revision (0100) (10de0010), rev(0001)
Found nVidia %s Codec (10de0010) revision (0100) (10de0010), rev(0001)
Using default HDAU layout-id: 0x01, 0x00, 0x00, 0x00
 
[ AUDIO DEVICE INFO ]
Class code: [0403]
Model name: Intel 82801JI High Definition Audio Controller [8086:3a3e] (rev 00)
Subsystem: [1043:82ea]
PciRoot(0x0)/Pci(0x1b,0x0)
Found Analog Devices AD2000B (11d4989b), rev(0003)
Using default HDEF layout-id: 0x0c, 0x00, 0x00, 0x00
 
[ ETHERNET DEVICE INFO ]
Class code: [0200]
EthernetBuiltIn = No
Marvell 88E8056 PCI-E Gigabit Ethernet Controller [11ab:4364]
PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)
 
[ ETHERNET DEVICE INFO ]
Class code: [0200]
EthernetBuiltIn = No
Marvell 88E8056 PCI-E Gigabit Ethernet Controller [11ab:4364]
PciRoot(0x0)/Pci(0x1c,0x5)/Pci(0x0,0x0)
 
[ FIREWIRE DEVICE INFO ]
Class code: [0c00]
FireWire device [1106:3044]-[1043:81fe]
PciRoot(0x0)/Pci(0x1e,0x0)/Pci(0x2,0x0)
 
Read HFS+ file: [hd(0,2)/Extra/smbios.plist] 2704 bytes.
[ DRAM CONTROLLER ]
Intel X58 DRAM Controller [8086:3405] at 00:00.0
Frequency detected: 801 MHz (1603) Triple Channel 
CAS:9 tRC:9 tRP:9 RAS:24 (9-9-9-24)

 

 

 

 

Fabio

Share this post


Link to post
Share on other sites

I also had some problems with booting to system, but for now it seems to be OK! Thanks ErmaC! This is my bdmesg:

 

2689_TEST

 

[ AUDIO DEVICE INFO ]

Class code: [0403]
Model name: nVidia GF119 HDA Controller (HDMi) [10de:0e08] (rev a1)
Subsystem: [1043:847b]
PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x1)
Found nVidia %s Codec (10de001c) revision (0100) (10de001c), rev(0001)
Using default HDAU layout-id: 0x01, 0x00, 0x00, 0x00
 
[ ETHERNET DEVICE INFO ]
Class code: [0200]
EthernetBuiltIn = Yes
Location number: 1
Setting up lan keys
Realteck RTL8111/8168 PCI-E Gigabit Ethernet [10ec:8168]
PciRoot(0x0)/Pci(0x9,0x0)/Pci(0x0,0x0)
 
[ AUDIO DEVICE INFO ]
Class code: [0403]
Model name: ATI SB600 HDA Controller (HDMi) [1002:4383] (rev 40)
Subsystem: [1462:f715]
PciRoot(0x0)/Pci(0x14,0x2)
Found Realtek ALC887 (10ec0887), rev(0003)
Using default HDAU layout-id: 0x01, 0x00, 0x00, 0x00
 
upd. Also tried the newest r2698, it's fine too.

Share this post


Link to post
Share on other sites

@ErmaC

 

Build 2697 from svn and test both 2697 & 2698 http://www.insanelymac.com/forum/files/file/59-chameleon-23-svn/

still get the same error as above.

 

How to make RANDOMSEED work?

 

fake_efi.c

#ifndef RANDOMSEED	#define RANDOMSEED 0#endif
thx.

 

crazybirdy

Hi crazybirdy

 

Switch to

#ifndef RANDOMSEED

#define RANDOMSEED 1

#endif

And the first part of the code will be used at compiling time instead of the second part of the code.

 

Anyway later I commit other changes and I set this value permanently...

So or you made the change yourself ( change 0 to 1) or w8 for the next commits.

 

Let me know...

 

EDIT: Done... revision 2700 in the download section already have those changes

 

ErmaC

Share this post


Link to post
Share on other sites

Hi crazybirdy

 

Switch to

#ifndef RANDOMSEED

#define RANDOMSEED 1

#endif

And the first part of the code will be used at compiling time instead of the second part of the code.

 

Anyway later I commit other changes and I set this value permanently...

So or you made the change yourself ( change 0 to 1) or w8 for the next commits.

 

Let me know...

 

EDIT: Done... revision 2700 in the download section already have those changes

 

ErmaC

 

Hi ErmaC.

 

I see, and test with 2699(svn) and 2700(download section), both work fine here now.

 

good job, thanks. :yes: :yes:

 

crazybirdy.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By ciriousjoker
      TLDR:
      I'm trying to boot MacOS on a Chromebook without UEFI. I'm stuck at getting the bootloader (Chameleon/Clover) to work.  
      My setup / context:
      I have an Acer Chromebook Spin 13.
      Available ports:
      2 x USB-C 1 x USB-A 3.0 MicroSD Slot No USB A 2.0 (I've read that Clover has problems with USB 3.0) Firmware:
      There's no UEFI firmware available and by default, it doesn't even allow booting anything other than ChromeOS. Thanks to MrChromebox (big shoutouts!), I flashed a custom legacy bios that allows me to boot anything linux related. This bios is flashed into the RW_LEGACY section of the existing bootloader (coreboot afaik) and doesn't have any configuration options. If I have to change a setting, I could try compiling his bios payload myself with the specific setting enabled.  
      What I've tried so far:
      Chameleon attempts:
      Only selected setting was "Install chameleon on the chosen path", rest was unselected.
       
      1 - Install chameleon first without restoring the basesystem:
      Output:
      > boot0: GPT
      > boot0: done
      (hangs; pressing power button once shuts down
      Chameleon installation log is attached as "Chameleon_Installer_Log_BEFORE".
       
      2 - Install Chameleon after restoring the base system:
      Output:
      > boot0: GPT
      > boot0: GPT
      > boot0: doneboot1: /boot       <- Exactly like that, no line break in between
      (hangs; pressing power button once shuts down)
       
      I haven't been able to reproduce #2 after wiping the drive and doing the same thing again. Subsequent attempts have resulted in either #1 of either Chameleon or Clover.
      Chameleon installation log is attached as "Chameleon_Installer_Log_AFTER".
       
      Clover attempts:
      I tried multiple settings and configurations, but all of them boiled down to either one of these.
       
      1 - Doesn't do anything, just hangs at "Booting from usb..."
      2 - Boots into the blue/grey mode as shown in the attached images.
      According to MrChromebox, this could be an old Tianocore DUET It doesn't detect anything (cpu frequency, ram, partitions or disks)  
      I've read pretty much every article, github readme and other types of documentation for coreboot, tianocore, clover, chameleon and MrChromebox' rw_legacy payloads and right now, I'm totally clueless as to what to try next...
       
      A few questions that came up:
      Why does chameleon hang? What is it looking for, /boot was clearly written to the disk by the Chameleon installer? What exactly is the blue/grey image? According to MrChromebox, it could be Tianocore DUET Where does it come from? Clover? The mainboard itself? Why does the blue/grey thing not detect my processor frequency or any partitions/drives? Can I use some sort of DUET bootloader to chainload Clover?  
      If you guys could answer any of them or if you have any other guesses or information as to what's happening, I'd be really happy!
      Chameleon_Installer_Log_BEFORE.txt
      Chameleon_Installer_Log_AFTER.txt





    • By Slice
      Since rev 4844 Vector Themes are supported and there are ready-to-use Clovy by Clovy, cesium by Slice and BGM_SVG by Blackosx.
      You may see it's structure to create own theme
      -------------------------------------------------------------------------------------------------------------------------------------------------------
       
       
      Now I want to add vector graphics support in Clover. See rev 4560 and later.
      It is not working yet but designers may begin to create Vector Themes.
      It supposed to consist of SVG elements and has design size. It will be rendered to any screen size scaled from design size.
       
      What application in macOS can create SVG graphics?
      Inkscape is not working in macOS 10.11+. Pity.
      LibreOffice Draw works with SVG but buggy.
      Boxy SVG cost 10$ but looks good enough. It creates the best in simplicity files and have more then enough features.
      Illustrator is good but expensive.
       
      How to improve SVG file?
      Clover has restricted support for SVG. It is your job to make compatible file and as small as possible to speedup rendering.
      Some helps:
      Help:Inkscape – From invalid to valid SVG Inkscape files
      From invalid to valid SVG Adobe Illustrator files
      From invalid to valid SVG files of other editors: BKchem, ChemDraw and CorelDRAW
      Help:Illustrator – Assistance with creating and saving SVG images in Adobe Illustrator that will pass W3C validation
      User:Quibik/Cleaning up SVG files manually
      Later I will write own instructions specific to Clover abilities.
       
      How to create SVG fonts?
      You can google to find ready-to-use SVG fonts.  I found some problems with too beaty fonts: slow rendering and overflow crash. Be careful.
      You can get ttf or otf fonts and convert them into svg by using online WEB services. Not a problem to google.
      But then I want to find a way to simplify the font to reduce a size and speedup rendering.
      You can create own font by FontForge It is opensource and available for Windows, Mac and GNU+Linux. It creates otf font which you can convert to svg font.
       
      Pictures from Badruzeus
      https://www.insanelymac.com/forum/applications/core/interface/file/attachment.php?id=301597
    • By thomaspetersen
      Hi All
       
      I'm trying to start a Hackintosh High Sierra 10.13.5 installation:
      - MSI B350 PC Mate
      - Ryzen 5 - 2600
      - Radeon Pro 580 GPU
      - 4 x 8GB DDR4
      (Have a working clover bootloader for HS 10.13.3 - but for some reason, I can't use that setup with the 10.13.5) 
       
      Have tried different bootloader setup, with different outcomes...
      ATM. I get this error/hang - "Unknown CPU: family = 0x17, model = 0x8, Stepping = 0x2"
      Have search google, and can see that the threads ppl. are getting this, is when they look at "About this mac", I haven't yet installed the OSX.
       
      So can someone help...

      I'm running the newest Kexts: AppleALC, FakeSMC, Lilu, RealtekRTL8111, USBInjectAll and WhateverGreen.
      In Bootloader setup, i'm running: -v, -s, -f, -no_compat_check, busratio=34, PCIRootUID=1, npci=0x2000, dart=0 and nv_disable=1
      In SMBIOS i'm using the iMac18,2 and in RT i'm using BooterConfig: 0x28 and CsrActiveConfig: 0x67
      In installed drivers i'm using: AptioMemoryFix, EmuVariableUefi-64, OsxAptioFixDrv-64 (Have tried Fix2 as well)
       
      But i'm, keep getting the Unknown CPU hang/error, can someone help...
      Or do someone have a setup with the same CPU and GPU, that can show me his/her setup for Bootloader/Kexts...
×