Maybe you are with lucky with your "restarting cellphone", i am from brazil, here we have a lot of poor cellphones doing this!
The solution for this problem is generally simple!
When this starts, cellphone restart only with sim inserted like crazy.
I will use for this example the cellphone...