"while the iphone is on connect it to you computer.
hold the power button and menu button all at the same time. start counting one mississippi two mississippi ... once the apple logo shows up keep holding the center button for another 15-30 sec. this will put the phone into recovery mode guaranteed no matter how bad its messed up!! after that do the restore via itunes (option restore). once that is done I am sure that you will get some error message from itunes. at this point close iTunes completely! After that open independence and let it do its job. it will reset the Recovery mode. If you dont have that one or dont like it use iBrickr and hit the "boot phone" link and you will be all set. after that follow the usual guides!"