ChanServ changed the topic of #asahi-re to: Asahi Linux: porting Linux to Apple Silicon macs | Hardware / boot process / firmware interface reverse engineering | WARNING: this channel (only) may contain binary reverse engineering discussion | RE policy: https://alx.sh/re (MANDATORY READ) | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-re
jbowen has quit [Ping timeout: 480 seconds]
yuyichao_ has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi-re
jbowen has quit [Ping timeout: 480 seconds]
yuyichao_ has joined #asahi-re
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #asahi-re
TaherAli[m] has joined #asahi-re
<TaherAli[m]> i'm trying to figure out how the boot loader renders an image on boot process. here's the apple logo: https://opensource.apple.com/source/BootX/BootX-81/bootx.tproj/sl.subproj/appleboot.h.auto.html
TaherAli[m] is now known as null-nop[m]
<null-nop[m]> in display.c file i see it looks up color index from CLUT
<null-nop[m]> is it possible to interpret the logo's pixel and colors as-is on the desktop?
<null-nop[m]> perhaps will need gfx api? metal?
<null-nop[m]> cc marcan
phiologe has joined #asahi-re
PhilippvK has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi-re
kov has quit [Quit: Coyote finally caught me]
kov has joined #asahi-re
jbowen has quit [Ping timeout: 480 seconds]
<marcan> null-nop[m]: that code has nothing to do with M1s. BootX is for PowerPC Macs.
<marcan> I'm not sure exactly what you want to do
user982492 has joined #asahi-re
bpye6 has joined #asahi-re
yuyichao has joined #asahi-re
al3xtjames1 has joined #asahi-re
al3xtjames has quit [Quit: Ping timeout (120 seconds)]
aead has quit [Quit: ZNC - https://znc.in]
al3xtjames1 is now known as al3xtjames
bpye has quit [Quit: Ping timeout (120 seconds)]
aead has joined #asahi-re
yuyichao_ has quit [Remote host closed the connection]
bpye6 is now known as bpye
<null-nop[m]> im trying to render `gAppleBootPict`
jbowen has joined #asahi-re
jbowen has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi-re
<marcan> null-nop[m]: that file seems to be unused
<marcan> where are you trying to render it and how?
<marcan> if you're looking for the actual Apple logo used by iBoot, it's in ipsw updates, e.g. Firmware/all_flash/applelogo@1x~mac-USBc.im4p, in a custom format
<marcan> you can extract the im4p with img4tool and the image with something like https://github.com/realnp/ibootim
jbowen has quit [Ping timeout: 480 seconds]
<marcan> if you just want the Apple logo back while running m1n1, just do p.fb_restore_logo() or p.fb_shutdown(True)
MajorBiscuit has joined #asahi-re
jbowen has joined #asahi-re
FireFox317 has quit [Ping timeout: 480 seconds]
jbowen has quit [Ping timeout: 480 seconds]
bisko has joined #asahi-re
FireFox317 has joined #asahi-re
<marcan> so I managed to pull the field diagnostics image from Apple's CDN (normally loads only in field diags mode, but the loader is in the recovery mode image of course)
<marcan> // CRFDR
<marcan> // CoreRepairKit
<marcan> was not expecting to see *headers* in here
<marcan> #if !RC_HIDE_D16 || !RC_HIDE_D17 || !RC_HIDE_D63 || !RC_HIDE_D64
<marcan> #define kPearlRepairSPC @"IPHONE COMP FACEID"
<marcan> #endif
<marcan> heh
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<marcan> lol the lua files and json files are encrypted?
kgarrington has joined #asahi-re
kgarrington has quit [Remote host closed the connection]
<Jamie[m]1> lolwut
<Jamie[m]1> "FieldDiagsGoblin"
<Jamie[m]1> what is goblin the codename for lmao
yuyichao has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi-re
yuyichao has joined #asahi-re
jbowen has quit [Ping timeout: 480 seconds]
<null-nop[m]> ah thanks
<null-nop[m]> ive been deep reading about the whole macho, iokit, xnu
jbowen has joined #asahi-re
<null-nop[m]> whenever i see a .o file i think of it as an exec and forget a macho exec doesn't usually have an extension name
jbowen has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi-re
ghishadow[m] has left #asahi-re [#asahi-re]
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi-re
MajorBiscuit has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi-re
jbowen has quit [Quit: leaving]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-re
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-re