bkerler / edl

Inofficial Qualcomm Firehose / Sahara / Streaming / Diag Tools :)
GNU General Public License v3.0
1.6k stars 375 forks source link

Nokia 8000 4G TA-1305 #106

Closed postapczuk closed 3 years ago

postapczuk commented 3 years ago

Hello! Firstly I would like to thank you working on this project, as this is real good job for people having troubles with their devices.

Secondly - I have a problem. I need to point that the issue comes on Arch Linux as well on Ubuntu. EDL is pulled from tag 3.1:

Capstone and Keystone libraries missing.
Library.utils - Using loader ~/Downloads/8k.mbn ...
Library.utils - Waiting for the device
Library.utils - Ohuh
Library.utils -   CONFIGURATION 1: 2 mA ====================================
   bLength              :    0x9 (9 bytes)
   bDescriptorType      :    0x2 Configuration
   wTotalLength         :   0x20 (32 bytes)
   bNumInterfaces       :    0x1
   bConfigurationValue  :    0x1
   iConfiguration       :    0x0 
   bmAttributes         :   0x80 Bus Powered
   bMaxPower            :    0x1 (2 mA)
    INTERFACE 0: Vendor Specific ===========================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x0
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x2
     bInterfaceClass    :   0xff Vendor Specific
     bInterfaceSubClass :   0xff
     bInterfaceProtocol :   0xff
     iInterface         :    0x0 
      ENDPOINT 0x81: Bulk IN ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x81 IN
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :  0x200 (512 bytes)
       bInterval        :    0x0
      ENDPOINT 0x1: Bulk OUT ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :    0x1 OUT
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :  0x200 (512 bytes)
       bInterval        :    0x0
Library.utils - Detaching kernel driver
Library.utils - Device detected :)
Library.utils - connect:0x80
Library.utils - Timed out
Library.utils - b''
Library.utils - TX:7e11001200a0e30000c1e50140a0e31eff2fe14bd97e
Library.utils - connect:0x80
Library.utils - RX:04000000100000000d00000001000000
Device is in Sahara error state, please reboot the device.
Library.utils - Mode detected: sahara
Sahara in error state, resetting ...
Library.utils - TX:0700000008000000
Library.utils - get_rsp:0x80
Library.utils - RX:0800000008000000

What could cause the timeout?

bkerler commented 3 years ago

Please grab the latest commit and use --debugmode and send me the log.txt file ;) don't use the tagged versions, they are considered to be unstable as of today

bkerler commented 3 years ago

Also it could be that you are in memory dump sahara mode, not flashing sahara mode.

bkerler commented 3 years ago

Also, what command did you use ? We seem to have a small bug in the readflash function, which I will have a look at as well soon

bkerler commented 3 years ago

I've ordered a 8000 4g, so I will be able to test it and add full support very soon

postapczuk commented 3 years ago

ok, it seems to be working with latest master :) Thanks!

bkerler commented 3 years ago

Great, thx for the feedback :)