Custom Recovery Image

Discussion in 'Droid X Roms' started by Randomocity, Dec 12, 2009.

  1. bots

    bots Member

    Joined:
    Nov 26, 2009
    Messages:
    169
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Austin, Texas
    Ratings:
    +0
    You should do it before hand, then you can reboot into recovery to see if it worked, then reboot normally into android and it won't reflash the old recovery.image.
     
  2. gardobus

    gardobus Silver Member

    Joined:
    Nov 1, 2009
    Messages:
    1,965
    Likes Received:
    0
    Trophy Points:
    101
    Location:
    Arizona
    Ratings:
    +0
    Ok guys I'm stuck. This is what I did:

    1) Downloaded t
    he flash_image.zip and recovery-0.08.img
    2) Extracted flash_image from the zip file.
    3) Copied flash_image (NOT the zip) and the .img file to my sd card.
    4) Safely removed and then dismounted the sd card so it is accessible by the phone.
    5) Opened up terminal emulator
    and tried all of the following from the $ prompt AND the # (su) prompt:

    flash_image recovery /sdcard/recovery-0.08.img
    /sdcard/flash_image recovery /sdcard/recovery-0.08.img

    I also tried to cd into /sdcard/ and run the same two commands. I tried

    ./flash_image recovery /sdcard/recovery-0.08.img

    also and that didn't work.

    Am I going about this the wrong way? I also noticed that someone mentioned disabling the stock recovery. I didn't see anything about that in the instructions, how do I go about doing that?

    I'm an Android noob but I have some linux experience. Do I need to chown flash_image or something?
    Reboot your phone into recovery mode, and you will be able to use the updated recovery.
     
  3. brianr0131

    brianr0131 Member

    Joined:
    Nov 10, 2009
    Messages:
    407
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cherry Hill, NJ
    Ratings:
    +0
    I entered the commands for blocking the stock recovery first, and still the 2nd part where I flash the recovery image is not working. I am going to delete the 2 files re download them and put on sd card again.
     
  4. boostdscoob

    boostdscoob Member

    Joined:
    Dec 11, 2009
    Messages:
    273
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    ohio
    Ratings:
    +0
    im getting the error flash_image not found... also, the first time i tried, i lost mount ability, had to reinstall drivers..
    anyone have any insight as to why its not recognizing? should i try through adb?
     
  5. gardobus

    gardobus Silver Member

    Joined:
    Nov 1, 2009
    Messages:
    1,965
    Likes Received:
    0
    Trophy Points:
    101
    Location:
    Arizona
    Ratings:
    +0
    Forgot to mention, the command which seems to get me the farthest is:

    /sdcard/flash_image recovery /sdcard/recovery-0.08.img

    What I get from that is:

    /sdcard/flash_image: permission denied

    I get that even when I su to the # prompt. Any ideas?
     
  6. brianr0131

    brianr0131 Member

    Joined:
    Nov 10, 2009
    Messages:
    407
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cherry Hill, NJ
    Ratings:
    +0
    There's got to be a missing step here. Maybe another program that is required?
     
  7. gardobus

    gardobus Silver Member

    Joined:
    Nov 1, 2009
    Messages:
    1,965
    Likes Received:
    0
    Trophy Points:
    101
    Location:
    Arizona
    Ratings:
    +0
    I don't know if its a program or another command or what. Others have reported it working fine so I wonder what we're not doing. I thought maybe the commands should be run via adb but it says to run it on the phone so I don't know.
     
  8. gardobus

    gardobus Silver Member

    Joined:
    Nov 1, 2009
    Messages:
    1,965
    Likes Received:
    0
    Trophy Points:
    101
    Location:
    Arizona
    Ratings:
    +0
    I even tried chmod-ing flash_image to 777
     
  9. toka

    toka New Member

    Joined:
    Dec 12, 2009
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    @gardobus : sdcard is noexec - you need to copy the binary elsewhere in order to run it. do an ls -l to verify the permissions
     
  10. brianr0131

    brianr0131 Member

    Joined:
    Nov 10, 2009
    Messages:
    407
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cherry Hill, NJ
    Ratings:
    +0
    type ls /sdcard and you'll see a list of the files on your sd card

    When i do this I see both the recovery-0.08.img and the flash_image files. Do you?

    This is frustrating
     
  11. boostdscoob

    boostdscoob Member

    Joined:
    Dec 11, 2009
    Messages:
    273
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    ohio
    Ratings:
    +0
    would it affect anything if we rename the recovery? maybe its an issue with the 0's.. idk.. im lost.
     
  12. gardobus

    gardobus Silver Member

    Joined:
    Nov 1, 2009
    Messages:
    1,965
    Likes Received:
    0
    Trophy Points:
    101
    Location:
    Arizona
    Ratings:
    +0
    Damn seriously? Then why would the instructions not have you move it?

    Is there a temporary area or something where I can put it without just randomly throwing it somewhere?
     
Search tags for this page

custom recovery image for droid x

,

verizon droid x recovery.img downloads