This is purely out of my personal experience. Not a question, but a caution!
No matter for how much time cogs keep on spinning, even if the progress bar reaches the end, DO NOT try to restart the phone by yourself. I was tempted to do the same when progress bar reached the end and stayed there...