Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,436 Members 45,038 Now Online
XDA Developers Android and Mobile Development Forum

How to root the Droid 2

Tip us?
 
djh816
Old
#21  
djh816's Avatar
Recognized Developer
Thanks Meter 173
Posts: 491
Join Date: Jul 2009

 
DONATE TO ME
Quote:
Originally Posted by karnovaran View Post
Did you add any steps to mount the system? I don't believe I did, but it seems others are finding it to be read-only.
I did on a mac and for whatever reason, once i did get the # for root term (even after you get $, WAIT people. It WILL return you to native command line), if I exited, it wouldn't be root anymore so I had to just copy the files to sdcard, manually remount the system (i just did "mount -o remount,rw /system /system") and then copy su, superuser.apk, and busybox into their locations.
Please press thanks if I helped you!

Androids:
HTC One M8 (VZW) - CM11 Nightlies
Samsung Galaxy Tab Pro 8.4 - CM11 Nightlies
 
ljbaumer
Old
#22  
ljbaumer's Avatar
Senior Member
Thanks Meter 83
Posts: 688
Join Date: Apr 2010
Location: California
you could try adb remount if you system is read-only, when my eris was on read-only i would just do an adb remount and then go about whatever i was doing before and it makes adb able to read-write.

this should work but i can't help you if it dosen't.
 
karnovaran
Old
#23  
Senior Member - OP
Thanks Meter 70
Posts: 598
Join Date: Jul 2009
Location: PDX
Ok, edited the original post to add the mounting steps. If you have already run the commands but got stuck at adb push, do the following:

- cd c:/Droid2Root
- adb push Superuser.apk /sdcard/Superuser.apk
- adb push su /sdcard/su
- adb push busybox /sdcard/busybox
- adb shell (you should now have a # prompt)
- 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
- exit

Let me know if that solves it.
 
thelolotov
Old
#24  
Senior Member
Thanks Meter 7
Posts: 110
Join Date: Nov 2009
Location: Alexandria, VA

 
DONATE TO ME
Quote:
Originally Posted by karnovaran View Post
Weird.. I didn't need to mount the system manually, but let me if there's a step I left out.
Same problem here.

Tried new solution, now it says Permission denied.
 
djh816
Old
#25  
djh816's Avatar
Recognized Developer
Thanks Meter 173
Posts: 491
Join Date: Jul 2009

 
DONATE TO ME
Quote:
Originally Posted by ljbaumer View Post
you could try adb remount if you system is read-only, when my eris was on read-only i would just do an adb remount and then go about whatever i was doing before and it makes adb able to read-write.

this should work but i can't help you if it dosen't.
for me, i lost root when exiting from the adb shell. this was not an option at that point. it seems like the xploit let me have one shot when i'd execute it so I had to just remount from the shell and use term commands to 'cat' the files into their locations. (for anyone who doesnt know, cat usage: "cat origfile > /new/newfile")
Please press thanks if I helped you!

Androids:
HTC One M8 (VZW) - CM11 Nightlies
Samsung Galaxy Tab Pro 8.4 - CM11 Nightlies
 
djh816
Old
#26  
djh816's Avatar
Recognized Developer
Thanks Meter 173
Posts: 491
Join Date: Jul 2009

 
DONATE TO ME
Quote:
Originally Posted by karnovaran View Post
Ok, edited the original post to add the mounting steps. If you have already run the commands but got stuck at adb push, do the following:

- cd c:/Droid2Root
- adb push Superuser.apk /sdcard/Superuser.apk
- adb push su /sdcard/su
- adb push busybox /sdcard/busybox
- adb shell (you should now have a # prompt)
- 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
- exit

Let me know if that solves it.
you left out the exploit part :P but yes other than that, i did that exact same procedure on mac just fine. guys, please send any donations posible to sebastien. he really went out of his way for this
Please press thanks if I helped you!

Androids:
HTC One M8 (VZW) - CM11 Nightlies
Samsung Galaxy Tab Pro 8.4 - CM11 Nightlies
 
csscmaster3
Old
(Last edited by csscmaster3; 25th August 2010 at 07:11 PM.)
#27  
Member
Thanks Meter 4
Posts: 34
Join Date: Aug 2010

 
DONATE TO ME
Quote:
Originally Posted by karnovaran View Post
Ok, edited the original post to add the mounting steps. If you have already run the commands but got stuck at adb push, do the following:

- cd c:/Droid2Root
- adb push Superuser.apk /sdcard/Superuser.apk
- adb push su /sdcard/su
- adb push busybox /sdcard/busybox
- adb shell (you should now have a # prompt)
- 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
- exit

Let me know if that solves it.
It allowed me to copy Superuser.apk, will update post after

Edit: I was able to copy everything over now. And tested with Setcpu. Works well. Thanks!
 
djh816
Old
#28  
djh816's Avatar
Recognized Developer
Thanks Meter 173
Posts: 491
Join Date: Jul 2009

 
DONATE TO ME
also, Koush said he would be working on Clockworkmod for Droid 2 tonight. We still need to possibly get birdman to help with it if it'd different than Droid X but should be happening soon
Please press thanks if I helped you!

Androids:
HTC One M8 (VZW) - CM11 Nightlies
Samsung Galaxy Tab Pro 8.4 - CM11 Nightlies
 
thelolotov
Old
#29  
Senior Member
Thanks Meter 7
Posts: 110
Join Date: Nov 2009
Location: Alexandria, VA

 
DONATE TO ME
Quote:
Originally Posted by csscmaster3 View Post
It allowed me to copy Superuser.apk, will update post after
Now it says:
adb: not found

EDIT: after trying the new instructions.
 
karnovaran
Old
#30  
Senior Member - OP
Thanks Meter 70
Posts: 598
Join Date: Jul 2009
Location: PDX
Quote:
Originally Posted by djh816 View Post
you left out the exploit part :P but yes other than that, i did that exact same procedure on mac just fine.
Well I meant it only for the guys that have already run the binary.. unless I'm missing something else.

Quote:
guys, please send any donations posible to sebastien. he really went out of his way for this
Absolutely. I take no credit for this - please donate to Mr. Krahmer for his work.

Tags
how to root the droid2, root droid2
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes