Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[TUT] Disaster Recovery - How to recover from nearly everything [Updated 28/04/2012]

OP Setsuna666

20th April 2012, 09:15 AM   |  #1  
OP Member
Thanks Meter: 97
 
79 posts
Join Date:Joined: Dec 2009
Due to the lack of time, I cannot update this thread as frequently as I want to, so from now on, please refer to the HTC One X - XDA Developers Wiki

This guide is based on information found in leejames55 HBOOT loop thread and torxx tutorial, I just wanted to make thing clear, simple and consolidate all information in one place for non-dev users. So thanks to them and everyone who contributed.

After seeing alot of people having problem after flashing a rom, restoring RUU, re-locking bootloader, I've decided to make this guide in order to help everyone. If you follow this guide there's a good chance that you will manage to recover your phone

This is for people who have the following problem:
  • Cannot boot into ROM (e.g Stuck at the HTC Logo)
  • Boot Loop
  • Re-locked bootloader while having a non-working ROM
  • Cannot flash RUU because battery is below 30% - IMPORTANT: You must flash the new version of ClockWorkMod in order to be able to recharge the phone while off and from recovery

The most common problem is being stuck at the HTC Logo after flashing a ROM, try clearing the fastboot cache with these steps:
  1. Power off your phone and hold the power button + volume down
  2. Choose fastboot from bootloader
  3. Connect the phone to your computer
  4. On computer type:
    Code:
    fastboot erase cache
  5. Choose "Reboot" in fastboot menu

If this doesn't work, try the rest of the guide

If you cannot flash RUU, go into recovery etc. because battery is below 30%

IMPORTANT: You must flash the new version of ClockWorkMod in order to be able to recharge the phone while off and from recovery. So, flash the new recovery and this problem will NOT happen.

Quote:
Originally Posted by ckpv5

I don't think he can do that as more and more people have this problem as stated on OP:

  • Cannot flash RUU because battery is below 30%

But there is no explanation on how to to solve the problem. All the suggestions are good only when you have at least 20% battery.

So here I want to share on how I solve my problem to get the battery up to at least 20% so that you can fastboot flash anything, but to run RUU you need to have more than 30%. This works for me and hopefully it will work for others too.

Instead of plug in and plug out the usb cable to and from your phone when connected to PC (which actually not working for me), what I did was :

1) connect the phone to PC, your phone will boot into bootloader with red light flashing on and off or all the way red or no light at all.
2) use the vol button to scroll to power down and press power to off.
3) if the phone boot again to bootloader, repeat (2)
4) if the phone not booting, press the power button to on the phone, it will boot to bootloader again. Try the fastboot flash ** (whatever you want to do, either flash unlock.bin to unlock bootloader to flash CWM recovery or relock bootloader and flash stock recovery). If it fails due to low battery, repeat again (2) then (3) and (4). I did this less than ten times to have fastboot flash working.

What I notice is whenever we press power on, it will go to splash screen but unable to pass the bootanimation due to lack of battery, it will go back to bootloader. In the process, the battery get charging but stop when we are in bootloader. So restart again & again (power down in bootloader & power on again) will charge the battery until you have enough juice for fastboot flash.

Note: item (4), I did the fastboot flash ** before power on, it will say "waiting for device", once the phone is on and in fastboot mode, the command will runs. So once the battery reach about 20%, it will runs succesfully.

Quote:
Originally Posted by wolfraim

Well, i discover it because i brick my phone haha now i share it to you.

IF YOU HAVE ANY UNSIGNED RECOVERY:
1.- GO TO RECOVERY
2.- FORMAT SYSTEM
3.- RESTART NORMALLY
4.- YOUR PHONE WILL STOPS IN "HTC QUIETLY BRILLIANT" SCREEN
5.- PUT YOUR PHONE TO CHARGE (no light notification appears)
6.- LET IT CHARGE FOR A COUPLE HOURS (i put mine to charge for a complete night)
7.- Now restore your RUU, Flash, etc...


IF YOU HAVE SIGNED RECOVERY:
1.- GO TO FASTBOOT
2.- HIT "SHUT DOWN"
3.- WITH THE POWER OFF PUT IT TO CHARGE
4.- RED LIGHT NOTIFICATION SHOWS THE CHARGING PROGRESS.
5.- NEXT DAY YOU WILL SEE A SOLID GREEN LIGHT NOTIFICATIONS FOR A COMPLETE CHARGE.

PD: Sorry for ortography, im from Chile, my native speaking is spanish but i want to share my knowledge with XDA COMMUNITY !

If you re-locked the bootloader
  1. Unlock with the same Unlock_code.bin file provided by HTC and follow this link: http://www.htcdev.com/bootloader/unl...ctions/page-4/

If you have stock recovery
  1. Download a Custom Recovery (e.g http://forum.xda-developers.com/show....php?t=1594819)
  2. Then flash it with the command:
    Code:
    fastboot flash recovery recovery-clockwork-touch-5.8.2.7-endeavoru.img

If you have Custom ROM on or nandroid backup internal SD card
  1. Reboot in recovery (If your still in fastboot, choose "Reboot Bootloader" and then go into recovery)
  2. Restore a Nandroid Backup or flash Custom ROM
  3. Reboot and go into fastboot
  4. Clean cache in fastboot

If you DON'T have custom rom or Nandroid backup on internal SD card
Quote:
Originally Posted by torxx

So here a method which always works (many people have issues with flashing RUU's etc. having a bootlop.)

  • Download a RUU from here, thanks to Football!
  • Now open the .exe and make sure that it fully started.
  • Don't click anything, just go to windows icon and search for %temp%.
  • You will now find some folders, just search through these folders for the ROM.zip.
  • If you found it, you can copy it to your desktop or somewhere else.
  • Extract it with WinRar,7-zip or something like that and take the boot_signed.img and system.img.
  • Now copy the two files into the folder where the fastboot.exe is placed (if you have installed the Android SDK, it should be in platform-tools)
  • Plug in your One X, go into the bootloader and go into fastboot mode.
  • Navigate with the cmd in the folder with the fasboot.exe and the two .img's.
  • Now type in that:
    Code:
    fastboot flash boot boot_signed.img

After that:
Code:
fastboot flash system system.img
If everything worked, just reboot:
Code:
adb reboot

If you want to restore to original HTC ROM or have new HBOOT/Radio, you will have to do the step above and then the following:
  1. Flash a ROM and boot image based on 1.26 (e.g ARHD 2.1)
  2. Clear fastboot cache
    Code:
    fastboot clear cache
  3. Boot your phone
  4. Charge you phone completely
  5. Download stock recovery
  6. Flash stock recovery
    Code:
    fastboot flash recovery endeavoru_recovery_signed.img
  7. Relock bootloader
    Code:
    fastboot oem lock
  8. Run 1.26 RUU

Useful Links
HTC One X - IRC - This is the best way for you to get answer to you questions and help if you have problems
HTC One X - XDA Q&A

Don't hesitate to contibute to this guide, as this is made to anwser alot of questions and resolve most common problem when flashing custom roms.

We are all here to learn, take from community and give back to community!
Last edited by Setsuna666; 28th April 2012 at 05:00 PM.
The Following 87 Users Say Thank You to Setsuna666 For This Useful Post: [ View ]
20th April 2012, 09:50 AM   |  #2  
Senior Member
Flag Munich
Thanks Meter: 14
 
214 posts
Join Date:Joined: Dec 2011
thanks man, great thread
20th April 2012, 10:43 AM   |  #3  
vallandil's Avatar
Senior Member
Flag @Home
Thanks Meter: 52
 
193 posts
Join Date:Joined: May 2009
Donate to Me
More
+1
Nice u will be helping a lot of people with this....
The Following User Says Thank You to vallandil For This Useful Post: [ View ]
20th April 2012, 12:43 PM   |  #4  
Senior Member
Flag Istanbul
Thanks Meter: 429
 
778 posts
Join Date:Joined: Jan 2011
More
Any tut for no boot no recovery formatted sdcard ?

Sent from my HTC One X using XDA Premium HD app
20th April 2012, 02:14 PM   |  #5  
neo-kamui's Avatar
Member
Flag Heidelberg
Thanks Meter: 0
 
51 posts
Join Date:Joined: Jul 2010
More
I have a problem that I cant find a way to recharge my phone...
20th April 2012, 02:46 PM   |  #6  
torxx's Avatar
Senior Member
Thanks Meter: 21,653
 
8,033 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Quote:
Originally Posted by neo-kamui

I have a problem that I cant find a way to recharge my phone...

More information is needed, like which Recovery..

Anyway, good thread!
The Following User Says Thank You to torxx For This Useful Post: [ View ]
20th April 2012, 02:49 PM   |  #7  
Junior Member
Thanks Meter: 0
 
12 posts
Join Date:Joined: May 2010
More
Help..
C:\Android>fastboot flash boot boot_signed.img
sending 'boot' (4278 KB)... OKAY [ 0.562s]
writing 'boot'... INFOFormat partition LNX done
OKAY [ 0.468s]
finished. total time: 1.030s

C:\Android>fastboot flash system system.img
sending 'system' (960424 KB)... FAILED (remote: (00000006))
finished. total time: 0.016s

C:\Android>


Any Help would by nice.
My cid "None"
I have no backups on phone
No files on phone.
ruu will not run error
Iv been all over the forums and tried many ruu`s
I think i have a brick


more info.. Was t-mobile branded but i flashed custom rom, then tried to update (epic fail) i the went back into recovery and was no files on phone sd.
i have tried with locked bootloader and unlocked bootloader with stock recovery and CWM recovery, i think iv tried all..
i`v just found a ruu_endeavor for t_mobile uk 1.26.110.2 i will give that ago when it downloads in about 1hr haha
Last edited by itswick; 20th April 2012 at 03:51 PM. Reason: added
20th April 2012, 02:59 PM   |  #8  
Petteri's Avatar
Senior Member
Flag München
Thanks Meter: 166
 
601 posts
Join Date:Joined: Nov 2009
More
This is really an excellent guide for everyone! THX from munich
20th April 2012, 03:23 PM   |  #9  
Junior Member
Thanks Meter: 0
 
28 posts
Join Date:Joined: May 2010
Quote:

Any Help would by nice.
My cid "None"
I have no backups on phone
No files on phone.
ruu will not run error
Iv been all over the forums and tried many ruu`s
I think i have a brick

SAME
20th April 2012, 03:26 PM   |  #10  
torxx's Avatar
Senior Member
Thanks Meter: 21,653
 
8,033 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Read my part..

The Following User Says Thank You to torxx For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes