yashsingh1/xdaforums huggingface dataset:
[Droid 2 Android Development] kalric:
Yes, just tried the command line root in this thread (post #164), and I'm rooted again after the 2.3.20.A955 update I recieved 3 days ago. I was afraid at first...but wth...it's only a phone. ;) Everything is working and all my apps that need root to work are working again.

HUGE Thank You to DarkOnion for these instructions!!

Thanks

S
[Droid 2 Android Development] dldunckel:
Post #248 mentions the following:

"So really unrooting should be as easy as remounting file system in rw mode and deleting the three files you deployed on it."

Is that true?

Basically, my goal is to completely wipe my phone to start brand new, root it, then install the latest Fission ROM.
[Droid 2 Android Development] newk8600:
If you want to start brand new then your best best isn't to just unroot but to flash the SBF back to stock and then root and apply Fission. But if you are still on stock and haven't done any tinkering then you shouldn't have to sbf and unroot.
[Droid 2 Android Development] juryben:
I did a fresh install, formatted and everything...

Every now and then I swipe to lock and the phone reboots. It's not too bad since it's a quick reboot but why is this happening.
[Droid 2 Android Development] newk8600:
It's being looked into but it happens on the Droid the Droid 2 and the Droid X. So it's not just a problem on the D2 but on all moto's droids.
[Droid 2 Android Development] Wamafibglop:
I'm New to This...

When you type adb devices, what should appear?

Also my prompt is saying that adb isnt a recognized command, what am I doing wrong?
[Droid 2 Android Development] darkonion:
You are in the correct folder in command line. You should consider going to Easier 1-2-3 Root or Z4root. Much easier process. This thread is kind of old.
[Droid 2 Android Development] Wamafibglop:
Oh... Well I got it all working, but thanks anyways!
[Droid 2 Android Development] davidimm:
DROID Pro?

I know there are threads around z4root, but I cant find it on the market anymore. Was wandering if this method would work on a Pro... Any ideas?
[Droid 2 Android Development] Aaron1017:
Cant get this to work on a Droid 2 Global

System Version: 2.4.29.A956Verizon.en.US

Kernel: 2.6.32.9-g700d0cf xrpk47@il93lnxdroid25#1

Anyone get this to work on System Version 2.4.29?
[Droid 2 Android Development] newk8600:
Should all the root apps and programs for the D2, D2 G, DX are all the same exploit I don't know all the process for each one but the basic idea has been used on all of the previously mentioned.
[Droid 2 Android Development] Aaron1017:
I was successful using a terminal emulator on the phone running the same steps! Seems with the D2G the ADB connection never resets and allows a computer to connect again.
[Droid 2 Android Development] Cerinin:
Does this work for the Droid X? Just followed the instructions in the readme.txt exactly, and all doroot1.sh gave me was "./adb: not found".

I'm running rev 9 of the SDK on Linux, and it looks like the folder structure has dramatically changed since these instructions were written. The "adb" binary is now under /platform-tools, not tools.

Is there a more up-to-date guide for rooting the Droid X available?
[Droid 2 Android Development] darkonion:
This is old stuff. Try one of the other methods.
[Droid 2 Android Development] zachbush:
help

When ever I type the second command" adb devices", than ir says that adb. Is not recognized as an internal or external command. HELP!
[Droid 2 Android Development] darkonion:
Don't use this version. You are doing more work than you need to. Go check out Easier 1-2-3 root in the parent sub-forum.
[Droid 2 Android Development] ezgo:
I can't get it to work either. I have Droid2 Global. The farest I can get is to get root failed and ask me if I want to exploit again. which I type y and enter. then it is stuck at checking for device.

everytime I am stuck on checking on device, I have to terminate the program, turn off and on the phone, to be able to try again. if I don't power cycle the phone, it will always get stuck at checking for device.
[Droid 2 Android Development] darkonion:
Try this method:

http://www.youtube.com/watch?v=DC8v2SZXpw8

Links and stuff are in the description box.
[Droid 2 Android Development] randomnumbers:
Hey all. Sorry if this is a dumb question, but I've got a droid 2 from the states and I live in Canada. I was wondering if I rooted the phone if this would allow me to use it on Canadian networks.

Thanks!
[Droid 2 Android Development] david636:
What carrier do you have in Canada?
[Droid 2 Android Development] randomnumbers:
We have Telus, Rogers and Bell-Aliant that I know of.
[Droid 2 Android Development] kenfly:
can someone point me in the right direction. after running doroot.bin, everything gets pushed to the phone but when the adb server restarts and tries to reconect, it cant because adb devices shows that the device is "offline". and the only way to get the device back to "device" state is to reboot the phone, which reverses everything that was done prior

EDIT: i found out a solution. I failed to realise that i was on the gingerbread update, I used this and it worked

http://www.psouza4.com/droid3/
[Droid 2 Android Development] sapiro:
Thanks kenfly. this worked for me too.
[Droid 2 Android Development] whiterabbit1:
i had a bunch of trouble with one click on the og droid2 (non global) Krahmer at [U

Running .621 is gonna give you issues (maybe but I know I had some) any way there is a sbf to flash so root is gainable look up a995 2.3.4 fixed sbf on google any way when its says device failed during the flash just click on show devices in rsd lite and it will finish just follow the rest of the directions on the program happy rooting

Droid 4 running jellybelly 4.1.0

Droid 3 running ics 4.0.4

Droid 2 running ics 4.0.4
[Droid 2 Android Development] sd_shadow:
New method for rooting Droid 2 on stock 2.3.4 (621)

http://xdaforums.com/showthread.php?t=1773391
[Droid 2 Android Development] sd_shadow:
ROOT] Framaroot, a one-click application to root

I have verified it works with these Motorola devices running android 2.3.4

Droid 2 (a955), Droid 2 Global (a956), R2D2 (a957), & Droid X (MB810)
[Droid 2 Android Development] jds3118:
Worked first time ?
[Droid 2 Android Development] zelotypea:
Could someone please provide a working link to droid2root (so I can get rageagainstthecage-arm5.bin).

Thanks.
[Droid 2 Android Development] sd_shadow:
See attachment

https://xdaforums.com/showpost.php?p=7838000&postcount=1
[Droid 2 Android Development] zelotypea:
Thanks for fix <3
[Droid 2 Android Development] jerseyh22accord:
thats what it says, then i put c:/droid2root and that works but when i put in adb push line it says adb is not a internal or external command
[Droid 2 Android Development] karnovaran:
Oh, you probably need to add adb to your command path. Read here: http://www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/
[Droid 2 Android Development] jerseyh22accord:
Put it in and now when i put in the adb push line it displays the whole list of adb commands
[Droid 2 Android Development] karnovaran:
So you've done all of this..

Setup:
- Install adb (here) and Motorola drivers (here)
- Download attached archive
- Extract to a directory, I used c:\Droid2Root
- Make sure you have USB degugging enabled
- Change connection to PC Mode

Process:
- Open command prompt
- cd c:/wherever-your-sdk-tools-folder-is
- adb devices (to verify the connection)
- cd c:/Droid2Root
- adb push Superuser.apk /sdcard/Superuser.apk

..and at that last line it just displays a list of adb commands?
[Droid 2 Android Development] jerseyh22accord:
Yepp

It starts with Android Debug Bridge version 1.0.26 and like 40-50ish lines later it ends
[Droid 2 Android Development] KnightCrusader:
I don't know if it is the formatting but it looks like your "adb push superuser.apk/sdcard/superuser.apk" line is ran together. There needs to be a space between superuser.apk and /sdcard/superuser.apk. Without the destination I guess ADB doesn't know what is going on.
[Droid 2 Android Development] karnovaran:
This.

Just copy the commands from here so you don't have any typos. To paste in the command window, you must right click and select paste.
[Droid 2 Android Development] michael573114:
Well yes, because the arguments for "adb push" are the source and destination files/paths. Of course you need a space seperating them. This is demonstrated in that "whole list of adb commands" it printed out.
[Droid 2 Android Development] sky0401:
NO i got stop on "mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system" permission denied cant do nothing cant even go back now ....help please
[Droid 2 Android Development] bpm1994:
Thanks Works Great

if it does not return you to c:/Droid2Root restart ur phone and try again that fixed it for me
[Droid 2 Android Development] netpeer:
][/QUOTE]

This thing does not work.

Initially I got stuck @ cp the files from the sdcard to the /system folder..It was saying can't find the files...While doing ls /mnt/sdcard it showed no files...So I rebooted the phone cause it was going slow...I need to say that first time I did get #

Second time did all again but now I dont get a # prompt...

What could be wrong?

I will just wait for the GUI version.

Thanks.
[Droid 2 Android Development] jerseyh22accord:
I am posting from my rooted droid2. Thanks for your help and for rooting the droid2 in the first place
[Droid 2 Android Development] KnightCrusader:
Yeah I had it not work the first time either. I didn't realize I had to kill the adb server from Task Manager before running adb shell again.

Rebooting the phone and trying again allowed me to do it as well.
[Droid 2 Android Development] karnovaran:
Did you have the # prompt?
[Droid 2 Android Development] Icebluemale30:
So Now i guess if i get a droid 2 as a replacement for my droid 1 i don't have too much to worry about thanks guys ......!
[Droid 2 Android Development] metman87:
Works great

Never rooted an Android device before. Barely even use command prompt but followed the directions and it worked like a charm. Now I'm tethering to my iPad through Barnacle and I can stop wasting 20 bucks a month.
[Droid 2 Android Development] netpeer:
This thing does not work.

Initially I got stuck @ cp the files from the sdcard to the /system folder..It was saying can't find the files...While doing ls /mnt/sdcard it showed no files...So I rebooted the phone cause it was going slow...I need to say that first time I did get #

Second time did all again but now I dont get a # prompt...

What could be wrong?

I will just wait for the GUI version.

Thanks.[/QUOTE]

EDIT: This thing DOES work! Wooo...
[Droid 2 Android Development] kmcferrin:
Anyone know where I can get 64-bit Motorola drivers? I haven't had a 32-bit box in the house for years.
[Droid 2 Android Development] dragoniusFUZE:
n00b here, verifying this root does work. :)
[Droid 2 Android Development] alextrox69:
wow droid 2 gets rooted before 2.2 evo..smh
[Droid 2 Android Development] nrmerritt:
Thank You!!

Achieved root in less than 3 minutes..1st try didn't work but after I rebooted the phone it was smooth sailing.

Barnacle Tether installed

Set_CPU installed

Linpack score 14.224 with Set_CPU on performance scaling.

nice!
[Droid 2 Android Development] wsfanatic:
64-bit Motorola drivers

"motorola."com/consumers/v/index.jsp?vgnextoid=bda09ec8009a0210VgnVCM1000008806b00aRCRD

New user: remove the quotes around motorola

Worked like a charm after remounting.
[Droid 2 Android Development] eleventy:
Also, remove the space near the end of the URL.
[Droid 2 Android Development] n0m0n:
How do you unroot if there is a issue requiring me to return, exchange the device?

Thanks
[Droid 2 Android Development] eleventy:
LOL, my root was delayed waiting on my D2 to finish its daily "freeze for five minutes and reboot" routine. This piece of junk is about as stable as old dynamite.
[Droid 2 Android Development] nrmerritt:
I would install Titanium Backup and make sure it works successfully before removing any verizon scumware.. just a thought.
[Droid 2 Android Development] djh816:
might think about making the credit the first part of your post. many other blogs are saying it was xda-dev and it would be good to get sebastian the attention he deserves
[Droid 2 Android Development] SangYuP:
EDIT: This thing DOES work! Wooo...[/QUOTE]

what did you do to fix it? I'm having the same issue as you...now I'm not getting the # prompt....
[Droid 2 Android Development] jerseyh22accord:
hxxp://handheld.softpedia.com/progDownload/Motorola-Handset-USB-Driver-for-Windows-64-bit-Download-38124.html

64 bit driver^

Screenshots, the app i used apparently sucks since it changed my reds to blue. But you can still what it all is:
[Droid 2 Android Development] karnovaran:
We should have an sbf soon.. that will let us restore completely.
[Droid 2 Android Development] karnovaran:
Good call, moved. I think blogs will always say xda anyhow, but Sebastian definitely deserves all the credit. I donated to him this afternoon.
[Droid 2 Android Development] jerseyh22accord:
Even if the sbf takes some time, im sure an app for one click root will come out in a day or two and follow soon behind with a unroot feature on them
[Droid 2 Android Development] Captainkrtek:
Great to hear its been rooted :) hope the issues get worked out
[Droid 2 Android Development] nuker688:
Thanks for the root, just wish I would have checked here before I just grabbed the zip from the blog and figured out the mountpoints the hard way. One step closer to getting that bloatware bs off my phone!
[Droid 2 Android Development] eleventy:
Worked for me on the second try.

The first time around, I only got the $ prompt, not the # prompt. After a reboot and another try, I got the # prompt.

I uninstalled the totally annoying Moto consumer drivers; on every connect, it opened some useless VCAST page with audio in my browser. Whoever greenlit that idea needs to be beaten senseless.
[Droid 2 Android Development] hydrogenman:
until there's a recovery I'd wait it out if I were you since you have no clue what you're doing

too easy to brick something...wait for a recovery or a 1 click root app
[Droid 2 Android Development] eglimpse:
Still "Read-only" file system error after I mount

I've tried five times and still no luck... :(

Or does it mount. It repeats my command and doesn't present an error, but does show me a short list of mounting parameters.
[Droid 2 Android Development] jerseyh22accord:
reading > you

ive been rooted for like 7 hours now

im a quick learner

and that problem was from me not seeing i had to download the op's archive file
[Droid 2 Android Development] nemesis000000:
Setup:

- Install adb (here) and Motorola drivers for windows(32-bit or 64-bit)

- Download attached archive

- Extract to a directory, I used c:\Droid2Root

- Make sure you have USB degugging enabled

- Change connection to PC Mode

Process:

- Open command prompt

- cd c:/wherever-your-sdk-tools-folder-is

- adb devices (to verify the connection)

- cd c:/Droid2Root

- adb push Superuser.apk /sdcard/Superuser.apk

- adb push su /sdcard/su

- adb push busybox /sdcard/busybox

- adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage-arm5.bin

- adb shell

- cd data/local/tmp

- chmod 0755 rageagainstthecage-arm5.bin

- ./rageagainstthecage-arm5.bin

- let the process run until it returns you to c:/Droid2Root (be patient, but may need to reboot the phone)

- cd c:/wherever-your-sdk-tools-folder-is

- adb devices (to verify the connection)

- 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

is this is the correct order?? can someone please confirm?

shouldnt there be adb shell after the following steps: ?

- Open command prompt

- cd c:/wherever-your-sdk-tools-folder-is

- adb devices (to verify the connection)

*adb shell* <=

should this be done prior to the following: ?

- mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system

<=this one as well

- cd c:/Droid2Root

- adb push Superuser.apk /sdcard/Superuser.apk

- adb push su /sdcard/su

- adb push busybox /sdcard/busybox

- adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage-arm5.bin

- adb shell

- cd data/local/tmp

- chmod 0755 rageagainstthecage-arm5.bin

- ./rageagainstthecage-arm5.bin

im confused someone please shed some light
[Droid 2 Android Development] wsfanatic:
Agreed but you can right click the Moto logo in the taskbar and change the connection setting to do nothing.
[Droid 2 Android Development] jerseyh22accord:
no because its copying them to the sd card not the system yet, trust me do what it says and it will work
[Droid 2 Android Development] nemesis000000:
cant i just copy/paste via windows instead of command prompt? its not letting me "push" as stated in the initial steps...
[Droid 2 Android Development] micrane:
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system

permission denied? anyone else? after adb shell i get a $
[Droid 2 Android Development] thelolotov:
I agree, although they are obviously already senseless. -_-
[Droid 2 Android Development] greg25:
How do I do this on a Mac?
[Droid 2 Android Development] debaucher:
works on DroidX 2.2 as well

Hello everyone.

I was pointed to this thread by another site as a way to get root on a DroidX with the 2.2 leaked update installed.

I followed the 1st post and everything works great.

I never rooted my DroidX before (not even on 2.1) as I did not need it, but found myself needing wifi tether today and was pointed to this thread so I gave it a go.

I had no problems (other than the normal initial install of the sdk, getting adb path added etc.)

Just wanted to give my thanks to everyone who was involved in this from the development to the person who pointed me to the thread.

D.
[Droid 2 Android Development] kageurufu:
Worked great, now I need to figure out what all I can do with root until recovery comes out :)
[Droid 2 Android Development] jerseyh22accord:
id guess wait for the one click method, should be out within the next few days
[Droid 2 Android Development] greg25:
How do I do this on a Mac? I am lost
[Droid 2 Android Development] bigred41x5:
Stuck

Ok so I have the # sign, but when i get to the step that says "cp /sdcard/Superuser.apk /system/app/Superuser.apk" I get "cp: /system/app/Superuser.apk: Read-only file system"

so whats the deal? is it in the "mount -o re,remount -t ext3 /dev/block/mmcblk1p21/system" step?

please help!
[Droid 2 Android Development] djh816:
you will get permission denied unless you have root which is designated by the # sign. You probably either didn't wait fully for the exploit to kick you out of adb or something else went wrong. you must be at the # prompt to do any mount commands or copying to the system partition.
[Droid 2 Android Development] djh816:
first read up on ghetting the sdk installed on mac so that you have adb. then all you need to do is bring up terminal, type "cd " (note the space) and then drag the unzipped droid2 root folder onto the terminal and hit return. that will change the active directory to the droid2root folder. then just follow all the commands char for char. just be aware that when the exploit says to wait, itll kick you back FIRST to a $ prompt. Still wait until it kicks you out again to another $ prompt and that should be your mac. then you can procede with adb shell and you should have the # sign. after you change to the directory though, it should all be copy and paste.
[Droid 2 Android Development] rdmerck:
Rooted the old lady's D2 in 5 minutes, thanks!
[Droid 2 Android Development] fungflex:
I know my own limitations so I won't be jumping on this....yet! As soon as the stock .sbf is settled, a recovery is prepared, and this is more streamlined so I don't need SDK tools or ADB to install I will be all over it.

Thanks a million guys! I am super excited seeing that the first crucial step to everything above has started. My stupid droid 2 work phone is on the verge of being way way way way better.
[Droid 2 Android Development] ITGuy11:
Just manually rooted the D2 in 10 minutes. Thanks a million!
[Droid 2 Android Development] Jedidroid:
I must be losing my computer touch, but I tried and I'm really lost. I can't get past this step:

Process:

- Open command prompt

- cd c:/wherever-your-sdk-tools-folder-is

- adb devices (to verify the connection)

- cd c:/Droid2Root

When I type adb my cmd prompt says the command is not recognized. I must doing something wrong. I have downloaded the sdk tool and extracted, I already have the motorola drives and I got the droid2root extracted. I really need a simpler step by step walkthrough.
[Droid 2 Android Development] nbpfit07:
I put the Android SDK folder on the root of my hard drive (and renamed it AndroidSDK so it was easier to type), and what you want to do is copy and paste all of the files that you unzipped from the first post and place them in the tools folder under the AndroidSDK folder. Now navigate there with cmd prompt (mine looks like this cd C:\AndroidSDK\tools) and then type in adb devices. You should see your phone there.
[Droid 2 Android Development] BPMOmega:
Evening, newbie to the world of Android here (switched to Verzion on 8/1 and got a Droid, which I then traded in for a Droid 2 once it became available), and I've been having difficulties with trying to root my Droid 2.

I've followed the instructions to a "T", but I'm having issues with getting # user when I use adb shell. It always comes up as $ user, and I know I can't proceed without #.

I don't know if it's an issue or not, but... I can't help but wonder if there's been an issue with copying over rageagainstthecage-arm5.bin. See, the first three files in the /Droid2Root/ directory are copied to the SD card, and that last file is copied onto the device itself. Looking through Astro, I see the first three files in the root of the SD card, but I can't see the last file to where it gets pushed to (/data/local/tmp/). /data/ always appears as empty to me. Maybe that's normal for it to not being visible? I don't know.

I mean, when I do the next step (shell, cd, chmod, ./rageagainstthecage-arm5.bin), I guess it runs as it should? I get the notification in the command prompt about it rebooting and whatnot, then get back to c:/Droid2Root/, but then when I shell into again, I'm still $, not #.

I've tried running this several times. I've tried killing adb.exe and rebooting the phone (either with the power button's menu or with removing the battery), and no resolution yet.

Am I missing something here?

I'm on Windows 7 64-bit, if that makes a difference (and, yes, I've installed the 64-bit drivers).
[Droid 2 Android Development] eleventy:
I'm not sure, BPMOmega. I was in the same situation as you (Win7 x64), but got the root prompt on the second try. I was not running cmd.exe as administrator, either.

Between tries, I did issue these ADB commands:

adb reboot

adb kill-server

Keep trying, perhaps varying your method or timing.
[Droid 2 Android Development] nbpfit07:
/Removed//
[Droid 2 Android Development] djisia87:
it works perfect!

thx
[Droid 2 Android Development] BPMOmega:
Okay then... nevermind. Looks like I DID manage to get the right permissions after another go. I guess 10th time's the charm?

@Eleventy:

Hm, I wonder if that was my issue... originally, I was running the Command Prompt as administrator, but then I launched it normally, and THEN it worked fine.

All's good now.

Oh, a question:

While I'll wait for the sbf before tampering with anything, how would I go about removing the preinstalled junk? And aside from wifi tethering, any other recommended things I could do now my phone's rooted?

And any chance of replacing the Moto UI with the stock Android UI? Personally, I much prefer the style of vanilla Android.