| CPC G06F 1/24 (2013.01) [G06F 3/0619 (2013.01); G06F 3/0644 (2013.01); G06F 3/0647 (2013.01); G06F 3/0652 (2013.01); G06F 3/0659 (2013.01); G06F 3/0673 (2013.01); G06F 8/61 (2013.01); G06F 9/4401 (2013.01); G06F 3/04842 (2013.01); G06F 3/04847 (2013.01)] | 16 Claims |

|
1. An electronic device comprising:
a user interface;
a plurality of switches each respectively assigned a function and provided as a plurality of hardware buttons;
a memory including at least one application, a first partition including a backup file obtained by compressing the application, and a second partition distinguished from the first partition; and
a processor electrically connected to the user interface and the memory,
wherein the memory stores instructions that allow the processor to:
while the electronic device is in a power-on state, receive a first input requesting a factory data reset through the plurality of switches, wherein the first input is a simultaneous input to designated buttons among the plurality of hardware buttons;
move the backup file to the second partition in response to the simultaneous input for the designated buttons;
delete data in the first partition after the movement; and
install the at least one application on the first partition by using the backup file, while the electronic device is rebooting.
|