iPhone Safe Mode!

Today I had the same issue… Even after couple of restart it was not coming out of “Safe Mode”. Luckily the phone had SSH running.

After doing following on command line over SSH

# apt-get update
# apt-get upgrade
# reboot

resolved the issue.