Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usb.core.USBError: [Errno None] Other error #35

Closed
RodomirKholod opened this issue Dec 20, 2019 · 8 comments
Closed

usb.core.USBError: [Errno None] Other error #35

RodomirKholod opened this issue Dec 20, 2019 · 8 comments

Comments

@RodomirKholod
Copy link

Last login: Fri Dec 20 15:27:20 on console
MacBook-Rodomir:~ rodomirholod$ pip3 install -r /Users/rodomirholod/Desktop/Vieux-master/requirements.txt
Requirement already satisfied: bcrypt==3.1.7 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r /Users/rodomirholod/Desktop/Vieux-master/requirements.txt (line 1)) (3.1.7)
Requirement already satisfied: bsdiff4==1.1.9 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r /Users/rodomirholod/Desktop/Vieux-master/requirements.txt (line 2)) (1.1.9)
Requirement already satisfied: cffi==1.13.2 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r /Users/rodomirholod/Desktop/Vieux-master/requirements.txt (line 3)) (1.13.2)
Requirement already satisfied: cryptography==2.8 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r /Users/rodomirholod/Desktop/Vieux-master/requirements.txt (line 4)) (2.8)
Requirement already satisfied: paramiko==2.7.0 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r /Users/rodomirholod/Desktop/Vieux-master/requirements.txt (line 5)) (2.7.0)
Requirement already satisfied: pycparser==2.19 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r /Users/rodomirholod/Desktop/Vieux-master/requirements.txt (line 6)) (2.19)
Requirement already satisfied: PyNaCl==1.3.0 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r /Users/rodomirholod/Desktop/Vieux-master/requirements.txt (line 7)) (1.3.0)
Requirement already satisfied: pyusb==1.0.2 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r /Users/rodomirholod/Desktop/Vieux-master/requirements.txt (line 8)) (1.0.2)
Requirement already satisfied: scp==0.13.2 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r /Users/rodomirholod/Desktop/Vieux-master/requirements.txt (line 9)) (0.13.2)
Requirement already satisfied: six==1.13.0 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from -r /Users/rodomirholod/Desktop/Vieux-master/requirements.txt (line 10)) (1.13.0)
MacBook-Rodomir:~ rodomirholod$ cd /Users/rodomirholod/Desktop/Vieux-master
MacBook-Rodomir:Vieux-master rodomirholod$ /Users/rodomirholod/Desktop/Vieux-master/vieux -i /Users/rodomirholod/Desktop/iPhone_4.0_64bit_10.3.3_14G60_Restore.ipsw

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

Vieux - A tool for 32/64 Bit OTA downgrades
Still in BETA so expect issues/broken things
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/rodomirholod/Desktop/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..
Traceback (most recent call last):
File "/Users/rodomirholod/Desktop/Vieux-master/vieux", line 73, in
ipsw.unzipIPSW(argv[2])
File "/Users/rodomirholod/Desktop/Vieux-master/ipsw.py", line 153, in unzipIPSW
pwndfumode()
File "/Users/rodomirholod/Desktop/Vieux-master/restore.py", line 22, in pwndfumode
device = dfu.acquire_device()
File "/Users/rodomirholod/Desktop/Vieux-master/resources/ipwndfu/dfu.py", line 23, in acquire_device
usb.util.claim_interface(device, 0)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/usb/util.py", line 205, in claim_interface
device._ctx.managed_claim_interface(device, interface)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/usb/core.py", line 102, in wrapper
return f(self, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/usb/core.py", line 167, in managed_claim_interface
self.backend.claim_interface(self.handle, i)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/usb/backend/libusb1.py", line 811, in claim_interface
_check(self.lib.libusb_claim_interface(dev_handle.handle, intf))
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/usb/backend/libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno None] Other error
MacBook-Rodomir:Vieux-master rodomirholod$ python 3 /Users/rodomirholod/Desktop/Vieux-master/vieux -i /Users/rodomirholod/Desktop/iPhone_4.0_64bit_10.3.3_14G60_Restore.ipsw
python: can't open file '3': [Errno 2] No such file or directory
MacBook-Rodomir:Vieux-master rodomirholod$ python 3 /Users/rodomirholod/Desktop/Vieux-master/vieux -i /Users/rodomirholod/Desktop/iPhone_4.0_64bit_10.3.3_14G60_Restore.ipsw
python: can't open file '3': [Errno 2] No such file or directory
MacBook-Rodomir:Vieux-master rodomirholod$ python3 /Users/rodomirholod/Desktop/Vieux-master/vieux -i /Users/rodomirholod/Desktop/iPhone_4.0_64bit_10.3.3_14G60_Restore.ipsw

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

Vieux - A tool for 32/64 Bit OTA downgrades
Still in BETA so expect issues/broken things
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/rodomirholod/Desktop/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..
Traceback (most recent call last):
File "/Users/rodomirholod/Desktop/Vieux-master/vieux", line 73, in
ipsw.unzipIPSW(argv[2])
File "/Users/rodomirholod/Desktop/Vieux-master/ipsw.py", line 153, in unzipIPSW
pwndfumode()
File "/Users/rodomirholod/Desktop/Vieux-master/restore.py", line 22, in pwndfumode
device = dfu.acquire_device()
File "/Users/rodomirholod/Desktop/Vieux-master/resources/ipwndfu/dfu.py", line 23, in acquire_device
usb.util.claim_interface(device, 0)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/usb/util.py", line 205, in claim_interface
device._ctx.managed_claim_interface(device, interface)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/usb/core.py", line 102, in wrapper
return f(self, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/usb/core.py", line 167, in managed_claim_interface
self.backend.claim_interface(self.handle, i)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/usb/backend/libusb1.py", line 811, in claim_interface
_check(self.lib.libusb_claim_interface(dev_handle.handle, intf))
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/usb/backend/libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno None] Other error
not worked.
I ask for help in solving this problem

@MatthewPierson
Copy link
Owner

You need to reboot the device when that happens, then try again

@RodomirKholod
Copy link
Author

this error always occurs on two different devices.
regardless of the reboot

@RodomirKholod
Copy link
Author

all this has been done more than 100 times

@csyhoyang
Copy link

csyhoyang commented Dec 21, 2019

I have the same problem

@MatthewPierson
Copy link
Owner

I will be closing this issue in 24 hours if you no longer need help/the issue has been resolved. If you still need help then comment with what you need and I will not close it.

@RodomirKholod
Copy link
Author

Starting IPSW unzipping
Continuing...
IPSW found at given path...
Cleaning up old files...
Files cleaned.
Unzipping..
Traceback (most recent call last):
File "/Users/rodomirholod/Desktop/Vieux-master/vieux", line 73, in
ipsw.unzipIPSW(argv[2])
File "/Users/rodomirholod/Desktop/Vieux-master/ipsw.py", line 153, in unzipIPSW
pwndfumode()
File "/Users/rodomirholod/Desktop/Vieux-master/restore.py", line 22, in pwndfumode
device = dfu.acquire_device()
File "/Users/rodomirholod/Desktop/Vieux-master/resources/ipwndfu/dfu.py", line 23, in acquire_device
usb.util.claim_interface(device, 0)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/usb/util.py", line 205, in claim_interface
device._ctx.managed_claim_interface(device, interface)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/usb/core.py", line 102, in wrapper
return f(self, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/usb/core.py", line 167, in managed_claim_interface
self.backend.claim_interface(self.handle, i)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/usb/backend/libusb1.py", line 811, in claim_interface
_check(self.lib.libusb_claim_interface(dev_handle.handle, intf))
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/usb/backend/libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno None] Other error
not worked.

@HanMs
Copy link

HanMs commented Jan 17, 2020

done brew install libusb
seems to work now...

@warn1n9
Copy link

warn1n9 commented Jan 21, 2020

@HanMs how to brew install libusb i've the same problem

Traceback (most recent call last):
File "vieux", line 85, in
ipsw.unzipIPSW(argv[2])
File "/Users/hxx/Downloads/Vieux-master/ipsw.py", line 153, in unzipIPSW
pwndfumode()
File "/Users/hxx/Downloads/Vieux-master/restore.py", line 22, in pwndfumode
device = dfu.acquire_device()
File "/Users/hxx/Downloads/Vieux-master/resources/ipwndfu/dfu.py", line 20, in acquire_device
for device in usb.core.find(find_all=True, idVendor=0x5AC, idProduct=0x1227, backend=backend):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/usb/core.py", line 1263, in find
raise NoBackendError('No backend available')
usb.core.NoBackendError: No backend available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants