yashsingh1/xdaforums huggingface dataset:
[Droid 2 Android Development] TAfirehawk:
It isn't asking anything on my phone about permissions. I read from a previous poster that reroot would bring the SU permissions up and click "remember" but I don't get that. Should I unroot instead of rerooting?

I still have the # prompt in "adb shell", if that makes a difference.

I don't see anything about adb being a SU when I check Superuser Permissions in apps. I do have an "unknown" listed with the other 9 apps that have root on my phone.
[Droid 2 Android Development] mloggia:
Got thru instructions but still not rooted

I got through every step without any issues, however while I have the Superuser app, i have just a black screen when i click on it. I dont have root access when i attempt to use rooted only apps or remove the junk software Motorola put on the Droid 2. Anyone experience this or have any suggestions?
[Droid 2 Android Development] darkonion:
You should have root. Did you do the chmod commands for the bin files? You might have to do those. I'd start over at the second adb devices command. Once you open the shell, make sure you have # and not $.
[Droid 2 Android Development] dragmycorpse:
After I do ./rageagainstthecage-arm5.bin, i get this 'adb connection will be reset. restart adb server on desktop and re-login.' then # c:/android/tools and my phone restarts but its stuck on the eye. ...is that bad?
[Droid 2 Android Development] darkonion:
I think if you see #, I think you should be okay. Move onto the next step.
[Droid 2 Android Development] dragmycorpse:
it went back to $

edit: nevermind. i got it.
[Droid 2 Android Development] HollowSow:
Speaking ok which, if you have established a root password on your device, but have then forgot it, is there a way to just recover it with sbf?
[Droid 2 Android Development] darkonion:
I am not sure, but I don't see why the .sbf wouldn't work.
[Droid 2 Android Development] karnovaran:
The sbf is our savior, no matter what we do. Save it, caress it, don't ever let it go.
[Droid 2 Android Development] GoogleisGod:
Lost

Ok so I typed into the command prompt to the point to get this : C:\android-sdk-windows\tools>. Now I am stuck. Im feeling like a complete noob. I dont understand this adb. I downloaded every link but I do not know what to do. How do I use adb to see if the device is connected, and then proceed to enter these in:

- 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

I think I installed adb but I cant find where to open it and Ive sat here for over and hour trying to figure this out on my own with little luck. Please help me, thank you
[Droid 2 Android Development] Bfwissil:
I report another success. Droid 2 running 2.2.20.A995.Verizon.en.US fell to the horrendous, blistering onslaught of rageagainstthecage-arm5.bin. Gratias ago, amici mi, et valete.
[Droid 2 Android Development] GoogleisGod:
./rage

It doesnt automatically end and then I will follow the steps and it still doesnt happen. Any ideas?
[Droid 2 Android Development] darkonion:
You aren't letting it sit long enough. After running ./rageagainstthecage-arm5.bin, it'll spit out a message and then $ with a blinking "_" Let it sit for awhile. Like 10 minutes. It should then kick you back to MS-DOS.
[Droid 2 Android Development] StuartSaunders:
ls command not in alphabetical order

Root instructions in the original post worked well. 2.2.20.A995.Verizon.en.US and OSX 10.6.4

Can anyone shed some light on why the ls command on the Droid2 is not in alphabetical order inside an adb shell? This is not the case on my other Android device running CyanogenMod.
[Droid 2 Android Development] txter1:
i cant even get past the command prompt for some reason.

i write in C:\android-sdk-windows\tools\Droid2Root>

all is get is "syntax of this command is incorrect.

ive been on WM for years and have flashed and hacked many phones so im very confused here as to why its not working. ive put in and moved folders around trying to get it to work.

for once, im lost...thx for any help
[Droid 2 Android Development] darkonion:
According to my instruction set, you don't extract the folder to tools. You extract the files inside of Droid2Root into the tools folder.
[Droid 2 Android Development] viper3773:
tyyyyyy <3

waited and waited on the .rage thing.. then I powered off phone, kill adb.exe in task manager, and re did. took 10 seconds.

:D

and i had to goto charge only mode to get ADB+able to access sdcard on phone
[Droid 2 Android Development] artikbomb:
New to android, followed instructions to a T. Worked perfectly! Thanks to all for the work.
[Droid 2 Android Development] Bwade:
e mail

could you please re post email address for donations. I followed the steps and with a little research I am now rooted and want to donate.
[Droid 2 Android Development] darkonion:
Sure. My PayPal is darkonion@kimete.com. I wrote the notes to the instructions which can be found on post #164.
[Droid 2 Android Development] txter1:
C:\Users\Gary>c:\android-sdk-windows\tools\>

The syntax of the command is incorrect.

C:\Users\Gary>c:\android-sdk-windows\tools

'c:\android-sdk-windows\tools' is not recognized as an internal or external comm

and,

operable program or batch file.

C:\Users\Gary>c:\android-sdk-windows\tools>

The syntax of the command is incorrect.

this is what keeps coming up when i try the first step. as you can see, im trying different methods and nothing is working. i took the 4 files out of Droid2Root and put them in this tools folder. another thing is i cant get rid of the Users\Gary> part of this command. it wont let me.

any ideas?
[Droid 2 Android Development] darkonion:
You aren't using a DOS command. You need to type

cd C:\android-sdk-windows\tools
[Droid 2 Android Development] osuron:
Ok I attempted to root it late at night and somethin went wrong and I went to recovery and did a reset and it seems to be working fine again. My question is,

-when you root, do you still have access to the system recovery mode if you screw something up that way you can reset your phone?

-I really want to root so I can get rid of all these verizon apps, so is there a way to unroot once I remove them?
[Droid 2 Android Development] darkonion:
What did you do wrong?

Not sure about your questions, but you can flash back to stock using the .sbf file method.
[Droid 2 Android Development] osuron:
not really sure, it was 3am when i attempted it so i probably just typed something wrong. But my fear is once I root, if I mess something up, i want to be able to fix it. and idk how to create a sbf, that something you have to do once you're rooted? I want to root, but I'm terrified if I mess something up, I wont' know how to fix it and I'll lose my phone.
[Droid 2 Android Development] darkonion:
Not hard. Just follow the directions from the top. I don't think you can mess up. Just make sure you input everything correctly.
[Droid 2 Android Development] osuron:
it's not getting to root I really need help with, I know I probably just mistyped somethin since it was late, but i'm new to this and not really sure how to create a backup incase i do mess something up
[Droid 2 Android Development] RobATT:
HELP

Whenever I put in command chmod 0755 rageagainstthecage-arm5.bin it says "unable to chmod 0755 rageagainstthecage-arm5.bin No such file or directory" What do i do??
[Droid 2 Android Development] darkonion:
Redo the adb push rage command again. You didn't push the file to the right place.
[Droid 2 Android Development] steveoc:
problem

hey after I type in chmod 0755 rageagainstthecage-arm5.bin it says no file or directory found even though I had extracted it to the directory in the first step. Any tips?
[Droid 2 Android Development] steveoc:
I have 2.2.20 So do I not need to push the superuser, su, to device? because when I do a bunch of information on parameters and symbols come up and I see no transfer rate... what can I do?
[Droid 2 Android Development] RobATT:
I got it figured out. Wow took me a while but its well worth it.
[Droid 2 Android Development] kmcferrin:
Did I miss something? I didn't seen anything about there being an SBF for recovery yet, which was why I was holding off.
[Droid 2 Android Development] lukesdiesel:
When I download Droid2Root.Rar it is only 1 file not 4.
[Droid 2 Android Development] darkonion:
Double click Droid2Root.rar. It is an archive, and has four files in it. If you can't open it, download and install WinRar.

The four files are: su, busybox, Superuser.apk, and rageagainstthecage-arm5.bin.
[Droid 2 Android Development] grayson11:
Works Great!!!

I rooted my phone (Droid 2) today and i was very nervious first time doing it but i have experience Jailbreaking the old way and have very good computer knowledge.. But i was still nervious as to how this is my day to day phone its working great and you dont even do anyting to the phone i was greatly suprised! I was wondering what apps should i download?
[Droid 2 Android Development] chamba:
omg i just did this on my droid x and it worked :)
[Droid 2 Android Development] darkonion:
Wireless Tether

Droid 2 Bootstrap

Adfree

Rom Manager

That is a start!
[Droid 2 Android Development] darkonion:
Cool. Were you on Froyo as well? Directions were perfect for Droid X?
[Droid 2 Android Development] RUKKU5:
I have root but no root apps will work..

at the "chmod 4755 /system/bin/busybox" command it said that busy box was not found. what should i do now?
[Droid 2 Android Development] darkonion:
Go back to the copy (cp) commands. Either you didn't copy the file correctly, or you skipped it.
[Droid 2 Android Development] chamba:
I used to be rooted under android 2.1 , I installed Froyo and lost root access. (for all I know i could have rooted incorrectly since I installed Froyo right away)

I followed the instructions exactly and i was having problems at first but only because I skipped a step , once I had done everything step by step and it seem to work but some root apps wouldn't work(it would say no root acces) , I re-booted my phone and it worked perfectly. Super user.apk comes up and asks me for root access when i use root apps :)
[Droid 2 Android Development] darkonion:
Cool, great to hear!
[Droid 2 Android Development] adawggg:
Hey everyone.

I was following the steps and got up to the part where it should "kick you out". But it didnt, waited 45 minutes and still did not. So i typed "exit" and retyped adb devices and adb shell commands. I should have gotten the #, but instead got the $. I exited, killed the adb.exe process and started the whole thing over again but after the 4 data transferring steps and adb shell command, i now have a # sign. Is it safe to skip the next several steps since i already did them and continue where i left off before? Or should i proceed and repeat the adb push ./rageagainstthecage-arm5.bin command even though i have the # symbol? Thanks
[Droid 2 Android Development] darkonion:
Go ahead and continue through. It won't hurt. If you have root access after it all, great. If not, go through the whole process again.
[Droid 2 Android Development] aiqie:
hi..

noob question here..

what step shoul i to do if i want to apps2sd my device?

thanks
[Droid 2 Android Development] adawggg:
Root went well. Thanks. It took a few attempts- restarted the phone a couple times if i didn't get a #. But after the waiting step, i used the adb kill-server command this time and got #. Everything went well after that... Have been playing around now, uninstalling/installing apps.;)

Oh was done on 2.2.20.A955 for anyone who wants to know
[Droid 2 Android Development] ashish8:
Question about the bin file

I'm not sure if anyone else noticed, but here are a few things that raised my eyebrow. Since I'm pretty affluent with linux commands I decided to skip the part where the 3 root files (su, SuperUser.apk, busybox) are moved to the SD card, since I was thinking I can push straight from my PC to the /System folder after the exploit completes.

So I run the exploit and some text shows up on the screen and when it finishes it says to restart the adb server. So I run adb shell and I still get the $ sign. So I run the exploit again and this time some new text comes up, ex. adb PID, etc. Then run adb shell again and to my surprise its still the $ sign.

So I get to thinking that the bin file probably looks for the superuser files in the root directory of the SDcard. So I move them to /sdcard. Now I run adb shell, WITHOUT running the exploit for the third time and voila I get #.

Can anyone else confirm my assumption?
[Droid 2 Android Development] Tolerance:
Worked like a charm... the only problem i had was the USB to PC connect mode... didn't realize I had to make the change on the Droid rather than the PC. I also found that after I waited for the boot after 10 minutes, I just exited, then reconnected the usb cable and I got the root shell immediately when I reran the the shell from command line.
[Droid 2 Android Development] darkonion:
You didn't mount correctly.

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

should be this:

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

Space before the /system
[Droid 2 Android Development] ilkjester:
Haha. Damn I really wished I had caught that before I asked for help. Now I feel kinda stupid. Well thanks darkonion i now have a rooter droid 2. ftw. My friend wants me to root his lg ally now. Because he can't do it through the command prompt he says it is to hard.
[Droid 2 Android Development] Terri M:
- Make sure you have USB degugging enabled

[This is under Settings->Applications->Development, check USB debugging]

I am a newbie here, so please bear with me. When I load the Android SDK and ADV manager program, and go to Settings, I do not see anything other than the proxy settings.

- Change connection to PC Mode

[When you plug your phone into your computer with USB, there should be a notice in the “window blind.” Select the USB connection detected and choose PC Mode. Phone should disconnect from the computer and reconnect again.]

- adb devices (to verify the connection)

[You should see a device listed.]

I see "list of devices attached"

Help!!!

Thanks
[Droid 2 Android Development] darkonion:
USB debugging on your phone and not on the ADB/android sdk.

As for your second problem, could be showing up because USB debugging isn't in place, your phone isn't in PC mode, and/or you haven't installed the drivers.
[Droid 2 Android Development] Terri M:
How do I set the debugging on the phone?

I have installed the drivers, yet when I put the phone in PC mode, I get the installing new hardware for A955, and then it cannot find the drivers I just installed.

Getting disappointed here :(
[Droid 2 Android Development] darkonion:
On your phone, click the button in the lowest left of your phone. The one that looks like 4 squares. Go to Settings->Applications->Development, check USB debugging.

As for reinstalling drivers, just ignore it. Continue on.
[Droid 2 Android Development] aredubya:
rooted, but...

Hi folks,

Thanks much for the simple-to-follow directions (simple for a Bourne shell user, anyhow). I've rooted my D2 successfully, and cleaned up some bloatware by renaming certain .apk to .old. However, I wasn't ever able to get the Superuser Request app to start. Clicking it results in a black screen, with no request window ever coming up. Do I need a special version of the app to test out? I haven't tried any other root-only apps yet, as the main one I badly want (OpenVPN) apparently doesn't work with the D2 kernel. Here's hoping the ROM modders put out a new one with OpenVPN support natively. Thanks again for the hack.
[Droid 2 Android Development] Vennumm:
Followed instructions to the LETTER still nothing

Listened I rebooted my phone about 5 times and got nothing out of this post I downloaded all the proper files and followed directions to the T and I have a blank superuser screen and no ROOTED apps work on my phone. I worked on this using a windows 7 machine please explain to me what has gone wrong here I am LOST LOST LOST. I even went on youtube and guy had the same exact problem something isn't right here again to the T i followed the directions I have the superuser logo but no root what is going on totally lost and kinda angry ugghhh Help help help
[Droid 2 Android Development] darkonion:
You messed up in the procedure somewhere. The most common mistakes occur at the ./rageagainstthecage-arm5.bin and the mount commands. I'd recommend redoing the procedure again. Everything after the first "adb devices" command. Please share the link to the said YouTube video. Did you get any other errors?

Try this. Go back into your command prompt. And do these steps.

1. Navigate to your tools directory.

cd C:\android-sdk-windows\tools

2. adb devices

3. adb shell

You should see a #, and not a $. If you see a $, then you need to redo the ./rageagainstthecage-arm5.bin step. If you see a #, you need to do the commands inbetween and including the two mount commands.

You have no idea how many people make the simplest and silliest mistakes. If you can, log your commands/input/outputs like the guy several posts ago.
[Droid 2 Android Development] Sinsygon:
I've, as far as I know successfully used this method to root my Droid 2. I can use WiFi tethers, and apps that require root/superuser access.

No matter what I do I cannot rename or delete verizon bloatware via Astro File Manager, or enter su under adb shell, all I get is a permission denied.

wat do?
[Droid 2 Android Development] :
you need root explorer to rename files in the system/app folder
[Droid 2 Android Development] pool_shark:
I can't get any commands to work, I get the message command not recognized.

I edited my path and rebooted.

I have the D2 set at pc mode, and I tried it with charge only. With charge only the D2 actually says it's in debugging mode.

I'm running Vista 32 bit.

I extracted the SDK and the motorola drivers, the drivers won't install because I have a higher version already installed that came with the D2. I also have the droid2root files extracted and in the tools folder.

I originally had it in android-sdk-windows but moved it to DROID2 because it was easier to type.

I go to c:\DROID2\tools

type adb devices and I get command not recognized.

Had the same problem when it was in android-sdk-windows.
[Droid 2 Android Development] Terri M:
Rooted D2

I was finally able to get my D2 rooted, but now I am having a problem finding a good copy of Epic Unleashed 1.1. When I try to install it through Droid 2 Bootstrapper, it tells me the zip file is bad. Help!

I'm not sure if I want to use the Unleashed 2.0 as I am not thrilled with having a black notification bar. Truth be told, I do like the Moto Blur. I had that on my Cliq and got rather use to it. LOL
[Droid 2 Android Development] pool_shark:
I'm rooted too. It was all done via command line on the phone using the same steps from this thread but without using SDK adb.
[Droid 2 Android Development] darkonion:
Cool. I am glad it worked for you. The terminal emulator is an excellent alternative. It is one of those choose your poison deals. The steps are more or less the same. You just have to see which method is easier for you.
[Droid 2 Android Development] john10101:
will this install ClockworkMod or do i need to follow a different guide for that? i would like to perform a nandroid dump on this phone in the event that i have any problems.

any help on that would be great. can i do the nandroid dump, prior to the root?
[Droid 2 Android Development] darkonion:
After rooting, you need to get the Koush Droid 2 Bootstrap/Bootloader thing.
[Droid 2 Android Development] dshook19:
Where did u put the droid2root folder when u did it through the emulater?
[Droid 2 Android Development] paletero272:
phone wont usb debbug while in pc mode.

i can only use usb debugging when the phone is in charge only..

what should i do to solve this problem
[Droid 2 Android Development] darkonion:
I believe the four files in the droid2root.rar archive/thing goes onto the sd card? something like that. At least the busybox, su, and Superuser.apk.

Anyways, here is the info:

http://www.droidforums.net/forum/droid-2-hacks/80080-much-simpler-guide-rooting-no-pc-required.html
[Droid 2 Android Development] mystik1:
I am surely not as experienced with this as many of you. I got to this step:

adb shell (you should now have a # prompt, if not return to ./rage step above)

But, I did not get #...still $, and the next line gives this:

Operation not permitted

Any thoughts? Thanks much.
[Droid 2 Android Development] darkonion:
Got to go back and redo the ./rageagainstthecage-arm5.bin. That and I think that is why the mount command isn't working as well.
[Droid 2 Android Development] mystik1:
Thanks much for the suggestion. This time around, when I do adb devices, none are listed...
[Droid 2 Android Development] darkonion:
Hi everyone,

Been working on a much easier method to root the Droid 2. Check out the link:

http://xdaforums.com/showthread.php?t=782344
[Droid 2 Android Development] n8spencer:
I can get to here then the # never comes up

- adb devices (to verify the connection)

- adb shell (you should now have a # prompt, if not return to ./rage step above)

[All these next steps, make sure you type them as is here. The command line prompt is now # like stated in the step above. The commands will act like the “$” commands above where you enter it, and it'll spit you the command back out.]

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

- cp /sdcard/Superuser.apk /system/app/Superuser.apk

- cp /sdcard/su /system/bin/su

(For the new Droid X leaked Froyo version, use this command instead:

cp /sdcard/su /system/xbin/su

Unconfirmed.)

- 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 [This one will exit you out of adb. Command line now starts with C:\]

Any help is appreciated
[Droid 2 Android Development] darkonion:
You need to do the ./rageagainstthecage-arm5.bin again. You need the adb shell prompt to prompt with #.
[Droid 2 Android Development] mystik1:
Be sure that your USB is in PC mode. That was my problem. Even though I had set it to PC mode, when I went back in to check it, it was not on PC mode. Once I changed that again, it worked for me.
[Droid 2 Android Development] darkonion:
Also, you might want to try my 1-2-3 root. I kind of use scripts to automate everything. Instead of typing 25 commands, you just need to type 6 or 7 really simple commands!
[Droid 2 Android Development] pool_shark:
Yeah, I took the four files from droid2root and put them in the root of the SDcard, then ran the commands starting with mount.
[Droid 2 Android Development] darkonion:
You all good now? If not, go to the 1-2-3 Root process that I just wrote and follow the directions. Very easy. Just enter in 2 or 3 commands.
[Droid 2 Android Development] pool_shark:
I've fine, I've been rooted for days. I've just been playing with the unix commands linking commands I want to use to busybox so I don't have to type busybox first all the time.
[Droid 2 Android Development] darkonion:
Cool. Cool. I am working on a little project. Trying to make a simple app. Yup.
[Droid 2 Android Development] tnpapadakos:
your link a few posts back aint workin for me

getting the "No Thread specified. If you followed a valid link, please notify the administrator" error
[Droid 2 Android Development] darkonion:
Here you go!

http://xdaforums.com/showthread.php?t=782556
[Droid 2 Android Development] tnpapadakos:
thats some sweet action...thanks
[Droid 2 Android Development] bmaxxm4:
can somebody PLEASE help me out? i have been trying forever to setup the sdk and everytime i get the same error... WARNING!: Java not found in your path. checking it it's installed in C/:Program Files (x86)Java instead... etc... i have tried every video, blog, etc, none of it works. all i need to do is set up the sdk. i am running windows 7 x64