3g stuck in recovery, itunes restore error

I have a 3g Iphone that is stuck in recovery mode, I tried to restore in DFU mode using Shift + Restore to different ios version of the 1,2 and they all give me Firmware is not compatible, I tried to restore through itunes it wanted to restore to 6.1.3 which is weird, so I tried to restore in DFU using IOS 6.1.6 ipsw it gives error 3194

what can be done?