Root your myTouch 3G Slide with a Mac

This a combination written and video tutorial: the text instructions and two-part video walk through are meant to be supplemental to one another. That said, if you’re going to do this (at your own risk, of course) and don’t want to read and watch the videos, please use the text. The video was shot during my first time rooting my Slide. It was during this process that I discovered unofficial addendums to the official how-to, as well as tip and tricks in the corresponding thread at xda-developers. My personal recommendation – to those who have independently decided to use this process for rooting their MT3GS – would be to watch the videos without touching your phone, then follow through the step-by-step text instructions to perform the hack on your device. This way, you’ll have an idea of the sticking points and know what to do to avoid hang-ups. There are a couple of big ones.

I’m certain that this rooting method will be deprecated in very short time. It is still a bit messy and uncertain in parts, which is why I have updated the original instructions with better information. (I have not changed the step numbers, so it will not be confusing to go back and forth from my instructions to those at xda.) This one is for the very early adopters out there, and the myTouch 3G Slide is quite capable without hacks. If you don’t know what root access is, you should not do this. At the moment, there are a few cooked ROMs available, but this tutorial will get you root access alone: no cooked ROM will be installed. We will flash a recovery image, but that’s a temporary thing; when finished, you will return to the stock recovery.

These instructions are specific to Mac users, though the differences from the Windows and Linux instructions are noted or limited to removing the”./” at the beginning of commands. Here we go!

Part 1:



Part 2:



Prerequisites:

Install the Android SDK

Turn on USB debugging: Go to Settings > Application > Development and heck the box next to “USB Debugging.”

Download Slide_Root.zip

Power off the phone

What follows is an updated version of the instructions found at xda-developers. FOLLOW AT YOUR OWN RISK. Hacking voids your warranty and could make your phone unusable. What you do is your responsibility.

Step 1.) Unzip Slide_Root.zip and open the folder it creates. Select all of the files inside and place them in your Android SDK “Tools” folder.

Step 2) Open a terminal (command prompt for Win users) and cd to the SDK/Tools Directory.

Step 3.) Power the Slide into the bootloader by holding the volume down rocker while you press and release the power button.

Step 4.) FOR MAC/LINUX USERS ONLY (Windows users should follow original instructions for this and the next step): In your SDK/Tools directory, right-click the loop.bat file and rename it to loop.sh. Right-click again and Owen With… TextEdit.app. Delete all the text you see there and replace it with:

#!/bin/bash
while [ 1 ]
do
./adb devices
done

Now save it!

Step 5.) Now, without hitting enter, in your terminal, type “./loop.sh” without quotes.

You should have Recovery selected (but not entered) in the bootloader menu on your Slide.

This is tricky. With both your phone and computer ready for the next step, you want to hit enter on your computer a split second before you hit the power button on your phone. keep an eye on your terminal for feedback. Eventually, you will see and offline device, and hopefully, a device in recovery mode. If your device turns up and then disappears, repeat Step 5 until you see your device listed in the terminal as being in Recovery mode. If it takes you many, many tries, welcome to the club.

Use CTRL C to stop the loop script at any time.

Step 6.) Superfluous step (ignore, unless curious about the process). I’ll use this space to thank blkw0lf for getting me and many others past this point with the following comment over at xda:

__________________________________________________________________________________________

“adb is not supposed to run in recovery mode. The loop method is basically trying to force a memory or buffer overflow that locks adb in it’s running state as it comes up, see’s that the phone is booting into recovery and then supposed to shut down again.

That’s why you see the device for a short time and then it disappears again.

The problem is, it’s just random. You have to keep repeating the process until it works.
Though as it’s been stated before, starting the adb loop right before you tell the phone to boot into recovery seems to increase the chances of it working dramatically.


__________________________________________________________________________________________

Step 7.) Once your device is showing as being in Recovery mode in your terminal, unplug the USB cable from the phone and plug it back in. Then type”./adb devices” in your terminal (without quotes) to be sure the phone is still recognized. If not, return to Step 5.

Step 8.) Select Update.zip from the menu. (This will fail, but we already know that! Select it anyway).

Step 9.) In your term, type (without quotes): “./adb push ota.zip /sdcard/update.zip” [hit enter]

It will tell you that the process completed in however many milliseconds.

Step 10.) (Skipped in or removed from original instructions.

Step 11.) In your term, type (without quotes): “./adb push slideroot.zip /sdcard” [hit enter]

Step 12.) Now, without hitting enter, get this text ready in your term, without quotes: “./adb push update.zip /sdcard”

Step 13.) On your phone, select (via the volume rocker) “Apply update.zip from the sdcard” but do not hit power to select it yet. You need to be ready to hit enter on your terminal as well. As you did earlier, you’re going to hit the buttons one right after the other, only this time the order is reversed: You’ll hit power on the phone and then enter on your computer immediately afterwards. Okay? Go for it.

Step 14.) If successful, you should see some cyan colored text on your screen. If so, you’re looking at Clockwork Recovery. If you see the same electric blue that you did before, it did not work. If unsuccessful, repeat steps ***9 THROUGH 13***!!! The original instructions tell you to simply repeat 12 and 13, which could leave you pulling your hair out after 6 hours.

In the video, I say to repeat steps 13 through 16 because I was following a Mac specific guide that was not written well enough to base this written tutorial off of. You need to repeat 9 through 13!

Once you get Clockwork, move on. It may take a few tries.

Step 15.) On your phone, using the volume rocker, select the Partitions menu (hit power to enter your selection) and then Mount System (again, power to enter).

Step 16.) Go back one level (near the bottom of your list of options) & select “install any zip from sdcard.” DO NOT SELECT “apply update.zip from sd card.” Select slideroot.zip and apply update from zip (This will finish the Root process).

Step 17.) Reboot your phone and wait for it to load completely. To confirm that your slide is connected as a device, use the command “./adb devices.” If this works, you will see it as a device. Your prompt will say something like:

$ ./adb devices
List of devices attached
HT05YUP12710 device

Step 18.) In your term, type, without quotes, “./adb install Superuser.apk” Yes, you need to capitalize it. If this looks like it works, but says it cannot locate directories, make sure you can find your device using “./adb devices.” If things still don’t work, my best advice is to start over.

Step 19.) After Superuser is installed try to use adb to shell to your device:

./adb shell [hit enter]

You will get a $ sign.

Then type su [hit enter]

Look at your phone. Superuser should pop-up asking if you give permission.

I hope I’ve clarified the process a bit for Mac users here in this root tutorial, or “toot.” *Hardy har har.* If I did, let me know in the comments. If I just made things more confusing, wait for a better hack. I promise you; it is coming.

Tags: