The Android development community has been hard at work creating various ways for users to gain root access on their Motorola Photon 4G. If you need a pain-free way to root your Photon 4G, follow these steps and you’ll have root access in no time.
First turn on USB Debugging. Go to Settings >> Applications >> Development and check USB Debugging.
Next, plug in the phone and set it to USB Mass Storage.
Now download the files needed to root the phone. XDA-Developer user edgan created a tar file with all the necessary files. Download photon-torpedo.tar to your computer then copy it to the sd card on your phone — in this example, I used the download folder on my sd card.
Once the file is copied, go to USB Connection in your notifications area and change it to Charge Only.
Now with the file on the phone, go to the Market and download Android Terminal Emulator.
Next, download Superuser from the Android Market.
Open the terminal emulator application.
Type: cd sdcard/download
to go to the directory of photon-torpedo.tar.
Next, copy photon-torpedo.tar to the /data/tmp folder. Then Type: cp photon-torpedo.tar /data/tmp
To make the next few steps easier, change the directory to /data/tmp by typing: cd /data/tmp
In order to manipulate the file, make sure you have proper rights for it. Type: chmod 777 photon-torpedo.tar
Next, extract the files from the tar file. Type: /bin/tar xf photon-torpedo.tar
Now run the scripts to root the device. Type: ./photon-torpedo.sh
This will produce an error but you can ignore it.
You’ll notice “root@localhost” listed in the terminal. Now the last command – type: ./install-su.sh
After entering in the above commands, restart your phone.
When your phone starts up again, test your root access by opening up terminal emulator and entering the su command. You’ll see Superuser pop up and ask you to allow Terminal Emulator Access. This means you have root access.
Alternatively, you can download the RootChecker application from the Market and use that to verify that you now have root access.