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.

Join 90k others & subscribe to my weekly, not annoying newsletter for more tech!

* indicates required