I have had multiple devices out in the field become stuck in safe mode when the automatic update happened from OS 1.0.1 to OS 1.1.0. The updates failed and are now in a state that cannot be recovered from unless the battery is unplugged. The customers are not able to do this. The other workaround is to manually downgrade the firmware back to an earlier version and keep it at that OS version.
Does anyone know why failed auto updates would cause this to happen?
For particle, I have an ID that can be looked at for history. Below are the particle stream events
|spark/status|auto-update|2019-05-15 20:09:54|
|---|---|---|
|spark/flash/status|failed |2019-05-15 20:10:28|
|spark/device/diagnostics/update|{"service":{"device":{"status":"unreachable"},"coap":{"round_trip":null},"cloud":{"uptime":328,"publ|2019-05-15 20:15:16|
|spark/status|auto-update|2019-05-15 20:17:11|
|spark/flash/status|failed |2019-05-15 20:17:38|
|spark/device/diagnostics/update|{"device":{"power":{"battery":{"charge":100,"state":"charged"},"source":"VIN"},"system":{"uptime":70|2019-05-15 20:17:41|
|spark/status|auto-update|2019-05-15 21:09:23|
|spark/device/diagnostics/update|{"device":{"power":{"battery":{"charge":100,"state":"charged"},"source":"VIN"},"system":{"uptime":73|2019-05-15 21:09:25|
|spark/flash/status|started |2019-05-15 21:09:27|
|spark/flash/status|success |2019-05-15 21:11:17|
|spark/device/last_reset|user|2019-05-15 21:11:22|
|spark/device/diagnostics/update|{"device":{"power":{"battery":{"charge":100,"state":"charged"},"source":"VIN"},"system":{"uptime":1,|2019-05-15 21:11:22|
|spark/status/safe-mode|{"p":10,"imei":"redacted","iccid":"redacted","m":[{"s":16384,"l":"m","vc":30,"vv"|2019-05-15 21:11:24|
|spark/device/app-hash|redacted|2019-05-15 21:11:24|
|spark/flash/status|started |2019-05-15 21:11:25|
|spark/flash/status|success |2019-05-15 21:12:01|
|spark/device/diagnostics/update|{"device":{"power":{"battery":{"charge":100,"state":"charged"},"source":"VIN"},"system":{"uptime":3,|2019-05-15 21:12:10|
|spark/device/last_reset|user|2019-05-15 21:12:09|
|spark/status/safe-mode|{"p":10,"imei":"redacted","iccid":"redacted","m":[{"s":16384,"l":"m","vc":30,"vv"|2019-05-15 21:12:11|
|spark/flash/status|started |2019-05-15 21:12:12|
|spark/flash/status|failed |2019-05-15 21:18:40|