I am listing three different rooting procedures here. The first procedure is geared towards those who only want to remove bloatware, use apps that require root, etc. The second procedure is for anyone who plans on flashing modifications like ROMs. The third procedure is for Froyo users who want to install the latest EXT4 compatible ROMs. Procedure 1 and 2 work for both Eclair and Froyo. Procedure 3 works only for Froyo.
Procedure 1: for those who want root access only and will not install a ROM, kernel, theme, etc.
1. Download z4root by RyanZA.
2. Run the app on your phone and follow its instructions to gain root access.
If the app is not working, you may need to reboot or battery pull and try again.
Some users have had better luck by switching to the "Home" launcher and removing the SD card, then running z4root.
If after many attempts and trying the tips above you still cannot gain root access, try the procedure below.
Thanks to brandonc for posting about z4root
Procedure 2: for those who want root access and the ability to flash ROMs, kernels, themes, etc. using ClockworkMod2
Do not expect this to work the first, second or even third time you try it. It is not uncommon for this procedure to fail multiple times before working. There are many variables involved and you may need to have a lot of patience while you go through the trial and error process of getting this to work. If at first you don't succeed...
1. Download and install the appropriate drivers for your Windows system:
32-bit drivers
64-bit drivers
2. Download one.click.root.exploitv2.5.5.zip and extract it to a folder on your Windows desktop.
3. On your phone, push MENU, then select Applications > Development, then enable USB debugging and connect your phone to your computer via USB.
Credit for picture goes to Ahmgsk
The type of USB cord and the specific USB computer port can make or break your ability to successfully root. If you are getting errors in the command prompt during step 4, trying swapping USB cables and/or switching USB ports (even the USB cord that came with the phone can cause problems!).
4. Now double click "run.bat" in the folder from Step 2.
If the command prompt asks you to restart adb, you need to go into Windows Task Manager (ctrl-alt-del on your keyboard) and end adb in the process tab, then go into the folder from Step 2 and double-click on the "adb" file to restart adb.
If the command prompt says "device not connected", disconnect the phone and reboot it, turn debugging mode back on, reconnect the phone via USB, and rerun the "run.bat" file again. If you're still getting "device not connected", try repeating these steps one at a time or in a different order, for example just kill adb and rerun "run.bat" or only reboot the phone and then rerun "run.bat".
Procedure 3: for those who want root access and the ability to flash EXT4 ROMs, kernels, themes, etc. using ClockworkMod3
A new thread has been created for this procedure - go here for the complete instructions.
After Rooting
An easy way to confirm that the rooting process was successful is to download a free app called Titanium Backup from the Market - upon startup the app will tell you if you have root access. If a "Superuser" pop-up window appears when you start Titanium Backup, push "Allow".
What is Superuser? It is an app that was installed when you rooted. Anytime there is a request to modify a low-level file or folder on your phone, Superuser will let you know and give you the chance to confirm or deny it access. This is a safety measure. If you happen to download a malicious app, Superuser will stop it from modifying low-level data and notify you. If an app you trust is requesting root access, just check the "Always Allow" box and it won't ask you again.
Your phone is rooted, now what? If you used Procedure 2 or 3, then just make a backup of your phone using Clockwork and you're ready to start flashing!
Procedure 1: for those who want root access only and will not install a ROM, kernel, theme, etc.
1. Download z4root by RyanZA.
2. Run the app on your phone and follow its instructions to gain root access.
If the app is not working, you may need to reboot or battery pull and try again.
Some users have had better luck by switching to the "Home" launcher and removing the SD card, then running z4root.
If after many attempts and trying the tips above you still cannot gain root access, try the procedure below.
Thanks to brandonc for posting about z4root
Procedure 2: for those who want root access and the ability to flash ROMs, kernels, themes, etc. using ClockworkMod2
Do not expect this to work the first, second or even third time you try it. It is not uncommon for this procedure to fail multiple times before working. There are many variables involved and you may need to have a lot of patience while you go through the trial and error process of getting this to work. If at first you don't succeed...
1. Download and install the appropriate drivers for your Windows system:
32-bit drivers
64-bit drivers
2. Download one.click.root.exploitv2.5.5.zip and extract it to a folder on your Windows desktop.
3. On your phone, push MENU, then select Applications > Development, then enable USB debugging and connect your phone to your computer via USB.

Credit for picture goes to Ahmgsk
The type of USB cord and the specific USB computer port can make or break your ability to successfully root. If you are getting errors in the command prompt during step 4, trying swapping USB cables and/or switching USB ports (even the USB cord that came with the phone can cause problems!).
4. Now double click "run.bat" in the folder from Step 2.
If the command prompt asks you to restart adb, you need to go into Windows Task Manager (ctrl-alt-del on your keyboard) and end adb in the process tab, then go into the folder from Step 2 and double-click on the "adb" file to restart adb.
If the command prompt says "device not connected", disconnect the phone and reboot it, turn debugging mode back on, reconnect the phone via USB, and rerun the "run.bat" file again. If you're still getting "device not connected", try repeating these steps one at a time or in a different order, for example just kill adb and rerun "run.bat" or only reboot the phone and then rerun "run.bat".
Procedure 3: for those who want root access and the ability to flash EXT4 ROMs, kernels, themes, etc. using ClockworkMod3
A new thread has been created for this procedure - go here for the complete instructions.
After Rooting
An easy way to confirm that the rooting process was successful is to download a free app called Titanium Backup from the Market - upon startup the app will tell you if you have root access. If a "Superuser" pop-up window appears when you start Titanium Backup, push "Allow".
What is Superuser? It is an app that was installed when you rooted. Anytime there is a request to modify a low-level file or folder on your phone, Superuser will let you know and give you the chance to confirm or deny it access. This is a safety measure. If you happen to download a malicious app, Superuser will stop it from modifying low-level data and notify you. If an app you trust is requesting root access, just check the "Always Allow" box and it won't ask you again.
Your phone is rooted, now what? If you used Procedure 2 or 3, then just make a backup of your phone using Clockwork and you're ready to start flashing!
Last edited: