yashsingh1/xdaforums huggingface dataset:
[Droid 2 Android Development] jsparx:
Hey, I'm new to droid, used to work on Roms for Touch Pro 2

So the problem I'm currently having is that the motorola drivers no longer come with an EXE - just an INF file. When windows detects the new device, it fails to install from the web or if you directly point it to these files.

Now, my issue may be due to the fact I'm running a D2G.....any ideas? Without a valid USB connection, I can't root!

*** EDIT ***

Found drivers that work......but when running the doroot.bat, it just hangs at "Checking for devices....."
[Droid 2 Android Development] darkonion:
You need to make sure your phone is in PC Mode or Charge Only with USB Debugging enabled. If you don't see that USB debugging icon in the notification thing, it won't run. You have several options ot get the script to run. Unplug your phone or plug it back in, change from pc mode to charge only or vice-versa, or disable usb debugging and enable it again or any combination of these things.
[Droid 2 Android Development] mamanicolosi:
I am having the same problem as jsparx. I have a D2G, and am caught up on the same command. I have tried toggling between PC mode and Charge only. The Charge only mode is where the debugging icon shows up, so I went in and turned it off, then turned it back on. Still nothing. Tried unplugging the phone and plugging it back into the USB port and still nothing. I even tried pulling the battery out and putting it back in.

Am I doing something wrong? I followed the other steps to a T. Could it be the D2G is different from the D2??

Hopefully I gave enough information. This is my first android phone, I've had Blackberries for years. I love the phone, except for the battery loss, which is one of the main reasons I am trying to root in the first place.

Please help! :confused:
[Droid 2 Android Development] jjq224:
Gingerbread?

OK, I don't know if anyone out there will be able to answer this yet, but I'm going to ask.

I have the R2-D2 Droid 2 phone. I was leery about rooting it, but finally broke down and did so using this method - but all I've changed is the boot logo (to the Death Star) and installed the wireless tether.

I have read on the boards that the new OTA Gingerbread update may cause issues with rooted phones. I've also read that OTA updates unroot the phone as well. So my question is this - should I be worried about my phone becoming a brick with the new update? I spent a lot of time convincing the wife to let me buy the phone and, other than the boot logo, would like to keep it stock.

Or is there some way I can unroot the phone, get the update and reroot the phone - again, without having a brick.

Any help would be GREATLY appreciated. Thanks! :D
[Droid 2 Android Development] astrosoup:
Not having any luck.. I've tried other root methods and got stuck as well, so maybe I'm just not meant to root my Droid 2, but I'd really like this brand new phone to stay powered for a full day while I am traveling in India, away from accessible power outlets.

As of right now, it will only enable usb debugging in Charge Mode. When I run doroot.bat, after:

"we also accept donations"

it posts "adb connection will be reset. restart adb server on desktop and re-login."

Reconnecting in 20 sec...

* daemon not running. starting it now "

* daemon started successfully *

Checking for device...

-and it never proceeds beyond this. i can unplug the phone, enable/disable debugging, switch modes etc. to no avail. If I close cmd and run the .bat again, all it posts is "Checking for device..."

I have to reboot the phone to get it to find it again.

I am running Windows 7 Ultimate. If I try to run the .bat as administrator I get "'adb' is not recognized as an internal or external command, operable program or batch file." This happens even if I set adb.exe to administrator privileges.

Thanks for all the hard work on this script, now where am I going wrong with it?
[Droid 2 Android Development] miketoasty:
Put the phone in PC mode and make sure USB debugging is enabled. It wont show the icon but it will still be on.

After that just let it run, it can take quite some time (I have heard up to 30 mins) to finish the process.
[Droid 2 Android Development] Driven1978:
Milestone2 rooting problem

Hi. I have the Motorola Milestone 2. Should the droid2 routing process work with this model as well?

I tried it out, but, frequently, on the 2nd "waiting for device" step, nothing happens anymore. The first "waiting for device" sometimes results in a detection, sometimes it doesnt. Doesnt make sense to me. Phone says "connection established" in "debug mode". And im running as Admin as well.

Can this be because the milestone2 is different from the droid2 (IS it?)?

Yes, im a noob ;/.But Id be really happy about a clue what im doing wrong.

Greetz,

JJ
[Droid 2 Android Development] james.jones:
***warning-keylogger trojan root program***

My passwords to my email accounts, facebook, credit cards, bank accounts, payroll and files on my phone has been accessed and/or tampered with. It happened 2 weeks after I downloaded the z4root application.

This root program has a hidden trojan keylogger program. DO NOT DOWNLOAD and delete it if you have it!!!
[Droid 2 Android Development] vinceroe:
god please help!

Been working on this for like 6 hrs the past 2 days! I downloaded the sdk, ran the sdk manager and did ALL of the archives and updates i could. when i go to device manager it shows the mot composite adb but not my device.....however my computer shows my device as a removable device but the device manager is not showing with the mot composite adb.

Then when I am in command prompt right away when i go to type" adb devices" it says that " it is not a recognized internal or external command"

Did the whole droid2root .rar and unrared it. afterwards deleted the unrar program to clear up space on the hard drive renamed it droid2, put it in the tools folder under sdk. I am not a hardcore hacker at all but I am good with instructions and can usually figure things out if I am pointed in the right direction .....I am starting to get obsessed over figuring this thing out!! someone please slap me up side the head and let me know what I can do to correct this please.
[Droid 2 Android Development] darkonion:
If you are on Windows, just download the Windows 2.1.4 version or whatever the latest it, drag, drop, run doroot.bat.
[Droid 2 Android Development] Driven1978:
Im having exactly the same Problem with my Milestone2. Anyone please help!

BTW: Droid2=Milestone2? Same rooting process?
[Droid 2 Android Development] emerica243:
Same problem here as well..DX 2.2.1... Most people say they reroot using Z4root, some have problems with that not working, including my self, i tried this again, and having samwe problem asl isted here.
[Droid 2 Android Development] darkonion:
How long do you guys wait for it to reconnect?

I haven't had any problems on my D2 on 2.3.20.
[Droid 2 Android Development] msanto:
Sadly

the Gmail update Google posted today force closes every time i try to send an email with the root in place. Too bad, it's a great update. Great enough for me to remove the root.
[Droid 2 Android Development] mamanicolosi:
@darkonion

I've waited about an hour at my longest for the phone to reboot. And nothing happens.

Could it really take longer than that??
[Droid 2 Android Development] darkonion:
I doubt it. You guys should probably try another root method like z4root.
[Droid 2 Android Development] mamanicolosi:
They took it out of the market and I can't find links for it anywhere.

I feel really stupid cause I came from a BB and I could basically get it to do whatever I wanted. I love my D2G, the only reason I was looking to root was to improve my battery life.

Hopefully I'll figure something out soon!:p
[Droid 2 Android Development] darkonion:
http://www.youtube.com/watch?v=DC8v2SZXpw8

Links are in the comment box.
[Droid 2 Android Development] darkonion:
I don't see why you can't. You can try this or z4root.
[Droid 2 Android Development] Aaron1017:
It connects, pushes files, and runs rageagainstthecage. ADB disconnects, but NEVER reconnects.

Going to try the on the phone method.
[Droid 2 Android Development] darkonion:
Sounds like this is a new common error.
[Droid 2 Android Development] darkonion:
Probably going to need to try the z4root method.

http://www.youtube.com/watch?v=DC8v2SZXpw8
[Droid 2 Android Development] mamanicolosi:
Thank you so much! Finally was able to have some time to download everything and make it work.

Rooting didn't work the first time, but I pulled the battery and ran it again, and it took less than 5 minutes and worked! I have a Droid 2 G.

Now I have to figure out what to do with it once it's rooted...:confused:

The main reason I did it was to make the battery last longer and get rid of all these apps I don't use. I'll have to look around the forums on some advice.
[Droid 2 Android Development] Cerinin:
Tried running the Linux script on a Droid X running Android 2.2.1.

The script gets to the "Checking for devices..." message, but then hangs indefinitely. I waited for 10 minutes, until it became obvious my phone wasn't going to reconnect. So I rebooted my phone, at which point the script continued, but reported "The exploit failed. Do you want to try again?"

:::sigh:::
[Droid 2 Android Development] unknown2212:
hello,

I have the Droid 2 Global, and I wonder if this soft can work on Droid 2 global?

Also I dont know what is "chmod (change permission) of the .sh file" that darkonion said in the first post. Can someone explain it more detail for me ? Thanks
[Droid 2 Android Development] The Great NY:
does anyone have the Z4root apk? i just brought my GF the D2G. and i want to root it for her. anyone have the file? i been searching but havent found the APK for this.

thanks ahead of time.

EDIT:

i think i have it now. i just downloaded version 1.3. is that the latest?
[Droid 2 Android Development] newk8600:
chmod like you said changes permissions. 755 is who and what to change them too. The 7 is read, write and execute and the 5's are read and write. The placement determines who gets those permissions. The first digit is the owner's permissions, the second the groups permissions and the third is anybody else's permissions.

So chmod 755 means owner gets read,write and execute, group gets read and write, and world (everyone else) gets read and write permissions.
[Droid 2 Android Development] Music_Ian:
Backing up phone before root

Is it necessary to back up my apps or files before I root, or when I unroot will I be back to the exact same settings as before I rooted?
[Droid 2 Android Development] darkonion:
No need really. And unrooting your phone will just be unrooting your phone. It is kind of like an on/off switch. Either you are rooted, or you aren't.
[Droid 2 Android Development] OfficeLinebacker:
I'm on Verizon in the States and I've been getting notice that I got a 2.3 update. I keep putting it off. What's the best course of action here? Should I unroot, upgrade, and reroot (what are the benefits of the upgrade?)?

Or should I stick with what I have? If so, how do I silence the prompts?
[Droid 2 Android Development] atraitees:
I used the windows one click root method and I have root, however my droid 2 will not boot to CW recovery from ROM Manager.

I have scanned this thread and did not see an answer..

Thanks for all of your hard work!
[Droid 2 Android Development] Onelifeonly:
im trying to root my droid 2 with 2.3.20 and its saying adb is not recognized as an internal or external command operable program or batch file, can anybody help me with this?
[Droid 2 Android Development] darkonion:
ROM Manager doesn't work with Droid 2, at least I don't think so. You need to use Droid 2 Bootstrap by Koush.
[Droid 2 Android Development] darkonion:
You didn't extract the whole folder. You are running the script inside the compressed file. It won't run. See the video for more information. If that doesn't work, consider trying the Z4root method.
[Droid 2 Android Development] darkonion:
It doesn't hurt to unroot then root, and you should definitely do that to avoid possible problems.

Keep in mind that system versions (2.3.20) and Android versions (2.2 or 2.2.1) are two totally separate things.
[Droid 2 Android Development] wickedwheels:
worked great for me. I now have wifi tethering.

Thank you!!!
[Droid 2 Android Development] Onelifeonly:
i did exactly what you did in your video, i tried the Z4root method and the screen just stays still for over 10 mins doing nothing
[Droid 2 Android Development] darkonion:
If you want to try the script method, re-download and rerun.

As for Z4Root, try running it again. Everything depends on the exploit. There is a chance that the exploit fails.
[Droid 2 Android Development] armerc:
darkonion, first let me say thanks; i read through all these posts looking for my solution, and although, i am still not rooted, i appreciate your work.

I am running windows 7 (have tried both my desktop and laptop)

I have tried two different cables.

The issue that i have, is similar to a few others listed here.

I can reboot my phone and have it be detected, but after the the exploit runs and the adb connection is reset, my machines are never able to redetect the phone. no combination of switching usb modes (pc/charge only) and combining with enabling usb debug modes as well allow it to be detected. so i am not sure whats going on, but i am looking at putting ubunto linix on a box somewhere to try that.

funny thing is i tried the z4root. downloaded it and ran it. When trying temporary or permanent root, it trys for a bit, then takes me back to the development settings telling me to enable usb debugging. unfortunaly, it already has been enabled. so thats not working for me either

Running system version: 2.3.340.MB810.verizon.en.us

model: droid x

android version: 2.2.1

motorola usb drivers 4.8.0

thanks

any additional comments or help are appreciated.
[Droid 2 Android Development] darkonion:
I am still trying to figure out what the deal is with the DX and D2. For some reason, it won't detect after the exploit. I don't have a DX to test on, so, I am not sure to how to go about it. Yeah... But I hope someone finds a solution soon.
[Droid 2 Android Development] vampireincubi:
Keeping in Mind

Is there a different root process for 2.3.20 ? If so could someone point(possibly link) me in the right direction?
[Droid 2 Android Development] darkonion:
Use this method, or method I posted in the post prior to your's. You can use this method to root your D2.
[Droid 2 Android Development] vampireincubi:
just to be positive

i want to be sure b4 i possibly do the wrong process. by "this method" you mean the one @the beginning of this thread, correct?

also the post prior to mine does not have an actual method aside from mentioning to unroot and reroot. i have all of the files for unrooting saved and am ready for that. i just wanted to be sure that 2.3 could be rooted and if by the 'Easier 1-2-3 Droid 2 Root" method.

thanx for your help :D
[Droid 2 Android Development] darkonion:
Yes. Post #1. The Z4root version is one of my previous post a little prior to your post.
[Droid 2 Android Development] cdenney:
Script Hang up

Its getting stuck for me in one of two places. Either right at the start up, it says Checking for Devices...

and then never continues, or if it makes it past that (restarting the phone sometimes helps) it gets to the following sequence:

[*]adb connection will be reset. restart adb server on desktop and re-login.

Reconnecting in 20 sec...

* server not running *

Checking for devvice...

and then never goes on from there again. As you can see both issues seem to be with finding the device. I am not sure why.

I have a Motorola Droid 2 global running stock everything on Verizon.

Like I said, restarting the phone sometimes helps it get past the first hangup but nothing I have tried seem to help the second one.

Thanks.

-edit-

Seems like a lot of people have had the same issue with no fix, so I guess I will just try the non-1 step process.
[Droid 2 Android Development] darkonion:
Try the Z4Root method.

http://www.youtube.com/watch?v=DC8v2SZXpw8
[Droid 2 Android Development] stoochie:
I just purchased a Droid 2 (Motorola A956). I've tried rooting it both with the easy 1 click script both on Mac and PC with absolutely no luck. I get stuck on both platforms when the script is checking for devices. Sometimes its at the first device check sometimes after adb is started. When I run adb devices nothing is listed! Any ideas? I'm experienced with both OSes but not with programming.
[Droid 2 Android Development] facelessuser:
A lot of people have been having issues recently. I am going to update my Droid 2 and test the scripts sometime soon. I have been busy with other non-android related projects and haven't had time.

Since no devices are listed, are you sure you have debugging enabled? Did you install the motorola drivers on windows? Mac needs no drivers. The script will not work if it cannot find your device (I realize this is probably obvious).

The problem is, I haven't had to reroot my phone for a while, so I am not sure if new issues have cropped up with later firmware versions. I will try to test it again soon with the latest Moto Firmware.
[Droid 2 Android Development] aislen:
Just asking, Im owner of european version of this phone and I wonder if this tutorial can be used to root motorola milestone 2?
[Droid 2 Android Development] darkonion:
I've heard it to work, but I don't know for sure honestly.

-Kevin
[Droid 2 Android Development] jugglervr:
Also no go on recognizing the device. I hang at the same place as everyone else.

DroidX

2.3.340.MB810

v2.2.1

however, z4root 1.3 did it after much gnashing of teeth and bunches of reboots. ;)

thanks, though! love the droid community.
[Droid 2 Android Development] brainwrek:
I keep hanging on "adb connection will be reset. Restart adb server on desktop and re-login.

4th attempt on a Droid 2.

Any suggestions?

Thanks for the hard work!

Also got another message:

Could not kill pid 26117: no such process

any idea what that is?
[Droid 2 Android Development] JoVaPa:
Worked like a charm. Thank you so much for making my first Root experience so easy and painless. :)
[Droid 2 Android Development] pjforshort:
4th try, error 5

Please help- I'm sorry I don't know what I'm doing- not sorry I'm on Mc OS 10.6.5. Verizon Droid, Android 2.21. Ran dorootv3, here is the end of the Terminal session. Happy to donate if you can get me rooted so I can tether to my iPad!

Thanks!

Pj

Checking for devices...

List of devices attached

0403853C0201601E	device

Transfering payload.

-->Superuser.apk

583 KB/s (27688 bytes in 0.046s)

-->su

909 KB/s (26248 bytes in 0.028s)

-->busybox

2380 KB/s (1926874 bytes in 0.790s)

-->rageagainstthecage-arm5.bin

163 KB/s (5392 bytes in 0.032s)

It appears you have an ADB session with root. Skipping exploit.

Remounting system as RW

Copying files to system.

-->Superuser.apk

Remounting system as RO

ERROR 05: Failed to copy Superuser.apk.

Rooting failed.
[Droid 2 Android Development] darkonion:
Looks like the exploit failed. You are doing everything right. Sometimes the exploit fails. Probability is low, but it does happen. Do everything you did and run it again. If it fails, run it two or three times. If that doesn't work, then you might have to try this method.

http://www.kimete.com/z4root.html
[Droid 2 Android Development] shadowfox66:
help me please

so, as a curiosity question, what can i do to unroot my phone if it wont go past the standard boot logo, i used the LCD Density Changer after a successful root and now i cannot go past the Motorola log (M). when that is gone i am stuck at a screen of pure blackness and my battery drains fast. i really am wondering if the Droid 2 supports a density change and how i can counteract it if it doesnt. please help me :confused: i really need this to work, its my 4th phone in a year
[Droid 2 Android Development] TRB01:
Hello,

I cant seem to get my new Droid 2 Global to go into USB Debugging mode while the USB mode is set to PC. If I change to USB Mass Storage or Charge Only, I see a new icon on the top bar telling me USB Debugging is on, but not when in PC mode.

Anyone know what I should do about this?

EDIT: z4root also fails because of this problem. I will try putting the phone into charge mode while doing z4root and see if that works. But this is definitely a problem for those doing the one-click root from the PC.

EDit 2: Even in charge mode, with the debugging mode icon present, z4root still says im not in debugging mode. The checkbox is definitely checked for debugging, and I've unchecked and rechecked many times and still it says Im not in debug mode.

EDIT 3: After a few restarts and fiddling I finally got z4root to do its thing, but now it just says:

Bootloader

D0.11

Battery OK

OK to Program

Transfer Mode:

USB
[Droid 2 Android Development] draexo:
Wow. I have no idea. It worked for me and I have a Droid 2 Global.

Have you ever rebooted the phone with Shift-Alt-Del keys? Sometimes when things get quirky a reboot will do the trick.

You are on 2.2 (Froyo)?
[Droid 2 Android Development] TRB01:
Havent tried that yet. Finally got z4root to do its thing but it just let to a bootloader screen and didnt do anything from there. Going to try it again now.

EDIT: Ah ha running again and now the z4root is doing its thing for real. It aquired a root shell and rebooted my phone. Think its going to work this time.

EDIT2: Yay it rooted. Sweet.
[Droid 2 Android Development] NavFlyer:
stuck in bootloader mode

I am in serious panic mode, now. I have been trying repetitively to get this phone rooted and then after reboot, it loads the motorla icon and then displays Bootloader DO.11.

Battery OK

OK to program

Transfer Mode:

USB

Somebody please Help!
[Droid 2 Android Development] draexo:
I can not help you but I would suggest your try Droid Rescue Squad.

Apparently I can not post links in the forums so you will need to google the term "droid rescue squad". It is hosted on droidforums.net.
[Droid 2 Android Development] eparham:
I keep getting stuck at the point where it says:

* daemon not running. starting it now *

* daemon started successfully *

Checking for device...

It has been sitting at that point for about 20 minutes. What should I do?
[Droid 2 Android Development] darkonion:
Try toggling between different modes. If that still doesn't work, toggle between modes and turn off, then turn on USB debugging.
[Droid 2 Android Development] eparham:
Still not working...Gonna have to try this again tomorrow I think. Thanks though.
[Droid 2 Android Development] darkonion:
Time to move onto Z4Root method.

http://www.kimete.com/z4root.html
[Droid 2 Android Development] erikd-m3ga:
I'm on Debian Linux (x86_64) and trying to root a brand new Motorola Droid2 Global. I'm following this:

Everything goes fine until this:

Checking for devices...

List of devices attached
015ED1E715007016 device

The exploit failed. Do you want to try again?

If I try again it fails on

Checking for devices...

Only way to get adb talking to the the phone again is to reboot the phone. WHen the phone boots I still don't have root.

Clues?
[Droid 2 Android Development] eparham:
z4root worked like a charm
[Droid 2 Android Development] darkonion:
Keep running it. You are on the right track. Just exit the console and run it again. If that fails, check a few posts up from yours and do the Z4Root method.
[Droid 2 Android Development] Iced98lx:
Thanks!

Just got a brand new R2D2 Droid 2 and this was so fast and easy, it was awesome!
[Droid 2 Android Development] nixternal:
I followed the steps, everything seemed to go as it should have. I tried the 'Root Check' app from the market and it showed that it was rooted, however it said there was a failure with busybox. I did the z4root route and both root and busybox checked OK.

On my Eris, rooting seemed a bit simpler, and one thing I didn't have to do with commands like whoami, find, and grep, was prepend the commands with busybox.

ie:

$ busybox whoami

$ busybox grep -ri 'foobar' *