Fastboot - jvandewiel/no-alexa GitHub Wiki

When booting with the uber button pressed (or TP54 to GND) and USB conected, the dot enters fastboot mode, LED ring is colored green. Following commands have been tried with the respective response.

References:

fastboot

(note that the fastboot exchanges also show up in the UART log)

./fastboot devices -l

G091B00503130KCE       fastboot
 usb:1-4

./fastboot getvar all

(bootloader) 	antirback_tee_version: 0x0001
(bootloader) 	antirback_lk_version: 0x0001
(bootloader) 	antirback_pl_version: 0x0001
(bootloader) 	lk_build_desc: 8f885ae-20210414_064357
(bootloader) 	pl_build_desc: eb725ec-20210326_040236
(bootloader) 	secure: yes
(bootloader) 	prod: 1
(bootloader) 	otu_code: puuB/4JABnGMmpSbJQK8Wd0CyWcmTkDR
(bootloader) 	unlock_status: false
(bootloader) 	unlock_code: 0xd58685aa6020178c
(bootloader) 	serialno: G091B00503130KCE
(bootloader) 	max-download-size: 0x8000000
(bootloader) 	kernel: lk
(bootloader) 	product: CRUMPET
(bootloader) 	version-preloader: 0.1.00
(bootloader) 	version: 0.5
all: Done!!
Finished. Total time: 0.021s

UART

[84581] [fastboot: command buf]-[getvar:all]-[len=10]
[84581] [fastboot]-[download_base:0x45000000]-[download_size:0x0]
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5
[84591] [Cmd process]-[buf:getvar:all]-[lenBuf:all]
amzn_verify_onetime_unlock_code: Verify one time unlock cert fail, ret = -5

./fastboot oem *

All are FAILED (remote: 'the command you input is restricted on locked hw')

lsusb -v gives

Bus 001 Device 020: ID 0bb4:0c01 HTC (High Tech Computer Corp.) Dream / ADP1 / G1 / Magic / Tattoo
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bb4 HTC (High Tech Computer Corp.)
  idProduct          0x0c01 Dream / ADP1 / G1 / Magic / Tattoo
  bcdDevice            1.00
  iManufacturer           1 MediaTek
  iProduct                2 Android
  iSerial                 3 G091B00503130KCE
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0020
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              256mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass     66 
      bInterfaceProtocol      3 
      iInterface              4 fastboot
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered