checkra1n / BugTracker

checkra1n bug tracker
723 stars 105 forks source link

0.9.7 fails -31 (GUI) or just hangs (CLI) #739

Open geordi1 opened 4 years ago

geordi1 commented 4 years ago

2012 Macbook Pro 15" OSX 10.10.5 Iphone 6 IOS 12.4 Checkrain 0.9.7 - also tried older versions, same results. Connected direct to computer via USB to lightning, OEM and multiple aftermarket cables. No change in result.

What are the steps to reproduce the issue?

  1. Use GUI to get phone to DFU
  2. GUI starts (heap spray) and in about 5 seconds, error 31. Gee, that was helpful.
  3. If using GUI and CLI (standing by for DFU) at the same time, GUI says error 10 instantly, but CLI says it is setting up exploit (heap spray) and that is where it sits. How long should this take? ...

What do you expect, and what is happening instead? I would expect some feedback. Progress indicator. SOMETHING ILLUMINATING to happen. Cryptic error codes without documentation do not amuse me.

Does the issue also occur if you enable Safe Mode? Yes, precisely the same.

Any other info, error logs, screenshots, ...? Check your system - I've been allowing it to send whatever useless bug reports it keeps asking for permission to send

Siguza commented 4 years ago

The exploit itself, including heap spray, should take only a fraction of a second. And I grant you, the error codes weren't done well, but in the next version they're gonna be more descriptive. Error code -10 is failure to seize the USB device, which will naturally happen if you run multiple instances. Error code -31 just means exploit timeout, and it's not like there's an interface we can query that will tell us why it happened.

But assuming you have no other software running that interferes with DFU, it might actually be the macOS version... because we got it to compile for 10.10 with reasonable effort, but I'm not sure anyone actually had that version available to test. I'll ask the team though.