How To: UnRoot Your T-Mobile G1/Get Back to Donut

THIS PROCEDURE IS OBSOLETE! PLEASE DO OUR NEW HOW TO UNROOT PROCEDURE:

HOW TO UNROOT THE HTC G1 / DREAM

So you need to send in your phone for warranty purposes? Or maybe you’ve been loading too many ROMs and would like to start fresh? Maybe you just hate being different and just want to be like everyone else, damn it!

Here is how to UNRoot the G1 and get back to the stock G1 firmware.

I. Load the DreaIMG.nbh File

1. Download the Original DreaIMG.nbh file:
Original DREAIMG.nbh

2. If the file downloaded above downloads as a .Zip file, please unzip it first then put the DreamIMG.nbh file that is inside on the SD card, NOT in any folder.

3. Turn the phone off if it is on.

4. Turn on the phone by holding the Camera button and the End key until the bootloader screen turns on.

5. Hit the End key to start the update. DO NOT INTERUPT THIS PROCESS.

6. Once it is done, hit the trackball to restart the phone. You now are on the stock firmware RC29. You must do the next section to get back to cupcake.

II. Get Back to Cupcake (Android 1.5)

1. Download the Cupcake update from here, then put it on your SD card (do NOT extract it, just move the .zip file to the sd card, NOT in any folders) and rename it to update. Then turn off your phone and turn it back on by holding down Home and Power and keep holding until you get to recovery mode. In recovery mode (the ! screen) hit Alt L to see text, then hit Alt S to Apply the update.

III. Get Back to Donut (Android 1.6)

1. After you have gotten back to Cupcake (Android 1.5), download the Donut update from here, then put it on your SD card (do NOT extract it, just move the .zip file to the sd card, NOT in any folders) and rename it to update. Then turn off your phone and turn it back on by holding down Home and Power and keep holding until you get to recovery mode. In recovery mode (the ! screen) hit Alt L to see text, then hit Alt S to Apply the update.

Reported Issues

Issue: It doesn’t see the Dreaimg.nbh file and goes to the rainbow screen and says Serial 10.

Solution: Your SD card is formatted to FAT instead of FAT32. Follow one of our readers’ instructions to fix (thanks Clemshady!):

“To Jess and any one else who is unable to get past the rainbow screen with serial 10, your SD card is most likely in a FAT format and needs to be formatted to FAT32. I had the same issue.

– Load your SD card in the card reader and connect to PC.
– Make sure you back up everything on your card. a format will erase all data on the card.
– Now open My Computer and right click on the drive with the SD card (Warning! Make sure its the correct drive).
– Click on Format and select FAT32 on the file system drop down and click then click Start.
– Once completed, Copy your files back to the SD card and make sure the Original DREAIMG.nbh” is at the topmost folder of your SD card.
– Return to Step 8 of David’s instruction to complete the un-root process and you are all set!”

Issue: I get an error, failure, or nothing happens when I get to the rainbow screen and try to load Dreaimg.nbh file.

Solution:
The files we had in the links above became corrupt. We have replaced the links as of 08.25.2009 so they should now work.
If you are still having issues; the dreaimg.nbh file is either not on the topmost folder of the SD card OR the file is corrupt or incomplete.

Delete the file off of your SD card and then re download it from our site or on XDA-Developers.com and then put it on the topmost folder of the SD card. You may have to do this multiple times before it finally works. KEEP DOING THIS UNTIL IT WORKS!

Issue: I load the SPL (wipe and apply update.zip) but then when I try to hold camera and power to get to bootloader it brings me to the G1 screen.

Solution: This is because you took out the battery too soon.

1. Put the SPL back on the memory card and rename to update.zip (using an SD Card reader or adapter)
2. Boot into recovery by holding down Home and Power  to turn on the phone.
3. At the recovery screen Wipe Data, then Apply Update.zip
4. Once it is done loading hit Reboot and wait for the phone to reboot (it will show a box an arrow and a G1 on the screen for a bit then it will reboot). Wait at the G1 screen for 20 seconds, it should reboot one more time or it should goto the recovery screen again. If you see the recovery screen or are still at the G1 logo after 20 seconds, THEN remove the battery and put it back in and continue with the next step of trying to hold the camera and power button and so on.

1,235 thoughts on “How To: UnRoot Your T-Mobile G1/Get Back to Donut”

  1. Also if i press home and end to i go to the recovery screen and pres Alt+S to update, i get this message

    E: can’t open/Sdcard/updat.zip (no such file or directory) installation aborted

    i dont’t kno what to do to anymore…..help plz

    1. Karl,

      You need to make sure the update.zip file is named that and not update.zip.zip etc. Also it HAS to be on the sd card and not in any folder.

      Good luck!

  2. To everyone stuck at the rainbow screen:

    My G1 was running the latest Cyanogen build (4.2.15.1 I think) and was attempting to get back to stock after countless problems. I got stuck at the rainbow screen after the DREAIMG.nbh update too. I tried downloading it from several different sites but they all seemed to do the same thing. Eventually I just booted the phone normally instead of holding down Camera and Power and it worked — I was at stock RC29.

    After that I did the Cupcake update, which didn’t seem to do much. I did this yesterday afternoon, then last night I got the OTA update, putting me at DMD64.

  3. i need to unroot my phone so i can send it back to t-mobile
    can i even unroot it if i have the latest radio, death spl, and the 10mb ram hack?
    please help me
    thanks

  4. To everyone stuck at the rainbow screen:

    My G1 was running the latest Cyanogen build (4.2.15.1 I think) and was attempting to get back to stock after countless problems. I got stuck at the rainbow screen after the DREAIMG.nbh update too. I tried downloading it from several different sites but they all seemed to do the same thing. Eventually I just booted the phone normally instead of holding down Camera and Power and it worked — I was at stock RC29.

    After that I did the Cupcake update, which didn’t seem to do much. I did this yesterday afternoon, then last night I got the OTA update, putting me at DMD64.

  5. i need to unroot my phone so i can send it back to t-mobile
    can i even unroot it if i have the latest radio, death spl, and the 10mb ram hack?
    please help me
    thanks

  6. i try to do the update back to cupcake but it says “can’t open /sdcard/update.zip (no such file or directory” help

  7. i try to do the update back to cupcake but it says “can’t open /sdcard/update.zip (no such file or directory” help

  8. i did everything,i followed every single instruction.

    1. Download the Original DreaIMG.nbh file:
    Original DREAIMG.nbh

    2. If the file downloaded above downloads as a .Zip file, please unzip it first then put the DreamIMG.nbh file that is inside on the SD card, NOT in any folder. (If you did Section I the phone is off still, take out the memory card, put it in the MicroSD adapter and plug it into your computer to transfer the file over, since your G1 won’t turn on right now if you did Section I above. Otherwise if you did not need to do Section I above, then you can just put it on the SD card normally using the usb cable and the phone).

    3. Turn the phone off if it is on.

    4. Turn on the phone by holding the Camera button and the End key until the bootloader screen turns on.

    5. Hit the End key to start the update. DO NOT INTERUPT THIS PROCESS.

    After the process was finished it said update failed.and now im stuck at the bootloader screen.

    I did everything proper,i cant even get into recovery mode because it takes me to the bootloader screen,any help or suggestions?

    1. Xx_iDon_xX,

      Redownload the dreaimg.nbh file from our site, then re put it on the SD card and try again.
      Otherwise, are you using a Dream from Europe? Or a T-Mobile USA G1?

  9. i did everything,i followed every single instruction.

    1. Download the Original DreaIMG.nbh file:
    Original DREAIMG.nbh

    2. If the file downloaded above downloads as a .Zip file, please unzip it first then put the DreamIMG.nbh file that is inside on the SD card, NOT in any folder. (If you did Section I the phone is off still, take out the memory card, put it in the MicroSD adapter and plug it into your computer to transfer the file over, since your G1 won’t turn on right now if you did Section I above. Otherwise if you did not need to do Section I above, then you can just put it on the SD card normally using the usb cable and the phone).

    3. Turn the phone off if it is on.

    4. Turn on the phone by holding the Camera button and the End key until the bootloader screen turns on.

    5. Hit the End key to start the update. DO NOT INTERUPT THIS PROCESS.

    After the process was finished it said update failed.and now im stuck at the bootloader screen.

    I did everything proper,i cant even get into recovery mode because it takes me to the bootloader screen,any help or suggestions?

    1. Xx_iDon_xX,

      Redownload the dreaimg.nbh file from our site, then re put it on the SD card and try again.
      Otherwise, are you using a Dream from Europe? Or a T-Mobile USA G1?

  10. hello,
    i want to try that today and i have a question:
    i have a g1 (bought in germany) in austria and does it work on mine too?

  11. hello,
    i want to try that today and i have a question:
    i have a g1 (bought in germany) in austria and does it work on mine too?

  12. Thank You! Thank You! New OTA update completely killed my phone and this page was the only one with info thorough enough to troubleshoot and fix my G1. Keep up the good work!

  13. Thank You! Thank You! New OTA update completely killed my phone and this page was the only one with info thorough enough to troubleshoot and fix my G1. Keep up the good work!

  14. hi,
    i have a rooted G1, non of the hero roms work for me, so i am thinking of un-rooting and rooting it again…
    the question is tht i have the “amon RA recovery”
    so do i follow the above mentioned steps or …….??

    1. Thugsin313,

      They probably don’t work not because you need to root again but because you did not partition your memory card. Follow all the steps in the How To Load a Custom ROM on your G1 procedure and then load a Hero ROm and it should work.

  15. hi,
    i have a rooted G1, non of the hero roms work for me, so i am thinking of un-rooting and rooting it again…
    the question is tht i have the “amon RA recovery”
    so do i follow the above mentioned steps or …….??

    1. Thugsin313,

      They probably don’t work not because you need to root again but because you did not partition your memory card. Follow all the steps in the How To Load a Custom ROM on your G1 procedure and then load a Hero ROm and it should work.

  16. Thanks for posting, i supposedly “rooted” my g1 after I got my nexus, what I ended up with was some old version of android with root permission. Now my brother needs a spare g1 and I couldn’t give him that phone, so I needed to Unroot as you say. Thanks

  17. Thanks for posting, i supposedly “rooted” my g1 after I got my nexus, what I ended up with was some old version of android with root permission. Now my brother needs a spare g1 and I couldn’t give him that phone, so I needed to Unroot as you say. Thanks

  18. Hi Guys-

    Thanks for this tutorial, it really came in handy getting off the (annoying) Cyanogen ROM.

    Everything worked nicely for me.

    However, I’m only on 1.5 after the Cupcake update-

    How can I get my phone to 1.6 like my wife’s phone?

    (That G1 has never been rooted)

    is there an update.zip I can grab from somewhere?

  19. Hi Guys-

    Thanks for this tutorial, it really came in handy getting off the (annoying) Cyanogen ROM.

    Everything worked nicely for me.

    However, I’m only on 1.5 after the Cupcake update-

    How can I get my phone to 1.6 like my wife’s phone?

    (That G1 has never been rooted)

    is there an update.zip I can grab from somewhere?

    1. Brian,

      Nice addition, just added it to the procedure. Should be redoing these videos this next week, they are a bit outdated now…

  20. ok.. just 1 problem.. i made it all the way to the 1.6 part.. when i try to apply the update.zip, it gets to “verifying update package” and then it aborts.. help!

  21. ok.. just 1 problem.. i made it all the way to the 1.6 part.. when i try to apply the update.zip, it gets to “verifying update package” and then it aborts.. help!

  22. Hey just completed step one for loading the dreamimg file it did not reboot when i clicked the trackball so i took the battery out and put back in. My linda file manager app is not on my phone and none of my apps are visible it took me back to the original sign in like when i got my phone. All i was trying to accomplish was to root my phone. i followed your directions to a tee now my phone is acting crazy not being able to find apps. Neeed help asap.

    1. Essendi,

      Just reflash the dreaing file and you’ll be back to cupcake. Then goto the next procedure, how to root, do that, then goto how to load a custom rom and do that. Then you’re all set.

  23. Hey just completed step one for loading the dreamimg file it did not reboot when i clicked the trackball so i took the battery out and put back in. My linda file manager app is not on my phone and none of my apps are visible it took me back to the original sign in like when i got my phone. All i was trying to accomplish was to root my phone. i followed your directions to a tee now my phone is acting crazy not being able to find apps. Neeed help asap.

    1. Essendi,

      Just reflash the dreaing file and you’ll be back to cupcake. Then goto the next procedure, how to root, do that, then goto how to load a custom rom and do that. Then you’re all set.

  24. So none of the forums I’ve read have said to flash the original spl before going into the bootloader and putting on the DREAIMG.nhb file. so since i didnt have the original spl and went right into the bootloader is there any way around it cause I’m suck with it on the RGB screen and the DREAIMG.nhb file keeps saying upadte terminate update fail. please help t]

  25. So none of the forums I’ve read have said to flash the original spl before going into the bootloader and putting on the DREAIMG.nhb file. so since i didnt have the original spl and went right into the bootloader is there any way around it cause I’m suck with it on the RGB screen and the DREAIMG.nhb file keeps saying upadte terminate update fail. please help t]

  26. hey,

    im having problems to root my dream. im stuck at the bootloader screen after transferring the DREIMG.nbh file to my sd.

    it says ‘not allowed’

    can you help me?

  27. Very helpful video and instructions.

    However, the video and comments have references to restoring the original SPL, but there’s no longer a download link and it’s not referenced in the steps at the top, so it’s confusing.

  28. hey,

    im having problems to root my dream. im stuck at the bootloader screen after transferring the DREIMG.nbh file to my sd.

    it says ‘not allowed’

    can you help me?

  29. Very helpful video and instructions.

    However, the video and comments have references to restoring the original SPL, but there’s no longer a download link and it’s not referenced in the steps at the top, so it’s confusing.

    1. Mooboynyc,

      It’s because it is no longer necessary. The dreaimg file flashes the old spl now… Just skip the spl parts and flash the dreaimg file.

  30. I keep getting Installation aborted when installing the Android 1.6 Donut Update whats going on How do I fix this I downloaded the 1.6 from other sites as well and I keep getting the same Error How do I fix this someone Please Help if you know how to fix this Please Email me…..

    miglop213@gmail.com

  31. I keep getting Installation aborted when installing the Android 1.6 Donut Update whats going on How do I fix this I downloaded the 1.6 from other sites as well and I keep getting the same Error How do I fix this someone Please Help if you know how to fix this Please Email me…..

    miglop213@gmail.com

  32. when i try to apply the update the message that pops up says that cant open /sdcard/update.zip(bad)installation aborted plz help

  33. i found out what i was doing wrong which was that i didnt have to rename the file just appy to sd card but thanks

  34. when i try to apply the update the message that pops up says that cant open /sdcard/update.zip(bad)installation aborted plz help

  35. i found out what i was doing wrong which was that i didnt have to rename the file just appy to sd card but thanks

  36. I’d like to unroot my G1 because Im selling so i must go back to stock .My question is my phone has the danger spl (hboot 1.33.2005) and radio 2.22.23.02. so do i need flash a back to original SPL and then do the DREAIMG.nbh or just do the dreaimg.nbh from where am i now.. please help i dont want to brick my phone.. thanx

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.