MTK-bypass / bypass_utility

MIT License
459 stars 114 forks source link

usb.core.USBError: [Errno None] Other error on SM-G532M/DS (Mediatek MT6737T) #107

Open ricasanbr opened 11 months ago

ricasanbr commented 11 months ago

Hello there! I am having some difficulty with a SM-G532M/DS (Mediatek MT6737T), can i have some help, please?

What i have: Microsoft Windows [version 10.0.19045.2728] python: Python 3.11.3 (tags/v3.11.3:f3909b8, Apr 4 2023, 23:49:59) [MSC v.1934 64 bit (AMD64)] on win32 UsbDk (64-bit) (https://github.com/daynix/UsbDk/releases) install pip install pyusb json5

the problem:

`python main.py [2023-07-11 12:09:40.053632] Waiting for device [2023-07-11 12:09:46.345532] Found device = 0e8d:2000 Traceback (most recent call last): File "C:\Users\user\Downloads\MTK Auth Bypass Tool\src\device.py", line 84, in find self.configuration = self.udev.get_active_configuration() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb\core.py", line 921, in get_active_configuration return self._ctx.get_active_configuration(self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb\core.py", line 113, in wrapper return f(self, *args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb\core.py", line 249, in get_active_configuration self.managed_open() File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb\core.py", line 113, in wrapper return f(self, args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb\core.py", line 131, in managed_open self.handle = self.backend.open_device(self.dev) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb\backend\libusb1.py", line 804, in open_device return _DeviceHandle(dev) ^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb\backend\libusb1.py", line 652, in init _check(_lib.libusb_open(self.devid, byref(self.handle))) File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb\backend\libusb1.py", line 604, in _check raise USBError(_strerror(ret), ret, _libusb_errno[ret]) usb.core.USBError: [Errno None] Other error

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\user\Downloads\MTK Auth Bypass Tool\main.py", line 237, in main() File "C:\Users\user\Downloads\MTK Auth Bypass Tool\main.py", line 40, in main device = Device().find() ^^^^^^^^^^^^^^^ File "C:\Users\user\Downloads\MTK Auth Bypass Tool\src\device.py", line 93, in find self.udev.set_configuration() File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb\core.py", line 915, in set_configuration self._ctx.managed_set_configuration(self, configuration) File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb\core.py", line 113, in wrapper return f(self, *args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb\core.py", line 158, in managed_set_configuration self.managed_open() File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb\core.py", line 113, in wrapper return f(self, args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb\core.py", line 131, in managed_open self.handle = self.backend.open_device(self.dev) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb\backend\libusb1.py", line 804, in open_device return _DeviceHandle(dev) ^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb\backend\libusb1.py", line 652, in init _check(_lib.libusb_open(self.devid, byref(self.handle))) File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb\backend\libusb1.py", line 604, in _check raise USBError(_strerror(ret), ret, _libusb_errno[ret]) usb.core.USBError: [Errno None] Other error`

after that, i've tried install Hovatek drivers for VCOM preloader and DA (https://www.hovatek.com/forum/thread-440.html), always got the same error. some light on that? thanks!