Jailbreak your iPhone

Recover iPhone 3GS from Apple Logo or Recovery Mode loop


Sometimes iPhone stucked at boot process and showed only an Apple logo (boot logo), some time it stucked on recovery mode loop i.e. iPhone starts in recovery mode after every restart. Here is a little tutorial on how to Recover iPhone 3GS from Apple Logo or Recovery Mode loop with the help of iRecovery. Thanks to Westbaer and Posixninja who made this awesome utility. iRecovery is a libusb-based command line utility for Mac OS X and Linux (perhaps Windows too). It is able to talk to the iBoot/iBSS in Apple’s iPhone/iPod touch via USB.

Run “ printenv “ comand in iRecovery and check your auto boot is set as false or true. For normal boot auto-boot should be set as true. If the auto-boot is flagged false then you have to set it as true. The following screenshot is from a iPhone 3GS which was stucked on Apple Logo, you can clearly see the auto-boot is set as false.  Picture_1 Here are the instructions below for changing your iPhone auto-boot from false to true with iRecovery for Windows and Mac OS X. Make sure while using iRecovery  your phone is on recovery mode, if it isn’t then put your phone in recovery mode using the following procedure.

  • Turn the device completely off and disconnect it from cable/dock.
  • Hold down the home button.
  • While holding down the home button connect to a computer with a cable (easiest) or dock.
  • Keep holding down the home button until you see a connect-to-iTunes screen You are now in recovery mode.


Instruction’s For Mac OS X :

1) Download iRecovery package for Mac OSX and Unzip iRecovery folder to desktop.

2) Open terminal and perform cd ~/desktop

3) Now change the permission of both files to 777 by following commands.

chmod 777 libusb-0.1.4.dylib

chmod 777 iRecovery

Picture 1

4) Now launch Showallfiles you downloaded earlier, and Navigate usr > lib and copy the file libusb-0.1.4.dylib into that folder.

5) Drag-and-drop the iRecovery file into the Terminal so that you get a shortcut to it.

6) Append ‘-s’ to the end and press enter.

Picture 3

7) Execute the following commands

        setenv auto-boot true



If the phone is still on boot loop then once again, just run through the procedure again. When my phone was stucked on Apple mode, I repeated the procedure 3 times and on third attempt my phone restored to usable condition. So don’t panic if you don’t succeed in first attempt. If the attempts fails then try again and this time replace “fsboot” with “reboot


Instruction’s For Windows :

1) Download irecovery for Windows and unzip to Desktop. Install libusb from the downloaded pack for Windows users only Mac users can skip this step. If you are on Windows Vista then follow the steps given below to install Libusb-Win32.

  • Right click on this file. Select Properties | Compatibility Click the “Run this program in compatibility mode” box and select  “Windows XP (Service Pack2)” from the drop down list.
  • Right click again and select “Run as “Administrator”. Follow the installation instructions. Running the test program list the usb devices plugged into my computer – but not my new device.

2) Start iRecovery in Terminal / Console with iRecovery -s

3) Execute the following commands:

	setenv auto-boot true



If the phone is still on boot loop then once again, just run through the procedure again. When my phone was stucked on Apple mode, I repeated the procedure 3 times and on third attempt my phone restored to usable condition. So don’t panic if you don’t succeed in first attempt. If all attempts fails then try again and this time replace “fsboot” with “reboot


Comments ( 102 )

Have Something To Say ?

  1. Nick May 8, 2011 Reply

    Hmm i downloaded this did all of them and when i got to opening iRecovery app it just oppened and closed what can i do?

  2. sam April 30, 2011 Reply

    I have 3GS unlocked phone using blacrain to get it out of recovery mode , it used to work fine but now it freezes on Geohots face and doesnt open , after 1 0 minites or so shuts off and when i restart again in recovery mode with itunes and USB sign
    Please help as i have lots of data

  3. Zubair Ahmed March 21, 2011 Reply

    after rebooting how much time does it take to finally be ready????

  4. Cori February 14, 2011 Reply

    I am in major trouble.I have a 3gs iphone and i am stuck on connect to itunes.I’ve tried holding home screen and even took it to att store.I’ve had no results but not due to lack of trying.I am now stuck.I cant restore.Can ANYONE HELP ME PLEASEEEE!!!!

  5. Vinod January 21, 2011 Reply

    @Amir and @MN :

    Got USB
    No iPhone/iPad found

    Issue is that libusb disabled all usbs.

    1. unistall libusb from control panel
    2. open the libusb exe’s properties and convert the compatability xp mode and run as administator while installing.

    It worked for me … it should work ….

  6. Enjennings October 16, 2010 Reply

    Does it work on the iPhone 4 and windows 7??

  7. kudos October 10, 2010 Reply

    what happens if the iRecovery doesnt open up when you double click on it

  8. Fahad October 8, 2010 Reply

    100 million thanks to you bro. it works, though “reboot” option for me. but still. 100 million thanks. thanks thanks thanks.

  9. Rabbitman333 September 29, 2010 Reply

    Thank you so much! I followed the instructions and then left while my iPhone was in recovery mode, and I ate dinner, then when I returned, it worked again. You’re awesome!

  10. Coflow September 10, 2010 Reply

    In the mac section it says the second command is “saveenvs” but it us just “saveen” with no S at the end. just like the windows section. Please fix this typo, i had to go to another site to figure out this was wrong in the mac section.

  11. MN September 5, 2010 Reply

    Amit, please let me know (muralijai@yahoo.com) if you found a solution. I have iphone 3g, jailbroken and stuck at same place. But I am able cmd windwo says it can see my iphone though.

  12. Amir September 4, 2010 Reply

    HELP!!! 🙂

    (3GS, jailbroken with spirit, 3.1.2)

    Phone is in endless rebooting cycle… screen with apple, then rolling timer thingy for a few seconds… then crash than reboot… endless cycle…

    I tried the instructions here.. when I do iRecovery -s I get:

    Got USB
    No iPhone/iPad found

    but my iphone is definitely connected…

    Can anyone help please? I am on a trip and need the iphone..

    message me directly at isrboy99 [at] gmail.com

    thank you!!!

  13. Nicolai August 21, 2010 Reply

    kldietch. thank you!

    worked on first try.

    Thanks all.

  14. kldietch August 16, 2010 Reply

    Step #4 was also confusing. After searching, I found a great comment that laid it out step by step for us noobs. Props to the author: G$

    November 17th, 2009 on 10:34 pm
    Well this didn’t work out at all, all the time I’ve spent trying to salvage what I have I could have redone everything by hand. Turns out that there are a lot more steps involved to get irecovery to work. Thanks for the help anyway!

    1) Download iRecovery
    2) Place both files on the Desktop
    3) Open terminal and type ‘cd ~/Desktop’
    4) Run command ‘chmod 777 libusb-0.1.4.dylib’
    5) Run command ‘chmod 777 iRecovery’
    6) Run command ‘defaults write com.apple.finder AppleShowAllFiles TRUE’
    7) Run command ‘killall Finder’
    Navigate Macintosh HD > usr > local > lib
    (kldietch edit: This means open the Macintosh HD icon, go to usr, then to local, and then click lib)
    9) Copy the file libusb-0.1.4.dylib into that folder
    10) Open a new terminal

    Here’s the link to the page I found:

  15. Nicolai August 15, 2010 Reply

    SAME AS GOO 31.07.2010

    ON Windows XP

    please can someone provide the exact procedure for running libus and irecovery. which folder do I place them? Do I run it through the command prompt?

    Im 36 and haven’t used a command prompt for 20 years. Help the old guys out!


  16. philip August 3, 2010 Reply

    exellent work !

  17. Goo July 31, 2010 Reply

    I keep getting “cannot execute binary file” when I have the phone connected and in recovery mode and try to execute the “iRecovery -s” command in terminal. I’m guessing that the libusb-0.1.4.dylib needs to be somewhere SPECIFIC?? At least the instructions here were clearer than most other sites I have read but still no luck. Where to put the libusb-0.1.4.dylib file is VERY UNCLEAR!

    If someone is going to give step by step instructions they should take all of the steps into account. Youtube is filled with endless sugar addled ADD videos of prepubescent kids trying to explain things in high pitched cracking voices, camera shaking all over where you can’t read the steps or leaving out information and what not, it’s comical.

    More wasted hours with an ifone!

  18. k-white330ci July 31, 2010 Reply

    hi guys, i need help on my iphone 3gs , model 3.1.2, 5.11.07.
    yesterday, first my friend jailbreak my phone using spirit, and then he used blackrain to try to unlock it for me, and unfortunately, the phone is now in recovery mode and how can i kill out of the recovery mode? “prior to the spirit, the phone is locked/no jailbreak. on 3.1.2”, is there anyway to make it out of the recovery mode without restore to the latest OS? TIA..

  19. henso July 30, 2010 Reply

    thanx man phew!!! it worked! i was scared!!

  20. m4mpfi July 18, 2010 Reply

    didn’t work on windows 7 for me (iPod/iPhone not found) but I successfully recover my iphone from recovery mode on a vista machine. Just right click on the usb-lib install file, properties and activate windows xp (sp 2) compatibility mode. thank you so much!!

  21. Seth June 23, 2010 Reply

    Did you have to restore with Itunes afterwards?

  22. Seth June 23, 2010 Reply

    Same Question:

    4) Now launch Showallfiles you downloaded earlier, and Navigate usr > lib and copy the file libusb-0.1.4.dylib into that folder.


    When and where do we find “showallfiles”? Can you youtube this? Thanks.

    • Vinay June 23, 2010 Reply

      @Seth Check the files you downloaded from this article

  23. D3nn1s June 14, 2010 Reply

    So I got it working, but I believe after fsboot, you have to type reboot (not replace fsboot with reboot

  24. Emily May 29, 2010 Reply

    Hi, I had the same question as Robert, the very first commenter – I don’t understand Step 4 under Mac-OSX:

    4) Now launch Showallfiles you downloaded earlier, and Navigate usr > lib and copy the file libusb-0.1.4.dylib into that folder.

    Vinay, can you please explain? Thanks!

  25. Clint May 23, 2010 Reply

    To clarify for those people who were like me 2 days ago with little knowledge of all the Jargon. The baseband and firmware seem to be independent entities. You can have firmware 3.13 and be on one of several different basebands. The one to avoid is upgrading to baseband 05.12.01 with firmware 3.13 for iphones 3gs as this seems to be unbreakable at this point. But the solution i posted above seems to work for anything below this baseband.The reason i say this is that after hours of trawling and focussing of the firmware version I found that at present at least the thing causing a lot of the unbreakable issues is this baseband.

  26. Clint May 23, 2010 Reply

    For anyone with an Iphone (3g or 3gs) that is hanging on the apple logo and you have tried everything and are being stumped by having to upgrade the firmware, this link saved my ass. This link upgrades the firmware to 3.13 but keeps the baseband and works if your phone is hanging and requires a restore. It works up to firmware 05.11.07 (baseband 05.12.01 apparently cannot be resolved yet but is being worked on). I was just about to give up until I tried it. Hope it helps.
    For those of you who havent spend hours yet looking at all avenues make sure you dont upgrade your iphone 3GS firmware the traditional route if it has been unlocked, use the below.


  27. Vlad May 14, 2010 Reply

    Hi, I have got a little different problem (maybe)! Look a have an iPhone 3gs with an old bootrom and with a pwnage tools custom firmware 3.1.2, old baseband! Suddenly the phone gone into recovery loop, tried to rewrite the firmware but it always kept showing me in the Recovery Mode the 1600 error, and in DFU mode error 9. Don’t know what to do! Can this method help me??

  28. Lindsay May 14, 2010 Reply

    @ Pasha – we are in the same boat in every way. please let me know if you figure it out and i will do the same!!

  29. kodeina May 14, 2010 Reply

    @Vinay – belive me, i tried all the posibilities. this is the reason i said “no matter i do”. I tried DFU, recovery and all the mods the iphone has, tried with almost all version of itunes and all version of firmware. I am still unable to use the restore from itunes.

    So, do you know other ways to fix that boot or whatever happened? And forget about jailbrake through redsnow/blackra1n or spirit, already tried all the posibilities..

  30. kodeina May 13, 2010 Reply

    @Vinay – thanks for your answer. I am unable to use itunes to restore the firmware, because I get the 23 error no matter i do.

    Are there other ways? For exemplu: to use iRecovery to undo something worked before?


    • Vinay May 13, 2010 Reply

      @Kodeina This is pretty common. Are you sure the phone is in DFU mode?

  31. kodeina May 13, 2010 Reply

    @Vinay – can you please give me a hand ? I know is my bad, I ran spirit over jailbrake and the phone started reboot loop. I’ve done everything you said in the article but now when the phone starts, when it came to the position to start the os (where before rebooted) its shutting down. Can you please advice what should I do ?


    • Vinay May 13, 2010 Reply

      @Kodeina Try DFU mode + Restore to fresh firmware

  32. coucou May 6, 2010 Reply

    i used SPIRIT and then nothing in my iphone i m in recovery mode i had tried 20 time (irecovery mode)
    with 0 result
    please help me

  33. alejandro May 6, 2010 Reply


    Tenia mi iphone 3GS en el bucle de logo de itune y la solucion fuy pasarle el blackra1n y listo volvio a la vida. El entro en ese estado por que tiene un sistema de deteccion de jailbreak y cuando de reinicia se bloquea, y todo esto gracias al nuevo iboot.

    Para los iphones 3g si funciona el irecovery ya que lo e probado pero con estos codigos

    setenv auto-boot true
    / exit
    y listo lo reinicie y funciono

  34. K9krista May 2, 2010 Reply

    Did he just say “STUCKED!! ”


  35. Hadi1973 April 19, 2010 Reply


  36. Pasha April 18, 2010 Reply

    I have a 3GS with 3.1.2 OS jailbroken and simlocked by blackra1n and blacksnow. 2 days ago, I downloaded a photograph app from itunes app store. I bought it officially. and a day after that my iphone suddenly restarted itself while i was talking on the phone. It was starting itself over and over again, getting stuck on the apple logo screen. I tried many things that i could find on the internet. However, many of them didnt worked. (iPhone Browser, IPhone Explorer didnt worked also. Those didnt recognize my iphone even if iphone was at recovery stage.)

    Now I m trying the solution, stated at this article. I put the iphone into recovery mode, starting the terminal and it successfully recognizes my iphone. However after that none of my commands are being recognized by the terminal, as an example, my terminal output:

    (Recovery) iPhone$ setenv auto-boot true
    (Recovery) iPhone$ saveenvs
    (Recovery) iPhone$ fsboot

    Even if i write “myiphonesucks” as a command, terminal doesnt give any response to it such as:

    (Recovery) iPhone$ myiphonesucks
    (Recovery) iPhone$

    However, after connecting the iphone through, iRecovery -s, I only can use “reboot” command. Interestingly it only recognizes this command. Not even “fsboot”…

    Please help me, I need my iPhone so much these days. As part of my job, I need to look at my mails while I am away too, but w/o my iphone, it really is impossible for me.

    This really is urgent! Please help me.

    Thanks alot.

  37. Matt April 13, 2010 Reply

    It works, be patient! Keep trying! I tried ALL day, everything I could think of, finally, It almost magically worked. I just heard the computer make the little usb connection noise, and saw the iphone camera box pop up…that was it! I tried different usb ports, different computers, everything. I DID NOT want to restore to 3.1.3, NEED to keep 3.1.2. Like i said, KEEP TRYING! Good Luck!
    Thanks to posters!

  38. HB April 6, 2010 Reply

    Hi Guys, After execute iRecovery -s , got the following: Got USB, No Iphone/Ipod found. What’s gone wrong? and what should i do?

  39. HB April 6, 2010 Reply

    Hi Guys, after execute iRecovery -s at the prompt command, I got the following: Got USB

  40. celio April 4, 2010 Reply

    one more for the team… gotta a 3gs 3.1.2 bb 05.11, all was fine, till iphone decided to not turn on anymore, only coninuous hang on apple logo, and then reboot.

    i tried many things so far, including the instructions here, but no luck (does not answer in irecovery, only ‘reboot’ comand work). Already restored in recovery AND in DFU mode, all goes fine, but phone has no change.

    no chance to take to apple store, here in Brazil they just doesn´t exist, and phone was bought in US. I´m about to desolder bb chip and try to rewrite it using a programmer, if I don´t get to work in next few days, please let me know if anyone have a solution, or attempt to solve that.

    mail: email [at] celiovaz [d0t] c0m


  41. Plant April 4, 2010 Reply

    Oh, and that’s for WINDOWS VISTA 64 bit :).

  42. Plant April 4, 2010 Reply

    FOR THOSE ON WINDOWS VISTA — you’ll need to do a couple of extra steps to get libusb and irecovery working. Here’s a youtube video that did the trick for me: http://www.youtube.com/watch?v=21wFxw1kwSo. Without doing the steps in the video, I found my usb keyboard and mouse disabled, so make sure to check it out if you’re on WINDOWS VISTA.

  43. Tobias April 2, 2010 Reply

    Hello – i have this big problem to

    i can not startet the iRecovery.exe directly or per CMD

    the iRevovery Windows pop on and of

    i have Windows 7 and iPhone 3g – 3.2.1 – Jailbreak with Blackrain RC3

    i hope i not los my data on the iphone my last backup in itunes is from 2009 🙁

  44. toby April 1, 2010 Reply

    Recently I had the problem, that my iPhone 3GS couldn’t recognize any wireless network. Actually, that was not a real problem for me because I had a WiFi detection app which worked nicely (“WifiTrak”).
    One day however, I wanted to fix this WiFi issue by resetting the network settings by pushing “reset network settings”, not being aware of the things that could happen later.
    After that, my iPhone got caught in a reboot loop with the Apple logo appearing for a certain time and then disappearing and then starting the whole cycle anew.

    For your information, I bought my iPhone in June 2009 in Switzerland together with a Swisscom contract. The phone was last running OS 3.1.2, jailbroken and unlocked with blackra1n and sn0w, respectively. I was using WinXP SP3 throughout.

    So I began to research in the internet for 6 hours or more. One thing became clear: I couldn’t upgrade to 3.1.3 because I was running the phone on T-Mobile (USA) and therefore needed to keep the old baseband.
    I first tried to let the iPhone escape from looping by using iRecovery that unfortunately didn’t work because an ‘unknown parameter’ was missing in the iRecovery script (the recommended USB port detection program was installed!).
    Afterwards I tried to boot the phone by just applying blackra1n exactly in the same manner as when blackra1ning for the first time. I read that one could apply this method to boot it, but it didn’t work at least on my phone. The geohot logo appeared on the screen though but the spinning wheel didn’t. The automatic reboot as well as the manual reboot didn’t work either.
    For me it was clear that just trying to escape the loop seems impossible.

    So I downloaded a custom firmware 3.1.2 from ‘ilikemyiphone’ and installed it after having turned the iPhone into recovery mode (not into DFU mode = black screen! First, I tried this but then after installation 1600 error occurred in my iTunes which prevented further proceeding). Everything worked nicely and the phone booted normally. On the home screen, besides the standard icons, Cydia was there. However, the phone had NO SERVICE, neither with the original carrier SIM card nor with the T-Mobile SIM card. In addition, there was no hotspot that I could have joined to download something from Cydia that allowed unlocking the phone or possibly a patch to get the service to work. Of course I could have waited until I would have been back at home but I somehow wanted the phone to work again right then.
    So I downloaded an un-customized regular firmware for OS 3.1.2 somewhere from the internet and installed it on the iPhone using the same procedure as above. However, I used the official carrier SIM card. After that I blackra1ned the phone as described anywhere. For installing sn0w to unlock the phone I needed to have access to either the GSM net or WiFi. GSM worked this time (unlike in the case of the custom firmware) so I used this method. Since then, everything worked perfectly. Even the last backup could be restored and successfully installed. I only had to install all Cydia apps anew, but that wasn’t a big issue.

    However, the standard WiFi function does still not detect networks but my app “WifiTrak” does a good job instead. I’m just glad that the iPhone isn’t in the boot loop anymore.

    I want to share this experience to encourage people who are relying on the unlock functionality not to upgrade to 3.1.3.


  45. Sumit March 28, 2010 Reply

    My jailbroken iPhone 3GS got disabled due to entering wrong passcode multiple times. It now shows the initial boot screen. Everytime i try to boot it, it doesn’t respond. Even a hard-reboot doesn’t help. I tried using the steps listed here to get my iPhone out of recovery mode, but no success. Please help.

  46. Khan March 17, 2010 Reply

    I jailbroke and unlocked iPhone 3GS but when I run the printenv command in the iRecovery, It would do nothing. I also tried the above commands many times but nothing works. Please help.

  47. caravelle March 16, 2010 Reply

    I m using vista can someone tell me if the test I have to do it with the iphone plug?

    and then in terminal how can I write the commandes when I type iRecovery -s and enter nothing happens


  48. Madsin March 14, 2010 Reply

    THANK YOU! This was a life saver. My iPhone 3GS died when upgrading from 3.1.2 to 3.1.3 and I tried multiple times to restore. It wasn’t until I found this, and used the detailed instructions from the user “Sean” above that I got my phone working again.


  49. Billy March 11, 2010 Reply


    Go to start, type up “CMD” and find the place you put the files (ex. C drive) by typing in “cd [location]”. Once you’re in the same directory, type in “irecovery -s”. Then you can follow the rest of the instructions. Unfortunately it’s not working for my 3gs right now though =\

  50. Lindsey March 10, 2010 Reply

    I’m running Windows 7. I downloaded the irecovery and the libusb for windows. i ran libusb and changed the settings. I try to run irecovery and the command window pops up for a split second. i can’t get it to open long enough to type anything into it.

    Please, help.


  51. iDancer32GS March 9, 2010 Reply

    it doesn`t work…((( The command “reboot” works only…

  52. Jared March 6, 2010 Reply

    Im running 3.1.2 on my 3GS and it froze while installing a cydia app and i tried to use blackra1n but it wold run the boot but would freeze and stay in the boot loop. i am by no means a computer genius but i am a quick learner, so if anyone has any advice for me please contact me at pancreasman@aol.com. All help would be greatly appreciated, Ive been at it for hours looking through blogs and still no luck!

    Please help me!
    Jared N.

  53. zizi March 6, 2010 Reply

    i jailbroked my phone using blackrain. im trying to get out of the recovery mode. i’m a Windows user, and i’v managed to install the software. but i have a problem test programming. when i clicked on it, and it doesn’t give me the option to list the usb devices connected to my computer. i dont no how to do it. please clarify. all i get when i test program is this

    DLL version:
    Driver version: -1.-1.-1.-1

    bus/device idVendor/idProduct

  54. gizmo March 4, 2010 Reply

    thanks, It Works !!
    i was almost going te update to 3.1.3
    but I’m still stuck with my locked 3.1.2 now.
    blackra1n isn’t working. (Model N° A1303)

  55. chris walker March 2, 2010 Reply

    This seemed to work for me thank you very much i wish i would have known this earlier though now im stuck with 3.1.3 oh well. oh and another tip is to change fsboot to reboot if it doesnt work sometimes

  56. Gaurav March 1, 2010 Reply

    keep getting “dyld: Library not loaded: /usr/local/lib/libusb-0.1.4.dylib” after trying to launch iRecovery on mac

  57. Keagan March 1, 2010 Reply

    I did all the steps but when i put in fsboot nothing happens. When i put in reboot the phone reboots and goes back to the iTunes logo and the usb cable. What am i doing wrong or how can i fix the problem?

    you can email me at kilroy2012@gmail.com

  58. Eric February 27, 2010 Reply

    Word of warning. Libusb, for some reason or another, screwed up all my peripheral drivers for both my Vista and my Windows 7 installs. On both machines all PCI devices and USB devices would no longer function (scaring the crap out of me). Once I found an old keyboard and mouse that didn’t have USB plugs, I uninstalled libusb then my computers went back to normal. Some sort of weird incompatibility.

  59. Oliver February 26, 2010 Reply

    I have a 3GS, jailbroken at 3.1.2

    I may be doing something wrong, but I get nothing from ‘printenv’. fsboot does nothing, either.


  60. sam February 24, 2010 Reply

    after i put
    -start irecovery (type: /irecovery.exe -s)

    and then nothing happen. what should i do next, please help?

  61. Sean February 19, 2010 Reply

    Also, here is exactly what I did after numerous tries between a combination of this blog and the other similar one on this site: http://www.ihackintosh.com/2009/07/irecovery-iphone-recovery-mode-loop-restart/

    Step by step just to make it easy for all: (Windows XP)

    -plug in iphone (close itunes when it starts)
    -open a Command Prompt (windows: start/run../type “cmd”)
    -put irecovery files on desktop, not in a folder
    -start irecovery (type: /irecovery.exe -s)
    —>this brings up irecovery shell, ready to input commands
    -should recognize your iphone/ipod
    -type each of these lines on a seperate line (enter after each):
    setenv auto-boot true
    -after I typed reboot the great site of the normal silver Apple showed on the screen and the phone booted to it’s normal state.

    Thanks again for this wonderful tool,

  62. Sean February 19, 2010 Reply

    THIS SAVED MY WORLD. Thank you thank you thank you thank you. I cannot express how much this saved me. iPhone 3GS 3.1.2. tried to upgrade to 3.1.3. and it errored out while “veryifying install”.

    Had photos / videos of a 2 week trip in Europe that would’ve been erased, if I had listened to the Apple Customer Service people and “restored” from backup.

    You are a rockstar.

  63. Russ February 17, 2010 Reply

    I did these steps and were able to complete them but it still does not work… Any suggestions?

    Thank you

  64. Azim February 16, 2010 Reply

    i have tried and it’s working

  65. Erick February 12, 2010 Reply

    I had the same problem and the only solution was to do a DFU hard reset. The solution I found is here:


    Posted by mikesgroove

    I hope this helps.

  66. citizenziggy February 11, 2010 Reply

    can someone please confirm if iRecovery actually works with 3.1.2 w/ 5.11 baseband? not working for me.

    also not exactly sure where to put the libusb file. any help would be appreciated.

  67. citizenziggy February 11, 2010 Reply

    iRecovery didn’t work for me either.

    3GS 3.1.2 5.11 BB in boot loop

    re-tried blackra1n

    I get nice screen of Geohots face.

    twirly thing appears in middle of screen. stalls

    finally iphone reboots to apple logo again… waiting…. hrmmm.

    looks like I’m back in boot loop. DAMN!!

    any suggestions?

  68. Derf February 11, 2010 Reply

    I have a 3GS that came with 3.1, which I upgraded to 3.1.2 and then jailbroke using blackrain. I was going along fine for a couple months when I installed some winterboard plugins, and then got stuck on the apple logo reboot screen. I restored and re-jailbroke, but that was a pain. Then a week ago I was in the middle of trying to send a text when the iPhone just froze. I tried to restart, and got the same apple logo loop. Restore again which really aggravated me because it had been a solid week since I backed up and I lost some pictures and videos and text messages. Then two days ago my phone was ringing off the hook so I shut it down. When I went to turn it on in the morning, it was stuck on the apple logo loop again. So frustrated again, and just days after Apple released 3.1.3 I worried if i could get 3.1.2 back on again without extra heachache.

    But first I tried iRecovery; compiled it on my linux box, and got it to go to “starting command prompt” but it never gave a prompt. Seems like 3.1.2 doesn’t work with iRecovery. So I tried putting it in recovery mode and running blackra1n. It stayed on the picture for a couple minutes before I shut it down – stuck back on the apple logo. Did the whole restore mode, blackra1n again, wait shutdown.. restart… apple logo. Frustrated again.

    Left it plugged in for maybe an hour or two, and it kept cycling through the apple logo trying to restart itself. Then all of sudden I hear the USB connect sound, and itunes opens saying there is an update for the iphone to 3.1.3 (not that it has detected an iphone in recovery mode). I looked at the phone and it was asking for the authentication unlock code… I had 15 new voicemails, a bunch of new text messages, and stuff, and all was back.

    No idea what happened, but thought I’d post to any others not to give up hope. Now to do a backup!

  69. PM January 19, 2010 Reply

    I have had the same problem with iRecovery not responding to commands.

    I have managed to get the phone responding to commands by using redsnow where you just let it go to the moment when it reboots your iPhone and gives you black-light screen before showing the jailbraking icon/progress. So if on this black-light screen you cancel redsnow, then you will be able to do everything with iRecovery.

    Unfortunatelly my iPhone is so bricked that even being able to execute iBoot commands under iRecovery doesn’t solve my problem 😀 I need to recover the FW but with iTunes I’am getting all the time error 6. but hey I tell you I am playing with the phone for a week and I have been able to kick it back on twice. But yeah as I am originally solving a non working wi-fi problem I had again bricked the phone 😀
    So for you desperate people. Just keep trying. My iPhone is responding to iTunes recovery on one of every 100 attempts 😉

    my combination of programs used to kick it back on is redsnow, iRecovery, iReb and iTunes. 😉

  70. abe January 19, 2010 Reply

    Thanks! Worked for me. Saved me from having to completely restore.

  71. 304 January 14, 2010 Reply

    I get an error iPod/iPhone not found. I’ve rebooted it many times. QuickPwn doesn’t detect it either. The driver is installed for iBoot but stuck with error 39 (unresponsive device). It turns on and loops to the recovery screen though.

  72. immanuel January 3, 2010 Reply

    to get ur ipod out of recovery i usually use black ra1n so when ur in recovery try using blackra1n

  73. SuperDave December 26, 2009 Reply

    Experience sharing…

    I just bought iPhone 3gs version 3.1.2(7D11) , modem firmware 5.11.07 two days before Xmas at Apple Store in Canada.

    I had successfully JBed and Unlocked the phone right in the Xmas eve… afterward I am suffering … “recovery mode loop” – every time it goes to “itune – cable picture” while the device is rebooted in which case it needs to run blackra1n again… then work …

    I have tried iRecovery command in DOS prompt screen at my Win-XP-pro SP3

    $iphone printenv –> nothing show up on terminal

    $iphone setenv auto-boot” –> nothing happen, just went to command prompt.

    $iphone saveenv —> back to command prompt

    (The command “printenv” doesnt works on my 3GS.)

    After hard-reset… the iphone still stuck at “recovery mode”… 🙁

    *** I think iRecovery will not work on 3.1.2 with the “latest boot rom” from Apple after jailbreak with BlackRa1n RC3.

    I had checked the BlackRa1n site, it does mention the tethered jailbreak ….3GS is rebooting into recovery after running blackra1n. It’s a feature, run blackra1n every time to boot it.

    It’s enabled by upgrades Apple made to the bootrom.

    So I guess right now just wait, keep my iPhone turn-on all the time (even while power recharging… until dev-team or GeoHot to release patch ot upgrade Blackra1n to solve the issue …

  74. oren December 23, 2009 Reply

    i have the same problem that shadi have

    Any ideas ?

  75. Ahmad Hussain December 22, 2009 Reply

    Hi Guys.

    WHen I type in printenv, I don’t get a list of all the stuff that people have show.

    In addition, I have a 3.1.2, which has been hacked using blackra1n. Didnt need to teether till now. Could you confirm if this method will work for my phone?!]

  76. Shadi December 20, 2009 Reply

    The commands used in the console, do they work with the latest release of iBoot from apple which comes with the iPhone 3GS running 3.1.2 ? Because the only command that worked is reboot. plus it didn’t sort my problem, it still boots into recovery mode again.

    Any ideas ?

  77. Akida December 7, 2009 Reply

    Hai guys!

    So, i did as you wrote with 3.1.2 3gs which i have blackra1ned and I have always been able to restart the phone as normal (non tethered hack). So after a month of using the phone my wifi stops working so i reset settings and bam! phone crashes and is stuck on apple logo screen crashing after a few minutes. I have run what you said a few times. when i write each command i get no response. it just moves on after a few seconds ready for the next command. reboot works to reboot the phone. nothing is fixed. I put the phone into recovery mode and have blackra1ned it but the phone crashed …..

    so, looks like its time for a restore.

    Thanks for trying =)

  78. h3nn3p November 23, 2009 Reply

    Hi guys,

    I have tried it several times with fsboot & reboot but no succes,,

    here’s my printenv showing that the autoboot has been set to True..

    ←[m] (Recovery) iPhone$ printenv
    build-style = “RELEASE”
    build-version = “iBoot-596.24”
    config_board = “n88ap”
    loadaddr = “0x41000000”
    boot-command = “fsboot”
    idle-off = “true”
    boot-device = “nand0”
    boot-partition = “0”
    boot-path = “/System/Library/Caches/com.apple.kernelcaches/kernelcache.s5l8920
    display-color-space = “RGB888”
    display-timing = “n88”
    P bootdelay = “0”
    P platform-uuid =
    P backlight-level = “216”
    P auto-boot = “true” <<<<<<<<<<<<<<<<<<<<<<< True
    image-version = "0x3"
    framebuffer = "0x4fd0000"
    secure-boot = "0x1"

    However my Iphone will not boot up normally again, and the Apple Logo keeps appearing on my screen.

    I am really in need of some other tips and good advice.

  79. al November 23, 2009 Reply

    iRecovery will not work on 3.1.2 with the latest boot rom from Apple after you jailbreak with BlackRa1n.
    One has to use BlackRa1n every time to boot the iphone after power off. Check the BlackRa1n site for details. IT is not a bug

  80. axw November 21, 2009 Reply

    iphone 3GS 3.1.2

    after jailbreak I am stuck in recovery loop mode.
    I’m able to start iRecovery -s in the install folder

    when I execute the following command, nothing happened ?

    “printenv” –> nothing show up on terminal
    “setenv auto-boot” –> nothing happen, just went to command prompt
    “saveenv” —> back to command prompt

    The command “printenv” works on my 3G, which shows all the env. variables.

    Any ideas ?????????

    Can I use SSH (WinSCP) to change the auto-boot back to true ?? if so How ?

  81. xinyan November 14, 2009 Reply

    does this work on iPod Touch as well?

    i’ve tried it on my 3rd gen iTouch for about 5 rounds and it always reboot with the same screen indicating recovery mode

  82. Bobby Fong November 12, 2009 Reply

    Yes. This work on my 3gs 3.1.2 on the 3rd time!

  83. iphone4g October 30, 2009 Reply

    when restore ituns Preparing iphone fro restore 3GS Panic:we are hanging here…wation:oxe …please help me

  84. Sad Face October 28, 2009 Reply

    Hi Vinay,

    After installing iBluetooth cracked i rebooted my iphone and it stuck with apple logo and then goes black screen. After trying to jailbreak it on top of old jailbreak it stops on disk0s2s1 ERROR.

    I dont want to upgrade to 3.1 cuz i will lose unlock capability.

    Can you tell me if your method will do something to get my iphone to work?

    PS: i actually tried it 3 times, and after reboot comand it reboots and stops at apple logo and then turns off.

    PSS: what if i will restore thru itunes using custom firmware with unupgraded modem version?

  85. abracadabra October 23, 2009 Reply

    Yes!!! I did it (actually on 5th or 6th attempt)!!! thank you. My Iphone is 3GS 3.1FW and 5.11.07 modem. Now I want to downgrade it to 3.0 …
    Good luck to all!

  86. kryten October 22, 2009 Reply

    I have tried to use irecovery in my windows but my iphone 3GS still stuck with apple logo after reboot…..

    When I tried to Execute the following commands:
    setenv auto-boot true —–> successfully
    saveenv —–> successfully
    fsboot —–> not successfully because the link is broken

    Can somebody help me please ???

  87. rics October 20, 2009 Reply


    i tried to use irecovery but my iphone is stuck after reboot with apple logo on it.. and i waiting now like forever…

    can somebody help me please??? iam realy2 need a help


  88. maddy October 16, 2009 Reply

    wooow u r grt !!! keep it up

  89. erolsipar October 14, 2009 Reply

    How can I execute these. Why there are no pics for stupid people like me. Time for smashing 3GS soon!

  90. erolsipar October 14, 2009 Reply

    I will try this method after I get my phone from the service if they cannot restore to 3.0. Apple stops signing and it gave me the most headache in the world. I cannot restore to 3.01 or 3.0.

  91. Z.LiSH October 8, 2009 Reply

    Will this work on a 2G?

    • Vinay October 9, 2009 Reply

      @Z.lish yes this will work on a 2G also

  92. Nicolai October 7, 2009 Reply

    And give me this too:..

    [FTL:MSG] Apple NAND Driver (AND) RO
    [NAND] No supported NAND found
    NAND FTL failed initialisation
    Boot Failure Count: 1 Panic Fail Count: 2
    Delaying boot for 0 seconds. it enter to break into the command prompt…
    root filesystem mount failed
    Entering recovery mode, starting command prompt
    ←[m] (Recovery) iPhone$”


  93. iphone newb October 7, 2009 Reply

    Hello, i just got an iphone 3gs with firmware 3.0.1. successfully jb with redsn0w. tried to use ultrasn0w to unlock. phone restarted and stuck on apple logo. tried to rejailbreak, phone comes up with disk0s2s1 ERROR( i’m not even sure what this means). Not sure what to do right now. i basically have the most expensive paper wt in the world. please advise. i would like to have it unlocked and usable on TMO but i would settle for getting it back to normal. any help with this would be greatly appreciated. i was wondering if i could jb with pwnage tool 3.1, please let me know what u guys think, don’t want to make anymore stupid mistakes. PLEASE HELP

  94. Bob October 7, 2009 Reply

    i finally got this to work!!!! first off im not sure if i did everything right but it worked so if u have any questions ill do my best. also the show all files thing is just finder. all i did is drop the libusb-0.1.4.dylib in the /lib folder. not sure if its right but i did it anyways and it worked. you might have to change the permissions before you can add the folder. also the end result for me was basically a new phone that needed to be set up with itunes. i have a 3gs and am running snow leopard. feel free to ask questions.

  95. Troest October 2, 2009 Reply

    so no chance ever to downgrade the bandbase 5.09???

  96. vineesh October 1, 2009 Reply


    I have iphone 3gs 16 gb bought from apple store in UK on 28th august.and i live in Oman. i have not used even a day the phone. i dont know the version no. i given this phone to one iphone unlocking guy. but he said he unlocked and it is not booting, it restarts again and again, he told me it requures restore and itunes is not allowing to sync the phone. he has told me this two weeks back and he said he is trying to restore.i want to take the phone from him please help me how i can get my phone working, using my sim in Oman. please help me by step by step and what files to be download, iam a windows user. thanks and waitign for your reply. please reply me to vineeshm@gmail.com

    • Vinay October 1, 2009 Reply

      @vineesh First of all don’t update to 3.1 in any case, if your phone keep rebooting try the abovesaid method and post our results here. If you restored your phone with iTunes and stock 3.1 firmware then your phone can’t be unlocked again in future.

  97. robert September 30, 2009 Reply

    can you clarify step number 4? there was no showallfiles download…

Leave your comment here