This is a discussion on Much simpler guide for rooting (no pc required) within the Droid 2 Hacks forums, part of the Droid 2 Forum category; So if your like me, the idea of having to use a computer to root your phone just seems like to much of a hassle ...
So if your like me, the idea of having to use a computer to root your phone just seems like to much of a hassle to bother with. Well good news everyone! I now have a method for rooting that shiny new phone from the phone itself.
So first things first, go get the usual suspects
rageagainstthecage-arm5.bin
su
Superuser.apk
Some sort of terminal emulator, there are a couple of free ones in the market.
And until myself or someone who is less lazy rolls a version of rage that doesn't check for adb you will have to enable USB debugging.
Settiings -> applications -> development -> USB debugging.
The links for these guys are in this forum and I'm lazy. Now get those guys on your phone however best you see fit. Most likely they will end up in /sdcard or /sdcard/downloads. Finally, here is the meat.
* EDIT: any line below that starts with a * is optional
- open up your favorite terminal emulator program
- cd /tmp
- cp /sdcard/rage*.bin /tmp/
- chmod 777 rage*.bin
- ./rage*.bin
- ignore it's output, we are thinking outside of the box here, just wait for it to finish and return a $
- now go to settings -> applications -> manage applications -> running -> terminal and force close that girlie
- relaunch the terminal app and you should be greeted with the friendly # symbol. Toda you now have a root shell
- the rest is pretty much the same.
- mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
- cp /sdcard/Superuser.apk /system/app/Superuser.apk
- cp /sdcard/su /system/bin/su
* cp /sdcard/busybox /system/bin/busybox
- chmod 4755 /system/bin/su
* chmod 4755 /system/bin/busybox
- mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
- exit
Once your all done, go ahead and reboot your phone. Good luck and happy hacking. If I get bored I'll explain why this works, if I get really bored I'll turn this into a one click app
* EDIT: Undoing the damage, if you decide to unroot.
- open your trusty terminal app
- you should see a $ symbol, now do the following
- su
- now you should see a # symbol
- mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
- rm /system/app/Superuser.apk
- rm /system/bin/su
* rm /system/bin/busybox
- mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
- reboot your phone. Toda, no more root
Last edited by Eousphoros; 09-12-2010 at 07:18 PM.
would love the one clock app. I just came from the droid 1 and loved the simplicity of its rooting. Really nervous with the command prompt stuff for the 2.
I couldn't get the adb stuff to work.
I prefer the command line, I'm use to that.