【結構行けたのに...】ブートローダーアンロックしてみたかった #2

えぇ!?

何でえぇなんだよー

とりあえず再起動しました

もう一回やってみて

なぜかものすごく応答速度が遅い

何の応答速度?

デバイスを探すループが遅いせいでちょうどPreloaderが始まって終わった瞬間に次の探索になる

あ
違う
スマホを繋いでるハブが認識してなかった

..Port
Port - [LIB]: USB enumeration error: Operation not supported or unimplemented on this platform - retrying...
.Port
Port - [LIB]: USB enumeration error: Operation not supported or unimplemented on this platform - retrying...
.Port
Port - [LIB]: USB enumeration error: Operation not supported or unimplemented on this platform - retrying...
.Port
Port - [LIB]: USB enumeration error: Operation not supported or unimplemented on this platform - retrying...
.Port
Port - [LIB]: USB enumeration error: Operation not supported or unimplemented on this platform - retrying...
.Port
Port - [LIB]: USB enumeration error: Operation not supported or unimplemented on this platform - retrying...
...Preloader

ダメだ

VCOMドライバを入れたのが間違いでした
アンストしたら結構進捗

何出た?

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:09890000
Preloader - Detected regular mode !
Preloader -     CPU:                    MT6833(Dimensity 700 5G k6833)
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:                   0x73
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:                    0x989
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:b25c34e99d09e59d33238b9558701f4e
DeviceClass
DeviceClass - [LIB]: USB get_meid: length(0x2)
DeviceClass
DeviceClass - [LIB]: RX:0000
Preloader - ME_ID:                      B25C34E99D09E59D33238B9558701F4E
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:03652e90e718c85e4113883c23d372bca8da8c63abf01f1d1d063ee56b3e44d8
DeviceClass
DeviceClass - [LIB]: USB get_socid: length(0x2)
DeviceClass
DeviceClass - [LIB]: RX:0000
Preloader - SOC_ID:                     03652E90E718C85E4113883C23D372BCA8DA8C63ABF01F1D1D063EE56B3E44D8
Mtk - We're not in bootrom, trying to crash da...
Exploitation - Crashing da...
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:
DeviceClass
DeviceClass - [LIB]: USB rword: length(0x4)
DeviceClass
DeviceClass - [LIB]: RX:00001d18
Preloader
Preloader - [LIB]: upload_data failed with error: Unknown: 0x1d18
Preloader
Preloader - [LIB]: Error on uploading da data
Preloader - Status: Waiting for PreLoader VCOM, please reconnect mobile/iot device to brom mode
DeviceClass

おー
接続できてるね

最後のやつはsocが新しすぎてmtkclientが使ってる脆弱性が使えなくて失敗してるっぽい

なるほどねえ

え、どうするんだこれ
TWRP入れるか?

入るか?そもそも

ブートローダーアンロックすらできないならtwrpは無理だと思う
このスマホ用のやつもないだろうし

うーんまあそうか
どうしよ

Supported for All MTK Devices.って書いてあったのに…

失敗ですね