New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Armyjon88
Old
#1  
Member - OP
Thanks Meter 0
Posts: 88
Join Date: Jun 2010
Default [GUIDE] To Understanding the root process for MT3GS

Ok I have seen enough people having trouble whith the current root process so I going to try to explain it in the best way I know how.

First off if you have applied the new OTA update from tmobile either from tmobile or from xda dev forums the current root process WILL NOT WORK.

Now, that being said,

Step 1: Setting up the android sdk

Ok the Android sdk is a set of executable files thrown together to help developers piece together .apk's and various components for android devices thus the name "Software Developers kit". Now once you download the sdk I suggest that you install it on the root of your hard drive. In most users case it would be "C:/", and I also suggest your name its directory something simple like "SDK" like me because it cuts down on typing and the possiblity of typos.

Within the sdk directory there will be a directory called tools and this is where you will need to "cd" to in "cmd"

Cd = change directory

Cmd = Command Prompt

You may skip the next step if you have been able to view your devices serial number in "cmd".

Step 2: Viewing your devices serial number

I'm sure all of you like me as soon as we got our phone plugged it into our computer and messed around with it, well we just gave ourselves our first headache.

To fix this issue first we need to download and install "USBDeview" and uninstall all "Mytouch Slide" drivers from the computer .

Next we need to download "PDAnet" and install and choose "HTC" as the device.

Now we goto "Settings>Applications>Development and check "USB Debugging".

Now we can plug in our slide and our adb driver should install automatically without a hitch.

Now to verify open "cmd" type in "cd/" then "cd /sdk/tools" and "adb devices" and you should see your devices serial number.

Step 3: Understanding Root.zip package

The current root process is called "OTA spoofing" and its named this way for good reason. Within the root.zip there will be three files loop.bat, ota.zip, and update.zip.

Loop.bat = a batch script which loops the command "adb devices" until user command to stop "ctrl+c" verify with "Y".

OTA.zip = A .zip archive with tmobile ota signatures to allow the file to be read this file does not contain clockwormod recovery or superuser.apk or su.

Update.zip = the important file this file is what contains the recovery img and root permission "su" and "superuser.apk".

These files need to be placed in your "C:/SDK/tools" directory

Step 4: Getting your device to read in recovery

Now we power off the phone and power back on into "bootloader" press and hold Volume Down and power until your in bootloader.

Now it will check for an img on your sdcard it will not find one unless you put one there.

After its done press volume down before you select with power open up "cmd" and "cd" too your android sdk tools directory.

Type "loop" to start your loop batch script you should see "adbe devices" repeatedly being displayed on your screen.

Now select power.

If successful you will see "device offline" repeating

If not then repeat this step.

Otherwise unplug your usb cable from your device and then type "adb devices" and it should return with your serial number and devices in recovery.

Step 5: Pushing files and gaining root

Ok here we go...

Its important to know what the commands mean when doing this process.

"Adb push" :: adb push your.file /todirectory :: what this command is doing is sending the file you selected (in this case "your.file" to the directory you selected in this case the directory "todirectory") this is the proper syntax to push a file

However we need to send the ota.zip to the sdcard first but for the android recovery to read it it needs to be named "update". And we all know that two files with the same file extention and the same name cannot exist in the same directory. How do we solve this? By pushing ota.zip to the sdcard as "update.zip". This is done by the following command:

adb push ota.zip /sdcard/update.zip

This will send the ota.zip to the sdcard as "update.zip"

Now simply type in the following command BUT DO NOT PRESS RETURN ON YOUR KEYBOARD YET.

adb push update.zip /sdcard

Now scroll to "apply sdcard:update.zip" with volume down

Press power count

1...
2...

Press enter on your computers keyboard to send update.zip to the sdcard.

Boom you should see clockworkmod recovery.

Select install from sdcard find update.zip and select with the power and you now have root.





Sent from my T-Mobile myTouch 3G Slide using XDA App
 
elliotshoe
Old
#2  
elliotshoe's Avatar
Member
Thanks Meter 1
Posts: 43
Join Date: Jul 2010
Location: California
Should talk about the engineering rom too
I LOVE ANDROID
Phone: MyTouch 3G - Rooted
SPL: how do i know? pm me!
Radio: 7.09.35.10
Recovery: ClockworkMod 2.5.0.1
Rom: TeamFenix v1.2
 
PanCubano
Old
#3  
Senior Member
Thanks Meter 25
Posts: 131
Join Date: Jul 2009
Location: Hialeah
Seriously. It took me A LOT of reading and swarming through 20+ tabs of the same thing to figure out that when everyone mentions ENG and installing ClockWorkMod Recovery and then small glimps of everyone saying "ENG for its recovery" that I FINALLY figured out you NEED to flash the ENG build for soley its test key's recovery to HAVE clockwork working the way its supposed to.