Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
sk8rbebop
Old
(Last edited by sk8rbebop; 1st July 2010 at 09:23 PM.)
#1  
sk8rbebop's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 147
Join Date: Jun 2010
Location: Tempe
Post [how-to] Root the Slide (MAC OSX FLAVORED)


HOW-TO Root the Slide
(MAC OSX FLAVORED) KAPOWWW!!!!
&
Android SDK on Mac


STEP 1.
Download Android SDK from here.

STEP 2.
Unzip it. Place the folder it creates in your Documents folder and rename it AndroidSDK or SDK. (Something Easy)

SUCCESS!!! Android SDK Installed… //WTF!!??!!

STEP 3.
Download This Package > Slide Root.zip
Place the Contents of "Slide Root.zip" into your Android SDK Tools folder.
(These five files need to be placed DIRECTLY into the AndroidSDK/tools/ folder)

STEP 4.
RENAME Loop.bat to Loop.sh, then right click, open with TEXTEDIT.
Delete it’s contents and replace it with


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


Save and Close the File.

STEP 5.
On your Slide, GO TO Settings > Application > Development and turn on USB Debugging.
This should save you headaches.

NOW… Power Off the Slide

STEP 6.
OPEN Terminal
(APPLE + SPACE and type Terminal, press enter.)

Now, CD to the SDK/Tools Directory.
It should be where we left it.
/Users/YOURUSERNAME/Documents/AndroidSDK/tools/

Terminal SHOULD open with it already in your USERNAME
Type cd Documents/AndroidSDK/tools/

STEP 7.
Power On the Slide into the Bootloader by Holding Down ( Volume Down + Power Button )

STEP 8.
NOW run your loop file (the one we made earlier)
The Terminal should be all queued up to the Tools folder.
Type in ./loop.sh

(The Terminal should be blowing up with List of Devices Attached over and over)

STEP 9.
Once your loop is running, select Recovery from the bootloader menu.
(Volume UP & DOWN to change selection and POWER to Select)

STEP 10.
When recovery loads, you should Have an Offline Device.
The Slide’s screen will have a picture of a Phone and RED triangle around a !
(Don’t freak out, this is a good thing.)
Hit Ctrl + C to stop your script & see.
If this doesn't happen, Power Off and try again from STEP 7.

STEP 11.
Un-plug your USB cable from your Slide & Plug it back in for it to Detect ADB Correctly!!!
IMPORTANTE!!!
At this point you can adb devices to see if it detects your device and that it is in recovery mode.
Type into Terminal ./adb devices
If it says recovery you are golden and move onto STEP 12 to kick the habit.
If not, rinse and repeat from STEP 7.

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

STEP 13.
Type into Terminal
./adb push ota.zip /sdcard/update.zip

STEP 14.
Type into Terminal
./adb push slideroot.zip /sdcard

STEP 15.
MUY IMPORTANTE!!!
Have this Command ready in your Terminal before applying update.zip again!!

./adb push update.zip /sdcard

STEP 16.
On your Slide, Hit run update.zip
As soon as you see A Little Bar appear behind the text
Push ENTER to execute the Terminal command
(./adb push update.zip /sdcard )

STEP 17.
If successful, you should see Clockwork Recovery.
If unsuccessful, repeat steps 13-16.

STEP 18.
In Clockworkmod Recovery,
Go to the Partitions menu and Mount System
(It should be at the top and the only one not mounted.)

STEP 19.
Go one level back & select install any zip from sdcard.
Select slideroot.zip & apply update from zip
(This will finish the Root process).

STEP 20.
Reboot your phone & 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 21.
./adb install Superuser.apk

(If it 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 22.
After Superuser is installed try to use adb to shell to your device.

Type in Terminal
./adb shell

you will get a $

Then type su

On the Slide, Superuser should pop-up asking if you give permission, do so.
In Terminal, your $ should turn into a #. If so, you have root. WOOT!!!


Original SHOUT OUTS!!!
Special Thanks to:

Paul O'Brien:
Koushik K. Dutta:
&
The Guys using the Incredible OTA Spoofing Method
&
ChiefzReloaded for Huge amount of Suggestion & Brain Storming.

But most of all, you should thank eugene373 for rooting the slide and not sleeping for two days.

His original post is here.
(Current Hotness)
T-Mobile G2 (HTC Vision)
ROM: Stock
8GB Class 2 SanDisk MicroSDHC

(Retired)
T-Mobile MyTouch Slide (HTC Espresso)
T-Mobile G1 (HTC Dream)
 
stangri
Old
#2  
Senior Member
Thanks Meter 37
Posts: 401
Join Date: Dec 2009
Location: Burnaby

 
DONATE TO ME
Quote:
Originally Posted by sk8rbebop View Post

STEP 14.
Type into Terminal
./adb push slideroot.zip
should it not be:
./adb push slideroot.zip /sdcard

Also...
Quote:
Originally Posted by sk8rbebop View Post

STEP 15.
VERY IMPORTANTE!!!
Should be:
MUY IMPORTANTE!!!
 
nerdcorerising
Old
#3  
Junior Member
Thanks Meter 0
Posts: 15
Join Date: Apr 2010
Location: Columbus, OH
I don't understand the need for a separate post when the only difference between osx and windows is that osx uses a shell script and windows a batch file and osx is discussed in the post about rooting.
 
sk8rbebop
Old
#4  
sk8rbebop's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 147
Join Date: Jun 2010
Location: Tempe
Quote:
Originally Posted by nerdcorerising View Post
I don't understand the need for a separate post when the only difference between osx and windows is that osx uses a shell script and windows a batch file and osx is discussed in the post about rooting.
Five different people asked for it so they got it.
(Current Hotness)
T-Mobile G2 (HTC Vision)
ROM: Stock
8GB Class 2 SanDisk MicroSDHC

(Retired)
T-Mobile MyTouch Slide (HTC Espresso)
T-Mobile G1 (HTC Dream)
 
mitchgdodge
Old
(Last edited by mitchgdodge; 19th June 2010 at 07:05 PM.)
#5  
mitchgdodge's Avatar
Junior Member
Thanks Meter 0
Posts: 7
Join Date: Jun 2010
Location: San Diego
Lightbulb Thanks!

Thanks a bunch for the tutorial! We really do appreciate it. I just had a couple questions about 2 of the steps.

STEP 6.
OPEN Terminal
(APPLE + SPACE and type Terminal, press enter.)

Now, CD to the SDK/Tools Directory.
It should be where we left it.
/Users/YOURUSERNAME/Documents/AndroidSDK/tools/

Terminal SHOULD open with it already in your USERNAME
Type cd Documents/AndroidSDK/tools/


I got lost where it says "Now, CD to the SDK/Tools Directory." I do not really know what the CD means and what I should be typing into Terminal?

Also should my phone already be plugged in to my Mac?

Please let me know and thanks!
 
sk8rbebop
Old
#6  
sk8rbebop's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 147
Join Date: Jun 2010
Location: Tempe
Default Re: [how-to] Root the Slide (MAC OSX FLAVORED)

Quote:
Thanks a bunch for this tutorial. I am about to try to ROOT, it should go over smoothly. Now from the ROOT what else have you guys been doing to you're Slide? I know Cyanogen has not said much, that is who I used for my myTouch 3G and my G1.
I flashed the Eng Build, then SlideMEROOT2 and then the new radio (you need this). Just follow the how-to's already posted, but remember to type ./ before the commands in Terminal.
Ex. ./adb devices Instead of adb devices.

There were a couple people who were trying to keep their original stock rom, but slidemeroot2 is basically the original rom. Plus, someone posted the original stock backup, so flash away.

-------------------------------------
Sent via the XDA Tapatalk App
(Current Hotness)
T-Mobile G2 (HTC Vision)
ROM: Stock
8GB Class 2 SanDisk MicroSDHC

(Retired)
T-Mobile MyTouch Slide (HTC Espresso)
T-Mobile G1 (HTC Dream)
 
shadowleo85
Old
#7  
Senior Member
Thanks Meter 17
Posts: 268
Join Date: Aug 2007
this is wrong

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

it should be

#!/bin/bash
while [ 1 ]
do
./adb devices
done
CURRENT
PHONE: 32 GB White T-Mobile GS3
ROM: Illusion 1.18 Lean Kernal 2.3
RECOVERY: Cwm- Touch
SD: 16GB SDHC Class 10


RETIRED
PHONE: Bronze G1, Black MT3G, Black MT3GSlide, Htc Hd7, Htc Radar
 
HebrewToYou
Old
#8  
HebrewToYou's Avatar
Senior Member
Thanks Meter 62
Posts: 699
Join Date: Feb 2010
Quote:
Originally Posted by shadowleo85 View Post
this is wrong

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

it should be

#!/bin/bash
while [ 1 ]
do
./adb devices
done
It's no more "wrong" than your code...

The first assumes that you've configured your shell to link the "adb" command to the adb "app" in the sdk/tools directory. Your code assumes that you will be activating the script while "within" that very directory.

The code, IMHO, should read:
Code:
...
[PATH TO SDK/TOOLS/]adb devices
...
And the OS X user should be instructed to insert their own path.
 
shadowleo85
Old
#9  
Senior Member
Thanks Meter 17
Posts: 268
Join Date: Aug 2007
Quote:
Originally Posted by HebrewToYou View Post
It's no more "wrong" than your code...

The first assumes that you've configured your shell to link the "adb" command to the adb "app" in the sdk/tools directory. Your code assumes that you will be activating the script while "within" that very directory.

The code, IMHO, should read:
Code:
...
[PATH TO SDK/TOOLS/]adb devices
...
And the OS X user should be instructed to insert their own path.
WRONG the code running in the shell is to continuously run adb devices... which to do so correctly would have to be implemented with ./ in front to run correctly on a mac... dont try to correct what is right i will school u

and seeing as he clearly instructs u to place those apps within the tools folder and "cd" to it... means that the user should have those commands ready at hand which is included in the folder...
CURRENT
PHONE: 32 GB White T-Mobile GS3
ROM: Illusion 1.18 Lean Kernal 2.3
RECOVERY: Cwm- Touch
SD: 16GB SDHC Class 10


RETIRED
PHONE: Bronze G1, Black MT3G, Black MT3GSlide, Htc Hd7, Htc Radar
 
Gen00
Old
#10  
Gen00's Avatar
Senior Member
Thanks Meter 31
Posts: 624
Join Date: Apr 2010
Location: Miami
Quote:
Originally Posted by shadowleo85 View Post
this is wrong

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

it should be

#!/bin/bash
while [ 1 ]
do
./adb devices
done
Ur right.. that is the right way..
Phone: T-Mobile Galaxy S2
Recovery:
[B]Kernel:[B] ASDK 1.0
ROM: GalaxySBean.v13.5
SD: 8GB Class 6
Home: Apex Launcher

Tablet: Nexus 7
Recovery: ClockworksMod { Latest }
[B]Kernel:[B] Motley v3 #246
ROM: SmoothROM 4.4
SD: 8GB Class 6
Home: Apex Luancher

Twitter: @blancoei

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Flash Custom ROM and Recovery to Samsung Galaxy S 4

After reading about Dan Rosenberg’s bootloader exploit for the Samsung Galaxy S 4,I … more

Windows-Based Multi-Tool for the Sony Xperia U

If you are a flashaholic and an owner of the Sony Xperia U, you may be interested in the … more

XDA University: Crafting Recovery-Flashable Packages

Those of us who use Linux on a day to day basis don’t think twice about sinking … more