Flash Failed on Etcher

Hello,
I tried flashing an image - dau-min-image-imx6dldau.encryptedsdcard.bz2 onto my SD card [ 16 GB ]. During Validation - it says flash failed at the end.

Trial 1: Used a different SD Card - Same issue.
Trial 2: Ran Balena Etcher as Administrator - same error.
Trial 3: Used a different USB port [ Using a USB Card Reader - New unit, attached SD Card ], Ran Balena as admin - Still the issue persists.

Here is the console output:

Version = 1.5.122, Type = nsis
​ Mon Sep 27 2021 11:40:21 GMT+0530 (India Standard Time) Application start ({“packageType”:“nsis”,“version”:“1.5.122”,“sample”:0.1,“applicationSessionUuid”:“769b57df-2126-401e-b7ff-ac7a5f6cbcb9”,“flashingWorkflowUuid”:“bfbcfc5c-9c9c-43bb-b891-db19f3aa5097”})
​ Mon Sep 27 2021 11:40:23 GMT+0530 (India Standard Time) Open image selector ({“sample”:0.1,“applicationSessionUuid”:“769b57df-2126-401e-b7ff-ac7a5f6cbcb9”,“flashingWorkflowUuid”:“bfbcfc5c-9c9c-43bb-b891-db19f3aa5097”})
​ Mon Sep 27 2021 11:40:28 GMT+0530 (India Standard Time) Select image ({“image”:{“isCompressed”:true,“name”:“dau-min-image-imx6dldau.encryptedsdcard”,“size”:7511998464,“compressedSize”:576607774,“isSizeEstimated”:true,“hasMBR”:true,“partitions”:[{“offset”:4194304,“size”:33554432,“type”:12,“index”:1},{“offset”:37748736,“size”:7474249728,“type”:131,“index”:2}],“extension”:“bz2”,“path”:“C:\Users\invirm\Downloads\dau-min-image-imx6dldau.encryptedsdcard.bz2”,“logo”:false,“blockMap”:false},“sample”:0.1,“applicationSessionUuid”:“769b57df-2126-401e-b7ff-ac7a5f6cbcb9”,“flashingWorkflowUuid”:“bfbcfc5c-9c9c-43bb-b891-db19f3aa5097”})
​ Mon Sep 27 2021 11:40:32 GMT+0530 (India Standard Time) Flash ({“image”:{“size”:7511998464,“compressedSize”:576607774,“hasMBR”:true,“path”:“C:\Users\invirm\Downloads\dau-min-image-imx6dldau.encryptedsdcard.bz2”,“partitions”:[{“offset”:4194304,“size”:33554432,“type”:12,“index”:1},{“offset”:37748736,“size”:7474249728,“type”:131,“index”:2}],“isCompressed”:true,“name”:“dau-min-image-imx6dldau.encryptedsdcard”,“isSizeEstimated”:true,“extension”:“bz2”},“drives”:[{“size”:15931539456,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:“\\.\PhysicalDrive2”,“error”:null,“isReadOnly”:false,“displayName”:“D:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:“\\.\PhysicalDrive2”,“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“D:\”}],“description”:“MXT-USB Storage Device USB Device”,“isUAS”:false,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“92bda403-8669-46f2-a8a0-6b9375381cea”,“status”:“started”,“flashInstanceUuid”:“92bda403-8669-46f2-a8a0-6b9375381cea”,“sample”:0.1,“applicationSessionUuid”:“769b57df-2126-401e-b7ff-ac7a5f6cbcb9”,“flashingWorkflowUuid”:“bfbcfc5c-9c9c-43bb-b891-db19f3aa5097”})
​ Elevating command: C:\Users\invirm\AppData\Local\Programs\balena-etcher\balenaEtcher.exe C:\Users\invirm\AppData\Local\Programs\balena-etcher\resources\app\generated\child-writer.js
​ Successfully connected to IPC server: etcher-server-14540, socket root C:\Users\invirm\AppData\Local\Temp
​ Image: C:\Users\invirm\Downloads\dau-min-image-imx6dldau.encryptedsdcard.bz2
​ Devices: \.\PhysicalDrive2
gui.js:51120 Auto blockmapping: true
gui.js:51120 Decompress first: true
gui.js:51120 Mon Sep 27 2021 11:40:33 GMT+0530 (India Standard Time) SafeWebview loaded ({“event”:{“id”:1,“url”:“https://www.balena.io/etcher/featured 200 OK”,“statusCode”:200,“responseHeaders”:{“Age”:[“206”],“CF-Cache-Status”:[“DYNAMIC”],“CF-RAY”:[“695291ce7ad74c7d-SIN”],“Cache-Control”:[“max-age=600”],“Connection”:[“keep-alive”],“Content-Encoding”:[“br”],“Content-Type”:[“text/html; charset=utf-8”],“Date”:[“Mon, 27 Sep 2021 06:10:33 GMT”],“Expect-CT”:[“max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\”“],“Expires”:[“Fri, 24 Sep 2021 22:24:50 GMT”],“Last-Modified”:[“Fri, 24 Sep 2021 22:13:06 GMT”],“NEL”:[”{"success_fraction":0,"report_to":"cf-nel","max_age":604800}“],“Report-To”:[”{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=yuwivvxA4q1a0AVYDqzOjoCc%2F1XXhL3aoIR0lV8ig5BzZI%2FfE5Jd54S6hwlRkrdT4w4IY7quxPk%2F50Z6hA4P5Fw8qE0DBb%2BNLmUPssRFrePGacLGBZ2xDJz9atqLuELh6LpC"}],"group":"cf-nel","max_age":604800}“],“Transfer-Encoding”:[“chunked”],“Vary”:[“Accept-Encoding”],“Via”:[“1.1 varnish”,“ICAP/1.0 cn1735373871-9-vnsg13951.ibosscloud.com (IBOSS/0.4.4 iboss ICAP service )”],“X-Cache”:[“HIT”,“MISS from cn1735373871-9-vnsg13951.ibosscloud.com”],“access-control-allow-origin”:[”*“],“alt-svc”:[“h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400”],“x-cache-hits”:[“1”],“x-fastly-request-id”:[“42482b6f3b710c0a49d3d259726166c32013dd27”],“x-github-request-id”:[“1C74:582F:1051C59:1710050:614E4DDA”],“x-origin-cache”:[“HIT”],“x-proxy-cache”:[“MISS”],“x-served-by”:[“cache-qpg1278-QPG”],“x-timer”:[“S1632723033.386036,VS0,VE1”]},“referrer”:”",“error”:“net::OK”},“sample”:0.1,“applicationSessionUuid”:“769b57df-2126-401e-b7ff-ac7a5f6cbcb9”,“flashingWorkflowUuid”:“bfbcfc5c-9c9c-43bb-b891-db19f3aa5097”})
gui.js:38464 0 devices, 0% at 0.00 MB/s (total 0.00 MB/s) with 0 failed devices
gui.js:38464 Flashing 1 device, 0% at 3.20 MB/s (total 3.20 MB/s) eta in 2334s with 0 failed devices
gui.js:38464 Flashing 1 device, 0% at 5.10 MB/s (total 5.10 MB/s) eta in 1462s with 0 failed devices
gui.js:51120 {“message”:“connect ETIMEDOUT 167.99.78.230:443”,“stack”:“Error: connect ETIMEDOUT 167.99.78.230:443\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)”,“config”:{“url”:“https://balena.io/etcher/static/config.json",“method”:“get”,“headers”:{“Accept”:"application/json, text/plain, /”,“User-Agent”:“axios/1.5.122”},“transformRequest”:[null],“transformResponse”:[null],“timeout”:0,“responseType”:“json”,“xsrfCookieName”:“XSRF-TOKEN”,“xsrfHeaderName”:“X-XSRF-TOKEN”,“maxContentLength”:-1,“maxBodyLength”:-1},“code”:“ETIMEDOUT”}
console. @ gui.js:51120

gui.js:51120 Mon Sep 27 2021 11:58:34 GMT+0530 (India Standard Time) Validation error ({“image”:{“size”:7511998464,“compressedSize”:576607774,“hasMBR”:true,“path”:“C:\Users\invirm\Downloads\dau-min-image-imx6dldau.encryptedsdcard.bz2”,“partitions”:[{“offset”:4194304,“size”:33554432,“type”:12,“index”:1},{“offset”:37748736,“size”:7474249728,“type”:131,“index”:2}],“isCompressed”:true,“name”:“dau-min-image-imx6dldau.encryptedsdcard”,“isSizeEstimated”:true,“extension”:“bz2”},“drives”:[{“size”:15931539456,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:“\\.\PhysicalDrive2”,“error”:null,“isReadOnly”:false,“displayName”:“D:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:“\\.\PhysicalDrive2”,“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“D:\”}],“description”:“MXT-USB Storage Device USB Device”,“isUAS”:false,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“92bda403-8669-46f2-a8a0-6b9375381cea”,“flashInstanceUuid”:“92bda403-8669-46f2-a8a0-6b9375381cea”,“sample”:0.1,“applicationSessionUuid”:“769b57df-2126-401e-b7ff-ac7a5f6cbcb9”,“flashingWorkflowUuid”:“bfbcfc5c-9c9c-43bb-b891-db19f3aa5097”})
gui.js:38464 Verifying 1 device, 100% at 18.70 MB/s (total 18.70 MB/s) eta in 0s with 0 failed devices
gui.js:51120 Finish: 7516192768
gui.js:51120 Terminating IPC server
gui.js:51120 Flash results {results: {…}, cancelled: false, skip: false}
gui.js:51120 Mon Sep 27 2021 11:58:37 GMT+0530 (India Standard Time) Done ({“image”:{“size”:7511998464,“compressedSize”:576607774,“hasMBR”:true,“path”:“C:\Users\invirm\Downloads\dau-min-image-imx6dldau.encryptedsdcard.bz2”,“partitions”:[{“offset”:4194304,“size”:33554432,“type”:12,“index”:1},{“offset”:37748736,“size”:7474249728,“type”:131,“index”:2}],“isCompressed”:true,“name”:“dau-min-image-imx6dldau.encryptedsdcard”,“isSizeEstimated”:true,“extension”:“bz2”},“drives”:[{“size”:15931539456,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:“\\.\PhysicalDrive2”,“error”:null,“isReadOnly”:false,“displayName”:“D:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:“\\.\PhysicalDrive2”,“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“D:\”}],“description”:“MXT-USB Storage Device USB Device”,“isUAS”:false,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“92bda403-8669-46f2-a8a0-6b9375381cea”,“status”:“finished”,“flashInstanceUuid”:“92bda403-8669-46f2-a8a0-6b9375381cea”,“errors”:[{“name”:“Error”,“description”:“MXT-USB Storage Device USB Device”,“code”:“EVALIDATION”,“device”:“\\.\PhysicalDrive2”}],“devices”:{“failed”:1,“successful”:0},“bytesWritten”:7516192768,“sourceMetadata”:{“isCompressed”:true,“name”:“dau-min-image-imx6dldau.encryptedsdcard”,“size”:7516192768,“compressedSize”:576607774,“isSizeEstimated”:false},“sample”:0.1,“applicationSessionUuid”:“769b57df-2126-401e-b7ff-ac7a5f6cbcb9”,“flashingWorkflowUuid”:“bfbcfc5c-9c9c-43bb-b891-db19f3aa5097”})

I could not make out much sense out of the output log to determine the cause of error.
Can you please help me identify as in where the issue lies? [ Have also tried with Rufus but wasn’t possible. ]

Thanks,
Nathan

Hi @nathaniel-93,

Thanks for reaching out. Can we try out the flashed SD card even after validation failure? Also, do you think if there is a possible device (SD card) access while its been flashed?

Regards,
N

Hello Nitish,

  1. Can we try out the flashed SD Card even after validation failure?
    No, the board fails to boot up.

  2. Also, do you think if there is a possible device [ SD Card ] access while its been flashed?
    I don’t think so.
    I use an USB Card Reader - insert SD card into the slot and flash. [ Have tried with different USB Card Readers & Different Ports, The Issue persists. ]

Best Regards,
Nathan

Can you try this with the portable version and see if you have the same issue?

On second thought, can you try it again on the normal app…and if it fails again post the console.log results?