Skip to content

Add device ID extraction from partitions for broken bootloader scenario#1

Draft
Copilot wants to merge 62 commits intomainfrom
copilot/update-mt6768-support
Draft

Add device ID extraction from partitions for broken bootloader scenario#1
Copilot wants to merge 62 commits intomainfrom
copilot/update-mt6768-support

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 8, 2026

When bootloader is broken, fastboot oem get_unlock_data is unavailable. Users need device identification (IMEI, Serial) for technical support or device verification.

Changes

Documentation

  • DEVICE_ID_SIN_BOOTLOADER.md (12.5 KB): Guide for extracting device info from flash partitions

    • proinfo partition structure and offsets (IMEI @ 0x100, Serial @ 0x180, Barcode @ 0x1C0)
    • nvdata partition analysis for IMEI extraction from compressed NVRAM data
    • mtkclient commands for partition dumps
    • Manual search methods using strings/hexdump
    • 7zip extraction methods for compressed partitions
    • Clear warnings: generated unlock_data lacks bootloader signature, won't work for actual unlock
    • Viable alternatives: repair bootloader, contact Motorola service
  • SECCFG_VS_GET_UNLOCK_DATA.md (10.9 KB): Clarifies difference between seccfg partition data and get_unlock_data

    • Explains why seccfg cannot be used to derive unlock_data
    • Detailed comparison of data sources and purposes
    • Correct process for obtaining unlock_data via fastboot
  • ANALISIS_COMPLETO_PARTICIONES.md (15 KB): Comprehensive analysis of 29 partition images

    • Hexadecimal and string analysis results
    • Device ID locations and extraction methods
    • Cryptographic signature analysis
    • get_unlock_data format explanation
  • ANALISIS_7ZIP_FIRMAS.md (16 KB): 7zip extraction and signature analysis

    • IMEI extraction from nvdata compressed NVRAM structure
    • Signature detection (GZIP, BZIP2, ZIP, Android bootimg)
    • Keybox and attestation certificate analysis
    • Complete device identification data

Tooling

  • extract_device_id.py (5.2 KB): Automated extraction script

    • Pattern matching for IMEI (15 digits), Motorola serial (LMxxxVxxxxxx), barcode (SBxxxxxxxxxx)
    • IMEI checksum validation (Luhn algorithm)
    • Experimental unlock_data generation (informational only, non-functional without bootloader)
  • reconstruct_unlock_data.py (4 KB): Experimental unlock_data reconstruction

    • Reconstructs unlock_data format from extracted device info
    • Analyzes proinfo and nvdata for complete device identification
    • Clear warnings about missing cryptographic signature

Usage

# Extract partitions with mtkclient
python mtk.py r proinfo proinfo.bin --loader DA_A15_lamu_FORBID_SIGNED.bin
python mtk.py r nvdata nvdata.bin --loader DA_A15_lamu_FORBID_SIGNED.bin

# Extract device info from proinfo
python extract_device_id.py proinfo.bin

# Extract IMEI from nvdata (requires 7zip extraction)
7z x nvdata.bin
# IMEI located in: md/NVRAM/NVD_IMEI/CSKA_000 at offset 0x50
=== Device Information ===
IMEI: 359488357396203 ✓ (Valid checksum)
Serial: ZY32LNRW97
Barcode: VEKRL52ZJD
Product: amxmx
Chip ID: 53498853376902f3

Real-World Analysis

Successfully analyzed 29 partition dumps (~657 MB) from MT6768 device:

  • ✅ IMEI extracted from nvdata.bin compressed NVRAM structure
  • ✅ Serial number, barcode, product info from proinfo.bin
  • ✅ WiFi/BT MACs, modem firmware version identified
  • ❌ Private keys not found (stored in secure element, not flash partitions)
  • ❌ Bootloader signature cannot be reconstructed without private keys

Note: Extracted info enables technical support contact (IMEI + Serial sufficient for Motorola support) but cannot replace bootloader's cryptographic signature for unlock operations.

Original prompt

descarga el da agent https://github.com/EduardoA3677/mtkclient/releases/download/v1/DA_A15_lamu_FORBID_SIGNED.bin el preloader https://github.com/EduardoA3677/mtkclient/releases/download/v1/preloader_lamu.bin y analiza el pcapng https://github.com/EduardoA3677/mtkclient/releases/download/v1/1.pcapng para obtener el auth y toda la infromacion del pcapng (el pcapng es el dump de usb de un flasheo con la herramienta oficial de flash) analizalo y agrega soporte o actualiza el sopprte actuañ del mt6768 actualiza la deteccion de pid vid y el exploit


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 11 commits February 8, 2026 11:16
Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
…guide

Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
…nálisis pcapng completo)

Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
…mplementación desde cero

Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
…ar estructura del proyecto

Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
…T6768

Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
…entas y métodos

Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
…s.py

Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
Copilot AI changed the title [WIP] Update MT6768 support and analyze PCAPNG for auth Add complete MT6768 Lamu support with RSA keys and protocol fixes Feb 8, 2026
Copilot AI requested a review from EduardoA3677 February 8, 2026 11:55
@EduardoA3677
Copy link
Copy Markdown
Owner

@copilot fix nt> python mtk.py gettargetconfig --loader .\mtkclient\Loader\DA_A15_lamu_FORBID_SIGNED.bin --ptype kamakiri2 --preloader .\mtkclient\Loader\Preloader\preloader_lamu.bin --crash
ArgHandler - O:Var1: 0x0
DAconfig - Using custom loader: .\mtkclient\Loader\DA_A15_lamu_FORBID_SIGNED.bin
Preloader - Status: Waiting for PreLoader VCOM, please reconnect mobile/iot device to brom mode

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

...........

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

Port - Handshake failed after retries
Preloader
Preloader - [LIB]: Status: Handshake failed, retrying...
Port - Handshake failed after retries
Preloader
Preloader - [LIB]: Status: Handshake failed, retrying...

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

...........

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

...........

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

...........

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

Port - Handshake failed after retries
Preloader
Preloader - [LIB]: Status: Handshake failed, retrying...
Port - Handshake failed after retries
Preloader
Preloader - [LIB]: Status: Handshake failed, retrying...

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

...........

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

...........

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

...........

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

...........

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

..........Preloader
Preloader - [LIB]: Status: Handshake failed, retrying...

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

...........

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

...........

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

...........

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

...........

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

..........Preloader
Preloader - [LIB]: Status: Handshake failed, retrying...
Traceback (most recent call last):
File "C:\Users\Eduardo\mtkclient\mtk.py", line 342, in
sys.exit(main() or 0)
^^^^^^
File "C:\Users\Eduardo\mtkclient\mtk.py", line 338, in main
return mtk.run(parser)
^^^^^^^^^^^^^^^
File "C:\Users\Eduardo\mtkclient\mtkclient\Library\mtk_main.py", line 675, in run
if mtk.preloader.init():
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Eduardo\mtkclient\mtkclient\Library\mtk_preloader.py", line 164, in init
res = self.mtk.port.handshake(maxtries=maxtries)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Eduardo\mtkclient\mtkclient\Library\Port.py", line 200, in handshake
time.sleep(0.3)
KeyboardInterrupt
PS C:\Users\Eduardo\mtkclient> python mtk.py gettargetconfig --loader .\mtkclient\Loader\DA_A15_lamu_FORBID_SIGNED.bin --ptype kamakiri2 --preloader .\mtkclient\Loader\Preloader\preloader_lamu.bin --debugmode --noreconnect --skipwdt
ArgHandler - O:Var1: 0x0
DAconfig - Using custom loader: .\mtkclient\Loader\DA_A15_lamu_FORBID_SIGNED.bin
Main
Main - [LIB]: mtk.py gettargetconfig --loader .\mtkclient\Loader\DA_A15_lamu_FORBID_SIGNED.bin --ptype kamakiri2 --preloader .\mtkclient\Loader\Preloader\preloader_lamu.bin --debugmode --noreconnect --skipwdt
Preloader - Status: Waiting for PreLoader VCOM, please reconnect mobile/iot device to brom mode
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
Port
Port - [LIB]: Handshake attempt 1 failed: [Errno 5] Input/Output Error
Port
Port - [LIB]: Handshake attempt 2 failed: [Errno 10060] Operation timed out
Port
Port - [LIB]: Handshake attempt 3 failed: [Errno 10060] Operation timed out
Port
Port - [LIB]: Handshake attempt 4 failed: [Errno 10060] Operation timed out
Port
Port - [LIB]: Handshake attempt 5 failed: [Errno 10060] Operation timed out
Port - Handshake failed after retries
Preloader
Preloader - [LIB]: Status: Handshake failed, retrying...
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
Port
Port - [LIB]: Handshake attempt 1 failed: [Errno 5] Input/Output Error
Port
Port - [LIB]: Handshake attempt 2 failed: [Errno 19] No such device (it may have been disconnected)
Port
Port - [LIB]: Handshake attempt 3 failed: [Errno 19] No such device (it may have been disconnected)
Port
Port - [LIB]: Handshake attempt 4 failed: [Errno 19] No such device (it may have been disconnected)
Port
Port - [LIB]: Handshake attempt 5 failed: [Errno 5] Input/Output Error
Port - Handshake failed after retries
Preloader
Preloader - [LIB]: Status: Handshake failed, retrying...
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
Port
Port - [LIB]: Handshake attempt 1 failed: [Errno 5] Input/Output Error
Port
Port - [LIB]: Handshake attempt 2 failed: [Errno 10060] Operation timed out
Port
Port - [LIB]: Handshake attempt 3 failed: [Errno 10060] Operation timed out
Port
Port - [LIB]: Handshake attempt 4 failed: [Errno 10060] Operation timed out
Port
Port - [LIB]: Handshake attempt 5 failed: [Errno 10060] Operation timed out
Port - Handshake failed after retries
.Preloader
Preloader - [LIB]: Status: Handshake failed, retrying...
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
Port
Port - [LIB]: Handshake attempt 1 failed: [Errno 5] Input/Output Error
Port
Port - [LIB]: Handshake attempt 2 failed: [Errno 19] No such device (it may have been disconnected)
Port
Port - [LIB]: Handshake attempt 3 failed: [Errno 19] No such device (it may have been disconnected)
Port
Port - [LIB]: Handshake attempt 4 failed: [Errno 19] No such device (it may have been disconnected)
Port
Port - [LIB]: Handshake attempt 5 failed: [Errno 5] Input/Output Error
Port - Handshake failed after retries
Preloader
Preloader - [LIB]: Status: Handshake failed, retrying...
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
.
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?

Copy link
Copy Markdown
Author

Copilot AI commented Feb 8, 2026

@copilot fix nt> python mtk.py gettargetconfig --loader .\mtkclient\Loader\DA_A15_lamu_FORBID_SIGNED.bin --ptype kamakiri2 --preloader .\mtkclient\Loader\Preloader\preloader_lamu.bin --crash
ArgHandl...

The handshake error you're experiencing is happening at the preloader/BROM connection stage, before the DA is loaded (my changes fix the DA handshake that happens later).

Quick Fix Steps:

  1. Proper BROM mode entry:

    • Power off device completely
    • Hold Vol+ AND Vol- buttons together
    • While holding, connect USB cable
    • Keep holding for 3-5 seconds
    • Release buttons
  2. Simplified command (remove redundant flags):

    python mtk.py gettargetconfig --ptype kamakiri2 --preloader mtkclient\Loader\Preloader\preloader_lamu.bin

    The --crash flag is redundant with --ptype kamakiri2, and --loader isn't needed for just reading config.

  3. If still failing, try without exploit first:

    python mtk.py gettargetconfig

    This tests basic connection before exploit.

Root cause: Device isn't entering BROM mode properly. The "Handshake failed" message means mtkclient can't establish initial USB communication with the bootrom. This happens before any DA loading or my protocol fixes are involved.

Note: My changes fixed the DA handshake (READY vs 0xC0), which happens after successful BROM connection and DA upload. You're not reaching that stage yet.

@copilot fix nt> python mtk.py gettargetconfig --loader .\mtkclient\Loader\DA_A15_lamu_FORBID_SIGNED.bin --ptype kamakiri2 --preloader .\mtkclient\Loader\Preloader\preloader_lamu.bin --crash
ArgHandl...

The handshake failure is a BROM/Preloader connection issue, not related to the DA handshake fix in this PR.

Quick Fix: Remove the --crash flag from your command. The --crash and --preloader flags conflict with each other.

Use this instead:

python mtk.py gettargetconfig --loader .\mtkclient\Loader\DA_A15_lamu_FORBID_SIGNED.bin --ptype kamakiri2 --preloader .\mtkclient\Loader\Preloader\preloader_lamu.bin

Or without preloader:

python mtk.py gettargetconfig --loader .\mtkclient\Loader\DA_A15_lamu_FORBID_SIGNED.bin --ptype kamakiri2

Complete troubleshooting guide: See MT6768_LAMU_HANDSHAKE_FIX.md (commit af7978a) for detailed solutions including:

  • Correct device connection modes (BROM vs Preloader)
  • USB driver installation (Windows)
  • USB port/cable issues
  • Device-specific boot sequences
  • Timing adjustments

The handshake must succeed before the DA agent is loaded, so this is a device connection issue, not a protocol issue.

…ssues

Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
@EduardoA3677
Copy link
Copy Markdown
Owner

@copilot es posible usar directamente el puerto com sin usbdk

Copy link
Copy Markdown
Author

Copilot AI commented Feb 8, 2026

@copilot es posible usar directamente el puerto com sin usbdk

Sí, es posible usar el puerto COM directamente sin UsbDk usando el parámetro --serialport.

Usando puerto COM (sin UsbDk):

# Auto-detectar puerto COM
python mtk.py gettargetconfig --serialport

# O especificar puerto manualmente
python mtk.py gettargetconfig --serialport COM3

Diferencias importantes:

  1. Con UsbDk (modo USB): Comunicación directa USB, más rápido, funciona en BROM mode
  2. Sin UsbDk (modo Serial/COM): Usa driver COM de Windows, requiere que el dispositivo esté en modo preloader o meta mode

Limitaciones del modo Serial:

  • No funciona con exploits de bootrom (kamakiri, amonet, etc.)
  • Solo funciona cuando el dispositivo ya tiene preloader activo
  • Velocidad reducida comparado con USB directo

Para tu caso MT6768 Lamu:

# Intentar con puerto COM
python mtk.py gettargetconfig --serialport --loader DA_A15_lamu_FORBID_SIGNED.bin

# Si el dispositivo no responde, debes usar UsbDk (modo USB)
# porque probablemente estás en BROM mode

El modo serial es útil principalmente para dispositivos más antiguos o cuando tienes problemas con UsbDk, pero para operaciones completas (exploits, lectura/escritura flash) es mejor usar UsbDk con conexión USB directa.

@copilot es posible usar directamente el puerto com sin usbdk

Sí, mtkclient ya soporta conexión directa por puerto COM sin necesidad de UsbDk.

Usar SerialLib (puerto COM directo):

# Especificar el puerto COM directamente
python mtk.py gettargetconfig --serialport COM3

# O en Linux/macOS
python mtk.py gettargetconfig --serialport /dev/ttyUSB0

mtkclient detecta automáticamente si usar USB o Serial:

  • UsbLib: Conexión USB con libusb (por defecto)
  • SerialLib: Conexión serial cuando especificas --serialport

Ventajas del puerto COM:

  • No requiere drivers especiales (usa pyserial)
  • Funciona con VCOM estándar de Windows
  • Compatible con adaptadores USB-Serial

El código en mtkclient/Library/Connection/seriallib.py implementa la comunicación serial completa sin dependencias de USB.

Copilot AI and others added 2 commits February 8, 2026 20:38
…mode documentation

Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
Copilot AI and others added 2 commits February 8, 2026 23:12
Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
Copilot AI changed the title Fix GUI crash: Handle Mock pagesize in flash operations Fix GUI flash operations crash and add comprehensive MT6768 Lamu support Feb 8, 2026
…mendation

Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
Copilot AI changed the title Fix GUI flash operations crash and add comprehensive MT6768 Lamu support Add Kaeru compatibility analysis and official unlock guide for MT6768 Lamu Feb 9, 2026
Copilot AI and others added 2 commits February 9, 2026 00:33
… derivation

Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
Copilot AI changed the title Add Kaeru compatibility analysis and official unlock guide for MT6768 Lamu Analyze FlashToolLib.dll RE data: RSA keys for signing, not seccfg AES derivation Feb 9, 2026
Copilot AI and others added 2 commits February 9, 2026 00:52
Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
Copilot AI changed the title Analyze FlashToolLib.dll RE data: RSA keys for signing, not seccfg AES derivation MT6768 Lamu: Complete analysis, GUI pagesize fix, and comprehensive documentation Feb 9, 2026
Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
Copilot AI changed the title MT6768 Lamu: Complete analysis, GUI pagesize fix, and comprehensive documentation Add documentation clarifying seccfg vs get_unlock_data distinction Feb 9, 2026
- DEVICE_ID_SIN_BOOTLOADER.md: 12.5 KB comprehensive guide
- extract_device_id.py: 5.2 KB functional script
- Extracts IMEI, Serial, Barcode from proinfo partition
- Validates IMEI checksum (Luhn algorithm)
- Generates experimental unlock_data (with warnings)
- Includes manual search methods
- Provides viable alternatives
- Clear warnings about limitations

Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
Copilot AI changed the title Add documentation clarifying seccfg vs get_unlock_data distinction Add device ID extraction from partitions for broken bootloader scenario Feb 9, 2026
@EduardoA3677
Copy link
Copy Markdown
Owner

@copilot descraga https://github.com/EduardoA3677/mtkclient/releases/download/v1/e.zip y descomprinelo y analiza las imagenes en busca de la llave privada y del device id del comando

Copilot AI and others added 2 commits February 9, 2026 02:35
…from e.zip

Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
…evice IDs complete

Co-authored-by: EduardoA3677 <82284031+EduardoA3677@users.noreply.github.com>
Copy link
Copy Markdown
Author

Copilot AI commented Feb 9, 2026

@copilot descraga https://github.com/EduardoA3677/mtkclient/releases/download/v1/e.zip y descomprinelo y analiza las imagenes en busca de la llave privada y del device id del comando

He completado el análisis exhaustivo de las imágenes:

✅ IMEI ENCONTRADO: 359488357396203

  • Extraído de nvdata.bin usando 7zip
  • Ubicación: md/NVRAM/NVD_IMEI/CSKA_000 @ offset 0x50
  • Checksum Luhn válido

🔍 Firmas Analizadas:

  • 8 particiones extraídas exitosamente con 7zip
  • Firmas encontradas: GZIP (1f8b), ZIP (504b), BZIP2 (425a)
  • ANDROID! y ELF en bootloaders

📊 Device ID Completo:

IMEI: 359488357396203
Serial: ZY32LNRW97
Barcode: VEKRL52ZJD
Product: amxmx
WiFi MAC: 00:62:01:8a:ed:b2
BT MAC: 00:62:01:8a:ed:b1:60

❌ Private Keys: No encontradas (solo en secure element, no en particiones)

💡 unlock_data Reconstruido (EXPERIMENTAL):

(bootloader) 0A40040192024205#333539...
(bootloader) 5A5933324C4E52573937#0000...

⚠️ NO FUNCIONARÁ - Falta signature válida del bootloader

📄 Documentos:

  • ANALISIS_7ZIP_FIRMAS.md (16 KB)
  • ANALISIS_COMPLETO_PARTICIONES.md (15 KB)
  • reconstruct_unlock_data.py (script)

Commit: 45c40d6

Recomendación: Contactar Motorola Support con IMEI 359488357396203 + Serial ZY32LNRW97 para unlock oficial.

@EduardoA3677
Copy link
Copy Markdown
Owner

@copilot bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
Port
Port - [LIB]: Handshake attempt 1 failed: Echo mismatch: got array('B', [160]), expected 5f
Port
Port - [LIB]: Handshake attempt 2 failed: Echo mismatch: got array('B', [160]), expected 5f
Port
Port - [LIB]: Handshake attempt 3 failed: Echo mismatch: got array('B', [160]), expected 5f
Port
Port - [LIB]: Handshake attempt 4 failed: Echo mismatch: got array('B', [160]), expected 5f
Port
Port - [LIB]: Handshake attempt 5 failed: Echo mismatch: got array('B', [160]), expected 5f
Port - Handshake failed after retries
Preloader
Preloader - [LIB]: Status: Handshake failed, retrying...
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
Port
Port - [LIB]: Handshake attempt 1 failed: Echo mismatch: got array('B', [160]), expected 5f
Port
Port - [LIB]: Handshake attempt 2 failed: Echo mismatch: got array('B', [160]), expected 5f
Port
Port - [LIB]: Handshake attempt 3 failed: Echo mismatch: got array('B', [160]), expected 5f
Port
Port - [LIB]: Handshake attempt 4 failed: Echo mismatch: got array('B', [160]), expected 5f
Port
Port - [LIB]: Handshake attempt 5 failed: Echo mismatch: got array('B', [160]), expected 5f
Port - Handshake failed after retries
Preloader
Preloader - [LIB]: Status: Handshake failed, retrying...
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
Port
Port - [LIB]: Handshake attempt 1 failed: Echo mismatch: got array('B', [82]), expected 5f
Port
Port - [LIB]: Handshake attempt 2 failed: Echo mismatch: got array('B', [82]), expected 5f
Port
Port - [LIB]: Handshake attempt 3 failed: Echo mismatch: got array('B', [82]), expected 5f
Port
Port - [LIB]: Handshake attempt 4 failed: Echo mismatch: got array('B', [82]), expected f5
Port
Port - [LIB]: Handshake attempt 5 failed: Echo mismatch: got array('B', [82]), expected 5f
Port - Handshake failed after retries
Preloader
Preloader - [LIB]: Status: Handshake failed, retrying...
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
Port
Port - [LIB]: Handshake attempt 1 failed: Echo mismatch: got array('B', [82]), expected 5f
Port
Port - [LIB]: Handshake attempt 2 failed: Echo mismatch: got array('B', [82]), expected 5f
Port - Device detected :)
DeviceClass
DeviceClass - [LIB]: TX:fd
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:fd
DeviceClass
DeviceClass - [LIB]: USB rdword: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:07070000
Preloader - CPU: MT6768/MT6769(Helio P65/G85 k68v1)
Preloader - HW version: 0x0
Preloader - WDT: 0x10007000
Preloader - Uart: 0x11002000
Preloader - Brom payload addr: 0x100a00
Preloader - DA payload addr: 0x201000
Preloader - CQ_DMA addr: 0x10212000
Preloader - Var1: 0x25
Preloader - Disabling Watchdog...
DeviceClass
DeviceClass - [LIB]: TX:d4
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:d4
DeviceClass
DeviceClass - [LIB]: TX:10007000
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:10007000
DeviceClass
DeviceClass - [LIB]: TX:00000001
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:00000001
DeviceClass
DeviceClass - [LIB]: USB rword: length(0x2)
DeviceClass
DeviceClass - [LIB]: RX:0000
DeviceClass
DeviceClass - [LIB]: TX:22000064
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:22000064
DeviceClass
DeviceClass - [LIB]: USB rword: length(0x2)
DeviceClass
DeviceClass - [LIB]: RX:0000
Preloader - HW code: 0x707
DeviceClass
DeviceClass - [LIB]: TX:d8
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:d8
DeviceClass
DeviceClass - [LIB]: USB rbyte: length(0x6)
DeviceClass
DeviceClass - [LIB]: RX:000000050000
Preloader - Target config: 0x5
Preloader - SBC enabled: True
Preloader - SLA enabled: False
Preloader - DAA enabled: True
Preloader - SWJTAG enabled: True
Preloader - EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT: False
Preloader - Root cert required: False
Preloader - Mem read auth: False
Preloader - Mem write auth: False
Preloader - Cmd 0xC8 blocked: False
Preloader - Get Target info
DeviceClass
DeviceClass - [LIB]: TX:fe
DeviceClass
DeviceClass - [LIB]: USB get_blver: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:03
DeviceClass
DeviceClass - [LIB]: TX:ff
DeviceClass
DeviceClass - [LIB]: USB get_bromver: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:ff
DeviceClass
DeviceClass - [LIB]: TX:fc
DeviceClass
DeviceClass - [LIB]: USB mtk_cmd: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:fc
DeviceClass
DeviceClass - [LIB]: USB mtk_cmd: length(0x8)
DeviceClass
DeviceClass - [LIB]: RX:8a00ca0000000000
Preloader - HW subcode: 0x8a00
Preloader - HW Ver: 0xca00
Preloader - SW Ver: 0x0
DeviceClass
DeviceClass - [LIB]: TX:fe
DeviceClass
DeviceClass - [LIB]: USB get_meid: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:03
DeviceClass
DeviceClass - [LIB]: TX:e1
DeviceClass
DeviceClass - [LIB]: USB get_meid: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:e1
DeviceClass
DeviceClass - [LIB]: USB get_meid: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:00000010
DeviceClass
DeviceClass - [LIB]: USB get_meid: length(0x10)
DeviceClass
DeviceClass - [LIB]: RX:0871a6bef40cd24484d4641fed5e595f
DeviceClass
DeviceClass - [LIB]: USB get_meid: length(0x2)
DeviceClass
DeviceClass - [LIB]: RX:0000
Preloader - ME_ID: 0871A6BEF40CD24484D4641FED5E595F
DeviceClass
DeviceClass - [LIB]: TX:fe
DeviceClass
DeviceClass - [LIB]: USB get_socid: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:03
DeviceClass
DeviceClass - [LIB]: TX:e7
DeviceClass
DeviceClass - [LIB]: USB get_socid: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:e7
DeviceClass
DeviceClass - [LIB]: USB get_socid: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:00000020
DeviceClass
DeviceClass - [LIB]: USB get_socid: length(0x20)
DeviceClass
DeviceClass - [LIB]: RX:3da255fa38f23936bb09deec74da787b48c93bf98b9dd1c5a5783ecfe99360dc
DeviceClass
DeviceClass - [LIB]: USB get_socid: length(0x2)
DeviceClass
DeviceClass - [LIB]: RX:0000
Preloader - SOC_ID: 3DA255FA38F23936BB09DEEC74DA787B48C93BF98B9DD1C5A5783ECFE99360DC
Mtk - We're not in bootrom, trying to crash da...
Exploitation - Crashing da (mode 0)...
DeviceClass
DeviceClass - [LIB]: TX:d7
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:d7
DeviceClass
DeviceClass - [LIB]: TX:00000000
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:00000000
DeviceClass
DeviceClass - [LIB]: TX:00000100
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:00000100
DeviceClass
DeviceClass - [LIB]: TX:00000100
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:00000100
DeviceClass
DeviceClass - [LIB]: USB rword: length(0x2)
DeviceClass
DeviceClass - [LIB]: RX:0000
DeviceClass
DeviceClass - [LIB]: TX:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
DeviceClass
DeviceClass - [LIB]: TX:
DAconfig - Using custom loader: .\mtkclient\Loader\DA_A15_lamu_FORBID_SIGNED.bin
Preloader - Status: Waiting for PreLoader VCOM, please reconnect mobile/iot device to brom mode
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
Port
Port - [LIB]: Handshake attempt 1 failed: Echo mismatch: got array('B', [82]), expected 5f
Port
Port - [LIB]: Handshake attempt 2 failed: Echo mismatch: got array('B', [82]), expected 5f
Port - Device detected :)
DeviceClass
DeviceClass - [LIB]: TX:fd
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:fd
DeviceClass
DeviceClass - [LIB]: USB rdword: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:07070000
Preloader - CPU: MT6768/MT6769(Helio P65/G85 k68v1)
Preloader - HW version: 0x0
Preloader - WDT: 0x10007000
Preloader - Uart: 0x11002000
Preloader - Brom payload addr: 0x100a00
Preloader - DA payload addr: 0x201000
Preloader - CQ_DMA addr: 0x10212000
Preloader - Var1: 0x25
Preloader - Disabling Watchdog...
DeviceClass
DeviceClass - [LIB]: TX:d4
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:d4
DeviceClass
DeviceClass - [LIB]: TX:10007000
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:10007000
DeviceClass
DeviceClass - [LIB]: TX:00000001
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:00000001
DeviceClass
DeviceClass - [LIB]: USB rword: length(0x2)
DeviceClass
DeviceClass - [LIB]: RX:0000
DeviceClass
DeviceClass - [LIB]: TX:22000064
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:22000064
DeviceClass
DeviceClass - [LIB]: USB rword: length(0x2)
DeviceClass
DeviceClass - [LIB]: RX:0000
Preloader - HW code: 0x707
DeviceClass
DeviceClass - [LIB]: TX:d8
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:d8
DeviceClass
DeviceClass - [LIB]: USB rbyte: length(0x6)
DeviceClass
DeviceClass - [LIB]: RX:000000050000
Preloader - Target config: 0x5
Preloader - SBC enabled: True
Preloader - SLA enabled: False
Preloader - DAA enabled: True
Preloader - SWJTAG enabled: True
Preloader - EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT: False
Preloader - Root cert required: False
Preloader - Mem read auth: False
Preloader - Mem write auth: False
Preloader - Cmd 0xC8 blocked: False
Preloader - Get Target info
DeviceClass
DeviceClass - [LIB]: TX:fe
DeviceClass
DeviceClass - [LIB]: USB get_blver: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:03
DeviceClass
DeviceClass - [LIB]: TX:ff
DeviceClass
DeviceClass - [LIB]: USB get_bromver: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:ff
DeviceClass
DeviceClass - [LIB]: TX:fc
DeviceClass
DeviceClass - [LIB]: USB mtk_cmd: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:fc
DeviceClass
DeviceClass - [LIB]: USB mtk_cmd: length(0x8)
DeviceClass
DeviceClass - [LIB]: RX:8a00ca0000000000
Preloader - HW subcode: 0x8a00
Preloader - HW Ver: 0xca00
Preloader - SW Ver: 0x0
DeviceClass
DeviceClass - [LIB]: TX:fe
DeviceClass
DeviceClass - [LIB]: USB get_meid: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:03
DeviceClass
DeviceClass - [LIB]: TX:e1
DeviceClass
DeviceClass - [LIB]: USB get_meid: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:e1
DeviceClass
DeviceClass - [LIB]: USB get_meid: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:00000010
DeviceClass
DeviceClass - [LIB]: USB get_meid: length(0x10)
DeviceClass
DeviceClass - [LIB]: RX:0871a6bef40cd24484d4641fed5e595f
DeviceClass
DeviceClass - [LIB]: USB get_meid: length(0x2)
DeviceClass
DeviceClass - [LIB]: RX:0000
Preloader - ME_ID: 0871A6BEF40CD24484D4641FED5E595F
DeviceClass
DeviceClass - [LIB]: TX:fe
DeviceClass
DeviceClass - [LIB]: USB get_socid: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:03
DeviceClass
DeviceClass - [LIB]: TX:e7
DeviceClass
DeviceClass - [LIB]: USB get_socid: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:e7
DeviceClass
DeviceClass - [LIB]: USB get_socid: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:00000020
DeviceClass
DeviceClass - [LIB]: USB get_socid: length(0x20)
DeviceClass
DeviceClass - [LIB]: RX:3da255fa38f23936bb09deec74da787b48c93bf98b9dd1c5a5783ecfe99360dc
DeviceClass
DeviceClass - [LIB]: USB get_socid: length(0x2)
DeviceClass
DeviceClass - [LIB]: RX:0000
Preloader - SOC_ID: 3DA255FA38F23936BB09DEEC74DA787B48C93BF98B9DD1C5A5783ECFE99360DC
Mtk
Mtk - [LIB]: Crash mode 0: Device reconnected but not in BROM mode, trying next mode...
Exploitation - Crashing da (mode 1)...
DeviceClass
DeviceClass - [LIB]: [Errno 5] Input/Output Error
DeviceClass
DeviceClass - [LIB]: [Errno 5] Input/Output Error
DeviceClass
DeviceClass - [LIB]: [Errno 5] Input/Output Error
DeviceClass - USBError(5, 'Input/Output Error')
DAconfig - Using custom loader: .\mtkclient\Loader\DA_A15_lamu_FORBID_SIGNED.bin
Preloader - Status: Waiting for PreLoader VCOM, please reconnect mobile/iot device to brom mode
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.

Port - Hint:

Power off the phone before connecting.
For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.
For preloader mode, don't press any hw button and connect usb.
If it is already connected and on, hold power for 10 seconds to reset.

DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: Couldn't detect the device. Is it connected ?
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
DeviceClass
DeviceClass - [LIB]: CONFIGURATION 1: 500 mA ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0x46 (70 bytes)
bNumInterfaces : 0x2
bConfigurationValue : 0x1
iConfiguration : 0x3 USB CDC ACM for preloader
bmAttributes : 0xc0 Self Powered
bMaxPower : 0xfa (500 mA)
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 : 0x4 CDC ACM Data Interface
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
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 : 0x5 CDC ACM Communication Interface
ENDPOINT 0x83: Interrupt IN ==========================
bLength : 0x8 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x40 (64 bytes)
bInterval : 0x10
DeviceClass
DeviceClass - [LIB]: No kernel driver supported: Operation not supported or unimplemented on this platform
Port
Port - [LIB]: Handshake attempt 1 failed: Echo mismatch: got array('B', [82]), expected 5f
Port
Port - [LIB]: Handshake attempt 2 failed: Echo mismatch: got array('B', [82]), expected 5f
Port - Device detected :)
DeviceClass
DeviceClass - [LIB]: TX:fd
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:fd
DeviceClass
DeviceClass - [LIB]: USB rdword: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:07070000
Preloader - CPU: MT6768/MT6769(Helio P65/G85 k68v1)
Preloader - HW version: 0x0
Preloader - WDT: 0x10007000
Preloader - Uart: 0x11002000
Preloader - Brom payload addr: 0x100a00
Preloader - DA payload addr: 0x201000
Preloader - CQ_DMA addr: 0x10212000
Preloader - Var1: 0x25
Preloader - Disabling Watchdog...
DeviceClass
DeviceClass - [LIB]: TX:d4
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:d4
DeviceClass
DeviceClass - [LIB]: TX:10007000
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:10007000
DeviceClass
DeviceClass - [LIB]: TX:00000001
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:00000001
DeviceClass
DeviceClass - [LIB]: USB rword: length(0x2)
DeviceClass
DeviceClass - [LIB]: RX:0000
DeviceClass
DeviceClass - [LIB]: TX:22000064
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:22000064
DeviceClass
DeviceClass - [LIB]: USB rword: length(0x2)
DeviceClass
DeviceClass - [LIB]: RX:0000
Preloader - HW code: 0x707
DeviceClass
DeviceClass - [LIB]: TX:d8
DeviceClass
DeviceClass - [LIB]: USB echo: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:d8
DeviceClass
DeviceClass - [LIB]: USB rbyte: length(0x6)
DeviceClass
DeviceClass - [LIB]: RX:000000050000
Preloader - Target config: 0x5
Preloader - SBC enabled: True
Preloader - SLA enabled: False
Preloader - DAA enabled: True
Preloader - SWJTAG enabled: True
Preloader - EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT: False
Preloader - Root cert required: False
Preloader - Mem read auth: False
Preloader - Mem write auth: False
Preloader - Cmd 0xC8 blocked: False
Preloader - Get Target info
DeviceClass
DeviceClass - [LIB]: TX:fe
DeviceClass
DeviceClass - [LIB]: USB get_blver: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:03
DeviceClass
DeviceClass - [LIB]: TX:ff
DeviceClass
DeviceClass - [LIB]: USB get_bromver: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:ff
DeviceClass
DeviceClass - [LIB]: TX:fc
DeviceClass
DeviceClass - [LIB]: USB mtk_cmd: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:fc
DeviceClass
DeviceClass - [LIB]: USB mtk_cmd: length(0x8)
DeviceClass
DeviceClass - [LIB]: RX:8a00ca0000000000
Preloader - HW subcode: 0x8a00
Preloader - HW Ver: 0xca00
Preloader - SW Ver: 0x0
DeviceClass
DeviceClass - [LIB]: TX:fe
DeviceClass
DeviceClass - [LIB]: USB get_meid: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:03
DeviceClass
DeviceClass - [LIB]: TX:e1
DeviceClass
DeviceClass - [LIB]: USB get_meid: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:e1
DeviceClass
DeviceClass - [LIB]: USB get_meid: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:00000010
DeviceClass
DeviceClass - [LIB]: USB get_meid: length(0x10)
DeviceClass
DeviceClass - [LIB]: RX:0871a6bef40cd24484d4641fed5e595f
DeviceClass
DeviceClass - [LIB]: USB get_meid: length(0x2)
DeviceClass
DeviceClass - [LIB]: RX:0000
Preloader - ME_ID: 0871A6BEF40CD24484D4641FED5E595F
DeviceClass
DeviceClass - [LIB]: TX:fe
DeviceClass
DeviceClass - [LIB]: USB get_socid: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:03
DeviceClass
DeviceClass - [LIB]: TX:e7
DeviceClass
DeviceClass - [LIB]: USB get_socid: length(0x1)
DeviceClass
DeviceClass - [LIB]: RX:e7
DeviceClass
DeviceClass - [LIB]: USB get_socid: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:00000020
DeviceClass
DeviceClass - [LIB]: USB get_socid: length(0x20)
DeviceClass
DeviceClass - [LIB]: RX:3da255fa38f23936bb09deec74da787b48c93bf98b9dd1c5a5783ecfe99360dc
DeviceClass
DeviceClass - [LIB]: USB get_socid: length(0x2)
DeviceClass
DeviceClass - [LIB]: RX:0000
Preloader - SOC_ID: 3DA255FA38F23936BB09DEEC74DA787B48C93BF98B9DD1C5A5783ECFE99360DC
Mtk
Mtk - [LIB]: Crash mode 1: Device reconnected but not in BROM mode, trying next mode...
Exploitation - Crashing da (mode 2)...
DeviceClass
DeviceClass - [LIB]: [Errno 5] Input/Output Error
DeviceClass
DeviceClass - [LIB]: [Errno 5] Input/Output Error
DeviceClass
DeviceClass - [LIB]: [Errno 5] Input/Output Error
DeviceClass - USBError(5, 'Input/Output Error')
Preloader
Preloader - [LIB]: Error on DA_Send cmd
Preloader - Jumping to 0x0
DeviceClass
DeviceClass - [LIB]: [Errno 5] Input/Output Error
DeviceClass
DeviceClass - [LIB]: [Errno 5] Input/Output Error
DeviceClass
DeviceClass - [LIB]: [Errno 5] Input/Output Error
DeviceClass - USBError(5, 'Input/Output Error')
DAconfig - Using custom loader: .\mtkclient\Loader\DA_A15_lamu_FORBID_SIGNED.bin
Preloader - Status: Waiting for PreLoader VCOM, please reconnect mobile/iot device to brom mode
DeviceClass
DeviceClass - [LIB]: Couldn't get device configuration.

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

Successfully merging this pull request may close these issues.

2 participants