yashsingh1/xdaforums huggingface dataset:
[Droid 2 Android Development] mda2512:
Newbie here. droid 2. Rooted with the 1 click method. Everything was working well until a few days ago when I noticed my phone will not hold a data connection. The "3G" label is gone. When I connect to my home wifi - it holds the signal, but then when the screen blanks out, it seems to turn off. I am using performance mode in battery setting, I have push data on, and background data on. I also have roaming data checked.

Any ideas? Should I run the process again?
[Droid 2 Android Development] facelessuser:
Root does not affect phone performance. Rerooting will make no difference. The question I would ask is "have you done anything to your phone since rooting?"
[Droid 2 Android Development] fidleronthegreen:
Droid X

Hello newb here trying to get the 123 root done using mac.

I followed all the steps and it says I'm rooted on the screen and then I exit but my phone is not rooted when I try wireless teether. I' wondering if using OS X tiger is the issue, or am I missing something? My mac doesn't see that my Droid is plugged in I'm not sure if that's normal? Anyone with any advice it would be great to hear it. Do I have to unplug my phone before I try, or do I need to reboot after I root? Why is the sky blue? So many questions such a little brain.
[Droid 2 Android Development] facelessuser:
I am going to need much more info. If it says your rooted, you should be rooted. What version of the Mac script did you download, what was where there any errors on the screen when you ran the script. Why do you think you are not rooted? Does root work with other applications?
[Droid 2 Android Development] 8wrlobo:
well i used the one click method...having owned a smartphone for about a week total, and i can say it was easy, fast, and awesome. wifi tethering FTW!

i did get a hangup in the rooting process, during which i just unplugged my phone, rebooted it, and tried it again and it worked fine. hell, figuring out how to backup the phone took longer than rooting it.

that said, i also get the occasional complete 3g hangup/shutdown...which i never got before rooting. so far it has fixed itself by rebooting, but what could it be from? since rooting i have installed wifi tether, clockworkrom, root explorer, droid 2 bootlegger...but i have not flashed any roms.

i did download setCPU from this site, and when i tried to run it, it asked me to run it with clockworkrom, i chose ok, thinking, "yes, my first rom!" but then it just froze with the little android man and the triangle with an exclamation point. i pulled the battery, rebooted, and haven't toyed with any roms at all since. any ideas?
[Droid 2 Android Development] fidleronthegreen:
I'm using dorootv3.sh no there was no errors either. When I go to open wireless teether it says I'm not rooted. What other ways is there to tell if the phone is rooted? Any help would be appreciated thanks.
[Droid 2 Android Development] facelessuser:
setCPU does not work with Droid2. If you are wishing to overclock or underclock, search the forum, I think darkonion has another thread about that. You are the only one I know that has had issues with 3G after rooting. It, more than likely is an issue with your phone. Having access to root in a linux OS is a normal thing. It is just permission to do root level things. It in no way is tied to 3G or any other phone operation.
[Droid 2 Android Development] facelessuser:
Maybe a busybox issue, not sure. I would try rebooting the phone. Download terminal emulator from the market. Run it, type "su" without quotes and press enter. Tell me what happens. If the root user app pops up and asks you to accept, then you have root. Then try wireless tether again. If it still fails, maybe you are having a busybox issue. We can fix that if that is your problem.
[Droid 2 Android Development] fidleronthegreen:
Says permission denied
[Droid 2 Android Development] facelessuser:
Hmm. Something somewhere went wrong in rooting.. It is hard for me to say what without more info. I would say try and root again. And if copy the output. If it says you are rooted, and still things don't work, I will need that output.
[Droid 2 Android Development] fidleronthegreen:
Ok I will try again later when I'm home. I can tell what I did so far. I set my phone for charge with USB debugging since pc mode didn't work. Then I open a terminal and typed chmod 0755 with another space then dropped in darootv3 and pressed enter then did it again then it gave me 4 chooses I chose 1 then I try 2 later then said yes to the flu thing then at the end it said I was rooted. I typed exit. I did try rebooting phone few times the phone would freeze trying to reboot but then I did get it working again. But still no root when trying wireless teether. When get home I will try again and copy what it says.
[Droid 2 Android Development] yelsniamcg:
n00b question

Does it matter what version of unrooted android im running before i root it? ive got the motorola ninjablur 2.2 it came with on it right now. can i still use this?
[Droid 2 Android Development] facelessuser:
You should be fine.
[Droid 2 Android Development] drburke:
This method didn't work for me! :( My phone became unrooted...somehow.. so I tried rerooting it on the Mac with option 1 three times and absolutely nothing happens on my phone. It just sits there, idle. The script runs to completion, and tells me it succeeded. What am I doing wrong?
[Droid 2 Android Development] CurlyDE:
Does anyone know if 2.3.20 can be rooted using the same process?
[Droid 2 Android Development] facelessuser:
Probably. It is still based off of Froyo.
[Droid 2 Android Development] facelessuser:
No, you two have different issues. His is complaining about "bus errors". drburke, your's is complaining about "Bad CPU". I would try different cables. If you try different cables and it still does not work, I would do the following:

1. Install SDK. Unzip latest doroot 2.2.1 (not version 3) into <where ever the SDK folder is>/tools. Only unzip these files, they are: doroot.sh, su, superuser.apk, busybox, rageagainstthecage-arm5.bin. Do not include the folder and do not include adb.

2. Navigate to <sdk folder>/tools folder via command line, and enter:

chmod +x doroot.sh

./doroot.sh

If it still gives the same error, then it wasn't the included adb's fault either. It may be your usb on your phone is not working properly.
[Droid 2 Android Development] fidleronthegreen:
Would that be the same for my bus errors problems? I'v tried different cables.
[Droid 2 Android Development] aliaselchore:
awsome ....worked on droid 2 going to try it on droid x............
[Droid 2 Android Development] facelessuser:
Yeah, give it a shot. I am not really sure what is causing your issue.
[Droid 2 Android Development] drburke:
It might have also been the fact that I was on my work computer, on my work network which locked down like a mother. I just did it again on my home computer with a different USB cord, and root works. Thanks!
[Droid 2 Android Development] WaVeS:
Not sure if this is already been posted for the latest update.

How long should I wait for this to work?

I waited 30mins and decided to retry it. It's still telling me "Transferring Payload. --> Superuser.apk"

I'm a little worried considering my phone has been blowing up with texts and emails while this has been going on.
[Droid 2 Android Development] facelessuser:
Hmm. Shouldn't be hanging on Transferring Payload. There are only like 4 small files. Sounds like adb isn't transferring them.
[Droid 2 Android Development] WaVeS:
Doing this with my Droid X.

Well, I've got WinXP, SDK installed and updated in my C:/. I unzipped DoRootWin_2.1.4 directly into the tools folder (C:\android-sdk-windows\tools).

Ran the drivers, device came right up. Switched to Charge Only mode because USB debugging wouldn't show up on the drop down menu. Clicked on doroot.bat and that's where I'm at.

Did I do something wrong in my setup? Should I try PC Mode regardless of Debugging not being on the info bar? It is checked.
[Droid 2 Android Development] facelessuser:
Looks like darkonion already dropped adb and the needed dlls into DorootWin_2.1.4. I think, you can just unzip it anywere and run it from the folder. If you want to try it with the installed SDK, just copy all the files from the folder (except adb and the dll files) to the SDK/tools folder (but don't have them inside the doroot folder inside of the tools folder).

I am not sure if you did anything wrong or not. You can try PC mode, but I think it is usually more reliable with charge only mode. Did you install the Moto drivers?
[Droid 2 Android Development] WaVeS:
Yes Moto Drivers are installed. Are the .dll files with the .zip 2.1.4? or is that a separate download?

Your help is much appreciated.

EDITED:

Switched to a win7 computer. Installed the Moto Drivers on it, then extracted 2.1.4 again. Pluged it in and doroot. Seems to be working so far.

EDIT 2:

Success!
[Droid 2 Android Development] facelessuser:
I think they are in there, I didn't add them yet, but I think darkonion did. Which makes me think you have been using those.
[Droid 2 Android Development] OfficeLinebacker:
This procedure definitely works on a DROID X running the OTA update to Froyo, right?
[Droid 2 Android Development] OfficeLinebacker:
Never mind. The comments on the YouTube video make it clear it's for 2.2.
[Droid 2 Android Development] OfficeLinebacker:
OK I tried it and I failed. I've never rooted something before but I think I know why, and I want to ask before I try again.

I followed the youtube video and when I went to copy the files from the DoRootWin directory, adb.exe and one file wouldn't copy. I figured what the heck so I tried it without. What happened is at the point at 4:17 of the video (I'll copy the URL here: http://www.youtube.com/watch?v=gzlg9a-H42w) it just stops there.

I think what was happening is my adb or whatever was still running and the process was using the file so it couldn't be replaced. Doing it through explorer gave me no diagnostic message, it just stalled, but going to the command prompt gave me that diagnostic message. Windows is so stupid.

So I don't know if I missed the step where I am supposed to terminate some process before continuing, or I did some steps in a slightly different order. The file signatures for those two dlls and the exe are both slightly different so I assume that's the ticket right there.

So I rebooted my computer and all that's happening is my DROID X seems very sluggish. I just want to make sure I'm on the right track and that I shouldn't do something else as well such as reboot the phone, or even if a battery pull would harm the phone.

Also, I was using PC Mode and when I enabled USB debugging on the phone, no extra icon or anything showed up in the notification area.
[Droid 2 Android Development] facelessuser:
The 2.1.4 package already has adb and the dlls it needs. You shouldn't copy over the SDK's adb and dlls. What this means is all you need to do is unzip the zip file anywhere not in the SDK and you can run it from there without needing the SDK.

So, what if adb is running from the SDK folder in memory, and you try to run adb from your local unzipped folder? You will probably have a conflict because the adb server is already running (but in a different location). How to fix this:

- Go to <Sdk folder>/tools via command line.

-adb kill-server

Now go back to <wherever you unzipped the folder> and click doroot.bat.
[Droid 2 Android Development] OfficeLinebacker:
OK so the youtube video is outdated then, because I went back and watched the video and in the video, he copies seven files from the zip file into the /tools folder, then runs doroot from there.

Thanks, I'll try it your way.
[Droid 2 Android Development] OfficeLinebacker:
Sweet. It worked. Thanks, dude.

Someone should make an updated YouTube video.

Now time to go about renaming those stupid bloatware files! Stupid Amazon mp3 BS.

Thanks again.
[Droid 2 Android Development] facelessuser:
Glad we could work through it. Enjoy root.:)
[Droid 2 Android Development] kris7778:
Is this still working on 2.3.20 ?

Is this still working on 2.3.20? This is for a new phone that has never been rooted before.

thanks,

Kris
[Droid 2 Android Development] facelessuser:
Should [10 chars]
[Droid 2 Android Development] darkonion:
Sorry all. Been in and out with school. I did add the adb.exe files for the Windows version. Makes it a little easier and quicker to work with. I'll have to put up a new version of the video when I have time. I'll put it on my list of things to do. As always, it does take time to make the videos and stuff, but I'll see what I can do over the next few days.
[Droid 2 Android Development] zibrah3ed:
Root was hanging at reconnecting adb server after 5 manual ./adb kill-server commands in a separate window it still wouldn't work. Then coincidentally or not I woke up phone and went to the home screen and tried the ./adb kill-server command again and it was successful.

Ubuntu linux 10.10 amd64

SBF'd to 2.3.20 D2

Thank you for this script and the comedy relief contained therein. Much easier than the first time I rooted this beast before this was developed.:D
[Droid 2 Android Development] carnytom:
2.3.20

I'm running 2.3.20 and have done the doroot.. and have done it the long way using Ubuntu. Both ways claim to have rooted it but do not.. I see the superuser.apk uses the su command, I went into terminal emulator and tried to run su and I notice it now tell you that you must run suid.. and of course this gets access denied.. Hope this info is useful for easy rooting of 2.3.20 cause I need mine rooted :)
[Droid 2 Android Development] darkonion:
Uploaded new video on how to Root your phone using Windows.

http://www.youtube.com/watch?v=B7RGVikpQ8o
[Droid 2 Android Development] carnytom:
2.3.20

did root with windows, got same results..

then ran UNROOT with windows. re ran doroot with windows. BINGO I am now rooted.
[Droid 2 Android Development] facelessuser:
Sounds like you had some root remnants, or something. UNROOT probably wiped out the issues allowing you to root. Interesting. Should be deleting problematic files when rooting as well, but maybe not. Maybe I am only doing that on Mac and Linux. I will have to check. Glad you were able to root though.
[Droid 2 Android Development] Scraps1313:
Stuck

Windows XP SP3

Droid2

When running doroot.exe I'm getting stuck after Remounting system as RW

Copying files to system

--->Superuser.apk

failure [: not found

Rooting failed.

ERROR 06: Failed to give proper permissions to su.

Enter exit once to exit terminal.

Any help will be apprieciated.

Thanks.
[Droid 2 Android Development] facelessuser:
Is this phone a root virgin? If not, try the unroot, and then root. Let me know if this fixes the problem.
[Droid 2 Android Development] want a droid:
Love this for re-rooting after sbfing. Thanks dark!
[Droid 2 Android Development] phwlee:
Rooted, running Version 2.2.20.A955 right now.

Verizon sent an OTA option for Version 2.3.20.en.us.

Does anyone know if doing this OTA update will lose root? and any benefit from the update? If I wanted to do the update, would I have to unroot first, do the update and then reroot again?

Thanks in advance.
[Droid 2 Android Development] OfficeLinebacker:
From what I've read on forums around the net it's unroot, upgrade, root. Surprised you didn't see it somewhere yourself. But then again I checked right when the OTA came out, some of those threads might be long buried by now.
[Droid 2 Android Development] phwlee:
Thanks. I unrooted then tried to do the OTA but it didn't work. It would download then when I press update, the phone just reboots into the bootstrap or the rom manager or whatever that ap is that brings you to the black and green lettered screen. I tried a few times but the update didn't work, so I gave up and re-rooted my phone. Maybe there is a way or I missed doing something.
[Droid 2 Android Development] event121:
Not sure if this One Click File is in the first post, but MotoBoy posted it over at TDW: http://www.mydroidworld.com/forums/droid-2-discussion/5321-2-3-20-1-click-root.html

I did essentially what you have here (run doroot). Since the One Click File didn't work when using it to Apply Root. It did extract the files right to my desktop to easily find and run.

For those who want details:

Windows 7 64-bit

Already have Moto Drivers.

Plug in phone. Set to Charge Only (curtain).

Menu > Settings > Applications > Development

Unchecked USB Debugging. Rechecked USB debugging.

Set to PC Mode (curtain).

Downloaded file.

Run file.

*PAY ATTENTION HERE*

Press X and Enter to close.

Open folder "TDFOneClickRoot" (it's on your desktop).

Run doroot (Windows Batch File 18kb).

Watch as the awesomeness of many people hard at work flies by.

Press any key to continue... as needed.

and finally:

REBOOT YOUR PHONE!

SuperUser is installed, up to date, and root access has been achieved.

Thanks again to everyone that made this process EXTREMELY easy. :D
[Droid 2 Android Development] kd7uxg:
Same question here. Is there any reason to accep the OTA update? And what will it do to my rooted droid?
[Droid 2 Android Development] event121:
Reason: http://support.vzw.com/system_update/droid_2.html

What it will do is update your phone. Re-root it with the method contained in Post #1 of this thread about rooting.
[Droid 2 Android Development] BEatMaKeR007:
Question: Will the method to root my Droid 2 as posted at the beginning of this thread (using a Mac) work with the latest OS version 2.3.20.en.US
[Droid 2 Android Development] darkonion:
In theory, it should. I test the Linux version and it ran just fine.
[Droid 2 Android Development] BEatMaKeR007:
Ok, cool! here's the million dollar question though... Was your Droid 2 rooted first on a previous version like 2.2 and then you upgraded the phone to 2.3 from the Verizon upgrade prompt then re-rooted it?

I'm currently on 2.2 on a brand new phone (un-rooted) but have been prompted to upgrade to 2.3. I'm trying to determine if I should do the official upgrade and THEN root my phone.. or root it on 2.2 first (for example, if no root methods work for the 2.3).

See what I'm getting at? Any ideas? Thoughts?
[Droid 2 Android Development] darkonion:
Do the official update then root. Because I think the update takes away root. You'd just be wasting your time by rooting, then updating, then rooting again.

-Kevin
[Droid 2 Android Development] BEatMaKeR007:
Thanks. I'll give that a shot!

ps. I've read some stuff about doing a backup. How can I backup in case I ever have issues and need to go back to factory install later on? And can this be done after a root or only prior?
[Droid 2 Android Development] phwlee:
I can confirm that the 2.3.20 update DOES take root away. But re-rooting is no biggie with the one step now.

I believe you need to root first, then you can make backups using an app like Titanium Backup to your SD card - nandroid backup and save the file on your computer too.
[Droid 2 Android Development] BEatMaKeR007:
Great. Thanks for all the info and sorry for the noob questions. One last one if I may... where can I get this titanium backup app from?
[Droid 2 Android Development] enzojrc:
....yeah the one click or 1-2-3-4 click, none of it roots my D2 after this 2.3 sbf. upgrade.

Help?
[Droid 2 Android Development] darkonion:
Unroot, then root again?
[Droid 2 Android Development] enzojrc:
...Super one Click and dorootwin both say waiting for device....won't get past that prompt
[Droid 2 Android Development] phwlee:
Right from the market.
[Droid 2 Android Development] snakernetb:
Re-rooting after OTA update

So if I am reading this right, and I would like to think I am. I need to unroot my D2 then re-root? I didn't unroot prior to OTA update. Or can I just run the scirpt to re-root this thing. I will be running this on Fedora 14 BTW not winduhs. What is the final answer on doing this?
[Droid 2 Android Development] facelessuser:
It appears it helps to unroot before rooting. The update kills root, but it may leave some remnants behind that will cause rooting some issues. This is why it is always recommended to unroot, OTA, and then root.
[Droid 2 Android Development] snakernetb:
Thanks

Sounds good, I thought about that but had already started the OTA. If I remember correctly the unrooting procedure is on the same page as the one-click solution. This was my first time rooting a Droid. I am no newbie to linux or cli, just never had a true android phone before. I had a backflip, but after using a D2, that in my opinion is a android phone only in name. Thanks for all of your help with this.
[Droid 2 Android Development] facelessuser:
Yes, the actual script does both. If you use darkonions 3.0 wrapper, it is a menu option.

If you just use the root script directly:

Mac & Linux:

./doroot.sh unroot

Windows:

doroot.bat unroot
[Droid 2 Android Development] enzojrc:
So should I assume I am screwed and can't root my device anymore? I did not unroot before I flashed the new full 2.3 from MDW.
[Droid 2 Android Development] darkonion:
Not necessarily. I have tried unrooting then rooting on 2.3.20. Try that first. At least the unroot will clean up the root files on your phone even if you are unrooted.
[Droid 2 Android Development] snakernetb:
No you can re-root

No from my understanding is just try re-rooting. If that doesn't work or hangs then run the script to unroot, and then re-root. Please if I am giving out bad information here then let me know. The previous post shows the commands verbatim.
[Droid 2 Android Development] enzojrc:
lol you are good bro, I have tried to unroot and it says the same message, waiting for device. I have tried unrooting and rooting over and over with Superoneclick and DoRoot and the "2.3" Root from TDR, I think, and none of it can get past the waiting for device.

ugh I am gonna root this thing to my shoe and skate on concrete. I can't live without having my D2 rooted!!! FACTORY SUCKS!!!
[Droid 2 Android Development] snakernetb:
I am assuming since you previously rooted your D2 that you have debugging turned on and it in set to the right usb mode?
[Droid 2 Android Development] enzojrc:
Your assumption is correct sir! :)

I have prior experience jailbraking iPhones and all that mumbo, but now that I am up with the big boys in the Android community, I have taken every step ...well...by step and done it properly, just doesn't seem to want to work for me today.

It must have been that midget I didn't hold the door for the other day. Gotta love karma!
[Droid 2 Android Development] darkonion:
I don't think the root program is the problem. I think the problem is that your computer isn't detecting the phone.

Put your phone in USB Mass Storage mode. Does it show up? What about the other modes?
[Droid 2 Android Development] enzojrc:
See this is where my headache begins! The computer detects it every time I plug it in. In mass storage I can access my sdcard. In PC mode it still shows up....

Idk what the problem is. My computer detects it but it keeps getting stuck on waiting for device.
[Droid 2 Android Development] snakernetb:
Too many updates - The rent is too damn high!

I know I had to set mine to usb mass storage mode to do it. I run, well as of this morning Fedora 14. I just hope the laptop OS upgrade/migration I did last night doesn't cause issues with my eclipse and SDK install. But I have a sneaking suspicion that it will. I will probably have to re-install all of that because I think it compiles it for your kernel.
[Droid 2 Android Development] enzojrc:
It could very well be the phone is being glitchy and doesn't want to allow me to change anything. Your program works awesome and I am thankful you took the time to put it out for us.

I will try the SDK reinstall and see if that helps at all.
[Droid 2 Android Development] darkonion:
Not trying to offend you or anything, at least that is what I sense, but yeah, I think it is connection related. Either drivers are unhappy, or the phone, or both. Have you considered trying to root on Linux or Mac?

If you have experience with ADB, try "adb device" and see if you get a connection. You should get a list of devices with a device listed under in the form of a bunch of numbers and letters and not a bunch of ?'s or a blank spot.