• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [MetroPCS/CDMA] [HOWTO] root the metroPCS SGSIII manually

tiede

Android Expert
This should help anyone who's having problems otherwise, or want to make sure they don't brick the phone by choosing the wrong option from the Toolkit.
Also, with this method, you can achieve temp root and stop there.

WARNING: This is considered a somewhat advanced guide, meant for those who want to see how rooting is achieved from under the hood.
Nerd haters, stay back.

Nerd wanna-bes, please continue... :)

First, you will need a working copy of ADB from the Android SDK. You may use the one from AF, no need to download the entire sdk from android.com
http://androidforums.com/micromax-a56/603700-tutorial-how-set-up-adb.html

Second, you will need to download the exploit we will use to root the phone, called DebugFS-root
http://forum.xda-developers.com/attachment.php?attachmentid=1220116&d=1343180117
I recommend extracting DebugFS-root at the same location as your adb setup, to simplify the commands when rooting... otherwise, you will have to specify the directory where the files should come from with EVERY command - yeah, annoying.

Third, install the drivers for your SGSIII from samsung from here (you only need this step from M$ windows. Mac and linux, we don't need no stinkin' driver from no Samsung! :D:
http://downloadcenter.samsung.com/c...ss_I535_GSIII_Samsung_USB_Driver_v1_4_6_0.exe

Fourth, enable USB debugging by going into settings → developper options → usb debugging, and make sure it's checked.

Five, plug your phone into a USB port on your computer (you may need to reboot your computer if you are on windows, and installed the drivers, but the OS is still complaining about it. Don't look at me, ain't my fault windows is full of buggy spaghetti code. Just unhook the phone from the PC, reboot with your tail between your legs, and reconnect the phone after the boot is completed.)

=== From here on out, you will be typing commands like crazy.
All commands will be in italics and bold, so you can differentiate them from the comments. make sure you type them exactly as shown, without typos please...

Six, open a terminal (linux or mac) or your command prompt (winblowze) and browse to the directory where you you set up adb as explained in step one.

Seven, type
adb devices
and see if your device is listed.
It should say 1 device attached and give you somehing like
1c165c69
as the device ID. If you have any other devices listed, or if you don't see any, double check steps 1 through 6 (specially step 3).

Eight, copy the files needed to root over to the phone with the commands below:
adb push su /data/local/
adb push debugfs /data/local/
adb push debugfsinput /data/local/


MAKE SURE you type the names correctly, and don't omit the slashes.

Next, link /system to tmp, so that it "thinks" everything is as it should be.

adb shell mv /data/local/tmp /data/local/tmp.bak
(it's always a good thing to make a backup)

adb shell ln -s /dev/block/mmcblk0p14 /data/local/tmp

now, we can reboot the device and make magic happen!
adb reboot

Wait for phone to reboot and then we can continue with the rooting process.
Once you're fully booted up, type this:
adb shell toolbox chmod 777 /data/local/debugfs

adb shell "/data/local/debugfs -w /dev/block/mmcblk0p14 < /data/local/debugfsinput"

^that was TWO commands for those reading on small screens.
each command began with adb shell. the second one ends at debugfsinput.

You will see some errors and some crazy outputs, ignore them.

The actual rooting just happened while you were blinking :D

Now, we can start moving stuff back to the way they were.
adb shell rm /data/local/tmp
adb shell mv /data/local/tmp.bak /data/local/tmp

adb shell rm /data/local/su
adb shell rm /data/local/debugfs
adb shell rm /data/local/debugfsinput


Your device is now temp-rooted. If this is what you wanted all along, then you are done :)
you can test this by typing in the terminal or CMD
adb shell
and then type
su

the prompt will change from a $ sign to a # sign, which means you have admin powaaah! :)

Otherwise, continue to install SuperUser or superSU, to achieve permanent, phone accessible root.

type
exit
exit

to get out of the phone's shell, and get back to the computer CMD/terminal prompt.

Reboot your device one more time:
adb reboot

once that's over, install superuser.apk with this command
adb install Superuser.apk

and... ... ... yep! reboot one more time. sorry :( This is the last time, i "plomice"...
adb reboot

Open superuser.apk on the phone and check it out. You may need to update the su binary (which might make your phone reboot, but that is NOT my fault... :eviltongue:)

You've now been nerdified!!! :D
Go brag to your friends that you rooted your SGS3 manually, all by yourself, "like a BOSS".
 
There is already a root.bat file, it's with debugFS-root.
You can always just use RootDebugfs.bat if you want to do it automatically. But then, where's the fun?
 
(FIFY)

images
 
From the debugFS-root file included here, you may just run debug FS-root.bat and it should be great.
I'll be posting an automatic guide later today as well...
 
great job tiede this will be the official noob proof method of rooting since we have more novice than advance members on here lol
 
Back
Top Bottom