#106

Add support for new taDFU mode (iPhone 14 family)

Opennikiasopened 4y ago

This is to track implementation progress for the new taDFU mode that is uses with newer devices like iPhone 14. Thanks to some initial analysis by @siguza, we already know a few things:

  • USB VID: 0x05ac PID: 0x1881
  • Initial packet to send to pipe 6 (ep3): { 0x01, 0x10, 0xa0, 0x10, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x00 }
  • read back from pipe 5 (ep 3) will yield a buffer that contains a USB descriptor, with NONC, SNON values, and CPID, BDID, etc...

Activity

5
ChinaGuCheng3y ago

It seems to work. Do you know how to send files

Siguza3y ago

Dumping this here: main.m.gz
This reads and prints a bunch of DFU descriptors.
There's also an #if 0 block that I think correctly uploads an image to DFU, but so far I haven't been able to boot iBSS. My current theory is that there's actually something missing in the img4, possibly related to the <key>MemoryMap</key> key in BuildManifest?

weikaizu3y ago

May I ask, has this problem been solved?

weikaizu3y ago
nikias2y ago

I pushed a few commits, thanks to the work of @LinusHenze and @tihmstar we have support for it for macOS and Linux. Windows is still missing.