5,604,631 Members 41,569 Now Online
XDA Developers Android and Mobile Development Forum

[Q] The Stock Recovery.img Directory

Tip us?
 
ethanon
Old
(Last edited by ethanon; 2nd December 2013 at 06:32 AM.) Reason: wrong title
#1  
Member - OP
Thanks Meter 9
Posts: 84
Join Date: Aug 2010
Default [Q] The Stock Recovery.img Directory

Hi All,

It happens so that I have been able to Root my HOX+ without installing the custom Bootloader. Now that is said and done I am looking forward to finding some way to backup my stock HOX+ bootloader before flashing a Custom Recovery. Since Android has Linux deep within it so in that case the bootloader image must be hidden some where deep within the Linux file system. So please guid me on this one ..

Thanks
 
ethanon
Old
#2  
Member - OP
Thanks Meter 9
Posts: 84
Join Date: Aug 2010
Quote:
Originally Posted by ethanon View Post
Hi All,

It happens so that I have been able to Root my HOX+ without installing the custom Bootloader. Now that is said and done I am looking forward to finding some way to backup my stock HOX+ bootloader before flashing a Custom Recovery. Since Android has Linux deep within it so in that case the bootloader image must be hidden some where deep within the Linux file system. So please guid me on this one ..

Thanks
After spending some time on this one, I finally am being able to backup my stock recovery . I am just penning down the steps incase some one intereste....

For Htc one X+ we first need to find the recovery partition . that can be achieved by running the following command from any terminal emulator
with busybox installed.

cat /proc/emmc

which will give an output some like this

mmcblk0p5: 00fffe00 00000200 "recovery"

This is the recovery partition block ...

the next step will be to backup the recovery partition in an img format.

1. We need to have root permission in order to read through the /dev/block/ directory. So
Type :

su dd if=/dev/block/mmcblk0p5 of=/sdcard/recovery.img
(su grants you admin access and dd is a common command to backup partitions in Linux)

That's it the recovery partition is backed up on your sdcard..

 
siseb
Old
#3  
siseb's Avatar
Member
Thanks Meter 16
Posts: 59
Join Date: Dec 2011
Are you on HBOOT 1.72?
Could you provide your backup recovery, please?
 
AndroHero
Old
#4  
AndroHero's Avatar
Senior Member
Thanks Meter 890
Posts: 6,445
Join Date: May 2010
Location: Manchester
Afaik all stock recoveries are the same regardless of BL version...

Sent from my HTC One X+ using Tapatalk
------------------------------------------------------------
My Device
HTC Sensation XL
Rom Version - 3 Musketeers Insanely Cool Sense v2.2.1
Baseband - 10.10.12_M
Kernel - 2.6.35.13



The Following User Says Thank You to AndroHero For This Useful Post: [ Click to Expand ]
 
ethanon
Old
(Last edited by ethanon; 14th December 2013 at 08:24 AM.) Reason: did not attach the file
#5  
Member - OP
Thanks Meter 9
Posts: 84
Join Date: Aug 2010
Quote:
Originally Posted by siseb View Post
Are you on HBOOT 1.72?
Could you provide your backup recovery, please?

Never mind the HBOOT version for the Recovery.. I am attaching the recovery .. if you try this out let me know if it is working .
Attached Files
File Type: img Stock-recovery.img - [Click for QR Code] (8.00 MB, 18 views)
The Following User Says Thank You to ethanon For This Useful Post: [ Click to Expand ]
 
siseb
Old
#6  
siseb's Avatar
Member
Thanks Meter 16
Posts: 59
Join Date: Dec 2011
Quote:
Originally Posted by AndroHero View Post
Afaik all stock recoveries are the same regardless of BL version...
Quote:
Originally Posted by ethanon View Post
Never mind the HBOOT version for the Recovery.. I am attaching the recovery .. if you try this out let me know if it is working .
Thanks guys. Everything is fine now!

Gesendet von meinem SM-N9005 mit Tapatalk
 
ethanon
Old
#7  
Member - OP
Thanks Meter 9
Posts: 84
Join Date: Aug 2010
Hey by any chance any one tried to flash the recovery?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

SideControl Gains New Powers through Xposed

You may recall that a little overa month ago, we first talked about SideCutsby XDA Forum … more

Leak Points to Windows Start Menu’s Return as Soon as August

About a month ago at this year’s Build conference, Microsoft … more

Wearables Walkthrough: Tasker on the Samsung Galaxy Gear – XDA Developer TV

The future certainly looks like it is full of wearables. … more

WinDroid HTC Toolkit Lets You Root, Unlock, and Flash ROMs on Various HTC Devices

Plenty of users nowadays have more than one mobile device. … more