#
✕ nick:davidrysk[m]
#asahi-re · 2021-01-09 19:10
davidrysk[m]I can patch it out of dyld.h :)
#asahi-re · 2021-01-09 19:09
davidrysk[m]Shiz: I run into issues with the availability macros
#asahi-re · 2021-01-09 19:04
davidrysk[m]lots of interesting stuff here btw: http://siguza.github.io
#asahi-re · 2021-01-09 19:03
davidrysk[m]yep :)
#asahi-re · 2021-01-09 18:56
davidrysk[m]> Older chips attempt to do this via a monitor program loaded in EL3, which is inherently flawed and bypassable though as detailed in “Tick Tock” by xerub.
#asahi-re · 2021-01-09 18:56
davidrysk[m]> This post tries to detail the mechanism used in Apple’s A10 chips and later to prevent modification of an iOS kernel at runtime.
#asahi-re · 2021-01-09 18:56
davidrysk[m]http://siguza.github.io/KTRR/
#asahi-re · 2021-01-09 18:55
davidrysk[m]I was reading about Memory Protection Keys for Userspace for x86_64 some time ago and it seems horrible compared to what Apple is doing
#asahi-re · 2021-01-09 18:51
davidrysk[m]yeah idc
#asahi-re · 2021-01-09 18:51
davidrysk[m]I was gonna fix it up myself but I'd rather not duplicate work, hah
#asahi-re · 2021-01-09 18:50
davidrysk[m]Shiz: can you put your fixed-up dyld_shared_cache extractor somewhere?
#asahi-re · 2021-01-09 18:43
davidrysk[m]xnu-7195.50.7.100.1/osfmk/arm64/machine_routines_asm.s has a monitor_call() function, but the monitor-side code seems to have been removed from the xnu src
#asahi-re · 2021-01-09 18:43
davidrysk[m]huh, looking more closely at xnu src it does seem that they used EL3 for the xnu monitor in the older chips, and then did CTRR and later KTRR to eliminate the need for EL3
#asahi-re · 2021-01-09 13:11
davidrysk[m]I find it more useful to e.g. run `strings` on things at this point
#asahi-re · 2021-01-09 05:29
davidrysk[m]UEFI support among other things
#asahi-re · 2021-01-09 05:28
davidrysk[m]then what's in the NOR
#asahi-re · 2021-01-09 05:28
davidrysk[m]which means SecureROM loads iBoot directly? huh
#asahi-re · 2021-01-09 05:28
davidrysk[m]https://h3adsh0tzz.com/inside-xnu/iboot/intro
#asahi-re · 2021-01-09 05:28
davidrysk[m]but apparently they got rid of LLB in the A10
#asahi-re · 2021-01-09 05:28
davidrysk[m]SecureROM -> LLB -> iBoot
#asahi-re · 2021-01-09 05:27
davidrysk[m]Yeah, my question would be whether it copies everything from the NOR
#asahi-re · 2021-01-09 05:26
davidrysk[m]sorry, not OS, but one of the partitions in the Apple_APFS_ISC
#asahi-re · 2021-01-09 05:25
davidrysk[m]it's interesting that the OS has a partition called FactoryData
#asahi-re · 2021-01-09 04:52
davidrysk[m](all of the bootloaders are iBoot — the first (ROM), second (NOR), and third (preboot partion) stage), just different "flavors"
#asahi-re · 2021-01-09 04:51
davidrysk[m]but it probably just has the second stage iBoot
#asahi-re · 2021-01-09 04:51
davidrysk[m]it would be nice for someone to dump the NOR
#asahi-re · 2021-01-09 04:29
davidrysk[m]there's a 10GbE model of the mac mini that's apparently available to datacenters or something
#asahi-re · 2021-01-09 04:29
davidrysk[m]among other things it tells you what brcm firmware blobs you need
#asahi-re · 2021-01-09 04:29
davidrysk[m]ah nice
#asahi-re · 2021-01-09 04:28
davidrysk[m]an ioregistry dump from macOS might be useful as it is populated with dynamic as well as static information
#asahi-re · 2021-01-09 04:11
davidrysk[m]j313ap is the macbook air, t485ap is the dtk
#asahi-re · 2021-01-09 02:25
davidrysk[m]rwhitby: yep, they advertise USB4 but not TBT4, because it doesn't support all the requirements of TBT4
#asahi-re · 2021-01-08 20:32
davidrysk[m]They didn't trim the IPSW, they didn't trim the installed OS/Recovery either
#asahi-re · 2021-01-08 20:32
davidrysk[m]at the moment it isn't used for Intel Macs
#asahi-re · 2021-01-08 19:59
davidrysk[m]M1 Macs don't use EFI
#asahi-re · 2021-01-08 19:58
davidrysk[m]also, EFI files are only for x64 Macs
#asahi-re · 2021-01-08 19:58
davidrysk[m]roxfan: the m1 OS seems to bundle both x86 and arm
#asahi-re · 2021-01-08 19:37
davidrysk[m]those can be sourced from https://mesu.apple.com/assets/macos/com_apple_macOSIPSW/com_apple_macOSIPSW.xml
#asahi-re · 2021-01-08 17:07
davidrysk[m]someone who has two Macs and is willing to potentially brick (and need to DFU) their M1 Mac could try
#asahi-re · 2021-01-08 17:06
davidrysk[m]or an empty partition in that slot
#asahi-re · 2021-01-08 17:06
davidrysk[m]That's also concerning because it might mean you need a minimal macOS partition for recovery to work
#asahi-re · 2021-01-08 17:05
davidrysk[m]and put the Linux partition after the recovery partition
#asahi-re · 2021-01-08 17:05
davidrysk[m]marcan: what if you relocate the recovery partition to be immediately after the macOS partition?
#asahi-re · 2021-01-08 04:31
davidrysk[m]maximus64: okay yeah looking at the strings in the usb kexts they probably are dwc cores
#asahi-re · 2021-01-08 04:09
davidrysk[m]nvm I do :)
#asahi-re · 2021-01-08 04:09
davidrysk[m]I don't see a CD3217 on the MBP
#asahi-re · 2021-01-07 15:35
davidrysk[m]it's not handled by a T2, but it's basically done the same way since the M1 is more or less a much expanded T2
#asahi-re · 2021-01-07 15:20
davidrysk[m]there was also a tweet by marcan but I forget where it was
#asahi-re · 2021-01-07 15:19
davidrysk[m]puhitaku: they use vendor USB-PD commands to expose UART, etc over USB. https://t8012.dev/ is a good place to start
#asahi-re · 2021-01-07 14:35
davidrysk[m]puhitaku: you probably won't have to, if anything that special USB cable would be of use

plus ›