1. Download our Official Android App: Forums for Android!

Root Getting into Recovery when you are bootlooped at HTC screen, with PG05img.zip still on SDCARD

Discussion in 'Android Devices' started by chrisjm00, May 31, 2011.

  1. chrisjm00

    chrisjm00 Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    180
    Joined:
    Feb 9, 2010

    Feb 9, 2010
    180
    9
    36
    Military
    Baltimore, MD
    Hello all,

    I posted this over at XDA, figured I would post it here as well.


    Just found a neat little work around for getting into recovery when you have a radio on your SDcard. You don't need a card reader or anything for this one. Tonight I accidentally flashed a Sense kernel while trying to get CM7 up and running. I got stuck at the HTC screen and it refused to boot any farther. So I had the choice of going to walmart and buying an SDCARD reader, but I thought that I could find a way around it, and I did. Sorry if this has already been posted.

    Steps:

    1. Connect to a charger and remove the SDCARD from the phone, replace the battery and then boot into Hboot screen. Normally this would ask to update the radio if an SDCARD with a PG05img.zip file was inserted, and regardless of whether you accepted or declined, you were forced to reboot, with no way to get into recovery.

    2. Remove the battery from the phone. Hboot will stay powered up while connected to your charger.

    3. Reinsert the SDCARD and replace battery.

    4. Select recovery and your phone will boot into recovery for you, and you can restore a backup, or reflash your rom, or whatever you were trying to accomplish before you got into a bootloop or bad rom install or whatever.

    Again, I don't know if this has been posted before, but I thought it was a cool little workaround for those times you need to get to recovery but can't due to the PG05img.zip file still being on your SDcard.
     

    Advertisement

  2. scotty85

    scotty85 Extreme Android User
    Rank:
    None
    Points:
    1,413
    Posts:
    11,131
    Joined:
    Jul 25, 2010

    Jul 25, 2010
    11,131
    7,411
    1,413
    might wanna got a cardreader from newegg or ebay for the next time around. while your workaroud obviously works,i personally would not be real fomfortable removing my sdcard and/or battery with my phone plugged in and powered on.

    much safer,IMO,to just stick the card in a cardreader,or even another old cellphone. :)
     
    jr313 and McLabia like this.
  3. chrisjm00

    chrisjm00 Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    180
    Joined:
    Feb 9, 2010

    Feb 9, 2010
    180
    9
    36
    Military
    Baltimore, MD
    I had an old cell phone but it refused to read the sdcard. Too high capacity I guess. Oh well, I didn't have the sdcard in the phone when I initially booted it up so I figured no harm no foul, but none the less a card reader won't hurt.
     
  4. sml7285

    sml7285 Newbie
    Rank:
    None
    Points:
    15
    Posts:
    11
    Joined:
    Mar 18, 2011

    Mar 18, 2011
    11
    0
    15
    Something similar happened to me too:

    "Yep. Got everything fixed. Being the idiot that I am, I left the PG05IMG file on my sd drive. By ghetto rigging a system where I held the battery in contact with one hand and used a handle of a spoon to push in the SD microchip with the other after bypassing the bootloader into recovery, I managed to reflash and get everything up and running"
     
  5. chrisjm00

    chrisjm00 Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    180
    Joined:
    Feb 9, 2010

    Feb 9, 2010
    180
    9
    36
    Military
    Baltimore, MD
    Not sure if the smart ass comment was necessary but hey, thanks for the input.
     
  6. ridobe

    ridobe Guest
    Rank:
    None
    Posts:
    0
    Joined:

    I don't think any smartass comment was meant towards you. I believe he is just copying and pasting his own quote from another thread/forum. I actually remember reading it somewhere.
     
  7. scotty85

    scotty85 Extreme Android User
    Rank:
    None
    Points:
    1,413
    Posts:
    11,131
    Joined:
    Jul 25, 2010

    Jul 25, 2010
    11,131
    7,411
    1,413
    yes i remember reading it too,tho i didnt undertand it till now... all of a sudden i got the visual of how he musta used a spoon handle to shove in his sd card while holding the battery onto the contacts with the other hand.

    definately not meant as smart ass comment.

    i hope what everyone who reads this thread derives the following important messages:
    1)make sure to delete or rename PG05IMG files immediately.
    2)invest in a cheap card reader for emergencies(ebay,newegg.com) as both methods described worked,but are not optimal.
     
  8. SecondShot

    SecondShot Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    269
    Joined:
    Mar 29, 2011

    Mar 29, 2011
    269
    89
    53
    Washington DC
    I learned the same lesson the hard way recently...first thing i do now is delete the PMG file but...my card reader is old and wouldn't read the TB card so I had to figure something else out...

    I had an old 2gb micro sd card from my blackberry Storm (haha, read it and weep...i loved that thing before I knew how good it could be on my tb anyway, i digress), removed battery, removed 32 gb micro sd card (no spoon necessary :D), replaced with other 2gb micro sd card, replaced battery and booted her up - damn if it didn't work (cause it didn't have a PMG file on it. Now I could turn off normally and replace the SD card. Deleted that puppy as soon as I could by mounting the original sd card.

    I would say that was lucky though. As Scotty says, don't suggest following in my footsteps. ;)
     
  9. scotty85

    scotty85 Extreme Android User
    Rank:
    None
    Points:
    1,413
    Posts:
    11,131
    Joined:
    Jul 25, 2010

    Jul 25, 2010
    11,131
    7,411
    1,413
    just curious... what did you guys have on your sd cards that you couldnt have just let re-update? ida prolly done that before i resorted to spoons and battery pulling :D
     
  10. digdug1

    digdug1 Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,965
    Joined:
    Apr 27, 2010

    Apr 27, 2010
    1,965
    309
    163

    WHOA now thats some MacGyver stuff right there :D
     
  11. chrisjm00

    chrisjm00 Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    180
    Joined:
    Feb 9, 2010

    Feb 9, 2010
    180
    9
    36
    Military
    Baltimore, MD
    Sorry, its tough to gauge sarcasm on a forum. Just seemed like a stranger method than what I stumbled onto to bypass the hboot screen if you end up stuck.
     
  12. CyberPitz

    CyberPitz Android Enthusiast
    Rank:
    None
    Points:
    63
    Posts:
    303
    Joined:
    May 17, 2010

    May 17, 2010
    303
    42
    63
    Joplin, MO
    Bingo. I did the exact same thing as OP, but thankfully was able to throw my SD card in there, connect to computer and delete that blasted file. Taught me a valuable lesson, at least :p
     
  13. SecondShot

    SecondShot Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    269
    Joined:
    Mar 29, 2011

    Mar 29, 2011
    269
    89
    53
    Washington DC
    Scotty, it was the gb radio file and the phone was in a bootloop. then if you tried to go to hboot, it just kept updating since it found the PMG file. Maybe there was an easier workaround...all ears.
     
  14. scotty85

    scotty85 Extreme Android User
    Rank:
    None
    Points:
    1,413
    Posts:
    11,131
    Joined:
    Jul 25, 2010

    Jul 25, 2010
    11,131
    7,411
    1,413
    well,best option woulda been a card reader ;) nother option would have been to insert the card into another phone that could connect to a pc,then deleted the file that way. or even a file viewer on another phone,coulda deleted it without plugging into a pc.

    otherwise,i would have let the radio update,then select no to reboot when it was done. then you could have selected recovery from hboot. in recovery you could mount the card for usb storage,then deleted the file,replaced with froyo radios(if thats why you didnt want to re-update the GB radios),moved a rom to the card to flash,or whatever else you might have needed to do. you could then have restored a backup or flashed a rom,and then either: a)reboot into the OS,or b)pull the battery to get back to hboot.

    what you did with replacing the card,brings us to another,clever option: make an "emergency SD card" for these situations. it could be just a 2g,with an emergency rom to flash,and a clockwork mod folder with some backups. now,if you forget to delete an IMG file,or your in a bootloop and your current card bites the dust :eek: just pop in the emergency card and good to go. yeaaaaah i like that idea. :cool:
     
    rexdog1888 likes this.
  15. SecondShot

    SecondShot Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    269
    Joined:
    Mar 29, 2011

    Mar 29, 2011
    269
    89
    53
    Washington DC
    Yeah man, I like that idea too. That is what I am doing right this moment! Emergency SD Card...

    Also ... per one of your suggestions -- it wouldn't let me select "recovery" in hboot. It would only allow the "update option".
     
  16. Drew66

    Drew66 Well-Known Member
    Rank:
    None
    Points:
    38
    Posts:
    225
    Joined:
    Feb 16, 2011

    Feb 16, 2011
    225
    23
    38
    San Diego, CA
    LOL, I had the same problem. Luckily my wife also has a TB so I just put the card in her phone and removed the file and moved the card back and all is good again!
     
  17. scotty85

    scotty85 Extreme Android User
    Rank:
    None
    Points:
    1,413
    Posts:
    11,131
    Joined:
    Jul 25, 2010

    Jul 25, 2010
    11,131
    7,411
    1,413
    sometimes when you update in hboot,after the update is complete,youll be presented with "update complete. reboot? vol up yes/vol down no" at wich point you could select no and then get to recovery. however,ive recently noticed that not all hboot updates do this. when i went back to the original radios this morning to go back to cm7,all i could do was "power to reboot". :eek:

    so your right,this option wont always work ;) im not sure if its got something to do with the type of update,or simply something in the "android info" text file.

    at any rate,the emergency sd card is a great idear. im gonna do one up too,as soon as i secure myself an extra lil 2 or 4 gb card :cool:
     
  18. Ibrick

    Ibrick Android Expert
    Rank:
    None
    Points:
    93
    Posts:
    983
    Joined:
    Feb 21, 2011

    Feb 21, 2011
    983
    208
    93
    Banking
    Milwaukee
    Maybe I'm misunderstanding, but couldn't you just pull the SD put it into your comp and delete the file that way?
     
  19. WormDoes

    WormDoes Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    3,199
    Joined:
    Aug 8, 2010

    Aug 8, 2010
    3,199
    1,270
    313
    Sales
    Massachusetts
    Yes, if you have a card reader. If not, Scotty's idea is probably the best option, IMO. I have an old 1gb card I'm going to load up as an emergency card as well
     
  20. LexusBrian400

    LexusBrian400 Android Enthusiast
    Rank:
    None
    Points:
    113
    Posts:
    699
    Joined:
    Mar 3, 2010

    Mar 3, 2010
    699
    154
    113
    Automotive Electrical Technician / Mechanic
    I'm a drifter.. here and there.
    I've used the trick mentioned earlier, about letting the battery make contact without the sd card fully inserted and it worked perfectly fine, no card reader needed. Just a steady hand :) Very simple to do. Of course the card reader is the best option (or another phone) but the battery trick works just fine if need be.
     
  21. Cinder

    Cinder Guest
    Rank:
    None
    Posts:
    0
    Joined:

    This thread is kind of old but this happened to me recently. My particular story:

    Rooted the phone, got BAMF GingerRemix up and running for ~ 2days worked great.

    Decided I'd try out the latest sense squared theme, flashed it, phone will not boot into the actual os. Phone hangs on custom boot animation screen for almost an hour. Sinking feeling in stomach starts to set in...

    Get into Hboot and the phone just kicks into update mode with the PG05IMG file b/c I never took it off the card (did I mention this was my first root/smartphone?).

    Ended up doing the battery pull>sd removal>battery in>phone hboot usb option>battery pull again>sd in>battery in>recovery (which thankfully I created one just before installing this theme) and now all is back to normal.

    I will admit, for a second I started to think I'd be tossing this phone in some water and paying an 89$ deductible for a new one lol. Thankfully, that wasn't the case :D
     
  22. ekyle

    ekyle Android Expert
    Rank:
    None
    Points:
    143
    Posts:
    1,771
    Joined:
    Jan 5, 2010

    Jan 5, 2010
    1,771
    108
    143
    Male
    Software Engineer
    Central NY
    My card reader decided to fail me in my time of need over the long weekend. I had to put my SD card in my fiancee's Droid X and delete the radio file haha
     
  23. scotty85

    scotty85 Extreme Android User
    Rank:
    None
    Points:
    1,413
    Posts:
    11,131
    Joined:
    Jul 25, 2010

    Jul 25, 2010
    11,131
    7,411
    1,413
    nothin wrong with that! ive got a couple old phones layin around i could use if my card reader fails. i still like the idea of an emergency spare card,and i still havent gotten around to makin it up,lol
     
  24. ekyle

    ekyle Android Expert
    Rank:
    None
    Points:
    143
    Posts:
    1,771
    Joined:
    Jan 5, 2010

    Jan 5, 2010
    1,771
    108
    143
    Male
    Software Engineer
    Central NY

    I've got a bunch laying around but no way to put the ROM I was trying to reflash back on lol
     
  25. defTwitch

    defTwitch Member
    Rank:
    None
    Points:
    18
    Posts:
    75
    Joined:
    Apr 5, 2011

    Apr 5, 2011
    75
    10
    18
    consultant
    east coast...
    just an FYI... I seem to be able to boot into recovery and not HBOOT sometimes even with the radio file on the SDCARD.

    Not sure how I do it... but I do =)
     

Share This Page

Loading...