Recovery help


Last Updated:

  1. fenwaynomar45

    fenwaynomar45 Well-Known Member This Topic's Starter

    Joined:
    Nov 11, 2009
    Messages:
    96
    Likes Received:
    0
    Alright im already rooted and i flashed clockwork recovery image and I want it gone. I'm trying to go back to Amons recovery image. However when im in the command and I type in adb push recovery-ra-eris.img /sdcard I get no such file or directory error... but i have the file in the tools folder of my androidsdk... any thoughts... i type this
    cd\
    cd c:\AndroidSDK\tools
    adb devices
    adb shell mount -o rw,remount /dev/block/mtdblock3 /system
    adb push recovery-ra-eris.img /sdcard
    adb push flash_image /system/bin
    adb shell chmod 755 /system/bin/flash_image
    adb shell flash_image recovery /sdcard/recovery-ra-eris.img

    After i do the recovery-ra-eris.img i get an error
     

    Advertisement
  2. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,672
    Likes Received:
    22,031
    fenwaynomar45, The above looks right. Are you sure you've got the recovery-ra-eris.img and flash_image files in the tools directory and/or you spelled the filenames right? Can you do a dir to verify?
     
  3. fenwaynomar45

    fenwaynomar45 Well-Known Member This Topic's Starter

    Joined:
    Nov 11, 2009
    Messages:
    96
    Likes Received:
    0
    Dir? sorry im new with this stuff. and yes i go my computer androidsdk folder... then tools.. and they r both sitting in there. Its driving me nuts because ive done this b4 and never had this problem
     
  4. fenwaynomar45

    fenwaynomar45 Well-Known Member This Topic's Starter

    Joined:
    Nov 11, 2009
    Messages:
    96
    Likes Received:
    0
    it says failed to copy read-only file system
     
  5. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,672
    Likes Received:
    22,031
    lol! no biggie... at least you are doing the right thing and getting rid of ClockWork ;)

    just type "dir" from the Windows Command Prompt while you are in the tools directory to display all of the files in that directory. Can you copy/paste the contents and the context of the error?
     
  6. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,672
    Likes Received:
    22,031
    Ah, sorry, you posted back before my last reply. Did the

    adb shell mount -o rw,remount /dev/block/mtdblock3 /system

    work correctly? This is what allows you to push files to your /system directory.
     
  7. fenwaynomar45

    fenwaynomar45 Well-Known Member This Topic's Starter

    Joined:
    Nov 11, 2009
    Messages:
    96
    Likes Received:
    0
    Directory of C:\AndroidSDK\tools

    06/16/2010 12:09 PM <DIR> .
    06/16/2010 12:09 PM <DIR> ..
    05/07/2010 11:48 AM 578,611 adb.exe
    05/07/2010 11:48 AM 96,256 AdbWinApi.dll
    05/07/2010 11:48 AM 60,928 AdbWinUsbApi.dll
    05/07/2010 11:48 AM 3,394 android.bat
    05/07/2010 11:48 AM 1,565 apkbuilder.bat
    05/07/2010 11:48 AM 2,129 ddms.bat
    05/07/2010 11:48 AM 302,823 dmtracedump.exe
    05/07/2010 11:48 AM 1,491 draw9patch.bat
    05/07/2010 11:48 AM 8,596,234 emulator.exe
    05/07/2010 11:48 AM 17,976 emulator_NOTICE.txt
    05/07/2010 11:48 AM 921,075 etc1tool.exe
    05/07/2010 11:48 AM 336,613 fastboot.exe
    03/16/2010 11:24 AM 9,640 flash_image
    05/07/2010 11:48 AM 1,528 hierarchyviewer.bat
    05/07/2010 11:48 AM 216,987 hprof-conv.exe
    06/15/2010 04:27 PM <DIR> Jet
    05/07/2010 11:48 AM 1,680 layoutopt.bat
    06/15/2010 04:27 PM <DIR> lib
    05/07/2010 11:48 AM 212,741 mksdcard.exe
    05/07/2010 11:48 AM 205,851 NOTICE.txt
    06/16/2010 11:29 AM 3,926,016 recovery-RA-eris-v1.6.2.im
    03/16/2010 11:40 AM 3,926,016 recovery.img
    05/07/2010 11:48 AM 33 source.properties
    05/07/2010 11:48 AM 1,627,623 sqlite3.exe
    05/07/2010 11:48 AM 1,982 traceview.bat
    05/07/2010 11:48 AM 628,727 zipalign.exe
    24 File(s) 21,677,919 bytes
    4 Dir(s) 18,130,800,640 bytes free
     
  8. fenwaynomar45

    fenwaynomar45 Well-Known Member This Topic's Starter

    Joined:
    Nov 11, 2009
    Messages:
    96
    Likes Received:
    0
    ya that works fine and so does the flash_image.. its just the recovery-ra-eris
     
  9. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,672
    Likes Received:
    22,031
    Yeah, but copy and paste in the command prompt is a little wonky. Here's a quick step-by-step to copy and paste commands into your command prompt:

    1. start-up the command prompt if you haven't already
    2. change into the Android SDK's tools directory
    3. copy the command from the root guide that you want to paste
    4. from the command prompt, right-click the top part of the command-prompt window, select Edit, then Paste
    5. repeat steps 3 and 4 for all of the adb commands--be sure to wait a little bit in-between commands to allow adb to finish what he is doing (especially the push commands)

    Let me know if you need to know how to copy from the command prompt (I'll edit this post in a second with how to do that).
     
  10. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,672
    Likes Received:
    22,031
    fenwaynomar45, looks like your "recovery-RA-eris-v1.6.2.im" is missing the last "g" or did it get cut-off? This would explain your problem...:D [can you rename it and fix it and retry?]
     
  11. fenwaynomar45

    fenwaynomar45 Well-Known Member This Topic's Starter

    Joined:
    Nov 11, 2009
    Messages:
    96
    Likes Received:
    0
    the g is there i just missed it in the copy and paste... under that though there is another recovery.img i saw... but its not in my folder anymore.. could that be the problem? cause i thought i deleted it
     
  12. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,672
    Likes Received:
    22,031
    Its probably the same file (note the same file size)...you probably just downloaded a new/current version of Amon_RAs recovery. Can you do the copy/paste of each of the adb commands and post what you are seeing? [i.e., the whole session?]
     
  13. fenwaynomar45

    fenwaynomar45 Well-Known Member This Topic's Starter

    Joined:
    Nov 11, 2009
    Messages:
    96
    Likes Received:
    0
    C:\AndroidSDK\tools>adb shell mount -o rw,remount /dev/block/mtdblock3 /system

    C:\AndroidSDK\tools>adb push recovery-ra-eris-v1.6.2.img /sdcard
    failed to copy 'recovery-ra-eris-v1.6.2.img' to '/sdcard/recovery-ra-eris-v1.6
    .img': Read-only file system

    C:\AndroidSDK\tools>adb push flash_image /system/bin
    602 KB/s (0 bytes in 9640.000s)

    C:\AndroidSDK\tools>adb shell chmod 755 /system/bin/flash_image

    C:\AndroidSDK\tools>adb shell flash_image recovery /sdcard/recovery-ra-eris-v1
    .2.img
    error opening /sdcard/recovery-ra-eris-v1.6.2.img: No such file or directory
     
  14. fenwaynomar45

    fenwaynomar45 Well-Known Member This Topic's Starter

    Joined:
    Nov 11, 2009
    Messages:
    96
    Likes Received:
    0
    Wow i feel like an idiot... i didn't have my phone set for charge only. It works now thanks a lot for ur help man i really appreciate it! sorry i wasted ur time ha
     
  15. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,672
    Likes Received:
    22,031
    FYI, first, edit your post and remove the value that adb devices displayed (it identifies you and your phone).

    Uh, I'm kind of stumped... Can you do a fc (file compare) of the recovery.img and recovery-ra-eris-v1.6.2.img to see if they are identical.

    fc recovery.img recovery-ra-eris-v1.6.2.img

    If fc comes back with "files are identical" (or close to that), try using recovery.img instead in your commands.

    I don't have a USB cable here at work or my SDK setup to try to replicate...
     
  16. fenwaynomar45

    fenwaynomar45 Well-Known Member This Topic's Starter

    Joined:
    Nov 11, 2009
    Messages:
    96
    Likes Received:
    0
    I edited my comment thanks for that too. SOrry i wasted ur time with such a stupid error.
     
  17. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,672
    Likes Received:
    22,031
    Hey, no problem...didn't think to ask about that either...:eek: (I stepped-out for lunch and was thinking about it and it did cross my mind, but I'm happy you got there first! :D).

    Cheers and have a great holiday weekend!
     

Share This Page

Loading...