Recover device settings after factory reset (recovery mode)