1. A method for recovering from an interruption in an update procedure for updating a firmware of a mobile terminal, the method comprising: computing a checksum for each sector of a partially updated firmware; for each sector of the partially updated firmware, determining a last instruction in an update package that was applied to that sector, based on checksums included in the update package and the computed checksums of the sectors of the partially updated firmware; determining a last instruction of the update package that was applied to the partially updated firmware prior to the interruption based on the last instruction applied to each sector; and resuming the update procedure starting from an instruction immediately following the last applied instruction.