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

Discussion in 'Android Devices' started by mikekelso421, Jun 5, 2011.

  1. Darnell0216

    Darnell0216 Well-Known Member
    93

    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. HAZEGOTJUTWIST

    15

    Jun 23, 2011
    12
    0
    15
    I did do that but i think i need to put that command above
     
  3. Prime85

    Prime85 Well-Known Member
    93

    Feb 7, 2011
    800
    201
    93
    Thanks :) Nandroid backup works :)
     
  4. alfick3

    alfick3 Well-Known Member
    193

    Feb 7, 2011
    2,753
    447
    193
    Male
    IBM SSR
    DFW, TX
    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
    193

    Feb 7, 2011
    2,753
    447
    193
    Male
    IBM SSR
    DFW, TX
    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. HAZEGOTJUTWIST

    15

    Jun 23, 2011
    12
    0
    15
    when i type this in i get a cannot create /system/bin/flash_image: read-only file System -_-
     
  7. Darnell0216

    Darnell0216 Well-Known Member
    93

    HAZEGOTJUTWIST likes this.
  8. HAZEGOTJUTWIST

    15

    Jun 23, 2011
    12
    0
    15
  9. FallOutNerd

    FallOutNerd Well-Known Member
    36

    Feb 23, 2011
    126
    1
    36
    image not found. please help
     
  10. Are the flash.img and recovery.img on the root of your SD card?
     
  11. FallOutNerd

    FallOutNerd Well-Known Member
    36

    Feb 23, 2011
    126
    1
    36
    yes sir.
     
  12. FallOutNerd

    FallOutNerd Well-Known Member
    36

    Feb 23, 2011
    126
    1
    36
    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. 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
    36

    Feb 23, 2011
    126
    1
    36
    sorry I have no idea what the problem was.
     

  15. 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
    5

    Jan 8, 2011
    7
    0
    5
    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. 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
    93

    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. 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
    15

    Jul 11, 2011
    27
    0
    15
    Spring hill, Fl
    Make a vid alot easier? :D
     
  21. EvolutionMr

    EvolutionMr Active Member
    15

    Jul 11, 2011
    27
    0
    15
    Spring hill, Fl
    i put in the follow code & this is what i get.. (cannot create /system/bin/flash_image: read-only file system) help pleasee
     
  22. are you sure that you are rooted?? make sure other root-required apps are indeed working..
     
  23. EvolutionMr

    EvolutionMr Active Member
    15

    Jul 11, 2011
    27
    0
    15
    Spring hill, Fl
    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. Did u use the terminal or adb?
     
  25. nemo510

    nemo510 Member
    15

    Jul 16, 2011
    11
    0
    15
    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?
     
Tags:

Share This Page

Loading...