Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,899 Members 38,050 Now Online
XDA Developers Android and Mobile Development Forum
View Poll Results: Did this method work for you?
Yes 52 67.53%
No 25 32.47%
Voters: 77. You may not vote on this poll

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

Tip us?
 
claudenegm
Old
(Last edited by claudenegm; 27th January 2013 at 05:09 PM.)
#1  
Senior Member - OP
Thanks Meter 143
Posts: 262
Join Date: Aug 2011
Wink [GUIDE] Get Stock Recovery/Install OTA Updates without losing data.

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:
Quote:
* 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.
Quote:
(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.
Quote:
(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
Attached Thumbnails
Click image for larger version

Name:	recovery1.jpg
Views:	52552
Size:	32.2 KB
ID:	708855  
-> Samsung Galaxy S4
Previous phones:
HTC Sensation XL PVT SHIP S-OFF
HTC Sensation PVT SHIP S-OFF


Check out my guide on How to revert to Stock Recovery and Install OTA Updates without losing data.
Check out my application Android Recovery Manager.

Please hit the Thanks button if I helped
The Following 38 Users Say Thank You to claudenegm For This Useful Post: [ Click to Expand ]
 
xtcislove
Old
#2  
Senior Member
Thanks Meter 42
Posts: 567
Join Date: Jan 2010
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" ;)
HTC Sensation
Revolutionary s-off´ed

Thanks to Revolutionaryfor S-off.
http://revolutionary.io/
Thanks to Baadnewz for his InsertCoin ROM.
http://www.baadnwz.eu/search/label/pyramid
The Following User Says Thank You to xtcislove For This Useful Post: [ Click to Expand ]
 
claudenegm
Old
#3  
Senior Member - OP
Thanks Meter 143
Posts: 262
Join Date: Aug 2011
Quote:
Originally Posted by xtcislove View Post
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" ;)
Just a typo, thanks for pointing it out
-> Samsung Galaxy S4
Previous phones:
HTC Sensation XL PVT SHIP S-OFF
HTC Sensation PVT SHIP S-OFF


Check out my guide on How to revert to Stock Recovery and Install OTA Updates without losing data.
Check out my application Android Recovery Manager.

Please hit the Thanks button if I helped
 
vsnlweb
Old
#4  
vsnlweb's Avatar
Senior Member
Thanks Meter 14
Posts: 143
Join Date: Jul 2008
Quote:
Originally Posted by claudenegm View Post
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...

Future Devices: HTC One X (Arrived)
Current Device 1: HTC One X
Current Device 2: BB9900

Previous Devices: BB8800, BB9700, BB9780, HTC Mozart, HTC Desire HD, HTC Sensation 4G, Samsung Nexus S
Current Devices OS: AndroidRevolution HD 6.5.3, Stock Amaze 4G ROM/Radio
Radio: 11.69.3504.00U_11.22.3504.07_M
 
claudenegm
Old
#5  
Senior Member - OP
Thanks Meter 143
Posts: 262
Join Date: Aug 2011
Quote:
Originally Posted by vsnlweb View Post
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.
-> Samsung Galaxy S4
Previous phones:
HTC Sensation XL PVT SHIP S-OFF
HTC Sensation PVT SHIP S-OFF


Check out my guide on How to revert to Stock Recovery and Install OTA Updates without losing data.
Check out my application Android Recovery Manager.

Please hit the Thanks button if I helped
 
f3nd3r
Old
#6  
Senior Member
Thanks Meter 7
Posts: 114
Join Date: Nov 2006
Probably because it's in use. Copy and paste the zip file to another folder and then extract that copy.
 
sirbilbo
Old
#7  
sirbilbo's Avatar
Senior Member
Thanks Meter 50
Posts: 493
Join Date: Jul 2007
Location: 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
Current phone and ROM: Samsung Galaxy S4 Black Mist. Rooted.
ROM: I9505 XXUGNG8 (4.4.2) S5 CarHDRom V2.3 Kernel: Adam Radio/Modem: NEE , Mod:Theme S5
Recovery: TWRP , Microsd: 32GB , Camera: Stock. Battery: Stock 2600 mA
"If it ain’t broke, fix it ‘til it is !"
(if i helped you ... you know you can always hit thanks button, thx in advance)
 
claudenegm
Old
(Last edited by claudenegm; 21st August 2011 at 10:01 PM.)
#8  
Senior Member - OP
Thanks Meter 143
Posts: 262
Join Date: Aug 2011
Quote:
Originally Posted by sirbilbo View Post
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.
-> Samsung Galaxy S4
Previous phones:
HTC Sensation XL PVT SHIP S-OFF
HTC Sensation PVT SHIP S-OFF


Check out my guide on How to revert to Stock Recovery and Install OTA Updates without losing data.
Check out my application Android Recovery Manager.

Please hit the Thanks button if I helped
 
gorky40
Old
#9  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Nov 2007
It works if you're in S-OFF revolutionary? You lose the S-OFF? thanks

Enviado desde mi HTC Sensation Z710e usando Tapatalk
 
claudenegm
Old
(Last edited by claudenegm; 22nd August 2011 at 04:28 PM.)
#10  
Senior Member - OP
Thanks Meter 143
Posts: 262
Join Date: Aug 2011
Quote:
Originally Posted by gorky40 View Post
It works if you're in S-OFF revolutionary? You lose the S-OFF? thanks

Enviado desde mi HTC Sensation Z710e usando Tapatalk
It does work in revolutionary, and you wont loose S-Off. You wont loose anything except the ClockWork mod, which will be replaced by the stock recovery
-> Samsung Galaxy S4
Previous phones:
HTC Sensation XL PVT SHIP S-OFF
HTC Sensation PVT SHIP S-OFF


Check out my guide on How to revert to Stock Recovery and Install OTA Updates without losing data.
Check out my application Android Recovery Manager.

Please hit the Thanks button if I helped

The Following User Says Thank You to claudenegm For This Useful Post: [ Click to Expand ]
Tags
clockwork, custom recovery, ota, ruu, stock recovery
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes