Below are some basic usage examples of the nrfutil 91 imei-write and nrfutil 91 imei-read commands.
Both imei-write and imei-read require you to pass a path to the modem firmware ZIP archive with the --modem-firmware option, but they do not trigger a modem upgrade.
The path is required to access the IPC-DFU client bundled in the ZIP archive and pass commands to the running modem firmware.
This is because the modem firmware on the device and the passed modem firmware must match.
The modem firmware on the device must support IMEI reads and IMEI writes for the imei-read and the imei-write commands, respectively, to succeed.
-
Read current IMEI numbers from a device of the nRF91 Series with the serial number
1050993570:nrfutil 91 imei-read --modem-firmware mfw_nrf91x1_2.0.1.zip --serial-number 1050993570 -
Write an IMEI number
123456789012345to one of the IMEI slots on a device of the nRF91 Series with the serial number1050993570(see also the note below):nrfutil 91 imei-write --modem-firmware mfw_nrf91x1_2.0.1.zip --serial-number 1050993570 --slot 0 --imei 123456789012345Note: Writing IMEI numbers is a one-time operation and an IMEI slot can be written to only once. For safety reasons, the example command above is missing the
--forceparameter required to perform the operation. The tool will display a notification about this in the terminal.