How To: Flash a Custom Recovery Image on the HTC G1 / Dream

OBSOLETE: SIMPLY DOWNLOAD ROM MANAGER FROM THE MARKET AND SELECT FLASH RECOVERY TO FLASH A RECOVERY INSTEAD OF THIS PROCEDURE. THEN HEAD TO SECTION IV TO CONTINUE.

I. Before You Begin

1. You must have done our How To Root (AndRoot Method) procedure.

II. Setup ADB

1. Head over to our How To Setup ADB procedure, once done and you can see your phone’s serial number, come back to this procedure and continue.

III. Flash a Recovery Image

1. Download the custom recovery image for your phone and flash_image and save them to your computer.

G1/Dream
Roger’s Dream

Flash_image (Updated 09.24.10)

2. Copy the recovery image and flash_image to the C:\AndroidSDK\Tools folder you setup during the ADB setup procedure. (Its the same folder that has adb.exe in it).

3. Plug your phone in via USB cable and make sure USB debugging is still checked on from the ADB procedure. Do NOT mount the sd card, just leave it unmounted.

4. Open a command prompt on the computer by clicking on the Start menu and typing cmd and hitting enter.

5. In the command prompt type the following with hitting enter at the end of each line (if you get an error after the “adb push flash_image” line below, make sure you downloaded it and copied it into the tools folder of the AndroidSDK as instructed in steps 1 and 2 of this section):

cd\
cd c:\androidsdk\tools
adb push recovery.img /sdcard
adb push flash_image /sdcard
adb shell
su
mount

6. When you hit enter after typing in mount it will give you a list. Look in the list towards the bottom for a line that looks like “/dev/block//vold/179:1 /sdcard”. It may be slightly different but it will have /dev/block at the beginning and /sdcard at the end. We are going to now type mount [AndTheLineWeJustFoundThatLooksLikeTheOneAbove].

mount -o remount,exec /dev/block//vold/179:1 /sdcard

(Again keep in mind yours maybe be slightly different than mine here, make sure to change what you type here according to what you saw in the options after typing mount originally)

7. Then continue typing with hitting enter at the end of each line:

cd /sdcard
./flash_image recovery /sdcard/recovery.img

6. You should now have a custom recovery image! Turn off the phone and turn it back on by holding down Home and Power until the recovery screen comes up. Once it is up, head to the next procedure to load a ROM.

IV. Loading a Custom ROM

1. Head to our How To Load a Custom ROM procedure to continue.

  • kay

    ok so i followed the steps but when i try into the command… adb push flash_image /sdcard it says cannot stat ‘flash_image’ : no such file or directory please help

    • Kay,

      Sorry, thought flash_image came with the SDK. I added the steps necessary to the procedure. Try again.

      • kay

        thank you so much… but now when i turn my phone off and then turn it on holding home and power i get a rainbow screen n i cant do anything

      • it says fail to copy recovery.img read oly acceses

  • kd

    is it bad if i get permission denied but i still managed to advance to write more of the instruction?

    • Kd,

      Yes, that is bad lol
      You need to make sure you did the rooting procedure and have root access, it should pop up a superuser permission and ask you to allow it on the phone when you type su (I’m guessing that’s where you got the permission denied).

  • kd

    where could i get the flash_image because when i enter the lines it says theres no flash_image in the directory

  • kd

    yea when i did the first step it showed me the serial number, now i got another issue.. it says it cannot find the flash_image in the directory

  • kd

    can i get another link for the flash image because it doesnt seem to work this one

  • kd

    IIght thats my last comment here, i did evrything, evrything workd exept dat NOTHING pops up on my phone to ask me if im allowin the su to mount yes i did root my phone and all wat do i do now

    • Kd,

      Did you root your phone using our How To Root linked at the top? Go back and do that, then once it is done, reboot the phone to make sure superuser permissions is in the app drawer when you’re done. Then come back to this one, it’ll only take 10 minutes…

  • bary

    i did evry step, at the end of the commancd prompt it does the same thing that is does with yours it gives me the blanc phrase. Once i close my phone and press HOME and POWER nothing comes up.

    • Bary,

      You need to keep holding home and power. Regardless of what you did in this procedure at LEAST an ! will come up (that’s the original recovery). Just make sure you turn off the phone and turn it back on by holding down home and power and KEEP holding it until something pops up.

  • bary

    ive been pressin for 2-3 minutes and nothing comes up, the flash image link that u gave us doesnt work btw, so i downloaded another sites flash_image

  • pat

    is this the same thing as the old video the way you root it

  • pat

    i was going to root it today and the video changer lol just wondering

  • pat

    is the next procedure going to work because the next procedure is an older version

  • pat

    hey what do we need to download flash image or g1/dream

  • Jagrut

    so when were in the recovery image is that going to work bc its the older version

  • rik

    iv followed every step but the superuser isnt opening on the phone when i type su in cmd iv unrooted and rooted twice

  • karl

    Just wondering why y’all changed the way you root the phone and the recovery image and flash is it better more stable idk I’m learning thanks for everything guys

    • Karl,

      This new procedures work on the latest update for the g1 a lot easier than the old method is all.

  • phil

    Hey I did all the steps right and everying wbnuit when i boot my phone and when I boot it I don’t get the new recovery image I get the one with a triangle and the phone. Please HELPP!!!

  • phil

    I did everything right and followed everything all the steps now when I go to turn my phone back on holding the power and home button it never leaves teh tmobile g1 screen what seems to be the problem?

  • djspacebug

    I am getting a “out of memory” error when i click enter on the final step. is there anyone that can help me with this?

    DJ

  • Dennis

    i always get “permission denied” and “operation not permitted” at the mount. how can i get pass this. thanks

  • Bryan

    How do I make a backup of the original recovery image so that I can send my phone in for warranty repair? Do I use the method in “How to Unroot G1”?

  • mrman

    i seem to have set this up correctly as i am getting the phone listed after ‘adb devices’ but when i try ‘adb push recovery.img /sdcard’ (or with ‘flahs_image’) i get this error:

    “Failed to copy ‘recovery.img’ to ‘/sdcard’: Is a directory”.

    I know that last part “Is a directory” doesnt make sense but thats the line. The recovery.img and flash_image are both in the adb tools folder.

    Any help would be appreciated.

    • Bjt302

      that just means that you mounted your SD Card when you plugged in the USB cable. Reconnect and don’t mount the card. For further clarification, see step 3. 🙂

  • shayne

    do i use theflash_image in the description iy says its for HTC Evo Flash Image
    do i use it for my g1? thank you….p.s i could not get the link for g1 to work thanks again

    • Ya flash_image is the same for all phones. You can use it.

  • Vandale

    When i type mount -o remount,exec /dev/block/vold/179:1 /sdcard
    says mount: Operation not permitted. How can i solve this problem?

    • Taylor

      I’m having the same problem. Any guidance?

      I’d hate to get this far and then not be able to get passed this.

    • Jeff

      I’m getting this same error. “Operation not permitted” right after trying the mount. Also there is a really long string after the “/sdcard” part – something like “vfat rw,dirsync,nosuid,nodev,noexec…….” etc. Am I supposed to include that part too when doing the mount command? I did follow the new root procedure and I have the superuser icon in my menu. am I supposed to do antying with that? How can I test if I really succeeded in rooting?

      • ESpS

        whe you run root… dont install superuser

        • Kimberly

          So, do I unroot and reroot with the check mark uncheck for “Generate log in/sd card? But what about the other option for the “soft root” and then start this process all over again?

        • Kimberly

          So, do I unroot and reroot with the check mark uncheck for “Generate log in/sd card? But what about the other option for the “soft root” and then start this process all over again?

        • Kimberly

          I just want to say that I “solved” my problem. I decided to start over and reroot without the sd card checked AND I found on another site about RENAMING the SD card of “Removable Disk” on the computer to simply sdcard and all of my problems were solved. I did the home + power button and the image is there! 🙂 But nowhere do I see here on the page about simply renaming the removable disk unless I over read it but it’s done now and I’m not going to look for it. 🙂 Also, The ADB is renamed to android-sdk-windows. So you have to type cd c:android-sdk-windowstools and not the one on this site. I also copy and paste each line which also worked for me with another error I was having as I guess was mentioned about the font.

        • Kimberly

          I just want to say that I “solved” my problem. I decided to start over and reroot without the sd card checked AND I found on another site about RENAMING the SD card of “Removable Disk” on the computer to simply sdcard and all of my problems were solved. I did the home + power button and the image is there! 🙂 But nowhere do I see here on the page about simply renaming the removable disk unless I over read it but it’s done now and I’m not going to look for it. 🙂 Also, The ADB is renamed to android-sdk-windows. So you have to type cd c:android-sdk-windowstools and not the one on this site. I also copy and paste each line which also worked for me with another error I was having as I guess was mentioned about the font.

      • Kimberly

        I get the same thing! What to do after this step?

      • Kimberly

        I get the same thing! What to do after this step?

  • shayne

    thank you i have one more question i get to the end of the steps hit enter and it says flash_image: not found i have checked everything to makr sure i didnt mess up and as far as i no everything was right ant ideas where im goin wrong? thanks 4 the help

  • Taylor

    Any guidance for someone attempting this procedure on a Mac? I’m stuck at step five with the command prompt.

    • Benjamin

      Hi,
      yes I’ve been doing it on a mac.
      In step 5, you replace adb with “./adb”

      Then when you type su, you must authorize it in the pop up window on your phone.
      I’m stuck at the last step though.
      It keeps saying “permission denied”.

  • stephon

    superuser premission doesnt pop up on my phone . and I keep getting permission denied help me please

  • David T

    According to the CyanogenMod site, I need to use DangerSPL to increase the partition size to hold their ROM. Do I run through your whole procedure and then return to “section III step 9” to install DangerSPL and then the CyanogenMod 6 ROM? Many Thanks! G1/DMA64/1.6

  • David T

    Oops, my previous msg was suppose to be on the “How To Load a Custom ROM” page. Sorry, I trying real hard not to get confused…

  • kasey

    hi, when i type su, my phone doesnt show superuser permission, then i wait for like a mins. the cmd say permission denied. can anyone help me wif this problem?? thz =]]]

  • kasey

    when i press home and power on together, it doesnt show the custom recovery image on my phone, wt can i do ?

    • Start over.

      • kasey

        i did, i repeat the process few times but still doexnt work. i try to factory reset me phone and it still doesnt work

  • Pingback: [32B] Problema/errore con ADB e Fastboot - Forum Android Italiano()

  • HBGB

    I have root as i have checked in Terminal Emulator and get the # after typing su.
    I have completed all steps successfully but when I get to step 7 I get –
    ./flash-image: permission denied
    What would be the reason for this and how can I get beyond this step?
    Any advice would be greatly appreciated. thanks for the guide as well.

  • HBGB

    **Edit** I have an Aussie HTC Dream (if this helps) and i also am aware of the underscore between flash & image.

  • what do i do if i restart my phone and i see the old tmobile recovery img. i tried re-downloading everything. and starting over but same result it every step works except when i reboot my phone in recovery, its old tmobile screen

  • Ryan

    I have done everything right but when i finish flashing the last file and reboot the phone i get stuck on the android logo. What do i do to fix this?

    • Matt

      I don’t know if this will help anyone,but for the people getting the “permission denied” after typing “su”…. After typing in “su”, check your phone, it may be asking you to allow access. I could of saved myself 30 minutes if I would of used a little common sense….

  • Jodie

    Permission denied….on the last line???

  • I am trying to flash my G1 using a Mac and I am getting “Permission denied when I try to entry “su” for super user when trying to flash a Custom Recovery Image.. Can anyone help me out?

    • Benjamin

      you need to authorize it on your mobile.

  • Jagrut

    same problem here but on pc unlocker can you help us

  • Pingback: What have I done to my G1? - Android Forums()

  • ok so i did the root, and got the su on as a app.. i copied the 2 files in the tools.. sdk folder, i did everything..it denies the last step..literally the last step…i don’t get it………..wut happen with the other method with spl etc that worked great

  • Appie

    I wont come furter the step 6.
    If ill type SU it says permission denied.
    I am superuser so i dont know what whent wrong does sombody haves a answer for this problem?

  • Permission denied. For those who have issues with permission denied make sure your phone is awake and at home screen don’t let the screen shut off. Not sure if it will work with everyone but that did it for me.

  • Tom

    Ok I have followed all the steps and everything seemed to have run smoothly except my phone won’t boot to the recovery image. I only get the rainbow screen. Any ideas?

  • Dragos

    Excelent!! worked perfectly! Thanks The Unlockr!

  • Jdmsince84

    cant get passed last step says ./flash_image: not found please need help!!!!!

    • did anyone ever figure this out ive been sitting here for about an hour trying to get past this step…..

    • ManDogAZ

      okay did the same thing sat in front of the comp forever.( i work overnight and wasnt about to give up after f**king with this for hours instead of sleeping.) simple fix make sure you save the files in the tools folder exactly as written “flash_image” and “recovery.img” i had them label differently and that was the problem. hope thats it GOOD LUCK AND GOOD NIGHT FINALLY!

  • SLOD

    Once completed the procedure, I was able to enter the recovery mode only the first time and did a nandroid backup. Then I restarted pressing home and power several times but I always got the triangle and phone screen.
    Any suggestion?
    Thanks

  • I have T-mobile G1 with dmd64 build. After ‘su’ I got Segmentation fault. What this mean?

  • Guest

    i went through this and i get permission denied when i enter su in the adb shell. su works fine in the terminal program on the phone.

    • Guest

      for some reason i didn’t get the comments the first time i came to this page. i hit refresh and saw the solution in the comments, just have to keep the phone awake and give permission.

      it works yayyy!!!

  • Guest

    i went through this and i get permission denied when i enter su in the adb shell. su works fine in the terminal program on the phone.

  • Ram13288

    i did everything and on the last step it says that the flash image is not found

    • Ram13288

      nvm i got all u have to is watch the video and put a space everywhere he does because in the instructions its not spaced right hope this helps someone

      • The spacing is right in the intructions, but the font makes it a little harder to see, I admit.

  • DanRiley49

    Is the recovery.img link broken ? I just get a blank page

  • Arsonist63086

    recovery img is broken i get a blank screen

  • Bunique4life05

    Recovery Img Links ARE BROKEN!!!!!!!!!!!

  • ObeyTheBrain

    after typing adb shell it say device off line. im reading everyones comments and i’d hate to give up. ive tried over and over. please help

  • ObeyTheBrain

    after typing adb shell it say device off line. im reading everyones comments and i’d hate to give up. ive tried over and over. please help

  • Studentzro

    ok for all the people that say the flash doesn’t work. i just went through all the steps on my g1. the thing is attention to detail…good luck guys

  • ghostman

    Just curious, what is good about flashing the G1? What benefits do you get? Thanks!

  • MitchO

    I am getting:
    [1] Segmentation fault su

    When i attempt to use the su command. I’ve redone with root twice, rebooted the phone and deleted and re installed the flash image and recovery. I am at a total loss. Anyone?

    • Pablo

      i have the sam problem with my g1

  • Dimas

    it’s really works for my htc g1 brand-new.if the device says offline, i just unplugged and plugged again (several times happen)….anyway thank you very much,it’s helpfull

  • Kimberly

    I am trying to push images and when I hit enter I get a whole bunch of text. I place them in the tools folder and I use the current name for the sdk manager.

  • Kimberly

    I am trying to push images and when I hit enter I get a whole bunch of text. I place them in the tools folder and I use the current name for the sdk manager.

  • Hasanwhy

    Says flash image permission denies. How do I validate permissions to do stuff with the flash image?

    • Search our site for how to flash a recovery image and there should be another procedure. Try that one and let us know what happens.

    • Search the site for flash a recovery and there should be another procedure. Try the other one and let us know what happens.

  • Vishal

    when I type su, I am getting link image error. It says, link_image[1638]: 1340 could not load needed library ‘ libbinder.so’ for ‘su’ CANNOT LINK EXECUTABLE……………..How can I fix this?

    • Use our How To Root the G1 procedure instead of the Super One Click or Universal procedure.

      • Derrek

        when I am doing the steps on the third step it keeps telling me that adb is not a valid prompt or something like that… what is going wrong? I know the G1 is outdated but i got it as a first android for my little brother and it is way too sluggish not to put a custom rom on it… plz help me im about to loose my 80 bucks I am going to throw this thing!!!!

    • Use our How To Root the G1 procedure instead of the Super One Click or Universal procedure.

  • Tman

    I type the last line and i get ./flash_image: permission denied Im so close please help

    • Jake

      I have the same problem!!

    • Jake

      I have the same problem!!

  • evo IV MR GSR

    Help please!! when i try entering in su i get this message saying link_image [1638]: 1224 could not load needed library ‘libbinder.so’ for ‘su’ CANNOT LINK EXECUTABLE
    what should i do?!? please help!

    • ya that seems to happen sometimes. has something to do with his one click app. try rerooting using one of the other methods on the site or report it to the app developer and ask him if he’s addressed the issue in his app yet

  • Hotdogowner

    When i get to number 6, it says sdcard: not found

    help!

  • Thomas

    i keep getting segmentation fault after typing in “su”. What does this mean, and how can i fix it? thanks

  • Dan

    hii… i used your root g1 tutorial (its working right) but when i try do at recovery image its still give me the same problem, same error with de libbinder.so, what more can i do?

  • R3dandroid

    I´m getting a looong error when I write adb push recovery.img /sdcard. please help meeee!!! tried to download the files several times. I¨m sure that both of them are at the tools folder. what can I do

  • Greendot

    hi, i just followed all the instructions and when i got to the ./flash_image recovery /sdcard/recovery.img and pressed enter it says that /flash_image: not found

    can somebody help me please?

  • Means you didn’t do it right. Start over. Make sure you type everything in exactly.

  • Means you didn’t do it right. Start over. Make sure you type everything in exactly.

  • I want to know if a custom flash recovery image nessesary in order to load custom roms on my rooted G1? Thanks in Advance.

  • Do the How To Root Procedure, then the How To Load a Custom ROM procedure and just follow the steps one by one and you’ll be fine 🙂

  • After I hit mount and put the next line in it says permission denied….. Whyu is that?

  • Did you root the phone? Try to reroot it.

  • Pablo

    when i type su after typing adb shell and hitting enter i get su not found

  • Pablo

    when i type su after typing adb shell and hitting enter i get su not found

  • Ajcbates

    Just managed to get to the last step, and instead of a blank line i get:
    “./flash_image: permission denied” – which is strange as my phones properly routed and has superuser permissions available…

    Any ideas?

    • Mr Scott

      Same ?? Any help

      • Hughes

        I am getting the same as Mr Scott

      • Hughes

        I am getting the same as Mr Scott

        • Bookoojoe

          same here

          • david kantor

            keep trying, make sure your file is (recovery.img)
            keep trying soon or later it should take
            also try remounting sd card

          • Moe

            Bookoojoo, Hughes, and scott,

            Try this.

            Go to the androidsdk folder that you have on your computer. then go into the tools folder and look for a file named “flash.exe or flashi image.exe or something with flash.exe.

            then when you locate that file, put that into the root of the sd card and try again. 

            also root your phone through “superoneclick” it helps a lot.

            P.S. you can also flash this without a computer. just download the terminal emulator from the market. run it and type “su” so that you can gain super user permission. hope that help. 

      • Hughes

        I am getting the same as Mr Scott

      • Hughes

        I am getting the same as Mr Scott

    • Mr Scott

      Same ?? Any help

  • Litoaznboy189

    When I do the mount -o remount step nothing happens, it just types the command again and nothing happens.

  • Litoaznboy189

    When I do the mount -o remount step nothing happens, it just types the command again and nothing happens.

  • wei

    When I type
    mount -o remount,exec /dev/block//vold/179:1 /sdcard

    it repeats itself and does nothing else? Is something suppose to happen?

  • Nothing is supposed to happen… it should just give you a new line and then you continue.

  • No, continue with the procedure.

  • Arab

    When i got to type in adb push recovery.img/sdcard and i hit enter it just gives me a list of commands for adb and stuff i can do. It does not download it to the sdcard like it was shown in the video please help me thank you.

  • Arab

    When i got to type in adb push recovery.img/sdcard and i hit enter it just gives me a list of commands for adb and stuff i can do. It does not download it to the sdcard like it was shown in the video please help me thank you.

  • KDubEG6

    sorry im new at this, I cant unzip recovery image? would it work if i left it as a zip file???

  • Download winzip or winrar to unzip it.

  • Download winzip or winrar to unzip it.

  • Nishilamin

    i finished the last step and the it worked but when i pressed home and power it wouldn’t go to the recovery menu. Did I do something wrong?

    • You need to turn it off and then turn it on holding down home and power.

    • You need to turn it off and then turn it on holding down home and power.

      • Nishilamin

        i did that and it still wouldnt go to the loader. idk what i did wrong?

  • Mo

    I get after the mount :operation not permitted. what to do?!

  • Honey1790

    okay i really need help 🙁 after i type in adb push recovery.img/sdcard it starts to load this really long information of something. but i kept typing what i need to type and after i did the “su” part it said permission denied….whats going on?

  • Ripjdme9

    so i got to the last step and it says flash image not found how do i get this to work?

  • Tofreash4yall

    after i finished the last step and and ready to reboot it wont get past the first g1 screen when i hold down the home key.but wen i dont it starts up normally

  • hi, why when I type “adb push recovery.img /sdcard” in cmd, don`t want to copy the files? cmd says:
    “C:AndroidSDKtools>adb push recovery.img /sdcard
    1033 KB/s (0 bytes in 4712448.004s)”
    Help me please!

  • After i type

    .flash_image recovery /sdcard/recovery.img
    i get
    .flash_image: Permission denied

  • After i type

    .flash_image recovery /sdcard/recovery.img
    i get
    .flash_image: Permission denied

  • i get to the last step and then it says ./flash_image: not found

  • Robert

    su said permission denied how i fix it please help

    • Have the phone screen on in home, when it ask about SuperUser permission, allow it

    • roy

      after sw you can try su than it will work so fine

    • Hawk3

      This may or may not help but I noticed that the phone can’t be in stand by/screen saver mode when entering ‘su’.

  • mel..

    hey wats going on… i have a question about the g1. i was trying to install android 2.2 and they told me i had to downgrade to 1.0 rc29 and then upgrade to cupcake…the thing is i get a error message every time…im really confused and i hate that im stuck on rc29….help plz

  • http://www.youtube.com/watch?v=b3AG-eMcBiI This isnt a spam/trick/troll message, im having a bit of a problem and i dont think i could type it so i recorded it to show u the problem, anyone can watch but i need help!!!

  • http://www.youtube.com/watch?v=b3AG-eMcBiI This isnt a spam/trick/troll message, im having a bit of a problem and i dont think i could type it so i recorded it to show u the problem, anyone can watch but i need help!!!

  • roy

    wow man youre are the greatsted plaese sent me over youre msn i wana contact you man ones again i did it verry good.
    thanx bro youre amezing

  • 123124

    i keep getting permission denied on the last part

    • 123124

      its says ./flash_image: permissiong denied. i redid everything 3 times already plz help

  • Pingback: How To: Load a Custom ROM on the HTC G1/Dream | TheUnlockr()

  • Pingback: How To: Root the HTC G1 / Dream (AndRoot Method) | TheUnlockr()

  • jess

    after i do the rmoung… sdcard it gives me a bunch of crap

  • Mendiola79

    Why is my recovery.img a .zip file?

  • Jmchris456

    I copied the recovery.img to the tools folder and it says no such file or directory when typing adb push recovery.img /sdcard what do i do i followed the directions to the letter.

  • Isaacbarrera94

    when i type in android sdk tools its says it cant find path specified

  • Inesfnts

    Umm, how do i do this on a mac?:/

  • Inesfnts

    Umm, how do i do this on a mac?:/

  • Inesfnts

    Umm, how do i do this on a mac?:/

  • Inesfnts

    Umm, how do i do this on a mac?:/

  • Miguel

    Hello, I am using a T-mobile G1 (rooted, used AndRoot method) and when I try to go into the recovery image (try to flash a new rom), I always have to do the flash recovery image step.

  • Miguel

    Hello, I am using a T-mobile G1 (rooted, used AndRoot method) and when I try to go into the recovery image, I always have to do the flash recovery image step.

  • it’s not copying the recovery.img ,I get the message for the speed(the one on the left),but on the right it stays at 0 bytes

    “1029 KB/s

  • Maxis008

    I’m getting the permission denied message after the adb shell, su, then mount. Any troubleshooting?

  • Jay

    will the ClockworkMod recovery image work as well?

  • Steve4cr

    After doing this my phone only works on speaker??

  • Lid

    Hey, thanks for all the work. I am having trouble with the recover image zip. I can’t unzip it? Is there a special program I am suppose to have loaded on my pc in order to unzip it before copying it over to AndroidSDK folder? Please let me know. I did everything else. Thanks.

  • Ihavetheskitells

    can i just use clorkword mod, it seems a lot easier?

  • Trb

    getting mount operation not permitted fault please help

  • Hawk3

    LAST LINE!! So disappointing… When I type ‘./flash_image recovery /sdcard/recovery.img’ it says ‘error reading /sdcard/recovery.img: I/O error’ Is the recovery.img corrupt or something? Yelp!

  • Nathan

    alrighty it finally worked for my only been trying a for about six hours, look if it doesnt work start from the start, and re root your phone with androot , follow steps exactly, you must use linda file manger also set your screen never to turn off when connected so you can allow the adb shell to access your phone, by pressing the correct button when superuser options pop up and ask if your want to allow the adb shell to acess your phone, also when you first put androot on your phone make sure that superuser app installed at the same time , if not reinstall androot, also make sure you type everything as is as per theunlockr shows up above in the command prompt or it obivously will not work properly like putting spaces where spaces are needed,
    Well that helped me , it may be the same for everyone else
    HTC Dream 4eva

  • Jeff

    cant push flash_image it says file not found

  • Jeff

    Can any one help me I can get the push on the recovery.img but when I get to push flach_image it keeps saying file not found what am I doing wrong????? everything seems to work up until this point…..?????

  • Jeff

    should I have renamed the flash_image or whats the deal anyone else having this problem????

  • Jeff

    It doesn’t show it in the video HMMMM?

  • i also get to the ./flash_image line and get permission denied i read all the posts problem doesnt seem to be adressed can u list some steps please adb works and phone rooted. also when i hold power and home buttons it simply freezes on htc dream opening screen no triangle or exclamation

  • THM89

    On the very last line step when you type ./flash_image recovery /sdcard/recovery.img it says ./flash_image: permission denied after I press enter. I’ve seen that I am not the only person with this problem, but there doesnt seem to be any solution in the comments section. As far as I know I’ve done everything exactly, and I honestly don’t know what I’m supposed to do now. Please help.

    • Daswerk

      Same here – Permission denied 

  • Guest

    when i put the adb devices in to get the code i get one but after it says device offline
    how do i change that
    Thank you

  • Recalderon

    I got it! You have to pay attention on the video because there are spaces that you do not notice while reading the text! i.e.
    adb push recovery.img /sdcard
    adb push flash_image /sdcard

    I could hardly notice that there was a space between recovery.img and /sdcard! this was messing me up!
    Also, on
    mount -o remount,exec /dev/block//vold/179:1 /sdcard
    I couldn’t see the space between mount and -o and the space after exec. This helped me out, I hope it helps more people!

  • can i just place the images on the sd card manually?? it just wont get past the last step , keeps saying sdcard not found

  • Ginaslobody

    after i type in su, it says something like 
    Error Type 3
    error activity class {com.koushikdutta.superuser/com.koushikdutta.superuser.SuperuserRequestActivity} does not exist. Any ideas what could be wrong? perhaps superuser app isnt working correctly?

  • Fakeemailnamegsndkfn

    In case anyone is still looking for the answer to “operation not permitted.” What you have to do is unroot it with androot and reroot it WITHOUT super user installed.

  • Richharddeneenja

    after reading this over and over having trouble on the ./flash_image recovery_______ 
    when you push the “adb push recovery.img /sdcard” & “adb push flash_image /sdcard”

    make sure you SPACE after “.img” & “image”
    i think this is why everyone keeps getting not found on the last step 

    • Amira Fikry

      should i undo all the steps :S
      ??

  • give me a error when i put
    mount -o remount,exec /dev/block//vold/179:1 /sdcard 
    say mount-o not found

  • Elementfiretree

    hello my g1 will not go in to recovery mode i have a recovery image but nothing it just sits at the g1 screen i need help

  • Senbon12

    When i try to reboot after everything i get to the factory reset…W’HY???

  • Rally

    im using mac, is there any alternative for command prompt? thanks

  • Scottwhite27

    When I’m at the part where I have to find the “dev/block…” with sdcard at the end, It’s not coming up. Any suggestions?

  • Lilbompie17

    Hey guys it’s maybe just me but you don’t have to follow these instructions just go to the market and download Rom Manager and let it flash that recovery for you I did these steps before successfully but rom manager is wayyyyyy easier.

  • Amira Fikry

    Okay .. when ever i type “su” Nothing Pops-up on my phone screen though i have the super user thing … also whenever i try to open super user it always get halted and pops-up the force close window! … what should i do :'(

  • Abdelhak

    all is well jsut when i want to make the command 
    su
    it say permission denied

    what can i do 

  • phantomDJ

    i am having a serious promblem flash image is saying permission denied and i already have super user permission plz help

  • Jamgk_101

    5 button’s on my g1 not working the send call ,the home, menu and the back also the trackball  can some one help me it’s heard to use the phone with out this buttons

  • Jamgk_101

    5 button’s on my g1 not working the send call ,the home, menu and the
    back also the trackball  can some one help me it’s heard to use the
    phone with out this buttons  plz plz

  • Chieftug

    day 2 everything ok BUT VERY LAST INPUT I get denied so any advice can email me at chieftug@mail.com

  • Spencer Leslie

    i get a “permission denied” after the su command

    • Recalderon

      make sure you grant superuser permissions on your phone after shell.

    • Kevin

      Do you have superuser installed on your phone? Ive had the same problem. Go to the market and download superuser then try again

  • Kevin

    After i enter the last line, i get permission denied, any clue to why that is?

  • dRiFt3R

    HELLOW !! it works fine until last command line where comes an error:

    flash_image : permission denied 

    i allready allowed in SuperUser and “remeber” option selected.

    Phone: T-mobile G1 , android 1.6 

    i tryied the ROMmanager way but after i press Flash Clockworkmod , it flashed, show me what version is and when i select from ROMmanager “Reboot into Recovery” it goes in Android System Recovery ( classic recovery mode )

    UNLOCKR !!! PLEASE HELP ME OUT AT LEAST ONE OF THAT PROBLEMS !!

  • Maysal75

    people, i spent about 8 hours and things did not work out for me, I was using Windows 64 Bit, therefore the day after I tried it on Windows XP 32 bit and bada bim bada booom it worked like a charm in less than 15 minutes. The instructions are perfect. Just follow them, I did not do anything different. 

    • Maysal75

      *Windows 7

  • Yharooer

    Step 6 – I don’t see /sdcard

  • Yharooer

    Step 7 – error scanning partitions: No such file or directory

  • Yharooer

    sorry Step 7: ./flash_image: not found

  • Yharooer

    Hi

    I need to do mnt/sdcard instead of /sdcard for most of the steps but on the last step i don’t know what to do:./flash_image recovery /mnt/sdcard/recovery.imgerror scanning partitions: No such file or directory
    ./mnt/flash_image recovery [etc…]flash_image: not foundHelp please!

    • Yharooer

      I’m not using a G1 by the way.

  • GregR

    I struggled with this procedure as well, and found that these tips are what got me through…

    Some of the steps work with the SD card mounted, others worked with it unmounted.

    SU permission is essential of course

    At the end, I could not get the ./flash_image recovery command to work.  I got either “permission denied” or “flash_image not found”.  I simply rebooted the phone, tried again, and it worked.

    Thanks for the great tutorial guys!

  • Favio Mec

    after i type the cmd line:
    mount -o remount,exec /dev/block//vold/179:1 /sdcard 
    it just says operation not permitted, any suggestions?

  • Mubz92

    hi everyone… i have fixed the issue with the file not found problem.

    first go to my computer and click on the “c” drive…

    next look for the AndroidSDK folder
    go to tolls and copy the flash_image file and put it on your sd card…

    once complete, follow the steps above.

    start with…

    su
    mount

    and so on and so forth. this should fix the problem. if you need help email me at mubz92@yahoo.com

  • Derrek

    keeps telling me adb is not…. bla bla what gives? Im about to throw this piece of junk G1 out the window

  • Frandoom92

    The link to the flash image is gone

  • Frandoom92

    on CMD when I type Adb push recovery.img /sdcard

    IT just stays there and I cant type anything else PLEASE HELP

  • Oscar

    I can not download the flash_image by saying that this method is obsolete and I have a g1 want to install the rom manager did not appear on the market as I have with Android 1.6

  • Louie

    been trying to install recovery on my G1 having major issues, and also the links up top there on the Video arent anywhere or atleast i cannot see them, please help, thanks!

    Louie