Merge "Allow factory reset when bluetooth is off (1/2)"