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. how will i know if my phone is unrooted. i waited all night for it to updated back to 1.5 and it never did. i think i might be stuck at rc29 forever! can you please help

  2. if my phone is unrooted should i still be able to “enter reboot enter” to reboot the phone… because im still able to do so. ?????? pleeeeaaaaase help. i just want my cupcake back. root was an epic failure for me. id rather try the “1click” way that you posted up.

    1. Hello VRtheTrooper,

      Just do the last step in the procedure to get back to cupcake. Then download terminal emulator from the market and type su into it and it should say permission denied if you are unrooted.

  3. how will i know if my phone is unrooted. i waited all night for it to updated back to 1.5 and it never did. i think i might be stuck at rc29 forever! can you please help

  4. if my phone is unrooted should i still be able to “enter reboot enter” to reboot the phone… because im still able to do so. ?????? pleeeeaaaaase help. i just want my cupcake back. root was an epic failure for me. id rather try the “1click” way that you posted up.

    1. Hello VRtheTrooper,

      Just do the last step in the procedure to get back to cupcake. Then download terminal emulator from the market and type su into it and it should say permission denied if you are unrooted.

  5. I was trying to put a rom on my g1 for the first time, I followed all the steps (1 click root. installing a rom) but I failed to read that i needed a SD Card Adapter. SO I got all way up to that step, I wiped my rom and can’t get it back. My G1 will not go pass the G1 screen. I tried the unrooting steps, I took my sd card and put it in my wifes G1 and put all the files on my card that I needed to unroot the phone. I can get all way up to the colorfull screen (holdind camera and Power) but it won’t load… Please Help Me someone

  6. I was trying to put a rom on my g1 for the first time, I followed all the steps (1 click root. installing a rom) but I failed to read that i needed a SD Card Adapter. SO I got all way up to that step, I wiped my rom and can’t get it back. My G1 will not go pass the G1 screen. I tried the unrooting steps, I took my sd card and put it in my wifes G1 and put all the files on my card that I needed to unroot the phone. I can get all way up to the colorfull screen (holdind camera and Power) but it won’t load… Please Help Me someone

  7. After i remove the battery and and hold down the power button with the camera i dont get the raindow screen and my phone dont go back to normal. Is there a difrent way you can tell me

  8. After i remove the battery and and hold down the power button with the camera i dont get the raindow screen and my phone dont go back to normal. Is there a difrent way you can tell me

  9. O NO!! I downloaded the HERO ROM and hated it… waayy to slow. So I came he to UnRoot. I downloaded the “update”, wiped, rebooted… took off the battery and pressed OFF+Camera and I see NO rainbow but do see 3 android things at the bottom with HBOOT FastBoot Mode. If I select FastBoot it gives me 4 options HBoot Mode, Reset Device Restart to HBOOT, and Power Down….. I cant even turn my phone on anymore… it just loops the HERO screen…. PLEASE ADVISE ASAP… thank you

  10. hmm i go to the recovery screen push alt w then alt s it does its thing i take out my battery when the g1 logo comes up
    then i hold camera and power at same time the rainbow screen comes up and it says no flash or something like that
    what could be wrong?

  11. O NO!! I downloaded the HERO ROM and hated it… waayy to slow. So I came he to UnRoot. I downloaded the “update”, wiped, rebooted… took off the battery and pressed OFF+Camera and I see NO rainbow but do see 3 android things at the bottom with HBOOT FastBoot Mode. If I select FastBoot it gives me 4 options HBoot Mode, Reset Device Restart to HBOOT, and Power Down….. I cant even turn my phone on anymore… it just loops the HERO screen…. PLEASE ADVISE ASAP… thank you

  12. hmm i go to the recovery screen push alt w then alt s it does its thing i take out my battery when the g1 logo comes up
    then i hold camera and power at same time the rainbow screen comes up and it says no flash or something like that
    what could be wrong?

  13. HELP PLEASE OMG, The update failed, know i just wanna go back to normal root, but every time i start up my phone it goes into rainbow screen! HELP!

  14. Please help…. this is day two without anyphone at all:

    O NO!! I downloaded the HERO ROM and hated it… waayy to slow. So I came he to UnRoot. I downloaded the “update”, wiped, rebooted… took off the battery and pressed OFF+Camera and I see NO rainbow but do see 3 android things at the bottom with HBOOT FastBoot Mode. If I select FastBoot it gives me 4 options HBoot Mode, Reset Device Restart to HBOOT, and Power Down….. I cant even turn my phone on anymore… it just loops the HERO screen…. PLEASE ADVISE ASAP… thank you

    1. Hello Gem,

      Instead of unrooting, just download the Cyanogen ROM from our downloads section, put it on the SD card, rename to update.zip (like you did with Hero) then boot into recover (home and power) and wipe and apply the update.

    1. Hello Mookieboy,

      I dont understand the question, you dont send your memory card in when repairing. Just unroot, then just send the phone, no battery, no back cover, no SIM, no Memory card.

  15. Please help…. this is day two without anyphone at all:

    O NO!! I downloaded the HERO ROM and hated it… waayy to slow. So I came he to UnRoot. I downloaded the “update”, wiped, rebooted… took off the battery and pressed OFF+Camera and I see NO rainbow but do see 3 android things at the bottom with HBOOT FastBoot Mode. If I select FastBoot it gives me 4 options HBoot Mode, Reset Device Restart to HBOOT, and Power Down….. I cant even turn my phone on anymore… it just loops the HERO screen…. PLEASE ADVISE ASAP… thank you

    1. Hello Gem,

      Instead of unrooting, just download the Cyanogen ROM from our downloads section, put it on the SD card, rename to update.zip (like you did with Hero) then boot into recover (home and power) and wipe and apply the update.

    1. Hello Mookieboy,

      I dont understand the question, you dont send your memory card in when repairing. Just unroot, then just send the phone, no battery, no back cover, no SIM, no Memory card.

  16. So I rushed home… deleted everything from my SD and put Cyanogen ROM replacing it with update… wiped and then applied… it says
    E: No Signature (16 Files)
    E: Verification Failed
    Instillation Aborted

    Am I gonna have to buy awhole new phone *frown* this is day two with NO PHONE… please help.

    I can not format this SD cuz I am unable to even get onto my phone… it just loops on the HERO screen

    1. Hello GEM,

      You will not have to buy a new phone, calm down lol
      Try a different ROM from our downloads section (or use the search bar there to search various other sites for a ROM).

      Keep trying till one works. It may also help to format the card (you can do this on your computer by putting the SD card into a card reader and putting into the computer by itself, then right clicking it and clicking format. If you do this though a Hero ROM won’t load until you can partition the card in the recovery screen.

      Good luck man, and don’t worry I have yet to see a phone that is completely bricked 🙂

  17. ok so, i installed cupcake, and when i power my phone up it makes me log in with a google account. I have a at&t sim card and its not letting me log in, help? what do i do? i think the unroot locked my phone back to t-mobile

    1. Hello Brandon P,

      No it most likely did not relock the phone, the issue is that it erased the ATT APN from the phone. Do you see signal bars when your ATT SIM card in in the phone?
      If so then this is what happened. Just click Menu and click APN settings and put in the ATT ones….

  18. So I rushed home… deleted everything from my SD and put Cyanogen ROM replacing it with update… wiped and then applied… it says
    E: No Signature (16 Files)
    E: Verification Failed
    Instillation Aborted

    Am I gonna have to buy awhole new phone *frown* this is day two with NO PHONE… please help.

    I can not format this SD cuz I am unable to even get onto my phone… it just loops on the HERO screen

    1. Hello GEM,

      You will not have to buy a new phone, calm down lol
      Try a different ROM from our downloads section (or use the search bar there to search various other sites for a ROM).

      Keep trying till one works. It may also help to format the card (you can do this on your computer by putting the SD card into a card reader and putting into the computer by itself, then right clicking it and clicking format. If you do this though a Hero ROM won’t load until you can partition the card in the recovery screen.

      Good luck man, and don’t worry I have yet to see a phone that is completely bricked 🙂

  19. ROMS? I am such a beginner… I just want my phone to be back to cupcake or what ever…. I do not want the HERO…. I tried did what this says BUT when I hit camera+power it goes to a screen with three androids at the bottom… HBOOT FastBoot Mode. If I select FastBoot it gives me 4 options HBoot Mode, Reset Device Restart to HBOOT, and Power Down….. I cant even turn my phone on anymore… it just loops the HERO screen… I also have now tried the Recovery thing you suggested and it gives me the error listed above… BLAH I SUCK

  20. ok so, i installed cupcake, and when i power my phone up it makes me log in with a google account. I have a at&t sim card and its not letting me log in, help? what do i do? i think the unroot locked my phone back to t-mobile

    1. Hello Brandon P,

      No it most likely did not relock the phone, the issue is that it erased the ATT APN from the phone. Do you see signal bars when your ATT SIM card in in the phone?
      If so then this is what happened. Just click Menu and click APN settings and put in the ATT ones….

  21. ROMS? I am such a beginner… I just want my phone to be back to cupcake or what ever…. I do not want the HERO…. I tried did what this says BUT when I hit camera+power it goes to a screen with three androids at the bottom… HBOOT FastBoot Mode. If I select FastBoot it gives me 4 options HBoot Mode, Reset Device Restart to HBOOT, and Power Down….. I cant even turn my phone on anymore… it just loops the HERO screen… I also have now tried the Recovery thing you suggested and it gives me the error listed above… BLAH I SUCK

  22. …. after many trials… all errors and 3 days withouth a phone it looks like I will have to give up…. I formatted my SD… re downloaded the links… put them on the card, removed them countless times…. all works until I get to the rainbow screen…. it says “serial 10” … cant get past it… any last thoughts ([lease give steps if possible… I am new to this phone stuff)?

    1. Hello GEM,

      Yup, at the bottom of the procedure there is a search box that says to use if you are having issues. Type serial 10 error into it and see what comes up, it ONLY searches sites that may have a solution. Good luck!

  23. …. after many trials… all errors and 3 days withouth a phone it looks like I will have to give up…. I formatted my SD… re downloaded the links… put them on the card, removed them countless times…. all works until I get to the rainbow screen…. it says “serial 10” … cant get past it… any last thoughts ([lease give steps if possible… I am new to this phone stuff)?

    1. Hello GEM,

      Yup, at the bottom of the procedure there is a search box that says to use if you are having issues. Type serial 10 error into it and see what comes up, it ONLY searches sites that may have a solution. Good luck!

  24. I did the unrooting on my g1 but I’m out of the country and i can’t get past logging in, i added the apn for this country and erased al the other apn for t-mobile but i can’t select the apn i added. please help

  25. the phone was unlocked before i unrooted, but i belive it is locked now, i have a sim card for telcel mexico and i lost my t-mobile sim but i have my wifes t mobile sim

  26. I did the unrooting on my g1 but I’m out of the country and i can’t get past logging in, i added the apn for this country and erased al the other apn for t-mobile but i can’t select the apn i added. please help

  27. the phone was unlocked before i unrooted, but i belive it is locked now, i have a sim card for telcel mexico and i lost my t-mobile sim but i have my wifes t mobile sim

  28. hello i was just wondering where i can get the cupcake update. i already unrooted my g1 but i dont want to wait for tmobile to send the update. the link you put dosent work.

  29. im trying to unroot my phone everytime i press camera and end button it says serial 0 does it matter that i have on cyanogen recovery image?

  30. hello i was just wondering where i can get the cupcake update. i already unrooted my g1 but i dont want to wait for tmobile to send the update. the link you put dosent work.

  31. im trying to unroot my phone everytime i press camera and end button it says serial 0 does it matter that i have on cyanogen recovery image?

  32. Ok, i followed steps one by one but when i try to go to the recovery mode the phone gives me an error screen….. a picture of the phone with an exclamation symbol inside of a triangle. i have a 1.5 CRC1 version.

    please i have tow days trying to get the HTC hero rom and i can’t do it unless i unroot and then root my phone.

    Thanks

    1. Hello Fredrick B.,

      That isnt an error, it is the phones default recovery screen (you can hit Alt L to bring up the menu). That recovery wont work and it means you didnt load the recovery image correctly. Try again and read the reported issues at the bottom of the post and make sure you follow them.
      Good luck!

  33. Ok, i followed steps one by one but when i try to go to the recovery mode the phone gives me an error screen….. a picture of the phone with an exclamation symbol inside of a triangle. i have a 1.5 CRC1 version.

    please i have tow days trying to get the HTC hero rom and i can’t do it unless i unroot and then root my phone.

    Thanks

    1. Hello Fredrick B.,

      That isnt an error, it is the phones default recovery screen (you can hit Alt L to bring up the menu). That recovery wont work and it means you didnt load the recovery image correctly. Try again and read the reported issues at the bottom of the post and make sure you follow them.
      Good luck!

  34. I waited until the recovery screen came up again after running the update, then continued to remove battery and load the rainbow screen but it still did not work!

    I think I need the original Radio if that is possible…

  35. Ok think I’ve found the problem but not a clue how to fix…

    When I load the rainbow screen it says checking and then flashes no image file. Any way to fix this please?

  36. I waited until the recovery screen came up again after running the update, then continued to remove battery and load the rainbow screen but it still did not work!

    I think I need the original Radio if that is possible…

  37. Ok think I’ve found the problem but not a clue how to fix…

    When I load the rainbow screen it says checking and then flashes no image file. Any way to fix this please?

  38. I made a video to show the problems I am having. This video has a 20 seconds wait which the instruction told me to do. I also tried 5, 10, and 15 seconds wait and it still does not work.

    If you can see what i am doing wrong, please let me know. This video starts with me transferring the files to the G1.

    Thanks!

    http://www

  39. I made a video to show the problems I am having. This video has a 20 seconds wait which the instruction told me to do. I also tried 5, 10, and 15 seconds wait and it still does not work.

    If you can see what i am doing wrong, please let me know. This video starts with me transferring the files to the G1.

    Thanks!

    http://www

  40. Ok I got past the Serial0 problem by formatting my SD card to FAT32..

    Now when I load the rainbow screen it goes:

    Loading…

    Checking…

    Then flashes to:

    00028002

    not allow

    Any solutions? Been trying to unroot for days now. Ive wiped and flashed a dozen times and still nothing.

    Thanks

Leave a Comment

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