Skip to content

Instantly share code, notes, and snippets.

@javashin
Last active January 24, 2023 06:58
Show Gist options
  • Save javashin/9c1477d1d42fa83146b0fbc0a63865b7 to your computer and use it in GitHub Desktop.
Save javashin/9c1477d1d42fa83146b0fbc0a63865b7 to your computer and use it in GitHub Desktop.
[ 3443.188299] usb 1-3: new high-speed USB device number 7 using xhci_hcd
[ 3443.316984] usb 1-3: New USB device found, idVendor=05c6, idProduct=9008, bcdDevice= 0.00
[ 3443.316992] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3443.316995] usb 1-3: Product: QUSB_BULK_CID:0411_SN:FAC12C0F
[ 3443.316997] usb 1-3: Manufacturer: Qualcomm CDMA Technologies MSM
[ 3443.318993] qcserial 1-3:1.0: Qualcomm USB modem converter detected
[ 3443.319192] usb 1-3: Qualcomm USB modem converter now attached to ttyUSB0
[ 3453.380674] qcserial ttyUSB0: Qualcomm USB modem converter now disconnected from ttyUSB0
[javashin@igloo ~]$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 003: ID 056a:5158 Wacom Co., Ltd Pen and multitouch sensor
Bus 001 Device 002: ID 5986:2113 Acer, Inc SunplusIT Integrated Camera
Bus 001 Device 007: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[root@igloo qdl]# ./qdl --storage emmc --include /dev/ttyUSB0 ./ginkgo_willow_noauth_ddr.elf ./rawprogram0.xml ./patch0.xml
HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
READ64 image: 13 offset: 0x0 length: 0x40
READ64 image: 13 offset: 0x40 length: 0x3b8
READ64 image: 13 offset: 0x1000 length: 0x1000
READ64 image: 13 offset: 0x2000 length: 0xcd8
READ64 image: 13 offset: 0x5ab70 length: 0x1000
READ64 image: 13 offset: 0x5bb70 length: 0xeec
READ64 image: 13 offset: 0x3000 length: 0x1000
READ64 image: 13 offset: 0x4000 length: 0x1000
READ64 image: 13 offset: 0x5000 length: 0x1000
READ64 image: 13 offset: 0x6000 length: 0x1000
READ64 image: 13 offset: 0x7000 length: 0x1000
READ64 image: 13 offset: 0x8000 length: 0x1000
READ64 image: 13 offset: 0x9000 length: 0x1000
READ64 image: 13 offset: 0xa000 length: 0x1000
READ64 image: 13 offset: 0xb000 length: 0x1000
READ64 image: 13 offset: 0xc000 length: 0x1000
READ64 image: 13 offset: 0xd000 length: 0x1000
READ64 image: 13 offset: 0xe000 length: 0x1000
READ64 image: 13 offset: 0xf000 length: 0x1000
READ64 image: 13 offset: 0x10000 length: 0x1000
READ64 image: 13 offset: 0x11000 length: 0x1000
READ64 image: 13 offset: 0x12000 length: 0x1000
READ64 image: 13 offset: 0x13000 length: 0x1000
READ64 image: 13 offset: 0x14000 length: 0x1000
READ64 image: 13 offset: 0x15000 length: 0x1000
READ64 image: 13 offset: 0x16000 length: 0x1000
READ64 image: 13 offset: 0x17000 length: 0x1000
READ64 image: 13 offset: 0x18000 length: 0x1000
READ64 image: 13 offset: 0x19000 length: 0x1000
READ64 image: 13 offset: 0x1a000 length: 0x1000
READ64 image: 13 offset: 0x1b000 length: 0x1000
READ64 image: 13 offset: 0x1c000 length: 0x1000
READ64 image: 13 offset: 0x1d000 length: 0x1000
READ64 image: 13 offset: 0x1e000 length: 0x1000
READ64 image: 13 offset: 0x1f000 length: 0x1000
READ64 image: 13 offset: 0x20000 length: 0x1000
READ64 image: 13 offset: 0x21000 length: 0x1000
READ64 image: 13 offset: 0x22000 length: 0x1000
READ64 image: 13 offset: 0x23000 length: 0x1000
READ64 image: 13 offset: 0x24000 length: 0x1000
READ64 image: 13 offset: 0x25000 length: 0x1000
READ64 image: 13 offset: 0x26000 length: 0x1000
READ64 image: 13 offset: 0x27000 length: 0x1000
READ64 image: 13 offset: 0x28000 length: 0x1000
READ64 image: 13 offset: 0x29000 length: 0x1000
READ64 image: 13 offset: 0x2a000 length: 0x1000
READ64 image: 13 offset: 0x2b000 length: 0x1000
READ64 image: 13 offset: 0x2c000 length: 0x1000
READ64 image: 13 offset: 0x2d000 length: 0x1000
READ64 image: 13 offset: 0x2e000 length: 0x1000
READ64 image: 13 offset: 0x2f000 length: 0x1000
READ64 image: 13 offset: 0x30000 length: 0x1000
READ64 image: 13 offset: 0x31000 length: 0x1000
READ64 image: 13 offset: 0x32000 length: 0x1000
READ64 image: 13 offset: 0x33000 length: 0x1000
READ64 image: 13 offset: 0x34000 length: 0x1000
READ64 image: 13 offset: 0x35000 length: 0x1000
READ64 image: 13 offset: 0x36000 length: 0x1000
READ64 image: 13 offset: 0x37000 length: 0x1000
READ64 image: 13 offset: 0x38000 length: 0x1000
READ64 image: 13 offset: 0x39000 length: 0x1000
READ64 image: 13 offset: 0x3a000 length: 0x1000
READ64 image: 13 offset: 0x3b000 length: 0x1000
READ64 image: 13 offset: 0x3c000 length: 0x1000
READ64 image: 13 offset: 0x3d000 length: 0x1000
READ64 image: 13 offset: 0x3e000 length: 0x1000
READ64 image: 13 offset: 0x3f000 length: 0x1000
READ64 image: 13 offset: 0x40000 length: 0x1000
READ64 image: 13 offset: 0x41000 length: 0x1000
READ64 image: 13 offset: 0x42000 length: 0x1000
READ64 image: 13 offset: 0x43000 length: 0x1000
READ64 image: 13 offset: 0x44000 length: 0x1000
READ64 image: 13 offset: 0x45000 length: 0x1000
READ64 image: 13 offset: 0x46000 length: 0x1000
READ64 image: 13 offset: 0x47000 length: 0x1000
READ64 image: 13 offset: 0x48000 length: 0x1000
READ64 image: 13 offset: 0x49000 length: 0x1000
READ64 image: 13 offset: 0x4a000 length: 0x1000
READ64 image: 13 offset: 0x4b000 length: 0x1000
READ64 image: 13 offset: 0x4c000 length: 0x1000
READ64 image: 13 offset: 0x4d000 length: 0x1000
READ64 image: 13 offset: 0x4e000 length: 0x1000
READ64 image: 13 offset: 0x4f000 length: 0x1000
READ64 image: 13 offset: 0x50000 length: 0x1000
READ64 image: 13 offset: 0x51000 length: 0xa3c
READ64 image: 13 offset: 0x51a40 length: 0x1000
READ64 image: 13 offset: 0x52a40 length: 0x1000
READ64 image: 13 offset: 0x53a40 length: 0x1000
READ64 image: 13 offset: 0x54a40 length: 0x1000
READ64 image: 13 offset: 0x55a40 length: 0x1000
READ64 image: 13 offset: 0x56a40 length: 0x1000
READ64 image: 13 offset: 0x57a40 length: 0x1000
READ64 image: 13 offset: 0x58a40 length: 0x1000
READ64 image: 13 offset: 0x59a40 length: 0x1000
READ64 image: 13 offset: 0x5aa40 length: 0x128
READ64 image: 13 offset: 0x5ca60 length: 0x1000
READ64 image: 13 offset: 0x5da60 length: 0x1000
READ64 image: 13 offset: 0x5ea60 length: 0x1000
READ64 image: 13 offset: 0x5fa60 length: 0x1000
READ64 image: 13 offset: 0x60a60 length: 0x1000
READ64 image: 13 offset: 0x61a60 length: 0x1000
READ64 image: 13 offset: 0x62a60 length: 0x1000
READ64 image: 13 offset: 0x63a60 length: 0x1000
READ64 image: 13 offset: 0x64a60 length: 0x1000
READ64 image: 13 offset: 0x65a60 length: 0x1000
READ64 image: 13 offset: 0x66a60 length: 0x1000
READ64 image: 13 offset: 0x67a60 length: 0x1000
READ64 image: 13 offset: 0x68a60 length: 0x1000
READ64 image: 13 offset: 0x69a60 length: 0x1000
READ64 image: 13 offset: 0x6aa60 length: 0x1000
READ64 image: 13 offset: 0x6ba60 length: 0x1000
READ64 image: 13 offset: 0x6ca60 length: 0x1000
READ64 image: 13 offset: 0x6da60 length: 0x1000
READ64 image: 13 offset: 0x6ea60 length: 0x1000
READ64 image: 13 offset: 0x6fa60 length: 0x1000
READ64 image: 13 offset: 0x70a60 length: 0xc10
READ64 image: 13 offset: 0x71670 length: 0x54
READ64 image: 13 offset: 0x716c4 length: 0x1000
READ64 image: 13 offset: 0x726c4 length: 0x1000
READ64 image: 13 offset: 0x736c4 length: 0x1000
READ64 image: 13 offset: 0x746c4 length: 0x1000
READ64 image: 13 offset: 0x756c4 length: 0x1000
READ64 image: 13 offset: 0x766c4 length: 0x1000
READ64 image: 13 offset: 0x776c4 length: 0x1000
READ64 image: 13 offset: 0x786c4 length: 0x1000
READ64 image: 13 offset: 0x796c4 length: 0xa20
READ64 image: 13 offset: 0x7a0e4 length: 0x5d8
READ64 image: 13 offset: 0x7a6bc length: 0x1000
READ64 image: 13 offset: 0x7b6bc length: 0x1000
READ64 image: 13 offset: 0x7c6bc length: 0x1000
READ64 image: 13 offset: 0x7d6bc length: 0x1000
READ64 image: 13 offset: 0x7e6bc length: 0x1000
READ64 image: 13 offset: 0x7f6bc length: 0x1000
READ64 image: 13 offset: 0x806bc length: 0x1000
READ64 image: 13 offset: 0x816bc length: 0x1000
READ64 image: 13 offset: 0x826bc length: 0x1000
READ64 image: 13 offset: 0x836bc length: 0x1000
READ64 image: 13 offset: 0x846bc length: 0x1000
READ64 image: 13 offset: 0x856bc length: 0x1000
READ64 image: 13 offset: 0x866bc length: 0x1000
READ64 image: 13 offset: 0x876bc length: 0x1000
READ64 image: 13 offset: 0x886bc length: 0x1000
READ64 image: 13 offset: 0x896bc length: 0x1000
READ64 image: 13 offset: 0x8a6bc length: 0x1000
READ64 image: 13 offset: 0x8b6bc length: 0x1000
READ64 image: 13 offset: 0x8c6bc length: 0x1000
READ64 image: 13 offset: 0x8d6bc length: 0x1000
READ64 image: 13 offset: 0x8e6bc length: 0x1000
READ64 image: 13 offset: 0x8f6bc length: 0x1000
READ64 image: 13 offset: 0x906bc length: 0x1000
END OF IMAGE image: 13 status: 0
DONE status: 1
LOG: INFO: Binary build date: Jul 3 2019 @ 22:23:56
LOG: INFO: Binary build date: Jul 3 2019 @ 22:23:56
LOG: INFO: Chip serial num: 4206963727 (0xfac12c0f)
LOG: INFO: Supported Functions (14):
LOG: INFO: program
LOG: INFO: read
LOG: INFO: nop
LOG: INFO: patch
LOG: INFO: configure
LOG: INFO: setbootablestoragedrive
LOG: INFO: erase
LOG: INFO: power
LOG: INFO: firmwarewrite
LOG: INFO: getstorageinfo
LOG: INFO: benchmark
LOG: INFO: emmc
LOG: INFO: ufs
LOG: INFO: fixgpt
LOG: INFO: End of supported functions 14
qdl: firehose operation timed out
LOG: INFO: Calling handler for configure
LOG: INFO: Storage type set to value eMMC
LOG: WARN: NAK: MaxPayloadSizeToTargetInBytes sent by host 1048576 larger than supported 16384
LOG: INFO: Calling handler for configure
LOG: INFO: Storage type set to value eMMC
LOG: INFO: Calling handler for program
[PROGRAM] flashed "secdata" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "qupfw" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "qupfwbak" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "vbmeta" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "vbmetabak" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "xbl_config" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "xbl_configbak" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "devcfg" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "devcfgbak" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "storsec" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "rpm" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "rpmbak" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "hyp" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "hypbak" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "keymaster" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "keymasterbak" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "cmnlib" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "cmnlib64" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "cmnlibbak" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "cmnlib64bak" successfully
[PROGRAM] frp truncated to 524288
LOG: INFO: Calling handler for program
[PROGRAM] flashed "frp" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "abl" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "ablbak" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "bluetooth" successfully at 876kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "bluetoothbak" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "imagefv" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "imagefvbak" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "uefisecapp" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "uefisecappbak" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "xbl" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "xblbak" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "tz" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "tzbak" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "devinfo" successfully at 1024kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "logfs" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "metadata" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "metadata" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "metadata" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "metadata" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "dtbo" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "dtbobak" successfully at 8192kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "dsp" successfully at 10922kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "dspbak" successfully at 16384kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "persist" successfully at 10922kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "persistbak" successfully at 10922kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "boot" successfully at 13107kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "bootbak" successfully at 10922kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "recovery" successfully at 13107kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "modem" successfully at 11457kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "modembak" successfully at 11457kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "vendor" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "vendor" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "vendor" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "vendor" successfully at 11823kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "vendor" successfully at 11898kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "vendor" successfully at 12100kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "vendor" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "vendor" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "vendor" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "vendor" successfully at 12268kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "vendor" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "system" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "system" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "system" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "system" successfully at 12194kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "system" successfully at 11864kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "system" successfully at 11864kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "system" successfully at 11864kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "system" successfully at 11864kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "system" successfully at 12108kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "system" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "system" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "system" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "system" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "system" successfully at 12264kB/s
LOG: INFO: Calling handler for program
[PROGRAM] flashed "system" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "userdata" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "userdata" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "userdata" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "userdata" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "userdata" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "userdata" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "userdata" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "userdata" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "userdata" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "userdata" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "userdata" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "userdata" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "PrimaryGPT" successfully
LOG: INFO: Calling handler for program
[PROGRAM] flashed "BackupGPT" successfully
Update last partition 87 'userdata' with actual size in Primary Header.
LOG: INFO: Calling handler for patch
Update last partition 87 'userdata' with actual size in Backup Header.
LOG: INFO: Calling handler for patch
Update Primary Header with LastUseableLBA.
LOG: INFO: Calling handler for patch
Update Backup Header with LastUseableLBA.
LOG: INFO: Calling handler for patch
Update Primary Header with BackupGPT Header Location.
LOG: INFO: Calling handler for patch
Update Backup Header with CurrentLBA.
LOG: INFO: Calling handler for patch
Update Backup Header with Partition Array Location.
LOG: INFO: Calling handler for patch
Update Primary Header with CRC of Partition Array.
LOG: INFO: Calling handler for patch
Update Backup Header with CRC of Partition Array.
LOG: INFO: Calling handler for patch
Zero Out Header CRC in Primary Header.
LOG: INFO: Calling handler for patch
Update Primary Header with CRC of Primary Header.
LOG: INFO: Calling handler for patch
Zero Out Header CRC in Backup Header.
LOG: INFO: Calling handler for patch
Update Backup Header with CRC of Backup Header.
LOG: INFO: Calling handler for patch
LOG: INFO: Calling handler for setbootablestoragedrive
LOG: INFO: Using scheme of value= 0
partition 0 is now bootable
LOG: INFO: Calling handler for power
[root@igloo qdl]# lsusb
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 003: ID 056a:5158 Wacom Co., Ltd Pen and multitouch sensor
Bus 001 Device 002: ID 5986:2113 Acer, Inc SunplusIT Integrated Camera
Bus 001 Device 008: ID 18d1:d001 Google Inc. Nexus 4 (fastboot)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment