When issuing a factory reset from the system, it will reboot to recovery to, well, factory reset the device.
To do so, it will write to /cache/recovery/ubuntu_command and trigger /sbin/system-image-upgrader.
Currently there is no way to check what we are actually doing and even if not installing an OTA and just formatting data, it will show "Installing update".
We should smarten up the system-image-upgrader specific code and better represent the UI states.