Unlocking iPhone without erasing it
I was always under the impression that to unlock an AT&T iPhone you needed to request an unlock and then erase the phone. My son has an older iPhone 8 that was eligible for unlocking (paid off). He was planning a trip to Spain and requested an unlock from AT&T. He requested it online but the request failed. He then called customer service and they told him that they would send a notification once it was unlocked. He never got the notification and yesterday (the day he was flying to Spain) he called customer service they checked the account and told him the phone was unlocked. The weird thing is, he never erased the phone. We told the agent that and he told us that the phone showed as unlocked. We ran over to a T-Mobile store and they tried a T-Mobile SIM and it worked! It was unlocked! He arrived in Spain last night and got a SIM card at the Madrid airport and is using the phone.
So, my question is, how is that possible? Have things changed and now you can unlock without erasing the phone? My personal iPhone 12 mini is now eligible to be unlocked. I'm always paranoid about having to erase the phone as part of an unlock. I back up my phone to iCloud, so I can restore it, but I would really prefer not having to erase it to unlock it.
Thougts?
iPhone 12 mini