If you're stuck on emergency mode, just take off the battery and wait for a few seconds before you put it back in and turning on your phone. This may not work the first time but you should just do it repeatedly until it works.