Jump to content

APFS.efi without verbose boot


Best Answer ErmaC, 10 November 2017 - 10:50 PM

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


Yep! easy way....
sudo perl -i -pe 's|\x00\x74\x07\xb8\xff\xff|\x00\x90\x90\xb8\xff\xff|sg' /path/to/your/APFS.efi
ErmaC Go to the full post


  • Please log in to reply
92 replies to this topic

#1
iRipper

iRipper

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 220 posts
  • Gender:Not Telling

Is there an APFS.efi driver without the verbose boot when injecting? I know it's not a big deal, but I would like a "clean" boot, without text popping up  :rolleyes:



#2
chris1111

chris1111

    Packager

  • Donators
  • 4,596 posts
  • Gender:Male
  • Location:Montreal Canada
  • Interests:Mac OS X Packaging / scripts

Is there an APFS.efi driver without the verbose boot when injecting? I know it's not a big deal, but I would like a "clean" boot, without text popping up  :rolleyes:

the only way is using CsmVideoDxe-64

Be careful with this driver, used with precaution

For UEFI Only



#3
ellaosx

ellaosx

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 499 posts

the only way is using CsmVideoDxe-64

Be careful with this driver, used with precaution

For UEFI Only

why should we use it with precaution?



#4
chris1111

chris1111

    Packager

  • Donators
  • 4,596 posts
  • Gender:Male
  • Location:Montreal Canada
  • Interests:Mac OS X Packaging / scripts

why should we use it with precaution?

This is what is stated in Clover Package



#5
ellaosx

ellaosx

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 499 posts
im on sierra and the apfs dont display the annoying verbose.

#6
isaII

isaII

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts

try this

based on 4236

moded blocking log before theme loaded.

Attached Files



#7
MorenoAv

MorenoAv

    InsanelyMac Protégé

  • Donators
  • 63 posts
  • Gender:Male
  • Location:Aveiro - PT
  • Interests:Hackintosh and tech in general

That don't work for me, it seems to me that the logs are bigger instead...



#8
kray

kray

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

try this

based on 4236

moded blocking log before theme loaded.

This patched Clover really works!!  Now all the extra logs before system loading are totally gone.  Thanks a million!

 

I was wondering if you could let me know how you modified it?

 

Thanks again in advance.



#9
isaII

isaII

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts

This patched Clover really works!!  Now all the extra logs before system loading are totally gone.  Thanks a million!

 

I was wondering if you could let me know how you modified it?

 

Thanks again in advance.

inside /Users/limyohan/src/edk2/Clover/rEFIt_UEFI/refit/main.c

 

there is code block "EFI SIMPLE TEXT OUTPUT"

      ConOutOutputString = gST->ConOut->OutputString;
      gST->ConOut->OutputString = NullConOutOutputString;

it block log when user select windows boot entry 

 

I copied it to before screen initialize

and set Variable for it and enabled log before theme loaded.

 

here is the file, you can serch where I moded. with keyword "APFS.efi_logblock_log"

Attached Files



#10
William Parker

William Parker

    InsanelyMac Disciple

  • Members
  • PipPipPip
  • 165 posts
  • Gender:Male

That don't work for me, it seems to me that the logs are bigger instead...

 

@isaII

Same here as well. Tried the attached file with installed version of Clover 4233. Any ideas?



#11
MorenoAv

MorenoAv

    InsanelyMac Protégé

  • Donators
  • 63 posts
  • Gender:Male
  • Location:Aveiro - PT
  • Interests:Hackintosh and tech in general

waiting for a new version of clover, I guess... LOOL



#12
isaII

isaII

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts

@isaII

Same here as well. Tried the attached file with installed version of Clover 4233. Any ideas?

 

 

waiting for a new version of clover, I guess... LOOL

 

hum.. I have no idea

I build it just for me and for temporary use..

so I just test it my desktop only so I do not know why it dose not work for you...

 

attached file is complied with little change

add refresh screen several times and do not enabled "simple_text_output"

it also work for me but I do not sure in your system..

 

ps/

do you use CSM?

maybe UEFI only mode can help you... maybe

Attached Files



#13
ricoc90

ricoc90

    InsanelyMac Legend

  • Donators
  • 666 posts
  • Gender:Male
  • Location:The Netherlands

log-free apfs.efi for 10.13.1 beta 1. Not sure if it will work for 10.13/10.13 supplementary update

 

Attached File  apfs.efi.zip   258.88KB   58 downloads

 

Otherwise: http://www.insanelym...69#entry2498575



#14
isaII

isaII

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts

log-free apfs.efi for 10.13.1 beta 1. Not sure if it will work for 10.13/10.13 supplementary update

 

attachicon.gifapfs.efi.zip

 

Otherwise: http://www.insanelym...69#entry2498575

 

thanks for inform..

but :( it not work for me perfect

almost logs are disappeared but single line stil exist...

 

can you explane how can find opcode print log?

i also try to find that in apfs.efi but ida pro 6.5 can not Analyze it at all....



#15
MICKHAEL

MICKHAEL

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 158 posts
  • Gender:Male
  • Location:Chișinău România
  • Interests:http://paypal.me/Mihai555

for me, UEFI x99 gtx 960 CSMVideoDxe did the trick



#16
MorenoAv

MorenoAv

    InsanelyMac Protégé

  • Donators
  • 63 posts
  • Gender:Male
  • Location:Aveiro - PT
  • Interests:Hackintosh and tech in general

log-free apfs.efi for 10.13.1 beta 1. Not sure if it will work for 10.13/10.13 supplementary update

 

attachicon.gifapfs.efi.zip

 

Otherwise: http://www.insanelym...69#entry2498575

 

Didn't work for me too, I don't know why, but gave me kernel panic, the first until my last re-install... this logs are only irritating not problematic, says i... lol

I have tried with CSMVideoDxe and didn't work either...

 

Thanks anyway to all of you for your help...



#17
MorenoAv

MorenoAv

    InsanelyMac Protégé

  • Donators
  • 63 posts
  • Gender:Male
  • Location:Aveiro - PT
  • Interests:Hackintosh and tech in general

hi guys

Any news of other methods to resolve the logs?



#18
MorenoAv

MorenoAv

    InsanelyMac Protégé

  • Donators
  • 63 posts
  • Gender:Male
  • Location:Aveiro - PT
  • Interests:Hackintosh and tech in general

Its me again and I still have those irritating logs... as anyone figured a fix to this?



#19
Mork vom Ork

Mork vom Ork

    InsanelyMac Sage

  • Donators
  • 346 posts
  • Gender:Male
  • Location:Berlin/Germany

To suppress verbose output apfs.efi - just use a hex editor an do a find/replace with:

Find: 00554889E54883EC4048
Replace: 00C34889E54883EC4048



#20
chris1111

chris1111

    Packager

  • Donators
  • 4,596 posts
  • Gender:Male
  • Location:Montreal Canada
  • Interests:Mac OS X Packaging / scripts

To suppress verbose output apfs.efi - just use a hex editor an do a find/replace with:

Find: 00554889E54883EC4048
Replace: 00C34889E54883EC4048

Where from the patch ?







1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy