have no experience with that specific situation, but taking out the battery for a few hours usually helps the phone boot normally, provided there is a bootable OS. you will have to re-enter time & date & regional settings but otherwise the stuff on NAND will be safe