GithubHelp home page GithubHelp logo

usb.core.USBError about mtkclient HOT 2 CLOSED

bkerler avatar bkerler commented on July 17, 2024
usb.core.USBError

from mtkclient.

Comments (2)

rebainoor avatar rebainoor commented on July 17, 2024

C:\Users\Administrateur\Desktop\mtkclient-1.4>python mtk dumpbrom --ptype=kamakiri --filename=brom.bin --debugmode
Keystone library is missing (optional).
MTK Flash/Exploit Client V1.4 (c) B.Kerler 2020-2021
Preloader - Status: Waiting for PreLoader VCOM, please connect mobile
usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.usb_class
usb_class - [LIB]: ←[95mCouldn't detect the device. Is it connected ?←[0m
.
--- Logging error ---
Traceback (most recent call last):
File "C:\Users\Administrateur\AppData\Local\Programs\Python\Python39\lib\logging_init_.py", line 1082, in emit
stream.write(msg + self.terminator)
File "C:\Users\Administrateur\AppData\Local\Programs\Python\Python39\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u0326' in position 801: character maps to
Call stack:
File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtk", line 939, in
mtk = Main().run()
File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtk", line 302, in run
if mtk.preloader.init(args=self.args, readsocid=readsocid):
File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtkclient\Library\mtk_preloader.py", line 119, in init
res=self.mtk.port.handshake(maxtries=maxtries)
File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtkclient\Library\Port.py", line 107, in handshake
self.cdc.connected = self.cdc.connect()
File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtkclient\Library\usblib.py", line 291, in connect
self.debug(self.configuration)
Message: <CONFIGURATION 1: 0 mA>
Arguments: ()
usb_class
usb_class - [LIB]: ←[95m CONFIGURATION 1: 0 mA ====================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x43 (67 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x0
bmAttributes : 0x80 Bus Powered
bMaxPower : 0x0 (0 mA)
INTERFACE 0: CDC Communication =========================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x4 Interface
bInterfaceNumber : 0x0
bAlternateSetting : 0x0
bNumEndpoints : 0x1
bInterfaceClass : 0x2 CDC Communication
bInterfaceSubClass : 0x2
bInterfaceProtocol : 0x1
iInterface : 0x1 comm_if̦data_if̄Љ召
ENDPOINT 0x84: Interrupt IN ==========================
bLength : 0x7 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x84 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x1
INTERFACE 1: CDC Data ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x4 Interface
bInterfaceNumber : 0x1
bAlternateSetting : 0x0
bNumEndpoints : 0x2
bInterfaceClass : 0xa CDC Data
bInterfaceSubClass : 0x0
bInterfaceProtocol : 0x0
iInterface : 0x2 data_if̄Љ召►呪풅ཊꤛ漢䕄礤
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←[0m
usb_class
usb_class - [LIB]: ←[95mNo kernel driver supported: Operation not supported or unimplemented on this platform←[0m

Port - Device detected :)
usb_class
usb_class - [LIB]: ←[95m[' File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtk", line 939, in \n mtk = Main().run()\n', ' File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtk", line 302, in run\n if mtk.preloader.init(args=self.args, readsocid=readsocid):\n', ' File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtkclient\Library\mtk_preloader.py", line 128, in init\n if not self.echo(self.Cmd.GET_HW_CODE.value): # 0xFD\n']←[0m
usb_class
usb_class - [LIB]: ←[95mTX:fd←[0m
usb_class
usb_class - [LIB]: ←[95musbread:0x1←[0m
usb_class
usb_class - [LIB]: ←[95m[' File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtk", line 939, in \n mtk = Main().run()\n', ' File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtk", line 302, in run\n if mtk.preloader.init(args=self.args, readsocid=readsocid):\n', ' File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtkclient\Library\mtk_preloader.py", line 128, in init\n if not self.echo(self.Cmd.GET_HW_CODE.value): # 0xFD\n']←[0m
Traceback (most recent call last):
File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtk", line 939, in
mtk = Main().run()
File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtk", line 302, in run
if mtk.preloader.init(args=self.args, readsocid=readsocid):
File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtkclient\Library\mtk_preloader.py", line 128, in init
if not self.echo(self.Cmd.GET_HW_CODE.value): # 0xFD
File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtkclient\Library\Port.py", line 160, in echo
tmp = self.usbread(len(val))
File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtkclient\Library\usblib.py", line 480, in usbread
v=self.read(size)
File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtkclient\Library\usblib.py", line 399, in read
self.verify_data(rxBuffer, "RX:")
File "C:\Users\Administrateur\Desktop\mtkclient-1.4\mtkclient\Library\usblib.py", line 139, in verify_data
self.debug(pre + data)
TypeError: can only concatenate str (not "array.array") to str

C:\Users\Administrateur\Desktop\mtkclient-1.4>

from mtkclient.

bkerler avatar bkerler commented on July 17, 2024

fixed with commit 13e43af

from mtkclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.