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. ummmmm, i was doin all the steps and when i was done load the spl, it was stuck at the stupid g1 screen. nothing will work someone the unlockr please help.

  2. Hi Unlockr,
    Firstly you rock, Ive used your tutorials on my gf’s dream and they worked nicely. I have now bought myself a dream on ebay which has firmware 1.6 donut on it – which leads me to this thread to unroot the phone. I tried updating to the original G1 SPL and I get:
    E:No Signature (5 files)
    E:Verification failed
    Installation aborted.
    Needless to say I dont have root.
    I try doing the nbh and I get the rainbow screen for a second followed by the grey screen which ends up saying “0020080 not allow” and then it cuts back to the rainbow screen.
    I have redownloaded the file multiple times, and I know it was a fine copy to begin with as it worked on my gf’s phone.
    I have reformatted the sd card to fat32 several times now using as many different methods as i can think of (ie via card reader, via mounting the card onto the computer while its in the phone, from within android etc).
    Any clues?? I seem to be completely stuck… I read things about gold cards however I can’t find any tutorials for them which don’t require a legit version of qmat which I’m currently waiting on a puchased serial number for.

  3. Hi Unlockr,
    Firstly you rock, Ive used your tutorials on my gf’s dream and they worked nicely. I have now bought myself a dream on ebay which has firmware 1.6 donut on it – which leads me to this thread to unroot the phone. I tried updating to the original G1 SPL and I get:
    E:No Signature (5 files)
    E:Verification failed
    Installation aborted.
    Needless to say I dont have root.
    I try doing the nbh and I get the rainbow screen for a second followed by the grey screen which ends up saying “0020080 not allow” and then it cuts back to the rainbow screen.
    I have redownloaded the file multiple times, and I know it was a fine copy to begin with as it worked on my gf’s phone.
    I have reformatted the sd card to fat32 several times now using as many different methods as i can think of (ie via card reader, via mounting the card onto the computer while its in the phone, from within android etc).
    Any clues?? I seem to be completely stuck… I read things about gold cards however I can’t find any tutorials for them which don’t require a legit version of qmat which I’m currently waiting on a puchased serial number for.

  4. Can anyone please help me, I followed the video instructions exactly as told, i copied each file over 2 the sd card formatted to FAT32 (not in any subfolders) but when i hold the home key and power button like in the video the triangle with exclamation point comes up not a bunch of codes like in the video…i dont know what i did wrong?

  5. Unlockr

    i had a G1 before and successfully rooted it but now i have a new one and having proplems.
    i successfully got to the Recovery Menu
    but here is where i think im messing up.
    i stay on the menu and Apply the HardSPL file, then wipe DATA, Apply Radio 2.22.19.261, then wipe data and partition memory card and put the Custom ROM(CM4.2.8.1) and then click wipe again then restart my phone and gets stuck on the G1 Page. i restarted my phone and went to that menu where you have to hold the Camera and Powe button and its like 3 Androids on Skateboards. anything u can help me on?

  6. Can anyone please help me, I followed the video instructions exactly as told, i copied each file over 2 the sd card formatted to FAT32 (not in any subfolders) but when i hold the home key and power button like in the video the triangle with exclamation point comes up not a bunch of codes like in the video…i dont know what i did wrong?

    1. Damian,

      Skip the SPL section and just do the Dreaimg.nbh section.
      You should be holding Camera and Power, not Home this time.

  7. Unlockr

    i had a G1 before and successfully rooted it but now i have a new one and having proplems.
    i successfully got to the Recovery Menu
    but here is where i think im messing up.
    i stay on the menu and Apply the HardSPL file, then wipe DATA, Apply Radio 2.22.19.261, then wipe data and partition memory card and put the Custom ROM(CM4.2.8.1) and then click wipe again then restart my phone and gets stuck on the G1 Page. i restarted my phone and went to that menu where you have to hold the Camera and Powe button and its like 3 Androids on Skateboards. anything u can help me on?

    1. DJToonJr,

      First thing, what procedure are you trying to do? You mention HardSPL and Radio but this is the unrooting procedure…

  8. Unrooted g1 just wanted to know how long it’ll take b4 id receive the ota update? Running on rc29 checked terminal emulator says permission denied so I believe I’m not rooted. Thanks..

  9. Unrooted g1 just wanted to know how long it’ll take b4 id receive the ota update? Running on rc29 checked terminal emulator says permission denied so I believe I’m not rooted. Thanks..

    1. Ned,

      No, if it takes more than a day, just call T-Mobile Customer Care and tell them you never got the Donut upgrade and ask them if they can send it to you.

  10. Hi,my htc dream is like this:
    firmware version: 1.6
    Baseband version: 62.50s.20.17U_2.22.19.26I
    Kernel version: 2.6.29-00479-g3c7df37 android-build@apa26 #19
    Build number: DRD20

    whenever i put the DREAIMG.nbh in my sd card and press the camera+power button, i get the rainbow screen, then bam, i get
    error 00028002
    Serial 0

    help please?

    1. Edric,

      This happens sometimes. You need to pluf your phone into the computer and mount the SD card. Then right click the SD card on the computer and reformat it to FAT32 instead of FAT. (Caution this will erase your SD so save everything on it to your computer beforehand). Then put the dreaimg.nbh file back on the SD and back into the phone and try again.

  11. Hi,my htc dream is like this:
    firmware version: 1.6
    Baseband version: 62.50s.20.17U_2.22.19.26I
    Kernel version: 2.6.29-00479-g3c7df37 android-build@apa26 #19
    Build number: DRD20

    whenever i put the DREAIMG.nbh in my sd card and press the camera+power button, i get the rainbow screen, then bam, i get
    error 00028002
    Serial 0

    help please?

    1. Edric,

      This happens sometimes. You need to pluf your phone into the computer and mount the SD card. Then right click the SD card on the computer and reformat it to FAT32 instead of FAT. (Caution this will erase your SD so save everything on it to your computer beforehand). Then put the dreaimg.nbh file back on the SD and back into the phone and try again.

  12. yeo. when i try to install the update.zip its says”theres no such file as update.zip” something lik that. do i have to wait untill i get the update??

  13. yeo. when i try to install the update.zip its says”theres no such file as update.zip” something lik that. do i have to wait untill i get the update??

  14. hey guys, who ever is doing step III, which is getting back the cupcake, when you download the zip file and copy it to the sd card RENAME THE FILE “UPDATE” NOT “UPDATE.ZIP” because is already a .zip file you dont have to write .zip at the end of the file…….. hope this help it did for me……….

    1. Ray,

      Good point. If your computer hides the .zip extension (which I believe most newer version of Windows do now), then just rename it to update not update.zip (as it doesn’t show you the .zip in the first place so you would be renaming it to .zip.zip)

  15. hey guys, who ever is doing step III, which is getting back the cupcake, when you download the zip file and copy it to the sd card RENAME THE FILE “UPDATE” NOT “UPDATE.ZIP” because is already a .zip file you dont have to write .zip at the end of the file…….. hope this help it did for me……….

    1. Ray,

      Good point. If your computer hides the .zip extension (which I believe most newer version of Windows do now), then just rename it to update not update.zip (as it doesn’t show you the .zip in the first place so you would be renaming it to .zip.zip)

  16. Can someone explain to me when you get the g1 out the box what does it come wit cupcake or donut and what’s the dif? I’m confused thinkin cupcake is the best then donut better. Which is really which?

    1. Skanks,

      New G1s come with Donut (Android 1.6) and old ones had Cupcake (Android 1.5). You can google the differences but its just a few minor things (voice search was a nice addition).
      As simple way to know if a version of Android is older or newer, they go alphabetically 🙂 So Cupcake (1.5) then Donut (1.6) then Eclair (2.0, 2.1) and then Froyo (??).

  17. Can someone explain to me when you get the g1 out the box what does it come wit cupcake or donut and what’s the dif? I’m confused thinkin cupcake is the best then donut better. Which is really which?

    1. Skanks,

      New G1s come with Donut (Android 1.6) and old ones had Cupcake (Android 1.5). You can google the differences but its just a few minor things (voice search was a nice addition).
      As simple way to know if a version of Android is older or newer, they go alphabetically 🙂 So Cupcake (1.5) then Donut (1.6) then Eclair (2.0, 2.1) and then Froyo (??).

  18. Hi i am running 1.6 not rooted from t-mobile but i want to root ot HOW!!! i have ooked at all you steps and none of them work

    1. John,

      They work for all the people that hit this site just fine. You need to look for our How to Root a Donut phone procedure and follow the steps exactly.
      Good luck!

  19. Hi i am running 1.6 not rooted from t-mobile but i want to root ot HOW!!! i have ooked at all you steps and none of them work

    1. John,

      They work for all the people that hit this site just fine. You need to look for our How to Root a Donut phone procedure and follow the steps exactly.
      Good luck!

  20. Hi, I had my phone rooted, and i watched your tut on getting a rom to work using your 1 click method, you said that if I didnt have the options you had that I had to unroot and then root again using your method. So I then started to unroot, but now I am stuck at the dreamimg.nbh part.. i have get to the rainbow screen, then it goes to the gray screen and says checking.. then it says not allowed.. then it goes to the rainbow screen again with seria 10. I have no idea what to do now. I have a tim dream from Itali if that makes any difference.

    Please help I have spent all night trying to figure this out.

  21. Hi Unlocker,

    i have successfully root and unroot with the steps on ur site, however my phone was send to service and it came back with a 1.6 donut.

    1. now i saw that you have a session that able to downgrade to 1.5 cupcake, but when i try the first step with is to update the SPL, but this step cant be done unless i have a root where now i don have.

    2. Load the DreaIMG.nbh not able to work even i have format my memory card as per instruction, as it says not allow.

    3. the last step don need to mention as i do not have root to update to cupcake.

    seems like this steps don work for some of us i wonder if getting root access have to downgrade to 1.5 or can we jus do it on 1.6

    if 1.6 is not possible then the steps on this site doesnt help me.

    Unlocker please help us thanks.

    Raymond

    1. Raymond,

      Read the procedure. You only need to downgrade the SPL if you upgraded it. Since you have a stock phone skip that section.
      You do not need root access to downgrade to get root access (that wouldnt make sense lol).
      Good luck!

  22. Hi, I had my phone rooted, and i watched your tut on getting a rom to work using your 1 click method, you said that if I didnt have the options you had that I had to unroot and then root again using your method. So I then started to unroot, but now I am stuck at the dreamimg.nbh part.. i have get to the rainbow screen, then it goes to the gray screen and says checking.. then it says not allowed.. then it goes to the rainbow screen again with seria 10. I have no idea what to do now. I have a tim dream from Itali if that makes any difference.

    Please help I have spent all night trying to figure this out.

  23. Hi Unlocker,

    i have successfully root and unroot with the steps on ur site, however my phone was send to service and it came back with a 1.6 donut.

    1. now i saw that you have a session that able to downgrade to 1.5 cupcake, but when i try the first step with is to update the SPL, but this step cant be done unless i have a root where now i don have.

    2. Load the DreaIMG.nbh not able to work even i have format my memory card as per instruction, as it says not allow.

    3. the last step don need to mention as i do not have root to update to cupcake.

    seems like this steps don work for some of us i wonder if getting root access have to downgrade to 1.5 or can we jus do it on 1.6

    if 1.6 is not possible then the steps on this site doesnt help me.

    Unlocker please help us thanks.

    Raymond

    1. Raymond,

      Read the procedure. You only need to downgrade the SPL if you upgraded it. Since you have a stock phone skip that section.
      You do not need root access to downgrade to get root access (that wouldnt make sense lol).
      Good luck!

  24. Wow! I LOVE THIS! I was experimenting with rooting, since all my friends said it was the greatest. I rooted with Cyanogen, and I hated it. And so when I tried to unroot, all the guides were so confusing. (tbh, so was this, but not nearly as much haha) but the video made it sooooo easy! Thanks!!!!!

  25. Sorry, I meant to put this in with the earlier post; can I delete the dreIMG.nbh off of my SD card? Or do I have to leave it on indefinitely? (same with spl.zip) sorry if those are horribly dumb questions, this is all new to me lol.

  26. Wow! I LOVE THIS! I was experimenting with rooting, since all my friends said it was the greatest. I rooted with Cyanogen, and I hated it. And so when I tried to unroot, all the guides were so confusing. (tbh, so was this, but not nearly as much haha) but the video made it sooooo easy! Thanks!!!!!

  27. Sorry, I meant to put this in with the earlier post; can I delete the dreIMG.nbh off of my SD card? Or do I have to leave it on indefinitely? (same with spl.zip) sorry if those are horribly dumb questions, this is all new to me lol.

  28. Hello I was just trying to root my G1 but I stucked during the wipe process . My screen looked different than in the video and everytime i was pressing alt+w the phone just tried it for a secand an then reboot without wipe and all my datas were deleted .

  29. Hello I was just trying to root my G1 but I stucked during the wipe process . My screen looked different than in the video and everytime i was pressing alt+w the phone just tried it for a secand an then reboot without wipe and all my datas were deleted .

  30. Here’s an issue…

    Every time I turn on my phone it goes to the rainbow screen, flashes “No image file!” then back to the rainbow screen “Serial0”. The problem with this is that I unrooted and loaded Cyanogen months ago. If I start with home+end I can get to the system recovery screen, but I can’t access my SD card to load dreaming.nbh on it. The reported issues talk about problems while unlocking, but what about a problem after it’s been working for months? Note: I haven’t made any changes to any files in several months.

  31. Here’s an issue…

    Every time I turn on my phone it goes to the rainbow screen, flashes “No image file!” then back to the rainbow screen “Serial0”. The problem with this is that I unrooted and loaded Cyanogen months ago. If I start with home+end I can get to the system recovery screen, but I can’t access my SD card to load dreaming.nbh on it. The reported issues talk about problems while unlocking, but what about a problem after it’s been working for months? Note: I haven’t made any changes to any files in several months.

    1. Justin,

      The serial issue happens when the SD card is not formatted correctly. Read the reported issues below the procedure.

  32. The SD card is formatted as FAT32. It was all working fine as a rooted phone until suddenly this error started. I followed your instructions to reformat and have worked to unroot the phone, in case there is a problem with it I can bring it in. However, I still get stuck. I get all the way to the part about DREAIMG.nbh (it does recognize the file and can load it) and it says “Press power button to start update image” but then the phone becomes unresponsive. No button works. It always freezes at this screen.

  33. The SD card is formatted as FAT32. It was all working fine as a rooted phone until suddenly this error started. I followed your instructions to reformat and have worked to unroot the phone, in case there is a problem with it I can bring it in. However, I still get stuck. I get all the way to the part about DREAIMG.nbh (it does recognize the file and can load it) and it says “Press power button to start update image” but then the phone becomes unresponsive. No button works. It always freezes at this screen.

  34. hey i updated manualy, and now i go to settings, system updates, and it sais your system is currently up to date.

    is it gonna update manualy? im sending this in to warrenty soon, are thye gonna notice i flashed the update manualy?

  35. i did everything correct from what i think. and i got put back to 1.5 but overnight i didnt recieve any update to donut or even eclair. did i do sumthin wrong?

  36. hey i updated manualy, and now i go to settings, system updates, and it sais your system is currently up to date.

    is it gonna update manualy? im sending this in to warrenty soon, are thye gonna notice i flashed the update manualy?

    1. Ahmad,

      If you flashed the non custom ROM update, that is totally fine. Its if you have a custom ROM (which it sounds like you dont) that would be an issue.

  37. i did everything correct from what i think. and i got put back to 1.5 but overnight i didnt recieve any update to donut or even eclair. did i do sumthin wrong?

  38. I had a rooted G1 and was using T-Mobile’s US Donut 2.5.1 from the XDA site and my phone kept turning off and dropping calls. I used your video to unroot today and was hitting a couple issues, but they were all resolved in your ‘Reported Issues.’ Thanks. I successfully flashed to Cupcake as well. I did this over 6 hours ago and no auto-update from T-mobile to get me caught up with Donut. What do you recommend? It doesn’t appear to me that I did anything incorrectly. Do I need to flash anything else or just wait?

    Thanks in advance.

  39. cool thanks alot man, ur guid is the buisness..

    so i flashed the original spl, i have latest radio, im running cupcake, and the custom image is stock…

    am i missing ne thing? hopefully they wont screw me over with a 300 dollar charge

  40. hi, for some reason when i press the camera and end key i goto the rainbow screen then to the DREAIMG.nbh screen, where it says to press the power button but when i do nothing happens the none of the buttons work. please can you help me?

Leave a Comment

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