Hello!
I can actually answer that one, since the phone is not officially yet launched in the US, the service providers have yet to allow the phone into their network, that's why some features such as VoLTE might not work at this moment.
You are trying a workaround to activate VoLTE but the service provider creates a network reset when you reset your phone, wiping the previous settings.