EP06-E is not being detected at all after firmware upgrade from EP06ELAR03A08M4G to EP06ELAR04A20M4G

root@OpenWrt:/tmp# qfirehose -f qfire/ -s /sys/bus/usb/devices/1-1.2
[000.000]: Version: QFirehose_Linux_Android_V1.4.9
[000.000]: Builded: Jun 25 2024 15:57:07
[000.000]: Find md5 check file <qfire/md5.txt>
[000.000]: md5 checking: qfire/contents.xml pass
[000.003]: md5 checking: qfire/update/appsboot.mbn pass
[000.004]: md5 checking: qfire/update/ENPRG9x45.mbn pass
[000.004]: md5 checking: qfire/update/firehose/partition_complete_p4K_b256K.mbn pass
[000.004]: md5 checking: qfire/update/firehose/patch_p4K_b256K.xml pass
[000.005]: md5 checking: qfire/update/firehose/prog_nand_firehose_9x45.mbn pass
[000.005]: md5 checking: qfire/update/firehose/rawprogram_nand_p4K_b256K_update.xml pass
[000.043]: md5 checking: qfire/update/mdm9640-perf-boot.img pass
[000.329]: md5 checking: qfire/update/mdm9640-perf-sysfs.ubi pass
[000.388]: md5 checking: qfire/update/mdm-perf-recovery-image-mdm9640-perf.ubi pass
[000.663]: md5 checking: qfire/update/NON-HLOS.ubi pass
[000.664]: md5 checking: qfire/update/NPRG9x45.mbn pass
[000.664]: md5 checking: qfire/update/partition.mbn pass
[000.664]: md5 checking: qfire/update/partition_nand.xml pass
[000.665]: md5 checking: qfire/update/rpm.mbn pass
[000.666]: md5 checking: qfire/update/sbl1.mbn pass
[000.669]: md5 checking: qfire/update/tz.mbn pass
[000.669]: Totals checking 17 files md5 value, 0 file fail!
[000.669]: P: /dev/bus/usb/001/013 idVendor=2c7c idProduct=0306
[000.669]: C: /dev/bus/usb/001/013 bNumInterfaces: 6
[000.669]: I: If#= 0 Alt= 0 #EPs= 2 Cls=ff Sub=ff Prot=ff
[000.669]: E: Ad=81 Atr=02 MxPS= 512 Ivl=0ms
[000.669]: E: Ad=01 Atr=02 MxPS= 512 Ivl=0ms
[000.669]: I: If#= 1 Alt= 0 #EPs= 3 Cls=ff Sub=00 Prot=00
[000.669]: E: Ad=83 Atr=03 MxPS= 10 Ivl=9ms
[000.669]: E: Ad=82 Atr=02 MxPS= 512 Ivl=0ms
[000.669]: E: Ad=02 Atr=02 MxPS= 512 Ivl=0ms
[000.669]: I: If#= 2 Alt= 0 #EPs= 3 Cls=ff Sub=00 Prot=00
[000.669]: E: Ad=85 Atr=03 MxPS= 10 Ivl=9ms
[000.669]: E: Ad=84 Atr=02 MxPS= 512 Ivl=0ms
[000.669]: E: Ad=03 Atr=02 MxPS= 512 Ivl=0ms
[000.669]: I: If#= 3 Alt= 0 #EPs= 3 Cls=ff Sub=00 Prot=00
[000.669]: E: Ad=87 Atr=03 MxPS= 10 Ivl=9ms
[000.669]: E: Ad=86 Atr=02 MxPS= 512 Ivl=0ms
[000.669]: E: Ad=04 Atr=02 MxPS= 512 Ivl=0ms
[000.669]: I: If#= 4 Alt= 0 #EPs= 1 Cls=02 Sub=0e Prot=00
[000.669]: I: If#= 5 Alt= 0 #EPs= 0 Cls=0a Sub=00 Prot=02
[000.669]: I: If#= 5 Alt= 1 #EPs= 2 Cls=0a Sub=00 Prot=02
[000.669]: tmp=/sys/bus/usb/devices/usb1/../driver, driver=../../../../bus/platform/drivers/xhci-mtk
[000.669]: qusb_noblock_open port_name = /dev/ttyUSB4
[000.671]: old software version: EP06ELAR03A08M4G
[001.672]: poll_wait events=POLLIN msec=1000 timeout
[001.672]: switch to 'Emergency download mode'
[001.674]: successful, wait module reboot
[002.674]: P: /dev/bus/usb/001/014 idVendor=05c6 idProduct=9008
[002.674]: C: /dev/bus/usb/001/014 bNumInterfaces: 1
[002.674]: I: If#= 0 Alt= 0 #EPs= 2 Cls=ff Sub=ff Prot=ff
[002.674]: E: Ad=81 Atr=02 MxPS= 512 Ivl=0ms
[002.674]: E: Ad=01 Atr=02 MxPS= 512 Ivl=0ms
[002.675]: tmp=/sys/bus/usb/devices/usb1/../driver, driver=../../../../bus/platform/drivers/xhci-mtk
[002.675]: dir=qfire/update/firehose
[002.675]: d_name=prog_nand_firehose_9x45.mbn
[002.675]: prog_nand_firehose_filename = prog_nand_firehose_9x45.mbn
[002.675]: STATE <-- SAHARA_WAIT_HELLO
[002.675]: RECEIVED <--  SAHARA_HELLO_ID
[002.675]: RECEIVED <-- SAHARA_MODE_IMAGE_TX_PENDING
[002.675]: SENDING --> SAHARA_HELLO_RESPONSE
[002.675]: STATE <-- SAHARA_WAIT_COMMAND
[002.675]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.675]: 0x0000000d 0x00000000 0x00000034
[002.675]: STATE <-- SAHARA_WAIT_COMMAND
[002.675]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.675]: 0x0000000d 0x00000034 0x00000060
[002.675]: STATE <-- SAHARA_WAIT_COMMAND
[002.676]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.676]: 0x0000000d 0x00001000 0x00001000
[002.676]: STATE <-- SAHARA_WAIT_COMMAND
[002.676]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.676]: 0x0000000d 0x00002000 0x00000988
[002.676]: STATE <-- SAHARA_WAIT_COMMAND
[002.677]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.677]: 0x0000000d 0x00003000 0x00001000
[002.677]: STATE <-- SAHARA_WAIT_COMMAND
[002.678]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.678]: 0x0000000d 0x00004000 0x00001000
[002.678]: STATE <-- SAHARA_WAIT_COMMAND
[002.678]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.678]: 0x0000000d 0x00005000 0x00001000
[002.679]: STATE <-- SAHARA_WAIT_COMMAND
[002.679]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.679]: 0x0000000d 0x00006000 0x00001000
[002.679]: STATE <-- SAHARA_WAIT_COMMAND
[002.680]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.680]: 0x0000000d 0x00007000 0x00001000
[002.680]: STATE <-- SAHARA_WAIT_COMMAND
[002.680]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.680]: 0x0000000d 0x00008000 0x00001000
[002.681]: STATE <-- SAHARA_WAIT_COMMAND
[002.681]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.681]: 0x0000000d 0x00009000 0x00001000
[002.681]: STATE <-- SAHARA_WAIT_COMMAND
[002.682]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.682]: 0x0000000d 0x0000a000 0x00001000
[002.682]: STATE <-- SAHARA_WAIT_COMMAND
[002.682]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.682]: 0x0000000d 0x0000b000 0x00001000
[002.683]: STATE <-- SAHARA_WAIT_COMMAND
[002.683]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.683]: 0x0000000d 0x0000c000 0x00001000
[002.683]: STATE <-- SAHARA_WAIT_COMMAND
[002.684]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.684]: 0x0000000d 0x0000d000 0x00001000
[002.684]: STATE <-- SAHARA_WAIT_COMMAND
[002.684]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.684]: 0x0000000d 0x0000e000 0x00001000
[002.685]: STATE <-- SAHARA_WAIT_COMMAND
[002.685]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.685]: 0x0000000d 0x0000f000 0x00001000
[002.685]: STATE <-- SAHARA_WAIT_COMMAND
[002.686]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.686]: 0x0000000d 0x00010000 0x00001000
[002.686]: STATE <-- SAHARA_WAIT_COMMAND
[002.686]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.686]: 0x0000000d 0x00011000 0x00001000
[002.687]: STATE <-- SAHARA_WAIT_COMMAND
[002.687]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.687]: 0x0000000d 0x00012000 0x00001000
[002.687]: STATE <-- SAHARA_WAIT_COMMAND
[002.688]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.688]: 0x0000000d 0x00013000 0x00001000
[002.688]: STATE <-- SAHARA_WAIT_COMMAND
[002.688]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.688]: 0x0000000d 0x00014000 0x00001000
[002.689]: STATE <-- SAHARA_WAIT_COMMAND
[002.689]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.689]: 0x0000000d 0x00015000 0x00001000
[002.689]: STATE <-- SAHARA_WAIT_COMMAND
[002.690]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.690]: 0x0000000d 0x00016000 0x00001000
[002.690]: STATE <-- SAHARA_WAIT_COMMAND
[002.691]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.691]: 0x0000000d 0x00017000 0x00001000
[002.691]: STATE <-- SAHARA_WAIT_COMMAND
[002.691]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.691]: 0x0000000d 0x00018000 0x00001000
[002.691]: STATE <-- SAHARA_WAIT_COMMAND
[002.692]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.692]: 0x0000000d 0x00019000 0x00001000
[002.692]: STATE <-- SAHARA_WAIT_COMMAND
[002.693]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.693]: 0x0000000d 0x0001a000 0x00001000
[002.693]: STATE <-- SAHARA_WAIT_COMMAND
[002.693]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.693]: 0x0000000d 0x0001b000 0x00001000
[002.693]: STATE <-- SAHARA_WAIT_COMMAND
[002.694]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.694]: 0x0000000d 0x0001c000 0x00001000
[002.694]: STATE <-- SAHARA_WAIT_COMMAND
[002.695]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.695]: 0x0000000d 0x0001d000 0x00001000
[002.695]: STATE <-- SAHARA_WAIT_COMMAND
[002.695]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.695]: 0x0000000d 0x0001e000 0x00001000
[002.695]: STATE <-- SAHARA_WAIT_COMMAND
[002.696]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.696]: 0x0000000d 0x0001f000 0x00001000
[002.696]: STATE <-- SAHARA_WAIT_COMMAND
[002.697]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.697]: 0x0000000d 0x00020000 0x00001000
[002.697]: STATE <-- SAHARA_WAIT_COMMAND
[002.697]: RECEIVED <-- SAHARA_READ_DATA_ID
[002.697]: 0x0000000d 0x00021000 0x000006e4
[002.697]: STATE <-- SAHARA_WAIT_COMMAND
[002.723]: RECEIVED <-- SAHARA_END_IMAGE_TX_ID
[002.723]: image_id = 13, status = 0
[002.723]: SENDING --> SAHARA_DONE
[002.723]: STATE <-- SAHARA_WAIT_DONE_RESP
[002.723]: RECEIVED <-- SAHARA_DONE_RESP_ID
[002.723]: image_tx_status = 0
[002.723]: Sahara protocol completed
[002.723]: dir=qfire/update/firehose
[002.723]: d_name=rawprogram_nand_p4K_b256K_update.xml
[003.726]: <log value="Binary build date: Mar 31 2022 @ 20:38:58"/>
[003.726]: <log value="Supported Functions: program configure power benchmark read getstorageinfo erase nop "/>
[004.727]: <configure MemoryName="nand" Verbose="0" AlwaysValidate="0" MaxDigestTableSizeInBytes="2048" MaxPayloadSizeToTargetInBytes="8192"  ZlpAwareHost="1" SkipStorageInit="0" />
[004.728]: <response value="ACK" MemoryName="NAND" MaxPayloadSizeFromTargetInBytes="2048" MaxPayloadSizeToTargetInBytes="8192" MaxPayloadSizeToTargetInBytesSupported="8192" TargetName="9x45" />
[004.728]: <erase PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" num_partition_sectors="512" physical_partition_number="0" start_sector="0"    />
[004.728]: <log value="start_sector = 0 and num_partition_sectors =0x200)"/>
[004.739]: <response value="ACK" />
[004.739]: <erase PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" num_partition_sectors="640" physical_partition_number="0" start_sector="512"    />
[004.739]: <log value="start_sector = 512 and num_partition_sectors =0x280)"/>
[004.751]: <response value="ACK" />
[004.751]: <erase PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" num_partition_sectors="768" physical_partition_number="0" start_sector="11328"    />
[004.752]: <log value="start_sector = 11328 and num_partition_sectors =0x300)"/>
[004.766]: <response value="ACK" />
[004.766]: <erase PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" num_partition_sectors="768" physical_partition_number="0" start_sector="12096"    />
[004.766]: <log value="start_sector = 12096 and num_partition_sectors =0x300)"/>
[004.780]: <response value="ACK" />
[004.780]: <erase PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" num_partition_sectors="768" physical_partition_number="0" start_sector="12864"    />
[004.780]: <log value="start_sector = 12864 and num_partition_sectors =0x300)"/>
[004.796]: <response value="ACK" />
[004.796]: <erase PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" num_partition_sectors="2560" physical_partition_number="0" start_sector="13632"    />
[004.797]: <log value="start_sector = 13632 and num_partition_sectors =0xa00)"/>
[004.883]: <response value="ACK" />
[004.883]: <erase PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" num_partition_sectors="17920" physical_partition_number="0" start_sector="16512"    />
[004.883]: <log value="start_sector = 16512 and num_partition_sectors =0x4600)"/>
[005.664]: <response value="ACK" />
[005.664]: <erase PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" num_partition_sectors="2560" physical_partition_number="0" start_sector="35200"    />
[005.665]: <log value="start_sector = 35200 and num_partition_sectors =0xa00)"/>
[005.752]: <response value="ACK" />
[005.752]: <erase PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" num_partition_sectors="7680" physical_partition_number="0" start_sector="38336"    />
[005.753]: <log value="start_sector = 38336 and num_partition_sectors =0x1e00)"/>
[005.938]: <response value="ACK" />
[005.938]: <erase PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" num_partition_sectors="3584" physical_partition_number="0" start_sector="47552"    />
[005.938]: <log value="start_sector = 47552 and num_partition_sectors =0xe00)"/>
[006.065]: <response value="ACK" />
[006.065]: <erase PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" num_partition_sectors="14464" physical_partition_number="0" start_sector="51136"    />
[006.066]: <log value="start_sector = 51136 and num_partition_sectors =0x3880)"/>
[006.616]: <response value="ACK" />
[006.616]: <erase PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" num_partition_sectors="14208" physical_partition_number="0" start_sector="65600"    />
[006.617]: <log value="start_sector = 65600 and num_partition_sectors =0x3780)"/>
[007.187]: <response value="ACK" />
[007.187]: <erase PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" num_partition_sectors="51264" physical_partition_number="0" start_sector="79808"    />
[007.188]: <log value="start_sector = 79808 and num_partition_sectors =0xc840)"/>
[007.994]: <log value="Skipping:	bad block 0x600"/>
[007.994]: <log value="Skipping:	bad block 0x601"/>
[009.186]: <log value="Skipping:	bad block 0x7ad"/>
[009.415]: <response value="ACK" />
[009.415]: <program PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" filename="partition_complete_p4K_b256K.mbn" num_partition_sectors="4"  physical_partition_number="0" start_sector="512" />
[009.416]: <log value="INSIDE HANDLE PROGRAM"/>
[009.416]: <log value="start_sector 512, last_sector_address 516"/>
[009.416]: <response value="ACK" rawmode="true" />
[009.416]: send partition_complete_p4K_b256K.mbn, filesize=16384
.
[009.419]: upgrade progress 0% 16384/229507453
[009.419]: send finished
[009.422]: <log value="Finished sector address 512"/>
[009.422]: <response value="ACK" rawmode="false" />
[009.422]: <program PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" filename="..\tz.mbn" num_partition_sectors="115"  physical_partition_number="0" start_sector="11328" />
[009.422]: <log value="INSIDE HANDLE PROGRAM"/>
[009.423]: <log value="start_sector 11328, last_sector_address 11443"/>
[009.423]: <response value="ACK" rawmode="true" />
[009.423]: send ../tz.mbn, filesize=467552
.
[009.580]: upgrade progress 0% 483936/229507453
[009.580]: send finished
[009.581]: <log value="Finished sector address 11328"/>
[009.581]: <response value="ACK" rawmode="false" />
[009.581]: <program PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" filename="..\rpm.mbn" num_partition_sectors="39"  physical_partition_number="0" start_sector="12096" />
[009.582]: <log value="INSIDE HANDLE PROGRAM"/>
[009.582]: <log value="start_sector 12096, last_sector_address 12135"/>
[009.582]: <response value="ACK" rawmode="true" />
[009.582]: send ../rpm.mbn, filesize=157400
.
[009.635]: upgrade progress 0% 641336/229507453
[009.635]: send finished
[009.636]: <log value="Finished sector address 12096"/>
[009.636]: <response value="ACK" rawmode="false" />
[009.636]: <program PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" filename="..\appsboot.mbn" num_partition_sectors="124"  physical_partition_number="0" start_sector="12864" />
[009.637]: <log value="INSIDE HANDLE PROGRAM"/>
[009.637]: <log value="start_sector 12864, last_sector_address 12988"/>
[009.637]: <response value="ACK" rawmode="true" />
[009.637]: send ../appsboot.mbn, filesize=504969
.
[009.806]: upgrade progress 0% 1146305/229507453
[009.806]: send finished
[009.808]: <log value="Finished sector address 12864"/>
[009.808]: <response value="ACK" rawmode="false" />
[009.808]: <program PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" filename="..\mdm9640-perf-boot.img" num_partition_sectors="1608"  physical_partition_number="0" start_sector="13632" />
[009.809]: <log value="INSIDE HANDLE PROGRAM"/>
[009.809]: <log value="start_sector 13632, last_sector_address 15240"/>
[009.809]: <response value="ACK" rawmode="true" />
[009.809]: send ../mdm9640-perf-boot.img, filesize=6584320
.......
[012.025]: upgrade progress 3% 7730625/229507453
[012.025]: send finished
[012.027]: <log value="Finished sector address 13632"/>
[012.027]: <response value="ACK" rawmode="false" />
[012.027]: <program PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" filename="..\NON-HLOS.ubi" num_partition_sectors="11648"  physical_partition_number="0" start_sector="16512" />
[012.028]: <log value="INSIDE HANDLE PROGRAM"/>
[012.028]: <log value="start_sector 16512, last_sector_address 28160"/>
[012.028]: <response value="ACK" rawmode="true" />
[012.028]: send ../NON-HLOS.ubi, filesize=47710208
..............................................
[028.077]: upgrade progress 24% 55440833/229507453
[028.077]: send finished
[028.080]: <log value="Finished sector address 16512"/>
[028.080]: <response value="ACK" rawmode="false" />
[028.080]: <program PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" filename="..\mdm9640-perf-boot.img" num_partition_sectors="1608"  physical_partition_number="0" start_sector="35200" />
[028.081]: <log value="INSIDE HANDLE PROGRAM"/>
[028.081]: <log value="start_sector 35200, last_sector_address 36808"/>
[028.081]: <response value="ACK" rawmode="true" />
[028.081]: send ../mdm9640-perf-boot.img, filesize=6584320
.......
[030.296]: upgrade progress 27% 62025153/229507453
[030.296]: send finished
[030.299]: <log value="Finished sector address 35200"/>
[030.299]: <response value="ACK" rawmode="false" />
[030.299]: <program PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" filename="..\mdm-perf-recovery-image-mdm9640-perf.ubi" num_partition_sectors="2496"  physical_partition_number="0" start_sector="38336" />
[030.300]: <log value="INSIDE HANDLE PROGRAM"/>
[030.300]: <log value="start_sector 38336, last_sector_address 40832"/>
[030.300]: <response value="ACK" rawmode="true" />
[030.300]: send ../mdm-perf-recovery-image-mdm9640-perf.ubi, filesize=10223616
..........
[033.742]: upgrade progress 31% 72248769/229507453
[033.742]: send finished
[033.744]: <log value="Finished sector address 38336"/>
[033.744]: <response value="ACK" rawmode="false" />
[033.744]: <program PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" filename="..\mdm-perf-recovery-image-mdm9640-perf.ubi" num_partition_sectors="2496"  physical_partition_number="0" start_sector="47552" />
[033.745]: <log value="INSIDE HANDLE PROGRAM"/>
[033.745]: <log value="start_sector 47552, last_sector_address 50048"/>
[033.745]: <response value="ACK" rawmode="true" />
[033.745]: send ../mdm-perf-recovery-image-mdm9640-perf.ubi, filesize=10223616
..........
[037.187]: upgrade progress 35% 82472385/229507453
[037.187]: send finished
[037.189]: <log value="Finished sector address 47552"/>
[037.189]: <response value="ACK" rawmode="false" />
[037.189]: <program PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" filename="..\NON-HLOS.ubi" num_partition_sectors="11648"  physical_partition_number="0" start_sector="51136" />
[037.190]: <log value="INSIDE HANDLE PROGRAM"/>
[037.190]: <log value="start_sector 51136, last_sector_address 62784"/>
[037.190]: <response value="ACK" rawmode="true" />
[037.190]: send ../NON-HLOS.ubi, filesize=47710208
..............................................
[053.241]: upgrade progress 56% 130182593/229507453
[053.241]: send finished
[053.243]: <log value="Finished sector address 51136"/>
[053.244]: <response value="ACK" rawmode="false" />
[053.244]: <program PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" filename="..\mdm9640-perf-sysfs.ubi" num_partition_sectors="12096"  physical_partition_number="0" start_sector="65600" />
[053.244]: <log value="INSIDE HANDLE PROGRAM"/>
[053.244]: <log value="start_sector 65600, last_sector_address 77696"/>
[053.244]: <response value="ACK" rawmode="true" />
[053.244]: send ../mdm9640-perf-sysfs.ubi, filesize=49545216
................................................
[069.921]: upgrade progress 78% 179727809/229507453
[069.921]: send finished
[069.923]: <log value="Finished sector address 65600"/>
[069.924]: <response value="ACK" rawmode="false" />
[069.924]: <program PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" filename="..\mdm9640-perf-sysfs.ubi" num_partition_sectors="12096"  physical_partition_number="0" start_sector="79808" />
[069.924]: <log value="INSIDE HANDLE PROGRAM"/>
[069.924]: <log value="start_sector 79808, last_sector_address 91904"/>
[069.924]: <response value="ACK" rawmode="true" />
[069.924]: send ../mdm9640-perf-sysfs.ubi, filesize=49545216
................................................
[086.600]: upgrade progress 99% 229273025/229507453
[086.600]: send finished
[086.602]: <log value="Finished sector address 79808"/>
[086.602]: <response value="ACK" rawmode="false" />
[086.602]: <program PAGES_PER_BLOCK="64" SECTOR_SIZE_IN_BYTES="4096" filename="..\sbl1.mbn" num_partition_sectors="58"  physical_partition_number="0" start_sector="0" />
[086.603]: <log value="INSIDE HANDLE PROGRAM"/>
[086.603]: <log value="start_sector 0, last_sector_address 58"/>
[086.603]: <response value="ACK" rawmode="true" />
[086.603]: send ../sbl1.mbn, filesize=234428
.
[086.681]: upgrade progress 100% 229507453/229507453
[086.681]: send finished
[086.683]: <log value="Finished sector address 0"/>
[086.683]: <response value="ACK" rawmode="false" />
[086.683]: <power value="reset" />
[086.684]: <log value="Inside handlePower() - Requested POWER_RESET"/>
[086.684]: <response value="ACK" />
[087.685]: THE TOTAL DOWNLOAD TIME IS 85.010 s
[087.685]: Upgrade module successfully.
[087.685]: inf[0] ep_in -1/1024, errno = 108 (Cannot send after socket shutdown)
[087.685]: qusb_noblock_read read=-1, errno: 108 (Cannot send after socket shutdown)
[087.685]: qusb_noblock_read cur=0, min_size=1

Isolate USB3 pins and re-check (cat /sys/kernel/debug/usb/devices)

What is isolating USB pins and how would I do it? The modem is plugged into the PCIe slot. And why do I need to do this to get it working again?

Edit: Apparently I can’t leave another reply for 76 hours. I won’t be able to do this anytime soon. What I suspect is the firmware upgrade broke the modem. I would appreciate if I was provided methods to unbrick the firmware of the modem.

Just take 3M Scotch and isolate the pins on the modem. You can find the pin numbers in the hardware guide.
I can give no guarantee that will help.