MatthewPierson / Vieux

Vieux - A tool for 32/64 Bit iOS downgrades using OTA Blobs
805 stars 146 forks source link

iphone 5s drops out DFU after being found in the tool #89

Closed namluu25 closed 4 years ago

namluu25 commented 4 years ago

i've tried many times with different cables/ports. after being found it got Segmentation fault: 11 error. and when i tried the second time it dropped the phone out of DFU state. do i need to jailbreak before putting device to DFU mode?

Nathans-MacBook-Pro:Vieux-master-2 namluu$ sudo python3 vieux -i /Users/namluu/Downloads/Vieux-master-2/iPhone_4.0_64bit_10.3.3_14G60_Restore.ipsw 
Password:
Sorry, try again.
Password:

                                               /(//* /                         
                                            /(%@&/*((//*/                      
                                         (((((* %(&@@(*,///                    
                                       ((,((((((((/%%/,/(///                   
                                     ((((((((/*.((((////////**                 
                                    (((((((((((((((((///////**.                
                                    ((((((((((((((((//////*** .                
                                    ((((((((((((((//*//(%#(/*..               
                                    (((((((((((////** /%%#(* .                 
                                     (////////////**..##(/* ..                
                                    *(/*******,,,,...,* ,...***.               
                                   *(((&@@*.......*/***/////(//*////           
                               *** /((#@@@@@@@@@@@@@@@(///(((/**/*///          
                             #&(***/((%@@@@@@@@@@@@@@@(/((((// *****           
                            ((((%(*/((#@@@@@@@@@@@@@@@@((((//****              
                             (((((////(&@@@@@@@@@@@@@(((((//*,,,,           
                              ((((.//* %&&@@&&@@&((((////,.,,/((*          
                               (((/* **(%%&&&&&&&((((//**/** ((//            
                                (((((* ./##%%%%#((///**#&*******           
                                 /((*      */(((/****/(((((#(**             
                                                     *(((((((              
                                                      (((((((*               
                                                     *((((((*                 
                                                       (((((                  

Vieux - A tool for 32/64 Bit OTA downgrades

Current version is: 1.0.1
If you are using a 64 Bit device then connect it in DFU Mode
If you are using a 32 Bit device then just have it connected in NORMAL mode
Files cleaned.
/Users/namluu/Downloads/Vieux-master-2/iPhone_4.0_64bit_10.3.3_14G60_Restore.ipsw is a zip archive!
Starting IPSW unzipping
Continuing...
IPSW found at given path...
Cleaning up old files...
Files cleaned.
Unzipping..
Found: CPID:8960 CPRV:11 CPFM:03 SCEP:01 BDID:02 ECID:0000058D0B80D018 IBFL:1C SRTG:[iBoot-1704.10]
Traceback (most recent call last):
  File "vieux", line 89, in <module>
    ipsw.unzipIPSW(argv[2])
  File "/Users/namluu/Downloads/Vieux-master-2/ipsw.py", line 153, in unzipIPSW
    pwndfumode()
  File "/Users/namluu/Downloads/Vieux-master-2/restore.py", line 28, in pwndfumode
    runexploit = checkm8.exploit()
  File "/Users/namluu/Downloads/Vieux-master-2/resources/ipwndfu/checkm8.py", line 532, in exploit
    libusb1_async_ctrl_transfer(device, 0x21, 1, 0, 0, b'A' * 0x800, 0.0001)
  File "/Users/namluu/Downloads/Vieux-master-2/resources/ipwndfu/checkm8.py", line 45, in libusb1_async_ctrl_transfer
    assert usb.backend.libusb1._lib.libusb_cancel_transfer(transfer_ptr) == 0
AssertionError
Segmentation fault: 11
Nathans-MacBook-Pro:Vieux-master-2 namluu$ sudo python3 vieux -i /Users/namluu/Downloads/Vieux-master-2/iPhone_4.0_64bit_10.3.3_14G60_Restore.ipsw 

                                               /(//* /                         
                                            /(%@&/*((//*/                      
                                         (((((* %(&@@(*,///                    
                                       ((,((((((((/%%/,/(///                   
                                     ((((((((/*.((((////////**                 
                                    (((((((((((((((((///////**.                
                                    ((((((((((((((((//////*** .                
                                    ((((((((((((((//*//(%#(/*..               
                                    (((((((((((////** /%%#(* .                 
                                     (////////////**..##(/* ..                
                                    *(/*******,,,,...,* ,...***.               
                                   *(((&@@*.......*/***/////(//*////           
                               *** /((#@@@@@@@@@@@@@@@(///(((/**/*///          
                             #&(***/((%@@@@@@@@@@@@@@@(/((((// *****           
                            ((((%(*/((#@@@@@@@@@@@@@@@@((((//****              
                             (((((////(&@@@@@@@@@@@@@(((((//*,,,,           
                              ((((.//* %&&@@&&@@&((((////,.,,/((*          
                               (((/* **(%%&&&&&&&((((//**/** ((//            
                                (((((* ./##%%%%#((///**#&*******           
                                 /((*      */(((/****/(((((#(**             
                                                     *(((((((              
                                                      (((((((*               
                                                     *((((((*                 
                                                       (((((                  

Vieux - A tool for 32/64 Bit OTA downgrades

Current version is: 1.0.1
If you are using a 64 Bit device then connect it in DFU Mode
If you are using a 32 Bit device then just have it connected in NORMAL mode
Files cleaned.
/Users/namluu/Downloads/Vieux-master-2/iPhone_4.0_64bit_10.3.3_14G60_Restore.ipsw is a zip archive!
Starting IPSW unzipping
Continuing...
IPSW found at given path...
Cleaning up old files...
Files cleaned.
Unzipping..
Found: CPID:8960 CPRV:11 CPFM:03 SCEP:01 BDID:02 ECID:0000058D0B80D018 IBFL:1C SRTG:[iBoot-1704.10]
ERROR: No Apple device in DFU Mode 0x1227 detected after 30.00 second timeout. Exiting.
Place the device into DFU mode again and re-run Vieux

Computer (please complete the following information): REQUIRED -

iOS Device (please complete the following information): REQUIRED -

MatthewPierson commented 4 years ago

That's just the exploit failing. It might fail a lot on the 5s so just keep trying

projecttrinof commented 4 years ago

Try this method: pip3 install libusb then pip3 install libusb1

namluu25 commented 4 years ago

@projecttrinof it works like a charm. thanks a lot.