yashsingh1/xdaforums huggingface dataset:
[Droid 2 Android Development] newk8600:
you might try and download the free version of titanium back up and hit the "problems?" button this will load an updated version of busybox, I think the one that came with the root script was a little outdated.
[Droid 2 Android Development] nerdslogic:
I guess I am missing something. Z4 is not on market and wasn't actually rooting my phone when I used it. From what I could tell anyway. I seemed to get all the apps but nothing for "Rooted" phones would work.

I am not seeing this new method. Can someone guide me to the right post or thread. I would love to root my phone and find a GB ROM somewhere....bugless beast would be great if it worked. I need some help here.
[Droid 2 Android Development] hvuong2:
I get the following error:

"could not kill pid 18344"

Any ideas?
[Droid 2 Android Development] bizhar1990:
Worked great! Thank you so much for efforts.
[Droid 2 Android Development] darkonion:
Glad that it worked!
[Droid 2 Android Development] Wicked1ab:
This was probably the easiest root I've ever done! Thank you so much.
[Droid 2 Android Development] javigc:
activating verizon droid 2 with a different cdma carrier?

hi, does this help you activate your phone with a different carrier since everytime i try to do this the values change keeping me stuck with verizon does anyone know bout this? thanks!
[Droid 2 Android Development] facelessuser:
Nope, just root.
[Droid 2 Android Development] darkonion:
Has anyone been having trouble rooting recently? I am getting a lot of responses on Youtube. Some say it works. Other say that it has bricked their phone. Etc.

P.S. I don't think we've tweaked this code for like 6 months. It may or may not still work. I am getting some hate on my Youtube videos that this bricked someone's phone. Maybe the 3 or 4 person in 60,000 views that has claimed that...
[Droid 2 Android Development] facelessuser:
@darkonion I just used it the other day and it worked fine. A matter of fact, I used it on a friends samsung captivate and it partially rooted it; I just had to manually copy the su and busybox files because it failed in copying for some odd reason.

It hasn't been tweaked in a bit, but it should work pretty good, as long as you are running this on Froyo mind you. It should work, but nothing is guaranteed. Usually, the windows version was the most finicky (I use linux personally). The scripts seemed to work so much cleaner in Linux, and even Mac than they seemed to in windows (this may have to do with the drivers provided by moto for windows; linux and mac do not need special drivers).

I may take a look again real soon and make sure all the "i"s are dotted and "t"s are crossed, but there isn't too much more than can be done with this script. If ADB craps out on doing what we need it to do, you have to run it again. There are other script and applications that essentially do the same thing and suffer from the same issues. I got a little annoyed trying to root my friends Samsung with a certain root method and that is why I just pulled out our script. It worked most of the way, and I imagine if I tried to run it again, it probably would of done the whole process, but I just went in and finished it manually.

@everyone else

I think we have given people ample warning, and if not, here it is again. We provide this free of charge in our free time. We are not responsible if your phone gets brick; bricking is always a risk when hacking your phone. Please use the script in the proper context and follow directions. If you try it on an unsupported phone, and it bricks said phone we are not responsible.

If you find a bug, let us know, if you fix a bug, let us know.

We are just a couple of guys trying to help.

Happy hacking :)
[Droid 2 Android Development] then0ble:
for the love of god help

I not noob, Ive done root a million times, I am following all the directions, I have tried z4root, **** is just not working, please tell me what I am doing wrong, getting real pissed now. Here is what I get when running DoRoot 2.1.4 on a Droid 2:

Welcome to DarkOnion Root

Presented by: darkonion and facelessuser

Special thanks to: Sebastian Krahmer at http://c-skills.blogspot.com/

If the following command takes too long to connect, close your terminal.

Disconnect your phone and make sure debugging is enabled, and you are set to PC

mode

Checking for devices...

List of devices attached

0A3AA73218021026 device

Transfering payload.

-->Superuser.apk

1730 KB/s (0 bytes in 27688.000s)

-->su

25 KB/s (0 bytes in 26248.001s)

-->busybox

2937 KB/s (0 bytes in 1926944.000s)

-->rageagainstthecage-arm5.bin

5 KB/s (0 bytes in 5392.001s)

We will begin to apply the tears of 1000 unicorns to root your phone.

This could take as long as 5 minutes. Please be patient...

10 seconds.

5 seconds.

4

3

2

1

[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C

[*] checking NPROC limit ...

[+] RLIMIT_NPROC={3815, 3815}

[*] Searching for adb ...

[+] Found adb as PID 1148

[*] Spawning children. Dont type anything and wait for reset!

[*]

[*] If you like what we are doing you can send us PayPal money to

[*] 7-4-3-C@web.de so we can compensate time, effort and HW costs.

[*] If you are a company and feel like you profit from our work,

[*] we also accept donations > 1000 USD!

[*]

[*] 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...

List of devices attached

0A3AA73218021026 device

Root failed. Do you want to try to run the exploit again (y/n)?

Type y or n, then press ENTER:y

We will begin to apply the tears of 1000 unicorns to root your phone.

This could take as long as 5 minutes. Please be patient...

10 seconds.

5 seconds.

4

3

2

1

[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C

[*] checking NPROC limit ...

[+] RLIMIT_NPROC={3815, 3815}

[*] Searching for adb ...

[+] Found adb as PID 6038

[*] Spawning children. Dont type anything and wait for reset!

[*]

[*] If you like what we are doing you can send us PayPal money to

[*] 7-4-3-C@web.de so we can compensate time, effort and HW costs.

[*] If you are a company and feel like you profit from our work,

[*] we also accept donations > 1000 USD!

[*]

[*] 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...
[Droid 2 Android Development] facelessuser:
Sometimes, adb has a difficult time reconnecting after getting the partial root, so it is hanging until the adb sees the phone. I usually just unplug the USB cable and then plug it back in when this happens. Usually, when the phone reconnects with the PC adb will finally see the phone and continue finalizing the root process.

If that doesn't work, you can fiddle with the USB connection setting, try USB Mass Storage, maybe go back to Charge only again until the ADB finally sees the phone again and the script begins to finish up.
[Droid 2 Android Development] then0ble:
Tried all that ****, $20 paypal whoever can fix it

Droid 2

sys ver 2.4.330.A956

android 2.2

drivers installed

usb debugging enabled

usb charging enabled
[Droid 2 Android Development] facelessuser:
You need to calm down or nobody will want to help.

If adb is not restarting internally on the phone, you can try and finish it off manually via a terminal emulator. Start a terminal emulator if it shows the # sign, you can manually finish. If it hangs, force close it and reopen and there should be a # sign.

Then remount system as RW and manually copy su, superuser.apk, and busybox to the appropriate place, give permissions, and remount as RO.

I do not have the paths off hand, but you can look in the script and see the temp folder we copied the payload to and see the final destination they should end up at. There are plenty of guides out that explain how to do this manually.
[Droid 2 Android Development] pharaohmd:
Question based on the number of days between the most recent posts....

Does the one-step app work with Gingerbread?

If I missed a sticky or post, sorry in advance!
[Droid 2 Android Development] facelessuser:
The exploit was originally for Froyo. I do not know if it works on gingerbread.

I actually followed the steps to get gingerbread on my phone were you sbf some version of android (it was at least a froyo build, maybe later; I can't remember. The reason could have been to downgrade the bootloader, with an earlier GB build, or it may have been a downgrade to froyo), root that version, and then flash the prerooted gingerbread. I replaced the z4root step with this script.

In short, I am not exactly sure.

I have not tried this script on the latest gingerbread. I would probably find the website to do what I did. Essentially you downgrade, to an earlier version, root it with this script or some other popular froyo rooting method, and then install a prerooted version of GB.

Sorry I don't have the link off hand, if you are interested, I can find the link.
[Droid 2 Android Development] pharaohmd:
Actually was about to run that process myself and thought I'd check for one-click processes before running the gambit...this one seems to have the most success stories so thought I'd ask...:-)

Thanks for the detailed reply and offer tho!
[Droid 2 Android Development] darkonion:
I am glad that people are still using this script. It is a little outdated, but as far as I know, it still runs for the Droid 2.

I am getting a lot of hate mail on Youtube for rageagainstthecage-arm5.bin being a trojan... first of all, it won't do any harm to your computer. Second, if you don't believe me... and why should you... There's only 70,000 hits on my Youtube video, and... only handful more hits here on this thread, you should look into Z4Root.

Thanks for the wonderful support. I am sorry I haven't been able to be a bigger part of the community in recent months. Finally working again, and am doing well!
[Droid 2 Android Development] Rumbum:
Sad Face

Anyone heard of any new issues with this? Tried rooting my wife's droid 2 global tonight, but at the end of every batch I get a Root Failed message.
[Droid 2 Android Development] DeBaKai:
I used this at first to learn. Now I use Z4root. But I always point people to this method for their first attempts. Good stuff, darkonion and facelessuser!!!

I could be mistaken, but I don't think this method works for the D2G.
[Droid 2 Android Development] sincitynative1:
Let me first say that this process worked flawless for my d2....thnx....my other half has just received the x...the first one. Read somewhere that this would also work for the x however im having no luck. Just keeps searching for device. Any ideas?
[Droid 2 Android Development] darkonion:
It used to work for the DX and D2G, but not anymore. You should try Z4Root. That will get the DX rooted.

-Kevin
[Droid 2 Android Development] darkonion:
No problem. This method used to work for D2G... not anymore...
[Droid 2 Android Development] antny:
im rooting my friends d2 for him but he currently doesn have an sd card and and doesnt wanna loose anything he has but is too lazy to copy it to a pc :/ but anyway my questionis will he lose everything? his apps texts etc???
[Droid 2 Android Development] JDunc:
Rooting will not make him lose any settings or data.
[Droid 2 Android Development] cheebahawk:
Does this method still work for Droid 2 updated to Gingerbread?
[Droid 2 Android Development] SweepinJR:
I'm having a hard time with this. Typically I am an HTC guy, but I am working on rooting my sisters phone.

Every time I try to run the doroot batch, I get a thing telling me it wants me to restart the daemon. I never get past that point. I have to use "charge only" to get the adb daemon to connect to the phone in the first place, but after that, nothing but troubles.

Any idea what's going on with this?
[Droid 2 Android Development] darkonion:
You are probably on Gingerbread. That's why it isn't working. This method only works for Froyo!
[Droid 2 Android Development] psikopatadam:
is this works with HTC Hero (G2 Touch)

Because i just tried and theese are the latest lines;

i'm stuck with HTC Hero and no market application and i am mac user. That is why need to update my HTC.

Any suggestion?
[Droid 2 Android Development] jb789:
Might want to add this new D2 .621 root info to the OP:

http://rootzwiki.com/topic/29930-new-root-method-for-stock-234-621622-found-droid2-r2d2/

Oh, and it should work for the R2D2 .622 as well. :)
[Droid 2 Android Development] jds3118:
Im getting no file or directory for rageagainstthecage

Sent from an Echoenian
[Droid 2 Android Development] sd_shadow:
That method does not work with 2.3.4/4.5.621

But think there is a working link on http://www.cyanogenmod.org wiki about rooting the droid 2
[Droid 2 Android Development] sd_shadow:
Link to rage here http://wiki.cyanogenmod.org/index.php?title=Install_CM_for_droid2#Install_Bootstrap

---------- Post added at 10:56 PM ---------- Previous post was at 10:49 PM ----------

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:
Framaroot worked first try thanks
[Droid 2 Android Development] kurtle:
I got the driver installed now (after about 3 reboots of the phone and 3 reboots of the PC). This time that message comes up again, but it doesn't exit out like it did before. That message comes up...brings me back to the $ prompt and nothing happens.
[Droid 2 Android Development] event121:
run the ./rage command again. it was finicky with my Win7 64bit laptop.
[Droid 2 Android Development] facelessuser:
Do nothing when you see the $ prompt. Nothing. It is still working in the background. This is important. You are only done when it returns you to your windows prompt. This is why I really want to get this one click out. Do nothing.
[Droid 2 Android Development] kurtle:
but that's the thing. I waited 30 mins and the prompt never came back up. It just sat there.
[Droid 2 Android Development] facelessuser:
Peculiar. When we have the new script ready, if you willing to try it, reboot your phone first and then try it. I don't have a windows box, so I don't know if there are some windows only quirks.
[Droid 2 Android Development] kurtle:
Sounds good, I'll just wait for the one click.
[Droid 2 Android Development] Param_S7:
How do I know if I did this right? The Superuser icon does show up, but when I open it, it just shows a blank screen with "Superuser Permissions" on top. Idk if I did this right.
[Droid 2 Android Development] kurtle:
Here is a new twist. From what I've been reading is we want to see the # prompt when shell is run again. If this is true... when I run doroot1.bat again and it hits the shell, I am prompted with a #. Does that mean I can run doroot2.sh from the tmp dir?
[Droid 2 Android Development] Param_S7:
That's what I did. I think I messed up so I ran doroot1 multiple times and it gave me a # symbol instead of $. I did doroot2, then got the superuser icon. I think I rooted it since I wouldn't be posting this from free wifi thether on my laptop connected to my D2 :D
[Droid 2 Android Development] facelessuser:
The blank screen just means you haven't granted superuser power to any apps yet. An easy way to tell is just download the free terminal emulator from the market. Launch it and type in the word "su" (no quotes) and press enter. You should be prompted to allow it. Click allow and your $ prompt will become the root # prompt. Now when you open superuser it won't be blank.
[Droid 2 Android Development] Param_S7:
Though I would wait to see what the more experienced/programmers have to say about that.

Thank you and yeah did that now there's 2 apps in SU screen (wifi thether and the terminal). :D
[Droid 2 Android Development] kurtle:
Exactly what I ended up doing. Just installed wifi tether too :) The power of root.
[Droid 2 Android Development] facelessuser:
No wonder windows guys are having issues. Motorola drivers suck! It is unreliable to get it to reconnect proper after rage. I will figure this out, but it is a pain.
[Droid 2 Android Development] darkonion:
Thanks facelessuser. You've really pushed this one-click project through!
[Droid 2 Android Development] vampiricsoul:
I really want to see the one click root work because I tryed to do other roots and I couldn't get past the first or second command line. Windows 7 x64
[Droid 2 Android Development] darkonion:
I can help you. I'll PM you my info.
[Droid 2 Android Development] facelessuser:
You will get one click for windows. I successfully have have the script doing the exploit to completion every time, but on windows, when I try to find the device after the exploit, I can't always find the device because motorola's drivers are crap. I need to come up with a solid workaround. Also, why the heck does a stupid verizon web page pop up everytime I connect my phone! Man I hate that. I remember more and more why I don't use windows.

I had to go off today, but I plan on cleaning up this windows script tonight hopefully. It is basically 90% done; I just need to find a way to reliably connect back to the phone after doing the exploit. Linux and Mac worked like they were supposed to, I didn't need crappy moto drivers.
[Droid 2 Android Development] jdmba:
Someone else just answered that for me!

When you plug in, note the blue MOTOROLA in the task bar. On an option reading something like "what to do when it loads" you can choose "NOTHING"!!!
[Droid 2 Android Development] facelessuser:
Thank you kind sir. I was going mad.

I am really close. Windows is definitely more finicky than mac and linux, but I almost have it.
[Droid 2 Android Development] facelessuser:
I think I got a sequence that works. I am going to hand it off to darkonion, and you guys can start rooting your phones. Let me know if it works. I think one time the exploit failed on me, but all I had to do was run the script again and it worked.

I have decided windows needs a better scripting language. Batch scripts suck. I had to do some ugly things. If I had to do this again, I would have just done this in C and compiled it.

Anyways, you guys don't care what I did, you just want to get your hands on it.:)
[Droid 2 Android Development] kmcferrin:
It already has two better scripting languages. VBScript has been supported via Windows Script Host (which is installed by default) since Windows 2000 days, and if you prefer something less programmatic and more shell-like there is Powershell (which has been around for several years as well and is standard on Windows 7). Both of them run circles around batch scripts.
[Droid 2 Android Development] facelessuser:
I ran with batch because darkonion did. Originally I was just wanted to make the scripts a little better. The scope of what I wanted to do grew a little more. Batch isn't bad for doing simple stuff, and really what I did was simple; it's just batch really sucks. But once I had most of it done, I was like, well, better just finish it. I did consider vbscript half way through. I am even more rusty in vbscript, but scripting is all the same; just the syntax changes.
[Droid 2 Android Development] vampiricsoul:
thanks for the help darkonion it worked right after we got off the phone really appreciate it man
[Droid 2 Android Development] darkonion:
No problem. I just ran faceless' linux/mac version... ME LIKE!! I'll be posting the Windows version very soon!

-Kevin
[Droid 2 Android Development] darkonion:
Updated the posts with clearer directions, the new files, and yeah! Leaving the multi-step version if someone needs scripts to debug problems. I personally haven't tested out the Windows version, yet, but looking forward to!
[Droid 2 Android Development] Captainkrtek:
Hint hint this thread may be in the xda portal soon :)

Sent from my Moto Droid running @ 1.2GHz
[Droid 2 Android Development] patchm00:
Hello,

Wanted to know if there is any recovery for Droid 2 such as SPRecovery? Once we root with this one click method (excited about trying it) is there a way to make a system backup? And/or how to unroot in case we need an OTA update or have to take phone in for repair :)

thanks
[Droid 2 Android Development] facelessuser:
Heads up. Just because debugging notification doesn't show up on windows, doesn't mean your phone is not successfully connected with debugging. I noticed that since Moto Drivers are kind of flaky, that you may still have debugging working even though, the notification does not show up.

The easiest way to tell after you plug your phone in on windows is to type "adb devices", if under the devices it shows some kind of code, it means it sees your phone and you are fine. I have rooted my phone on windows without ever seeing the debugging notification. It is specifically a windows/moto drivers quirk. Mac and Linux function normally.

Update: I take it back. I don't see the debugging icon on linux either. I guess it just doesn't show in PC mode.
[Droid 2 Android Development] jones7773:
i'm a new user ...never rooted a phone before, but, this droid 2 has so much "baggage" on it until i thought i'd try.

after seeing this one step, i tried it ....a few times, but can get no results past "waiting for adb to restart" ...i waited ...and waited ...and waited ...re-set computer, etc., but, each time, it gets to this and ...That's IT! ...any suggestions?

btw, my phone is in pc mode w/usb checked

thanks
[Droid 2 Android Development] facelessuser:
First, is this the windows script?

It appears that the exploit is not kicking out, or not finishing the hack; though after three minutes, it should abort out, I may add an explicit exit to make sure it does. I have never actually had it just hang at that point. It always kicks out for me even when on the one time it failed. You said you re-set your computer (this is not necessary), but did you reboot your phone?

I would start here. Reboot your phone. Try the script and wait for about 3 minutes when it gets to the part where it is waiting for adb to restart and if it continues to hang, close the terminal and open a new one in your folder: <whatever your sdk folder is called>\tools. Try typing the command "adb shell" and let me know if you see a '#'. If you do, this is good news and you are half way there. I can maybe get you a modified script to finish the task.

I have only tested this script on my one windows 7 computer, so I don't have enough data about other peoples systems yet to know if there are more quirks to code for.
[Droid 2 Android Development] darkonion:
I just received the new windows script from Facelessuser. Good stuff. Already uploaded it.
[Droid 2 Android Development] playslikepage71:
I'm a windows 7 user and literally had this problem 3 minutes ago. I got to the adb resetting line and then reconnected my phone (it was stuck). Then it gave me root error. I just pulled my battery for a really hard reset and tried the script again. It worked for me.
[Droid 2 Android Development] darkonion:
You know, I had the same problem. My phone became super sluggish! I just pulled the battery to get it to reboot.
[Droid 2 Android Development] facelessuser:
So it did eventually work. Interesting. You probably could have just rebooted, but I am glad it worked. This is what I was hoping to see.

Maybe a nice clean reboot before running the script is best. Seems people have random issues with the exploit on occasions. Even I had an issue one time where the exploit failed (didn't hang), but I just ran the script again without a reboot and I was golden. I tested it a number of times on windows 7. I never experienced a similar issue on linux, but that doesn't mean it can't happen.

I'm not sure if this is a windows environment issue, or a random exploit issue. I really don't have enough data yet. I am just glad I now have confirmation that it can and does work aside from some of these issues on occasions. I mean I knew worked because I tested it, but I wanted to know it wasn't just an isolated case.