Custom Recovery Image
This is a discussion on Custom Recovery Image within the Droid Hacks forums, part of the Droid Hacking category; Guys,
We all owe a big thank you to SpsychoS over at alldroid, who's successfully compiled a custom recovery image for the droid. With this, ...
-
Custom Recovery Image
Guys,
We all owe a big thank you to SpsychoS over at alldroid, who's successfully compiled a custom recovery image for the droid. With this, if you screw up your droid, you should sucessfully be able to repatch your droid with a non-signed update.zip file.
Word of warning: This recovery image allows for updating the Droid with ANY file named update.zip, so make sure that whatever you do use to recover your brick is legitimate.
Software:Images - Droid-Devs
EDIT: Since so many people are confused about how to install the custom recovery image I'm adding the instructions that are correct. Thanks to toka, tdawg and boostdscoob for posting this. I have confirmed that these do in fact work, as I've done it myself.
YOU CAN BRICK YOUR PHONE WITH THIS. (Sorry Toka)
PLEASE USE CAUTION WHEN UPLOADING THIS IMAGE
1 - place the required files (flash_image binary and recovery.img - naming shouldn't matter i kept the version number on it) on your sdcard - you can do this with a microsdcard reader, adb push, or just by connecting your *working* droid to your computer and mounting the SD card.
2 - Connect your phone to your computer in debugging mode and use ADB shell to start a root session on your phone by typing su
3 - mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system - this mounts /system as a writable partition
4 - mkdir /system/xbin - if it already exists you will simply get an error
5 - cat /sdcard/flash_image > /system/xbin/flash_image
6 - chmod 700 /system/xbin/flash_image - validate permissions on /system/xbin/flash_image - you are the root user after all, don't need world and group executable or even read =)
7. mv /system/recovery-from-boot.p /system/recovery-from-boot.old - This will ensure that the custom image will not be overwritten on reboot.
8 - sync - flush changes to block device
9 - mount -o remount,r -t yaffs2 /dev/block/mtdblock3 /system - remount in read-only - you shouldn't need to make any more changes
10. /system/xbin/flash_image recovery /sdcard/recovery.img - will reflash your recovery partion with the custom loader.
11 - hit power button, select power off
12 - hold x, hit power button
13 - you should be greated by the custom recovery firmware
__________________
Last edited by Randomocity; 12-13-2009 at 04:25 PM.
-
-
thanks, worked great....let the fun begin
-

Originally Posted by
Randomocity
Guys,
We all owe a big thank you to SpsychoS over at alldroid, who's successfully compiled a custom recovery image for the droid. With this, if you screw up your droid, you should sucessfully be able to repatch your droid with an update.zip file.
Word of warning: This recovery image allows for updating the Droid with ANY file named update.zip, so make sure that whatever you do use to recover your brick is legitimate.
Software:Images - Droid-Devs
My apologies if this has been posted somewhere else, if not, please sticky.
Aside from the obvious advantage of not needing to sign updates files (so we can freely re-root in the future)... How does this make the DROID any more safe than the default recovery image?
Can we not simply re-install a legit update.zip in the event that our DROID becomes corrupted, etc?
Does this Recovery image support downgrading? Such as installing an older version of the OS than the currently installed one?
What type of event or task, if any, could potentially render this Recovery image from not functioning?
I may sound like a noob, but these are all important questions that I think a lot of people would like to know the answers too, so help me out
-
Its not restricted like the factory image. This is only a start I'm sure, but a good recovery image makes your phone almost idiotproof
-
-
And whats to stop an official update from replacing this recovery image with the stock one?
How can we ensure in the future that we will be able to use our own update.zip (notably a root update.zip)?
-
I know its another noob question but a recovery image doesn't alter the OS and rooted condition of a phone right? All it does is replace the partition that you get to by holding 'X' on the keyboard?
-
Here is an example. The current official update will supposedly not install correctly if you have removed any of the applications. You remove the wrong file. Do something unexpected to lose root and then you can't reinstall the official update. It has already happened.
This recovery has adb root access so you could replace the missing file before attempting to install. Custom roms will most likely not have this restriction anyways.
As far as OTA updates go, replace the otacerts.zip file as discussed in how to keep root.
-
I hope that this is not akin to asking what Root means, but would it be possible for someone to either clarify a few things for me, or perhaps point me in the right direction for self-unraveling.
Should those of us who are learning this root process go ahead and flash our phones as an emergency precaution? I am assuming that this posted process does no good if you goof up your phone without having done this?
And in a more general sense, is this sort of a fork in the road where you decide to either stay with VZW and their update process, or commit to a third party path. More specifically, with VZW updates many things get fixed/tweaked, like the recent camera and call quality issues. With the third party path, will these type of issues be addressed? Perhaps it is "simple" as folks working/hacking each new VZW update to include any pertinent system updates with the inclusion of root, SU, and/or the varoius Linux shells.
I guess I do not understand the concept of Root, custom Roms, and how they either do or possibly don't interface with the meat and potatoes functioning of the basic phone features. As a specific example, I do not need Google to cloud my contacts and apps if I can root my way to backing these things up, but I do like the ability of Google to help with mapping things.
Thanks, and I do have thick skin if you need to hammer me about asking that which is obvious to those of you who do understand all of this.
Craig
-
Omg, I'm gonna post this calmly and in lamens terms. Getting this recovery image will make your phone basically idiotproof, basically there's a way out of brick if you screw up. Without this, your screwed. This is the basis for custom roms to work, because now we can attempt to install roms, and not worry about screwing up beyond repair. Yes once you go this route, you will enjoy updates before they are even released most times, and tweaks beyond what the carrier would even dream of. Imagine 5% of droid owners working on something. That's probably more people than verizon employs. Probably close to googles numbers too. The point of all of this is to have the best of the best. Simply put.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Similar Threads
-
By dean.collins in forum Droid General Discussions
Replies: 36
Last Post: 08-23-2011, 11:06 AM
-
By Twoo in forum Droid General Discussions
Replies: 8
Last Post: 06-30-2010, 09:46 PM
-
By stanwelks in forum Droid General Discussions
Replies: 0
Last Post: 12-01-2009, 01:29 AM
-
By spikejnz in forum Droid General Discussions
Replies: 0
Last Post: 11-17-2009, 10:50 AM
-
By Sam in forum Droid Themes
Replies: 3
Last Post: 11-06-2009, 01:24 PM
Search tags for this page
android custom recovery image
,
android recovery image
,
android recovery.img
,
custom recovery droid
,
custom recovery image
,
droid 2 recovery image
,
droid custom recovery
,
droid recovery
,
droid recovery image
,
flash image permission denied
,
flash image recovery /sdcard/recovery.img
,
flash image recovery permission denied
,
flash image recovery sdcard recovery.img
,
flash image: permission denied
,
motorola droid custom recovery
,
motorola droid recovery
,
motorola droid recovery image
,
recovery droid
,
recovery.img android
,
what is a custom recovery image
Click on a term to search our site for related topics.