iPhone firmware upgrade using VMWare and Ubuntu 9.04

download_heroAfter finding out my iPhone wouldn’t upgrade while using Windows XP in a VMWare guest OS on my Ubuntu system, I ran across this blog post by Ivan Kuznetsov. It kind of worked for me and you will need a non-usb keyboard and mouse if you’re not using them currently. During the Restore process in iTunes, the phone was still being picked up by Ubuntu, and iTunes had to be stopped and restarted using End Task in the Task Manager of Windows. I think some usb process in Ubuntu was finding the phone during the initial stages of the Restore process in iTunes.

I wouldn’t recommend using this method since it takes too long to figure out. Just dual-boot windows and install iTunes there to upgrade the firmware.

If you decide to upgrade the firmware using linux, use the Updater Log file to monitor the progress. It can be found here on inside your Windows VM: C:\Documents and Settings\YourUserName\Application Data\Apple Computer\iTunes\iPhone Updater Logs\iPhoneUpdater##.log and look for the most recent file in that folder.

There are about a 1000 lines in my logs and if you think the process is hung, check out the log file to verify. If you use notepad to view the file, you will have to re-open the file each time you want to see the new lines added.

Here is the end of the first log file where the phone was put into Recovery mode and iTunes lost the connection. The phone was on and the screen had went from the plug in image to just black.

2010-02-02 02:41:23.440 iTunes.exe[4020:c94]: : operation 31 progress -1
2010-02-02 02:41:24.440 iTunes.exe[4020:c94]: : Recovery mode succeeded

At this point I killed iTunes and restarted it and clicked on Restore once it recognized the phone again.

The beginning of the second log file after iTunes was restarted…

2010-02-02 02:42:57.604 iTunes.exe[320:4e8]: restore library built Aug 24 2009 11:22:55
2010-02-02 02:42:57.604 iTunes.exe[320:4e8]: iTunes: iTunes
2010-02-02 02:42:57.604 iTunes.exe[320:4e8]: iTunes: Software payload version: 7D11
The process seemed to stall towards the verification process and the end of my last log is shown below. After operation 14 things seemed to slow down and iTunes looked like it was looking for the phone and couldn’t find it.
2010-02-02 02:48:24.421 iTunes.exe[320:dec]: : operation 14 progress 98
2010-02-02 02:48:25.530 iTunes.exe[320:dec]: : operation 14 progress 100
2010-02-02 02:48:25.671 iTunes.exe[320:dec]: : operation 15 progress -1
2010-02-02 02:48:37.155 iTunes.exe[320:dec]: : operation 16 progress -1
2010-02-02 02:48:37.171 iTunes.exe[320:dec]: : operation 15 progress -1
2010-02-02 02:48:37.171 iTunes.exe[320:dec]: : operation 16 progress -1
2010-02-02 02:48:42.702 iTunes.exe[320:dec]: : operation 27 progress -1
2010-02-02 02:48:45.733 iTunes.exe[320:dec]: : operation 27 progress -1
2010-02-02 02:48:47.030 iTunes.exe[320:dec]: : operation 17 progress -1
2010-02-02 02:48:47.249 iTunes.exe[320:dec]: : operation 25 progress -1
2010-02-02 02:48:47.483 iTunes.exe[320:dec]: : operation 35 progress -1
2010-02-02 02:48:48.139 iTunes.exe[320:dec]: : operation 18 progress -1
2010-02-02 02:49:52.795 iTunes.exe[320:dec]: : operation 19 progress -1
2010-02-02 02:52:42.979 iTunes.exe[320:dec]: : operation 32 progress -1
2010-02-02 02:52:43.104 iTunes.exe[320:dec]: : operation 29 progress -1
2010-02-02 02:52:43.120 iTunes.exe[320:dec]: : operation 29 progress -1
2010-02-02 02:52:43.135 iTunes.exe[320:dec]: device returned AMR error 0
2010-02-02 02:52:43.135 iTunes.exe[320:dec]: : Restore succeeded
Reblog this post [with Zemanta]

Leave a Reply

Your email address will not be published. Required fields are marked *