Complete guide to rooting and hacking the HTC Slide

UPDATE (30 May 2011): Guide is now updated with latest CyanogenMod 7.0.3 and latest corresponding Google Apps package. Also, T-Mobile finally released the official Froyo 2.2 update. Be careful though, because once you install this, the root method given below will not work! You'll need to Google the Gold Card method to root instead, which I know nothing about.

NOTE: I did not come up with this stuff myself. All credits go to the Devs who frequent the XDA forums. If you want to show your appreciation, track them down and send them a tweet or email. I just consolidated lots of information gathered from all over the place into one easy to follow guide for beginners who've never done this before.

WARNING: The method described below will WIPE your phone of all contacts, emails, messages, apps, settings, etc. If you're not prepared for this, and don't know how to back things up, you may want to stop now. It should be impossible to brick the phone with this method, but who knows... proceed at own risk! You will also void your warranty and loose any T-Mobile support once you root (although you can follow the unroot guide to go back to stock firmware). Before you start, make sure phone is fully charged, your PC is charged/plugged in, your dog is not chewing on the power cable, etc. Give yourself about an hour to get it done.

STEP 0: Check your current Android version

  1. On your phone, go to Settings -> About Phone and see the Android Version.
  2. If this is 2.2 or higher, this method will not work! So stop now and Google the Gold Card rooting method instead.
  3. If the version number is 2.1.something or below, then you should be fine, so continue below.


STEP 1: Installing the JDK (needed to install the Android SDK in Step 2):
  1. Download and install Java JDK if you don't already have it. That's the JDK (Java Development Kit), not the JRE (Java Runtime Environment). 
  2. Verify Java JDK is installed correctly by opening a command prompt (WinKey+R, cmd) and running the command javac. The output should look like this:
If instead you get a command not found error or any other output, it probably means you don't have the correct system PATH environment settings. To fix the system PATH do the following:

  1. Open Windows Explorer and search for the folder containing javac.exe. You can use the search tool, or browse through the directories manually. Mine is located in: C:\Program Files (x86)\Java\jdk1.6.0_23\bin. Copy this directory path to a Notepad window (not my path, but the one where YOU found javac.exe on YOUR computer!). Add a semi-colon (;) in front of it.
  2. Go to Start/Run, copy-paste the command control.exe sysdm.cpl,System and press enter.
  3. Go to Advanced/Environment Variables.
  4. In the System variables section of the dialog, scroll down to Path.
  5. Click on Path, and click Edit.
  6. Click inside the Variable value: text field and go all the way to the right. MAKE SURE YOU DON"T DELETE ANYTHING OR ADD ANY RANDOM CHARACTERS BY ACCIDENT!
  7. Now at the end of the Variable value: textfield, copy-paste the directory-path (together with the leading semi-colon) from the notepad window. There should be no space either left or right of the semi-colon.
  8. Click Ok, Ok, Ok to exit all the dialog windows.
  9. Go back to Step 1.2 to verify if javac now works as expected.


STEP 2: Installing the Android SDK (needed to connect to the phone via USB and issue commands):
  1. Download the Android SDK installer.
  2. Install the SDK to say c:\android.
  3. Double-click the c:\android\SDK Manager.exe file
  4. Choose to install the latest Android SDK Tools, Android SDK Platform-tools, SDK Platform, Google APIs and Usb Driver packages. Your installed packages should look something like this when done:

STEP 3: Install PDANet for Android (helps avoid any Windows USB driver issues):
  1. Download and install PDANet for Android. This may not be strictly necessary, but it can help avoid any USB driver problems that some people have reported. Feel free to uninstall and remove it after you're done.
STEP 4: Download and copy rooting files to Android SDK tools directory:
  1. Assuming you installed the Android SDK as directed, go into Windows Explorer and create a folder called root_files in c:\android\platform-tools. Then download and save the following files into the new root_files directory (exploid, flash_image, mtd0.img).
  2. It should look like this in Windows Explorer when done:

STEP 5: Download and copy rooting files to phone memory card:
  1. Connect the phone to your PC via USB cable.
  2. On the phone, go to Settings/Applications/Development and tick to enable USB Debugging.
  3. On the phone again, open the Notification area and change the USB connection to Disk Drive mode.
  4. Now go to Windows Explorer and make sure you can see your phone and browse it's files.
  5. Download the following files to the root of the phone memory card (ESPRIMG.zip, update.zip, radio_update1.zip, radio_update2.zip, radio_update3.zipupdate-cm-7.0.3-Slide-signed.zip, gapps-gb-20110307-signed.zip).
  6. It should look like this in Windows Explorer when done:

STEP 6: Prepare phone to downgrade (downgrading allows us to install unsigned images later).

NOTE: A lot of people experience problems in Step 6 because they do not enter the commands correctly, or do not check the output matches the screenshots below. To make sure the commands are correct, just copy-paste them from this blog into your command console window (right click inside the console window, click paste). HOWEVER, if you installed the Android SDK to some other directory, you'll need to modify all these commands accordingly.
  1. On the phone, while still connected via USB to your PC, open the Notifications area and change to Charge only mode.
  2. In Windows open up a command console and type the following commands one-by-one (make sure every command succeeds before proceeding, check the output for errors carefully, see screenshot below):
    1. cd c:\android\platform-tools
    2. adb push root_files/exploid /sqlite_stmt_journals
    3. adb shell
    4. cd /sqlite_stmt_journals
    5. chmod 0755 exploid
    6. ./exploid
  3. At this point, your command prompt should look exactly as follows (LEAVE IT OPEN):

  4. Now on the phone, go to Settings/Wireless & Networks and toggle Wi-Fi on and off by just touching it. So if it's already ticket, touch it once to untick it, then touch it again to tick it. If it's unticked to start with, touch it once to tick, and touch it again to untick it again. You can tick/untick it multiple times to be sure.
  5. Now go back to your open command console from before and type the following commands:
    1. ./exploid
    2. secretlol
  6. Your command console should now look like this (LEAVE IT OPEN):
  7. Now open a second command console and type the following commands:
    1. cd c:\android\platform-tools
    2. adb push root_files/flash_image /data/local
    3. adb push root_files/mtd0.img /data/local
  8. This second command console should now look like this:
  9. You can now close this second command console, we don't need it anymore (but leave the first open).
  10. Go back to the first command console and type the following:
    1. cd /data/local
    2. chmod 04755 *
    3. /data/local/flash_image misc /data/local/mtd0.img
  11. The complete command console window should look like this. Any other text anywhere in your console probably means something failed.
  12. You can now close this command console too as we're done with it. The phone now has temporary root, and we used this temp root to make a system change that lets us downgrade the phone in the next step.
STEP 7: Downgrade to the Engineering build (ESPRIMG.zip):
  1. Unplug USB and power off phone.
  2. Once off, hold the Volume Down button pressed, and while still holding it pressed, press and hold the Power button as well.
  3. The phone will boot into a white background with some green text and 3 green skateboarding androids down the bottom. We'll call this the HBOOT screen, which you can always get into using the method above.
  4. The HBOOT will scan the root of the memory card for a few files, one of which is the ESPRIMG.zip that we copied there earlier. This file contains an OLDER version of the OS, called the Engineering build. We are downgrading our phone before we can upgrade it!
  5. HBOOT will detect the ESPRIMG.zip and do a verification which takes about a minute. During this time you'll see a blue vertical bar filling up in the top-right corner of the screen.
  6. Once the verification is complete, it will ask you 'Do you want to start the update?'. Press the Volume Up key for Yes.
  7. This will start flashing the Engineering build and will take a minute or two. You'll see various colored progress bars in the top-right corner of the screen. Also take note of the warning to not power off the device during this time. Make sure your battery is full and you don't knock it out of place or anything silly like that...
  8. Once this completes, it will ask you 'Do you want to reboot device?'. Press Volume Up key for Yes.
  9. This will now reboot your phone a few times. It will take a few minutes until you're back into the graphical phone operating system (at one point it gets stuck on a screen with white background and the green round 'my' logo for what seems like two or three minutes). 
STEP 8: Removing the ESPRIMG.zip file from phone memory card:
  1. Connect the phone to the PC via USB cable again and change to Disk Drive mode.
  2. Go to Windows Explorer and delete (or rename) the ESPRIMG.zip file from the root of the memory card.We do this so it doesn't get detected every time we go to HBOOT and spend a minute doing the verification.
STEP 9: Using Clockwork Recovery console
  1. Disconnect the USB cable and reboot the phone into HBOOT mode (power off, then hold volume down key and press-hold power on key).
  2. HBOOT will scan for the ESPRIMG.zip file (and some others), then present you with 4 options: Fastboot, Recovery, Simlock and Clear Storage.
  3. Press volume down key to select Recovery, and press power key to apply.
  4. This will take you to a screen with a black background, a picture of a phone and a big red exclamation mark.
  5. Press and hold the Volume Up key, then whilst still holding Volume Up, press the Power key. This will take you to a secret yellow menu with a few options (you may also get an error like E:Can't open /cache/recovery/command, it's ok to ignore this one).
  6. Press Volume Down to scroll the list and highlight Apply sdcard:update.zip. Press the Power button to activate.
  7. This will flash the update.zip file we copied to the root of the memory card, which activates a custom tool called the Clockwork Recovery. Clockwork lets us do many things, including making full phone backups, and installing unsigned ROM images. Clockwork gets wiped every time you reset the phone. So to use it, you must always reboot into HBOOT mode, choose Recovery, activate the hidden menu and apply the update.zip as above. You will be doing this multiple times, so get used to it.
STEP 10: Upgrading the radio components:
  1. When we flashed to the Engineering build, we also downgraded to older versions of WiFi and 3G modules. We now need to patch these up to the latest versions.
  2. Go into Clockwork Recovery as described above.
  3. Use the Volume keys to highlight 'install zip from sdcard' and press the trackpad button to activate.
  4. Select 'choose zip from sdcard' and press trackpad to activate.
  5. Scroll to and select radio_update1.zip and press trackpad.
  6. Select 'yes' and press trackpad.
  7. This will take 2 or 3 seconds, then tell you to restart the phone to complete the installation.
  8. Press the back button, select 'reboot system now' and press the trackpad to restart.
  9. It will say 'Writing radio image' for about 5 seconds, then eventually go back to the graphical phone interface (you may see a screen with a green android out of a box during the restart, and it may restart a few times, just let it do it's thing).
  10. Go into Clockwork Recovery again and apply radio_update2.zip following steps 3 to 9 from above. 
  11. Go into Clockwork Recovery again and apply radio_update3.zip following steps 3 to 9 from above. 
STEP 11: Installing CyanogenMod (one of the best and most updated custom ROMs around):
  1. Go into Clockwork Recovery console again.
  2. Do a wipe data/factory reset.
  3. Do a wipe cache partition.
  4. Go to advanced and do a Wipe Dalvik Cache (if option is there).
  5. Go to advanced and do a Wipe Battery Stats (if option is there).
  6. Do an 'install zip from sdcard' and this time choose the update-cm-7.0.3-Slide-signed.zip file.
  7. Let it finish, and reboot the phone the same way as with the radio updates.
  8. Now go back into Clockwork Recovery one more time and apply the gapps-gb-20110307-signed.zip file same as the radio_updates (this installs the gmail app, calendar, market and all other standard apps that normally come with Android). Let it finish and restart the phone as before.
  9. You now have the latest CyanogenMod installed, with root, and with the latest radio modules, yay!
  10. You may need to go to Settings/Wireless and Networks and configure an APN to get 3G data working (at least that's what I have to do, but I'm overseas using Optus in Australia, so things may just work if you're still on T-Mobile).
STEP 12: Configure phone and backup using nandroid
  1. Configure your Google account settings, contacts, calendars, apps, etc.
  2. Once you're happy with the settings, go back into Clockwork Recovery.
  3. This time select nandroid, then Backup.
  4. This will do a full backup of your phone in it's current state and save it to your memory card. 
  5. If anything ever happens and you screw things up, just go back into Clockwork Recovery and select nandroid/Restore and you'll be back in business.
Well, that's about it. You now have a proper, up-to-date ROM on your aging Slide! Go ahead an install whatever apps you want and have a play around, but if you're after Adobe Flash 10.1, you're out of luck.

All credits and thanks to the original posters on XDA who came up with all this. Go check the forums and DONATE to them if you appreciate their hard work!

Comments

  1. your sir are amazing. i came here from xda cuz im new to the android scene and this help tremendously. thank you God bless

    ReplyDelete
  2. Yes, thank you. I've been at XDA for a while, but my prior phones were all Windows Mobile. This was a perfectly laid out method for flashing my first Android phone.

    Bravo!

    ReplyDelete
  3. Thank you! Instructions were incredibly easy to follow and I truly appreciate the work you put into this. Made flashing a custom rom on my wife's MT3GS a breeze for a newb like myself. She actually likes her phone now that she's running CM6.

    ReplyDelete
  4. AWESOME! After days of struggling, finally rooted thanks to you. Thanks so much for taking the time to illustrate everything perfectly step by step.

    ReplyDelete
  5. I'm getting signature verification failure on update.zip (the clockwork installation)

    ReplyDelete
  6. Ah, it helps to install the ESPRIMG correctly...

    ReplyDelete
  7. I also wanted to say thanks for this tut. Coming from an n1, this was a bit more of an experience. Finally got it done with your help though :) Me and my g/f thank you good sir.

    ReplyDelete
  8. I'm not quite sure what is meant by installing ESPRIMG correctly - Im fine all the way up to where the phone tries to look for that file. It doesn't find it and it never asks to flash the image.

    ReplyDelete
  9. Did you copy it to the root of the sdcard? That is, if you connect the phone via USB and go to Windows Explorer, you should have a file like E:\ESPRIMG.zip (where E is the drive letter of the phone).

    If you do have that, but the phone doesn't detect it and ask you to install it in the HBOOT console (the white screen with the three green skateboarding androids), then go back to Step 6 and do everything one at a time. Post back if any substep is unclear.

    ReplyDelete
  10. Richard: Thanks for your response. I did copy ESPRIMG to the sdcard. Once i go into fastboot, it doesn't find the file at all. I tried rebooting the bootloader-- But every time it doesn't find the ESPRIMG file.

    ReplyDelete
  11. At the risk of sounding silly, you preserved the .zip extension as well, right? So the file really looks like E:\ESPRIMG.zip on the SD card. And you didn't change the case of the filename or anything like that (Android is case-sensitive).

    When you get to fastboot, can you see it scan for the files? It normally shows some green text saying 'looking for ...', 'not found', 'looking for...', 'not found', etc, then brings up the 4 options to boot into Recovery, etc.

    If it doesn't detect the file at all, it may be worth trying with a different SD card if you have one, or backing up the content and doing a fresh format to FAT32... Seems a bit desperate but I don't know what else to suggest.

    If you still don't have any luck, might be worth posting on XDA (or looking through the threads there). But it seems odd that fastboot doesn't even detect the file and try to scan/verify it... must be something simple we're missing...

    ReplyDelete
  12. Thank you very much, the instructions were very detailed!

    ReplyDelete
  13. Cheers to you! Thank you for a great document! I hope you'll have the rooting doc for the G2 as well!

    ReplyDelete
  14. Great guide so far but im having problem with the adb shell command at step 6, the following commands just get repeated on the next line and dont seem to be doing what they should.

    The explanations are helpful but what is the exploid actually doing?

    Im using a htc magic (voda) with a custom Hero ROM.

    Thanks

    ReplyDelete
  15. this guy is a moderator over at xda and stole my method fucking punk

    ReplyDelete
  16. No, I'm not an xda moderator, just a new member who signed up to learn about the slide.

    And I didn't steal anyone's method. Read the post. First and second paragraph explicitly mention where the method came from and link to the xda posts. Last paragraph mentions for people to go do xda and donate to you guys for coming up with this.

    All I did was consolidate information from xda to make it easier to understand. Based on the comments it seems to have helped some people, so don't know what your problem is.

    ReplyDelete
  17. my cmd is not recognizing adb as a command, what could be causing that? your directions are clear and much better than the other posts that I have read.
    Thanks

    ReplyDelete
  18. You're probably in the wrong directory. You need to get into the c:\android\tools directory first using the 'cd' command. The adb.exe program is in there, so it will only be found if you execute the 'adb' command from there.

    There are other ways to do it too, like using the full path to adb (c:\android\tools\adb.exe shell) when you execute the command, or adding c:\android\tools to your system PATH variable, but the first method is the easiest.

    ReplyDelete
  19. No idea what I was doing wrong, but I now have root and the new ROM, thanks,, the only thing Ive noticed so far that doesnt work is the keyboards cap f/n light..other than that tops.
    Thanks for the help
    Greg

    ReplyDelete
  20. You are the man! This was by far the easiest and most thorough guides I've read.

    Thanks!

    ReplyDelete
  21. Greg, the light on the keyboard is a known issue and it's a problem with Cyanogen specifically. Nothing wrong with your phone or rooting in general.

    Thanks again Richard

    ReplyDelete
  22. Thanks for gathering all guides together! I rooted succesfully.
    Thanks to all developers too who compossed this methods.

    ReplyDelete
  23. dude i have tried every every thing to root and this is the perfect way to do it thanks man you are good explaining every detail on how to do it

    ReplyDelete
  24. everything went perfectly until step 9; my phone wont read the card when i attempt to do update.zip. what went wrong?

    ReplyDelete
  25. I'm pretty sure I do everything right up until step 6 where it says "chmod 0755 exploid (make the file we copied there executable)". When I put this into cmd it says "Unable to chmod exploid: No such file or directory". Not sure if I'm doing a previous step wrong that's causing this problem or what. If you need anymore information I can provide it

    Any help would be greatly appreciated.

    ReplyDelete
  26. when im in recovery mode and it starts to read esprimg.zip the blue bar will go all the way up and then it'll check it but it goes to the next screen and tell me the main file is older and doesnt let me hit yes or no.
    any help on this

    ReplyDelete
  27. I can't get cmd to change dir....wtf? using xp...nothing has worked

    ReplyDelete
  28. Copy-paste the exact line that you're typing to change dir here.

    My guess is you may be trying to go from say C:\whatever to D:\whatever. When you CD to a directory of a different drive, windows refuses to go there. If this is the case, you need to first type 'D:' and press enter to change to the drive. Then type 'cd whatever' to navigate to where you want.

    ReplyDelete
  29. DOPE DOPE DOPE I TRIED SO MANY OTHER TUTORIALS THIS ONE WAS THE PERFECT ONE EASY ON A MAC JUST ADD ./ IN FRONT OF SOME OF THE COMMANDS! YESSSSSSS

    ReplyDelete
  30. Thanks so much for compiling the info and writing EXCELLENT directions.

    ONE NOTE: B/c you are SO PRECISE and everything went EXACTLY as you wrote, there was one deviation that really threw me. Am putting this here for future readers.

    Step 7 you say "Once the verify is finished, it will ask you if you want to flash the image"

    Instead it asked me if I wanted to "install the update" I had no idea these were the same thing, but they are and found the other lingo on an XDA thread.

    I should have read farther along and plunged forward, and taken a stab (which would have been successful) to get into Clockwork Recovery, but got flummoxed. Then retracing steps made me even more confused b/c I tried to reapply exploid, but it had already been applied so this wasn't necessary and got exploid hung up in terminal.

    BTW: I'm also on a mac and had no trouble - I simply added ./ in front of the terminal commands that needed to speak to the Mac and run adb.

    Thanks again!

    ReplyDelete
  31. Hi Amanda,

    I wasn't sure what was going wrong in your earlier comments either, but glad you worked it out!

    Sorry for the confusion in my write-up. I did it retrospectively so couldn't remember the exact prompts.

    I've updated step 7 as per your feedback though, so hopefully this will spare the next person some headaches.

    Thanks for contributing :)

    ReplyDelete
  32. cant get passed step 6 chmod 0755 exploid (make the file we copied there executable)it says no such file or directory anyone help?

    ReplyDelete
  33. I'm pretty sure I do everything right up until step 6 where it says "chmod 0755 exploid (make the file we copied there executable)". When I put this into cmd it says "Unable to chmod exploid: No such file or directory". Not sure if I'm doing a previous step wrong that's causing this problem or what. If you need anymore information I can provide it. Thanks.

    ReplyDelete
  34. Trace back to the beginning of step 6 and make sure every command is successful. You can type ls and hit enter to get a list of files in sqlite_stmt_journals. Exploid should be in that list.

    ReplyDelete
  35. Hi, I'm a complete newbie and I thought I was pretty good all until I got to step 6. Under the second bullet, it fails to recognize 'adb' as an internal or external command, program, or batch file but I thought I downloaded everything right? Please help me. Thanks!

    ReplyDelete
  36. It means you're not in the right directory. You need to 'cd' (change directory) to wherever the file adb.exe is. Look for ir in windows explorer, make sure it's where you think it is, then go back to the command prompt and 'cd' into that directory before running the 'adb' command.

    ReplyDelete
  37. Yeah about that...I don't exactly see or remember a separate file adb.exe. May that have been a problem on my end when downloading? After downloading AndroidSDK and installing the packages as shown in the pic above, it asked me to close and resart adb something because there was an update. I said yes and it said done. I still have never seen the separate file adb.exe though. What am I doing wrong?

    ReplyDelete
  38. Okay you were right lol. I found it just sitting somewhere and I didn't even know it! But when i type in adb shell, it says no device found.

    ReplyDelete
  39. That means it's not detecting the phone. Hve you connected phone to PC via USB? Is phone on? Did you turn on USB debugging mode on the phone?Did you install the USB drivers with the Android SDK like in the picture? If you did all that, try installing PDAnet and then try again.

    ReplyDelete
  40. Hey it's still me, a little message popped up and told me to terminate the adb.exe process on the computer before connecting PdaNet. I do not think that seems right?

    ReplyDelete
  41. Sounds like adb is still running while you're installing pdanet. It should be safe to terminate it. Or just restart your computer, install pdanet, connect your phone, then do all the stuff in step 6.

    ReplyDelete
  42. Actually I already had pdanet installed so I just decided to disconnect it and connect it again and that is when the message popped up. In spite of, I ran the command again and it worked and showed a $ sign. then the next step with the journals at the end said not found. I'm sorry I am going through almost every step like this.

    ReplyDelete
  43. It sounds like you did not copy the exploid file to the phone, either that or after connecting to the phone you didn't 'cd' into the right directory before running ./exploid.

    Go through each command one at a time and make sure each completes successfully. Read carefully if there are any warnings or errors before going to the next command.

    Anyways, I'm off for today, best of luck!

    ReplyDelete
  44. I finally figured out ALL of my careless mistakes and I'M ROOTED!!! Thanks so much for the help because I was totally just going to stop and give up, but now I have CM6 and I'm so excited!! Thanks so much and have a great day off!

    ReplyDelete
  45. Cool, enjoy man. Remember to keep an eye out on this post or XDA for an update to CM6.1, which is almost out already (based on Android 2.2.1 with a few performance tweaks and other enhancements).

    ReplyDelete
  46. Hey I appreciate the help earlier. It got me through to the finished product. but my phone has been turning on (since I applied the cm6.0) for about two hours. It just shows the opening screen stating the brand and carrier of the phone. How long should I wait? Any one who has experienced this tell me how long they waited patiently? Any help appreciated. Thanks

    ReplyDelete
  47. I got to here:
    /data/local/flash_image misc /data/local/mtd0.img (prep the phone to flash the ENG build)
    Step 7:
    Did step 6 twice and permission denied.Please Help.

    ReplyDelete
  48. It's definitely something wrong with step 6. Are you sure you executed every single command, and every command executed successfully? Were there any warnings or errors? Re-do step 6, one command at a time, and pay close attention to the screen.

    I'll try to post an update soon with an actual screenshot of how everything looks when typed on a command window.

    ReplyDelete
  49. Can someone tell me how to revert back to the normal ROM?

    I installed the Cyano... 6.0 and don't really like it.

    ReplyDelete
  50. This seems to be the easiest way to unroot and go back to stock:

    http://forum.xda-developers.com/showthread.php?t=705345

    Anything in particular you didn't like about CM? It can be customized quite extensively.

    ReplyDelete
  51. Richard thanks for replying!!!!

    The whole look and feel of it really. I just purchased the phone last friday and have been having issues rooting it (since then, yes 5 days *sigh*). I finally got to do so and installed the Cyanogen rom but I guess after fidling with the phone for 5 days I got used to the original look and feel. I guess the only thing I really want a ROM to do is get rid of the locked items any suggestions?

    ReplyDelete
  52. There are lots of different ROMs on the XDA forums, you can try messing around with them to see which you like best.

    I tend to use CM because it has a very strong developer backing, and is available on many different phones. It's like the gold-standard of hacked Android ROMs. The quality of other ROMs made on a whim by procrastinating developers may vary...

    I'd say give CM a chance. Play around with changing the look. It can be customized extensively. You can also download different themes which will change the look even more. And it has live wallpapers, which can be pretty cool.

    I'd also suggest sticking with it for when Gingerbread (2.3) comes out. I'm sure the CM team will release an update to use all the new features, and this should be easy to apply (whereas T-Mobile seems to have abandoned the Slide).

    ReplyDelete
  53. CM/Froyo also has numerous performance/stability/battery optimizations that may not seem as obvious as the look and feel, but add up to an overall better experience.

    ReplyDelete
  54. Gingerbread?!?!? Love the name...

    I follow your advice and stick with it for a few days and see if I get used it. For now, it just seems off as I was getting used to the original ROM.

    Thanks a MILLION for replying and your advice Richard =D

    For some odd reason, people have not been replying in other forums with root assistance (hence why the 5 days).

    ReplyDelete
  55. Yeah, took me over two weeks of trying and giving up over and over again until I finally got mine rooted. XDA is a great place, but everyone assumes you're a developer and know all the lingo and the 143 'implied' steps.

    ReplyDelete
  56. EXACTLY! And their noob steps... I guess those are meant for noob developers not noob users =/

    I bumped into this thread a few days to late =( But bookmarking it for future reference!

    ReplyDelete
  57. I got stuck on step 6

    adb push root/flash_image /data/local (moves a file used to flash the ENG build later)

    it gave an error that the flash_image couldn't be moved because it does not exist, but when I check the file is there, dont understand why it is not recognized

    ReplyDelete
  58. Sounds like a path problem. Double-check the file flash_image is in a directory called root, under the android\sdk\tools directory. That is, your cmd prompt should look like this

    c:\android\sdk\tools>adb push root/flash_image /data/local

    And the flash_image should be located at:

    c:\android\sdk\tools\root\flash_image

    ReplyDelete
  59. flash_image is located under

    c:\android\tools\root

    there is no

    c:\android\sdk\tools\root

    Should I create a folder called sdk under android folder? and move flash_image there?

    Thank you

    ReplyDelete
  60. Thanks men it worked the only thing I changed was that I added .htm as the extention for flash_image

    instead of

    adb push root/flash_image /data/local

    I used

    adb push root/flash_image.htm /data/local

    THANKS

    ReplyDelete
  61. Thanks for the detailed instructions. Keep up the great work.

    ReplyDelete
  62. Thanks for the great details and work. I also ran into the CHMOD denied problem in Step 6 and that was because I failed to add a space before the /data command. Other than that, this was outstanding and I have it successfully rooted.

    ReplyDelete
  63. Great detailed instructions. A lot of knowledge was assumed by the XDA thread and this clears all that up.

    Did the stock ROM for the Slide have flash?

    ReplyDelete
  64. Thank you times 1,000,000!

    ReplyDelete
  65. my adb.exe file is in the platform tools folder which has different files than the tools folder and is not where i put all the files u had me download and stick in the tools folder....will this be a problem? do i just move those files to the tools folder?

    ReplyDelete
  66. ok i got past that and am at the chmod part and ive re-read thru everything and nothing failed and its still saying unable to chmod exploid no such file or directory

    ReplyDelete
  67. You're a God send, I've been looking around for ways to root and the guides are OK but you have to understand what they're talking about to begin with. With this guide, all I had to do was follow instructions, and although I did run into a few hang ups, I was able to figure it out pretty easily. Thanks again.

    ReplyDelete
  68. Thank you sir!!!! Now rooted on CM6.1

    ReplyDelete
  69. I use this phone in mexico, with telcel, if I install CyanogenMod 6.1.0 will my phone be locked again or it will continue unlocked ?

    ReplyDelete
  70. ok about to bust the phone and pc i have done everything perfect 10 times over on chmod 0755 exploid it says not permitted the file is there cuz i temp rooted with z4root to make sure it was there can someone plz help me

    ReplyDelete
  71. hi, my computer cant find the adb.exe file

    ReplyDelete
  72. the adb.exe is prolly in the sdk\platform-tools just copy everything in there and place in sdk\tools ....
    can someone please help me with the chmod 0755 exploid it says not permitted plz help

    ReplyDelete
  73. CM 6.1.0 leaves the phone unlocked.

    ReplyDelete
  74. This comment has been removed by the author.

    ReplyDelete
  75. I could have used instructions on where to find ADB. I had to download a different one and extract it to c:android\tools for it to work.

    I also would have like to have some way to backup and restore messages and apps as losing those sucked. Now I'm on CM 6.1 I'm going to use Titanium backup from now on though.

    ReplyDelete
  76. cd /sqlite_stmt_journals

    it keeps saying directory not found.
    its seems to have done everything right untill this point.
    thanks for this detailed explanation

    ReplyDelete
  77. What happened when you did adb push root/exploid /sqlite_stmt_journals?

    Maybe mistyped the directory?

    ReplyDelete
  78. Aside from creating a "root" folder in the c:\Android\tools directory I have done everything exactly as you have instructed. No matter how many times I uninstall/re-install everything I keep getting this when I command

    C:\Android\tools\>adb push exploid /sqlite_stmt_journals
    failed to copy 'exploid' to '/sqlite_stmt_journals': Permission denied

    I have installed SDK properly. My phone settings are good. All my drivers are good. I did the PDANet and HTC sync thing. I cannot think of anything to resolve this. I have also been over at XDA and followed the "noob guide" and followed the "UnLocker guide" but nothing will get me passed this Permission denied. Any advise?

    ReplyDelete
  79. JT, when you open your command prompt, open it by right clicking on it and then left clicking on "run as administrator" to open it, not sure if this is your problem, but try it.

    ReplyDelete
  80. I figured it out. I was trying to re-run exploid for some reason. Anyways I am now rockin the latest Cyanogen. Thanks for the help and the great instructions!

    ReplyDelete
  81. Glad you worked it out. Merry Christmas!

    ReplyDelete
  82. when I install Android SDK all it has in it is android tools revision 8, I have been trying to add everything listed in your pic but nothing will download, my internet is fine through pda net, but nothing will download, i'm not sure how to continue, any help would be good been at this for hours

    ReplyDelete
  83. I get to step six and then problems, I'm having this same issue as someone else,

    my adb.exe file is in the platform tools folder which has different files than the tools folder and is not where i put all the files u had me download and stick in the tools folder....will this be a problem? do i just move those files to the tools folder?

    I copied the three files from tool/root to this folder and ran the command, it said it on a port and then said device not connected, i have pda net running and debugging on, any ideas.

    ReplyDelete
  84. my newest issue i can get to where i finally execute exploid.bin , then it says to turn on and off wi fi a few times, then run again, i do this and it never asks for a password, do i let it connect to a wi fi network around me or just wi fi on, it won't ask me for password just $ symbol instead of # any help

    ReplyDelete
  85. Did it no problem! Thanks!

    ReplyDelete
  86. Work like a charm. Thanks very much.
    I think there is litte missing step between 6 and 7.
    I call it 6a.
    6a. Remove USB cable before you shutdown and reboot the machine.

    ReplyDelete
  87. For the life of me I cannot get ADB to work, says it is not a command....I have followed these steps MULTIPLE times!!!! Which SDK do I choose? The zip or the installer? The installer wont ever install, says I need the JDK, which I have installed like 4 times now and still says its not detected.....so frustrated here - please help!!! and nowhere on my computer is there an adb.exe !!!!!

    ReplyDelete
  88. Ok update, got the ADB problem fixed - have to install the platform tools - you don't have that mentioned anywhere in this.....so now all the directory commands are going to change - anyone help with that????

    ReplyDelete
  89. Ok so umm phone says that there isnt an image inside ESPRIMG.zip - so what now?

    ReplyDelete
  90. I think that file is corrupt or something, even Windows cannot open that .zip file

    ReplyDelete
  91. Sounds like you have some path problems if the installer can't find the jdk. Need to get those fixed before you can correctly install the android sdk.

    ReplyDelete
  92. Got it!!! If you have a lot of issues, reformat your SD card to a FAT32 format!!!!! This fixed everything!!! Thanks!!!

    ReplyDelete
  93. Thanks so very much. Very clear, very simple. First root experience was a breeze.

    ReplyDelete
  94. touch decision I finally got this rooted and love the pros that come along with this, but the sense ui to me is to nice of an interface to lose, plus I lose certain button control, swype, and the genius button support, I think I'm going to go back, does anyone know if sense expresso can be installed on a rooted slide??

    ReplyDelete
  95. Well Cyanogenmod is up and running for like 12 hours now......anyone have the Wifi issue?? I cannot connect to any access points - seems to be a few other issues being tracked in the forums - so far this is the only issue i have/see. I also just flashed to 6.1.1 which came out on the 15th, so this tutorial needs to be updated for that, used ROM Manager and didn't have to wipe or anything, just flashed right over and kept all my settings. I did DL Swype - you can find it.......however it won't function, says the screen size is wrong or something so still stuck on Android keyboard for now. Never cared for the Genius button anyway - thought that it was lame bloatware.

    ReplyDelete
  96. Worked like a charm, truly amazing. I am new to android mods, and this took about an hour. I have never been happier with my MT3GS! Thanks!

    ReplyDelete
  97. Thanks so much for this. Unfortunately, I'm having a serious problem and really need some help.

    I followed all the steps as outlined and successfully installed 6.1.0. It's been working fantastically for half a week.

    Yesterday, I put the phone into airplane mode. When I took it out of that I could not make any phone call. When I try the phone immediately shows the "Call ended" screen. I can still make and receive texts.

    I just verified that the phone is using radio 7.09.35.10 and wiped everything and reinstalled 6.1.0. There was no change.

    Does anyone have an idea of what might be wrong? I would really appreciate any help whatsoever. Thank you so much.

    ReplyDelete
  98. Thank you so much sir...this guide was the easiest. The only thing i didn't know to do was format the sd card as a FAT32..i think this small step should be included in this/future guides...again, thank you..

    ReplyDelete
  99. Amazing tutorial.

    Do you think you could make an unrooting tutorial? I tried doing this: http://forum.xda-developers.com/showthread.php?t=705345, but it's not very noob friendly.

    ReplyDelete
  100. This comment has been removed by the author.

    ReplyDelete
  101. I've re-written the guide from scratch with more detailed instructions and screenshots. Anyone who's still having problems can look this over to see if it helps.

    I've also added an unrooting guide for going back to stock :)

    ReplyDelete
  102. I wish I had found this before. I wouldn't loose that much time. Anyway, finally I found this blog. And that's it. Thank you...

    ReplyDelete
  103. Even better than the previous guide!

    Do you think you could make a guide on how to fix the wifi issue?

    http://forum.xda-developers.com/showthread.php?t=896963&page=4

    ReplyDelete
  104. Perfect...after trying the BullSH*T XDA developers directions I was extremely frustrated....your directions were spot on......THANKYOU.....BRAVO my friend!!!!!

    ReplyDelete
  105. Great job just went through and now have 2.2 installed on my slide! I have searched on xda forums and various other places and no place had a comprehensive guide like this. YOU ROCK!

    ReplyDelete
  106. I cant even get the path variable changed. There is no "path" under user variable. I made up a new one and I still cant run javac. I am using windows 7.

    ReplyDelete
  107. Just wanted to say thanks. You make a pretty complicated process easy to follow for a noob like me. XDA might have come up with all this but you made it possible to be understood!!

    ~Tink

    ReplyDelete
  108. Richard,
    I finally got JDK to work and had my hopes of getting this thing rooted.... no joy for me. At step six when I put "adb push root_files/exploid /sqlite_stmt_journals" the result I get is adb is not recognized as an internal or external command, operabel program or batch file.
    Please end this frustration....

    ReplyDelete
  109. You are either not in the correct directory when running the ADB push command, or you have not installed the Android SDK and required packages correctly.

    Is there an adb.exe file in your c:\android\tools folder?

    ReplyDelete
  110. my phone is stuck on the power up screen... been so for quite awhile. this happened after installing cm6 can anyone help me... did i brick my phone?

    ReplyDelete
  111. It's not really possible to brick it. Can you still get into Clockwork? If so, go in and re-install CyanogenMod by following the instructions from STEP 11. Make sure to do all the Wipe operations listed, otherwise you may get corruptions which could lead to the hang on boot.

    ReplyDelete
  112. Hi I am stuck where you type "adb push root_files/exploid/sqlite_stmt_journals". When I type this and press enter in my tools directory on cmd prompt, and all I get is a list of commands to use with adb...
    HELP!!! I really want to root :(

    ReplyDelete
  113. Umm scratch that I figured out I wasn't putting a space in the correct spot. Now to my next problem, when I get to the HBOOT screen on my phone it doesn't ask if I want to update... just kinda sits there. HEEEELLLLPP

    ReplyDelete
  114. you did a good job at combining and simplifying what everyone else put together. thanks. but before I get started I only want to root my phone I am obviously a noob and only want to root my phone so I can use my phone to wifi tether with my ipod touch. so would I only do the 1st steps?

    ReplyDelete
  115. ok... so if i root my phone do I HAVE to flash a new rom? i hope not. I like what i have and would really like to just turn it on like normal.

    ReplyDelete
  116. I need help! I can't even install the Java JDK, can someone please help me! i can't find it! I'm getting frustrated!!

    ReplyDelete
  117. I have installed things exactly as stated above, but there is still no adb.exe in the tools folder. I can't imagine how I could've installed incorrectly. I mean, you just install... can't help that adb somehow never made it in there.

    Also, the javac thing doesn't work, and the link to how to change the path doesn't say anything about how to do it on Windows 7, but I found my way to it. What I can't figure out is how do you determine what to put in place of the darn thing. What version of what?

    So with it not finding an adb command, and no way to figure out what path to add, I'm absolutely stuck.

    ReplyDelete
  118. Above I typed the word "version" in chevrons... it should've read "how do you determine what to put in place of the darn 'version' thing." with chevrons in the place of apostrophes.

    ReplyDelete
  119. At end of step 10. Typed the last command and got:
    "/data/local/flash_image: permission denied"

    What went wrong?

    ReplyDelete
  120. Great post, just finished it and everything worked without an issue. Thanks!

    ReplyDelete
  121. Just finished this, had several problems but mostly because I'm running Windows Vista 64bit - had to get my phone to be recognized first - after that... everything went smoothly.

    If anyone else runs into the error where device is not found in step 6 (and you're running vista x64)make sure you have the latest drivers for the phone. When you run the device manager it actually says Mytouch 3G Slide underneath the Android USB Devices... For me it required actually having to install the HTC sync update from htc.com, connecting my phone and letting them install the 4 updates. After that if you get the error that device is offline try using a different cable to connect it to the PC.

    Also, if you're running the 64bit Vista you have to download the drivers for the 32bit JDK. The Android SDK doesn't recognize the 64bit drivers.

    One last thing, the ADB is not in the /tools/ folder in the new SDK. It is located in the /platform-tools/. Just grab the contents of the /platform-tools/ folder and copy it into /tools/ you can do that with the cmd prompt or you can do it physically with the file structure.

    ReplyDelete
  122. Thank you very much dude.!!! You have been so detailed, nobody in the web has make a tutorial like this one.!!! This is the best that I have ever seen. So you helped me to could root my mytouch slide,I was trying and struggling since a lot of time, but I couldn't. But with this tutorial I could. Thanks, Thankyou very much.!!! God Bless You Man..!! Yay Im so happy.!!! :) :) :) =D :-D

    ReplyDelete
  123. Whew...Just got finished rooting my phone using these directions...Awesome. Got Gingerbread 2.3.2 using the latest radio update.

    For those that are having issues with the adb push. You may want to look in "android/android-sdk-windows/platform-tools" instead of "android/SDK/tools"...But otherwise follow the directions exactly.

    If you are NOT getting the "do you want to start the update" after performing the ESPRIMG.zip check, then you most likely have the wrong ESPRIMG.zip on your SDcard (like I did, whoops...)

    In most cases, if something didn't work, I just redownloaded the file and replaced it on my SD card.

    a little less than an hour to root and I made A LOT of mistakes without bricking my phone.

    Thanks for this...made my life easier.

    Here is a link for the newest ROMS, radio updates, and some sweet must have installs after rooting: http://forum.xda-developers.com/showthread.php?s=b2e99166cbe6abb10ed5b66fef0cc20a&t=924793

    ReplyDelete
  124. What steps do I do/omit if I just want to root without installing a custom rom? Also, is it possible to update the radio without the custom rom? Thanks, Bill

    ReplyDelete
  125. Im having the same problem Ross was having and he never got an answer that I could see. I run "adb shell" and instead of getting the $, I get a #. Anything I type after that is just repeated and then another # prompt. Even if i type jibberish, nothing ever changes but a repeated message.

    Ive tried using different methods from different sites but all seem to require running "adb shell" and I get the same problem each time. Whats wrong!?!?

    ReplyDelete
  126. i am having huge issues and i KNOW i am doing everything correctly....the adb file is not there and there have been updates for all the files in the SDK please if you can update this tutorial with new pics and the new files...

    ReplyDelete
  127. ok so im still having problems i dont know whats wrong but i have found the adb file and when i try to push root files and so on it says can find device but when i check drivers it shows MT3GS i even tried downloading PDAnet but that doesnt recognize that the MT3GS is there either can someone helpppppppppp

    ReplyDelete
  128. I've added a download link to the newly released radio update. Might be work downloading and applying this if you've already rooted. Users are reporting significant performance improvements with this!

    Also, CM7 with Gingerbread (2.3) is currently available as a dev release. I haven't updated this guide as I wouldn't recommend using this until it goes at least RC. Otherwise you risk running into minor to major bugs or inconveniences, which is really not worth it unless you like tinkering with flashing different roms on a daily basis.

    I'll update the guide when CM7 goes stable.

    ReplyDelete
  129. If I want to install the 2.2 for the Slide (CR_Mod_2.13.531.1_OTA.zip) on a stock unrooted Slide, how would I modify the procedure above? The CR_Mod_2.13.531.1_OTA.zip is 149MB in size. Which files above does it substitute for?

    ReplyDelete
  130. Your instructions are extremely clear and understandable! Only workaround required for me was that adb.exe was in the folder "platform-tools" after the android sdk install, not in "tools", so I had to copy all of the files in platform-tools into tools before running adb first. Everything else worked out smoothly! Thanks a lot for this guide, much appreciated. Running CM6 right now on my slide! :)

    ReplyDelete
  131. > Anonymous said...
    > Im having the same problem Ross was having ...
    > I run "adb shell" and instead of getting the
    > $, I get a #.

    Your phone is already rooted, at least temporarily. (The $ is the shell (command) prompt for a regular (non-root) user, while the # is the shell prompt for the root user.)

    ReplyDelete
  132. I am stock on step 2 Verify Java JDK is installed correctly.. I tried to set the correct path, but does not seam to work for me.. I am running on Windows 7 (64 Home )

    ReplyDelete
  133. Nothing happens after I put ./exploid the "#" apears again if i click enter help

    ReplyDelete
  134. The # means you have temporary root, i.e. the exploid did what it was supposed to do. Try going to the next step and continuing...

    ReplyDelete
  135. update.zip file does not work it says that installation is aborted and i restart and the ClockWork Recovery option does not appear on my screen

    ReplyDelete
  136. From original post: "So to use it, you must always reboot into HBOOT mode, choose Recovery, activate the hidden menu and apply the update.zip as above."....what do you mean by activate the hidden menu?...I've been having problems saying that the installation is aborted, so I restarted my phone and tried recovery and I apply the Update saying at the end of the installation that was aborted and I do not get any hidden menu. HELP!!!

    ReplyDelete
  137. I have installed the jdk from step one and confirmed the path is correct because when I type "javac" in the command prompt, I get the correct output.

    However, moving on the step two, the SDK installer refuses to accept that I do indeed have a jdk installed.

    What am I missing?

    ReplyDelete
  138. A google search of "sdk installer doesn't recognize jdk" returned this fix, which worked perfectly:

    "Press back when you get the notification and then next. This time it will find the JDK."

    It worked perfectly - don't know why, but I thought I would pass it along.

    ReplyDelete
  139. These instructions were perfect! Thank you so much for taking the time to create this. Its like I have an all new phone.

    ReplyDelete
  140. I having problems with step 6

    I had completed the first half of step 6 up to open the second command box, I got distracted when my son called and I thought I messed something up so I decided to start over. That was a mistake. Now every time I type adb push root_files/exploid/sqlite_stmt_journals I get a permission denied message. I worked once but not now. What do I do?

    ReplyDelete
  141. This comment has been removed by a blog administrator.

    ReplyDelete
  142. WOW...This was awesome...1 hour and done. Need to sticky this to the XDA website, or just put a pointer to this link...awesome, and thank you!

    ReplyDelete
  143. will this work if i updated to the 1.35.531 firmware??

    ReplyDelete
  144. Everything worked fine until I entered the command at step 6.10.3

    /data/local/flash_image misc /data/local/mtd0.img

    The following error gets returned...

    mtd: MEMGETBADBLOCK returned 1 at 0x00000000 (errno=0)
    mtd: read all-zero block at 0x00020000; skipping
    mtd: not writing bad block at 0x00000000
    error writing misc: No space left on device

    Thoughts on what to do about this?

    ReplyDelete
  145. Phone is possibly full. Delete some apps and try again.

    ReplyDelete
  146. ok still not sure if i actually have the ba@@s to root it..lol ... on step 6.2 i type in chmod 0755 exploid, it says unable to chmod exploid: no such file or directory... the only difference is instead of c:/a android, i installed in a sub folder in the user folder... could this be the problem?

    ReplyDelete
  147. It doesn't really matter where you install the Android SDK, as long as you know what you're doing and modify all the commands accordingly to use the correct path. So if you installed your's in c:\users\johndoe\android, then in 6.2 you would have to type cd c:\users\johndoe\android\platform-tools...

    ReplyDelete
  148. I must admit, I think I love you!! Thanks for your help!

    ReplyDelete
  149. wow.. i did it... it all worked...wow.... man i was so intimidated, but it worked.... thank you so much man...

    ReplyDelete
  150. actually one more question, can i delete the .zip files from the root dir in the sd card now?

    ReplyDelete
  151. Yes, you can delete all the zip files from the root of the sdcard except for update.zip. You should keep update.zip as it's the only way to get into Clockwork Recovery, and you will need to do this to update to latest CyanogenMod version, etc.

    Enjoy your new phone!

    ReplyDelete
  152. I made it through everything exactly as you said, up untill step 6-10 /data/local/flash_image misc /data/local/mtd0.img it says permission denied. Any idea why this would happen?

    ReplyDelete
  153. just a note from last night...you may want to add an area for the latest google apps... the apps apk is older. updated link is http://wiki.cyanogenmod.com/index.php?title=Latest_Version/Google_Apps.

    ReplyDelete
  154. I did it! Rooted and loving Gingerbread so far, even though I'm not even scratching the surface of its capabilities. Thanks Richard, you made this endless wait for Froyo seem like I wasted time noot being rooted.

    ReplyDelete
  155. so here is where I'm stuck, when I type
    chmod 0755 exploid

    It says "unable to chmod exploid: no such file or directory"

    Any help on what I"m doing wrong? Thanks

    ReplyDelete
  156. one more thing, is there anyway to do a full back up so that when I've rooted it I can get my phone back to the way it was (contacts, etc?) Sorry for the noob questions. Thanks

    ReplyDelete
  157. Great guide, thank you! Now I just gotta figure out how to actually *use* Gingerbread...

    The only error I'd mention (on behalf of technically-nervous people who need everything to exactly match descriptions) is that in Step 10 #5, it says "radio_upgrade1.zip" but should be "radio_update1.zip"

    ReplyDelete
  158. Thank you, thank you, thank you... a billion times thank you. You are a god among men and deserve to have your vice of choice lavished upon you for the rest of eternity.

    ReplyDelete
  159. im anonymous because im an idiot. lol. i am stuck! i know this is extremely straightforward but in step 2 when i type adb shell i get the # sign and not the $ sign..why!!! i hope these posts are still read..crossing my fingers

    ReplyDelete
  160. I made it to halfway through step 11 after installing cm-7.0.0-RC2-Slide-signed.zip. When I reboot, I am stuck on the cyanogen mod 7 splash screen for like 15 min....is that right?

    ReplyDelete
  161. Note 1: sdcard must be formatted in fat32, or HBOOT will not be able to read ESPRIMG.zip from sdcard. The phone (MT3GS) allows for user to format from the phone (Settings > Unmount SD; Settings > Format SD Card > follow prompts), but this option will format the sdcard to fat16 not fat32.

    Note 2: The wifi toggle is not necessary. I am not sure if it was once necessary or not. However, it seemed superstitious rather than functional, so I skipped toggling the wifi and still obtained root.

    ReplyDelete
  162. others may have figured all this out, but you have BY FAR the best explanation on how to do the job! It went flawless on my end...just have to figure out how to remove this crappy T-Mobile boot screen now :-P should be a cakewalk!

    ReplyDelete

Post a Comment

Popular posts from this blog

Wkhtmltopdf font and sizing issues

Import Google Contacts to Nokia PC Suite

Can't delete last blank page from Word