axi0mX / ipwndfu

open-source jailbreaking tool for many iOS devices
GNU General Public License v3.0
7.06k stars 1.7k forks source link

usb device not entering to Recovery Mode after DFU automatically (probably Linux only) #230

Open shalnoff opened 4 years ago

shalnoff commented 4 years ago

during the alloc8 installation procedure after the "Waiting for iBSS to enter Recovery Mode" message ipwndfu halting with error. As I found, the problem that the USB sub-system not re-initializing and (the host) reporting the same 1227 Apple, Inc. Mobile Device (DFU Mode) while device already got 1281 (Recovery). it's easy to check with lsusb. So re-plugging the device in appropriate moment helps to pass this iteration.

Quick and dirty solution that I have used: after print 'Waiting for iBSS to enter Recovery Mode.' (dfuexec.py, line 265) I have added

print 'wait until the screen get WHITE then re-plug USB' time.sleep(40) print 'continue...'

PS Maybe bug mentioned in this topic has the same nature as well.