Friday, November 05, 2010

Rooting The Droid2 Without a PC

From droidforums.net:

Download these and copy to root folder of sdcard:

  • rageagainstthecage-arm5.bin
  • su
  • Superuser.apk
  • Terminal emulator

Enable USB debugging: Settiings -> applications -> development -> USB debugging

Open terminal emulator and....

  • cd /tmp
  • cp /sdcard/rage*.bin /tmp/
  • chmod 777 rage*.bin
  • ./rage*.bin

Wait for about 5 minutes. It may finish and return with a $ prompt.

Hit the Home button, then: Settings -> Applications -> Manage Applications -> Running -> Terminal Emulator. Force close terminal emulator.

Return home, then open terminal emulator. (You should have a # prompt. If not, and/or you phone is lagging reboot your phone and start over at "cd /tmp".)

  • 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

Reboot phone.

Check to see if you have the superuser app in your app drawer. Also open terminal emulator and type the following command: "su"

A window should open prompting you to allow it to have superuser permissions.

You now have root.

Also, another droidfurums.net reference here, with what to do after rooting.