More iPod Nano 7G discoveries!
gsch discovered that if you boot diags from WTF (instead of from bootloader), you actually get a serial console... with full memory read/write.
Turns out this works because WTF ships with an EFI UART/Serial driver, but the bootloader doesn't. So if you run diags from WTF, you get that very nice serial console. And since both WTF and the bootloader are signed, you can just send them over DFU.
Who need exploits when you have built-in functionality? :)
Which means if we want, we can actually make a 'super'-diags by combining EFI drivers from different payloads. We then end-up with a nicely debug enabled boot chain, with full serial logs and an EFI console which can even read FAT32 on NAND.
This requires signature bypass, as the EFI firmware volumes are signed as a whole, but we thankfully have that for a few days now! In fact, you just can now `wInd3x cfw superdiags` to get this.
Next step: custom drivers/modules... in Rust? :)