Custom Recovery Image

Discussion in 'Android Hacks and Help' started by Randomocity, Dec 12, 2009.

  1. boostdscoob
    Offline

    boostdscoob New Member

    Joined:
    Dec 11, 2009
    Messages:
    273
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    ohio
    not to be a smartass, but did you dismount your phone, or is it still hooked up to the computer?
  2. brianr0131
    Offline

    brianr0131 New Member

    Joined:
    Nov 10, 2009
    Messages:
    408
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Cherry Hill, NJ
    I dismounted.

    Also, when I execute the command ls /sdcard both files are listed
    Last edited: Dec 12, 2009
  3. boostdscoob
    Offline

    boostdscoob New Member

    Joined:
    Dec 11, 2009
    Messages:
    273
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    ohio
    and you put in the part about blocking the stock recovery from running, yes?
  4. brianr0131
    Offline

    brianr0131 New Member

    Joined:
    Nov 10, 2009
    Messages:
    408
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Cherry Hill, NJ
    Doesn't that part need to be done after I flash the new recovery image?
  5. bots
    Offline

    bots New Member

    Joined:
    Nov 26, 2009
    Messages:
    169
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Austin, Texas
    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.
  6. gardobus
    Offline

    gardobus New Member

    Joined:
    Nov 1, 2009
    Messages:
    1,973
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Arizona
    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.
  7. brianr0131
    Offline

    brianr0131 New Member

    Joined:
    Nov 10, 2009
    Messages:
    408
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Cherry Hill, NJ
    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.
  8. boostdscoob
    Offline

    boostdscoob New Member

    Joined:
    Dec 11, 2009
    Messages:
    273
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    ohio
    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?
  9. gardobus
    Offline

    gardobus New Member

    Joined:
    Nov 1, 2009
    Messages:
    1,973
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Arizona
    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?
  10. brianr0131
    Offline

    brianr0131 New Member

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

    gardobus New Member

    Joined:
    Nov 1, 2009
    Messages:
    1,973
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Arizona
    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.
  12. gardobus
    Offline

    gardobus New Member

    Joined:
    Nov 1, 2009
    Messages:
    1,973
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Arizona
    I even tried chmod-ing flash_image to 777
  13. toka
    Offline

    toka New Member

    Joined:
    Dec 12, 2009
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    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
  14. brianr0131
    Offline

    brianr0131 New Member

    Joined:
    Nov 10, 2009
    Messages:
    408
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Cherry Hill, NJ
    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
  15. boostdscoob
    Offline

    boostdscoob New Member

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

    gardobus New Member

    Joined:
    Nov 1, 2009
    Messages:
    1,973
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Arizona
    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?
  17. toka
    Offline

    toka New Member

    Joined:
    Dec 12, 2009
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    0
    yep... seriously =)

    personally, I had copied it into my /system/xbin (where I had also placed busybox) - figured it was probably a tool I wanted to keep on the phone... we'll ignore the fact that i somehow managed to wind up with a brick later on... (yep even with the custom recovery image (0.07))
  18. brianr0131
    Offline

    brianr0131 New Member

    Joined:
    Nov 10, 2009
    Messages:
    408
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Cherry Hill, NJ
    Do we need busybox to run this?
  19. boostdscoob
    Offline

    boostdscoob New Member

    Joined:
    Dec 11, 2009
    Messages:
    273
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    ohio
    i reckon, i'll just wait for the one with nandroid, and a little more stable.
  20. gardobus
    Offline

    gardobus New Member

    Joined:
    Nov 1, 2009
    Messages:
    1,973
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Arizona
    Just to be sure, copying flash_image to /system/xbin and flashing the recovery image had nothing to do with the bricking right? LOL
Search tags for this page

custom recovery image

,
custon recovery imsge for droid 2 global android forums
,
droid custom recovery
,

flash image permission denied

,
flash image recovery /sdcard/name-of-recovery.img
,
flash image: permission denied
,
flash image.img permission denied
,
how to know phone have custom recovery image
,
motorola droid custom recovery
,
motorola droid recovery image
,
recovery.img motorola droid
,
verizon droid charge recovery image