Jump to content

Different solutions


Andy Vandijck
 Share

925 posts in this topic

Recommended Posts

  • 3 months later...

Fixed version for Big Sur x86_64.

Enjoy :cat:

AnVMSR-BigSur.zip

Edited by Andy Vandijck
  • Like 11
Link to comment
Share on other sites

  • 3 weeks later...
On 1/13/2021 at 1:02 AM, miliuco said:

Dear friend, the link is broken.

Should be fixed now :cat:

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

I've decided to update the USB Prober V2 app for macOS Big Sur.

* Still needs a minor fix in the port status part

-> Requires KDK for USB debugging (logs)

 

Repo:

https://github.com/vampirecat35/USBProberV2

 

:cat:

 

USBProberV2.zip

  • Like 3
  • Thanks 3
Link to comment
Share on other sites

  • 2 months later...

I updated UEFITool for newer versions (QT 5 and QT 6).

It also has a sandbox added for macOS version.

Only x86_64 at the moment but should also be buildable for arm64e.

All code has been fixed.

 

EDIT: Messages parser update for QT 6.

All deprecations have been fixed.

 

GitHub repo:

https://github.com/vampirecat35/UEFITool

 

Builds for macOS have been done.

Enjoy :D :cat:

 

UEFITool_NE59_MAC_QT5.zip

UEFITool_NE59_MAC_QT6.zip

UEFITool_NE_Src.zip

Edited by Andy Vandijck
  • Like 4
  • Thanks 5
Link to comment
Share on other sites

My changes for newer QT versions where merged in the author's branch

https://github.com/LongSoft/UEFITool

:cat: :cards:

Link to comment
Share on other sites

Here are some pictures of QT 6.0.3 UEFITool NE alpha 59.

It works pretty nicely :cat:

UEFITool_NE_59_macOS_Black_QT6.png

UEFITool-NE-59-mac-OS-QT6.png

Link to comment
Share on other sites

I extracted the Apple boot chime from the MacBookAir7,2.rom I dumped.

It's by default .aiff but also exported it to .wav

What would be cool is if we can make it so that it plays on normal firmware too.

For example a HDA driver for UEFI that plays the chime.

Enjoy :cat:

 

EDIT: sound.cpp for Clover

EDIT2: Clover 5132 with Apple Boot Chime (.pkg and .iso)

EDIT3: buildmtoc.sh for Clover with updated mtoc (cctools-973.0.1)

BootChime.aiff

BootChime.wav

sound.cpp

Clover_r5132.pkg.zip

Clover-5132-X64.iso.zip

buildmtoc.sh.zip

Edited by Andy Vandijck
  • Like 1
Link to comment
Share on other sites

Also here: the Monaco font bitmap.

Apple uses this to print characters in the EFI console.

MonacoFont.bmp MonacoFont2x.bmp

  • Like 1
Link to comment
Share on other sites

Utility for cracking zip passwords.

I used zip-18 from Apple open source site and I've updated the sources.

Enjoy :cat:

I created this version because I'm currently cracking Graphics BIOS updates from gigabyte (N306TAMA.F3 - x64.zip x86.zip)

 

EDIT: version 2

It has binary support for arm64 and x86_64.

The x86_64 version is highly optimised with assembly routines.

It was too slow for my taste so I rewrote it.

Also has an Xcode project now. :cards:

 

GitHub repo:

https://github.com/vampirecat35/fcrackzip-Apple

 

fcrackzip_rel2_src.zip fcrackzip_rel_11.0.zip

Edited by Andy Vandijck
  • Like 3
  • Thanks 1
Link to comment
Share on other sites

Hey Andy,

It is interesting idea. Can you tell me something more about this?

We already have a driver AudioDxe.efi producing sound on different hardware.

We have different sound files depending on chosen theme and we also have embedded sound. Very simple but it is.

As well we have infrastructure in the Clover to check and choose sound output and sound file.

What is new from your case? Do we need the driver AudioDxe.efi?

Link to comment
Share on other sites

I cracked various Nvidia and AMD graphics card updates.

I extracted from each the .efi module.

 

Currently collected:

- AMD RX6700XT

- AMD R7250X

- AMD R9290

- AMD RX460

- AMD RX5700

- AMD RX6800

- Nvidia GTX980

- Nvidia GTX1080

- Nvidia RTX2060

- Nvidia RTX3070

 

Also extracted updates are available for 2 models of Gigabyte cards:

- N105TD4D.F3

- N3090AM.F2

 

Also the password for the x64.zip and x86.zip files inside newer Gigabyte graphics card updates is:

buildforge

 

EDIT: Apple graphics cards ROM and EFI files.

- HD5770

- HD5870

- HD6750

- HD6770M

- HD6970M

 

EDIT2: Nvidia GTX680 Apple graphics card ROM, EFI, NVGI header, Video card ROM header.

These could be used to patch up a video card and enable it to work in a real Mac.

GK100 series cards can be done with this package.

 

Enjoy :cat: :cards:

Graphics_ROM_and_EFI.zip

Apple_Graphics_Firmwares.zip

Geforce GTX 680 Mac.zip

Edited by Andy Vandijck
  • Thanks 3
Link to comment
Share on other sites

Extracted video bios updates of Gigabyte.

I extracted from the updater the .rom files and I extracted the .efi of each.

 

Models extracted from the .exe file:

- N105TD4D.F3

- N3090AMA.F3 (RTX3090 OC BIOS)

- N3090AML.F3 (RTX3090 Silent BIOS)

 

Password for x64.zip and x86.zip:

buildforge

 

Enjoy :cat::cards:

 

N105TD4DF3.zip N3090AM_F2.zip

Edited by Andy Vandijck
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Added Geforce GTX 680 series Apple ROM and EFI files (GK100 series).

Also split the NVGI header.

Also added the Graphics card ROM header (to patch up existing graphics card ROM header).

To create a patcher I would need an x86_64 version of EfiCompress.

For those who still have 32 bit support I have a patcher.

 

NOTE:

afterwards you must use a hex editor to add nvgiheader.bin before the 0x55 0xAA header.

To modify card you must remove the NVGI header till 0x55 0xAA (offset 0x400).

 

EDIT:

I have a manual way.

This needs package below.

Also needs TianoCompress I've built (attached below).

First strip the NVGI header (Till 0x55 0xAA, offset 0x400) using a hex editor.

For ROMs with UEFI use UEFIRomExtract on the .rom.

Look for:

Found compressed EFI ROM start at 0xf24c

This will tell where the EFI ROM starts.

If it says nothing it doesn't have an EFI rom.

Use the following command of the .efi file:

./TianoCompress -e --uefi -o gtx680mac.efi.comp gtx680mac.efi

Open the ROM in a hex editor.

Also open nvefiromheader.bin

Replace in the ROM the first 0x190 bytes of the header with this one.

Remove all the data from that start offset and paste in the gtx680mac.efi.comp data on that offset or if no EFI ROM at the end of the data.

Save the file and close the hex editor.

 

<--

EDIT: NOTE -> don't use this, there is a bug in fixrom.py

Use the following command to correct the EFI data.

python fixrom.py <ROM_FILE> <ROM_FILE>

-->

 

You can next test UEFIRomExtract on the .rom file to see if the patches went ok (if it can make a .efi file the patch is successful).

Next reopen the ROM file in the hex editor.

Also open nvgiheader.bin.

Append to the start of the .rom file the nvgiheader.bin data.

Save and close.

Patch is ready...

 

EDIT2:

I have attached a modern version of the HD7950 and GTX680 patch.

HD7950 works.

GTX680 doesn't work so use manual approach.

 

 

TianoCompress.zip

HD7950_GTX680_Mac.zip

Geforce GTX 680 Mac.zip

 

Asus.GTX680.4096.120905.macefi.rom

Edited by Andy Vandijck
  • Like 1
Link to comment
Share on other sites

  • 5 months later...

@Andy Vandijck

Good morning, I return to this old thread. First of all, thank you for all the work you have done for the hackintosh world.


Currently there is a topic that interests some users, how to sign OpenCore files with our secure keys and include those keys in the PC's BIOS keystore so that OpenCore can boot with BIOS Secure Boot enabled. Currently it is not possible to boot OpenCore with UEFI secure boot enabled even though OpenCore files are signed with Vault.


There are instructions on how to do this on the Internet, but they all require a Linux system to use the sbsigntools tools (it is also necessary openssl but this can be installed in macOS).
I have tried the PKG installer that you have in the first post to be able to have sbsigntool in macOS but I have encountered problems:

 

I use Big Sur and Monterey but your sbsigntool-0.6-R3-installer requires 10.10 max.
I have modified the Distribution file by changing the macOS versions to be checked and this problem seems to have been fixed.
But I have not been able to solve another problem that warns "this cannot be installed because it tries to modify system files", even though in Distribution I have changed the paths /usr/ to /usr/local/.


Is it possible to prepare a sbsigntool installer for current versions of macOS? With this achieved, we could try to generate the secure keys and digitally sign the OpenCore files from macOS, omitting the heavy task of preparing a Linux system only for it.
 

Tell me what you think. Anyway, thanks!!!

Link to comment
Share on other sites

On 9/28/2021 at 3:16 PM, protocold said:

Hi, according to your information. Would it be possible to patch Nvidia K600 (Kepler GK107) rom file to include EFI? 

 

I tried to follow your instruction but do not understand completely.. would it be possible for you to help mod this?

 

https://www.techpowerup.com/vgabios/202407/202407.rom

 

I am not a master to do this.

Follow this link

https://www.win-raid.com/t892f16-AMD-and-Nvidia-GOP-update-No-requests-DIY.html#msg15730

 

Link to comment
Share on other sites

This is different than GOPUpd, which I have done myself.

 

What Andy wrote above was that he said it should be possible to add mac efi (taken from GTX 680 mac) into GK1xx series to make such card boot up natively in real mac (like mac pro) if I understood him correctly.

 

However, I tried to follow his instruction but I have only got a black screen...

 

 

 

 

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...