iPhone restore errors 1602 and 1604

Oct 22, 2009

I recently upgraded my new iPhone to 3.1.2 and ran into several problems. Luckily, I could figure out the root of the problem. In researching this you will get a lot for bogus solutions like reinstalling iTunes, etc. The root of this problem is a connection issue between iTunes and the iPhone usually around the USB line. Apple has made the upgrading of the firmware more complex lately to block people from jailbreaking their phones. The method they use involves disconnecting and reconnecting during the upgrade a few times. So any problem with the connection could result in a 1602 or 1604 error. Here are the possible solutions and things to check for:

- Verify the USB cable works, try using a different cable

- Verify your USB port is stable, try using another port or even a different computer

- Don't use an iTunes which exists inside a VM instance

That last point got me. My iTunes is on a VM instance on my laptop. Since the USB connection is internally bridged in VMware, it was tripping up the upgrade process. It basically doesn't work with the firmware upgrade process. So I had to install iTunes on a conventional computer (without VMware) to get everything done. Hope this helps. These errors are tricky and a pain to figure out.

Comments

icebike

icebike wrote on 12/10/096:12 PM

Not familiar with which OS you are using to host your VMware machine.

On Linux hosts you can temporarily remove some modules and blacklist others to prevent the host from seeing these devices.

echo blacklist snd_usb_audio > /etc/modprobe.d/blacklist-usb

echo blacklist usbhid >> /etc/modprobe.d/blacklist-usb

echo blacklist ehci_hcd >> /etc/modprobe.d/blacklist-usb

udev reload

/sbin/modprobe -r snd_usb_audio

/sbin/modprobe -r usbhid

/sbin/modprobe -r ehci_hcd

-------- Now in the VM, upgrade the iPhone OS.

Afterward:

rm /etc/modprobe.d/blacklist-usb

/etc/init.d/udev reload

/sbin/modprobe ehci_hcd

-------

Messy. but you can write a script, and you only have to do it for new OS upgrades.

Alledgedly there is a setting in later versions of Vmware that makes the VM very agressive about seizing the released USB devices, but I have not yet tried thhis method.
icebike

icebike wrote on 12/10/096:22 PM

See also http://tinyurl.com/y99cpdt (Vmware.com) for Windows host solution
and
http://tinyurl.com/ya8clkq Gentoo Wiki for a easier fix.
Mattias

Mattias wrote on 05/07/1012:26 PM

I managed to get iPhone OS 4.0 beta 3 installed through Mac OS X 10.6.2 running on VMWare 7.0.1.
The VMWare is installed on top of Windows 7 32bit.

Had alot of failed attempts just ending with iTunes saying error 1611.

Don't really know what finally made it work but kept changing between different USB ports. I also did disable the Apple USB driver at a point to just enable it again and then kept the Device Manager open, then suddenly the restore went through.

Just wanted to share that it is actually possible :-)
John Mason

John Mason wrote on 05/07/101:26 PM

Thanks to everyone commenting on this problem.
Dale

Dale wrote on 06/14/1010:02 PM

I can't get it to work, for iPhone 4.0 GM on iTunes 9.2 beta. However in the past I got restore working on an earlier release of the firmware (4.0 Beta 1) and an earlier version of iTunes. What did I do wrong...
John Mason

John Mason wrote on 06/15/102:14 PM

No idea, I don't have the new iPhone 4G yet
Dale

Dale wrote on 06/15/103:49 PM

I meant the firmware, I'm using an iPod Touch 2G, trying to restore it to the 4.0 Beta firmware. I gave up trying to and I guess I have to wait it out.

Write your comment



(it will not be displayed)