There are some hacks which will allow a form of android to run on an iPhone (god knows why).
You need to get your phone into recovery mode & let iTunes reload the ios firmware.
Instructions here - but at your own risk ...
http://support.apple.com/kb/HT1808