MTK-bypass / bypass_utility

MIT License
459 stars 114 forks source link

Problems with NoBackendError #92

Open mtlpks opened 1 year ago

mtlpks commented 1 year ago
PS C:\Users\Pichau\Note 9\Unbrick\VD171_MTK-bypass-v1.5\VD171_MTK-bypass-v1.5\Bypass> python main.py
[2022-09-27 20:34:30.591201] Waiting for device
[2022-09-27 20:34:46.256702] Found port = COM5

[2022-09-27 20:34:46.315715] Device hw code: 0x707
[2022-09-27 20:34:46.316716] Device hw sub code: 0x8a00
[2022-09-27 20:34:46.316716] Device hw version: 0xca00
[2022-09-27 20:34:46.317724] Device sw version: 0x0
[2022-09-27 20:34:46.317724] Device secure boot: True
[2022-09-27 20:34:46.317724] Device serial link authorization: True
[2022-09-27 20:34:46.318725] Device download agent authorization: True

[2022-09-27 20:34:46.318725] Disabling watchdog timer
[2022-09-27 20:34:46.319726] Disabling protection
Traceback (most recent call last):
  File "C:\Users\Pichau\Note 9\Unbrick\VD171_MTK-bypass-v1.5\VD171_MTK-bypass-v1.5\Bypass\main.py", line 213, in <module>
    main()
  File "C:\Users\Pichau\Note 9\Unbrick\VD171_MTK-bypass-v1.5\VD171_MTK-bypass-v1.5\Bypass\main.py", line 58, in main
    result = exploit(device, config.watchdog_address, config.payload_address, config.var_0, config.var_1, payload)
  File "C:\Users\Pichau\Note 9\Unbrick\VD171_MTK-bypass-v1.5\VD171_MTK-bypass-v1.5\Bypass\src\exploit.py", line 32, in exploit
    udev = usb.core.find(idVendor=0x0E8D, idProduct=0x3)
  File "C:\Users\Pichau\AppData\Local\Programs\Python\Python310\lib\site-packages\usb\core.py", line 1309, in find
    raise NoBackendError('No backend available')
usb.core.NoBackendError: No backend available
PS C:\Users\Pichau\Note 9\Unbrick\VD171_MTK-bypass-v1.5\VD171_MTK-bypass-v1.5\Bypass>

I've been trying for quite a while to solve this issue. By what i've found, it seems to have something to do with libusb1, but i've installed it correctly, and yet nothing fixes it. What can i do?

Blank-068 commented 1 year ago

Download and install libusb-win32-devel-filter-1.2.6.0.exe. I had the exact same issue and it worked for me. Also remember to use UART in sp flash tool options.

urain39 commented 1 year ago

Download and install libusb-win32-devel-filter-1.2.6.0.exe. I had the exact same issue and it worked for me. Also remember to use UART in sp flash tool options.

It works, thanks!