yashsingh1/xdaforums huggingface dataset:
[Droid 2 Android Development] Vennumm:
root and spacebar help

ok I have root is there ANYWay I can get the symbols off the physical space bar alot of times when i type numbers i want to keep the alt lock on and everytime I hit space all these symbol junk comes up please help on most phones the space bar is just that and that only anway to remove that any rooted app or command that will take this away :mad:
[Droid 2 Android Development] pool_shark:
You don't need SDK or Java. You can move the droid2root files onto the root of your SDcard using the USB cable, then use a terminal emulator to run the commands. I understand some people are more comfortable with copy/paste, but I'm very comfortable with the command line. It was a very fast process.

There is also another process on this site that is supposedly only 3 steps.

This is an alternate method that I used, written by Eousphoros. These are the steps that take place after moving the 4 files from droid2root onto the SDcard.

- cd /tmp

- cp /sdcard/rage*.bin /tmp/

- chmod 777 rage*.bin

- ./rage*.bin

- ignore it's output, we are thinking outside of the box here, just wait for it to finish and return a $

- now go to settings -> applications -> manage applications -> running -> terminal and force close that girlie

- relaunch the terminal app and you should be greeted with the friendly # symbol. Toda you now have a root shell

- the rest is pretty much the same.

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

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

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

* cp /sdcard/busybox /system/bin/busybox

- chmod 4755 /system/bin/su

* chmod 4755 /system/bin/busybox

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

- exit

Once your all done, go ahead and reboot your phone.
[Droid 2 Android Development] vampireincubi:
I have made 2attempts @ the entire process and still have a blank screen for superuser, I've noticed some others have had same prob. But I still cannot get superuser to do anything but blank screen
[Droid 2 Android Development] vampireincubi:
blank superuser

i've ran the commands in the order described in the beginning of the thread... still comming up w/blank screen for the superuser, attempted to D-L update from market i get "install unsuccessful" any thoughts or help would be awesome
[Droid 2 Android Development] vampireincubi:
sry bout the double post

didnt see this one in the forum so i posted the next thread also... sry bout that
[Droid 2 Android Development] spacedowtjedi:
You rule. The end.

3..2...1 Root!

Good work, thanks a ton! I can't ever go back to non-root.

I just swapped up my Droid X for the 2 and I love it, but I'll tell you after I removed all the crap my battery life nearly DOUBLED. They need to stop the initial rape, because.. WTF?

Much love!:D
[Droid 2 Android Development] darkonion:
Did you do the 1-2-3 method? Which OS were you on?
[Droid 2 Android Development] john10101:
where do i find the koush droid 2 bootstrap thing
[Droid 2 Android Development] darkonion:
There is a link in the DarkOnion's how to install Epic Rom thread. Not sure where that is at the moment, but it is somewhere.
[Droid 2 Android Development] john10101:
ahh i think ive found it on koush's website. do i just install the apk? koushikdutta.com
[Droid 2 Android Development] ZeldaKrazy:
So right away with

- Make sure you have USB degugging enabled

- Change connection to PC Mode

Am I doing this with the sdk windows program?

With the lines

cd c:/Droid2Root

adb push Superuser.apk /sdcard/Superuser.apk

adb isn't recognized, obviously, since its in the /tools folder but I must be missing something wrong?
[Droid 2 Android Development] darkonion:
Do 1-2-3 Root for Windows. Will save you a lot of time. If you need help, you can find me on GTalk. PM'ing you my info now.
[Droid 2 Android Development] dja1980:
I just realized that the 2.2.20.a955 update killed root on my mom's D2... rooted her phone back on 8/27. I'm going to redo the process, but I believe I already deleted the files from her SD card. Have an of the original 4 files changed at all, or can I reuse the files I already have downloaded to my PC?
[Droid 2 Android Development] djh816:
I did on a mac and for whatever reason, once i did get the # for root term (even after you get $, WAIT people. It WILL return you to native command line), if I exited, it wouldn't be root anymore so I had to just copy the files to sdcard, manually remount the system (i just did "mount -o remount,rw /system /system") and then copy su, superuser.apk, and busybox into their locations.
[Droid 2 Android Development] ljbaumer:
you could try adb remount if you system is read-only, when my eris was on read-only i would just do an adb remount and then go about whatever i was doing before and it makes adb able to read-write.

this should work but i can't help you if it dosen't.
[Droid 2 Android Development] karnovaran:
Ok, edited the original post to add the mounting steps. If you have already run the commands but got stuck at adb push, do the following:

- cd c:/Droid2Root

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

- adb push su /sdcard/su

- adb push busybox /sdcard/busybox

- adb shell (you should now have a # prompt)

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

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

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

- cp /sdcard/busybox /system/bin/busybox

- chmod 4755 /system/bin/su

- chmod 4755 /system/bin/busybox

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

- exit

- exit

Let me know if that solves it.
[Droid 2 Android Development] thelolotov:
Same problem here.

Tried new solution, now it says Permission denied.
[Droid 2 Android Development] djh816:
for me, i lost root when exiting from the adb shell. this was not an option at that point. it seems like the xploit let me have one shot when i'd execute it so I had to just remount from the shell and use term commands to 'cat' the files into their locations. (for anyone who doesnt know, cat usage: "cat origfile > /new/newfile")
[Droid 2 Android Development] djh816:
you left out the exploit part :P but yes other than that, i did that exact same procedure on mac just fine. guys, please send any donations posible to sebastien. he really went out of his way for this :)
[Droid 2 Android Development] csscmaster3:
It allowed me to copy Superuser.apk, will update post after

Edit: I was able to copy everything over now. And tested with Setcpu. Works well. Thanks!
[Droid 2 Android Development] djh816:
also, Koush said he would be working on Clockworkmod for Droid 2 tonight. We still need to possibly get birdman to help with it if it'd different than Droid X but should be happening soon
[Droid 2 Android Development] thelolotov:
Now it says:

adb: not found

EDIT: after trying the new instructions.
[Droid 2 Android Development] karnovaran:
Well I meant it only for the guys that have already run the binary.. unless I'm missing something else.

Absolutely. I take no credit for this - please donate to Mr. Krahmer for his work.
[Droid 2 Android Development] djh816:
push the .bin file and execute like it says. then wait till it brings you back COMPLETELY (in my case it went ended the program on android and then i had to wait another 10 seconds for it to kick me out to the command line on my os x machine). then you just need to do "adb shell". Then you should have the # and you will have one shot (at least that was my experience) to enter all the commands as root. Once you exit adb, it will go back to normal though so if you didn't copy the items, you may need to restart phone and do exploit again.
[Droid 2 Android Development] thelolotov:
Ehh, I'm just gonna wait for the inevitable GUI tool, thanks for the hard work though, and to Sebastian.
[Droid 2 Android Development] ZeroOveride:
Works great. Using Barnacle WiFi tether right now! Thanks for the updated instructions!
[Droid 2 Android Development] karnovaran:
Check that you have the Superuser app in your drawer. Then go to the market and download a root app such as ShootMe. When you run it, Superuser should pop up asking for permission.
[Droid 2 Android Development] csscmaster3:
Thanks! I tested it with something else, and it works perfectly.
[Droid 2 Android Development] ndtemple417:
thanks guy i really appreciate all the hard work
[Droid 2 Android Development] KnightCrusader:
Muhahahaha! ITS ALIVE! I HAVE HARNESSED THE POWER OF ROOT!

Sorry, I have been waiting 2 weeks to say that. :-)

Thanks guys, for all the hard work on this. The updated instructions worked like a charm!
[Droid 2 Android Development] jerseyh22accord:
I must be completely retarded cause i cant get past c:/droid2root. When i do the adb push after that i get that adb is not a command
[Droid 2 Android Development] karnovaran:
What happens when you type adb devices? It should say something like:

List of devices attached

HT03048x0834 device
[Droid 2 Android Development] aliilyas:
Great work dude
[Droid 2 Android Development] darkonion:
1-2-3 root for Windows. Just run the scripts! Still requires some work, but it is only a handful of commands. Maybe 2 or 3?
[Droid 2 Android Development] xzadfor:
Tried this tonight. took 3 tries to get it all to work and respond as expected. At the end, it didn't look like it worked. I tried a few programs for a rooted Droid2 and they didn't work. Also my versions do not match what's on these screens hots. Is it possible Verizon updated me since I received my phone on 8-18-10 and this info is out of date?

How can I test to see if it worked and should I redo it?

Thank you.
[Droid 2 Android Development] ndan:
all right i get all away up to where it changes from $ to #, when this happens, however, the command "cp" goes away (it does work before). I looked into fixes however they already require superuser ability and though # represents so i don't think its real or the second error is the cause.

the second error upon moving or creating a symbolic link to the file on the sd card is that it can not be done due to a cross media error. any help's appreciated, read through numerous pages on here but have yet to find something that quite work.
[Droid 2 Android Development] amadovi43:
thanks saved me from having to go back to 2.1 and all that bs.
[Droid 2 Android Development] philip.stinger:
problems

I managed to get root, but now wifi won't work and I can't view my downloaded apps in the market. Anyone have any ideas. Also, I tried sbf'ing back to stock, but the flash fails with the first file as soon as the device goes into the bootloader.
[Droid 2 Android Development] Padron26:
Thanks you guys

this didnt work out so well the first time, but like some others it was smooth sailing the second time around.

i appreciate your work, i hope you appreciate my donation.
[Droid 2 Android Development] sarcasym:
Worked great on my DroidX 2.2 OTA. I had to pull the battery before everything took effect but now it all looks good.
[Droid 2 Android Development] drathx:
Weird

[erased]

+10char
[Droid 2 Android Development] buellwinkle:
Woohooo! Thanks. I would add a "reboot" command before the exit/exit at the end because it really didn't work until I rebooted the phone. For reference, I have the 2.2 OTA Froyo released today.
[Droid 2 Android Development] kenailes:
when i run adb devices, the promtp says List of Devices attached and then gives me nothing underneat. I have followed everyhting else to a T prior to this step
[Droid 2 Android Development] darkonion:
You need to make sure whatever mode you are in, whether it be PC Mode or Charge Only, that the USB debugging icon is showing in the top left.
[Droid 2 Android Development] facelessuser:
Also what platform are you on. Linux must be PC Mode, everyone else Charge Only for best results.
[Droid 2 Android Development] franger88:
it takes a lot of time to reset (more than 10 mins). i get tired and disconnect it. can anyone tell me why it wont reset
[Droid 2 Android Development] kenailes:
my problem is with windows detecting the drivers i think. i installed the motorola 32 bit drivers, the new hardware wizard comes up but isn't able to install the motorlao adb device driver. i have reinstalled the motorola drivers from the link, have the phone on pc mode, have debugging checked, but it doesn't detect the device. I can't go any further
[Droid 2 Android Development] ajcurtis84:
Rooting is being reverted?

Hello,

Last week I successfully Rooted my Droid 2. The operation stuck for a while but now it appears to have reverted to a non-rooted state?

I just repeated the procedure. Finally was able to get a # prompt and completed the procedure. When I exit the shell, the Droid 2 froze. I had to remove the battery to bring it back to life.

After the boot-up was complete I ran "adb shell" again to verify that the procedure stuck. Unfortunately I am back to a $ prompt!!

All the applications are still installed but Root privileges have been removed.

1. Does anyone know why this would happen?

2. Is there an auto update feature I need to disable?

Anyway, it looks like something needs to be tweaked now.

Thanks
[Droid 2 Android Development] ajcurtis84:
Rooting on a Mac

Hello,

Here are some adjustments to the Rooting procedure for the Mac.

ADB does not work on the Mac in PC Mode. Debugging only works in USB Storage mode.

Hints/Changes:

1. When you connect the Droid to the Mac, it will automatically get mounted as a USB drive. It seems to stay mounted even if you get a dialog box pop with an eject option. Manually unmount "NO NAME" before starting adb.

2. Instead of copying the files to /sdcard, use /tmp

Example: adb push busybox /tmp/busybox

Attached you will find modified scripts for this operation.
[Droid 2 Android Development] darkonion:
Have you tried Charge Only? As long as the device has the USB debugging symbol in the notification bar, you should be good to go.
[Droid 2 Android Development] darkonion:
Have you looked into the one step stuff in the 1-2-3 Root thread. The stuff in this thread is still accurate, however, there has been a lot of work done since this thread.

PM me your Google Talk info if you still need help.

-Kevin
[Droid 2 Android Development] ajcurtis84:
If you are in "Charge Only" mode, do you have access to /sdcard so the original scripts would work?
[Droid 2 Android Development] darkonion:
Well... let me elaborate on the process. Here is what happens, especially in our scripts.

1. Connect to the phone and transfer files to the SDCard using ADB (android-sdk)

2. Run the exploit (rageagainstthecage-arm5.bin)

3. Mount the system and move the files from the SDCard to the system files.

What happens when you are in USB mass storage mode is that you through your computer has access to the SDCard, but the phone doesn't have access to the SD Card. Can we put it somewhere else, sure... but for now, it is where it is.

And yes, through charge only, the phone has access to the SDcard so the scripts can work.
[Droid 2 Android Development] teddyearp:
Hi there, long time lurker-reader but not much for posting here as IMHO I had alot to learn (and still do), since this site has struck me as the one with the longest history of 'hacking' and/or using the Android OS in general. That said, sorry for the slight hijack since my question is going to deal with the A855 Droid 1. I would have posed this question in the D1 forum, but there as yet isn't anything that has this method in it there.

But this method (and the files contained therein) has made it out in various forms to A855 threads with certain variations. I would link those threads/forums, but I have such a low post count here that it's not yet allowed for me to do so. So let me get to it:

When the A855 was first rooted and even now with Motocache1's thread over at droidforums, the chmod(s) for su and busybox is 6755 and 755 respectively; and then we had to (well not had to, but was the recommended way) "install" busybox to circumvent the need to use 'busybox' before every busybox command via either of these commands:

cd /system/xbin/[or /bin if that's where you pushed busybox]
busybox --install .

-OR-

busybox --install /system/xbin [or /bin if that's where you pushed busybox]

Forgive the professional n00b for asking, but does setting both su and busybox permissions to 4755 circumvent this requirement on all phones (including the A855)?

Thanks
[Droid 2 Android Development] ckarrow2:
PC Mode

I was about to take up drinking trying to get my Droid 2 rooted when I finally discovered that the phone was still in Mass Storage Mode and not PC Mode. The Droid 2 is my first Android phone and I'm totally a noob with it but an extreme techno-junkie.

I bet a lot of the problems users experience here are caused by not setting the phone into PC Mode.

Man did I learn to READ DIRECTIONS!

I have a nicely rooted Droid 2 now and have removed the annoying junkware that Motorola/Verizon deem so necessary.

Dell and other computer manufacturers install the same type of bloatware, but you are able to uninstall them. Why is it that the phone carriers feel like they must make this stuff uninstallable?

Thanks to all who worked so hard to give us a truly open file system... now to get rid of Blur....
[Droid 2 Android Development] darkonion:
Cool. Yeah. Most common mistake is people don't read the directions or don't enter things correctly. You could of bypassed a lot of time. We wrote a script where you just double click the program and it roots your phone.
[Droid 2 Android Development] facelessuser:
Actually, we push nothing to the sdcard. We push to /data/local/tmp. We don't need access to the sdcard.
[Droid 2 Android Development] darkonion:
Waaaaaaaaaaaah?! Pushing it there works, too. Hahahaha.
[Droid 2 Android Development] AutoKlick:
Now that I have rooted my phone, does anyone know the names of the Verzion Apps that I can remove? For example what app do I uninstall to remove the annoying VCAST page with audio in my browser that pops up when ever I connect with a USB wire?
[Droid 2 Android Development] hwonders:
This worked for me when "one click" and other methods failed.

What are the steps to reverse this and go back to unroot status?

Droid X with 2.2 OTA update
[Droid 2 Android Development] hollander208:
---issues were here---

I have fixed all my issues. Had a few issues that I could not fix so I went surfing on google and found a One Click Root for the Droid 2.

Due to new account restrictions you'll have to copy and paste. Once someone has seen and/or tried it please repost so people can just click on it.

theandroidsoul.com/2010/09/23/one-click-root-for-motorola-droid-2-is-finally-here/
[Droid 2 Android Development] GeorgeHahn:
I don't know what the VCast app you're talking about is (I never experienced that problem), but you can find a number of safe apps to remove in the thread below.

http://xdaforums.com/showthread.php?t=789419
[Droid 2 Android Development] newk8600:
No app you should just be able to right click the moto icon in your task bar and then uncheck the connect to website thing.
[Droid 2 Android Development] wecramer:
Restoring from the Recovery

If I need to do a restore from the Recovery menu (backup and restore), do I have to mount the system first? And, is it best to do a wipe/factory reset first?

Thanks.

(Rooted Droid 2 using the Bootstrap recovery)
[Droid 2 Android Development] darkonion:
I can't answer your second part, but the mounting question, you don't need to mount to restore.
[Droid 2 Android Development] vaffanculo403:
Hey all!

I"m having a bit of trouble with this. I"m tried the "one click" method and it stalls at the same spot

(see attached file)

At this point it says it should "kick me out" to the c:/android-sdk-windows/tools folder where I unzipped the files to. However it stops on the $ sing and never kicks me out. It has been sitting like this for about 15 minutes now.

Any ideas?

Thank in advance!
[Droid 2 Android Development] darkonion:
You are okay. Let it sit there. Can take up to 10 minutes before it boots you from the program.
[Droid 2 Android Development] kd7uxg:
Worked on my brand new stock Droid 2 running 2.2

Did exactly as instructed, worked perfectly on my brand new VZW Droid 2 which had FRG22D factory installed.

I do have a lot of experience with Linux, so the command line stuff was no problem. Anybody should be able to do it if they follow the directions carefully.

Also I am running Windows 7, 64 bit and it caused no issues.

Thanks,

Michael
[Droid 2 Android Development] kd7uxg:
Donated

Sent you a few bucks too, thanks again.
[Droid 2 Android Development] Renegade8100:
I followed instructions exactly and it worked perfectly without a hitch. I came from an eris so I had trillions of high quality rom options, what can I do with my super fast droid 2 now?
[Droid 2 Android Development] meith2010:
GREAT Tutorial!!!!!!!!!!!!!!! I got it working!!!

There is a recovery-ish app. Bootstrapper.apk thankx to Koush!!

Here is the attachment. Have fun! You can now add custom roms once they come out.
[Droid 2 Android Development] darkonion:
Haha. We know. Links have been floating around other threads. And by the way, hope you guys used the one-click version... this thread is outdated!
[Droid 2 Android Development] BioCheezIt:
Serious permissions issues...

I'm a developer, but bit of a noob to the terminal. It seems there's nothing I can do to get past my permissions issues, and they start right from the get-go.

Here are my few steps that get me to ... nowhere:

1. Hookup my Droid2 (USB Mass Storage)

2. cd <sdk - tools> (went fine)

3. ./adb devices (went fine, have a device aknowledged)

4. ./adb push Superuser.apk /sdcard/Superuser.apk (permissions alerts start)

5. The next few pushes also come in permissions alert.

I've tried the terminal to dial right into my /sdcard directory to change permissions unsuccessfully. I've tried the mounting technique mentioned in this forum, unsuccessfully. Has rooting simply not worked for some people out there due to permissions? Or am I missing something totally obvious?
[Droid 2 Android Development] darkonion:
Before you go any further, go check out the 1-2-3 Root that is stickied. It pretty much is a one-click process.
[Droid 2 Android Development] akuma6099:
Works Great

No problem here. Just pickup up the Droid 2 today. Instructions went like a charm. The trick is to get a clean reboot and make sure usb is is connected correctly. Fisrt rage execute didn't work well. rebooted phone, tried again, received su prompt..... Thanks everyone.

As for Blur. Just install Launcher Pro Plus. Better shell in my opinion. Blur will still be there tho......
[Droid 2 Android Development] theecho:
You can simply rename your blurhome.apk to something like blurhome.bak and it wont run in the background.
[Droid 2 Android Development] caitstoppable:
it worked!!

I just used the one step root for windows and it worked like a charm! now I just gotta find a way to get rid of the stuff verizon put on there that I don't use!!:)
[Droid 2 Android Development] elcup:
when i get to the point after the step to

cd to Droid2Root

i get this message:

'adb' is not recognized as an internal or external command, operable program, or batch file.

any help would be appreciated.

thanks.
[Droid 2 Android Development] darkonion:
Use the one-click. This thread is out of date! Go back to Droid 2 Development. It is the Easier 1-2-3 Root.
[Droid 2 Android Development] aarondandy:
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system

that's the part i got to, at that part, my droid 2 shows that red animated droid logo, and it has just been like that. after i put in the above line into command prompt nothing happened. it's been like 10 minutes now. what's going on?
[Droid 2 Android Development] cray1000:
i am on 30 minutes on the 3rd try on my dx 2.2. i just sbf'ed to 2.2, maybe it was patched in the full 2.2 sbf? but i dont remember reading that.
[Droid 2 Android Development] cray1000:
got it, instead of rebooting between attempts i ran it concurrently 3 times, so many damn instances and finally it cracked.
[Droid 2 Android Development] string216:
Any try this on the latest update, 2.3.20.A955.Verizon.en.US/BPC01.09.07P. Does it cause problems with the update, and does it work after it is updated?

TIA