lam trying to dowload the ios
This is the Mountain Lion forum - you need to post in the iPhone forum -> https://discussions.apple.com/community/iphone/using_iphone.
OS X Mountain Lion has nothing to do with iOS.
You can not do so. Only the current version of iOS can be installed. For an iPhone 3G, that's 4.2.1. It can not run anything higher.
Retrieving data ...