Go Back   Android Forums > Android Phones > Motorola Droid > Droid - All Things Root

Droid - All Things Root Rooting, ROMS, Overclocking, etc.



Reply
 
LinkBack Thread Tools
Old 12-09-2009, 03:18 AM   #1 (permalink)
New Member
 
Join Date: Dec 2009
Posts: 7
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to Root Your Droid (For Non-Linux/Non-Geeks)

Here's a guide written for non-linux users on how to root your droid. What you do beyond that, well, I have another thread set up for that. Let's get going!

You will need the following:
http://www.4shared.com/file/168496608/8fa27888/droid-root.html
OR
http://www.mediafire.com/?ydaqjmditjh
OR
http://www.multiupload.com/XYPZLK4K22
(Those 3 are the same file, just use either link, and choose another if any is dwn)
AND
http://developer.android.com/sdk/download.html?v=android-sdk_r04-windows.zip
AND
http://www.magicandroidapps.com/su.zip
AND
http://www.smilepak.com/temp/Droid_USB_Driver.zip


Once you have all these files downloaded, extract them all into a new folder at C:\Android

You should now connect your Droid to your computer and Mount the SD Card through the phone (A dialogue will pop up on your phone asking to connect your SD Card. Click Mount)

Courtesy of Fadelight:
(go to Device Manager. There you will see your droid (A855) with a yellow "!" next to it. Right click. Select "Update driver" and point it to the android folder. That is where the drivers are.)


Go to the C:\Android folder you created. Rename the file droid-root.zip to update.zip. Then take update.zip and move it to the SD Card on your phone.

Once this is done, unplug your phone and turn it off by holding the top button, then selecting Power Off.

Open your phone's keyboard. Hold down the letter X key on the keyboard and power your phone on WHILE HOLDING THIS KEY DOWN. You will see the Motorola logo, followed by a graphic with an ! mark on it. At this time let go of the X key and the power button. Press and hold the Volume + key on the side of your phone, then press the camera button while holding the Volume + key.

Now you will be presented with a menu. Navigate to "update" using the D-pad, and click the middle button. Now wait for the process to finish.

When it is complete, your phone will power up again. Go to Settings->Applications->Development and check the USB Debugging checkbox.

Connect your Droid to the Computer again.

Click Start on your computer, and click run. Type cmd in the box, and hit ok. Now type the following, pressing Enter after each line:

cd c:\Android\tools

adb push su /data/local

adb shell

su

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

cd /system/bin

mv su osu

cat /data/local/su > su

chmod 6755 su

ls -l *su
(you should see the following)
-rwsr-sr-x root root 76200 2008-08-01 05:00 osu
-rwsr-sr-x root root 76200 2009-05-30 11:28 su
(now continue typing these following lines to finish)

sync

reboot

You're done!

Jarek is offline  

Last edited by Jarek; 12-10-2009 at 08:50 AM.
Reply With Quote
Sponsors
Old 12-09-2009, 03:21 AM   #2 (permalink)
Member
 
BottledHate's Avatar
 
Join Date: Nov 2009
Location: WA
Posts: 465
 
Device(s):
Thanks: 0
Thanked 5 Times in 3 Posts
Default

Quote:
Originally Posted by Jarek View Post


thank you!!!!

+1
BottledHate is offline  
Reply With Quote
Old 12-09-2009, 03:27 AM   #3 (permalink)
Real Talk
 
Fabolous's Avatar
 
Join Date: Nov 2009
Location: Illinois
Posts: 2,762
 
Device(s): Motorola Droid (X)
Thanks: 76
Thanked 912 Times in 376 Posts
Default

This is the result of a successful root:

Fabolous is offline  
Reply With Quote
Old 12-09-2009, 03:32 AM   #4 (permalink)
Member
 
Matthew's Avatar
 
Join Date: Nov 2009
Location: Michigan
Posts: 136
 
Device(s): Moto Droid
Thanks: 5
Thanked 0 Times in 0 Posts
Default

This thread should be a sticky. Thanks, good write up.
__________________
Switched from the 3GS to the Droid and haven't looked back.
Matthew is offline  
Reply With Quote
Old 12-09-2009, 05:32 AM   #5 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 34
 
Device(s):
Thanks: 15
Thanked 0 Times in 0 Posts
Default

Awesome! Rep added!!!!!
Breakmyfootoff is offline  

Last edited by Breakmyfootoff; 12-09-2009 at 05:32 AM.
Reply With Quote
Old 12-09-2009, 07:34 AM   #6 (permalink)
New Member
 
blackngray70's Avatar
 
Join Date: Nov 2009
Location: Georgia
Posts: 8
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to blackngray70
Default

When I get to this step it tells me Operation not permitted.

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

I have no idea what I'm doing wrong.
blackngray70 is offline  
Reply With Quote
Old 12-09-2009, 07:43 AM   #7 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 38
 
Device(s): Moto Droid
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Jarek View Post

When it is complete, your phone will power up again. Go to Settings->Applications->Development and check the USB Debugging checkbox.

Connect your Droid to the Computer again.

Click Start on your computer, and click run. Type cmd in the box, and hit ok. Now type the following, pressing Enter after each line:

cd c:\Android\tools

adb push su /data/local

adb shell

su

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

cd /system/bin

mv su osu

cat /data/local/su > su

chmod 6755 su

ls -l *su
(you should see the following)
-rwsr-sr-x root root 76200 2008-08-01 05:00 osu
-rwsr-sr-x root root 76200 2009-05-30 11:28 su
(now continue typing these following lines to finish)

sync

reboot

You're done!
How would you do this on a Mac?
Droid212 is offline  

Last edited by Droid212; 12-09-2009 at 07:44 AM.
Reply With Quote
Old 12-09-2009, 08:11 AM   #8 (permalink)
Junior Member
 
MysteryloverAnne's Avatar
 
Join Date: Nov 2009
Location: Minnesota
Posts: 62
 
Device(s): Droid
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Can a truly non-geeky person ask why I would want to root my Droid without getting flamed.
MysteryloverAnne is offline  
Reply With Quote
Old 12-09-2009, 08:19 AM   #9 (permalink)
Senior Member
 
Fadelight's Avatar
 
Join Date: Oct 2009
Location: South China, ME
Posts: 1,304
 
Device(s): Moto Droid
Thanks: 47
Thanked 71 Times in 51 Posts
Send a message via AIM to Fadelight
Default

Quote:
Originally Posted by MysteryloverAnne View Post
Can a truly non-geeky person ask why I would want to root my Droid without getting flamed.
If you are asking, then you probably wouldn't want to.

When you find things that bug the crap out of you and you can't change them... then you will know why you might want to root.

__________________
Blogging: Never before have so many people with so little to say said so much to so few.
Fadelight is offline  
Reply With Quote
Old 12-09-2009, 08:27 AM   #10 (permalink)
Member
 
gotwillk's Avatar
 
Join Date: Nov 2009
Posts: 339
 
Device(s):
Thanks: 9
Thanked 4 Times in 2 Posts
Default

haha I was gonna ask the same thing. I'm semi geeky but why would I wanna root my phone for? id rather leave this up to the experts and their custom roms than mess around with it on my own. unless there are some stuff that even non geeks can do after rooting the phone.
gotwillk is offline  
Reply With Quote
Old 12-09-2009, 08:30 AM   #11 (permalink)
Senior Member
 
Fadelight's Avatar
 
Join Date: Oct 2009
Location: South China, ME
Posts: 1,304
 
Device(s): Moto Droid
Thanks: 47
Thanked 71 Times in 51 Posts
Send a message via AIM to Fadelight
Default

Quote:
Originally Posted by gotwillk View Post
haha I was gonna ask the same thing. I'm semi geeky but why would I wanna root my phone for? id rather leave this up to the experts and their custom roms than mess around with it on my own. unless there are some stuff that even non geeks can do after rooting the phone.

Well, I am a linux-illiterate geek. Does that count?


I rooted my phone for a couple of reasons. The first is to delete the default apps that I don't want or use, such as amazon MP3 and Facebook.

The rest I can't remember because I've been up for about 22 hours now... the last 6 trying to remember everything I once knew and have since lost about basic linux commands. My brain is bluescreening.
Fadelight is offline  
Reply With Quote
Old 12-09-2009, 08:32 AM   #12 (permalink)
Junior Member
 
Join Date: Dec 2009
Posts: 19
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Im trying to root this, but when i type adb shell it gives error: device not connected. The phone is connected into the usb. And is the su file suppose to be in c:\android\tools file or just android?
mickeyx323 is offline  
Reply With Quote
Old 12-09-2009, 08:42 AM   #13 (permalink)
New Member
 
rzawora's Avatar
 
Join Date: Nov 2009
Location: Lewes, Delaware USA
Posts: 14
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by mickeyx323 View Post
Im trying to root this, but when i type adb shell it gives error: device not connected. The phone is connected into the usb. And is the su file suppose to be in c:\android\tools file or just android?
I'm stuck at the same point. I'm using a force updated to 2.01 Droid and a Windows 7 64-bit PC. Any ideas? USB Debugging is on...tried restarting both.
rzawora is offline  
Reply With Quote
Old 12-09-2009, 08:42 AM   #14 (permalink)
Senior Member
 
Fadelight's Avatar
 
Join Date: Oct 2009
Location: South China, ME
Posts: 1,304
 
Device(s): Moto Droid
Thanks: 47
Thanked 71 Times in 51 Posts
Send a message via AIM to Fadelight
Default

Quote:
Originally Posted by mickeyx323 View Post
Im trying to root this, but when i type adb shell it gives error: device not connected. The phone is connected into the usb. And is the su file suppose to be in c:\android\tools file or just android?

android\tools

And make sure you installed the USB drivers for the phone.

go to Device Manager. There you will see your droid (A855) with a yellow "!" next to it. Right click. Select "Update driver" and point it to the android SDK folder. That is where the drivers are.

After that, it should be smooth sailing with the connection.


OP - perhaps you should edit the instructions to include installing the drivers?
Fadelight is offline  
Reply With Quote
Old 12-09-2009, 08:53 AM   #15 (permalink)
New Member
 
rzawora's Avatar
 
Join Date: Nov 2009
Location: Lewes, Delaware USA
Posts: 14
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Fadelight
Thank you for your help. I was just looking at that as you posted. Just a couple notes. The link to the SDK from Google in the OP isn't correct. I copied and pasted the URL and it directs you to a d/l of an SDK which I downloaded and extracted, but the USB drivers aren't included there. I did a quick search and found a link here http://www.smilepak.com/temp/Droid_USB_Driver.zip
No problems after this...it was smooth as you stated.
Let the games begin...
rzawora is offline  
Reply With Quote
Old 12-09-2009, 09:08 AM   #16 (permalink)
Senior Member
 
Fadelight's Avatar
 
Join Date: Oct 2009
Location: South China, ME
Posts: 1,304
 
Device(s): Moto Droid
Thanks: 47
Thanked 71 Times in 51 Posts
Send a message via AIM to Fadelight
Default

Quote:
Originally Posted by rzawora View Post
Fadelight
Thank you for your help. I was just looking at that as you posted. Just a couple notes. The link to the SDK from Google in the OP isn't correct. I copied and pasted the URL and it directs you to a d/l of an SDK which I downloaded and extracted, but the USB drivers aren't included there. I did a quick search and found a link here http://www.smilepak.com/temp/Droid_USB_Driver.zip
No problems after this...it was smooth as you stated.
Let the games begin...

Are you using XP? I am using W7 64bit, and the drivers were included in the SDK - 2.0.1
Fadelight is offline  
Reply With Quote
Old 12-09-2009, 09:09 AM   #17 (permalink)
Junior Member
 
Join Date: Dec 2009
Posts: 19
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the help fadelight and rzawora, everything worked just fine after the drivers.
mickeyx323 is offline  
Reply With Quote
Old 12-09-2009, 11:05 AM   #18 (permalink)
Junior Member
 
Join Date: Dec 2009
Posts: 19
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I get
-rwsr-xr-x root root 72188 2009-12-09 11:54 osu
-rwsr-sr-x root root 0 2009-12-09 12:00 su

Are the two things in red suppose to be that way or is the xr suppose to be sr and is the 0 suppose to have a value or is that normal?

Edit: Got it working. When you extract the su file extract it into C:Android\tools. NOT C:\Android
mickeyx323 is offline  

Last edited by mickeyx323; 12-09-2009 at 11:22 AM.
Reply With Quote
Old 12-09-2009, 11:20 AM   #19 (permalink)
Senior Member
 
Howie's Avatar
 
Join Date: Oct 2009
Location: Central NY
Posts: 1,337
 
Device(s): Droid 2
Thanks: 19
Thanked 58 Times in 51 Posts
Default

Quote:
Originally Posted by mickeyx323 View Post
I get
-rwsr-xr-x root root 72188 2009-12-09 11:54 osu
-rwsr-sr-x root root 0 2009-12-09 12:00 su

Are the two things in red suppose to be that way or is the xr suppose to be sr and is the 0 suppose to have a value or is that normal?
Looking at the first post I would assume it should be sr and have a value. I haven't tried it though.
Howie is offline  
Reply With Quote
Old 12-09-2009, 11:34 AM   #20 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 85
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When I enter "adb push su /data/local" i am getting "cannot stat 'su': no such file or directory. I have the su in the folder c:/android. The icon for su is a white paper "its not compatible/i need a program to open it". Can someone please help. I am pretty comfortable with linux which is why I thought this would be a walk in the park.

Forget all that upthere ^^^^^ i got to the end but I am not getting those numbers. I am getting:

-rwsr-xr-x root root 72188 2009-12-09 11:58 osu
-rwsr-sr-x root root 76232 2009-12-09 12:38 su
gcroberson is offline  

Last edited by gcroberson; 12-09-2009 at 11:40 AM.
Reply With Quote
Old 12-09-2009, 11:43 AM   #21 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 26
 
Device(s): Drooooid
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by mickeyx323 View Post
I get
-rwsr-xr-x root root 72188 2009-12-09 11:54 osu
-rwsr-sr-x root root 0 2009-12-09 12:00 su

Are the two things in red suppose to be that way or is the xr suppose to be sr and is the 0 suppose to have a value or is that normal?

Edit: Got it working. When you extract the su file extract it into C:Android\tools. NOT C:\Android
The column with '0' is the file size, and having 0 there means su is an empty file....so in other words something went wrong. Try copying it again.
link1305 is online now  
Reply With Quote
Old 12-09-2009, 11:45 AM   #22 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 85
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I went ahead and finished even with the numbers above. How can I tell if it was successful?
gcroberson is offline  
Reply With Quote
Old 12-09-2009, 12:00 PM   #23 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 60
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by gcroberson View Post
I went ahead and finished even with the numbers above. How can I tell if it was successful?
download "android terminal emulator" from the market and then type "su" you should get a message "su: access granted, courtesy of www.magicandroidapps.com" and then a # sign that means you have root access. You can type "reboot" and it will reboot your phone, you can't do that without root access.
dbarrett480 is offline  

Last edited by dbarrett480; 12-09-2009 at 12:02 PM.
Reply With Quote
Old 12-09-2009, 12:04 PM   #24 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 85
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by dbarrett480 View Post
download "android terminal emulator" from the market and then type "su" you should get a message "su: access granted, courtesy of www.magicandroidapps.com" and then a # sign that means you have root access. You can type "reboot" and it will reboot your phone, you can't do that without root access.

Thank you for the response. I'm rooted and ready to go!
gcroberson is offline  
Reply With Quote
Old 12-09-2009, 12:12 PM   #25 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 25
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think it's been said already but the link in the original post to the android SDK is wrong, it actually points to the su tool instead. The text of the link is correct but the underlying URL is not. Android SDK is at:

Download the Android SDK | Android Developers
mooshu47 is offline  
Reply With Quote
Old 12-09-2009, 12:15 PM   #26 (permalink)
Junior Member
 
WhiskeySix's Avatar
 
Join Date: Nov 2009
Posts: 15
 
Device(s): Motorola Droid
Thanks: 0
Thanked 0 Times in 0 Posts
Default

good write-up thanks for posting here +rep.
WhiskeySix is offline  
Reply With Quote
Old 12-09-2009, 01:01 PM   #27 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 22
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

...Back to TG with you Six!! ... ;-)

Peardog..
rjpear is offline  
Reply With Quote
Old 12-09-2009, 01:05 PM   #28 (permalink)
Member
 
Join Date: Nov 2009
Posts: 115
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Would the command prompt commands work the same way on a mac?
scheng12 is offline  
Reply With Quote
Old 12-09-2009, 01:07 PM   #29 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 42
 
Device(s):
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Okay, I don't what happened. Everything seemed to have worked. At the last command line: reboot, it restarted the phone. I then downloaded android terminal emulator, typed su and got permission denied. So then I tried to redo everything through command and after I type su, it says permission denied just like in the phone.

Please help
DroidRX is offline  
Reply With Quote
Old 12-09-2009, 01:28 PM   #30 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 42
 
Device(s):
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by DroidRX View Post
Okay, I don't what happened. Everything seemed to have worked. At the last command line: reboot, it restarted the phone. I then downloaded android terminal emulator, typed su and got permission denied. So then I tried to redo everything through command and after I type su, it says permission denied just like in the phone.

Please help

EDIT: Ok finally got it to work. Thanks OP!!!
DroidRX is offline  
Reply With Quote
Old 12-09-2009, 01:46 PM   #31 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 7
 
Device(s): Droid
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by scheng12 View Post
Would the command prompt commands work the same way on a mac?
Same here, seen it asked a few times. Anyone tried to root with a Mac?
atlien003 is offline  
Reply With Quote
Old 12-09-2009, 01:47 PM   #32 (permalink)
Senior Member
 
Join Date: Nov 2009
Location: Freaking Ohio
Posts: 663
 
Device(s): Droid!
Thanks: 5
Thanked 12 Times in 12 Posts
Default

Quote:
Originally Posted by scheng12 View Post
Would the command prompt commands work the same way on a mac?
To do this on a mac use the directions from here. The commands are the same between linux and a mac.

AllDroid.org - View topic - DROID HAS BEEN ROOTED

I used the directions from post 2.
barry99705 is offline  
Reply With Quote
Old 12-09-2009, 02:05 PM   #33 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 55
 
Device(s):
Thanks: 0
Thanked 1 Time in 1 Post
Default

does this method give you access to the apps in the market that needs rooted access
sneaky_zekey is offline  
Reply With Quote
Old 12-09-2009, 02:07 PM   #34 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 7
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Matthew View Post
This thread should be a sticky. Thanks, good write up.
i completely agree with both of those statements. thanks OP!
dr.worm is offline  
Reply With Quote
Old 12-09-2009, 03:32 PM   #35 (permalink)
Senior Member
 
Join Date: Nov 2009
Location: Queens, New York
Posts: 1,165
 
Device(s): Motorola Droid
Thanks: 32
Thanked 46 Times in 44 Posts
Default

So right now, the only things that root access gives us is super-user access in the terminal? How are we supposed to delete the useless apps that come with the phone (Amazon MP3, Facebook...) like this? Do we manually have to rm a specific directory via the terminal?
shadowdude777 is offline  
Reply With Quote
Old 12-09-2009, 04:13 PM   #36 (permalink)
Senior Member
 
Fadelight's Avatar
 
Join Date: Oct 2009
Location: South China, ME
Posts: 1,304
 
Device(s): Moto Droid
Thanks: 47
Thanked 71 Times in 51 Posts
Send a message via AIM to Fadelight
Default

Quote:
Originally Posted by shadowdude777 View Post
So right now, the only things that root access gives us is super-user access in the terminal? How are we supposed to delete the useless apps that come with the phone (Amazon MP3, Facebook...) like this? Do we manually have to rm a specific directory via the terminal?
Fadelight is offline  
Reply With Quote
Old 12-09-2009, 04:24 PM   #37 (permalink)
Premium Member
 
prerunnerseth's Avatar
 
Join Date: Nov 2009
Posts: 245
 
Device(s):
Thanks: 2
Thanked 66 Times in 16 Posts
Default

I'm having problems with the driver update part on windows 7. It says that the drive is already the latest. Do I just continue to the next step or is win 7 just being a pain?

And the SDK Link takes me to su.zip also.

Nevermind! su needs to be in the tools folder. and On win 7 the Motorola A855 with the ! didnt show up in device manager untill after i put it in usb debug mode.

Worked like a champ!... Thanks!
prerunnerseth is offline  
Reply With Quote
Old 12-09-2009, 11:41 PM   #38 (permalink)
Junior Member
 
Join Date: Dec 2009
Posts: 18
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

when putting in mv su osu
get error stating
failed on 'su' - Read-only file system
Please help
videospy is offline  
Reply With Quote
Old 12-10-2009, 12:02 AM   #39 (permalink)
Senior Member
 
Fadelight's Avatar
 
Join Date: Oct 2009
Location: South China, ME
Posts: 1,304
 
Device(s): Moto Droid
Thanks: 47
Thanked 71 Times in 51 Posts
Send a message via AIM to Fadelight
Default

Quote:
Originally Posted by videospy View Post
when putting in mv su osu
get error stating
failed on 'su' - Read-only file system
Please help

You may have missed the "su" step, then. It is near the top.


cd c:\android\tools

adb push su /data/local

adb shell

su

etc etc etc
Fadelight is offline  
Reply With Quote
Old 12-10-2009, 12:11 AM   #40 (permalink)
Junior Member
 
Join Date: Dec 2009
Posts: 18
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

maybe i'm missing something...did step by step again and still same error
videospy is offline  
Reply With Quote
Old 12-10-2009, 12:14 AM   #41 (permalink)
Junior Member
 
Join Date: Dec 2009
Posts: 18
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Robert>cd c:\android\tools

c:\android\tools>adb push su /data/local
791 KB/s (76232 bytes in 0.094s)

c:\android\tools>adb shell
$ su
su
# mount -o remount,rw -t yaffs2/dev/block/mtdblock3/system
mount -o remount,rw -t yaffs2/dev/block/mtdblock3/system
Usage: mount [-r] [-w] [-o options] [-t type] device directory
# cd/system/bin
cd/system/bin
cd/system/bin: not found
# cd system/bin
cd system/bin
# mv su osu
mv su osu
failed on 'su' - Read-only file system
#
videospy is offline  
Reply With Quote
Old 12-10-2009, 12:22 AM   #42 (permalink)
Junior Member
 
Join Date: Oct 2009
Posts: 42
 
Device(s): Droid
Thanks: 3
Thanked 1 Time in 1 Post
Default

mount -o remount,rw -t yaffs2/dev/block/mtdblock3 /system

you want a space before /system
Paul_C is offline  
Reply With Quote
Old 12-10-2009, 12:26 AM   #43 (permalink)
Junior Member
 
Join Date: Dec 2009
Posts: 18
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

also isn't this suppose to update to2.0.1?
videospy is offline  
Reply With Quote
Old 12-10-2009, 12:31 AM   #44 (permalink)
Junior Member
 
Join Date: Dec 2009
Posts: 18
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks that worked
videospy is offline  
Reply With Quote
Old 12-10-2009, 08:01 AM   #45 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 19
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

FYI:

Followed your instructions, but my OSU permissions weren't the same. SU was OK though. So you might add chmod 6755 osu to the instructions as well for those who's OSU permissions differ from what you've posted.
derrickonline is offline  
Reply With Quote
Old 12-10-2009, 08:03 AM   #46 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 19
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is there any reason why I can SU from a terminal and get "access granted courtesy of magicandroidapps.com"

Yet all apps I run tell me I don't have root access? It's like I have root at the terminal but not through GUI apps? Wasup with that?

NEVERMIND, PROBLEM SOLVED.

Apparently the latest droid root technique works. For some reason the original technique (posted above) didn't seem to work. This is what worked for me...


http://areacellphone.com/2009/12/motorola-droid-rooted-howto-root-droid/


Much simpler too. No adb stuff.
derrickonline is offline  

Last edited by derrickonline; 12-10-2009 at 08:45 AM.
Reply With Quote
Old 12-10-2009, 08:46 AM   #47 (permalink)
Senior Member
 
Join Date: Nov 2009
Location: Freaking Ohio
Posts: 663
 
Device(s): Droid!
Thanks: 5
Thanked 12 Times in 12 Posts
Default

Quote:
Originally Posted by derrickonline View Post
Is there any reason why I can SU from a terminal and get "access granted courtesy of magicandroidapps.com"

Yet all apps I run tell me I don't have root access? It's like I have root at the terminal but not through GUI apps? Wasup with that?

NEVERMIND, PROBLEM SOLVED.

Apparently the latest droid root technique works. For some reason the original technique (posted above) didn't seem to work. This is what worked for me...


Motorola Droid Rooted: How To Root Your Droid And Change Visual Theme Or Use Restricted Apps | areacellphone.com


Much simpler too. No adb stuff.
The gui doesn't run as root, so the apps won't have root access either.
barry99705 is offline  
Reply With Quote
Old 12-10-2009, 08:58 AM   #48 (permalink)
New Member
 
Join Date: Dec 2009
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sqlite?

I was hoping I'd be able to use my superuser powers to be able to tweak the sqlite database for an app I'm developing rather than having to do the tweaking programmatically.

However I can't find the sqlite3 command for anything either adb shelling or using terminal emulator. All my attempts return "sqlite3: not found".

Any help?
Blackhawk55 is offline  
Reply With Quote
Old 12-11-2009, 03:33 PM   #49 (permalink)
Member
 
T0LLPHR33's Avatar
 
Join Date: Nov 2009
Location: S1N C1TY...(From Hilo, HI)...
Posts: 140
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

so I got the cd c:\Android\tools part to work but if I put in adb push su /data local it tells me: 'adb' is not recognized as an internal or external, operable command, or batch file

what am I doing wrong...
T0LLPHR33 is offline  
Reply With Quote
Old 12-11-2009, 04:56 PM   #50 (permalink)
Senior Member
 
Fadelight's Avatar
 
Join Date: Oct 2009
Location: South China, ME
Posts: 1,304
 
Device(s): Moto Droid
Thanks: 47
Thanked 71 Times in 51 Posts
Send a message via AIM to Fadelight
Default

Quote:
Originally Posted by barry99705 View Post
The gui doesn't run as root, so the apps won't have root access either.

That isn't entirely true. If the root was done correctly, the apps should have root access. At least, that has been my experience. I am currently running Root Explorer, Drocap2, and Backup... all of which require root, and all of which work perfectly.


Quote:
Originally Posted by T0LLPHR33 View Post
so I got the cd c:\Android\tools part to work but if I put in adb push su /data local it tells me: 'adb' is not recognized as an internal or external, operable command, or batch file

what am I doing wrong...

what happens if you just type "adb"? Does it bring up a list of commands?
Fadelight is offline  

Last edited by Fadelight; 12-11-2009 at 04:57 PM.
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Phones > Motorola Droid > Droid - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:33 AM.
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2
Custom vBulletin Skins by: Relivo