1. Download our Official Android App: Forums for Android!

Root Problem flashing recovery

Discussion in 'Android Devices' started by larrycl, Jun 15, 2011.

  1. larrycl

    larrycl Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    75
    Joined:
    Nov 16, 2010

    Nov 16, 2010
    75
    17
    18
    Having an odd problem trying to flash a recovery. I am running a rooted but otherwise stock rom. I was able to install a custom recovery (Clockwork) using the rom manager app.
    However, when I try to install a different recovery using flash_image, I am getting an error:

    Any suggestions? Thanks in advance.
     

    Advertisement

  2. JerryScript

    JerryScript Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    2,212
    Joined:
    Mar 15, 2011

    Mar 15, 2011
    2,212
    2,065
    313
    Las Vegas
    Your xionia.img file is most likely not stored in the root of your phone, it should be on your sdcard, so type:

    flash_image recovery /sdcard/xionia.img
     
  3. larrycl

    larrycl Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    75
    Joined:
    Nov 16, 2010

    Nov 16, 2010
    75
    17
    18
    I tried moving it to the root of the sdcard and got the same error.
     
  4. JerryScript

    JerryScript Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    2,212
    Joined:
    Mar 15, 2011

    Mar 15, 2011
    2,212
    2,065
    313
    Las Vegas
    Please post the exact steps you are taking, including any code lines you are inputting.

    My crystal ball is a bit cloudy, can't quite make out what you're doing. ;)
     
  5. larrycl

    larrycl Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    75
    Joined:
    Nov 16, 2010

    Nov 16, 2010
    75
    17
    18
    My steps are pretty straightforward:

    Code (Text):
    1.  
    2. $ cd /sdcard
    3. $ su
    4. # ls -l xionia.img
    5. [I]----rwxr-x system   sdcard_rw  4136960 2011-06-15 19:36 xionia.img[/I]
    6. # flash_image recovery /sdcard/xionia.img
    7. [I]mount: Device or resource busy[/I]
    8. #
    9.  
     
  6. larrycl

    larrycl Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    75
    Joined:
    Nov 16, 2010

    Nov 16, 2010
    75
    17
    18
    Mystery solved..... my 'flash_image' was bad. I re-installed it and all was ok!
     
  7. JerryScript

    JerryScript Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    2,212
    Joined:
    Mar 15, 2011

    Mar 15, 2011
    2,212
    2,065
    313
    Las Vegas
    Glad you got it working!
     
Tags:

Share This Page

Loading...