[Miscellaneous Android Development] siddula0128:
im having this problem it is stuck at disabling protection it worked in the starting but its not at all disabling protection i dont know where im doing wrong this is the log file :

[2021-01-27 07:11:30.650110] Waiting for bootrom

[2021-01-27 07:11:37.080072] Found port = COM7

[2021-01-27 07:11:37.168458] Device hw code: 0x788

[2021-01-27 07:11:37.168458] Device hw sub code: 0x8a00

[2021-01-27 07:11:37.169452] Device hw version: 0xca00

[2021-01-27 07:11:37.169452] Device sw version: 0x0

[2021-01-27 07:11:37.170444] Device secure boot: True

[2021-01-27 07:11:37.170444] Device serial link authorization: False

[2021-01-27 07:11:37.171441] Device download agent authorization: True

[2021-01-27 07:11:37.172433] Disabling watchdog timer

[2021-01-27 07:11:37.174419] Disabling protection

[2021-01-27 07:11:37.241965] Protection disabled

[2022-06-01 23:45:44.361786] Waiting for bootrom

[2022-06-01 23:45:52.026398] Found port = /dev/ttyACM0

[2022-06-01 23:45:52.042396] Device hw code: 0x788

[2022-06-01 23:45:52.042635] Device hw sub code: 0x8a00

[2022-06-01 23:45:52.043042] Device hw version: 0xca00

[2022-06-01 23:45:52.043128] Device sw version: 0x0

[2022-06-01 23:45:52.043660] Device secure boot: True

[2022-06-01 23:45:52.044079] Device serial link authorization: False

[2022-06-01 23:45:52.044338] Device download agent authorization: True

[2022-06-01 23:45:52.044742] Disabling watchdog timer

[2022-06-01 23:45:52.045859] Disabling protection

[2022-06-01 23:48:03.958701] Waiting for bootrom

[2022-06-01 23:48:09.340277] Found port = /dev/ttyACM0

[2022-06-01 23:48:09.369661] Device hw code: 0x788

[2022-06-01 23:48:09.370555] Device hw sub code: 0x8a00

[2022-06-01 23:48:09.370804] Device hw version: 0xca00

[2022-06-01 23:48:09.370999] Device sw version: 0x0

[2022-06-01 23:48:09.371188] Device secure boot: True

[2022-06-01 23:48:09.371374] Device serial link authorization: False

[2022-06-01 23:48:09.371562] Device download agent authorization: True

[2022-06-01 23:48:09.371750] Disabling watchdog timer

[2022-06-01 23:48:09.373069] Disabling protection

[2022-06-01 23:55:40.659167] Waiting for bootrom

[2022-06-01 23:55:48.838428] Found port = /dev/ttyACM0

[2022-06-01 23:55:48.867055] Device hw code: 0x788

[2022-06-01 23:55:48.867276] Device hw sub code: 0x8a00

[2022-06-01 23:55:48.867419] Device hw version: 0xca00

[2022-06-01 23:55:48.867541] Device sw version: 0x0

[2022-06-01 23:55:48.867663] Device secure boot: True

[2022-06-01 23:55:48.867780] Device serial link authorization: False

[2022-06-01 23:55:48.867895] Device download agent authorization: True

[2022-06-01 23:55:48.868019] Disabling watchdog timer

[2022-06-01 23:55:48.869150] Disabling protection

[2022-06-01 23:58:45.356654] Waiting for bootrom

[2022-06-01 23:58:59.112309] Found port = /dev/ttyACM0

[2022-06-01 23:58:59.143902] Device hw code: 0x788

[2022-06-01 23:58:59.144093] Device hw sub code: 0x8a00

[2022-06-01 23:58:59.144216] Device hw version: 0xca00

[2022-06-01 23:58:59.144326] Device sw version: 0x0

[2022-06-01 23:58:59.144434] Device secure boot: True

[2022-06-01 23:58:59.144535] Device serial link authorization: False

[2022-06-01 23:58:59.144634] Device download agent authorization: True

[2022-06-01 23:58:59.144737] Disabling watchdog timer

[2022-06-01 23:58:59.146214] Disabling protection

[2022-06-05 18:45:50.061242] Waiting for bootrom

[2022-06-05 18:46:06.371225] Found port = /dev/ttyACM0

[2022-06-05 18:46:06.386839] Device hw code: 0x788

[2022-06-05 18:46:06.387084] Device hw sub code: 0x8a00

[2022-06-05 18:46:06.387399] Device hw version: 0xca00

[2022-06-05 18:46:06.387593] Device sw version: 0x0

[2022-06-05 18:46:06.387931] Device secure boot: True

[2022-06-05 18:46:06.388377] Device serial link authorization: False

[2022-06-05 18:46:06.388530] Device download agent authorization: True

[2022-06-05 18:46:06.389036] Disabling watchdog timer

[2022-06-05 18:46:06.390347] Disabling protection

[2022-06-05 20:18:15.758740] Waiting for bootrom

[2022-06-05 20:18:23.938455] Found port = /dev/ttyACM0

[2022-06-05 20:18:23.954394] Device hw code: 0x788

[2022-06-05 20:18:23.954512] Device hw sub code: 0x8a00

[2022-06-05 20:18:23.954571] Device hw version: 0xca00

[2022-06-05 20:18:23.954625] Device sw version: 0x0

[2022-06-05 20:18:23.954681] Device secure boot: True

[2022-06-05 20:18:23.954749] Device serial link authorization: False

[2022-06-05 20:18:23.954801] Device download agent authorization: True

[2022-06-05 20:18:23.954857] Disabling watchdog timer

[2022-06-05 20:18:23.955603] Disabling protection

[2022-06-05 20:30:54.770630] Waiting for bootrom

[2022-06-05 20:31:04.727942] Found port = /dev/ttyACM0

[2022-06-05 20:31:04.813433] Device hw code: 0x788

[2022-06-05 20:31:04.813561] Device hw sub code: 0x8a00

[2022-06-05 20:31:04.813626] Device hw version: 0xca00

[2022-06-05 20:31:04.813682] Device sw version: 0x0

[2022-06-05 20:31:04.813739] Device secure boot: True

[2022-06-05 20:31:04.813792] Device serial link authorization: False

[2022-06-05 20:31:04.813844] Device download agent authorization: True

[2022-06-05 20:31:04.813902] Disabling watchdog timer

[2022-06-05 20:31:04.814861] Disabling protection

[2022-06-05 20:31:17.963015] Waiting for bootrom

[2022-06-05 20:31:22.331197] Found port = /dev/ttyACM0

[2022-06-05 20:31:22.451645] Device hw code: 0x788

[2022-06-05 20:31:22.451764] Device hw sub code: 0x8a00

[2022-06-05 20:31:22.451825] Device hw version: 0xca00

[2022-06-05 20:31:22.451879] Device sw version: 0x0

[2022-06-05 20:31:22.451933] Device secure boot: True

[2022-06-05 20:31:22.451986] Device serial link authorization: False

[2022-06-05 20:31:22.452037] Device download agent authorization: True

[2022-06-05 20:31:22.452094] Disabling watchdog timer

[2022-06-05 20:31:22.452732] Disabling protection

[2022-06-05 20:41:10.043184] Waiting for bootrom

[2022-06-05 20:41:21.523998] Found port = /dev/ttyACM0

[2022-06-05 20:41:21.640791] Device hw code: 0x788

[2022-06-05 20:41:21.640915] Device hw sub code: 0x8a00

[2022-06-05 20:41:21.640975] Device hw version: 0xca00

[2022-06-05 20:41:21.641028] Device sw version: 0x0

[2022-06-05 20:41:21.641083] Device secure boot: True

[2022-06-05 20:41:21.641135] Device serial link authorization: False

[2022-06-05 20:41:21.641187] Device download agent authorization: True

[2022-06-05 20:41:21.641253] Disabling watchdog timer

[2022-06-05 20:41:21.642251] Disabling protection

[2022-06-07 13:28:07.909524] Waiting for bootrom

[2022-06-07 13:28:22.208850] Found port = /dev/ttyACM0

[2022-06-07 13:28:22.324403] Device hw code: 0x788

[2022-06-07 13:28:22.324565] Device hw sub code: 0x8a00

[2022-06-07 13:28:22.324653] Device hw version: 0xca00

[2022-06-07 13:28:22.324724] Device sw version: 0x0

[2022-06-07 13:28:22.324791] Device secure boot: True

[2022-06-07 13:28:22.324853] Device serial link authorization: False

[2022-06-07 13:28:22.324911] Device download agent authorization: True

[2022-06-07 13:28:22.324974] Disabling watchdog timer

[2022-06-07 13:28:22.325729] Disabling protection

when i try to dump bootrom i get this reply :

python3 main.py

[2022-06-07 13:38:16.541604] Waiting for bootrom

[2022-06-07 13:38:28.024742] Found port = /dev/ttyACM0

[2022-06-07 13:38:28.103225] Device hw code: 0x788

[2022-06-07 13:38:28.103500] Device hw sub code: 0x8a00

[2022-06-07 13:38:28.103616] Device hw version: 0xca00

[2022-06-07 13:38:28.103720] Device sw version: 0x0

[2022-06-07 13:38:28.103824] Device secure boot: True

[2022-06-07 13:38:28.103923] Device serial link authorization: False

[2022-06-07 13:38:28.104070] Device download agent authorization: True

[2022-06-07 13:38:28.104176] Disabling watchdog timer

[2022-06-07 13:38:28.105055] Disabling protection

Traceback (most recent call last):

File "/home/vishnu/Videos/Bypass_Utility/src/exploit.py", line 47, in exploit

udev._ctx.managed_claim_interface = lambda *args, **kwargs: None

AttributeError: 'NoneType' object has no attribute '_ctx'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "/home/vishnu/Videos/Bypass_Utility/main.py", line 118, in <module>

main()

File "/home/vishnu/Videos/Bypass_Utility/main.py", line 84, in main

result = exploit(device, config.watchdog_address, config.payload_address, config.var_0, config.var_1, payload)

File "/home/vishnu/Videos/Bypass_Utility/src/exploit.py", line 49, in exploit

raise RuntimeError("libusb is not installed for port {}".format(device.dev.port)) from e

RuntimeError: libusb is not installed for port /dev/ttyACM0

please help me guys.......!!!!