Why (and How) to Root Your Android Phone

September 15, 2009
Update, April 2011: Hi, reader! Before you go any further, you should know this article is out of date. To find out the best and most up-to-date way to root your Android phone, check out Lifehacker's Always Up-To-Date Guide to Rooting Any Android Phone.

Android CyanogenModI'm not dead. I've just moved into a new place where there is no internet connection yet, which is the equivalent of dead when you work and live online. Up until now I've resisted "rooting" my Android phone because I didn't want to go down the iPhone jailbreak road. (A major reason I have Android is so I don't have to jailbreak my device to get it to do something interesting!) But desperate times call for desperate measures. Living somewhere with no computer internet connection is a really good reason to root your Android phone. With a rooted phone, you can tether your Android device to your computer and get some internet love wherever you are. (There are quite a few other good reasons to root Android, too, not the least of which is speed boosts and early Donut access.)

If you're paying attention and reading the instructions, the rooting process isn't that difficult. I made the mistake of trying this out without my phone's USB cable (which was still packed away in some box) and in a loud sports bar during the first Chargers game of the season, with one eye on my screen and the other on my beer. Things didn't go so well. This morning I was able to finish up the process and get tethering working just fine. Here's what (and what NOT) to do when you root your Android phone.

Note: You WILL have to wipe your phone of all your data and apps in order to do this. Yes, that is really annoying.

First things first: fully charge your phone. Connect it to your computer and mount the SD card so you can read and write to it in Windows Explorer. Now, you're going to grab the latest stable version of the custom Android build you'll install on your device (which includes root access). Go to this listing of stable Cyanogen ROMs on your computer and download the latest one, i.e., the file with the most recent date. (Make sure it's the .zip file, not the md5sum). It will be named something like update-cm-4.0.4-signed.zip. Copy that .zip file to the root of your phone's SD card.

If you're feeling adventurous, you can try one of the experimental nightly builds, which might have more Donut in 'em--which might also not work, being experimental and all. There's also this Android ROM Build Database, which offers more options.

Now you're ready to "flash" your phone with a boot image that will let you install that file. Do exactly as this guy in this video tells you to do.

Don't do what I did and download a different version of the Recovery Flasher application. (I tried this one and it works differently than any of the instructions I was referring to, which screwed me up.) Visit http://ryebrye.com/files/flashrec.apk on your phone and download it directly to your phone, then follow the instructions in the video.

Note that this boot recovery image only works once. If you boot into Android proper (i.e., you don't hold down the Home key on startup), Android will rewrite your recovery image. Trying to get back into Cyanogen's recovery image will leave you with a big honkin' error, one that I couldn't get out of without removing my G1's battery. If you have to do this, start FlashRec again and reflash the Cyanogen image.

Once you've followed the instructions in the video (i.e., backed up your system and flashed the recovery image in FlashRec, shut down, booted into the recovery image menu by holding down the Home key during startup, wiped your system, and applied the .zip update you saved on your SD card), you're good to go. Your device will restart and prompt you for your Google login credentials.

Once my phone was up and running, immediately I headed straight to the Android Wi-Fi tether app to get internet connectivity in the barren wasteland that is my new home. There are other apps and tweaks available for root users available for exploration, and you can also further speed up, update, and back up your rooted Android device. But that's a project for tomorrow. (Thanks to Kevin at Lifehacker for being the canary in the Android-rooting coalmine.)

Thanks for the step-by-step. Rooting my G1 is on my todo, but I just haven’t had the time to sit down and search out the how-tos. Your post eliminated that step for me.

FYI, there is a way to achieve a USB tether without root using PDANet. It works really well.

chrisdaida
Sep 15 09 at 1:34 pm

Great write-up, Gina. I will be taking the Android plunge when the Hero is released by Sprint on Oct. 11. I want to root my phone immediately (before I put anything on it, since doing so deletes everything), but I have heard such great things about the Sense UI. Is there a way to root these things without losing the factory UI? Or is there a custom rooted Sense UI somewhere? I have Googled this stuff to no avail. Anybody got tips?

Jason Krellner [+9]
Sep 15 09 at 2:18 pm

Or you could wait until the Hero is released. It comes with tethering built in.

http://www.kryogenix.org/days/2009/08/28/tethering-an-android-phone-to-ubuntu-without-jailbreaking-or-installing-applications

Easy instructions on how to get it working.

Paul Howard
Sep 16 09 at 1:24 am

@Jason: Rooting your phone with Cyanogen’s mod doesn’t apply any distinct UI to your phone, but does open it up to using themes:

http://www.cyanogenmod.com/downloads/themes

I haven’t tinkered with them too much, but there are definitely Sense-ish themes to work with. Good luck!

Kevin Purdy [+4]
Sep 16 09 at 4:25 am

I did this last week. I don’t currently need to tether but did it mainly for the performance boost, which is quite noticeable.

While it is annoying to have to wipe yr phone, it’s a little less annoying if you use something like MyBackup to back everything up beforehand.

I was under the impression tethering was possible without root access using PdaNet.
Haven’t used it, tho…

Chuck Falzone
Sep 16 09 at 9:52 am

there is a way to quasi tether without rooting the device (it’s actually a proxy, but works for me), using Tetherbot: http://graha.ms/androidproxy/

Jörg Reinhardt [+2]
Sep 20 09 at 2:29 pm

How is rooting different from Jailbreaking? Both are trying to basically gain root access.

But that aside. I wish someone or some company would get Android’s stuff together. Android and DoubleTwist could become a great threat to the Zune and iPod chokehold (Ok, maybe not much on Zune, but maybe iPod). Have doubletwist be able to sync apps, have Creative Commons content, Podcasts, and more. And have Android and Android devices be what the iPhone OS is to the iPod touch.

I want Android. But only if it can become… iPod touch like, in terms of what I mentioned above.

Teslanaut [+2]
Sep 20 09 at 4:04 pm

OK, I gave it a go. It didn’t work. The phone hung up on the “new” Android splash screen (the skateboarding android). So I restored, and got back to the original OS. Then I tried it again, starting over from the beginning of the tutorial. Same result, except there seemed to be a problem with the back-up file, so I couldn’t boot into the new OS nor restore to the factory OS (SEE LAST PARAGRAPH FOR ERROR MESSAGE)

The error suggested that I repair by running
“nandroid-mobile.sh. restore” from the console. The suggestion to repair via console is great, but this is a MyTouch 3G with no physical keyboard to be able to type in console.

To make matters worse, since I can’t fully fire the phone up, I can’t mount it for mass USB storage either.

LAST PARAGRAPH – OK, I don’t know why, but get this… I tried to repeat the error I was getting during the backup process and the phone was not responding. Assuming that the battery may have drained, I plugged it in, Home/Powered up, and again selected “restore latest backup” It worked. I have no idea if it worked on a fluke or if the phone needed power to complete, but I am apparently all set now and running the original Android that shipped with the phone. As I figured this may assist someone else, I decided to proceed with posting this.

Stephen Skoutas
Sep 24 09 at 5:01 am

Does rooting the phone allow you to install apps on the external memory? I’ve already run out of space on my G1.

Brandon Amand [+1]
Sep 24 09 at 4:46 pm

One Click Root no longer works, removed as per Google’s request I think.

Teslanaut [+2]
Oct 17 09 at 11:06 pm


Comments are closed. Thanks for reading!