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

'NoneType' object is not iterable #126

Open
Ryssiaczrk opened this issue Sep 19, 2024 · 1 comment
Open

'NoneType' object is not iterable #126

Ryssiaczrk opened this issue Sep 19, 2024 · 1 comment

Comments

@Ryssiaczrk
Copy link

C:\Users\Rysiu\Desktop\bypass>python main.py -c mt6765_config.json5 -p mt6765_payload.bin
[2024-09-19 12:05:52.317521] Waiting for device
[2024-09-19 12:09:51.172192] Found device = 0e8d:20ff
Traceback (most recent call last):
File "C:\Users\Rysiu\Desktop\bypass\main.py", line 237, in
main()
File "C:\Users\Rysiu\Desktop\bypass\main.py", line 40, in main
device = Device().find()
File "C:\Users\Rysiu\Desktop\bypass\src\device.py", line 109, in find
self.ep_in = usb.util.find_descriptor(cdc_if, custom_match=lambda x: usb.util.endpoint_direction(x.bEndpointAddress) == usb.util.ENDPOINT_IN)
File "C:\Users\Rysiu\AppData\Local\Programs\Python\Python39\lib\site-packages\usb\util.py", line 192, in find_descriptor
return _interop._next(desc_iter(**args))
File "C:\Users\Rysiu\AppData\Local\Programs\Python\Python39\lib\site-packages\usb_interop.py", line 68, in _next
return next(iter)
File "C:\Users\Rysiu\AppData\Local\Programs\Python\Python39\lib\site-packages\usb\util.py", line 183, in desc_iter
for d in desc:
TypeError: 'NoneType' object is not iterable

C:\Users\Rysiu\Desktop\bypass>
pls help

@waayaa
Copy link

waayaa commented Oct 7, 2024

disconnect usb, power off phone. run main.py then vol + & - & plug usb

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

4 participants
@waayaa @Ryssiaczrk and others