[GUIDE] How to Flash Recovery AND Setup AndroidSDK (Revised)


Last Updated: 2011-09-22 00:58:10
  1. Darnell0216

    Darnell0216 Well-Known Member

    If you haven't typed the line cat /sdcard/flash_image > /system/bin/flash_image, flash_image will not be found because you haven't put it on your phone yet.

    Advertisement
  2. I did do that but i think i need to put that command above
  3. Prime85

    Prime85 Well-Known Member

    Thanks :) Nandroid backup works :)
  4. alfick3

    alfick3 Well-Known Member

    I have a question about all of this. I have the android sdk installed, and I went to the c:\android-sdk-windows\platform-tools directory and then clicked on adb.exe. I get a very quick scrolling dos window and then it closes. I don't have time to pause or even try to see what it's doing. Where do I find adb shell that everyone is talking about?
  5. alfick3

    alfick3 Well-Known Member

    Never mind. I figured it out. Instead of clicking on adb.exe, I just typed in the command in a dos box and was able to then read all that was there, and figured out that adb shell was one of the switches that I can use with the adb command.
  6. when i type this in i get a cannot create /system/bin/flash_image: read-only file System -_-
  7. Darnell0216

    Darnell0216 Well-Known Member

    HAZEGOTJUTWIST likes this.
  8. Thanks you
  9. FallOutNerd

    FallOutNerd Well-Known Member

    image not found. please help
  10. mikekelso421

    mikekelso421 Well-Known Member

    Are the flash.img and recovery.img on the root of your SD card?
  11. FallOutNerd

    FallOutNerd Well-Known Member

    yes sir.
  12. FallOutNerd

    FallOutNerd Well-Known Member

    ALL my problems have been solved. Now running the Sense ROM. THANK YOU to everyone who helped me, and special thanks to joneidy for the ROM.
  13. mikekelso421

    mikekelso421 Well-Known Member

    What was the issue. If there is an error in my post I would be aware so I can fix it. I made this post after doing it myself and then someone asked me how to do it. So I kinda just made the post in a rush. So let us know what the problem was for future posters. Thanks.
  14. FallOutNerd

    FallOutNerd Well-Known Member

    sorry I have no idea what the problem was.
  15. mikekelso421

    mikekelso421 Well-Known Member


    Lol did u try anything outside of what I said to do in the thread? Like did anyone have u try anything else or did u just keep trying until it worked?
  16. c0nejit09

    c0nejit09 Member

    in for this answer too:D... stuck on the same place he was i been trying alternatives to add remove spaces between words and nothing .. followed all the steps carefully..

    still get the flash_image:not found
  17. mikekelso421

    mikekelso421 Well-Known Member

    go to joniedys finally custom recovery thread and just do it through ADB..

    download the android sdk.zip.extract it to your c drive.open it up,and download the platform tools addon in the list of available add-ons.once your done add adb to your enviromental variables. if your in windows 7,right click my computer,select advanced settings from the left.now under the advanced menu,select enviromental variables..now go to system variables.highlight path and select edit.now the most important part.add the EXACT string to the END of the path..

    ;C:\android-sdk-windows/platform-tools;

    this must be EXACT for it to work.once youve done this,open up cmd,and hit adb..then after all the text is done,hit adb shell,then type SU...once you type su,your phone will pop up the superuser permissions,hit allow...now your ready to flash your recovery image. hope this helps.
  18. Darnell0216

    Darnell0216 Well-Known Member

    The error most are encountering is that you have removed the command line for flash_image (cat /sdcard/flash_image > /system/bin/flash_image). The command to install CustRec can't use flash_image if people don't use that line to install it to the phone first :). In HAZE's case and my own, we needed to use the mount command lines to make the system directory read/write to get flash_image on the phone.

    I understand you wanted to streamline it, but in all honesty the only line that can be removed (for first timers anyway) is the one for install-recovery.sh, since we have not gotten OTA updates. I don't know if more steps can be skipped after the first go round though.
  19. mikekelso421

    mikekelso421 Well-Known Member

    so the reason it worked for me is cus i was flashing a recovery over another recovery?? cuz i DID have joniedys recovery and i flashed getitnowmarketing's recovery over it with the commands i posted above..
  20. EvolutionMr

    EvolutionMr Active Member

    Make a vid alot easier? :D
  21. EvolutionMr

    EvolutionMr Active Member

    i put in the follow code & this is what i get.. (cannot create /system/bin/flash_image: read-only file system) help pleasee
  22. mikekelso421

    mikekelso421 Well-Known Member

    are you sure that you are rooted?? make sure other root-required apps are indeed working..
  23. EvolutionMr

    EvolutionMr Active Member

    yeah im rooted i got pass this part i put all the codes in & when i press enter nothing happens when i try to reboot my device in recovery mode it doesnt work..
  24. mikekelso421

    mikekelso421 Well-Known Member


    Did u use the terminal or adb?
  25. nemo510

    nemo510 Member

    im having some touble with this i enter the adb shell and i get the $ then i enter su....this is what i get


    C:\Users\Administrator>abd shell
    'abd' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Users\Administrator>adb shell
    $ su
    su
    Permission denied
    $
    what am i doing wrong?

Share This Page