Unjailbreak it so it doesnt freeze and lock up anymore. Follow this link (taken from the page above) for ways to restart it without the lock button best ways to restart an iPhone without the power button
Uhm.. Read the words.. on the page.. that i linked to, right where it says "best way to restart your iphone" ?
if it's totally locked then you might try conneting it to your comptuer with iTunes.. that MIGHT restart it.. otherwise, let the battery die, then plug it in.. if your screen is white the battery should burn down pretty fast.
My iphone 4 (IOS 5.1.1, jailbreaked), power button broken, opened assistive touch, and taped two finger, after a while, it forzen at lock screen, it kept shows two finger (blue colour tap).
Pressed home key, nothing happen, still shows finger
Pressed grey little tap, nothing happen, still hows finger.
Question is How to reboot/restart my iphone?
If i use tinyumbrella to get into Recovery mode, and then exist recovery mode, does it work?
Read thru this page for other ways to turn off the iPhone and how to turn it back on without the power button: How to Turn Off an iPhone Without the Button
Try the recommendations here:turn off iphone without power button .. should work the same on your iPod.
Hopefully letting the battery drain & die will force the iPhone to reboot when you connect it to a power source
I don't think there is a lot you can do.
Unless someone has a better idea, unplug it and wait for the battery to run down, then plug it back in and hope it turns on. If it freezes again on the Apple logo, is borked.
See this page for the best ways to restart your phone when the power/sleep button does not work: how to restart your iphone
If after you get it restarted it is still not recognized by your iTunes then something is horribly worng/broken and it's going to require much more troubleshooting and/or professional help.
For problems logging in email HELP@GrownUpGeek.com