Merge "Add factory reset prepare permission to shell so it can be used in cts tests." into main