[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

claudenegm

Senior Member
Aug 16, 2011
286
148
0
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

Last edited:

vsnlweb

Senior Member
Jul 7, 2008
146
14
48
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
0
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. ;)
 

sirbilbo

Senior Member
Jul 21, 2007
538
65
0
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
0
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:

novsun88

Member
Jun 12, 2008
12
0
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
48
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
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?
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
0
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
0
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,282
4,028
0
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
0
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: