Jump to content
iRipper

APFS.efi without verbose boot

127 posts in this topic

Recommended Posts

Sweet, now it fully works. No verbosity.

 

Thanks again, you're awesome.

 

Now if I could just figure out why APFS takes such an absurdly long time to boot (persistent issue since switching to 10.13)…

NP ^^

 

I'm not sure... Sorry. What I can tell is that APFS slightly slows down my disk's performance even on my real Mac.

Share this post


Link to post
Share on other sites
Advertisement

Sweet, now it fully works. No verbosity.

 

Thanks again, you're awesome.

 

Now if I could just figure out why APFS takes such an absurdly long time to boot (persistent issue since switching to 10.13)…

After what I've seen, it's much more the Trim Enabler that slow down the SSD in APFS because if I do not activate the Trim, ssd boot as quickly as a SSD in HFS + J

Share this post


Link to post
Share on other sites

After what I've seen, it's much more the Trim Enabler that slow down the SSD in APFS because if I do not activate the Trim, ssd boot as quickly as a SSD in HFS + J

True, same experience here. However for me there's maybe 1 or 2 seconds difference so it's not really bothering

Share this post


Link to post
Share on other sites

"4D 8B 4E 18 48 8D 0D 49 2F 03 00 48 8D 15 69 2F 03 00 41 B8 5A 03 00 00 E8 60 67 00 00" NOT FOUND in latest apfs.efi (taken from 10.13.1 beta5).

but

"4C0F45C8 488D0D08 40030048 8D15EC3F 030041B8 9E030000 E8DF6700 00 -> 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90" works

Share this post


Link to post
Share on other sites

True, same experience here. However for me there's maybe 1 or 2 seconds difference so it's not really bothering

For me it's an additional 2+ minutes.

 

As if booting from an HDD—in spite of the fact that I'm on an NVMe PCIe SSD.

After what I've seen, it's much more the Trim Enabler that slow down the SSD in APFS because if I do not activate the Trim, ssd boot as quickly as a SSD in HFS + J

Tried 'trimforce disable', but apparently this only pertains to non-Apple SATA SSDs (thus made no difference in boot time).

 

TRIM is natively enabled on this drive and there's no means of disabling it afaik.

Share this post


Link to post
Share on other sites

This is not verbose mode of apfs. "American megatrends" this is of your motherboard.

 

is it possible to hide this megatrends logs on BIOS? I looked but can't see it?

Share this post


Link to post
Share on other sites

Hi Guys, 

Today I fixed my apfs logs... with CsmVideoDxe-64, unlike the others times I tried, today it worked I don't know why... but 0 logs... yuppiiiii

Share this post


Link to post
Share on other sites

As for apfs-748.21.6, try:

offset   0x3E6AF - 0x3E6CB
original 0x4C8B4B18488D0D33410300488D155341030041B868030000E846690000
replaced 0x9090909090909090909090909090909090909090909090909090909090

offset   0x3E816 - 0x3E832 (new patch mentioned by @zxv)
original 0x4C0F45C8488D0D08400300488D15EC3F030041B89E030000E8DF670000
replaced 0x9090909090909090909090909090909090909090909090909090909090

offset   0x401DB
original 0x75
replaced 0xEB

offset   0x43D02
original 0x74
replaced 0xEB

offset   0x44F70
original 0x55
replaced 0xC3

As for the exact patch:

#1
4C8B4B18488D0D33410300488D155341030041B868030000E846690000 -> 9090909090909090909090909090909090909090909090909090909090

#2 (new patch mentioned by @zxv)
4C0F45C8488D0D08400300488D15EC3F030041B89E030000E8DF670000 -> 9090909090909090909090909090909090909090909090909090909090

#3
75254C -> EB254C

#4
00741F80 -> 00EB1F80

#5
E9213B000055 -> E9213B0000C3

Thanks @modbin and @MICKHAEL for the patches!

 

Fantastic, thank you!

 

I get one last annoying line because of my APFS fusion drive. Any chance you would be able to find: "fusion_wbc_startup:944: Fusion is started in regular mode"?

Share this post


Link to post
Share on other sites

Thanks modbin, that did the trick, the message is now gone :)

 

Unfortunately I'm not at your expert level so I am not sure exactly how I can know which values to change. Is it simply that hex code 0x75 prints something, and whenever I find it I can disable the printout by changing to 0xEB?

 

 

 

Try this. I didn't test it! It's up to u.

offset 		0x48A46
original	0x75
replaced	0xEB

Share this post


Link to post
Share on other sites

Thanks modbin, that did the trick, the message is now gone :)

 

Unfortunately I'm not at your expert level so I am not sure exactly how I can know which values to change. Is it simply that hex code 0x75 prints something, and whenever I find it I can disable the printout by changing to 0xEB?

0x75 means short jne (jump if not equal), and 0xEB means short jmp (unconditional jump).

I guess the original code jumps to somewhere that ignores such log and a simple unconditional jump is just doing the trick which eliminates it.

Share this post


Link to post
Share on other sites

Hi.

In my case only applying the patches mentioned at             #45             is still not enough. I was also getting

"%s:%d: reloading after unclean unmount, checkpoint xid %lld, superblock xid %lld\n"

For those who are encountering the same error, you can use this patch:

offset 		0x4445C
original	0x74
replaced	0xEB

I'll also update my old post.

 

EDIT: OK. DONE.

Edited by PMheart

Share this post


Link to post
Share on other sites

can u test this version.

credit to modbin

 

Thanks! This apfs.efi works for me in a GA-Z270-Gaming K3 on High Sierra 10.13  :lol:

Share this post


Link to post
Share on other sites

The apfs-748.1.47 (17A405) posted on the 28th by MICKHAEL worked great on my GA-Z170X-UD5 TH running the Supplemental update. Suppressed all those pesky messages. :) Thank you!

Share this post


Link to post
Share on other sites

Here you go

 

Works great for my Ryzen 7 1700  AX370 build.

 

Thanks, finally got rid of the Bios Verbose screen issue before clover screen.     My Bios "Aorus" logo would pop up then a Verbose flash before Clover screen appeared.    I was worried it had corrupted my bios.   Then I spotted this thread, glad I did.   After using your latest apfsefi fix its back to normal.    Thanks again, it was an annoying verbose scroll and it seemed to grow over time.    Now it gives normal bios symbol then clover pops up like it should be.   

 

http://www.insanelymac.com/forum/topic/327584-apfsefi-without-verbose-boot/page-4?do=findComment&comment=2526193

 

Gigabyte AX370 Ryzen 7 1700 with RX Vega 64 in High Sierra 13.1 DB 5, my Intel systems don't have this issue with apfs mode, just my Ryzen rig.    

Share this post


Link to post
Share on other sites

Thanks modbin, that did the trick, the message is now gone :)

 

Unfortunately I'm not at your expert level so I am not sure exactly how I can know which values to change. Is it simply that hex code 0x75 prints something, and whenever I find it I can disable the printout by changing to 0xEB?

0x90 is the opcode for nop.

 

here's a disassembler to help

 

https://defuse.ca/online-x86-assembler.htm#disassembly2

 

eb 25 -> jmp    0x27

Share this post


Link to post
Share on other sites

 

Hi.

Found an easier way to eliminate apfs verbosity - patching logging function.

Try this one and report. :)

00 74 07 B8 FF FF -> 00 90 90 B8 FF FF

Should I add this BootPatches right?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×