So you followed my guide and you went through all the trouble of rooting your Android phone. But now, things just aren't the same. Things have changed and you just don't know who your phone is anymore. You lie in bed at night wishing that things could just go back to the way they used to be before the operation.
Good news, they can. Just like tattoos, nothing is permanent. Fortunately, unrooting your phone is a lot less of a hassle than laser tattoo removal.
Unfortunately, this guide won't be quite as in-depth as the previous rooting guides. Whereas with rooting there are a few key methods that work for a wide variety of phones, when you're unrooting a phone, the process tends to be slightly unique for each device. However, depending on what model of phone you have, I can certainly point you in the right direction. Keep in mind, this will return to your phone to the state it was in when you first purchased it. Not only will you lose everything, but if you're on a CDMA provider like Verizon, you'll even have to re-activate your phone.
Another thing to keep in mind, which I've mentioned in the rooting guide, is that tinkering with your phone in a way unintended by the manufacturer could cause some nasty business and may in extreme cases cause you to brick your phone. This isn't meant to scare you (well, maybe it is), but to inform you of the potential dangers of modifying your device.
If you own an HTC, like my beloved Droid Incredible, you can flash a stock ROM right from your phone's bootloader (which should look something like the image above). These ROMs, known as RUUs, are unique to each phone so you'll have to rely on Google to find the specific file for your phone. Find the RUU, download it, saving the ZIP to your SD card and following any instructions that the download site may have. Once it's on the card, boot up your phone and HBOOT should automatically flash the stock ROM and you should be good to go.
If you're on a Samsung Galaxy phone, things are a little more complicated. as each Galaxy phone seems to have a different unrooting method. For most you'll need Odin, another Windows program. Again, for legal reasons, I'm not going to paste a link here, but Google is your friend as always. And you'll also need your specific phones OPS file, so Google for that too. From there, Unlocker's YouTube video is a good start. You may want to view it only as a jumping off point, however, as the video is well over a year old and only shows one kind of phone.