@majmoz : My phone did not have TWRP before. And I am not sure how to restore an android as my phone won't even open recovery !! Do you think I can still get something from the phone? Any ideas would be really helpful!!
Thanks
Let try these steps:
1. If you don't have fastboot and adb installed then use
Minimal ADB & Fastboot TooL to install them. We will not be able to use the ADB commands but we will be able to use the fastboot commands.
2. Download and place in your adb and fastboot folder
TWRP 2.7.1.2 and
firmware 6.07.1540.1 (the unmodified one) rename to firmware.zip
3, We need to boot the phone into bootloader. Completely power off your phone. Once the phone is off, press and hold the Power Button + Vol Down the phone will boot into the bootloader. Using the Vol Buttons will move the selection up and down. Highlight or select FASTBOOT, then press the Pwr button to select. Once selected, you should see FASTBOOT where it previously said HBOOT.
4. Connect your phone to the computer, it should say FASTBOOT USB.
5. In the command window type the following commands:
Code:
[B][I][COLOR="Blue"]fastboot devices[/COLOR][/I][/B]
Note: Should see your "serial number device" Copy down your serial number
Code:
[B][I][COLOR="Blue"]fastboot oem rebootRUU[/COLOR][/I][/B]
Note: You should see a silver HTC logo come up on your phone after executing this command.
Note: if this command freezes, just disconnect the USB cable and hold the power and volume down buttons until the device reboots. Then, repeat the steps above again.
Code:
[I][B][COLOR="Blue"]fastboot flash zip firmware.zip[/COLOR][/B][/I]
Note: This will fail, message to say "please flush image again immediately" Just run the command again!
Code:
[B][I][COLOR="Blue"]fastboot flash zip firmware.zip[/COLOR][/I][/B]
Note: The green bar on the phone may not go to 100% of the bar ... but If you see completed on your computer command window, wait for a few seconds and move on.
Code:
[B][I][COLOR="Blue"]fastboot reboot[/COLOR][/I][/B]
Note: Your phone should boot up normally
If it doesn't or you just want to put the nandroid on your phone here is how it is done:
Unzip the nandroid and it will make its own folders on your PC. Since you don't have TWRP installed on your phone you will need to make some folders. Connect your phone to your PC, once it is connected open the Internal Storage folder. Here make a new folder called TWRP. Open that folder make a folder called BACKUPS. Open that folder and make a new folder the name will be your
serial number that you copied earlier. Now copy the entire folder the nandroid made earlier to this folder.
Now boot into the bootloader like you did earlier.
Code:
[B][I][COLOR="Blue"]fastboot flash recovery twrp-2.7.1.2-m7.img[/COLOR][/I][/B]
Code:
[B][I][COLOR="Blue"]fastboot erase cache[/COLOR][/I][/B]
Code:
[B][I][COLOR="Blue"]fastboot reboot-bootloader[/COLOR][/I][/B]
Once back in the bootloader, select bootloader and on the next screen select
Recovery. When TWRP boots up you will have a number of tiles Backup is one and Restore is another. For sanity sake, I would backup the present system before I restored the nandroid. When you select Restore you should see two if you made a backup the one with the name of the file folder you moved is the nandroid backup. Select it and once it is complete select reboot system and you are done.