Qmi-firmware-update -

qmi-firmware-update --device=/dev/cdc-wdm0 --reset

The tool will:

Some tools allow dumping the current firmware. With qmi-firmware-update , you cannot easily back up, but record the current version to allow rollback. qmi-firmware-update

sudo systemctl stop ModemManager

# Identify device ls /dev/cdc-wdm* # Output: /dev/cdc-wdm0 you cannot easily back up

This bypasses QMI and writes directly to NAND. Use only with manufacturer-supplied XML partition maps. qmi-firmware-update