Mobile/Fennec/Android/Rooting: Difference between revisions

Added section on S3
(Added section on S3)
 
(6 intermediate revisions by 5 users not shown)
Line 26: Line 26:
* Install the android SDK and platform tools so you can run adb (the tutorial here is reasonable: http://www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/)
* Install the android SDK and platform tools so you can run adb (the tutorial here is reasonable: http://www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/)
* Download this file: http://wlach.masalalabs.ca/Samsung_Galaxy_Tab_10.1_root.zip (note that this is taken straight from addictivetips.com and I have not verified it to be completely trustworthy!! buyer beware)
* Download this file: http://wlach.masalalabs.ca/Samsung_Galaxy_Tab_10.1_root.zip (note that this is taken straight from addictivetips.com and I have not verified it to be completely trustworthy!! buyer beware)
* Make sure USB cable is disconnected
* Enable USB Debugging via Settings > Applications > Developer
* Connect USB Cable
* Install the rootkit by running this command via adb:  
* Install the rootkit by running this command via adb:  
<pre>adb push Samsung_Galaxy_Tab_10.1_root.zip /sdcard/Samsung_Galaxy_Tab_10.1_root.zip</pre>
<pre>adb push Samsung_Galaxy_Tab_10.1_root.zip /sdcard/Samsung_Galaxy_Tab_10.1_root.zip</pre>
* Reboot the device in bootloader mode (Power off then press volume down + power at the same time. If that doesn't work, try: Power off. Press Power on, wait 1 second, then hold volume down until the "Downloading..." icon appears.)
* Disconnect USB Cable
* Disable USB Debugging
* Connect USB Cable
* Reboot the device in bootloader mode (Power off then press volume down + power at the same time. You may need to keep holding until you see two icons. You should see the Samsung Galaxy Tab 10.1 logo first, followed by the icons. Let go. If that doesn't work, try: Power off. Press Power on, wait 1 second, then hold volume down until the "Downloading..." icon appears.)
* You'll see a misleading icon saying "Downloading...". Ignore it and press the volume button up button, then the power button, to select the other option.  
* You'll see a misleading icon saying "Downloading...". Ignore it and press the volume button up button, then the power button, to select the other option.  
* Select the option to apply an update from SD card ('''FIXME''': that's inexact-- after having completed this, I can't get to this screen anymore).
* Select the option to apply an update from SD card, using volume up/down to navigate and power to select ('''FIXME''': that's inexact-- after having completed this, I can't get to this screen anymore).
* That's it! You should now be rooted. Reboot. If it didn't work, try doing that again (sometimes it might not take). Basically all the above script does is install a specially crafted program called "su" and give the regular user permission to run it. Yes, it's that simple.
* That's it! You should now be rooted. Reboot. If it didn't work, try doing that again (sometimes it might not take). Basically all the above script does is install a specially crafted program called "su" and give the regular user permission to run it. Yes, it's that simple.


Line 44: Line 50:


See: http://wiki.cyanogenmod.com/wiki/LG_G2x:_Full_Update_Guide (just the jailbreaking part, unless you want to install Cyanogenmod)
See: http://wiki.cyanogenmod.com/wiki/LG_G2x:_Full_Update_Guide (just the jailbreaking part, unless you want to install Cyanogenmod)
=== Droid Pro ===
You may wish to upgrade to 2.3 before rooting your device.  Upgrading the device will undo the rooting on 2.2
==== Upgrade to 2.3 ====
# go to Settings -> Wireless & Network Settings -> Mobile Network Settings
# set the Network Mode to GSM/UMTS
# set the Wi-FI settings to a wifi spot that you have network access to
# go to Settings -> about phone -> System Update
This should cause it to check for the latest system udpate for the droid pro
==== Rooting ====
This should work both for 2.2 and 2.3:
# Download a version of [http://rapidlibrary.com/files/droid-easy-root-v7d-zip_ul8zybybw9iyon.html droid easy root v7d]
# unzip the file
# go to the folder that it uncompressed and run: ./run_to_root_your_droid3.sh
# once the daemon runs, plugin the phone
# let the phone reboot 2 or 3 times
# it will automatically install superuser on your device
# verify that you have root by doing an adb shell to the device.
=== Nexus S ===
==== Brick (House) ====
* [http://forum.xda-developers.com/showthread.php?t=884093 Nexus S 2.3.1 image and instructions]
=== Galaxy Nexus ===
This is over-kill if you just want root, but one option is to build your own roms, as described at http://source.android.com/source/initializing.html. The userdebug and eng configurations (full_maguro-eng) provide root.
=== HTC Desire ===
It's possible that you may get something like this:
run-as: Package 'org.mozilla.fennec_jrmuizel' has corrupt installation.
This happens because run-as checks the permissions of the directories under the app to make sure they are correct:
https://groups.google.com/forum/#!msg/android-ndk/cubyLmLNTXQ/wGRopPum69cJ
On my HTC Desire /data/data was owned by root:root and had permissions of 777
I needed to root the phone to fix this. I was able to do this by using the temporary root option of zroot.
I then needed to install SuperUser so that /system/bin/su would work.
=== Samsung Galaxy S3 ===
These instructions worked for me running Android 4.0 on a Verizon branded phone: http://forum.xda-developers.com/showthread.php?t=1790104.
I used the version of su used for automated testing as described on [[Auto-tools/Projects/Pandaboard_Setup]] rather than the one included in the package.


== What to do after rooting your device ==
== What to do after rooting your device ==
Confirmed users
313

edits