Hello
I am not familiar with traceback in python, i prefer from far Chinese...
I think that despite windows says "This device cannot start. (Code 10)" about my MTK and ADB drivers, they seem to work properly. If not please tell me what i can do that i haven't yet tried... would prefer play lottery because tried so many before get this :
C:\Users\xx\a_python>python main.py
[2022-09-04 12:14:33.698122] Waiting for device
[2022-09-04 12:14:42.968939] Found device = 0e8d:2000
[2022-09-04 12:14:43.961141] Found device in preloader mode, trying to crash...
Traceback (most recent call last):
File "main.py", line 237, in
main()
File "main.py", line 45, in main
device = crash_preloader(device, config)
File "main.py", line 218, in crash_preloader
device.jump_da(0)
File "C:\Users\xx\a_python\src\device.py", line 317, in jump_da
if from_bytes(status, 2) != 0:
File "C:\Users\xx\a_python\src\common.py", line 17, in from_bytes
return {
File "C:\Users\xx\a_python\src\common.py", line 19, in
2: lambda: struct.unpack(endian + 'H', value)[0],
struct.error: unpack requires a buffer of 2 bytes
C:\Users\xx\a_python>
So i think it's more related with dependancies in python directories, or wrong files ?
If someone understands what python wants to say through these Traceback, please light me :-)
Hello I am not familiar with traceback in python, i prefer from far Chinese... I think that despite windows says "This device cannot start. (Code 10)" about my MTK and ADB drivers, they seem to work properly. If not please tell me what i can do that i haven't yet tried... would prefer play lottery because tried so many before get this : C:\Users\xx\a_python>python main.py [2022-09-04 12:14:33.698122] Waiting for device [2022-09-04 12:14:42.968939] Found device = 0e8d:2000
[2022-09-04 12:14:43.961141] Device hw code: 0x6795 [2022-09-04 12:14:43.961141] Device hw sub code: 0x8a00 [2022-09-04 12:14:43.961141] Device hw version: 0xca00 [2022-09-04 12:14:43.961141] Device sw version: 0x0 [2022-09-04 12:14:43.961141] Device secure boot: False [2022-09-04 12:14:43.961141] Device serial link authorization: False [2022-09-04 12:14:43.961141] Device download agent authorization: False
[2022-09-04 12:14:43.961141] Found device in preloader mode, trying to crash...
Traceback (most recent call last): File "main.py", line 237, in
main()
File "main.py", line 45, in main
device = crash_preloader(device, config)
File "main.py", line 218, in crash_preloader
device.jump_da(0)
File "C:\Users\xx\a_python\src\device.py", line 317, in jump_da
if from_bytes(status, 2) != 0:
File "C:\Users\xx\a_python\src\common.py", line 17, in from_bytes
return {
File "C:\Users\xx\a_python\src\common.py", line 19, in
2: lambda: struct.unpack(endian + 'H', value)[0],
struct.error: unpack requires a buffer of 2 bytes
C:\Users\xx\a_python> So i think it's more related with dependancies in python directories, or wrong files ?
If someone understands what python wants to say through these Traceback, please light me :-)