[GUIDE] Get Stock Recovery/Install OTA Updates without losing data.

Did this method work for you?

  • Yes

    Votes: 54 66.7%
  • No

    Votes: 27 33.3%

  • Total voters
    81
Search This thread

claudenegm

Senior Member
Aug 16, 2011
286
148
Installing OTA updates while having Custom Recovery (ex. ClockWork mod) is not possible. You need Stock Recovery to install the OTA update.
I'll be showing you how to install Stock Recovery, and how to get back to ClockWork mod, without the need of flashing a total new stock ROM (RUU).

Please read this very well before starting:
* I'm not responsible about anything that may happen to your device, please don't follow this guide if you don't know exactly what you're doing.
* This guide is for Windows users only. If you can get the official "recovery.img" or "recovery_signed.img" from somewhere else, then you can follow the guide (b) and start from step 5.
* If you're on Custom ROM, this will not work for you. Go flash an RUU instead.
* Please download the OTA update zip file before starting.
* If you deleted any system apps before, doing an OTA update will probably fail with Status 7. In this case, you'll have to restore the deleted apps as they were. If it still doesn't help, you'll have to flash an RUU and then do the OTA update.
* After flashing the OTA, you'll need to run Revolutionary to install custom hboot giving you permissions to flash recoveries and other things through fastboot. (IT IS A MUST IF YOU WANT TO USE "Android Recovery Manager" to flash ClockWorkMod after updating)



To start, you can either follow guide "a" or guide "b". Following guide "a" is easier, safer and faster, I personally recommend it.
(a)
Getting stock Recovery using Android Recovery Manager
1. Download Android Recovery Manager.
2. Open the application.
3. Click on Start!.
4. Click on Download a recovery
5. Select your Software Version from the list.
6. The application will tell you what to do next.
7. When the application finishes flashing, press <No> which will reboot into recovery.

Installing OTA Update
8. When you see the (!) hold <Power> button and Press Volume UP. (If this doesn't work Press Volume UP then <Power> button)
9. Go to "Apply update from sdcard" and press <Power> button.
10. Choose your "update.zip" and press <Power> button.

(b)
Getting stock Recovery manually
Download your stock RUU from here or here.

If you don't have adb, please follow from step 1 to 3 in Step 4 in this thread.

1. Once you downloaded RUU open it and wait until you get to the "View Readme" page where there is the picture of an HTC device.
2. Go to your temp folder (Generally on Win 7 it's in "C:\Users\USERNAME\AppData\Local\Temp")
3. Look manually for folders that have lots of characters in that format: "{XXXXXX-XXXX-XXXX-XXXX-XXXXXXXX}".
4. One of them should have another folder in it and 2 files, this folder should be in that same format "{XXXXXX-XXXX-XXXX-XXXX-XXXXXXXX} too.
5. There should be in that folder something named "rom.zip" or "firmware.zip", open it up, and extract the "recovery_signed.img" or "recovery.img" to your ADB folder which is usually in C:\adb
6. Go to C:\adb and make sure that "recovery_signed.img" file is there. If not, repeat step 5.
7. Open command prompt (Press the start Logo on your keyboard + R, then write cmd and press enter) and type "cd C:\adb" {without quotes}
8. Ensure your phone is switched on (regular home screen) and connect it by USB in charging mode (Ensure USB Debugging is On by going on your phone to Settings -> Applications -> Development and Check USB Debugging).
9. Enter the command "adb devices". This is to confirm your phone is connected. (It should come back with list of devices attached and your serial number)
10. Enter this command "adb reboot bootloader" and wait until it reads on your phone fasboot USB.
11. Then enter this command "fastboot flash recovery recovery_signed.img" or "fastboot flash recovery recovery.img" depending on the name of the .img you extracted and wait.
12. Enter this command "fastboot reboot-bootloader"

You should have something similar to this.

Installing OTA Update
13. After doing step 12, you'll be on fastboot and have BOOTLOADER highlighted. Press on <Power> Button.
14. Press Volume Down, and highlight RECOVERY, then click <Power> button.
15. When you see the (!) hold <Power> button and Press Volume UP. (If this doesn't work Press Volume UP then <Power> button)
16. Go to "Apply update from sdcard" and press <Power> button.
17. Choose your "update.zip" and press <Power> button.

Run revolutionary and then ClockWorkMod can be installed using ARM (Android Recovery Manager), just choose ClockWorkMod x.x.x.x from the download page and click "Download and Flash".

Hope it helped ;)
Please vote and click Thanks if it did :)

Special thanks to prank1, f3nd3r and vslnweb :D
 

Attachments

  • recovery1.jpg
    recovery1.jpg
    32.2 KB · Views: 63,305
Last edited:

vsnlweb

Senior Member
Jul 7, 2008
146
14
1. Once you downloaded RUU open it and wait until you get to the "View Readme" page where there is the picture of an HTC device.

2. Go to your temp folder (Generally on Win 7 it's in "C:\Users\USERNAME\AppData\Local\Temp")

3. Look manually for folders that have lots of characters in that format: "{XXXXXX-XXXX-XXXX-XXXX-XXXXXXXX}".

4. One of them should have another folder in it and 2 files, this folder should be in that same format "{XXXXXX-XXXX-XXXX-XXXX-XXXXXXXX} too.

5. There should be in that folder something named "rom.zip", open it up, and extract the "recovery_signed.img" to your ADB folder which is usually in C:\adb

I have tried doing that, but I cannot seem to unzip the file. Windows keeps telling me that the .zip is invalid... Anyone have any suggestions??? I have also tried updating via "update.zip" and I get a status 7 error...
 

claudenegm

Senior Member
Aug 16, 2011
286
148
I have tried doing that, but I cannot seem to unzip the file. Windows keeps telling me that the .zip is invalid... Anyone have any suggestions??? I have also tried updating via "update.zip" and I get a status 7 error...

I suggest using WinRAR. Don't use update.zip, this was not designed for that.
Just use winrar to extract the file, and then follow the guide. ;)
 

f3nd3r

Senior Member
Nov 10, 2006
114
7
Probably because it's in use. Copy and paste the zip file to another folder and then extract that copy.
 

sirbilbo

Senior Member
Jul 21, 2007
538
65
Landskrona
I only took rom.zip and renamed it PG58IMG.ZIP and put it on sd-card then restarted phone in vol down + power.
I was on rom 1.45 but wanted to go back to rom 1.35 and this worked for me
 

claudenegm

Senior Member
Aug 16, 2011
286
148
I only took rom.zip and renamed it PG58IMG.ZIP and put it on sd-card then restarted phone in vol down + power.
I was on rom 1.45 but wanted to go back to rom 1.35 and this worked for me

Yea, it should work. But you got the stock ROM and lost root.
I posted this tutorial to show how to update OTA without installing all the stock ROM and without loosing any personal info.
 
Last edited:

gorky40

Member
Nov 6, 2007
8
0
It works if you're in S-OFF revolutionary? You lose the S-OFF? thanks

Enviado desde mi HTC Sensation Z710e usando Tapatalk
 

gorky40

Member
Nov 6, 2007
8
0
What version of HBOOT is installed with your method? thanks again

Enviado desde mi HTC Sensation Z710e usando Tapatalk
 

novsun88

Member
Jun 12, 2008
12
0
I've tried this a few separate ways. I have followed your steps to the T. All I get when I restart is a disc logo with the sync image. Then I get a picture of htc phone with a red triangle and !. I BELIEVE it's looking for PG58IMG.. and not finding it at which point it gets confused. I'm on stock rom- S-Off using revolutionary method. Any ideas?
 

vsnlweb

Senior Member
Jul 7, 2008
146
14
I think your OS might be corrupt... Have you tried restoring your old ROM with the revolutionary recovery...?

Sent from my HTC Sensation 4G using Tapatalk
 

claudenegm

Senior Member
Aug 16, 2011
286
148
I've tried this a few separate ways. I have followed your steps to the T. All I get when I restart is a disc logo with the sync image. Then I get a picture of htc phone with a red triangle and !. I BELIEVE it's looking for PG58IMG.. and not finding it at which point it gets confused. I'm on stock rom- S-Off using revolutionary method. Any ideas?

Did you have this problem before following the guide? I believe there's a problsm in you OS as vslnweb said.
You may flash an RUU, and I believe everything will be okay.
Or, if you're not able to get into recovery, you may flash the ClockWork mod to your device and perform a nandroid restore.
Extract the recovery.img from the PG58IMG.zip to your adb folder and follow the steps in the thread, just instead of writing "fastboot recovery flash recovery_signed.img" write "fastboot flash recovery recovery.img".
You'll be on clockworld mod again.

Edit: I re-read your post, are you getting this red ! when you get in recovery? Just a question, what are you trying to do? If you already have the OTA update, go into recovery and press vol.up and power, it'll show you an option to install an update from sd card.

Keep me updated :)
 
Last edited:

pr3cision

Senior Member
Sep 21, 2007
145
29
i tried flashing the stock recovery but i get this message.i am s-off rooted stock rom. hboot 1.17.0008 not sure why im getting this error. i tried flashing it through the terminal by flash_image recovery /sdcard/recovery_signed.img but that didn t work either. any suggestions?


c:\adb>fastboot flash recovery recovery_signed.img
sending 'recovery' (5332 KB)... OKAY [ 1.614s]
writing 'recovery'... FAILED (remote: not allowed)
finished. total time: 1.636s
 

claudenegm

Senior Member
Aug 16, 2011
286
148
i tried flashing the stock recovery but i get this message.i am s-off rooted stock rom. hboot 1.17.0008 not sure why im getting this error. i tried flashing it through the terminal by flash_image recovery /sdcard/recovery_signed.img but that didn t work either. any suggestions?


c:\adb>fastboot flash recovery recovery_signed.img
sending 'recovery' (5332 KB)... OKAY [ 1.614s]
writing 'recovery'... FAILED (remote: not allowed)
finished. total time: 1.636s

I do not recommend using terminal but you can try this at your own risk.. I just got some commands, which seemed logic to me and ended up with those:
Code:
su
flash_image recovery /sdcard/recovery_signed.img
reboot recovery
As you said you are rooted so, this may work for you I believe? :D
Just make sure you added the right recovery_signed.img to the main folder of your sd-card ;)
****************************************************

Keep me updated :)
 
Last edited:

EddyOS

Senior Member
Jan 2, 2010
15,281
4,030
London
This sort of guide shouldn't be made by a relative n00b as it's likely you've missed key steps or are assuming people know what they're doing. This sort of mod is likely to lead to bricking the unit unless you know 100% what you're doing
 

claudenegm

Senior Member
Aug 16, 2011
286
148
This sort of guide shouldn't be made by a relative n00b as it's likely you've missed key steps or are assuming people know what they're doing. This sort of mod is likely to lead to bricking the unit unless you know 100% what you're doing
What steps did I miss?
Sorry, This is the first guide I create. :) though I didnt say it was n00b friendly :D

Sent from my HTC Sensation Z710e using XDA App
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 41
    Installing OTA updates while having Custom Recovery (ex. ClockWork mod) is not possible. You need Stock Recovery to install the OTA update.
    I'll be showing you how to install Stock Recovery, and how to get back to ClockWork mod, without the need of flashing a total new stock ROM (RUU).

    Please read this very well before starting:
    * I'm not responsible about anything that may happen to your device, please don't follow this guide if you don't know exactly what you're doing.
    * This guide is for Windows users only. If you can get the official "recovery.img" or "recovery_signed.img" from somewhere else, then you can follow the guide (b) and start from step 5.
    * If you're on Custom ROM, this will not work for you. Go flash an RUU instead.
    * Please download the OTA update zip file before starting.
    * If you deleted any system apps before, doing an OTA update will probably fail with Status 7. In this case, you'll have to restore the deleted apps as they were. If it still doesn't help, you'll have to flash an RUU and then do the OTA update.
    * After flashing the OTA, you'll need to run Revolutionary to install custom hboot giving you permissions to flash recoveries and other things through fastboot. (IT IS A MUST IF YOU WANT TO USE "Android Recovery Manager" to flash ClockWorkMod after updating)



    To start, you can either follow guide "a" or guide "b". Following guide "a" is easier, safer and faster, I personally recommend it.
    (a)
    Getting stock Recovery using Android Recovery Manager
    1. Download Android Recovery Manager.
    2. Open the application.
    3. Click on Start!.
    4. Click on Download a recovery
    5. Select your Software Version from the list.
    6. The application will tell you what to do next.
    7. When the application finishes flashing, press <No> which will reboot into recovery.

    Installing OTA Update
    8. When you see the (!) hold <Power> button and Press Volume UP. (If this doesn't work Press Volume UP then <Power> button)
    9. Go to "Apply update from sdcard" and press <Power> button.
    10. Choose your "update.zip" and press <Power> button.

    (b)
    Getting stock Recovery manually
    Download your stock RUU from here or here.

    If you don't have adb, please follow from step 1 to 3 in Step 4 in this thread.

    1. Once you downloaded RUU open it and wait until you get to the "View Readme" page where there is the picture of an HTC device.
    2. Go to your temp folder (Generally on Win 7 it's in "C:\Users\USERNAME\AppData\Local\Temp")
    3. Look manually for folders that have lots of characters in that format: "{XXXXXX-XXXX-XXXX-XXXX-XXXXXXXX}".
    4. One of them should have another folder in it and 2 files, this folder should be in that same format "{XXXXXX-XXXX-XXXX-XXXX-XXXXXXXX} too.
    5. There should be in that folder something named "rom.zip" or "firmware.zip", open it up, and extract the "recovery_signed.img" or "recovery.img" to your ADB folder which is usually in C:\adb
    6. Go to C:\adb and make sure that "recovery_signed.img" file is there. If not, repeat step 5.
    7. Open command prompt (Press the start Logo on your keyboard + R, then write cmd and press enter) and type "cd C:\adb" {without quotes}
    8. Ensure your phone is switched on (regular home screen) and connect it by USB in charging mode (Ensure USB Debugging is On by going on your phone to Settings -> Applications -> Development and Check USB Debugging).
    9. Enter the command "adb devices". This is to confirm your phone is connected. (It should come back with list of devices attached and your serial number)
    10. Enter this command "adb reboot bootloader" and wait until it reads on your phone fasboot USB.
    11. Then enter this command "fastboot flash recovery recovery_signed.img" or "fastboot flash recovery recovery.img" depending on the name of the .img you extracted and wait.
    12. Enter this command "fastboot reboot-bootloader"

    You should have something similar to this.

    Installing OTA Update
    13. After doing step 12, you'll be on fastboot and have BOOTLOADER highlighted. Press on <Power> Button.
    14. Press Volume Down, and highlight RECOVERY, then click <Power> button.
    15. When you see the (!) hold <Power> button and Press Volume UP. (If this doesn't work Press Volume UP then <Power> button)
    16. Go to "Apply update from sdcard" and press <Power> button.
    17. Choose your "update.zip" and press <Power> button.

    Run revolutionary and then ClockWorkMod can be installed using ARM (Android Recovery Manager), just choose ClockWorkMod x.x.x.x from the download page and click "Download and Flash".

    Hope it helped ;)
    Please vote and click Thanks if it did :)

    Special thanks to prank1, f3nd3r and vslnweb :D
    2
    No Recovery for Europe 1.45.401.3.

    Can i flash Europe 1.45.401.2? I´ve tried this but it keeps on waiting for devices, and yes i got HTC drivers properly installed.

    Cheers,
    PC

    edit: manage to flash stock recovery back using the "b" method :), done the update and it worked.

    Another question: future OTA updates will run automatically, or for every ota i must enter hboot and flash update.zip?
    Thanks.
    I have no idea why the application isn't detecting your device.. :/
    But anyway, I'll be adding the recovery for 1.45.401.3 very soon :)

    You'll need to click on the Check for Software Updates button as each OTA gets released and follow the updates instructions.. You should flash the update.zip every time a new OTA is released. I'm not sure though.. If anybody knows anything about this, please prove me wrong ;)

    Hope it helped :)
    Thanks for your feedback ;)
    2
    My software number is: 1.34.771.1

    Thanks.

    This seems to be the RUU you need:
    "RUU_Pyramid_H3G_UK_1.34.771.1_R_Radio_10.43a.9007.00U_10.51.9007.27_M3_release_197065_signed.exe"

    I couldn't find a better download link than this one, so..
    RUU_Pyramid_H3G_UK_1.34.771.1_R_Radio_10.43a.9007.00U_10.51.9007.27_M3_release_197065_signed.exe

    Flash it at your own risk ;)
    If you need anything else, tell me :D
    1
    I dont tested it but it CANT work ;-)

    You push recovery_signed.img in your ADB folder and you are trying to flash an recovery.img ;-)

    Just a little error .... but confusing for "noobs" ;-)
    1
    I had original stock rom backup with super user after using revolutionary tool with s-off no super cid. My hboot was 17.1111.1. After using tmobile 1.29.9351 recovery image it ran through process and said done, wait for phone to reboot in to recovery, however it just reboot into stock rom 1.45.9035.1. The OTA 14mb by t mobile was there to install. It install and said sucessfully update to 1.50.9035.1. I attempted to reboot into recovery but triangle with red popped up. With power button and volume button held it shows Locked, Pryamid PVT SHIP S-OFF RL, HBOOT 1.18.0000. I tried several times to run revolutionary tool which I used before coping and pasting generated key, however it continues to say invalid key. Question 1, with s-off show why is it locked and what can be done to get root again.

    Read the sticky about this. You will find that you need to install clockwork mod recovery (5.0.0.8) by copying its P58IMG.ZIP file to the root folder of your SD card, then rebooting into hboot (Down volume+power key) and pressing Up volume rocker to flash. Delete the P58IMG.ZIP file from your SD card, then you will be able to go into recovery, flash su, and be rooted again.

    Yrs,
    dkephart

    Sent from my HTC Sensation 4G using xda premium