Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

error 29 iphone locked in recovery mode

I brought my 32 gs iphone on friday and tried to connect to my lab top (brand new toshiba windows 7)
error 29 and the iphone is permanently stuck with itunes with usb photo on screen tried all the recommended restore and restart procedures.
spoken apple support and then apple specialist support 3hours, have sent files etc and they will forward to their engineers.
I fell like smashing it

iphone 3gs, iPhone OS 3.1.3

Posted on Feb 9, 2010 12:40 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 9, 2010 6:30 PM

I'm in the exact same boat, except I was in the middle of an iPhone update via iTunes. Normally these periodic required updates from Apple are a non-event, but this time, it went black screen in the middle and then the Apple logo with usb plug appeared and said that I needed to do a restore. It was just like when I took the iPhone out of the box new, nearly a year ago. Now it is caught in a loop, it tries to restore, but 2/3 way through it jumps back to the apple logo with usb plug and I go round and round. HELP! I need my iPhone to work! It seems that there might be a bug with the current upgrade. The error message is so new (#29) that it is not even listed on the error code list. Help!!!
198 replies

Jun 22, 2010 12:10 PM in response to tokm908

Same here too. Upgraded to a larger battery a couple of weeks ago. Battery meter in 3.1.3 was flaky after that btw. But anyways, got the same problem.

When it fails during update, sometimes you get a button to see details of the issue that is being sent to Apple. Read down that list and sure enough, it fails on "gasgauge..blah blah blah". I believe gas gauge is the battery meter, yes?

So trying to downgrade now until I can order up an OEM battery, but not having much luck there either. I leave for an SF to SD bike tour in 2 days, so I'm really hoping somebody figures this one out!

Message was edited by: criddar (fat-fingered the version number)

Jun 22, 2010 12:56 PM in response to saj_singh

copying my post from another error 29 discussion:
http://discussions.apple.com/message.jspa?messageID=11727411#11727411

I have the same problem on my iPhone 3GS. I did replace the battery from ifixit.com, since the phone had water damage and the old battery failed. When I get the error, I see the following error in the log file that is opened when iTunes attempts to send an error report:

...
entering create system_keybag
attempting to create system key bag on /mnt2
*entering update gas_gaugesoftware*
booted from secure root: give device keybag access to everyone
AppleKeyStore:cp key_storeaction(1)
AppleKeyStore:cp key_storeaction(1)
*gasgauge_swupdate failed: -1*
attempting to dump restore log
writing log file: /mnt1/restore.log

2010-06-21 13:42:14.000 iTunes\[1806:156e7\]: AMRAuthInstallDeletePersonalizedBundle
2010-06-21 13:42:14.000 iTunes\[1806:156e7\]: removed personalized bundle
2010-06-21 13:42:14.000 iTunes\[1806:156e7\]: <Restore Device 0x22d6ba10>: Restore failed (result = 29)
*2010-06-21 13:42:15.000 iTunes\[1806:207\]: iTunes: Restore error 29*
2010-06-21 13:42:21.000 iTunes\[1806:207\]: device connected (isDFU = 0)
2010-06-21 13:42:21.000 iTunes\[1806:207\]: iTunes: SCEP 3
...

I'm pretty sure the "gasgauge_swupdate" attempts to update firmware or do something to the battery and since this is a replacement, it may not have the same configuration as an original battery. I sent an email to the ifixit.com guys, but they aren't aware of this problem. They are sending a replacement battery, so I'll try installing that and upgrade again.

Drew

Message was edited by: drew2010

Jun 22, 2010 1:08 PM in response to drew2010

I was able to revert my phone back to the 3.1.3 software version, here is what I did.
A couple of assumptions: you are running a mac, your phone version was 3.1.3 prior to upgrading to 4.0.

1. You need to download the old 3.1.3 software, you may already have the old version, just check to see if you have a file in /Users/<username>/Library/iTunes/iPhone Software Updates/. The file should be named something like, "iPhone2,1 3.1.3_7E18Restore.ipsw". If you have this file, good you can move to step two, otherwise you will need to find a download link for it.

2. From iTunes, Option-click the restore button. This will open a finder window, select the 3.1.3 software package. Click Choose.

3. After the restore, you will most likely get the same error 29 message. Click through all this and use iRecovery to break the restore lock. You can follow the following website for instructions on how to do this: http://www.ihackintosh.com/2009/07/irecovery-iphone-recovery-mode-loop-restart/

4. Reboot your phone and you should be back at version 3.1.3.

I'm thought of trying this with 4.0, but from many comments it looks like the failed upgrade didn't run all the necessary programs to create a stable phone. So, we may be stuck at 3.1.3.

Drew

Jun 22, 2010 1:49 PM in response to Kerrse

1. Make sure you have the right version for your phone. There is a separate download for the iPhone 3G and 3GS.

2. Validate the checksum on the file you downloaded against my checksum. This will tell you if you have an official file or not:

ga-afrezell-20:~ dfrezell$ md5 ~/Downloads/iPhone2,1 3.1.3_7E18Restore.ipsw
MD5 (/Users/dfrezell/Downloads/iPhone2,1 3.1.3_7E18Restore.ipsw) = 4117e4b22565e69205a84e9eeef0583e

You will need to open up a Terminal shell and type the command:
md5 <path>/iPhone2,1 3.1.3_7E18Restore.ipsw

This takes a few seconds and the hex number should match mine: 4117e4b22565e69205a84e9eeef0583e

Here is the direct link I used to download the 3.1.3 version (iPhone 3GS version):
http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone/061-7472.2 0100202.8tugj/iPhone2,13.1.3_7E18Restore.ipsw

Apparently edgesuite.net handles a lot of companies downloads.

3. I tried earlier software versions and got the same error you did. This may be a "bad thing". From my readings of various posts, Apple validates software packages before installing them on the iphone. Unfortunately, they only keep the latests versions on the validation servers. So, when trying to revert back to a previous revision that is no longer available, you get the "could not be restored" message.

Another possibility is the phone needs to be in DFU mode when restoring from a failed 4.0 upgrade. This is different from Restore mode, in that the screen is blank (no plug or any graphics) but you still see the iphone in iTunes. To get into DFU mode:

a. Make sure the iPhone is connected to the computer via usb.
b. Hold the Power and Home button for 10 seconds (really, do the 1-one thousand, 2-one thousand count in your head).
c. After 10 seconds, let go of the power button but still hold the Home button.
d. Wait until the iPhone shows up in iTunes, then you can let go of the Home button.
e. Attempt the restore from file again (3.1.3 file).

Drew

Jun 22, 2010 2:55 PM in response to jeroen van 't Hert

What baseband do you have? I'm stuck at 5.11.07. Maybe iOS4 doesn't work with BB from iOS 3.1.2. Mine isn't unlocked.. Even rewrote it completely via http://www.saurik.com/id/12 and
http://extechblog.wordpress.com/ . Still same outcome.. Can't do a normal restore without having to resort to iRecovery to get it out of the darn error 29 and recovery mode. At 3.1.3 the phone works just fine.

error 29 iphone locked in recovery mode

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.