#
✕ nick:sven
#asahi-re · 2022-02-04 13:54
svenphire: given that we're talking about strings let's move it here because some people want to be absolutely not exposed to any direct reverse engineering talk
#asahi-re · 2022-01-24 13:06
svenweird. maybe facetime shares some legacy code with ichat
#asahi-re · 2022-01-16 12:47
svenor just padding introduced by the compiler
#asahi-re · 2021-12-17 10:12
svenbut that 32bit stuff makes sense. Maybe that’s m3wrap-v1 then ;)
#asahi-re · 2021-12-17 10:12
svenmaybe, but most of the iPhone RE stuff isn’t documented or even available as source code
#asahi-re · 2021-12-16 12:16
svensure, was just curious
#asahi-re · 2021-12-16 12:10
svenmight be an earlier version of that cio m3wrap
#asahi-re · 2021-12-16 12:10
svenhrm, so how does that mailbox interface look like
#asahi-re · 2021-12-16 12:08
svenweird
#asahi-re · 2021-12-16 12:07
sventhe cio mailbox is called something like m3wrap
#asahi-re · 2021-12-16 12:07
svenlikely a different mbox then
#asahi-re · 2021-12-14 15:00
svennice
#asahi-re · 2021-12-14 15:00
svenlol
#asahi-re · 2021-12-06 16:46
svenhrm, don’t think it’s that flag but it’s something in the data section unless I just messed up
#asahi-re · 2021-12-05 22:20
sven(and unless there's something like KTRR this also gives trivial code exec on all coprocs where we can write to the data section by overwriting the stuff it stores in that section during hibernate)
#asahi-re · 2021-12-05 22:18
sveni'll check tomorrow if i can revive any of the coprocs where we can access that flag
#asahi-re · 2021-12-05 22:17
sven*for ANS
#asahi-re · 2021-12-05 22:17
svenerm
#asahi-re · 2021-12-05 22:17
svenhrm, i think it's actually that flag in the data section which we can't access for DCP :(
#asahi-re · 2021-12-05 20:17
svendid you send the nmi after it got a crashlog buffer?
#asahi-re · 2021-12-05 20:16
svenit'll try to send a crashlog and then spin forever
#asahi-re · 2021-12-05 20:16
svenor, well
#asahi-re · 2021-12-05 20:15
sven*nmi
#asahi-re · 2021-12-05 20:15
sventhe mmi is another while(1); loop in the firmware I think
#asahi-re · 2021-12-05 12:59
svenbut i guess that might also be reset to its original value if the PMGR reset is a true hard reset
#asahi-re · 2021-12-05 12:53
svenhrm, or maybe not. it changes VBAR at some point
#asahi-re · 2021-12-05 10:56
svenstill need to confirm this though, the code is a bit annoying to follow
#asahi-re · 2021-12-05 10:56
svenand then a reset will work
#asahi-re · 2021-12-05 10:56
svenand i think if you send that powerdown message it'll overwrite that value to something else
#asahi-re · 2021-12-05 10:55
svenmarcan: so here's something that may be going on: the rtkit reset vector checks some kind of resume flag and if has an unexpected value (0xbaadf1ac) it'll go to a while(1); loop. and i think it'll always have the unexpected value once rtkit is up and running
#asahi-re · 2021-11-23 15:42
svenlet's move back to -dev i guess :D
#asahi-re · 2021-11-23 15:41
svennow that i know how this nvme controller actually works that's next on my TODO list to get this entire driver into a shape that can be submitted :)
#asahi-re · 2021-11-23 15:40
sven0xb has a string along the lines of "invalid AP power state: %x"
#asahi-re · 2021-11-23 15:40
sven0x6 does a lot of stuff and very much looks like it's for the co-proc
#asahi-re · 2021-11-23 15:39
svenif you follow the command handler in any RTKit firmware both of them end up in functions with power related strings
#asahi-re · 2021-10-30 15:32
sventhat one's used for at least the thunderbolt DARTs
#asahi-re · 2021-10-30 15:29
svent8110dart %p (%s, DART instance %u): 4-level translation not supported for SID %u @%s:%d
#asahi-re · 2021-10-30 15:29
svenso it looks like there are actually some new features in some of the new DARTs
#asahi-re · 2021-10-30 15:29
svent8110dart %p (%s): Invalid flush-by-DVA range [%#lx,%#lx) @%s:%d
#asahi-re · 2021-10-18 21:15
sventhat's it.
#asahi-re · 2021-10-18 21:15
svenand during boot SEPOS asks for entries from the file by key
#asahi-re · 2021-10-18 21:14
sveneach entry is 0x9000 bytes, first byte is always zero, then 0x11 bytes for the key, then a u32 for the size, a u32 for the crc of the content, then 8 bytes i don't know about and then comes the content
#asahi-re · 2021-10-18 21:14
sven it's a dumb key value store with the contents "protected" by a crc32
#asahi-re · 2021-10-18 21:13
svenalright, reversed this gigalocker xART format by staring at it and running strings on the SEP kext once :D
#asahi-re · 2021-10-04 14:58
sven000028.789049 AppleT8103USBXHCI@01000000: AppleUSBXHCIARM::applyTunables: tunable range 0 offset 0x0000c104 mask 0x0001ef00 value 0x00002f00 (read 0x00006f00 wrote 0x00002f00)
#asahi-re · 2021-09-24 06:22
svenand https://rosenzweig.io/bug.txt
#asahi-re · 2021-09-24 06:21
svenhttps://rosenzweig.io/warn.txt
#asahi-re · 2021-09-24 06:21
sveneven when you switch back to host and reinit xhci
#asahi-re · 2021-09-24 06:20
svenapparently if you disconnect the gadget cable linux will first WARN_ON because it couldn't issue a stop transfer command and from then on the port just refuses to work at all
#asahi-re · 2021-09-24 06:20
svenunrelated to this, there's also a way to break gadget mode completely that alyssa ran into

plus ›